fileView-UyQ6zbLY.js 5.6 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. import{a as ND,r as OD,V as Uoe}from"./index-BLvaQi9o.js";import{z as s2,a8 as GC,ai as W3,y as Jx,g as joe,r as PC,w as HG,e as FG,c as YG,o as OC,i as TG,j as Hoe,m as J3,_ as Yoe,L as Joe,b as LG,W as Woe,D as qoe,H as zoe,E as MQ,f as FQ,s as Koe,S as NG}from"./index-D7n5ZNak.js";function Voe(mo){return s2({url:`${GC}/dcLibrary/file/get/url/${mo.id}`,method:"get",params:mo,headers:{dcLibraryId:mo.id,documentId:mo.id,"is-cancel-token":"isCancelToken"}})}function Zoe(mo){return s2({url:`${GC}/dcLibrary/template/get/${mo}`,method:"get"})}function Ise(mo){return s2({url:`${GC}/no/auth/statistics/${mo}`,method:"get"})}function bse(mo){return s2({url:`${GC}/dcLibrary/log/page`,method:"get",params:mo})}const Cse=()=>s2({url:`${GC}/update/folder/get/folder/key`,method:"get"}),wse=mo=>s2({url:`${GC}/update/folder/${mo}`,method:"get"});function Ese(mo,Fg="jvs-public",ua,vi){return s2({url:`/mgr/jvs-auth/upload/${Fg}`,method:"post",headers:{businessId:vi,type:"FormData","Content-Type":"application/x-www-form-urlencoded"},data:mo,decode:!1,onUploadProgress(Bo){let Gs=(Bo.loaded/Bo.total*100).toFixed(0);ua&&typeof ua=="function"&&ua(Gs)}})}const Bse=mo=>s2({url:`${GC}/update/folder/update/file`,method:"post",data:mo,decode:!1});var Ux={exports:{}},Xoe=Ux.exports,OG;function $oe(){return OG||(OG=1,function(mo,Fg){(function(ua,vi){mo.exports=vi(ND(),OD())})(Xoe,function(ua,vi){function Bo(a){return(Bo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c})(a)}function Gs(a){var c=function(u,h){if(Bo(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var p=d.call(u,h);if(Bo(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(u)}(a,"string");return Bo(c)=="symbol"?c:c+""}function Wr(a,c,u){return(c=Gs(c))in a?Object.defineProperty(a,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[c]=u,a}function Ua(a){if(Array.isArray(a))return a}function Va(a,c){(c==null||c>a.length)&&(c=a.length);for(var u=0,h=Array(c);u<c;u++)h[u]=a[u];return h}function Wn(a,c){if(a){if(typeof a=="string")return Va(a,c);var u={}.toString.call(a).slice(8,-1);return u==="Object"&&a.constructor&&(u=a.constructor.name),u==="Map"||u==="Set"?Array.from(a):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?Va(a,c):void 0}}function ao(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  2. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function En(a,c){return Ua(a)||function(u,h){var d=u==null?null:typeof Symbol<"u"&&u[Symbol.iterator]||u["@@iterator"];if(d!=null){var p,g,A,m,y=[],b=!0,I=!1;try{if(A=(d=d.call(u)).next,h===0){if(Object(d)!==d)return;b=!1}else for(;!(b=(p=A.call(d)).done)&&(y.push(p.value),y.length!==h);b=!0);}catch(E){I=!0,g=E}finally{try{if(!b&&d.return!=null&&(m=d.return(),Object(m)!==m))return}finally{if(I)throw g}}return y}}(a,c)||Wn(a,c)||ao()}function Et(a,c){if(!(a instanceof c))throw new TypeError("Cannot call a class as a function")}function Zo(a,c){for(var u=0;u<c.length;u++){var h=c[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(a,Gs(h.key),h)}}function xt(a,c,u){return c&&Zo(a.prototype,c),u&&Zo(a,u),Object.defineProperty(a,"prototype",{writable:!1}),a}function jc(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function wc(a){return Ua(a)||jc(a)||Wn(a)||ao()}var It=function(){function a(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Et(this,a),typeof c=="string"?(this.el=document.createElement(c),this.el.className=u):this.el=c,this.data={}}return xt(a,[{key:"data",value:function(c,u){return u!==void 0?(this.data[c]=u,this):this.data[c]}},{key:"on",value:function(c,u){var h=wc(c.split(".")),d=h[0],p=h.slice(1),g=d;return g==="mousewheel"&&/Firefox/i.test(window.navigator.userAgent)&&(g="DOMMouseScroll"),this.el.addEventListener(g,function(A){u(A);for(var m=0;m<p.length;m+=1){var y=p[m];if(y==="left"&&A.button!==0||y==="right"&&A.button!==2)return;y==="stop"&&A.stopPropagation()}}),this}},{key:"offset",value:function(c){var u=this;if(c!==void 0)return Object.keys(c).forEach(function(d){u.css(d,"".concat(c[d],"px"))}),this;var h=this.el;return{top:h.offsetTop,left:h.offsetLeft,height:h.offsetHeight,width:h.offsetWidth}}},{key:"scroll",value:function(c){var u=this.el;return c!==void 0&&(c.left!==void 0&&(u.scrollLeft=c.left),c.top!==void 0&&(u.scrollTop=c.top)),{left:u.scrollLeft,top:u.scrollTop}}},{key:"box",value:function(){return this.el.getBoundingClientRect()}},{key:"parent",value:function(){return new a(this.el.parentNode)}},{key:"children",value:function(){for(var c=this,u=arguments.length,h=new Array(u),d=0;d<u;d++)h[d]=arguments[d];return arguments.length===0?this.el.childNodes:(h.forEach(function(p){return c.child(p)}),this)}},{key:"removeChild",value:function(c){this.el.removeChild(c)}},{key:"child",value:function(c){var u=c;return typeof c=="string"?u=document.createTextNode(c):c instanceof a&&(u=c.el),this.el.appendChild(u),this}},{key:"contains",value:function(c){return this.el.contains(c)}},{key:"className",value:function(c){return c!==void 0?(this.el.className=c,this):this.el.className}},{key:"addClass",value:function(c){return this.el.classList.add(c),this}},{key:"hasClass",value:function(c){return this.el.classList.contains(c)}},{key:"removeClass",value:function(c){return this.el.classList.remove(c),this}},{key:"toggle",value:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"active";return this.toggleClass(c)}},{key:"toggleClass",value:function(c){return this.el.classList.toggle(c)}},{key:"active",value:function(){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"active";return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.addClass(c):this.removeClass(c),this}},{key:"checked",value:function(){var c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return this.active(c,"checked"),this}},{key:"disabled",value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.addClass("disabled"):this.removeClass("disabled"),this}},{key:"attr",value:function(c,u){var h=this;if(u!==void 0)this.el.setAttribute(c,u);else{if(typeof c=="string")return this.el.getAttribute(c);Object.keys(c).forEach(function(d){h.el.setAttribute(d,c[d])})}return this}},{key:"removeAttr",value:function(c){return this.el.removeAttribute(c),this}},{key:"html",value:function(c){return c!==void 0?(this.el.innerHTML=c,this):this.el.innerHTML}},{key:"val",value:function(c){return c!==void 0?(this.el.value=c,this):this.el.value}},{key:"focus",value:function(){this.el.focus()}},{key:"cssRemoveKeys",value:function(){for(var c=this,u=arguments.length,h=new Array(u),d=0;d<u;d++)h[d]=arguments[d];return h.forEach(function(p){return c.el.style.removeProperty(p)}),this}},{key:"css",value:function(c,u){var h=this;return u===void 0&&typeof c!="string"?(Object.keys(c).forEach(function(d){h.el.style[d]=c[d]}),this):u!==void 0?(this.el.style[c]=u,this):this.el.style[c]}},{key:"computedStyle",value:function(){return window.getComputedStyle(this.el,null)}},{key:"show",value:function(){return this.css("display","block"),this}},{key:"hide",value:function(){return this.css("display","none"),this}}])}(),Vt=function(a){return new It(a,arguments.length>1&&arguments[1]!==void 0?arguments[1]:"")};function Ni(a){return function(c){if(Array.isArray(c))return Va(c)}(a)||jc(a)||Wn(a)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
  3. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var wh=["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"];function vl(a){for(var c="",u=a;u>=wh.length;)u/=wh.length,u-=1,c+=wh[parseInt(u,10)%wh.length];return c+=wh[a%wh.length]}function Eh(a){for(var c=0,u=0;u!==a.length;++u)c=26*c+a.charCodeAt(u)-64;return c-1}function Da(a){for(var c="",u="",h=0;h<a.length;h+=1)a.charAt(h)>="0"&&a.charAt(h)<="9"?u+=a.charAt(h):c+=a.charAt(h);return[Eh(c),parseInt(u,10)-1]}function Kt(a,c){return"".concat(vl(a)).concat(c+1)}function er(a,c,u){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0};if(c===0&&u===0)return a;var d=En(Da(a),2),p=d[0],g=d[1];return h(p,g)?Kt(p+c,g+u):a}var xr=function(){function a(c,u,h,d){var p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,g=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;Et(this,a),this.sri=c,this.sci=u,this.eri=h,this.eci=d,this.w=p,this.h=g}return xt(a,[{key:"set",value:function(c,u,h,d){this.sri=c,this.sci=u,this.eri=h,this.eci=d}},{key:"multiple",value:function(){return this.eri-this.sri>0||this.eci-this.sci>0}},{key:"includes",value:function(){for(var c=0,u=0,h=arguments.length,d=new Array(h),p=0;p<h;p++)d[p]=arguments[p];if(d.length===1){var g=En(Da(d[0]),2);u=g[0],c=g[1]}else d.length===2&&(c=d[0],u=d[1]);var A=this.sri,m=this.sci,y=this.eri,b=this.eci;return A<=c&&c<=y&&m<=u&&u<=b}},{key:"each",value:function(c){for(var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return!0},h=this.sri,d=this.sci,p=this.eri,g=this.eci,A=h;A<=p;A+=1)if(u(A))for(var m=d;m<=g;m+=1)c(A,m)}},{key:"contains",value:function(c){return this.sri<=c.sri&&this.sci<=c.sci&&this.eri>=c.eri&&this.eci>=c.eci}},{key:"within",value:function(c){return this.sri>=c.sri&&this.sci>=c.sci&&this.eri<=c.eri&&this.eci<=c.eci}},{key:"disjoint",value:function(c){return this.sri>c.eri||this.sci>c.eci||c.sri>this.eri||c.sci>this.eci}},{key:"intersects",value:function(c){return this.sri<=c.eri&&this.sci<=c.eci&&c.sri<=this.eri&&c.sci<=this.eci}},{key:"union",value:function(c){var u=this.sri,h=this.sci,d=this.eri,p=this.eci;return new a(c.sri<u?c.sri:u,c.sci<h?c.sci:h,c.eri>d?c.eri:d,c.eci>p?c.eci:p)}},{key:"difference",value:function(c){var u=[],h=function(E,B,S,_){u.push(new a(E,B,S,_))},d=this.sri,p=this.sci,g=this.eri,A=this.eci,m=c.sri-d,y=c.sci-p,b=g-c.eri,I=A-c.eci;return m>0?(h(d,p,c.sri-1,A),b>0?(h(c.eri+1,p,g,A),y>0&&h(c.sri,p,c.eri,c.sci-1),I>0&&h(c.sri,c.eci+1,c.eri,A)):(y>0&&h(c.sri,p,g,c.sci-1),I>0&&h(c.sri,c.eci+1,g,A))):b>0&&(h(c.eri+1,p,g,A),y>0&&h(d,p,c.eri,c.sci-1),I>0&&h(d,c.eci+1,c.eri,A)),y>0?(h(d,p,g,c.sci-1),I>0?(h(d,c.eri+1,g,A),m>0&&h(d,c.sci,c.sri-1,c.eci),b>0&&h(c.sri+1,c.sci,g,c.eci)):(m>0&&h(d,c.sci,c.sri-1,A),b>0&&h(c.sri+1,c.sci,g,A))):I>0&&(h(g,c.eci+1,g,A),m>0&&h(d,p,c.sri-1,c.eci),b>0&&h(c.eri+1,p,g,c.eci)),u}},{key:"size",value:function(){return[this.eri-this.sri+1,this.eci-this.sci+1]}},{key:"toString",value:function(){var c=this.sri,u=this.sci,h=this.eri,d=this.eci,p=Kt(u,c);return this.multiple()&&(p="".concat(p,":").concat(Kt(d,h))),p}},{key:"clone",value:function(){return new a(this.sri,this.sci,this.eri,this.eci,this.w,this.h)}},{key:"equals",value:function(c){return this.eri===c.eri&&this.eci===c.eci&&this.sri===c.sri&&this.sci===c.sci}}],[{key:"valueOf",value:function(c){var u=c.split(":"),h=En(Da(u[0]),2),d=h[0],p=h[1],g=p,A=d;if(u.length>1){var m=En(Da(u[1]),2);A=m[0],g=m[1]}return new a(p,d,g,A)}}])}(),Hn=function(){return xt(function a(){Et(this,a),this.range=new xr(0,0,0,0),this.ri=0,this.ci=0},[{key:"multiple",value:function(){return this.range.multiple()}},{key:"setIndexes",value:function(a,c){this.ri=a,this.ci=c}},{key:"size",value:function(){return this.range.size()}}])}(),kt=xt(function a(){Et(this,a),this.x=0,this.y=0,this.ri=0,this.ci=0}),da=function(){return xt(function a(){Et(this,a),this.undoItems=[],this.redoItems=[]},[{key:"add",value:function(a){this.undoItems.push(JSON.stringify(a)),this.redoItems=[]}},{key:"canUndo",value:function(){return this.undoItems.length>0}},{key:"canRedo",value:function(){return this.redoItems.length>0}},{key:"undo",value:function(a,c){var u=this.undoItems,h=this.redoItems;this.canUndo()&&(h.push(JSON.stringify(a)),c(JSON.parse(u.pop())))}},{key:"redo",value:function(a,c){var u=this.undoItems,h=this.redoItems;this.canRedo()&&(u.push(JSON.stringify(a)),c(JSON.parse(h.pop())))}}])}(),cs=function(){return xt(function a(){Et(this,a),this.range=null,this.state="clear"},[{key:"copy",value:function(a){return this.range=a,this.state="copy",this}},{key:"cut",value:function(a){return this.range=a,this.state="cut",this}},{key:"isCopy",value:function(){return this.state==="copy"}},{key:"isCut",value:function(){return this.state==="cut"}},{key:"isClear",value:function(){return this.state==="clear"}},{key:"clear",value:function(){this.range=null,this.state="clear"}}])}(),Yn=function(){return xt(function a(c,u,h){Et(this,a),this.ci=c,this.operator=u,this.value=h},[{key:"set",value:function(a,c){this.operator=a,this.value=c}},{key:"includes",value:function(a){var c=this.operator,u=this.value;return c==="all"||c==="in"&&u.includes(a)}},{key:"vlength",value:function(){var a=this.operator,c=this.value;return a==="in"?c.length:0}},{key:"getData",value:function(){return{ci:this.ci,operator:this.operator,value:this.value}}}])}(),Xu=function(){return xt(function a(c,u){Et(this,a),this.ci=c,this.order=u},[{key:"asc",value:function(){return this.order==="asc"}},{key:"desc",value:function(){return this.order==="desc"}}])}(),ca=function(){return xt(function a(){Et(this,a),this.ref=null,this.filters=[],this.sort=null},[{key:"setData",value:function(a){var c=a.ref,u=a.filters,h=a.sort;c!=null&&(this.ref=c,this.filters=u.map(function(d){return new Yn(d.ci,d.operator,d.value)}),h&&(this.sort=new Xu(h.ci,h.order)))}},{key:"getData",value:function(){if(this.active()){var a=this.ref,c=this.filters,u=this.sort;return{ref:a,filters:c.map(function(h){return h.getData()}),sort:u}}return{}}},{key:"addFilter",value:function(a,c,u){var h=this.getFilter(a);h==null?this.filters.push(new Yn(a,c,u)):h.set(c,u)}},{key:"setSort",value:function(a,c){this.sort=c?new Xu(a,c):null}},{key:"includes",value:function(a,c){return!!this.active()&&this.hrange().includes(a,c)}},{key:"getSort",value:function(a){var c=this.sort;return c&&c.ci===a?c:null}},{key:"getFilter",value:function(a){for(var c=this.filters,u=0;u<c.length;u+=1)if(c[u].ci===a)return c[u];return null}},{key:"filteredRows",value:function(a){var c=new Set,u=new Set;if(this.active())for(var h=this.range(),d=h.sri,p=h.eri,g=this.filters,A=d+1;A<=p;A+=1)for(var m=0;m<g.length;m+=1){var y=g[m],b=a(A,y.ci),I=b?b.text:"";if(!y.includes(I)){c.add(A);break}u.add(A)}return{rset:c,fset:u}}},{key:"items",value:function(a,c){var u={};if(this.active())for(var h=this.range(),d=h.sri,p=h.eri,g=d+1;g<=p;g+=1){var A=c(g,a);if(A===null||/^\s*$/.test(A.text))u[""]=(u[""]||0)+1;else{var m=A.text,y=(u[m]||0)+1;u[m]=y}}return u}},{key:"range",value:function(){return xr.valueOf(this.ref)}},{key:"hrange",value:function(){var a=this.range();return a.eri=a.sri,a}},{key:"clear",value:function(){this.ref=null,this.filters=[],this.sort=null}},{key:"active",value:function(){return this.ref!==null}}])}(),_o=function(){function a(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Et(this,a),this._=c}return xt(a,[{key:"forEach",value:function(c){this._.forEach(c)}},{key:"deleteWithin",value:function(c){this._=this._.filter(function(u){return!u.within(c)})}},{key:"getFirstIncludes",value:function(c,u){for(var h=0;h<this._.length;h+=1){var d=this._[h];if(d.includes(c,u))return d}return null}},{key:"filterIntersects",value:function(c){return new a(this._.filter(function(u){return u.intersects(c)}))}},{key:"intersects",value:function(c){for(var u=0;u<this._.length;u+=1)if(this._[u].intersects(c))return!0;return!1}},{key:"union",value:function(c){var u=c;return this._.forEach(function(h){h.intersects(u)&&(u=h.union(u))}),u}},{key:"add",value:function(c){this.deleteWithin(c),this._.push(c)}},{key:"shift",value:function(c,u,h,d){this._.forEach(function(p){var g=p.sri,A=p.sci,m=p.eri,y=p.eci,b=p;c==="row"?g>=u?(b.sri+=h,b.eri+=h):g<u&&u<=m&&(b.eri+=h,d(g,A,h,0)):c==="column"&&(A>=u?(b.sci+=h,b.eci+=h):A<u&&u<=y&&(b.eci+=h,d(g,A,0,h)))})}},{key:"move",value:function(c,u,h){this._.forEach(function(d){var p=d;p.within(c)&&(p.eri+=u,p.sri+=u,p.sci+=h,p.eci+=h)})}},{key:"setData",value:function(c){return this._=c.map(function(u){return xr.valueOf(u)}),this}},{key:"getData",value:function(){return this._.map(function(c){return c.toString()})}}])}(),hi=function(){for(var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length,u=new Array(c>1?c-1:0),h=1;h<c;h++)u[h-1]=arguments[h];return u.forEach(function(d){Object.keys(d).forEach(function(p){var g=d[p];typeof g=="string"||typeof g=="number"||typeof g=="boolean"?a[p]=g:typeof g!="function"&&!Array.isArray(g)&&g instanceof Object?(a[p]=a[p]||{},hi(a[p],g)):a[p]=g})}),a};function ws(a){for(var c="".concat(a),u=0,h=!1,d=0;d<c.length;d+=1)h===!0&&(u+=1),c.charAt(d)==="."&&(h=!0);return u}function Ri(a,c,u){if(Number.isNaN(c)||Number.isNaN(u))return c+a+u;var h=ws(c),d=ws(u),p=Number(c),g=Number(u),A=0;if(a==="-")A=p-g;else if(a==="+")A=p+g;else if(a==="*")A=p*g;else if(a==="/")return ws(A=p/g)>5?A.toFixed(2):A;return A.toFixed(Math.max(h,d))}const Bi={cloneDeep:function(a){return JSON.parse(JSON.stringify(a))},merge:function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];return hi.apply(void 0,[{}].concat(c))},equals:function a(c,u){var h=Object.keys(c);if(h.length!==Object.keys(u).length)return!1;for(var d=0;d<h.length;d+=1){var p=h[d],g=c[p],A=u[p];if(A===void 0)return!1;if(typeof g=="string"||typeof g=="number"||typeof g=="boolean"){if(g!==A)return!1}else if(Array.isArray(g)){if(g.length!==A.length)return!1;for(var m=0;m<g.length;m+=1)if(!a(g[m],A[m]))return!1}else if(typeof g!="function"&&!Array.isArray(g)&&g instanceof Object&&!a(g,A))return!1}return!0},arrayEquals:function(a,c){if(a.length!==c.length)return!1;for(var u=0;u<a.length;u+=1)if(a[u]!==c[u])return!1;return!0},sum:function(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(d){return d},u=0,h=0;return Object.keys(a).forEach(function(d){u+=c(a[d],d),h+=1}),[u,h]},rangeEach:function(a,c,u){for(var h=a;h<c;h+=1)u(h)},rangeSum:function(a,c,u){for(var h=0,d=a;d<c;d+=1)h+=u(d);return h},rangeReduceIf:function(a,c,u,h,d,p){for(var g=u,A=h,m=a;m<c&&!(g>d);m+=1)g+=A=p(m);return[m,g-A,A]},deleteProperty:function(a,c){var u=a["".concat(c)];return delete a["".concat(c)],u},numberCalc:Ri};var si=function(){return xt(function a(c){var u=c.len,h=c.height;Et(this,a),this._={},this.len=u,this.height=h},[{key:"getHeight",value:function(a){if(this.isHide(a))return 0;var c=this.get(a);return c&&c.height?c.height:this.height}},{key:"setHeight",value:function(a,c){this.getOrNew(a).height=c}},{key:"unhide",value:function(a){for(var c=a;c>0&&(c-=1,this.isHide(c));)this.setHide(c,!1)}},{key:"isHide",value:function(a){var c=this.get(a);return c&&c.hide}},{key:"setHide",value:function(a,c){var u=this.getOrNew(a);c===!0?u.hide=!0:delete u.hide}},{key:"setStyle",value:function(a,c){this.getOrNew(a).style=c}},{key:"sumHeight",value:function(a,c,u){var h=this;return Bi.rangeSum(a,c,function(d){return u&&u.has(d)?0:h.getHeight(d)})}},{key:"totalHeight",value:function(){return this.sumHeight(0,this.len)}},{key:"get",value:function(a){return this._[a]}},{key:"getOrNew",value:function(a){return this._[a]=this._[a]||{cells:{}},this._[a]}},{key:"getCell",value:function(a,c){var u=this.get(a);return u!==void 0&&u.cells!==void 0&&u.cells[c]!==void 0?u.cells[c]:null}},{key:"getCellMerge",value:function(a,c){var u=this.getCell(a,c);return u&&u.merge?u.merge:[0,0]}},{key:"getCellOrNew",value:function(a,c){var u=this.getOrNew(a);return u.cells[c]=u.cells[c]||{},u.cells[c]}},{key:"setCell",value:function(a,c,u){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"all",d=this.getOrNew(a);h==="all"?d.cells[c]=u:h==="text"?(d.cells[c]=d.cells[c]||{},d.cells[c].text=u.text):h==="format"&&(d.cells[c]=d.cells[c]||{},d.cells[c].style=u.style,u.merge&&(d.cells[c].merge=u.merge))}},{key:"setCellText",value:function(a,c,u){var h=this.getCellOrNew(a,c);h.editable!==!1&&(h.text=u)}},{key:"copyPaste",value:function(a,c,u){var h=this,d=arguments.length>3&&arguments[3]!==void 0&&arguments[3],p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){},g=a.sri,A=a.sci,m=a.eri,y=a.eci,b=c.sri,I=c.sci,E=c.eri,B=c.eci,S=En(a.size(),2),_=S[0],D=S[1],T=En(c.size(),2),F=T[0],N=T[1],H=!0,W=0;(E<g||B<A)&&(H=!1,W=E<g?F:N);for(var V=g;V<=m;V+=1)if(this._[V]){for(var te=A;te<=y;te+=1)if(this._[V].cells&&this._[V].cells[te])for(var ue=b;ue<=E;ue+=_)for(var fe=function(){var Ae=ue+(V-g),we=de+(te-A),Z=Bi.cloneDeep(h._[V].cells[te]);if(d&&Z&&Z.text&&Z.text.length>0){var ne=Z.text,j=de-I+(ue-b)+2;if(H||(j-=W+1),ne[0]==="=")Z.text=ne.replace(/[a-zA-Z]{1,3}\d+/g,function(z){var X=0,se=0;return g===b?X=j-1:se=j-1,/^\d+$/.test(z)?z:er(z,X,se)});else if(_<=1&&D>1&&(b>m||E<g)||D<=1&&_>1&&(I>y||B<A)||_<=1&&D<=1){var J=/[\\.\d]+$/.exec(ne);if(J!==null){var q=Number(J[0])+j-1;Z.text=ne.substring(0,J.index)+q}}}h.setCell(Ae,we,Z,u),p(Ae,we,Z)},de=I;de<=B;de+=D)fe()}}},{key:"cutPaste",value:function(a,c){var u=this,h={};this.each(function(d){u.eachCells(d,function(p){var g=parseInt(d,10),A=parseInt(p,10);a.includes(d,p)&&(g=c.sri+(g-a.sri),A=c.sci+(A-a.sci)),h[g]=h[g]||{cells:{}},h[g].cells[A]=u._[d].cells[p]})}),this._=h}},{key:"paste",value:function(a,c){var u=this;if(!(a.length<=0)){var h=c.sri,d=c.sci;a.forEach(function(p,g){var A=h+g;p.forEach(function(m,y){var b=d+y;u.setCellText(A,b,m)})})}}},{key:"insert",value:function(a){var c=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,h={};this.each(function(d,p){var g=parseInt(d,10);g>=a&&(g+=u,c.eachCells(d,function(A,m){m.text&&m.text[0]==="="&&(m.text=m.text.replace(/[a-zA-Z]{1,3}\d+/g,function(y){return er(y,0,u,function(b,I){return I>=a})}))})),h[g]=p}),this._=h,this.len+=u}},{key:"delete",value:function(a,c){var u=this,h=c-a+1,d={};this.each(function(p,g){var A=parseInt(p,10);A<a?d[A]=g:p>c&&(d[A-h]=g,u.eachCells(p,function(m,y){y.text&&y.text[0]==="="&&(y.text=y.text.replace(/[a-zA-Z]{1,3}\d+/g,function(b){return er(b,0,-h,function(I,E){return E>c})}))}))}),this._=d,this.len-=h}},{key:"insertColumn",value:function(a){var c=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.each(function(h,d){var p={};c.eachCells(h,function(g,A){var m=parseInt(g,10);m>=a&&(m+=u,A.text&&A.text[0]==="="&&(A.text=A.text.replace(/[a-zA-Z]{1,3}\d+/g,function(y){return er(y,u,0,function(b){return b>=a})}))),p[m]=A}),d.cells=p})}},{key:"deleteColumn",value:function(a,c){var u=this,h=c-a+1;this.each(function(d,p){var g={};u.eachCells(d,function(A,m){var y=parseInt(A,10);y<a?g[y]=m:y>c&&(g[y-h]=m,m.text&&m.text[0]==="="&&(m.text=m.text.replace(/[a-zA-Z]{1,3}\d+/g,function(b){return er(b,-h,0,function(I){return I>c})})))}),p.cells=g})}},{key:"deleteCells",value:function(a){var c=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";a.each(function(h,d){c.deleteCell(h,d,u)})}},{key:"deleteCell",value:function(a,c){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"all",h=this.get(a);if(h!==null){var d=this.getCell(a,c);d!==null&&d.editable!==!1&&(u==="all"?delete h.cells[c]:u==="text"?(d.text&&delete d.text,d.value&&delete d.value):u==="format"?(d.style!==void 0&&delete d.style,d.merge&&delete d.merge):u==="merge"&&d.merge&&delete d.merge)}}},{key:"maxCell",value:function(){var a=Object.keys(this._),c=a[a.length-1],u=this._[c];if(u){var h=u.cells,d=Object.keys(h),p=d[d.length-1];return[parseInt(c,10),parseInt(p,10)]}return[0,0]}},{key:"each",value:function(a){Object.entries(this._).forEach(function(c){var u=En(c,2),h=u[0],d=u[1];a(h,d)})}},{key:"eachCells",value:function(a,c){this._[a]&&this._[a].cells&&Object.entries(this._[a].cells).forEach(function(u){var h=En(u,2),d=h[0],p=h[1];c(d,p)})}},{key:"setData",value:function(a){a.len&&(this.len=a.len,delete a.len),this._=a}},{key:"getData",value:function(){var a=this.len;return Object.assign({len:a},this._)}}])}(),ls=function(){return xt(function a(c){var u=c.len,h=c.width,d=c.indexWidth,p=c.minWidth;Et(this,a),this._={},this.len=u,this.width=h,this.indexWidth=d,this.minWidth=p},[{key:"setData",value:function(a){a.len&&(this.len=a.len,delete a.len),this._=a}},{key:"getData",value:function(){var a=this.len;return Object.assign({len:a},this._)}},{key:"getWidth",value:function(a){if(this.isHide(a))return 0;var c=this._[a];return c&&c.width?c.width:this.width}},{key:"getOrNew",value:function(a){return this._[a]=this._[a]||{},this._[a]}},{key:"setWidth",value:function(a,c){this.getOrNew(a).width=c}},{key:"unhide",value:function(a){for(var c=a;c>0&&(c-=1,this.isHide(c));)this.setHide(c,!1)}},{key:"isHide",value:function(a){var c=this._[a];return c&&c.hide}},{key:"setHide",value:function(a,c){var u=this.getOrNew(a);c===!0?u.hide=!0:delete u.hide}},{key:"setStyle",value:function(a,c){this.getOrNew(a).style=c}},{key:"sumWidth",value:function(a,c){var u=this;return Bi.rangeSum(a,c,function(h){return u.getWidth(h)})}},{key:"totalWidth",value:function(){return this.sumWidth(0,this.len)}}])}();function oo(a,c){var u=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!u){if(Array.isArray(a)||(u=function(m,y){if(m){if(typeof m=="string")return hs(m,y);var b={}.toString.call(m).slice(8,-1);return b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set"?Array.from(m):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?hs(m,y):void 0}}(a))||c){u&&(a=u);var h=0,d=function(){};return{s:d,n:function(){return h>=a.length?{done:!0}:{done:!1,value:a[h++]}},e:function(m){throw m},f:d}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  4. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p,g=!0,A=!1;return{s:function(){u=u.call(a)},n:function(){var m=u.next();return g=m.done,m},e:function(m){A=!0,p=m},f:function(){try{g||u.return==null||u.return()}finally{if(A)throw p}}}}function hs(a,c){(c==null||c>a.length)&&(c=a.length);for(var u=0,h=Array(c);u<c;u++)h[u]=a[u];return h}var bu=["en"],Ji={en:{toolbar:{undo:"Undo",redo:"Redo",print:"Print",paintformat:"Paint format",clearformat:"Clear format",format:"Format",fontName:"Font",fontSize:"Font size",fontBold:"Font bold",fontItalic:"Font italic",underline:"Underline",strike:"Strike",color:"Text color",bgcolor:"Fill color",border:"Borders",merge:"Merge cells",align:"Horizontal align",valign:"Vertical align",textwrap:"Text wrapping",freeze:"Freeze cell",autofilter:"Filter",formula:"Functions",more:"More"},contextmenu:{copy:"Copy",cut:"Cut",paste:"Paste",pasteValue:"Paste values only",pasteFormat:"Paste format only",hide:"Hide",insertRow:"Insert row",insertColumn:"Insert column",deleteSheet:"Delete",deleteRow:"Delete row",deleteColumn:"Delete column",deleteCell:"Delete cell",deleteCellText:"Delete cell text",validation:"Data validations",cellprintable:"Enable export",cellnonprintable:"Disable export",celleditable:"Enable editing",cellnoneditable:"Disable editing"},print:{size:"Paper size",orientation:"Page orientation",orientations:["Landscape","Portrait"]},format:{normal:"Normal",text:"Plain Text",number:"Number",percent:"Percent",rmb:"RMB",usd:"USD",eur:"EUR",date:"Date",time:"Time",datetime:"Date time",duration:"Duration"},formula:{sum:"Sum",average:"Average",max:"Max",min:"Min",_if:"IF",and:"AND",or:"OR",concat:"Concat"},validation:{required:"it must be required",notMatch:"it not match its validation rule",between:"it is between {} and {}",notBetween:"it is not between {} and {}",notIn:"it is not in list",equal:"it equal to {}",notEqual:"it not equal to {}",lessThan:"it less than {}",lessThanEqual:"it less than or equal to {}",greaterThan:"it greater than {}",greaterThanEqual:"it greater than or equal to {}"},error:{pasteForMergedCell:"Unable to do this for merged cells"},calendar:{weeks:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"]},button:{next:"Next",cancel:"Cancel",remove:"Remove",save:"Save",ok:"OK"},sort:{desc:"Sort Z -> A",asc:"Sort A -> Z"},filter:{empty:"empty"},dataValidation:{mode:"Mode",range:"Cell Range",criteria:"Criteria",modeType:{cell:"Cell",column:"Colun",row:"Row"},type:{list:"List",number:"Number",date:"Date",phone:"Phone",email:"Email"},operator:{be:"between",nbe:"not betwwen",lt:"less than",lte:"less than or equal to",gt:"greater than",gte:"greater than or equal to",eq:"equal to",neq:"not equal to"}}}};function Ca(a,c){if(c){var u,h=oo(bu);try{for(h.s();!(u=h.n()).done;){var d=u.value;if(!c[d])break;for(var p=c[d],g=a.match(/(?:\\.|[^.])+/g),A=0;A<g.length;A+=1){var m=p[g[A]];if(!m)break;if(A===g.length-1)return m;p=m}}}catch(y){h.e(y)}finally{h.f()}}}function Wi(a){var c=Ca(a,Ji);return!c&&window&&window.x_spreadsheet&&window.x_spreadsheet.$messages&&(c=Ca(a,window.x_spreadsheet.$messages)),c||""}function In(a){return function(){return Wi(a)}}function Io(a,c){arguments.length>2&&arguments[2]!==void 0&&arguments[2]?bu=[a]:bu.unshift(a),c&&(Ji[a]=c)}var Xo={phone:/^[1-9]\d{10}$/,email:/w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*/};function la(a,c){var u="";if(!a){for(var h=arguments.length,d=new Array(h>2?h-2:0),p=2;p<h;p++)d[p-2]=arguments[p];u=Wi.apply(void 0,["validation.".concat(c)].concat(d))}return[a,u]}var wa=function(){return xt(function a(c,u,h,d){Et(this,a),this.required=u,this.value=h,this.type=c,this.operator=d,this.message=""},[{key:"parseValue",value:function(a){var c=this.type;return c==="date"?new Date(a):c==="number"?Number(a):a}},{key:"equals",value:function(a){var c=this.type===a.type&&this.required===a.required&&this.operator===a.operator;return c&&(c=Array.isArray(this.value)?Bi.arrayEquals(this.value,a.value):this.value===a.value),c}},{key:"values",value:function(){return this.value.split(",")}},{key:"validate",value:function(a){var c=this.required,u=this.operator,h=this.value,d=this.type;if(c&&/^\s*$/.test(a))return la(!1,"required");if(/^\s*$/.test(a))return[!0];if(Xo[d]&&!Xo[d].test(a))return la(!1,"notMatch");if(d==="list")return la(this.values().includes(a),"notIn");if(u){var p=this.parseValue(a);if(u==="be"){var g=En(h,2),A=g[0],m=g[1];return la(p>=this.parseValue(A)&&p<=this.parseValue(m),"between",A,m)}if(u==="nbe"){var y=En(h,2),b=y[0],I=y[1];return la(p<this.parseValue(b)||p>this.parseValue(I),"notBetween",b,I)}if(u==="eq")return la(p===this.parseValue(h),"equal",h);if(u==="neq")return la(p!==this.parseValue(h),"notEqual",h);if(u==="lt")return la(p<this.parseValue(h),"lessThan",h);if(u==="lte")return la(p<=this.parseValue(h),"lessThanEqual",h);if(u==="gt")return la(p>this.parseValue(h),"greaterThan",h);if(u==="gte")return la(p>=this.parseValue(h),"greaterThanEqual",h)}return[!0]}}])}(),qi=function(){function a(c,u,h){Et(this,a),this.refs=u,this.mode=c,this.validator=h}return xt(a,[{key:"includes",value:function(c,u){for(var h=this.refs,d=0;d<h.length;d+=1)if(xr.valueOf(h[d]).includes(c,u))return!0;return!1}},{key:"addRef",value:function(c){this.remove(xr.valueOf(c)),this.refs.push(c)}},{key:"remove",value:function(c){var u=[];this.refs.forEach(function(h){var d=xr.valueOf(h);d.intersects(c)?d.difference(c).forEach(function(p){return u.push(p.toString())}):u.push(h)}),this.refs=u}},{key:"getData",value:function(){var c=this.refs,u=this.mode,h=this.validator;return{refs:c,mode:u,type:h.type,required:h.required,operator:h.operator,value:h.value}}}],[{key:"valueOf",value:function(c){var u=c.refs,h=c.mode,d=c.type,p=c.required,g=c.operator,A=c.value;return new a(h,u,new wa(d,p,A,g))}}])}(),Hc=function(){return xt(function a(){Et(this,a),this._=[],this.errors=new Map},[{key:"getError",value:function(a,c){return this.errors.get("".concat(a,"_").concat(c))}},{key:"validate",value:function(a,c,u){var h=this.get(a,c),d="".concat(a,"_").concat(c),p=this.errors;if(h!==null){var g=En(h.validator.validate(u),2),A=g[0],m=g[1];A?p.delete(d):p.set(d,m)}else p.delete(d);return!0}},{key:"add",value:function(a,c,u){var h=u.type,d=u.required,p=u.value,g=u.operator,A=new wa(h,d,p,g),m=this.getByValidator(A);m!==null?m.addRef(c):this._.push(new qi(a,[c],A))}},{key:"getByValidator",value:function(a){for(var c=0;c<this._.length;c+=1){var u=this._[c];if(u.validator.equals(a))return u}return null}},{key:"get",value:function(a,c){for(var u=0;u<this._.length;u+=1){var h=this._[u];if(h.includes(a,c))return h}return null}},{key:"remove",value:function(a){this.each(function(c){c.remove(a)})}},{key:"each",value:function(a){this._.forEach(function(c){return a(c)})}},{key:"getData",value:function(){return this._.filter(function(a){return a.refs.length>0}).map(function(a){return a.getData()})}},{key:"setData",value:function(a){this._=a.map(function(c){return qi.valueOf(c)})}}])}(),zi={mode:"edit",view:{height:function(){return document.documentElement.clientHeight},width:function(){return document.documentElement.clientWidth}},showGrid:!0,showToolbar:!0,showContextmenu:!0,showBottomBar:!0,row:{len:100,height:25},col:{len:26,width:100,indexWidth:60,minWidth:60},style:{bgcolor:"#ffffff",align:"left",valign:"middle",textwrap:!1,strike:!1,underline:!1,color:"#0a0a0a",font:{name:"Arial",size:10,bold:!1,italic:!1},format:"normal"}};function Ao(a,c){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},h=this.merges,d=c.clone(),p=En(a.size(),2),g=p[0],A=p[1],m=En(c.size(),2),y=m[0],b=m[1];return g>y&&(d.eri=c.sri+g-1),A>b&&(d.eci=c.sci+A-1),!h.intersects(d)||(u(Wi("error.pasteForMergedCell")),!1)}function Bn(a,c,u){var h=arguments.length>3&&arguments[3]!==void 0&&arguments[3],d=this.rows,p=this.merges;u!=="all"&&u!=="format"||(d.deleteCells(c,u),p.deleteWithin(c)),d.copyPaste(a,c,u,h,function(g,A,m){if(m&&m.merge){var y=En(m.merge,2),b=y[0],I=y[1];if(b<=0&&I<=0)return;p.add(new xr(g,A,g+b,A+I))}})}function Kn(a,c){var u=this.clipboard,h=this.rows,d=this.merges;h.cutPaste(a,c),d.move(a,c.sri-a.sri,c.sci-a.sci),u.clear()}function Us(a,c,u){var h=this.styles,d=this.rows.getCellOrNew(a,c),p={};d.style!==void 0&&(p=Bi.cloneDeep(h[d.style])),p=Bi.merge(p,{border:u}),d.style=this.addStyle(p)}function ar(a){var c=this,u=a.mode,h=a.style,d=a.color,p=this.styles,g=this.selector,A=this.rows,m=g.range,y=m.sri,b=m.sci,I=m.eri,E=m.eci,B=!this.isSingleSelected();if(B||u!=="inside"&&u!=="horizontal"&&u!=="vertical")if(u!=="outside"||B){if(u==="none")g.range.each(function(q,z){var X=A.getCell(q,z);if(X&&X.style!==void 0){var se=Bi.cloneDeep(p[X.style]);delete se.border,X.style=c.addStyle(se)}});else if(u==="all"||u==="inside"||u==="outside"||u==="horizontal"||u==="vertical")for(var S=[],_=y;_<=I;_+=1)for(var D=b;D<=E;D+=1){for(var T=[],F=0;F<S.length;F+=1){var N=En(S[F],4),H=N[0],W=N[1],V=N[2],te=N[3];if(_===H+V+1&&T.push(F),H<=_&&_<=H+V&&D===W){D+=te+1;break}}if(T.forEach(function(q){return S.splice(q,1)}),D>E)break;var ue=A.getCell(_,D),fe=0,de=0;if(ue&&ue.merge){var Ae=En(ue.merge,2);fe=Ae[0],de=Ae[1],S.push([_,D,fe,de])}var we=fe>0&&_+fe===I,Z=de>0&&D+de===E,ne={};u==="all"?ne={bottom:[h,d],top:[h,d],left:[h,d],right:[h,d]}:u==="inside"?(!Z&&D<E&&(ne.right=[h,d]),!we&&_<I&&(ne.bottom=[h,d])):u==="horizontal"?!we&&_<I&&(ne.bottom=[h,d]):u==="vertical"?!Z&&D<E&&(ne.right=[h,d]):u==="outside"&&B&&(y===_&&(ne.top=[h,d]),(we||I===_)&&(ne.bottom=[h,d]),b===D&&(ne.left=[h,d]),(Z||E===D)&&(ne.right=[h,d])),Object.keys(ne).length>0&&Us.call(this,_,D,ne),D+=de}else if(u==="top"||u==="bottom")for(var j=b;j<=E;j+=1)u==="top"&&(Us.call(this,y,j,{top:[h,d]}),j+=A.getCellMerge(y,j)[1]),u==="bottom"&&(Us.call(this,I,j,{bottom:[h,d]}),j+=A.getCellMerge(I,j)[1]);else if(u==="left"||u==="right")for(var J=y;J<=I;J+=1)u==="left"&&(Us.call(this,J,b,{left:[h,d]}),J+=A.getCellMerge(J,b)[0]),u==="right"&&(Us.call(this,J,E,{right:[h,d]}),J+=A.getCellMerge(J,E)[0])}else Us.call(this,y,b,{top:[h,d],bottom:[h,d],left:[h,d],right:[h,d]})}function pn(a,c){var u=this.rows,h=this.freezeTotalHeight(),d=u.height;h+u.height<a&&(d-=c);for(var p=this.exceptRowSet,g=0,A=d,m=u.height;g<u.len&&!(A>a);g+=1)p.has(g)||(A+=m=u.getHeight(g));return(A-=m)<=0?{ri:-1,top:0,height:m}:{ri:g-1,top:A,height:m}}function Vn(a,c){var u=this.cols,h=this.freezeTotalWidth(),d=u.indexWidth;h+u.indexWidth<a&&(d-=c);var p=En(Bi.rangeReduceIf(0,u.len,d,u.indexWidth,a,function(y){return u.getWidth(y)}),3),g=p[0],A=p[1],m=p[2];return A<=0?{ci:-1,left:0,width:u.indexWidth}:{ci:g-1,left:A,width:m}}var Es=function(){return xt(function a(c,u){Et(this,a),this.settings=Bi.merge(zi,u||{}),this.name=c||"sheet",this.freeze=[0,0],this.styles=[],this.merges=new _o,this.rows=new si(this.settings.row),this.cols=new ls(this.settings.col),this.validations=new Hc,this.hyperlinks={},this.comments={},this.selector=new Hn,this.scroll=new kt,this.history=new da,this.clipboard=new cs,this.autoFilter=new ca,this.change=function(){},this.exceptRowSet=new Set,this.sortedRowMap=new Map,this.unsortedRowMap=new Map},[{key:"addValidation",value:function(a,c,u){var h=this;this.changeData(function(){h.validations.add(a,c,u)})}},{key:"removeValidation",value:function(){var a=this,c=this.selector.range;this.changeData(function(){a.validations.remove(c)})}},{key:"getSelectedValidator",value:function(){var a=this.selector,c=a.ri,u=a.ci,h=this.validations.get(c,u);return h?h.validator:null}},{key:"getSelectedValidation",value:function(){var a=this.selector,c=a.ri,u=a.ci,h=a.range,d=this.validations.get(c,u),p={ref:h.toString()};return d!==null&&(p.mode=d.mode,p.validator=d.validator),p}},{key:"canUndo",value:function(){return this.history.canUndo()}},{key:"canRedo",value:function(){return this.history.canRedo()}},{key:"undo",value:function(){var a=this;this.history.undo(this.getData(),function(c){a.setData(c)})}},{key:"redo",value:function(){var a=this;this.history.redo(this.getData(),function(c){a.setData(c)})}},{key:"copy",value:function(){this.clipboard.copy(this.selector.range)}},{key:"copyToSystemClipboard",value:function(a){for(var c=[],u=this.selector.range,h=u.sri,d=u.eri,p=u.sci,g=u.eci,A=h;A<=d;A+=1){for(var m=[],y=p;y<=g;y+=1){var b=this.getCell(A,y);m.push(b&&b.text||"")}c.push(m)}c=c.map(function(I){return I.join(" ")}).join(`
  5. `),a&&(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",c),a.preventDefault()),navigator.clipboard&&navigator.clipboard.writeText(c).then(function(){},function(I){console.log("text copy to the system clipboard error ",c,I)})}},{key:"cut",value:function(){this.clipboard.cut(this.selector.range)}},{key:"paste",value:function(){var a=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"all",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},h=this.clipboard,d=this.selector;return!h.isClear()&&!!Ao.call(this,h.range,d.range,u)&&(this.changeData(function(){h.isCopy()?Bn.call(a,h.range,d.range,c):h.isCut()&&Kn.call(a,h.range,d.range)}),!0)}},{key:"pasteFromSystemClipboard",value:function(a,c){var u=this,h=this.selector;navigator.clipboard.readText().then(function(d){var p=u.parseClipboardContent(d),g=h.ri;p.forEach(function(A){var m=h.ci;A.forEach(function(y){u.setCellText(g,m,y,"input"),m+=1}),g+=1}),a(),c(u.rows.getData())})}},{key:"parseClipboardContent",value:function(a){var c=[],u=a.split(`
  6. `),h=0;return u.forEach(function(d){c[h]=d.split(" "),h+=1}),c}},{key:"pasteFromText",value:function(a){var c=[];if((c=/\r\n/.test(a)?a.split(`\r
  7. `).map(function(d){return d.replace(/"/g,"").split(" ")}):a.split(`
  8. `).map(function(d){return d.replace(/"/g,"").split(" ")})).length){var u=this.rows,h=this.selector;this.changeData(function(){u.paste(c,h.range)})}}},{key:"autofill",value:function(a,c){var u=this,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},d=this.selector.range;return!!Ao.call(this,d,a,h)&&(this.changeData(function(){Bn.call(u,d,a,c,!0)}),!0)}},{key:"clearClipboard",value:function(){this.clipboard.clear()}},{key:"calSelectedRangeByEnd",value:function(a,c){var u=this.selector,h=this.rows,d=this.cols,p=this.merges,g=u.range,A=g.sri,m=g.sci,y=g.eri,b=g.eci,I=u.ri,E=u.ci,B=a,S=c;return a<0&&(B=h.len-1),c<0&&(S=d.len-1),B>I?(A=I,y=B):(A=B,y=I),S>E?(m=E,b=S):(m=S,b=E),u.range=p.union(new xr(A,m,y,b)),u.range=p.union(u.range),u.range}},{key:"calSelectedRangeByStart",value:function(a,c){var u=this.selector,h=this.rows,d=this.cols,p=this.merges.getFirstIncludes(a,c);return p===null&&(p=new xr(a,c,a,c),a===-1&&(p.sri=0,p.eri=h.len-1),c===-1&&(p.sci=0,p.eci=d.len-1)),u.range=p,p}},{key:"setSelectedCellAttr",value:function(a,c){var u=this;this.changeData(function(){var h=u.selector,d=u.styles,p=u.rows;if(a==="merge")c?u.merge():u.unmerge();else if(a==="border")ar.call(u,c);else if(a==="formula"){var g=h.ri,A=h.ci,m=h.range;if(h.multiple()){var y=En(h.size(),2),b=y[0],I=y[1],E=m.sri,B=m.sci,S=m.eri,_=m.eci;if(b>1)for(var D=B;D<=_;D+=1)p.getCellOrNew(S+1,D).text="=".concat(c,"(").concat(Kt(D,E),":").concat(Kt(D,S),")");else I>1&&(p.getCellOrNew(g,_+1).text="=".concat(c,"(").concat(Kt(B,g),":").concat(Kt(_,g),")"))}else p.getCellOrNew(g,A).text="=".concat(c,"()")}else h.range.each(function(T,F){var N=p.getCellOrNew(T,F),H={};if(N.style!==void 0&&(H=Bi.cloneDeep(d[N.style])),a==="format")H.format=c,N.style=u.addStyle(H);else if(a==="font-bold"||a==="font-italic"||a==="font-name"||a==="font-size"){var W={};W[a.split("-")[1]]=c,H.font=Object.assign(H.font||{},W),N.style=u.addStyle(H)}else a==="strike"||a==="textwrap"||a==="underline"||a==="align"||a==="valign"||a==="color"||a==="bgcolor"?(H[a]=c,N.style=u.addStyle(H)):N[a]=c})})}},{key:"setSelectedCellText",value:function(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"input",u=this.autoFilter,h=this.selector,d=this.rows,p=h.ri,g=h.ci,A=p;this.unsortedRowMap.has(p)&&(A=this.unsortedRowMap.get(p));var m=d.getCell(A,g),y=m?m.text:"";if(this.setCellText(A,g,a,c),u.active()){var b=u.getFilter(g);if(b){var I=b.value.findIndex(function(E){return E===y});I>=0&&b.value.splice(I,1,a)}}}},{key:"getSelectedCell",value:function(){var a=this.selector,c=a.ri,u=a.ci,h=c;return this.unsortedRowMap.has(c)&&(h=this.unsortedRowMap.get(c)),this.rows.getCell(h,u)}},{key:"xyInSelectedRect",value:function(a,c){var u=this.getSelectedRect(),h=u.left,d=u.top,p=u.width,g=u.height,A=a-this.cols.indexWidth,m=c-this.rows.height;return A>h&&A<h+p&&m>d&&m<d+g}},{key:"getSelectedRect",value:function(){return this.getRect(this.selector.range)}},{key:"getClipboardRect",value:function(){var a=this.clipboard;return a.isClear()?{left:-100,top:-100}:this.getRect(a.range)}},{key:"getRect",value:function(a){var c=this.scroll,u=this.rows,h=this.cols,d=this.exceptRowSet,p=a.sri,g=a.sci,A=a.eri,m=a.eci;if(p<0&&g<0)return{left:0,l:0,top:0,t:0,scroll:c};var y=h.sumWidth(0,g),b=u.sumHeight(0,p,d),I=u.sumHeight(p,A+1,d),E=h.sumWidth(g,m+1),B=y-c.x,S=b-c.y,_=this.freezeTotalHeight(),D=this.freezeTotalWidth();return D>0&&D>y&&(B=y),_>0&&_>b&&(S=b),{l:y,t:b,left:B,top:S,height:I,width:E,scroll:c}}},{key:"getCellRectByXY",value:function(a,c){var u=this.scroll,h=this.merges,d=this.rows,p=this.cols,g=pn.call(this,c,u.y),A=g.ri,m=g.top,y=g.height,b=Vn.call(this,a,u.x),I=b.ci,E=b.left,B=b.width;if(I===-1&&(B=p.totalWidth()),A===-1&&(y=d.totalHeight()),A>=0||I>=0){var S=h.getFirstIncludes(A,I);if(S){A=S.sri,I=S.sci;var _=this.cellRect(A,I);E=_.left,m=_.top,B=_.width,y=_.height}}return{ri:A,ci:I,left:E,top:m,width:B,height:y}}},{key:"isSingleSelected",value:function(){var a=this.selector.range,c=a.sri,u=a.sci,h=a.eri,d=a.eci,p=this.getCell(c,u);if(p&&p.merge){var g=En(p.merge,2),A=g[0],m=g[1];if(c+A===h&&u+m===d)return!0}return!this.selector.multiple()}},{key:"canUnmerge",value:function(){var a=this.selector.range,c=a.sri,u=a.sci,h=a.eri,d=a.eci,p=this.getCell(c,u);if(p&&p.merge){var g=En(p.merge,2),A=g[0],m=g[1];if(c+A===h&&u+m===d)return!0}return!1}},{key:"merge",value:function(){var a=this,c=this.selector,u=this.rows;if(!this.isSingleSelected()){var h=En(c.size(),2),d=h[0],p=h[1];if(d>1||p>1){var g=c.range,A=g.sri,m=g.sci;this.changeData(function(){var y=u.getCellOrNew(A,m);y.merge=[d-1,p-1],a.merges.add(c.range),a.rows.deleteCells(c.range),a.rows.setCell(A,m,y)})}}}},{key:"unmerge",value:function(){var a=this,c=this.selector;if(this.isSingleSelected()){var u=c.range,h=u.sri,d=u.sci;this.changeData(function(){a.rows.deleteCell(h,d,"merge"),a.merges.deleteWithin(c.range)})}}},{key:"canAutofilter",value:function(){return!this.autoFilter.active()}},{key:"autofilter",value:function(){var a=this,c=this.autoFilter,u=this.selector;this.changeData(function(){c.active()?(c.clear(),a.exceptRowSet=new Set,a.sortedRowMap=new Map,a.unsortedRowMap=new Map):c.ref=u.range.toString()})}},{key:"setAutoFilter",value:function(a,c,u,h){var d=this.autoFilter;d.addFilter(a,u,h),d.setSort(a,c),this.resetAutoFilter()}},{key:"resetAutoFilter",value:function(){var a=this,c=this.autoFilter,u=this.rows;if(c.active()){var h=c.sort,d=c.filteredRows(function(y,b){return u.getCell(y,b)}),p=d.rset,g=d.fset,A=Array.from(g),m=Array.from(g);h&&A.sort(function(y,b){return h.order==="asc"?y-b:h.order==="desc"?b-y:0}),this.exceptRowSet=p,this.sortedRowMap=new Map,this.unsortedRowMap=new Map,A.forEach(function(y,b){a.sortedRowMap.set(m[b],y),a.unsortedRowMap.set(y,m[b])})}}},{key:"deleteCell",value:function(){var a=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"all",u=this.selector;this.changeData(function(){a.rows.deleteCells(u.range,c),c!=="all"&&c!=="format"||a.merges.deleteWithin(u.range)})}},{key:"insert",value:function(a){var c=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.changeData(function(){var h=c.selector.range,d=h.sri,p=h.sci,g=c.rows,A=c.merges,m=c.cols,y=d;a==="row"?g.insert(d,u):a==="column"&&(g.insertColumn(p,u),y=p,m.len+=u,Object.keys(m._).reverse().forEach(function(b){var I=parseInt(b,10);I>=p&&(m._[I+u]=m._[I],delete m._[I])})),A.shift(a,y,u,function(b,I,E,B){var S=g.getCell(b,I);S.merge[0]+=E,S.merge[1]+=B})})}},{key:"delete",value:function(a){var c=this;this.changeData(function(){var u=c.rows,h=c.merges,d=c.selector,p=c.cols,g=d.range,A=d.range,m=A.sri,y=A.sci,b=A.eri,I=A.eci,E=En(d.range.size(),2),B=E[0],S=E[1],_=m,D=B;a==="row"?u.delete(m,b):a==="column"&&(u.deleteColumn(y,I),_=g.sci,D=S,p.len-=I-y+1,Object.keys(p._).forEach(function(T){var F=parseInt(T,10);F>=y&&(F>I&&(p._[F-(I-y+1)]=p._[F]),delete p._[F])})),h.shift(a,_,-D,function(T,F,N,H){var W=u.getCell(T,F);W.merge[0]+=N,W.merge[1]+=H,W.merge[0]===0&&W.merge[1]===0&&delete W.merge})})}},{key:"scrollx",value:function(a,c){var u=this.scroll,h=this.freeze,d=this.cols,p=En(h,2)[1],g=En(Bi.rangeReduceIf(p,d.len,0,0,a,function(I){return d.getWidth(I)}),3),A=g[0],m=g[1],y=g[2],b=m;a>0&&(b+=y),u.x!==b&&(u.ci=a>0?A:0,u.x=b,c())}},{key:"scrolly",value:function(a,c){var u=this.scroll,h=this.freeze,d=this.rows,p=En(h,1)[0],g=En(Bi.rangeReduceIf(p,d.len,0,0,a,function(I){return d.getHeight(I)}),3),A=g[0],m=g[1],y=g[2],b=m;a>0&&(b+=y),u.y!==b&&(u.ri=a>0?A:0,u.y=b,c())}},{key:"cellRect",value:function(a,c){var u=this.rows,h=this.cols,d=h.sumWidth(0,c),p=u.sumHeight(0,a),g=u.getCell(a,c),A=h.getWidth(c),m=u.getHeight(a);if(g!==null&&g.merge){var y=En(g.merge,2),b=y[0],I=y[1];if(b>0)for(var E=1;E<=b;E+=1)m+=u.getHeight(a+E);if(I>0)for(var B=1;B<=I;B+=1)A+=h.getWidth(c+B)}return{left:d,top:p,width:A,height:m,cell:g}}},{key:"getCell",value:function(a,c){return this.rows.getCell(a,c)}},{key:"getCellTextOrDefault",value:function(a,c){var u=this.getCell(a,c);return u&&u.text?u.text:""}},{key:"getCellStyle",value:function(a,c){var u=this.getCell(a,c);return u&&u.style!==void 0?this.styles[u.style]:null}},{key:"getCellStyleOrDefault",value:function(a,c){var u=this.styles,h=this.rows.getCell(a,c),d=h&&h.style!==void 0?u[h.style]:{};return Bi.merge(this.defaultStyle(),d)}},{key:"getSelectedCellStyle",value:function(){var a=this.selector,c=a.ri,u=a.ci;return this.getCellStyleOrDefault(c,u)}},{key:"setCellText",value:function(a,c,u,h){var d=this.rows,p=this.history,g=this.validations;h==="finished"?(d.setCellText(a,c,""),p.add(this.getData()),d.setCellText(a,c,u)):(d.setCellText(a,c,u),this.change(this.getData())),g.validate(a,c,u)}},{key:"freezeIsActive",value:function(){var a=En(this.freeze,2),c=a[0],u=a[1];return c>0||u>0}},{key:"setFreeze",value:function(a,c){var u=this;this.changeData(function(){u.freeze=[a,c]})}},{key:"freezeTotalWidth",value:function(){return this.cols.sumWidth(0,this.freeze[1])}},{key:"freezeTotalHeight",value:function(){return this.rows.sumHeight(0,this.freeze[0])}},{key:"setRowHeight",value:function(a,c){var u=this;this.changeData(function(){u.rows.setHeight(a,c)})}},{key:"setColWidth",value:function(a,c){var u=this;this.changeData(function(){u.cols.setWidth(a,c)})}},{key:"viewHeight",value:function(){var a=this.settings,c=a.view,u=a.showToolbar,h=a.showBottomBar,d=c.height();return h&&(d-=41),u&&(d-=41),d}},{key:"viewWidth",value:function(){return this.settings.view.width()}},{key:"freezeViewRange",value:function(){var a=En(this.freeze,2),c=a[0],u=a[1];return new xr(0,0,c-1,u-1,this.freezeTotalWidth(),this.freezeTotalHeight())}},{key:"contentRange",value:function(){var a=this.rows,c=this.cols,u=En(a.maxCell(),2),h=u[0],d=u[1],p=a.sumHeight(0,h+1),g=c.sumWidth(0,d+1);return new xr(0,0,h,d,g,p)}},{key:"exceptRowTotalHeight",value:function(a,c){var u=this.exceptRowSet,h=this.rows,d=Array.from(u),p=0;return d.forEach(function(g){if(g<a||g>c){var A=h.getHeight(g);p+=A}}),p}},{key:"viewRange",value:function(){var a=this.scroll,c=this.rows,u=this.cols,h=this.freeze,d=this.exceptRowSet,p=a.ri,g=a.ci;p<=0&&(p=En(h,1)[0]),g<=0&&(g=En(h,2)[1]);for(var A=0,m=0,y=[c.len,u.len],b=y[0],I=y[1],E=p;E<c.len&&(d.has(E)||(m+=c.getHeight(E),b=E),!(m>this.viewHeight()));E+=1);for(var B=g;B<u.len&&(I=B,!((A+=u.getWidth(B))>this.viewWidth()));B+=1);return new xr(p,g,b,I,A,m)}},{key:"eachMergesInView",value:function(a,c){this.merges.filterIntersects(a).forEach(function(u){return c(u)})}},{key:"hideRowsOrCols",value:function(){var a=this.rows,c=this.cols,u=this.selector,h=En(u.size(),2),d=h[0],p=h[1],g=u.range,A=g.sri,m=g.sci,y=g.eri,b=g.eci;if(d===a.len)for(var I=m;I<=b;I+=1)c.setHide(I,!0);else if(p===c.len)for(var E=A;E<=y;E+=1)a.setHide(E,!0)}},{key:"unhideRowsOrCols",value:function(a,c){this["".concat(a,"s")].unhide(c)}},{key:"rowEach",value:function(a,c,u){for(var h=0,d=this.rows,p=this.exceptRowSet,g=Ni(p),A=0,m=0;m<g.length;m+=1)g[m]<a&&(A+=1);for(var y=a+A;y<=c+A;y+=1)if(p.has(y))A+=1;else{var b=d.getHeight(y);if(b>0&&(u(y,h,b),(h+=b)>this.viewHeight()))break}}},{key:"colEach",value:function(a,c,u){for(var h=0,d=this.cols,p=a;p<=c;p+=1){var g=d.getWidth(p);if(g>0&&(u(p,h,g),(h+=g)>this.viewWidth()))break}}},{key:"defaultStyle",value:function(){return this.settings.style}},{key:"addStyle",value:function(a){for(var c=this.styles,u=0;u<c.length;u+=1){var h=c[u];if(Bi.equals(h,a))return u}return c.push(a),c.length-1}},{key:"changeData",value:function(a){this.history.add(this.getData()),a(),this.change(this.getData())}},{key:"setData",value:function(a){var c=this;return Object.keys(a).forEach(function(u){if(u==="merges"||u==="rows"||u==="cols"||u==="validations")c[u].setData(a[u]);else if(u==="freeze"){var h=En(Da(a[u]),2),d=h[0],p=h[1];c.freeze=[p,d]}else u==="autofilter"?c.autoFilter.setData(a[u]):a[u]!==void 0&&(c[u]=a[u])}),this}},{key:"getData",value:function(){var a=this.name,c=this.freeze,u=this.styles,h=this.merges,d=this.rows,p=this.cols,g=this.validations,A=this.autoFilter;return{name:a,freeze:Kt(c[1],c[0]),styles:u,merges:h.getData(),rows:d.getData(),cols:p.getData(),validations:g.getData(),autofilter:A.getData()}}}])}();function Ea(a,c){var u=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!u){if(Array.isArray(a)||(u=function(m,y){if(m){if(typeof m=="string")return bo(m,y);var b={}.toString.call(m).slice(8,-1);return b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set"?Array.from(m):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?bo(m,y):void 0}}(a))||c){u&&(a=u);var h=0,d=function(){};return{s:d,n:function(){return h>=a.length?{done:!0}:{done:!1,value:a[h++]}},e:function(m){throw m},f:d}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  9. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p,g=!0,A=!1;return{s:function(){u=u.call(a)},n:function(){var m=u.next();return g=m.done,m},e:function(m){A=!0,p=m},f:function(){try{g||u.return==null||u.return()}finally{if(A)throw p}}}}function bo(a,c){(c==null||c>a.length)&&(c=a.length);for(var u=0,h=Array(c);u<c;u++)h[u]=a[u];return h}function Ne(a,c,u){a.addEventListener(c,u)}function pr(a,c,u){a.removeEventListener(c,u)}function xa(a){a.xclickoutside&&(pr(window.document.body,"click",a.xclickoutside),delete a.xclickoutside)}function Ii(a,c){a.xclickoutside=function(u){u.detail===2||a.contains(u.target)||(c?c(a):(a.hide(),xa(a)))},Ne(window.document.body,"click",a.xclickoutside)}function Vf(a,c,u){Ne(a,"mousemove",c),a.xEvtUp=function(h){pr(a,"mousemove",c),pr(a,"mouseup",a.xEvtUp),u(h)},Ne(a,"mouseup",a.xEvtUp)}function fi(a,c,u,h){Math.abs(a)>Math.abs(c)?h(a>0?"right":"left",a,u):h(c>0?"down":"up",c,u)}var $r="x-spreadsheet",an=function(){return xt(function a(){var c=this,u=arguments.length>0&&arguments[0]!==void 0&&arguments[0],h=arguments.length>1?arguments[1]:void 0;Et(this,a),this.moving=!1,this.vertical=u,this.el=Vt("div","".concat($r,"-resizer ").concat(u?"vertical":"horizontal")).children(this.unhideHoverEl=Vt("div","".concat($r,"-resizer-hover")).on("dblclick.stop",function(d){return c.mousedblclickHandler(d)}).css("position","absolute").hide(),this.hoverEl=Vt("div","".concat($r,"-resizer-hover")).on("mousedown.stop",function(d){return c.mousedownHandler(d)}),this.lineEl=Vt("div","".concat($r,"-resizer-line")).hide()).hide(),this.cRect=null,this.finishedFn=null,this.minDistance=h,this.unhideFn=function(){}},[{key:"showUnhide",value:function(a){this.unhideIndex=a,this.unhideHoverEl.show()}},{key:"hideUnhide",value:function(){this.unhideHoverEl.hide()}},{key:"show",value:function(a,c){var u=this.moving,h=this.vertical,d=this.hoverEl,p=this.lineEl,g=this.el,A=this.unhideHoverEl;if(!u){this.cRect=a;var m=a.left,y=a.top,b=a.width,I=a.height;g.offset({left:h?m+b-5:m,top:h?y:y+I-5}).show(),d.offset({width:h?5:b,height:h?I:5}),p.offset({width:h?0:c.width,height:h?c.height:0}),A.offset({left:h?5-b:m,top:h?y:5-I,width:h?5:b,height:h?I:5})}}},{key:"hide",value:function(){this.el.offset({left:0,top:0}).hide(),this.hideUnhide()}},{key:"mousedblclickHandler",value:function(){this.unhideIndex&&this.unhideFn(this.unhideIndex)}},{key:"mousedownHandler",value:function(a){var c=this,u=a,h=this.el,d=this.lineEl,p=this.cRect,g=this.vertical,A=this.minDistance,m=g?p.width:p.height;d.show(),Vf(window,function(y){c.moving=!0,u!==null&&y.buttons===1&&(g?(m+=y.movementX)>A&&h.css("left","".concat(p.left+m,"px")):(m+=y.movementY)>A&&h.css("top","".concat(p.top+m,"px")),u=y)},function(){u=null,d.hide(),c.moving=!1,c.hide(),c.finishedFn&&(m<A&&(m=A),c.finishedFn(p,m))})}}])}(),ni=function(){return xt(function a(c){var u=this;Et(this,a),this.vertical=c,this.moveFn=null,this.el=Vt("div","".concat($r,"-scrollbar ").concat(c?"vertical":"horizontal")).child(this.contentEl=Vt("div","")).on("mousemove.stop",function(){}).on("scroll.stop",function(h){var d=h.target,p=d.scrollTop,g=d.scrollLeft;u.moveFn&&u.moveFn(u.vertical?p:g,h)})},[{key:"move",value:function(a){return this.el.scroll(a),this}},{key:"scroll",value:function(){return this.el.scroll()}},{key:"set",value:function(a,c){var u=a-1;if(c>u){var h=this.vertical?"height":"width";this.el.css(h,"".concat(u-15,"px")).show(),this.contentEl.css(this.vertical?"width":"height","1px").css(h,"".concat(c,"px"))}else this.el.hide();return this}}])}(),yr=10,bn=function(){return xt(function a(){var c=this,u=arguments.length>0&&arguments[0]!==void 0&&arguments[0],h=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];Et(this,a),this.useHideInput=u,this.autoFocus=h,this.inputChange=function(){},this.cornerEl=Vt("div","".concat($r,"-selector-corner")),this.areaEl=Vt("div","".concat($r,"-selector-area")).child(this.cornerEl).hide(),this.clipboardEl=Vt("div","".concat($r,"-selector-clipboard")).hide(),this.autofillEl=Vt("div","".concat($r,"-selector-autofill")).hide(),this.el=Vt("div","".concat($r,"-selector")).css("z-index","".concat(yr)).children(this.areaEl,this.clipboardEl,this.autofillEl).hide(),u&&(this.hideInput=Vt("input","").on("compositionend",function(d){c.inputChange(d.target.value)}),this.el.child(this.hideInputDiv=Vt("div","hide-input").child(this.hideInput)),this.el.child(this.hideInputDiv=Vt("div","hide-input").child(this.hideInput))),yr+=1},[{key:"setOffset",value:function(a){return this.el.offset(a).show(),this}},{key:"hide",value:function(){return this.el.hide(),this}},{key:"setAreaOffset",value:function(a){var c=a.left,u=a.top,h={width:a.width-3+.8,height:a.height-3+.8,left:c-.8,top:u-.8};this.areaEl.offset(h).show(),this.useHideInput&&(this.hideInputDiv.offset(h),this.autoFocus?this.hideInput.val("").focus():this.hideInput.val(""))}},{key:"setClipboardOffset",value:function(a){var c=a.left,u=a.top,h=a.width,d=a.height;this.clipboardEl.offset({left:c,top:u,width:h-5,height:d-5})}},{key:"showAutofill",value:function(a){var c=a.left,u=a.top,h=a.width,d=a.height;this.autofillEl.offset({width:h-3,height:d-3,left:c,top:u}).show()}},{key:"hideAutofill",value:function(){this.autofillEl.hide()}},{key:"showClipboard",value:function(){this.clipboardEl.show()}},{key:"hideClipboard",value:function(){this.clipboardEl.hide()}}])}();function en(a){var c=this.data,u=a.left,h=a.top,d=a.width,p=a.height,g=a.scroll,A=a.l,m=a.t,y=c.freezeTotalWidth(),b=c.freezeTotalHeight(),I=u-y;y>A&&(I-=g.x);var E=h-b;return b>m&&(E-=g.y),{left:I,top:E,width:d,height:p}}function k0(a){var c=this.data,u=a.left,h=a.width,d=a.height,p=a.l,g=a.t,A=a.scroll,m=c.freezeTotalWidth(),y=u-m;return m>p&&(y-=A.x),{left:y,top:g,width:h,height:d}}function $i(a){var c=this.data,u=a.top,h=a.width,d=a.height,p=a.l,g=a.t,A=a.scroll,m=c.freezeTotalHeight(),y=u-m;return m>g&&(y-=A.y),{left:p,top:y,width:h,height:d}}function Ln(a){this.br.setAreaOffset(en.call(this,a))}function UC(a){this.tl.setAreaOffset(a)}function $u(a){this.t.setAreaOffset(k0.call(this,a))}function Zf(a){this.l.setAreaOffset($i.call(this,a))}function Q0(a){this.l.setClipboardOffset($i.call(this,a))}function u2(a){this.br.setClipboardOffset(en.call(this,a))}function q3(a){this.tl.setClipboardOffset(a)}function Tg(a){this.t.setClipboardOffset(k0.call(this,a))}function Bs(a){Ln.call(this,a),UC.call(this,a),$u.call(this,a),Zf.call(this,a)}function $n(a){u2.call(this,a),q3.call(this,a),Tg.call(this,a),Q0.call(this,a)}var ec=function(){return xt(function a(c){var u=this;Et(this,a);var h=c.settings.autoFocus;this.inputChange=function(){},this.data=c,this.br=new bn(!0,h),this.t=new bn,this.l=new bn,this.tl=new bn,this.br.inputChange=function(d){u.inputChange(d)},this.br.el.show(),this.offset=null,this.areaOffset=null,this.indexes=null,this.range=null,this.arange=null,this.el=Vt("div","".concat($r,"-selectors")).children(this.tl.el,this.t.el,this.l.el,this.br.el).hide(),this.lastri=-1,this.lastci=-1,yr+=1},[{key:"resetData",value:function(a){this.data=a,this.range=a.selector.range,this.resetAreaOffset()}},{key:"hide",value:function(){this.el.hide()}},{key:"resetOffset",value:function(){var a=this.data,c=this.tl,u=this.t,h=this.l,d=this.br,p=a.freezeTotalHeight(),g=a.freezeTotalWidth();p>0||g>0?(c.setOffset({width:g,height:p}),u.setOffset({left:g,height:p}),h.setOffset({top:p,width:g}),d.setOffset({left:g,top:p})):(c.hide(),u.hide(),h.hide(),d.setOffset({left:0,top:0}))}},{key:"resetAreaOffset",value:function(){var a=this.data.getSelectedRect(),c=this.data.getClipboardRect();Bs.call(this,a),$n.call(this,c),this.resetOffset()}},{key:"resetBRTAreaOffset",value:function(){var a=this.data.getSelectedRect(),c=this.data.getClipboardRect();Ln.call(this,a),$u.call(this,a),u2.call(this,c),Tg.call(this,c),this.resetOffset()}},{key:"resetBRLAreaOffset",value:function(){var a=this.data.getSelectedRect(),c=this.data.getClipboardRect();Ln.call(this,a),Zf.call(this,a),u2.call(this,c),Q0.call(this,c),this.resetOffset()}},{key:"set",value:function(a,c){var u=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],h=this.data,d=h.calSelectedRangeByStart(a,c),p=d.sri,g=d.sci;if(u){var A=a,m=c;a<0&&(A=0),c<0&&(m=0),h.selector.setIndexes(A,m),this.indexes=[A,m]}this.moveIndexes=[p,g],this.range=d,this.resetAreaOffset(),this.el.show()}},{key:"setEnd",value:function(a,c){var u=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],h=this.data,d=this.lastri,p=this.lastci;if(u){if(a===d&&c===p)return;this.lastri=a,this.lastci=c}this.range=h.calSelectedRangeByEnd(a,c),Bs.call(this,this.data.getSelectedRect())}},{key:"reset",value:function(){var a=this.data.selector.range,c=a.eri,u=a.eci;this.setEnd(c,u)}},{key:"showAutofill",value:function(a,c){if(a!==-1||c!==-1){var u=this.range,h=u.sri,d=u.sci,p=u.eri,g=u.eci,A=a,m=c,y=h-a,b=p-a,I=g-c;if(d-c>0)this.arange=new xr(h,m,p,d-1);else if(y>0)this.arange=new xr(A,d,h-1,g);else if(I<0)this.arange=new xr(h,g+1,p,m);else{if(!(b<0))return void(this.arange=null);this.arange=new xr(p+1,d,A,g)}if(this.arange!==null){var E=this.data.getRect(this.arange);E.width+=2,E.height+=2;var B=this.br,S=this.l,_=this.t,D=this.tl;B.showAutofill(en.call(this,E)),S.showAutofill($i.call(this,E)),_.showAutofill(k0.call(this,E)),D.showAutofill(E)}}}},{key:"hideAutofill",value:function(){var a=this;["br","l","t","tl"].forEach(function(c){a[c].hideAutofill()})}},{key:"showClipboard",value:function(){var a=this,c=this.data.getClipboardRect();$n.call(this,c),["br","l","t","tl"].forEach(function(u){a[u].showClipboard()})}},{key:"hideClipboard",value:function(){var a=this;["br","l","t","tl"].forEach(function(c){a[c].hideClipboard()})}}])}();function c2(a){a.preventDefault(),a.stopPropagation();var c=this.filterItems;c.length<=0||(this.itemIndex>=0&&c[this.itemIndex].toggle(),this.itemIndex-=1,this.itemIndex<0&&(this.itemIndex=c.length-1),c[this.itemIndex].toggle())}function yl(a){a.stopPropagation();var c=this.filterItems;c.length<=0||(this.itemIndex>=0&&c[this.itemIndex].toggle(),this.itemIndex+=1,this.itemIndex>c.length-1&&(this.itemIndex=0),c[this.itemIndex].toggle())}function tc(a){a.preventDefault();var c=this.filterItems;c.length<=0||(a.stopPropagation(),this.itemIndex<0&&(this.itemIndex=0),c[this.itemIndex].el.click(),this.hide())}function Wl(a){var c=a.keyCode;switch(a.ctrlKey&&a.stopPropagation(),c){case 37:case 39:default:a.stopPropagation();break;case 38:c2.call(this,a);break;case 40:yl.call(this,a);break;case 13:case 9:tc.call(this,a)}}var l2=function(){return xt(function a(c,u){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"200px";Et(this,a),this.filterItems=[],this.items=c,this.el=Vt("div","".concat($r,"-suggest")).css("width",h).hide(),this.itemClick=u,this.itemIndex=-1},[{key:"setOffset",value:function(a){this.el.cssRemoveKeys("top","bottom").offset(a)}},{key:"hide",value:function(){var a=this.el;this.filterItems=[],this.itemIndex=-1,a.hide(),xa(this.el.parent())}},{key:"setItems",value:function(a){this.items=a}},{key:"search",value:function(a){var c,u=this,h=this.items;if(/^\s*$/.test(a)||(h=h.filter(function(p){return(p.key||p).startsWith(a.toUpperCase())})),h=h.map(function(p){var g=p.title;g?typeof g=="function"&&(g=g()):g=p;var A=Vt("div","".concat($r,"-item")).child(g).on("click.stop",function(){u.itemClick(p),u.hide()});return p.label&&A.child(Vt("div","label").html(p.label)),A}),this.filterItems=h,!(h.length<=0)){var d=this.el;(c=d.html("")).children.apply(c,Ni(h)).show(),Ii(d.parent(),function(){u.hide()})}}},{key:"bindInputEvents",value:function(a){var c=this;a.on("keydown",function(u){return Wl.call(c,u)})}}])}();function Ki(a,c){if(c&&(Bo(c)=="object"||typeof c=="function"))return c;if(c!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}(a)}function sn(a){return(sn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)})(a)}function jC(a,c){return(jC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,h){return u.__proto__=h,u})(a,c)}function nr(a,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),c&&jC(a,c)}function h2(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(h2=function(){return!!a})()}var Tu=function(a){function c(u){var h,d,p,g;return Et(this,c),d=this,p=c,g=["div","".concat($r,"-icon")],p=sn(p),(h=Ki(d,h2()?Reflect.construct(p,g||[],sn(d).constructor):p.apply(d,g))).iconNameEl=Vt("div","".concat($r,"-icon-img ").concat(u)),h.child(h.iconNameEl),h}return nr(c,a),xt(c,[{key:"setName",value:function(u){this.iconNameEl.className("".concat($r,"-icon-img ").concat(u))}}])}(It);function mn(a,c){a.setMonth(a.getMonth()+c)}function x0(a,c){var u=new Date(a);return u.setDate(c-a.getDay()+1),u}var Lg=function(){return xt(function a(c){var u,h=this;Et(this,a),this.value=c,this.cvalue=new Date(c),this.headerLeftEl=Vt("div","calendar-header-left"),this.bodyEl=Vt("tbody",""),this.buildAll(),this.el=Vt("div","x-spreadsheet-calendar").children(Vt("div","calendar-header").children(this.headerLeftEl,Vt("div","calendar-header-right").children(Vt("a","calendar-prev").on("click.stop",function(){return h.prev()}).child(new Tu("chevron-left")),Vt("a","calendar-next").on("click.stop",function(){return h.next()}).child(new Tu("chevron-right")))),Vt("table","calendar-body").children(Vt("thead","").child((u=Vt("tr","")).children.apply(u,Ni(Wi("calendar.weeks").map(function(d){return Vt("th","cell").child(d)})))),this.bodyEl)),this.selectChange=function(){}},[{key:"setValue",value:function(a){this.value=a,this.cvalue=new Date(a),this.buildAll()}},{key:"prev",value:function(){mn(this.value,-1),this.buildAll()}},{key:"next",value:function(){mn(this.value,1),this.buildAll()}},{key:"buildAll",value:function(){this.buildHeaderLeft(),this.buildBody()}},{key:"buildHeaderLeft",value:function(){var a=this.value;this.headerLeftEl.html("".concat(Wi("calendar.months")[a.getMonth()]," ").concat(a.getFullYear()))}},{key:"buildBody",value:function(){var a,c=this,u=this.value,h=this.cvalue,d=this.bodyEl,p=function(g,A,m){for(var y=new Date(g,A,1,23,59,59),b=[[],[],[],[],[],[]],I=0;I<6;I+=1)for(var E=0;E<7;E+=1){var B=x0(y,7*I+E),S=B.getMonth()!==A,_=B.getMonth()===m.getMonth()&&B.getDate()===m.getDate();b[I][E]={d:B,disabled:S,active:_}}return b}(u.getFullYear(),u.getMonth(),h).map(function(g){var A,m=g.map(function(y){var b="cell";return y.disabled&&(b+=" disabled"),y.active&&(b+=" active"),Vt("td","").child(Vt("div",b).on("click.stop",function(){c.selectChange(y.d)}).child(y.d.getDate().toString()))});return(A=Vt("tr","")).children.apply(A,Ni(m))});(a=d.html("")).children.apply(a,Ni(p))}}])}(),f2=function(){return xt(function a(){Et(this,a),this.calendar=new Lg(new Date),this.el=Vt("div","".concat($r,"-datepicker")).child(this.calendar.el).hide()},[{key:"setValue",value:function(a){var c=this.calendar;return typeof a=="string"?/^\d{4}-\d{1,2}-\d{1,2}$/.test(a)&&c.setValue(new Date(a.replace(new RegExp("-","g"),"/"))):a instanceof Date&&c.setValue(a),this}},{key:"change",value:function(a){var c=this;this.calendar.selectChange=function(u){a(u),c.hide()}}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide()}}])}();function ln(){var a=this.inputText;if(!/^\s*$/.test(a)){var c=this.textlineEl,u=this.textEl,h=this.areaOffset,d=a.split(`
  10. `),p=Math.max.apply(Math,Ni(d.map(function(I){return I.length}))),g=c.offset().width/a.length,A=(p+1)*g+5,m=this.viewFn().width-h.left-g,y=d.length;if(A>h.width){var b=A;A>m&&(b=m,y+=parseInt(A/m,10),y+=A%m>0?1:0),u.css("width","".concat(b,"px"))}(y*=this.rowHeight)>h.height&&u.css("height","".concat(y,"px"))}}function $o(a,c){var u=a.target,h=u.value,d=u.selectionEnd,p="".concat(h.slice(0,d)).concat(c).concat(h.slice(d));u.value=p,u.setSelectionRange(d+1,d+1),this.inputText=p,this.textlineEl.html(p),ln.call(this)}function Qv(a){var c=a.keyCode,u=a.altKey;c!==13&&c!==9&&a.stopPropagation(),c===13&&u&&($o.call(this,a,`
  11. `),a.stopPropagation()),c!==13||u||a.preventDefault()}function vd(a){var c=a.target.value,u=this.suggest,h=this.textlineEl,d=this.validator,p=this.cell;if(p!==null)if("editable"in p&&p.editable===!0||p.editable===void 0){if(this.inputText=c,d)d.type==="list"?u.search(c):u.hide();else{var g=c.lastIndexOf("=");g!==-1?u.search(c.substring(g+1)):u.hide()}h.html(c),ln.call(this),this.change("input",c)}else a.target.value=p.text||"";else{if(this.inputText=c,d)d.type==="list"?u.search(c):u.hide();else{var A=c.lastIndexOf("=");A!==-1?u.search(c.substring(A+1)):u.hide()}h.html(c),ln.call(this),this.change("input",c)}}function rc(a){var c=this.textEl.el;setTimeout(function(){c.focus(),c.setSelectionRange(a,a)},0)}function ql(a,c){var u=this.textEl,h=this.textlineEl;u.el.blur(),u.val(a),h.html(a),rc.call(this,c)}function z3(a){var c=this.inputText,u=this.validator,h=0;if(u&&u.type==="list")this.inputText=a,h=this.inputText.length;else{var d=c.lastIndexOf("="),p=c.substring(0,d+1),g=c.substring(d+1);g=g.indexOf(")")!==-1?g.substring(g.indexOf(")")):"",this.inputText="".concat(p+a.key,"("),h=this.inputText.length,this.inputText+=")".concat(g)}ql.call(this,this.inputText,h)}function HC(){this.suggest.setItems(this.formulas)}var A2=function(){return xt(function a(c,u,h){var d=this;Et(this,a),this.viewFn=u,this.rowHeight=h,this.formulas=c,this.suggest=new l2(c,function(p){z3.call(d,p)}),this.datepicker=new f2,this.datepicker.change(function(p){d.setText(function(g){var A=g.getMonth()+1,m=g.getDate();return A<10&&(A="0".concat(A)),m<10&&(m="0".concat(m)),"".concat(g.getFullYear(),"-").concat(A,"-").concat(m)}(p)),d.clear()}),this.areaEl=Vt("div","".concat($r,"-editor-area")).children(this.textEl=Vt("textarea","").on("input",function(p){return vd.call(d,p)}).on("paste.stop",function(){}).on("keydown",function(p){return Qv.call(d,p)}),this.textlineEl=Vt("div","textline"),this.suggest.el,this.datepicker.el).on("mousemove.stop",function(){}).on("mousedown.stop",function(){}),this.el=Vt("div","".concat($r,"-editor")).child(this.areaEl).hide(),this.suggest.bindInputEvents(this.textEl),this.areaOffset=null,this.freeze={w:0,h:0},this.cell=null,this.inputText="",this.change=function(){}},[{key:"setFreezeLengths",value:function(a,c){this.freeze.w=a,this.freeze.h=c}},{key:"clear",value:function(){this.inputText!==""&&this.change("finished",this.inputText),this.cell=null,this.areaOffset=null,this.inputText="",this.el.hide(),this.textEl.val(""),this.textlineEl.html(""),HC.call(this),this.datepicker.hide()}},{key:"setOffset",value:function(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",u=this.textEl,h=this.areaEl,d=this.suggest,p=this.freeze,g=this.el;if(a){this.areaOffset=a;var A=a.left,m=a.top,y=a.width,b=a.height,I=a.l,E=a.t,B={left:0,top:0};p.w>I&&p.h>E||(p.w<I&&p.h<E?(B.left=p.w,B.top=p.h):p.w>I?B.top=p.h:p.h>E&&(B.left=p.w)),g.offset(B),h.offset({left:A-B.left-.8,top:m-B.top-.8}),u.offset({width:y-9+.8,height:b-3+.8});var S={left:0};S[c]=b,d.setOffset(S),d.hide()}}},{key:"setCell",value:function(a,c){if(!a||a.editable!==!1){var u=this.el,h=this.datepicker,d=this.suggest;u.show(),this.cell=a;var p=a&&a.text||"";if(this.setText(p),this.validator=c,c){var g=c.type;g==="date"&&(h.show(),/^\s*$/.test(p)||h.setValue(p)),g==="list"&&(d.setItems(c.values()),d.search(""))}}}},{key:"setText",value:function(a){this.inputText=a,ql.call(this,a,a.length),ln.call(this)}}])}();function Xf(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Xf=function(){return!!a})()}var ef=function(a){function c(u){var h,d,p,g,A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return Et(this,c),d=this,p=c,g=["div","".concat($r,"-button ").concat(A)],p=sn(p),(h=Ki(d,Xf()?Reflect.construct(p,g||[],sn(d).constructor):p.apply(d,g))).child(Wi("button.".concat(u))),h}return nr(c,a),xt(c)}(It);function xv(){return window.devicePixelRatio||1}function Ng(){return xv()-.5}function Ti(a){return parseInt(a*xv(),10)}function $f(a){var c=Ti(a);return c>0?c-.5:.5}var eA=function(){return xt(function a(c,u,h,d){var p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;Et(this,a),this.x=c,this.y=u,this.width=h,this.height=d,this.padding=p,this.bgcolor="#ffffff",this.borderTop=null,this.borderRight=null,this.borderBottom=null,this.borderLeft=null},[{key:"setBorders",value:function(a){var c=a.top,u=a.bottom,h=a.left,d=a.right;c&&(this.borderTop=c),d&&(this.borderRight=d),u&&(this.borderBottom=u),h&&(this.borderLeft=h)}},{key:"innerWidth",value:function(){return this.width-2*this.padding-2}},{key:"innerHeight",value:function(){return this.height-2*this.padding-2}},{key:"textx",value:function(a){var c=this.width,u=this.padding,h=this.x;return a==="left"?h+=u:a==="center"?h+=c/2:a==="right"&&(h+=c-u),h}},{key:"texty",value:function(a,c){var u=this.height,h=this.padding,d=this.y;return a==="top"?d+=h:a==="middle"?d+=u/2-c/2:a==="bottom"&&(d+=u-h-c),d}},{key:"topxys",value:function(){var a=this.x,c=this.y;return[[a,c],[a+this.width,c]]}},{key:"rightxys",value:function(){var a=this.x,c=this.y,u=this.width;return[[a+u,c],[a+u,c+this.height]]}},{key:"bottomxys",value:function(){var a=this.x,c=this.y,u=this.width,h=this.height;return[[a,c+h],[a+u,c+h]]}},{key:"leftxys",value:function(){var a=this.x,c=this.y;return[[a,c],[a,c+this.height]]}}])}();function YC(a,c,u,h,d,p,g){var A={x:0,y:0};a==="underline"?A.y=d==="bottom"?0:d==="top"?-(p+2):-p/2:a==="strike"&&(d==="bottom"?A.y=p/2:d==="top"&&(A.y=-(p/2+2))),h==="center"?A.x=g/2:h==="right"&&(A.x=g),this.line([c-A.x,u-A.y],[c-A.x+g,u-A.y])}var tA=function(){return xt(function a(c,u,h){Et(this,a),this.el=c,this.ctx=c.getContext("2d"),this.resize(u,h),this.ctx.scale(xv(),xv())},[{key:"resize",value:function(a,c){this.el.style.width="".concat(a,"px"),this.el.style.height="".concat(c,"px"),this.el.width=Ti(a),this.el.height=Ti(c)}},{key:"clear",value:function(){var a=this.el,c=a.width,u=a.height;return this.ctx.clearRect(0,0,c,u),this}},{key:"attr",value:function(a){return Object.assign(this.ctx,a),this}},{key:"save",value:function(){return this.ctx.save(),this.ctx.beginPath(),this}},{key:"restore",value:function(){return this.ctx.restore(),this}},{key:"beginPath",value:function(){return this.ctx.beginPath(),this}},{key:"translate",value:function(a,c){return this.ctx.translate(Ti(a),Ti(c)),this}},{key:"scale",value:function(a,c){return this.ctx.scale(a,c),this}},{key:"clearRect",value:function(a,c,u,h){return this.ctx.clearRect(a,c,u,h),this}},{key:"fillRect",value:function(a,c,u,h){return this.ctx.fillRect(Ti(a)-.5,Ti(c)-.5,Ti(u),Ti(h)),this}},{key:"fillText",value:function(a,c,u){return this.ctx.fillText(a,Ti(c),Ti(u)),this}},{key:"text",value:function(a,c){var u=this,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],p=this.ctx,g=h.align,A=h.valign,m=h.font,y=h.color,b=h.strike,I=h.underline,E=c.textx(g);p.save(),p.beginPath(),this.attr({textAlign:g,textBaseline:A,font:"".concat(m.italic?"italic":""," ").concat(m.bold?"bold":""," ").concat(Ti(m.size),"px ").concat(m.name),fillStyle:y,strokeStyle:y});var B="".concat(a).split(`
  12. `),S=c.innerWidth(),_=[];B.forEach(function(F){var N=p.measureText(F).width;if(d&&N>Ti(S)){for(var H={w:0,len:0,start:0},W=0;W<F.length;W+=1)H.w>=Ti(S)&&(_.push(F.substr(H.start,H.len)),H={w:0,len:0,start:W}),H.len+=1,H.w+=p.measureText(F[W]).width+1;H.len>0&&_.push(F.substr(H.start,H.len))}else _.push(F)});var D=(_.length-1)*(m.size+2),T=c.texty(A,D);return _.forEach(function(F){var N=p.measureText(F).width;u.fillText(F,E,T),b&&YC.call(u,"strike",E,T,g,A,m.size,N),I&&YC.call(u,"underline",E,T,g,A,m.size,N),T+=m.size+2}),p.restore(),this}},{key:"border",value:function(a,c){var u=this.ctx;return u.lineWidth=Ng,u.strokeStyle=c,a==="medium"?u.lineWidth=Ti(2)-.5:a==="thick"?u.lineWidth=Ti(3):a==="dashed"?u.setLineDash([Ti(3),Ti(2)]):a==="dotted"?u.setLineDash([Ti(1),Ti(1)]):a==="double"&&u.setLineDash([Ti(2),0]),this}},{key:"line",value:function(){var a=this.ctx;if(arguments.length>1){a.beginPath();var c=En(arguments.length<=0?void 0:arguments[0],2),u=c[0],h=c[1];a.moveTo($f(u),$f(h));for(var d=1;d<arguments.length;d+=1){var p=En(d<0||arguments.length<=d?void 0:arguments[d],2),g=p[0],A=p[1];a.lineTo($f(g),$f(A))}a.stroke()}return this}},{key:"strokeBorders",value:function(a){var c=this.ctx;c.save();var u=a.borderTop,h=a.borderRight,d=a.borderBottom,p=a.borderLeft;u&&(this.border.apply(this,Ni(u)),this.line.apply(this,Ni(a.topxys()))),h&&(this.border.apply(this,Ni(h)),this.line.apply(this,Ni(a.rightxys()))),d&&(this.border.apply(this,Ni(d)),this.line.apply(this,Ni(a.bottomxys()))),p&&(this.border.apply(this,Ni(p)),this.line.apply(this,Ni(a.leftxys()))),c.restore()}},{key:"dropdown",value:function(a){var c=this.ctx,u=a.x,h=a.y,d=u+a.width-15,p=h+a.height-15;c.save(),c.beginPath(),c.moveTo(Ti(d),Ti(p)),c.lineTo(Ti(d+8),Ti(p)),c.lineTo(Ti(d+4),Ti(p+6)),c.closePath(),c.fillStyle="rgba(0, 0, 0, .45)",c.fill(),c.restore()}},{key:"error",value:function(a){var c=this.ctx,u=a.x,h=a.y,d=u+a.width-1;c.save(),c.beginPath(),c.moveTo(Ti(d-8),Ti(h-1)),c.lineTo(Ti(d),Ti(h-1)),c.lineTo(Ti(d),Ti(h+8)),c.closePath(),c.fillStyle="rgba(255, 0, 0, .65)",c.fill(),c.restore()}},{key:"frozen",value:function(a){var c=this.ctx,u=a.x,h=a.y,d=u+a.width-1;c.save(),c.beginPath(),c.moveTo(Ti(d-8),Ti(h-1)),c.lineTo(Ti(d),Ti(h-1)),c.lineTo(Ti(d),Ti(h+8)),c.closePath(),c.fillStyle="rgba(0, 255, 0, .85)",c.fill(),c.restore()}},{key:"rect",value:function(a,c){var u=this.ctx,h=a.x,d=a.y,p=a.width,g=a.height,A=a.bgcolor;u.save(),u.beginPath(),u.fillStyle=A||"#fff",u.rect($f(h+1),$f(d+1),Ti(p-2),Ti(g-2)),u.clip(),u.fill(),c(),u.restore()}}])}(),S0=[{key:"Arial",title:"Arial"},{key:"Helvetica",title:"Helvetica"},{key:"Source Sans Pro",title:"Source Sans Pro"},{key:"Comic Sans MS",title:"Comic Sans MS"},{key:"Courier New",title:"Courier New"},{key:"Verdana",title:"Verdana"},{key:"Lato",title:"Lato"}],js=[{pt:7.5,px:10},{pt:8,px:11},{pt:9,px:12},{pt:10,px:13},{pt:10.5,px:14},{pt:11,px:15},{pt:12,px:16},{pt:14,px:18.7},{pt:15,px:20},{pt:16,px:21.3},{pt:18,px:24},{pt:22,px:29.3},{pt:24,px:32},{pt:26,px:34.7},{pt:36,px:48},{pt:42,px:56}],rA=function(a,c){var u=En(a,1)[0],h=a;if(u==='"')return a.substring(1);var d=1;if(u==="-"&&(h=a.substring(1),d=-1),h[0]>="0"&&h[0]<="9")return d*Number(h);var p=En(Da(h),2);return d*c(p[0],p[1])},tf=function(a,c,u){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];if(a[0]==="="){var d=function(p){for(var g=[],A=[],m=[],y=0,b="",I=1,E="",B=0;B<p.length;B+=1){var S=p.charAt(B);if(S!==" "){if(S>="a"&&S<="z")m.push(S.toUpperCase());else if(S>="0"&&S<="9"||S>="A"&&S<="Z"||S===".")m.push(S);else if(S==='"'){for(B+=1;p.charAt(B)!=='"';)m.push(p.charAt(B)),B+=1;A.push('"'.concat(m.join(""))),m=[]}else if(S==="-"&&/[+\-*/,(]/.test(E))m.push(S);else{if(S!=="("&&m.length>0&&A.push(m.join("")),S===")"){var _=g.pop();if(y===2)try{for(var D=En(Da(A.pop()),2),T=D[0],F=D[1],N=En(Da(A.pop()),2),H=N[0],W=N[1],V=0,te=H;te<=T;te+=1)for(var ue=W;ue<=F;ue+=1)A.push(Kt(te,ue)),V+=1;A.push([_,V])}catch{}else if(y===1||y===3)y===3&&A.push(b),A.push([_,I]),I=1;else for(;_!=="("&&(A.push(_),!(g.length<=0));)_=g.pop();y=0}else if(S==="="||S===">"||S==="<"){var fe=p.charAt(B+1);b=S,fe!=="="&&fe!=="-"||(b+=fe,B+=1),y=3}else if(S===":")y=2;else if(S===",")y===3&&A.push(b),y=1,I+=1;else if(S==="("&&m.length>0)g.push(m.join(""));else{if(g.length>0&&(S==="+"||S==="-")){var de=g[g.length-1];if(de!=="("&&A.push(g.pop()),de==="*"||de==="/")for(;g.length>0&&(de=g[g.length-1])!=="(";)A.push(g.pop())}else if(g.length>0){var Ae=g[g.length-1];Ae!=="*"&&Ae!=="/"||A.push(g.pop())}g.push(S)}m=[]}E=S}}for(m.length>0&&A.push(m.join(""));g.length>0;)A.push(g.pop());return A}(a.substring(1));return d.length<=0?a:function(p,g,A,m){for(var y=[],b=0;b<p.length;b+=1){var I=p[b],E=I[0];if(I==="+"){var B=y.pop();y.push(Ri("+",y.pop(),B))}else if(I==="-")if(y.length===1){var S=y.pop();y.push(Ri("*",S,-1))}else{var _=y.pop();y.push(Ri("-",y.pop(),_))}else if(I==="*")y.push(Ri("*",y.pop(),y.pop()));else if(I==="/"){var D=y.pop();y.push(Ri("/",y.pop(),D))}else if(E==="="||E===">"||E==="<"){var T=y.pop();Number.isNaN(T)||(T=Number(T));var F=y.pop();Number.isNaN(F)||(F=Number(F));var N=!1;E==="="?N=F===T:I===">"?N=F>T:I===">="?N=F>=T:I==="<"?N=F<T:I==="<="&&(N=F<=T),y.push(N)}else if(Array.isArray(I)){for(var H=En(I,2),W=H[0],V=H[1],te=[],ue=0;ue<V;ue+=1)te.push(y.pop());y.push(g[W].render(te.reverse()))}else{if(m.includes(I))return 0;(E>="a"&&E<="z"||E>="A"&&E<="Z")&&m.push(I),y.push(rA(I,A)),m.pop()}}return y[0]}(d,c,function(p,g){return tf(u(p,g),c,u,h)},h)}return a};const Og={render:tf};var d2=[{key:"SUM",title:In("formula.sum"),render:function(a){return a.reduce(function(c,u){return Ri("+",c,u)},0)}},{key:"AVERAGE",title:In("formula.average"),render:function(a){return a.reduce(function(c,u){return Number(c)+Number(u)},0)/a.length}},{key:"MAX",title:In("formula.max"),render:function(a){return Math.max.apply(Math,Ni(a.map(function(c){return Number(c)})))}},{key:"MIN",title:In("formula.min"),render:function(a){return Math.min.apply(Math,Ni(a.map(function(c){return Number(c)})))}},{key:"IF",title:In("formula._if"),render:function(a){var c=En(a,3),u=c[0],h=c[1],d=c[2];return u?h:d}},{key:"AND",title:In("formula.and"),render:function(a){return a.every(function(c){return c})}},{key:"OR",title:In("formula.or"),render:function(a){return a.some(function(c){return c})}},{key:"CONCAT",title:In("formula.concat"),render:function(a){return a.join("")}}],au=d2,JC={};d2.forEach(function(a){JC[a.key]=a});var nA=function(a){return a},_0=function(a){if(/^(-?\d*.?\d*)$/.test(a)){var c=wc(Number(a).toFixed(2).toString().split("\\.")),u=c[0],h=c.slice(1);return[u.replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")].concat(Ni(h))}return a},iA=[{key:"normal",title:In("format.normal"),type:"string",render:nA},{key:"text",title:In("format.text"),type:"string",render:nA},{key:"number",title:In("format.number"),type:"number",label:"1,000.12",render:_0},{key:"percent",title:In("format.percent"),type:"number",label:"10.12%",render:function(a){return"".concat(a,"%")}},{key:"rmb",title:In("format.rmb"),type:"number",label:"¥10.00",render:function(a){return"¥".concat(_0(a))}},{key:"usd",title:In("format.usd"),type:"number",label:"$10.00",render:function(a){return"$".concat(_0(a))}},{key:"eur",title:In("format.eur"),type:"number",label:"€10.00",render:function(a){return"€".concat(_0(a))}},{key:"date",title:In("format.date"),type:"date",label:"26/09/2008",render:nA},{key:"time",title:In("format.time"),type:"date",label:"15:59:00",render:nA},{key:"datetime",title:In("format.datetime"),type:"date",label:"26/09/2008 15:59:00",render:nA},{key:"duration",title:In("format.duration"),type:"date",label:"24:01:00",render:nA}],Sv={};iA.forEach(function(a){Sv[a.key]=a});var K3={fillStyle:"#f4f5f8"},Pg={fillStyle:"#fff",lineWidth:Ng,strokeStyle:"#e6e6e6"};function g2(a,c,u){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,d=a.cellRect(c,u),p=d.left,g=d.top,A=d.width,m=d.height;return new eA(p,g+h,A,m,5)}function _v(a,c,u,h){var d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,p=c.sortedRowMap,g=c.rows,A=c.cols;if(!g.isHide(u)&&!A.isHide(h)){var m=u;p.has(u)&&(m=p.get(u));var y=c.getCell(m,h);if(y!==null){var b=!1;"editable"in y&&y.editable===!1&&(b=!0);var I=c.getCellStyleOrDefault(m,h),E=g2(c,u,h,d);E.bgcolor=I.bgcolor,I.border!==void 0&&(E.setBorders(I.border),a.strokeBorders(E)),a.rect(E,function(){var B="";B=c.settings.evalPaused?y.text||"":Og.render(y.text||"",JC,function(_,D){return c.getCellTextOrDefault(D,_)}),I.format&&(B=Sv[I.format].render(B));var S=Object.assign({},I.font);S.size=function(_){for(var D=0;D<js.length;D+=1){var T=js[D];if(T.pt===_)return T.px}return _}(S.size),a.text(B,E,{align:I.align,valign:I.valign,font:S,color:I.color,strike:I.strike,underline:I.underline},I.textwrap),c.validations.getError(u,h)&&a.error(E),b&&a.frozen(E)})}}}function WC(a){var c=this.data,u=this.draw;if(a){var h=c.autoFilter;if(!h.active())return;var d=h.hrange();a.intersects(d)&&d.each(function(p,g){var A=g2(c,p,g);u.dropdown(A)})}}function Dv(a,c,u,h,d){var p=this.draw,g=this.data;p.save(),p.translate(c,u).translate(h,d);var A=g.exceptRowSet,m=g.exceptRowTotalHeight(a.sri,a.eri);p.save(),p.translate(0,-m),a.each(function(b,I){_v(p,g,b,I)},function(b){return function(I){var E=A.has(I);if(E){var B=g.rows.getHeight(I);p.translate(0,-B)}return!E}(b)}),p.restore();var y=new Set;p.save(),p.translate(0,-m),g.eachMergesInView(a,function(b){var I=b.sri,E=b.sci,B=b.eri;if(A.has(I)){if(!y.has(I)){y.add(I);var S=g.rows.sumHeight(I,B+1);p.translate(0,-S)}}else _v(p,g,I,E)}),p.restore(),WC.call(this,a),p.restore()}function qC(a,c,u,h){var d=this.draw;d.save(),d.attr({fillStyle:"rgba(75, 137, 255, 0.08)"}).fillRect(a,c,u,h),d.restore()}function ou(a,c,u,h,d,p){var g=this,A=this.draw,m=this.data,y=c.h,b=c.w,I=p+h,E=d+u;A.save(),A.attr(K3),a!=="all"&&a!=="left"||A.fillRect(0,I,u,y),a!=="all"&&a!=="top"||A.fillRect(E,0,b,h);var B=m.selector.range,S=B.sri,_=B.sci,D=B.eri,T=B.eci;A.attr({textAlign:"center",textBaseline:"middle",font:"500 ".concat(Ti(12),"px Source Sans Pro"),fillStyle:"#585757",lineWidth:Ng(),strokeStyle:"#e6e6e6"}),a!=="all"&&a!=="left"||(m.rowEach(c.sri,c.eri,function(F,N,H){var W=I+N,V=F;A.line([0,W],[u,W]),S<=V&&V<D+1&&qC.call(g,0,W,u,H),A.fillText(V+1,u/2,W+H/2),F>0&&m.rows.isHide(F-1)&&(A.save(),A.attr({strokeStyle:"#c6c6c6"}),A.line([5,W+5],[u-5,W+5]),A.restore())}),A.line([0,y+I],[u,y+I]),A.line([u,I],[u,y+I])),a!=="all"&&a!=="top"||(m.colEach(c.sci,c.eci,function(F,N,H){var W=E+N,V=F;A.line([W,0],[W,h]),_<=V&&V<T+1&&qC.call(g,W,0,H,h),A.fillText(vl(V),W+H/2,h/2),F>0&&m.cols.isHide(F-1)&&(A.save(),A.attr({strokeStyle:"#c6c6c6"}),A.line([W+5,5],[W+5,h-5]),A.restore())}),A.line([b+E,0],[b+E,h]),A.line([0,h],[b+E,h])),A.restore()}function V3(a,c){var u=this.draw;u.save(),u.attr({fillStyle:"#f4f5f8"}).fillRect(0,0,a,c),u.restore()}function Gg(a,c,u,h,d){var p=a.sri,g=a.sci,A=a.eri,m=a.eci,y=a.w,b=a.h,I=this.draw,E=this.data,B=E.settings;I.save(),I.attr(Pg).translate(c+h,u+d),B.showGrid&&(E.rowEach(p,A,function(S,_,D){S!==p&&I.line([0,_],[y,_]),S===A&&I.line([0,_+D],[y,_+D])}),E.colEach(g,m,function(S,_,D){S!==g&&I.line([_,0],[_,b]),S===m&&I.line([_+D,0],[_+D,b])})),I.restore()}function Z3(a,c,u,h){var d=this.draw,p=this.data,g=p.viewWidth()-a,A=p.viewHeight()-c;d.save().translate(a,c).attr({strokeStyle:"rgba(75, 137, 255, .6)"}),d.line([0,h],[g,h]),d.line([u,0],[u,A]),d.restore()}var p2=function(){return xt(function a(c,u){Et(this,a),this.el=c,this.draw=new tA(c,u.viewWidth(),u.viewHeight()),this.data=u},[{key:"resetData",value:function(a){this.data=a,this.render()}},{key:"render",value:function(){var a=this.data,c=a.rows,u=a.cols.indexWidth,h=c.height;this.draw.resize(a.viewWidth(),a.viewHeight()),this.clear();var d=a.viewRange(),p=a.freezeTotalWidth(),g=a.freezeTotalHeight(),A=a.scroll,m=A.x,y=A.y;Gg.call(this,d,u,h,p,g),Dv.call(this,d,u,h,-m,-y),ou.call(this,"all",d,u,h,p,g),V3.call(this,u,h);var b=En(a.freeze,2),I=b[0],E=b[1];if(I>0||E>0){if(I>0){var B=d.clone();B.sri=0,B.eri=I-1,B.h=g,Gg.call(this,B,u,h,p,0),Dv.call(this,B,u,h,-m,0),ou.call(this,"top",B,u,h,p,0)}if(E>0){var S=d.clone();S.sci=0,S.eci=E-1,S.w=p,Gg.call(this,S,u,h,0,g),ou.call(this,"left",S,u,h,0,g),Dv.call(this,S,u,h,0,-y)}var _=a.freezeViewRange();Gg.call(this,_,u,h,0,0),ou.call(this,"all",_,u,h,0,0),Dv.call(this,_,u,h,0,0),Z3.call(this,u,h,p,g)}}},{key:"clear",value:function(){this.draw.clear()}}])}(),D0=[["A3",11.69,16.54],["A4",8.27,11.69],["A5",5.83,8.27],["B4",9.84,13.9],["B5",6.93,9.84]],R0=["landscape","portrait"];function nc(a){return parseInt(96*a,10)}function zC(a){a==="cancel"?this.el.hide():this.toPrint()}function v2(a){var c=this.paper,u=a.target.value,h=D0[u];c.w=nc(h[1]),c.h=nc(h[2]),this.preview()}function X3(a){var c=this.paper,u=a.target.value,h=R0[u];c.orientation=h,this.preview()}var rf=function(){return xt(function a(c){var u,h;Et(this,a),this.paper={w:nc(D0[0][1]),h:nc(D0[0][2]),padding:50,orientation:R0[0],get width(){return this.orientation==="landscape"?this.h:this.w},get height(){return this.orientation==="landscape"?this.w:this.h}},this.data=c,this.el=Vt("div","".concat($r,"-print")).children(Vt("div","".concat($r,"-print-bar")).children(Vt("div","-title").child("Print settings"),Vt("div","-right").children(Vt("div","".concat($r,"-buttons")).children(new ef("cancel").on("click",zC.bind(this,"cancel")),new ef("next","primary").on("click",zC.bind(this,"next"))))),Vt("div","".concat($r,"-print-content")).children(this.contentEl=Vt("div","-content"),Vt("div","-sider").child(Vt("form","").children(Vt("fieldset","").children(Vt("label","").child("".concat(Wi("print.size"))),(u=Vt("select","")).children.apply(u,Ni(D0.map(function(d,p){return Vt("option","").attr("value",p).child("".concat(d[0]," ( ").concat(d[1],"''x").concat(d[2],"'' )"))}))).on("change",v2.bind(this))),Vt("fieldset","").children(Vt("label","").child("".concat(Wi("print.orientation"))),(h=Vt("select","")).children.apply(h,Ni(R0.map(function(d,p){return Vt("option","").attr("value",p).child("".concat(Wi("print.orientations")[p]))}))).on("change",X3.bind(this))))))).hide()},[{key:"resetData",value:function(a){this.data=a}},{key:"preview",value:function(){var a=this,c=this.data,u=this.paper,h=u.width,d=u.height,p=u.padding,g=h-2*p,A=d-2*p,m=c.contentRange(),y=parseInt(m.h/A,10)+1,b=g/m.w,I=p,E=p;b>1&&(I+=(g-m.w)/2);var B=0,S=0;this.contentEl.html(""),this.canvases=[];for(var _={sri:0,sci:0,eri:0,eci:0},D=function(){var F=0,N=0,H=Vt("div","".concat($r,"-canvas-card")),W=Vt("canvas","".concat($r,"-canvas"));a.canvases.push(W.el);var V=new tA(W.el,h,d);for(V.save(),V.translate(I,E),b<1&&V.scale(b,b);B<=m.eri;B+=1){var te=c.rows.getHeight(B);if(!((F+=te)<A)){N=-(F-te);break}for(var ue=0;ue<=m.eci;ue+=1)_v(V,c,B,ue,S),_.eci=ue}_.eri=B,V.restore(),V.save(),V.translate(I,E),b<1&&V.scale(b,b);var fe=S;c.eachMergesInView(_,function(de){var Ae=de.sri,we=de.sci;_v(V,c,Ae,we,fe)}),V.restore(),_.sri=_.eri,_.sci=_.eci,S+=N,a.contentEl.child(Vt("div","".concat($r,"-canvas-card-wraper")).child(H.child(W)))},T=0;T<y;T+=1)D();this.el.show()}},{key:"toPrint",value:function(){this.el.hide();var a=this.paper,c=Vt("iframe","").hide().el;window.document.body.appendChild(c);var u=c.contentWindow,h=u.document,d=document.createElement("style");d.innerHTML=`
  13. @page { size: `.concat(a.width,"px ").concat(a.height,`px; };
  14. canvas {
  15. page-break-before: auto;
  16. page-break-after: always;
  17. image-rendering: pixelated;
  18. };
  19. `),h.head.appendChild(d),this.canvases.forEach(function(p){var g=p.cloneNode(!1);g.getContext("2d").drawImage(p,0,0),h.body.appendChild(g)}),u.print()}}])}(),KC=[{key:"copy",title:In("contextmenu.copy"),label:"Ctrl+C"},{key:"cut",title:In("contextmenu.cut"),label:"Ctrl+X"},{key:"paste",title:In("contextmenu.paste"),label:"Ctrl+V"},{key:"paste-value",title:In("contextmenu.pasteValue"),label:"Ctrl+Shift+V"},{key:"paste-format",title:In("contextmenu.pasteFormat"),label:"Ctrl+Alt+V"},{key:"divider"},{key:"insert-row",title:In("contextmenu.insertRow")},{key:"insert-column",title:In("contextmenu.insertColumn")},{key:"divider"},{key:"delete-row",title:In("contextmenu.deleteRow")},{key:"delete-column",title:In("contextmenu.deleteColumn")},{key:"delete-cell-text",title:In("contextmenu.deleteCellText")},{key:"hide",title:In("contextmenu.hide")},{key:"divider"},{key:"validation",title:In("contextmenu.validation")},{key:"divider"},{key:"cell-printable",title:In("contextmenu.cellprintable")},{key:"cell-non-printable",title:In("contextmenu.cellnonprintable")},{key:"divider"},{key:"cell-editable",title:In("contextmenu.celleditable")},{key:"cell-non-editable",title:In("contextmenu.cellnoneditable")}];function $3(a){var c=this;return a.key==="divider"?Vt("div","".concat($r,"-item divider")):Vt("div","".concat($r,"-item")).on("click",function(){c.itemClick(a.key),c.hide()}).children(a.title(),Vt("div","label").child(a.label||""))}function VC(){var a=this;return KC.map(function(c){return $3.call(a,c)})}var e5=function(){return xt(function a(c){var u,h=arguments.length>1&&arguments[1]!==void 0&&arguments[1];Et(this,a),this.menuItems=VC.call(this),this.el=(u=Vt("div","".concat($r,"-contextmenu"))).children.apply(u,Ni(this.menuItems)).hide(),this.viewFn=c,this.itemClick=function(){},this.isHide=h,this.setMode("range")},[{key:"setMode",value:function(a){var c=this.menuItems[12];a==="row-col"?c.show():c.hide()}},{key:"hide",value:function(){var a=this.el;a.hide(),xa(a)}},{key:"setPosition",value:function(a,c){if(!this.isHide){var u=this.el,h=u.show().offset().width,d=this.viewFn(),p=d.height/2,g=a;d.width-a<=h&&(g-=h),u.css("left","".concat(g,"px")),c>p?u.css("bottom","".concat(d.height-c,"px")).css("max-height","".concat(c,"px")).css("top","auto"):u.css("top","".concat(c,"px")).css("max-height","".concat(d.height-c,"px")).css("bottom","auto"),Ii(u)}}}])}();function aA(){return aA=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(a,c,u){var h=function(p,g){for(;!{}.hasOwnProperty.call(p,g)&&(p=sn(p))!==null;);return p}(a,c);if(h){var d=Object.getOwnPropertyDescriptor(h,c);return d.get?d.get.call(arguments.length<3?a:u):d.value}},aA.apply(null,arguments)}var Lu=function(){return xt(function a(c,u,h){Et(this,a),this.tip="",c&&(this.tip=Wi("toolbar.".concat(c.replace(/-[a-z]/g,function(d){return d[1].toUpperCase()})))),u&&(this.tip+=" (".concat(u,")")),this.tag=c,this.shortcut=u,this.value=h,this.el=this.element(),this.change=function(){}},[{key:"element",value:function(){var a=this,c=this.tip;return Vt("div","".concat($r,"-toolbar-btn")).on("mouseenter",function(u){a.tip&&function(h,d){if(!d.classList.contains("active")){var p=d.getBoundingClientRect(),g=p.left,A=p.top,m=p.width,y=p.height,b=Vt("div","".concat($r,"-tooltip")).html(h).show();document.body.appendChild(b.el);var I=b.box();b.css("left","".concat(g+m/2-I.width/2,"px")).css("top","".concat(A+y+2,"px")),Ne(d,"mouseleave",function(){document.body.contains(b.el)&&document.body.removeChild(b.el)}),Ne(d,"click",function(){document.body.contains(b.el)&&document.body.removeChild(b.el)})}}(a.tip,u.target)}).attr("data-tooltip",c)}},{key:"setState",value:function(){}}])}();function M0(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(M0=function(){return!!a})()}var ml=function(a){function c(){return Et(this,c),u=this,d=arguments,h=sn(h=c),Ki(u,M0()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c,[{key:"dropdown",value:function(){}},{key:"getValue",value:function(u){return u}},{key:"element",value:function(){var u,h,d,p,g,A=this,m=this.tag;return this.dd=this.dropdown(),this.dd.change=function(y){return A.change(m,A.getValue(y))},(u=c,h="element",d=this,p=3,g=aA(sn(1&p?u.prototype:u),h,d),2&p&&typeof g=="function"?function(y){return g.apply(d,y)}:g)([]).child(this.dd)}},{key:"setState",value:function(u){u&&(this.value=u,this.dd.setTitle(u))}}])}(Lu);function ic(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ic=function(){return!!a})()}var Hs=function(a){function c(u,h,d,p){var g,A,m,y,b;Et(this,c),m=this,y=c,b=["div","".concat($r,"-dropdown ").concat(p)],y=sn(y),(A=Ki(m,ic()?Reflect.construct(y,b||[],sn(m).constructor):y.apply(m,b))).title=u,A.change=function(){},A.headerClick=function(){},typeof u=="string"?A.title=Vt("div","".concat($r,"-dropdown-title")).child(u):d&&A.title.addClass("arrow-left"),A.contentEl=Vt("div","".concat($r,"-dropdown-content")).css("width",h).hide();for(var I=arguments.length,E=new Array(I>4?I-4:0),B=4;B<I;B++)E[B-4]=arguments[B];return(g=A).setContentChildren.apply(g,E),A.headerEl=Vt("div","".concat($r,"-dropdown-header")),A.headerEl.on("click",function(){A.contentEl.css("display")!=="block"?A.show():A.hide()}).children(A.title,d?Vt("div","".concat($r,"-icon arrow-right")).child(Vt("div","".concat($r,"-icon-img arrow-down"))):""),A.children(A.headerEl,A.contentEl),A}return nr(c,a),xt(c,[{key:"setContentChildren",value:function(){var u;this.contentEl.html(""),arguments.length>0&&(u=this.contentEl).children.apply(u,arguments)}},{key:"setTitle",value:function(u){this.title.html(u),this.hide()}},{key:"show",value:function(){var u=this;this.contentEl.show(),this.parent().active(),Ii(this.parent(),function(){u.hide()})}},{key:"hide",value:function(){this.parent().active(!1),this.contentEl.hide(),xa(this.parent())}}])}(It);function nf(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(nf=function(){return!!a})()}var Rv=function(a){function c(u,h){var d;Et(this,c);var p,g,A,m=new Tu("align-".concat(h)),y=u.map(function(b){return(I="align-".concat(b),Vt("div","".concat($r,"-item")).child(new Tu(I))).on("click",function(){d.setTitle(b),d.change(b)});var I});return p=this,g=c,A=[m,"auto",!0,"bottom-left"].concat(Ni(y)),g=sn(g),d=Ki(p,nf()?Reflect.construct(g,A||[],sn(p).constructor):g.apply(p,A))}return nr(c,a),xt(c,[{key:"setTitle",value:function(u){this.title.setName("align-".concat(u)),this.hide()}}])}(Hs);function yd(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(yd=function(){return!!a})()}var t5=function(a){function c(u){return Et(this,c),h=this,p=["align","",u],d=sn(d=c),Ki(h,yd()?Reflect.construct(d,p||[],sn(h).constructor):d.apply(h,p));var h,d,p}return nr(c,a),xt(c,[{key:"dropdown",value:function(){var u=this.value;return new Rv(["left","center","right"],u)}}])}(ml);function ci(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ci=function(){return!!a})()}var Mv=function(a){function c(u){return Et(this,c),h=this,p=["valign","",u],d=sn(d=c),Ki(h,ci()?Reflect.construct(d,p||[],sn(h).constructor):d.apply(h,p));var h,d,p}return nr(c,a),xt(c,[{key:"dropdown",value:function(){var u=this.value;return new Rv(["top","middle","bottom"],u)}}])}(ml);function F0(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(F0=function(){return!!a})()}var ac=function(a){function c(){return Et(this,c),u=this,d=arguments,h=sn(h=c),Ki(u,F0()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c,[{key:"element",value:function(){var u,h,d,p,g,A=this,m=this.tag;return(u=c,h="element",d=this,p=3,g=aA(sn(1&p?u.prototype:u),h,d),2&p&&typeof g=="function"?function(y){return g.apply(d,y)}:g)([]).child(new Tu(m)).on("click",function(){return A.click()})}},{key:"click",value:function(){this.change(this.tag,this.toggle())}},{key:"setState",value:function(u){this.el.active(u)}},{key:"toggle",value:function(){return this.el.toggle()}},{key:"active",value:function(){return this.el.hasClass("active")}}])}(Lu);function oA(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(oA=function(){return!!a})()}var Bh=function(a){function c(){return Et(this,c),u=this,d=["autofilter"],h=sn(h=c),Ki(u,oA()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c,[{key:"setState",value:function(){}}])}(ac);function sA(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(sA=function(){return!!a})()}var T0=function(a){function c(){return Et(this,c),u=this,d=["font-bold","Ctrl+B"],h=sn(h=c),Ki(u,sA()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c)}(ac);function Ug(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ug=function(){return!!a})()}var gi=function(a){function c(){return Et(this,c),u=this,d=["font-italic","Ctrl+I"],h=sn(h=c),Ki(u,Ug()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c)}(ac);function y2(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(y2=function(){return!!a})()}var r5=function(a){function c(){return Et(this,c),u=this,d=["strike","Ctrl+U"],h=sn(h=c),Ki(u,y2()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c)}(ac);function ZC(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ZC=function(){return!!a})()}var n5=function(a){function c(){return Et(this,c),u=this,d=["underline","Ctrl+U"],h=sn(h=c),Ki(u,ZC()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c)}(ac),L0=["#ffffff","#000100","#e7e5e6","#445569","#5b9cd6","#ed7d31","#a5a5a5","#ffc001","#4371c6","#71ae47"],i5=[["#f2f2f2","#7f7f7f","#d0cecf","#d5dce4","#deeaf6","#fce5d5","#ededed","#fff2cd","#d9e2f3","#e3efd9"],["#d8d8d8","#595959","#afabac","#adb8ca","#bdd7ee","#f7ccac","#dbdbdb","#ffe59a","#b3c6e7","#c5e0b3"],["#bfbfbf","#3f3f3f","#756f6f","#8596b0","#9cc2e6","#f4b184","#c9c9c9","#fed964","#8eaada","#a7d08c"],["#a5a5a5","#262626","#3a3839","#333f4f","#2e75b5","#c45a10","#7b7b7b","#bf8e01","#2f5596","#538136"],["#7f7f7f","#0c0c0c","#171516","#222a35","#1f4e7a","#843c0a","#525252","#7e6000","#203864","#365624"]],m2=["#c00000","#fe0000","#fdc101","#ffff01","#93d051","#00b04e","#01b0f1","#0170c1","#012060","#7030a0"];function Fv(a){var c=this;return Vt("td","").child(Vt("div","".concat($r,"-color-palette-cell")).on("click.stop",function(){return c.change(a)}).css("background-color",a))}var a5=xt(function a(){var c,u,h,d=this;Et(this,a),this.el=Vt("div","".concat($r,"-color-palette")),this.change=function(){};var p=Vt("table","").children((c=Vt("tbody","")).children.apply(c,[(u=Vt("tr","".concat($r,"-theme-color-placeholders"))).children.apply(u,Ni(L0.map(function(g){return Fv.call(d,g)})))].concat(Ni(i5.map(function(g){var A;return(A=Vt("tr","".concat($r,"-theme-colors"))).children.apply(A,Ni(g.map(function(m){return Fv.call(d,m)})))})),[(h=Vt("tr","".concat($r,"-standard-colors"))).children.apply(h,Ni(m2.map(function(g){return Fv.call(d,g)})))])));this.el.child(p)});function I2(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(I2=function(){return!!a})()}var Tv=function(a){function c(u,h){var d;Et(this,c);var p,g,A,m=new Tu(u).css("height","16px").css("border-bottom","3px solid ".concat(h)),y=new a5;return y.change=function(b){d.setTitle(b),d.change(b)},p=this,g=c,A=[m,"auto",!1,"bottom-left",y.el],g=sn(g),d=Ki(p,I2()?Reflect.construct(g,A||[],sn(p).constructor):g.apply(p,A))}return nr(c,a),xt(c,[{key:"setTitle",value:function(u){this.title.css("border-color",u),this.hide()}}])}(Hs);function b2(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(b2=function(){return!!a})()}var N0=[["thin",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" style="user-select: none;"></line></svg>'],["medium",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="2" style="user-select: none;"><line x1="0" y1="1.0" x2="50" y2="1.0" stroke-width="2" stroke="black" style="user-select: none;"></line></svg>'],["thick",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="3" style="user-select: none;"><line x1="0" y1="1.5" x2="50" y2="1.5" stroke-width="3" stroke="black" style="user-select: none;"></line></svg>'],["dashed",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" stroke-dasharray="2" style="user-select: none;"></line></svg>'],["dotted",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" stroke-dasharray="1" style="user-select: none;"></line></svg>']],jg=function(a){function c(u){var h;Et(this,c);var d,p,g,A=new Tu("line-type"),m=0,y=N0.map(function(b,I){return Vt("div","".concat($r,"-item state ").concat(u===b[0]?"checked":"")).on("click",function(){y[m].toggle("checked"),y[I].toggle("checked"),m=I,h.hide(),h.change(b)}).child(Vt("div","".concat($r,"-line-type")).html(b[1]))});return d=this,p=c,g=[A,"auto",!1,"bottom-left"].concat(Ni(y)),p=sn(p),h=Ki(d,b2()?Reflect.construct(p,g||[],sn(d).constructor):p.apply(d,g))}return nr(c,a),xt(c)}(Hs);function O0(){var a;return Vt("table","").child((a=Vt("tbody","")).children.apply(a,arguments))}function XC(a){var c=this;return Vt("td","").child(Vt("div","".concat($r,"-border-palette-cell")).child(new Tu("border-".concat(a))).on("click",function(){c.mode=a;var u=c.mode,h=c.style,d=c.color;c.change({mode:u,style:h,color:d})}))}var $C=xt(function a(){var c,u,h=this;Et(this,a),this.color="#000",this.style="thin",this.mode="all",this.change=function(){},this.ddColor=new Tv("line-color",this.color),this.ddColor.change=function(p){h.color=p},this.ddType=new jg(this.style),this.ddType.change=function(p){var g=En(p,1)[0];h.style=g},this.el=Vt("div","".concat($r,"-border-palette"));var d=O0(Vt("tr","").children(Vt("td","".concat($r,"-border-palette-left")).child(O0((c=Vt("tr","")).children.apply(c,Ni(["all","inside","horizontal","vertical","outside"].map(function(p){return XC.call(h,p)}))),(u=Vt("tr","")).children.apply(u,Ni(["left","top","right","bottom","none"].map(function(p){return XC.call(h,p)}))))),Vt("td","".concat($r,"-border-palette-right")).children(Vt("div","".concat($r,"-toolbar-btn")).child(this.ddColor.el),Vt("div","".concat($r,"-toolbar-btn")).child(this.ddType.el))));this.el.child(d)});function Lv(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Lv=function(){return!!a})()}var C2=function(a){function c(){var u;Et(this,c);var h,d,p,g=new Tu("border-all"),A=new $C;return A.change=function(m){u.change(m),u.hide()},h=this,d=c,p=[g,"auto",!1,"bottom-left",A.el],d=sn(d),u=Ki(h,Lv()?Reflect.construct(d,p||[],sn(h).constructor):d.apply(h,p))}return nr(c,a),xt(c)}(Hs);function ew(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ew=function(){return!!a})()}var Nv=function(a){function c(){return Et(this,c),u=this,d=["border"],h=sn(h=c),Ki(u,ew()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c,[{key:"dropdown",value:function(){return new C2}}])}(ml);function zl(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(zl=function(){return!!a})()}var md=function(a){function c(){return Et(this,c),u=this,d=arguments,h=sn(h=c),Ki(u,zl()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c,[{key:"element",value:function(){var u,h,d,p,g,A=this;return(u=c,h="element",d=this,p=3,g=aA(sn(1&p?u.prototype:u),h,d),2&p&&typeof g=="function"?function(m){return g.apply(d,m)}:g)([]).child(new Tu(this.tag)).on("click",function(){return A.change(A.tag)})}},{key:"setState",value:function(u){this.el.disabled(u)}}])}(Lu);function Hg(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Hg=function(){return!!a})()}var tw=function(a){function c(){return Et(this,c),u=this,d=["clearformat"],h=sn(h=c),Ki(u,Hg()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c)}(md);function Ov(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ov=function(){return!!a})()}var rw=function(a){function c(){return Et(this,c),u=this,d=["paintformat"],h=sn(h=c),Ki(u,Ov()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c,[{key:"setState",value:function(){}}])}(ac);function Id(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Id=function(){return!!a})()}var Yg=function(a){function c(u){return Et(this,c),h=this,p=["color",void 0,u],d=sn(d=c),Ki(h,Id()?Reflect.construct(d,p||[],sn(h).constructor):d.apply(h,p));var h,d,p}return nr(c,a),xt(c,[{key:"dropdown",value:function(){var u=this.tag,h=this.value;return new Tv(u,h)}}])}(ml);function Jg(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Jg=function(){return!!a})()}var P0=function(a){function c(u){return Et(this,c),h=this,p=["bgcolor",void 0,u],d=sn(d=c),Ki(h,Jg()?Reflect.construct(d,p||[],sn(h).constructor):d.apply(h,p));var h,d,p}return nr(c,a),xt(c,[{key:"dropdown",value:function(){var u=this.tag,h=this.value;return new Tv(u,h)}}])}(ml);function af(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(af=function(){return!!a})()}var nw=function(a){function c(){var u;Et(this,c);var h,d,p,g=js.map(function(A){return Vt("div","".concat($r,"-item")).on("click",function(){u.setTitle("".concat(A.pt)),u.change(A)}).child("".concat(A.pt))});return h=this,d=c,p=["10","60px",!0,"bottom-left"].concat(Ni(g)),d=sn(d),u=Ki(h,af()?Reflect.construct(d,p||[],sn(h).constructor):d.apply(h,p))}return nr(c,a),xt(c)}(Hs);function Pv(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Pv=function(){return!!a})()}var w2=function(a){function c(){return Et(this,c),u=this,d=["font-size"],h=sn(h=c),Ki(u,Pv()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c,[{key:"getValue",value:function(u){return u.pt}},{key:"dropdown",value:function(){return new nw}}])}(ml);function G0(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(G0=function(){return!!a})()}var Kl=function(a){function c(){var u;Et(this,c);var h,d,p,g=S0.map(function(A){return Vt("div","".concat($r,"-item")).on("click",function(){u.setTitle(A.title),u.change(A)}).child(A.title)});return h=this,d=c,p=[S0[0].title,"160px",!0,"bottom-left"].concat(Ni(g)),d=sn(d),u=Ki(h,G0()?Reflect.construct(d,p||[],sn(h).constructor):d.apply(h,p))}return nr(c,a),xt(c)}(Hs);function Yc(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Yc=function(){return!!a})()}var Wg=function(a){function c(){return Et(this,c),u=this,d=["font-name"],h=sn(h=c),Ki(u,Yc()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c,[{key:"getValue",value:function(u){return u.key}},{key:"dropdown",value:function(){return new Kl}}])}(ml);function of(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(of=function(){return!!a})()}var iw=function(a){function c(){var u;Et(this,c);var h,d,p,g=iA.slice(0);return g.splice(2,0,{key:"divider"}),g.splice(8,0,{key:"divider"}),g=g.map(function(A){var m=Vt("div","".concat($r,"-item"));return A.key==="divider"?m.addClass("divider"):(m.child(A.title()).on("click",function(){u.setTitle(A.title()),u.change(A)}),A.label&&m.child(Vt("div","label").html(A.label))),m}),h=this,d=c,p=["Normal","220px",!0,"bottom-left"].concat(Ni(g)),d=sn(d),u=Ki(h,of()?Reflect.construct(d,p||[],sn(h).constructor):d.apply(h,p))}return nr(c,a),xt(c,[{key:"setTitle",value:function(u){for(var h=0;h<iA.length;h+=1)iA[h].key===u&&this.title.html(iA[h].title());this.hide()}}])}(Hs);function ks(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ks=function(){return!!a})()}var E2=function(a){function c(){return Et(this,c),u=this,d=["format"],h=sn(h=c),Ki(u,ks()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c,[{key:"getValue",value:function(u){return u.key}},{key:"dropdown",value:function(){return new iw}}])}(ml);function U0(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U0=function(){return!!a})()}var aw=function(a){function c(){var u;Et(this,c);var h,d,p,g=d2.map(function(A){return Vt("div","".concat($r,"-item")).on("click",function(){u.hide(),u.change(A)}).child(A.key)});return h=this,d=c,p=[new Tu("formula"),"180px",!0,"bottom-left"].concat(Ni(g)),d=sn(d),u=Ki(h,U0()?Reflect.construct(d,p||[],sn(h).constructor):d.apply(h,p))}return nr(c,a),xt(c)}(Hs);function sf(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(sf=function(){return!!a})()}var qg=function(a){function c(){return Et(this,c),u=this,d=["formula"],h=sn(h=c),Ki(u,sf()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c,[{key:"getValue",value:function(u){return u.key}},{key:"dropdown",value:function(){return new aw}}])}(ml);function ow(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ow=function(){return!!a})()}var su=function(a){function c(){return Et(this,c),u=this,d=["freeze"],h=sn(h=c),Ki(u,ow()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c)}(ac);function Gv(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Gv=function(){return!!a})()}var uf=function(a){function c(){return Et(this,c),u=this,d=["merge"],h=sn(h=c),Ki(u,Gv()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c,[{key:"setState",value:function(u,h){this.el.active(u).disabled(h)}}])}(ac);function B2(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(B2=function(){return!!a})()}var j0=function(a){function c(){return Et(this,c),u=this,d=["redo","Ctrl+Y"],h=sn(h=c),Ki(u,B2()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c)}(md);function k2(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(k2=function(){return!!a})()}var o5=function(a){function c(){return Et(this,c),u=this,d=["undo","Ctrl+Z"],h=sn(h=c),Ki(u,k2()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c)}(md);function sw(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(sw=function(){return!!a})()}var Uv=function(a){function c(){return Et(this,c),u=this,d=["print","Ctrl+P"],h=sn(h=c),Ki(u,sw()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c)}(md);function uw(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(uw=function(){return!!a})()}var Q2=function(a){function c(){return Et(this,c),u=this,d=["textwrap"],h=sn(h=c),Ki(u,uw()?Reflect.construct(h,d||[],sn(u).constructor):h.apply(u,d));var u,h,d}return nr(c,a),xt(c)}(ac);function cw(a,c,u){return c=sn(c),Ki(a,zg()?Reflect.construct(c,u||[],sn(a).constructor):c.apply(a,u))}function zg(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(zg=function(){return!!a})()}var lw=function(a){function c(){var u;Et(this,c);var h=new Tu("ellipsis"),d=Vt("div","".concat($r,"-toolbar-more"));return(u=cw(this,c,[h,"auto",!1,"bottom-right",d])).moreBtns=d,u.contentEl.css("max-width","420px"),u}return nr(c,a),xt(c)}(Hs),Jc=function(a){function c(){var u;return Et(this,c),(u=cw(this,c,["more"])).el.hide(),u}return nr(c,a),xt(c,[{key:"dropdown",value:function(){return new lw}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide()}}])}(ml);function uA(){return Vt("div","".concat($r,"-toolbar-divider"))}function Nu(){var a=this;this.btns2=[],this.items.forEach(function(c){if(Array.isArray(c))c.forEach(function(g){var A=g.el,m=A.box(),y=A.computedStyle(),b=y.marginLeft,I=y.marginRight;a.btns2.push([A,m.width+parseInt(b,10)+parseInt(I,10)])});else{var u=c.box(),h=c.computedStyle(),d=h.marginLeft,p=h.marginRight;a.btns2.push([c,u.width+parseInt(d,10)+parseInt(p,10)])}})}function bd(){var a,c,u=this.el,h=this.btns,d=this.moreEl,p=this.btns2,g=d.dd,A=g.moreBtns,m=g.contentEl;u.css("width","".concat(this.widthFn(),"px"));var y=u.box(),b=160,I=12,E=[],B=[];p.forEach(function(S,_){var D=En(S,2),T=D[0],F=D[1];b+=F,_===p.length-1||b<y.width?E.push(T):(I+=F,B.push(T))}),(a=h.html("")).children.apply(a,E),(c=A.html("")).children.apply(c,B),m.css("width","".concat(I,"px")),B.length>0?d.show():d.hide()}function cA(a){var c=this,u=new Lu;u.el.on("click",function(){a.onClick&&a.onClick(c.data.getData(),c.data)}),u.tip=a.tip||"";var h=a.el;if(a.icon&&(h=Vt("img").attr("src",a.icon)),h){var d=Vt("div","".concat($r,"-icon"));d.child(h),u.el.child(d)}return u}var x2=function(){return xt(function a(c,u){var h=this,d=arguments.length>2&&arguments[2]!==void 0&&arguments[2];Et(this,a),this.data=c,this.change=function(){},this.widthFn=u,this.isHide=d;var p=c.defaultStyle();this.items=[[this.undoEl=new o5,this.redoEl=new j0,new Uv,this.paintformatEl=new rw,this.clearformatEl=new tw],uA(),[this.formatEl=new E2],uA(),[this.fontEl=new Wg,this.fontSizeEl=new w2],uA(),[this.boldEl=new T0,this.italicEl=new gi,this.underlineEl=new n5,this.strikeEl=new r5,this.textColorEl=new Yg(p.color)],uA(),[this.fillColorEl=new P0(p.bgcolor),this.borderEl=new Nv,this.mergeEl=new uf],uA(),[this.alignEl=new t5(p.align),this.valignEl=new Mv(p.valign),this.textwrapEl=new Q2],uA(),[this.freezeEl=new su,this.autofilterEl=new Bh,this.formulaEl=new qg]];var g=c.settings.extendToolbar,A=g===void 0?{}:g;if(A.left&&A.left.length>0){this.items.unshift(uA());var m=A.left.map(cA.bind(this));this.items.unshift(m)}if(A.right&&A.right.length>0){this.items.push(uA());var y=A.right.map(cA.bind(this));this.items.push(y)}this.items.push([this.moreEl=new Jc]),this.el=Vt("div","".concat($r,"-toolbar")),this.btns=Vt("div","".concat($r,"-toolbar-btns")),this.items.forEach(function(b){Array.isArray(b)?b.forEach(function(I){h.btns.child(I.el),I.change=function(){h.change.apply(h,arguments)}}):h.btns.child(b.el)}),this.el.child(this.btns),d?this.el.hide():(this.reset(),setTimeout(function(){Nu.call(h),bd.call(h)},0),Ne(window,"resize",function(){bd.call(h)}))},[{key:"paintformatActive",value:function(){return this.paintformatEl.active()}},{key:"paintformatToggle",value:function(){this.paintformatEl.toggle()}},{key:"trigger",value:function(a){this["".concat(a,"El")].click()}},{key:"resetData",value:function(a){this.data=a,this.reset()}},{key:"reset",value:function(){if(!this.isHide){var a=this.data,c=a.getSelectedCellStyle();this.undoEl.setState(!a.canUndo()),this.redoEl.setState(!a.canRedo()),this.mergeEl.setState(a.canUnmerge(),!a.selector.multiple()),this.autofilterEl.setState(!a.canAutofilter());var u=c.font,h=c.format;this.formatEl.setState(h),this.fontEl.setState(u.name),this.fontSizeEl.setState(u.size),this.boldEl.setState(u.bold),this.italicEl.setState(u.italic),this.underlineEl.setState(c.underline),this.strikeEl.setState(c.strike),this.textColorEl.setState(c.color),this.fillColorEl.setState(c.bgcolor),this.alignEl.setState(c.align),this.valignEl.setState(c.valign),this.textwrapEl.setState(c.textwrap),this.freezeEl.setState(a.freezeIsActive())}}}])}(),kh=function(){return xt(function a(c,u){var h,d=this,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"600px";Et(this,a),this.title=c,this.el=Vt("div","".concat($r,"-modal")).css("width",p).children(Vt("div","".concat($r,"-modal-header")).children(new Tu("close").on("click.stop",function(){return d.hide()}),this.title),(h=Vt("div","".concat($r,"-modal-content"))).children.apply(h,Ni(u))).hide()},[{key:"show",value:function(){var a=this;this.dimmer=Vt("div","".concat($r,"-dimmer active")),document.body.appendChild(this.dimmer.el);var c=this.el.show().box(),u=c.width,h=c.height,d=document.documentElement,p=d.clientHeight,g=d.clientWidth;this.el.offset({left:(g-u)/2,top:(p-h)/3}),window.xkeydownEsc=function(A){A.keyCode===27&&a.hide()},Ne(window,"keydown",window.xkeydownEsc)}},{key:"hide",value:function(){this.el.hide(),document.body.removeChild(this.dimmer.el),pr(window,"keydown",window.xkeydownEsc),delete window.xkeydownEsc}}])}(),Cu=function(){return xt(function a(c,u){var h=this;Et(this,a),this.vchange=function(){},this.el=Vt("div","".concat($r,"-form-input")),this.input=Vt("input","").css("width",c).on("input",function(d){return h.vchange(d)}).attr("placeholder",u),this.el.child(this.input)},[{key:"focus",value:function(){var a=this;setTimeout(function(){a.input.el.focus()},10)}},{key:"hint",value:function(a){this.input.attr("placeholder",a)}},{key:"val",value:function(a){return this.input.val(a)}}])}(),H0=function(){return xt(function a(c,u,h){var d=this,p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(A){return A},g=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){};Et(this,a),this.key=c,this.getTitle=p,this.vchange=function(){},this.el=Vt("div","".concat($r,"-form-select")),this.suggest=new l2(u.map(function(A){return{key:A,title:d.getTitle(A)}}),function(A){d.itemClick(A.key),g(A.key),d.vchange(A.key)},h,this.el),this.el.children(this.itemEl=Vt("div","input-text").html(this.getTitle(c)),this.suggest.el).on("click",function(){return d.show()})},[{key:"show",value:function(){this.suggest.search("")}},{key:"itemClick",value:function(a){this.key=a,this.itemEl.html(this.getTitle(a))}},{key:"val",value:function(a){return a!==void 0?(this.key=a,this.itemEl.html(this.getTitle(a)),this):this.key}}])}(),hw={number:/(^\d+$)|(^\d+(\.\d{0,4})?$)/,date:/^\d{4}-\d{1,2}-\d{1,2}$/},Wc=function(){return xt(function a(c,u,h,d){var p=this;Et(this,a),this.label="",this.rule=u,h&&(this.label=Vt("label","label").css("width","".concat(d,"px")).html(h)),this.tip=Vt("div","tip").child("tip").hide(),this.input=c,this.input.vchange=function(){return p.validate()},this.el=Vt("div","".concat($r,"-form-field")).children(this.label,c.el,this.tip)},[{key:"isShow",value:function(){return this.el.css("display")!=="none"}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){return this.el.hide(),this}},{key:"val",value:function(a){return this.input.val(a)}},{key:"hint",value:function(a){this.input.hint(a)}},{key:"validate",value:function(){var a=this.input,c=this.rule,u=this.tip,h=this.el,d=a.val();return c.required&&/^\s*$/.test(d)?(u.html(Wi("validation.required")),h.addClass("error"),!1):(c.type||c.pattern)&&!(c.pattern||hw[c.type]).test(d)?(u.html(Wi("validation.notMatch")),h.addClass("error"),!1):(h.removeClass("error"),!0)}}])}();function Cd(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Cd=function(){return!!a})()}var qc=function(a){function c(){var u;Et(this,c);var h,d,p,g=new Wc(new H0("cell",["cell"],"100%",function(S){return Wi("dataValidation.modeType.".concat(S))}),{required:!0},"".concat(Wi("dataValidation.range"),":"),100),A=new Wc(new Cu("120px","E3 or E3:F12"),{required:!0,pattern:/^([A-Z]{1,2}[1-9]\d*)(:[A-Z]{1,2}[1-9]\d*)?$/}),m=new Wc(new H0("list",["list","number","date","phone","email"],"100%",function(S){return Wi("dataValidation.type.".concat(S))},function(S){return u.criteriaSelected(S)}),{required:!0},"".concat(Wi("dataValidation.criteria"),":"),100),y=new Wc(new H0("be",["be","nbe","eq","neq","lt","lte","gt","gte"],"160px",function(S){return Wi("dataValidation.operator.".concat(S))},function(S){return u.criteriaOperatorSelected(S)}),{required:!0}).hide(),b=new Wc(new Cu("70px","10"),{required:!0}).hide(),I=new Wc(new Cu("70px","100"),{required:!0,type:"number"}).hide(),E=new Wc(new Cu("120px","a,b,c"),{required:!0}),B=new Wc(new Cu("70px","10"),{required:!0,type:"number"}).hide();return h=this,d=c,p=[Wi("contextmenu.validation"),[Vt("div","".concat($r,"-form-fields")).children(g.el,A.el),Vt("div","".concat($r,"-form-fields")).children(m.el,y.el,b.el,I.el,B.el,E.el),Vt("div","".concat($r,"-buttons")).children(new ef("cancel").on("click",function(){return u.btnClick("cancel")}),new ef("remove").on("click",function(){return u.btnClick("remove")}),new ef("save","primary").on("click",function(){return u.btnClick("save")}))]],d=sn(d),(u=Ki(h,Cd()?Reflect.construct(d,p||[],sn(h).constructor):d.apply(h,p))).mf=g,u.rf=A,u.cf=m,u.of=y,u.minvf=b,u.maxvf=I,u.vf=B,u.svf=E,u.change=function(){},u}return nr(c,a),xt(c,[{key:"showVf",value:function(u){var h=u==="date"?"2018-11-12":"10",d=this.vf;d.input.hint(h),d.show()}},{key:"criteriaSelected",value:function(u){var h=this.of,d=this.minvf,p=this.maxvf,g=this.vf,A=this.svf;u==="date"||u==="number"?(h.show(),d.rule.type=u,p.rule.type=u,u==="date"?(d.hint("2018-11-12"),p.hint("2019-11-12")):(d.hint("10"),p.hint("100")),d.show(),p.show(),g.hide(),A.hide()):(u==="list"?A.show():A.hide(),g.hide(),h.hide(),d.hide(),p.hide())}},{key:"criteriaOperatorSelected",value:function(u){if(u){var h=this.minvf,d=this.maxvf,p=this.vf;if(u==="be"||u==="nbe")h.show(),d.show(),p.hide();else{var g=this.cf.val();p.rule.type=g,g==="date"?p.hint("2018-11-12"):p.hint("10"),p.show(),h.hide(),d.hide()}}}},{key:"btnClick",value:function(u){if(u==="cancel")this.hide();else if(u==="remove")this.change("remove"),this.hide();else if(u==="save"){for(var h=["mf","rf","cf","of","svf","vf","minvf","maxvf"],d=0;d<h.length;d+=1){var p=this[h[d]];if(p.isShow()&&!p.validate())return}var g=this.mf.val(),A=this.rf.val(),m=this.cf.val(),y=this.of.val(),b=this.svf.val();m!=="number"&&m!=="date"||(b=y==="be"||y==="nbe"?[this.minvf.val(),this.maxvf.val()]:this.vf.val()),this.change("save",g,A,{type:m,operator:y,required:!1,value:b}),this.hide()}}},{key:"setValue",value:function(u){if(u){var h=this.mf,d=this.rf,p=this.cf,g=this.of,A=this.svf,m=this.vf,y=this.minvf,b=this.maxvf,I=u.mode,E=u.ref,B=u.validator||{type:"list"},S=B.type,_=B.operator,D=B.value;h.val(I||"cell"),d.val(E),p.val(S),g.val(_),Array.isArray(D)?(y.val(D[0]),b.val(D[1])):(A.val(D||""),m.val(D||"")),this.criteriaSelected(S),this.criteriaOperatorSelected(_)}this.show()}}])}(kh);function Kg(a){return Vt("div","".concat($r,"-item ").concat(a))}function fw(a){var c=this;return Kg("state").child(Wi("sort.".concat(a))).on("click.stop",function(){return c.itemClick(a)})}function S2(a){var c=this,u=this.filterbEl,h=this.filterValues;u.html(""),Object.keys(a).forEach(function(d,p){var g=a[d],A=h.includes(d)?"checked":"";u.child(Vt("div","".concat($r,"-item state ").concat(A)).on("click.stop",function(){return c.filterClick(p,d)}).children(d===""?Wi("filter.empty"):d,Vt("div","label").html("(".concat(g,")"))))})}function jv(){var a=this.filterhEl,c=this.filterValues,u=this.values;a.html("".concat(c.length," / ").concat(u.length)),a.checked(c.length===u.length)}var s5=function(){return xt(function a(){var c=this;Et(this,a),this.filterbEl=Vt("div","".concat($r,"-body")),this.filterhEl=Vt("div","".concat($r,"-header state")).on("click.stop",function(){return c.filterClick(0,"all")}),this.el=Vt("div","".concat($r,"-sort-filter")).children(this.sortAscEl=fw.call(this,"asc"),this.sortDescEl=fw.call(this,"desc"),Kg("divider"),Vt("div","".concat($r,"-filter")).children(this.filterhEl,this.filterbEl),Vt("div","".concat($r,"-buttons")).children(new ef("cancel").on("click",function(){return c.btnClick("cancel")}),new ef("ok","primary").on("click",function(){return c.btnClick("ok")}))).hide(),this.ci=null,this.sortDesc=null,this.values=null,this.filterValues=[]},[{key:"btnClick",value:function(a){if(a==="ok"){var c=this.ci,u=this.sort,h=this.filterValues;this.ok&&this.ok(c,u,"in",h)}this.hide()}},{key:"itemClick",value:function(a){this.sort=a;var c=this.sortAscEl,u=this.sortDescEl;c.checked(a==="asc"),u.checked(a==="desc")}},{key:"filterClick",value:function(a,c){var u=this.filterbEl,h=this.filterValues,d=this.values,p=u.children();c==="all"?p.length===h.length?(this.filterValues=[],p.forEach(function(g){return Vt(g).checked(!1)})):(this.filterValues=Array.from(d),p.forEach(function(g){return Vt(g).checked(!0)})):Vt(p[a]).toggle("checked")?h.push(c):h.splice(h.findIndex(function(g){return g===c}),1),jv.call(this)}},{key:"set",value:function(a,c,u,h){this.ci=a;var d=this.sortAscEl,p=this.sortDescEl;h!==null?(this.sort=h.order,d.checked(h.asc()),p.checked(h.desc())):(this.sortDesc=null,d.checked(!1),p.checked(!1)),this.values=Object.keys(c),this.filterValues=u?Array.from(u.value):Object.keys(c),S2.call(this,c,u),jv.call(this)}},{key:"setOffset",value:function(a){var c=this;this.el.offset(a).show();var u=1;Ii(this.el,function(){u<=0&&c.hide(),u-=1})}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide(),xa(this.el)}}])}();function Vg(a,c){var u=Vt("div","".concat($r,"-toast")),h=Vt("div","".concat($r,"-dimmer active"));u.children(Vt("div","".concat($r,"-toast-header")).children(new Tu("close").on("click.stop",function(){return document.body.removeChild(u.el),void document.body.removeChild(h.el)}),a),Vt("div","".concat($r,"-toast-content")).html(c)),document.body.appendChild(u.el),document.body.appendChild(h.el);var d=u.box(),p=d.width,g=d.height,A=document.documentElement,m=A.clientHeight,y=A.clientWidth;u.offset({left:(y-p)/2,top:(m-g)/3})}function Zg(a,c){var u,h=this;return function(){for(var d=h,p=arguments.length,g=new Array(p),A=0;A<p;A++)g[A]=arguments[A];var m=g;u||(u=setTimeout(function(){u=null,a.apply(d,m)},c))}}function cf(){var a=this.data,c=this.verticalScrollbar,u=this.horizontalScrollbar,h=a.getSelectedRect(),d=h.l,p=h.t,g=h.left,A=h.top,m=h.width,y=h.height,b=this.getTableOffset();if(Math.abs(g)+m>b.width)u.move({left:d+m-b.width});else{var I=a.freezeTotalWidth();g<I&&u.move({left:d-1-I})}if(Math.abs(A)+y>b.height)c.move({top:p+y-b.height-1});else{var E=a.freezeTotalHeight();A<E&&c.move({top:p-1-E})}}function lf(a,c,u){var h=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],d=arguments.length>4&&arguments[4]!==void 0&&arguments[4];if(c!==-1||u!==-1){this.table;var p=this.selector;this.toolbar;var g=this.data,A=this.contextMenu,m=g.getCell(c,u);a?(p.setEnd(c,u,d),this.trigger("cells-selected",m,p.range)):(p.set(c,u,h),this.trigger("cell-selected",m,c,u)),A.setMode(c===-1||u===-1?"row-col":"range")}}function Vl(a,c){var u=this.selector,h=this.data,d=h.rows,p=h.cols,g=En(u.indexes,2),A=g[0],m=g[1],y=u.range,b=y.eri,I=y.eci;if(a){var E=En(u.moveIndexes,2);A=E[0],m=E[1]}c==="left"?m>0&&(m-=1):c==="right"?(I!==m&&(m=I),m<p.len-1&&(m+=1)):c==="up"?A>0&&(A-=1):c==="down"?(b!==A&&(A=b),A<d.len-1&&(A+=1)):c==="row-first"?m=0:c==="row-last"?m=p.len-1:c==="col-first"?A=0:c==="col-last"&&(A=d.len-1),a&&(u.moveIndexes=[A,m]),lf.call(this,a,A,m),cf.call(this)}function _2(a){if(a.buttons===0&&a.target.className!=="".concat($r,"-resizer-hover")){var c=a.offsetX,u=a.offsetY,h=this.rowResizer,d=this.colResizer,p=this.tableEl,g=this.data,A=g.rows,m=g.cols;if(c>m.indexWidth&&u>A.height)return h.hide(),void d.hide();var y=p.box(),b=g.getCellRectByXY(a.offsetX,a.offsetY);b.ri>=0&&b.ci===-1?(b.width=m.indexWidth,h.show(b,{width:y.width}),A.isHide(b.ri-1)?h.showUnhide(b.ri):h.hideUnhide()):h.hide(),b.ri===-1&&b.ci>=0?(b.height=A.height,d.show(b,{height:y.height}),m.isHide(b.ci-1)?d.showUnhide(b.ci):d.hideUnhide()):d.hide()}}function Hv(a){var c=this.verticalScrollbar,u=this.horizontalScrollbar,h=this.data,d=c.scroll().top,p=u.scroll().left,g=h.rows,A=h.cols,m=a.deltaY,y=a.deltaX,b=function(_,D){var T=_,F=0;do F=D(T),T+=1;while(F<=0);return F},I=function(_){if(_>0){var D=h.scroll.ri+1;if(D<g.len){var T=b(D,function(H){return g.getHeight(H)});c.move({top:d+T-1})}}else{var F=h.scroll.ri-1;if(F>=0){var N=b(F,function(H){return g.getHeight(H)});c.move({top:F===0?0:d-N})}}},E=Math.abs(m),B=Math.abs(y),S=Math.max(E,B);/Firefox/i.test(window.navigator.userAgent)&&Zg(I(a.detail),50),S===B&&Zg(function(_){if(_>0){var D=h.scroll.ci+1;if(D<A.len){var T=b(D,function(H){return A.getWidth(H)});u.move({left:p+T-1})}}else{var F=h.scroll.ci-1;if(F>=0){var N=b(F,function(H){return A.getWidth(H)});u.move({left:F===0?0:p-N})}}}(y),50),S===E&&Zg(I(m),50)}function Y0(a,c){var u=this.verticalScrollbar,h=this.horizontalScrollbar,d=u.scroll().top,p=h.scroll().left;a==="left"||a==="right"?h.move({left:p-c}):a!=="up"&&a!=="down"||u.move({top:d-c})}function D2(){var a=this.data,c=this.verticalScrollbar,u=this.getTableOffset().height,h=a.exceptRowTotalHeight(0,-1);c.set(u,a.rows.totalHeight()-h)}function Qh(){var a=this.data,c=this.horizontalScrollbar,u=this.getTableOffset().width;a&&c.set(u,a.cols.totalWidth())}function Yv(){var a=this.selector,c=this.data,u=this.editor,h=En(c.freeze,2),d=h[0],p=h[1];if(d>0||p>0){var g=c.freezeTotalWidth(),A=c.freezeTotalHeight();u.setFreezeLengths(g,A)}a.resetAreaOffset()}function wu(){var a=this.tableEl,c=this.overlayerEl,u=this.overlayerCEl,h=this.table,d=this.toolbar,p=this.selector,g=this.el,A=this.getTableOffset(),m=this.getRect();a.attr(m),c.offset(m),u.offset(A),g.css("width","".concat(m.width,"px")),D2.call(this),Qh.call(this),Yv.call(this),h.render(),d.reset(),p.reset()}function J0(){var a=this.data,c=this.selector;a.clearClipboard(),c.hideClipboard()}function R2(a){var c=this.data,u=this.selector;c.settings.mode!=="read"&&(c.copy(),c.copyToSystemClipboard(a),u.showClipboard())}function Aw(){var a=this.data,c=this.selector;a.settings.mode!=="read"&&(a.cut(),c.showClipboard())}function W0(a,c){var u=this,h=this.data;if(h.settings.mode!=="read"){if(h.clipboard.isClear())h.pasteFromSystemClipboard(function(){return wu.call(u)},function(p){u.trigger("pasted-clipboard",p)});else if(h.paste(a,function(p){return Vg("Tip",p)}))wu.call(this);else if(c){var d=c.clipboardData.getData("text/plain");this.data.pasteFromText(d),wu.call(this)}}}function u5(){this.data.hideRowsOrCols(),wu.call(this)}function M2(a,c){this.data.unhideRowsOrCols(a,c),wu.call(this)}function c5(){this.data.autofilter(),wu.call(this)}function F2(){var a=this.toolbar;a.paintformatActive()&&(W0.call(this,"format"),J0.call(this),a.paintformatToggle())}function T2(a){var c=this,u=this.selector,h=this.data,d=this.table,p=this.sortFilter,g=a.offsetX,A=a.offsetY,m=a.target.className==="".concat($r,"-selector-corner"),y=h.getCellRectByXY(g,A),b=y.left,I=y.top,E=y.width,B=y.height,S=y.ri,_=y.ci,D=h.autoFilter;if(D.includes(S,_)&&b+E-20<g&&I+B-20<A){var T=D.items(_,function(F,N){return h.rows.getCell(F,N)});return p.hide(),p.set(_,T,D.getFilter(_),D.getSort(_)),void p.setOffset({left:b,top:I+B+2})}a.shiftKey||(m?u.showAutofill(S,_):lf.call(this,!1,S,_),Vf(window,function(F){var N=h.getCellRectByXY(F.offsetX,F.offsetY);S=N.ri,_=N.ci,m?u.showAutofill(S,_):F.buttons!==1||F.shiftKey||lf.call(c,!0,S,_,!0,!0)},function(){m&&u.arange&&h.settings.mode!=="read"&&h.autofill(u.arange,"all",function(F){return Vg("Tip",F)})&&d.render(),u.hideAutofill(),F2.call(c)})),m||a.buttons!==1||a.shiftKey&&lf.call(this,!0,S,_)}function Xg(){var a=this.editor,c=this.data.getSelectedRect(),u=this.getTableOffset(),h="top";c.top>u.height/2&&(h="bottom"),a.setOffset(c,h)}function $g(){var a=this.editor,c=this.data;c.settings.mode!=="read"&&(Xg.call(this),a.setCell(c.getSelectedCell(),c.getSelectedValidator()),J0.call(this))}function go(a){var c=this,u=this.data,h=this.table,d=this.selector;u.scrolly(a,function(){d.resetBRLAreaOffset(),Xg.call(c),h.render()})}function dw(a){var c=this,u=this.data,h=this.table,d=this.selector;u.scrollx(a,function(){d.resetBRTAreaOffset(),Xg.call(c),h.render()})}function gw(a,c){var u=a.ri,h=this.table,d=this.selector,p=this.data,g=d.range,A=g.sri,m=g.eri;if(u>=A&&u<=m)for(var y=A;y<=m;y+=1)p.rows.setHeight(y,c);else p.rows.setHeight(u,c);h.render(),d.resetAreaOffset(),D2.call(this),Xg.call(this)}function l5(a,c){var u=a.ci,h=this.table,d=this.selector,p=this.data,g=d.range,A=g.sci,m=g.eci;if(u>=A&&u<=m)for(var y=A;y<=m;y+=1)p.cols.setWidth(y,c);else p.cols.setWidth(u,c);h.render(),d.resetAreaOffset(),Qh.call(this),Xg.call(this)}function lA(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"finished",u=this.data,h=this.table;if(u.settings.mode!=="read"){u.setSelectedCellText(a,c);var d=u.selector,p=d.ri,g=d.ci;c==="finished"?h.render():this.trigger("cell-edited",a,p,g)}}function oc(a){var c=this.data;c.settings.mode!=="read"&&(a==="insert-row"?c.insert("row"):a==="delete-row"?c.delete("row"):a==="insert-column"?c.insert("column"):a==="delete-column"?c.delete("column"):a==="delete-cell"?c.deleteCell():a==="delete-cell-format"?c.deleteCell("format"):a==="delete-cell-text"?c.deleteCell("text"):a==="cell-printable"?c.setSelectedCellAttr("printable",!0):a==="cell-non-printable"?c.setSelectedCellAttr("printable",!1):a==="cell-editable"?c.setSelectedCellAttr("editable",!0):a==="cell-non-editable"&&c.setSelectedCellAttr("editable",!1),J0.call(this),wu.call(this))}function q0(a,c){var u=this.data;if(a==="undo")this.undo();else if(a==="redo")this.redo();else if(a==="print")this.print.preview();else if(a==="paintformat")c===!0?R2.call(this):J0.call(this);else if(a==="clearformat")oc.call(this,"delete-cell-format");else if(a!=="link"){if(a!=="chart")if(a==="autofilter")c5.call(this);else if(a==="freeze")if(c){var h=u.selector,d=h.ri,p=h.ci;this.freeze(d,p)}else this.freeze(0,0);else u.setSelectedCellAttr(a,c),a!=="formula"||u.selector.multiple()||$g.call(this),wu.call(this)}}function h5(a,c,u,h){this.data.setAutoFilter(a,c,u,h),wu.call(this)}function Jv(){var a,c,u,h,d,p,g=this,A=this.selector,m=this.overlayerEl,y=this.rowResizer,b=this.colResizer,I=this.verticalScrollbar,E=this.horizontalScrollbar,B=this.editor,S=this.contextMenu,_=this.toolbar,D=this.modalValidation,T=this.sortFilter;m.on("mousemove",function(F){_2.call(g,F)}).on("mousedown",function(F){S.hide(),F.buttons===2?(g.data.xyInSelectedRect(F.offsetX,F.offsetY)||T2.call(g,F),S.setPosition(F.offsetX,F.offsetY),F.stopPropagation()):F.detail===2?$g.call(g):T2.call(g,F)}).on("mousewheel.stop",function(F){Hv.call(g,F)}).on("mouseout",function(F){var N=F.offsetX;F.offsetY<=0&&b.hide(),N<=0&&y.hide()}),A.inputChange=function(F){lA.call(g,F,"input"),$g.call(g)},a=m.el,u=(c={move:function(F,N){Y0.call(g,F,N)}}).move,h=c.end,d=0,p=0,Ne(a,"touchstart",function(F){var N=F.touches[0],H=N.pageX,W=N.pageY;d=H,p=W}),Ne(a,"touchmove",function(F){if(u){var N=F.changedTouches[0],H=N.pageX,W=N.pageY,V=H-d,te=W-p;(Math.abs(V)>10||Math.abs(te)>10)&&(fi(V,te,F,u),d=H,p=W),F.preventDefault()}}),Ne(a,"touchend",function(F){if(h){var N=F.changedTouches[0],H=N.pageX,W=N.pageY;fi(H-d,W-p,F,h)}}),_.change=function(F,N){return q0.call(g,F,N)},T.ok=function(F,N,H,W){return h5.call(g,F,N,H,W)},y.finishedFn=function(F,N){gw.call(g,F,N)},b.finishedFn=function(F,N){l5.call(g,F,N)},y.unhideFn=function(F){M2.call(g,"row",F)},b.unhideFn=function(F){M2.call(g,"col",F)},I.moveFn=function(F,N){go.call(g,F,N)},E.moveFn=function(F,N){dw.call(g,F,N)},B.change=function(F,N){lA.call(g,N,F)},D.change=function(F){if(F==="save"){for(var N,H=arguments.length,W=new Array(H>1?H-1:0),V=1;V<H;V++)W[V-1]=arguments[V];(N=g.data).addValidation.apply(N,W)}else g.data.removeValidation()},S.itemClick=function(F){F==="validation"?D.setValue(g.data.getSelectedValidation()):F==="copy"?R2.call(g):F==="cut"?Aw.call(g):F==="paste"?W0.call(g,"all"):F==="paste-value"?W0.call(g,"text"):F==="paste-format"?W0.call(g,"format"):F==="hide"?u5.call(g):oc.call(g,F)},Ne(window,"resize",function(){g.reload()}),Ne(window,"click",function(F){g.focusing=m.contains(F.target)}),Ne(window,"paste",function(F){g.focusing&&(W0.call(g,"all",F),F.preventDefault())}),Ne(window,"copy",function(F){g.focusing&&(R2.call(g,F),F.preventDefault())}),Ne(window,"keydown",function(F){if(g.focusing){var N=F.keyCode||F.which,H=F.key,W=F.ctrlKey,V=F.shiftKey,te=F.metaKey;if(W||te)switch(N){case 90:g.undo(),F.preventDefault();break;case 89:g.redo(),F.preventDefault();break;case 67:case 86:break;case 88:Aw.call(g),F.preventDefault();break;case 85:_.trigger("underline"),F.preventDefault();break;case 37:Vl.call(g,V,"row-first"),F.preventDefault();break;case 38:Vl.call(g,V,"col-first"),F.preventDefault();break;case 39:Vl.call(g,V,"row-last"),F.preventDefault();break;case 40:Vl.call(g,V,"col-last"),F.preventDefault();break;case 32:lf.call(g,!1,-1,g.data.selector.ci,!1),F.preventDefault();break;case 66:_.trigger("bold");break;case 73:_.trigger("italic")}else{switch(N){case 32:V&&lf.call(g,!1,g.data.selector.ri,-1,!1);break;case 27:S.hide(),J0.call(g);break;case 37:Vl.call(g,V,"left"),F.preventDefault();break;case 38:Vl.call(g,V,"up"),F.preventDefault();break;case 39:Vl.call(g,V,"right"),F.preventDefault();break;case 40:Vl.call(g,V,"down"),F.preventDefault();break;case 9:B.clear(),Vl.call(g,!1,V?"left":"right"),F.preventDefault();break;case 13:B.clear(),Vl.call(g,!1,V?"up":"down"),F.preventDefault();break;case 8:oc.call(g,"delete-cell-text"),F.preventDefault()}H==="Delete"?(oc.call(g,"delete-cell-text"),F.preventDefault()):N>=65&&N<=90||N>=48&&N<=57||N>=96&&N<=105||F.key==="="?(lA.call(g,F.key,"input"),$g.call(g)):N===113&&$g.call(g)}}})}var L2=function(){return xt(function a(c,u){var h=this;Et(this,a),this.eventMap=function(){var m=new Map;function y(I,E){var B;return m.has(I)&&(B=m.get(I),Array.isArray(B)&&B.push(E)||!1)||m.set(I,[].concat(E))}function b(I,E){var B,S;return m.has(I)&&(S=(B=m.get(I)).indexOf(E))>=0&&B.splice(S,1)&&m.get(I).length===0&&m.delete(I)}return{get current(){return m},on:y,once:function(I,E){var B=function(){for(var S=arguments.length,_=new Array(S),D=0;D<S;D++)_[D]=arguments[D];E.call.apply(E,[null].concat(_)),b(I,B)};return y(I,B)},fire:function(I,E){return m.has(I)&&function(){var B,S=Ea(m.get(I));try{for(S.s();!(B=S.n()).done;){var _=B.value;_.call.apply(_,[null].concat(Ni(E)))}}catch(D){S.e(D)}finally{S.f()}}()},removeListener:b,removeAllListeners:function(){m.clear()}}}();var d=u.settings,p=d.view,g=d.showToolbar,A=d.showContextmenu;this.el=Vt("div","".concat($r,"-sheet")),this.toolbar=new x2(u,p.width,!g),this.print=new rf(u),c.children(this.toolbar.el,this.el,this.print.el),this.data=u,this.tableEl=Vt("canvas","".concat($r,"-table")),this.rowResizer=new an(!1,u.rows.height),this.colResizer=new an(!0,u.cols.minWidth),this.verticalScrollbar=new ni(!0),this.horizontalScrollbar=new ni(!1),this.editor=new A2(au,function(){return h.getTableOffset()},u.rows.height),this.modalValidation=new qc,this.contextMenu=new e5(function(){return h.getRect()},!A),this.selector=new ec(u),this.overlayerCEl=Vt("div","".concat($r,"-overlayer-content")).children(this.editor.el,this.selector.el),this.overlayerEl=Vt("div","".concat($r,"-overlayer")).child(this.overlayerCEl),this.sortFilter=new s5,this.el.children(this.tableEl,this.overlayerEl.el,this.rowResizer.el,this.colResizer.el,this.verticalScrollbar.el,this.horizontalScrollbar.el,this.contextMenu.el,this.modalValidation.el,this.sortFilter.el),this.table=new p2(this.tableEl.el,u),Jv.call(this),wu.call(this)},[{key:"on",value:function(a,c){return this.eventMap.on(a,c),this}},{key:"trigger",value:function(a){for(var c=this.eventMap,u=arguments.length,h=new Array(u>1?u-1:0),d=1;d<u;d++)h[d-1]=arguments[d];c.fire(a,h)}},{key:"resetData",value:function(a){this.editor.clear(),this.data=a,D2.call(this),Qh.call(this),this.toolbar.resetData(a),this.print.resetData(a),this.selector.resetData(a),this.table.resetData(a)}},{key:"loadData",value:function(a){return this.data.setData(a),wu.call(this),this}},{key:"freeze",value:function(a,c){return this.data.setFreeze(a,c),wu.call(this),this}},{key:"undo",value:function(){this.data.undo(),wu.call(this)}},{key:"redo",value:function(){this.data.redo(),wu.call(this)}},{key:"reload",value:function(){return wu.call(this),this}},{key:"getRect",value:function(){var a=this.data;return{width:a.viewWidth(),height:a.viewHeight()}}},{key:"getTableOffset",value:function(){var a=this.data,c=a.rows,u=a.cols,h=this.getRect(),d=h.width,p=h.height;return{width:d-u.indexWidth,height:p-c.height,left:u.indexWidth,top:c.height}}}])}();function N2(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(N2=function(){return!!a})()}var f5=function(a){function c(u){var h;Et(this,c);var d,p,g,A=new Tu("ellipsis");return d=this,g=[A,"auto",!1,"top-left"],p=sn(p=c),(h=Ki(d,N2()?Reflect.construct(p,g||[],sn(d).constructor):p.apply(d,g))).contentClick=u,h}return nr(c,a),xt(c,[{key:"reset",value:function(u){var h=this,d=u.map(function(p,g){return Vt("div","".concat($r,"-item")).css("width","150px").css("font-weight","normal").on("click",function(){h.contentClick(g),h.hide()}).child(p)});this.setContentChildren.apply(this,Ni(d))}},{key:"setTitle",value:function(){}}])}(Hs),ep=[{key:"delete",title:In("contextmenu.deleteSheet")}];function Wv(a){var c=this;return Vt("div","".concat($r,"-item")).child(a.title()).on("click",function(){c.itemClick(a.key),c.hide()})}function A5(){var a=this;return ep.map(function(c){return Wv.call(a,c)})}var qv=function(){return xt(function a(){var c;Et(this,a),this.el=(c=Vt("div","".concat($r,"-contextmenu")).css("width","160px")).children.apply(c,Ni(A5.call(this))).hide(),this.itemClick=function(){}},[{key:"hide",value:function(){var a=this.el;a.hide(),xa(a)}},{key:"setOffset",value:function(a){var c=this.el;c.offset(a),c.show(),Ii(c)}}])}(),zv=function(){return xt(function a(){var c=this,u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){},h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){};Et(this,a),this.swapFunc=h,this.updateFunc=p,this.dataNames=[],this.activeEl=null,this.deleteEl=null,this.items=[],this.moreEl=new f5(function(g){c.clickSwap2(c.items[g])}),this.contextMenu=new qv,this.contextMenu.itemClick=d,this.el=Vt("div","".concat($r,"-bottombar")).children(this.contextMenu.el,this.menuEl=Vt("ul","".concat($r,"-menu")).child(Vt("li","").children(new Tu("add").on("click",function(){u()}),Vt("span","").child(this.moreEl))))},[{key:"addItem",value:function(a,c,u){var h=this;this.dataNames.push(a);var d=Vt("li",c?"active":"").child(a);d.on("click",function(){h.clickSwap2(d)}).on("contextmenu",function(p){if(u.mode!=="read"){var g=p.target,A=g.offsetLeft,m=g.offsetHeight;h.contextMenu.setOffset({left:A,bottom:m+1}),h.deleteEl=d}}).on("dblclick",function(){if(u.mode!=="read"){var p=d.html(),g=new Cu("auto","");g.val(p),g.input.on("blur",function(A){var m=A.target.value,y=h.dataNames.findIndex(function(b){return b===p});h.renameItem(y,m)}),d.html("").child(g.el),g.focus()}}),c&&this.clickSwap(d),this.items.push(d),this.menuEl.child(d),this.moreEl.reset(this.dataNames)}},{key:"renameItem",value:function(a,c){this.dataNames.splice(a,1,c),this.moreEl.reset(this.dataNames),this.items[a].html("").child(c),this.updateFunc(a,c)}},{key:"clear",value:function(){var a=this;this.items.forEach(function(c){a.menuEl.removeChild(c.el)}),this.items=[],this.dataNames=[],this.moreEl.reset(this.dataNames)}},{key:"deleteItem",value:function(){var a=this.activeEl,c=this.deleteEl;if(this.items.length>1){var u=this.items.findIndex(function(d){return d===c});if(this.items.splice(u,1),this.dataNames.splice(u,1),this.menuEl.removeChild(c.el),this.moreEl.reset(this.dataNames),a===c){var h=En(this.items,1)[0];return this.activeEl=h,this.activeEl.toggle(),[u,0]}return[u,-1]}return[-1]}},{key:"clickSwap2",value:function(a){var c=this.items.findIndex(function(u){return u===a});this.clickSwap(a),this.activeEl.toggle(),this.swapFunc(c)}},{key:"clickSwap",value:function(a){this.activeEl!==null&&this.activeEl.toggle(),this.activeEl=a}}])}();function O2(a,c){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(a);c&&(h=h.filter(function(d){return Object.getOwnPropertyDescriptor(a,d).enumerable})),u.push.apply(u,h)}return u}var tp=function(){return xt(function a(c){var u=this,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Et(this,a);var d=c;this.options=function(g){for(var A=1;A<arguments.length;A++){var m=arguments[A]!=null?arguments[A]:{};A%2?O2(Object(m),!0).forEach(function(y){Wr(g,y,m[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(m)):O2(Object(m)).forEach(function(y){Object.defineProperty(g,y,Object.getOwnPropertyDescriptor(m,y))})}return g}({showBottomBar:!0},h),this.sheetIndex=1,this.datas=[],typeof c=="string"&&(d=document.querySelector(c)),this.bottombar=this.options.showBottomBar?new zv(function(){if(u.options.mode!=="read"){var g=u.addSheet();u.sheet.resetData(g)}},function(g){var A=u.datas[g];u.sheet.resetData(A)},function(){u.deleteSheet()},function(g,A){u.datas[g].name=A,u.sheet.trigger("change")}):null,this.data=this.addSheet();var p=Vt("div","".concat($r)).on("contextmenu",function(g){return g.preventDefault()});d.appendChild(p.el),this.sheet=new L2(p,this.data),this.bottombar!==null&&p.child(this.bottombar.el)},[{key:"addSheet",value:function(a){var c=this,u=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],h=a||"sheet".concat(this.sheetIndex),d=new Es(h,this.options);return d.change=function(){for(var p,g=arguments.length,A=new Array(g),m=0;m<g;m++)A[m]=arguments[m];(p=c.sheet).trigger.apply(p,["change"].concat(A))},this.datas.push(d),this.bottombar!==null&&this.bottombar.addItem(h,u,this.options),this.sheetIndex+=1,d}},{key:"deleteSheet",value:function(){if(this.bottombar!==null){var a=En(this.bottombar.deleteItem(),2),c=a[0],u=a[1];c>=0&&(this.datas.splice(c,1),u>=0&&this.sheet.resetData(this.datas[u]),this.sheet.trigger("change"))}}},{key:"loadData",value:function(a){var c=Array.isArray(a)?a:[a];if(this.bottombar!==null&&this.bottombar.clear(),this.datas=[],c.length>0)for(var u=0;u<c.length;u+=1){var h=c[u],d=this.addSheet(h.name,u===0);d.setData(h),u===0&&this.sheet.resetData(d)}return this}},{key:"getData",value:function(){return this.datas.map(function(a){return a.getData()})}},{key:"cellText",value:function(a,c,u){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return this.datas[h].setCellText(a,c,u,"finished"),this}},{key:"cell",value:function(a,c){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return this.datas[u].getCell(a,c)}},{key:"cellStyle",value:function(a,c){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return this.datas[u].getCellStyle(a,c)}},{key:"reRender",value:function(){return this.sheet.table.render(),this}},{key:"on",value:function(a,c){return this.sheet.on(a,c),this}},{key:"validate",value:function(){return this.data.validations.errors.size<=0}},{key:"change",value:function(a){return this.sheet.on("change",a),this}}],[{key:"locale",value:function(a,c){Io(a,c)}}])}();function Kv(a,c,u,h,d,p,g){try{var A=a[p](g),m=A.value}catch(y){return void u(y)}A.done?c(m):Promise.resolve(m).then(h,d)}function Sa(a){return function(){var c=this,u=arguments;return new Promise(function(h,d){var p=a.apply(c,u);function g(m){Kv(p,h,d,g,A,"next",m)}function A(m){Kv(p,h,d,g,A,"throw",m)}g(void 0)})}}function P2(a,c){this.v=a,this.k=c}function Vv(a){return new P2(a,0)}function hA(a){var c,u;function h(p,g){try{var A=a[p](g),m=A.value,y=m instanceof P2;Promise.resolve(y?m.v:m).then(function(b){if(y){var I=p==="return"?"return":"next";if(!m.k||b.done)return h(I,b);b=a[I](b).value}d(A.done?"return":"normal",b)},function(b){h("throw",b)})}catch(b){d("throw",b)}}function d(p,g){switch(p){case"return":c.resolve({value:g,done:!0});break;case"throw":c.reject(g);break;default:c.resolve({value:g,done:!1})}(c=c.next)?h(c.key,c.arg):u=null}this._invoke=function(p,g){return new Promise(function(A,m){var y={key:p,arg:g,resolve:A,reject:m,next:null};u?u=u.next=y:(c=u=y,h(p,g))})},typeof a.return!="function"&&(this.return=void 0)}window&&(window.x_spreadsheet=function(a){return new tp(a,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{})},window.x_spreadsheet.locale=function(a,c){return Io(a,c)}),hA.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},hA.prototype.next=function(a){return this._invoke("next",a)},hA.prototype.throw=function(a){return this._invoke("throw",a)},hA.prototype.return=function(a){return this._invoke("return",a)};var Ui=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof W3<"u"?W3:typeof self<"u"?self:{};function Zv(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Xv={exports:{}},fA={exports:{}};(function(a){function c(u){return a.exports=c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},a.exports.__esModule=!0,a.exports.default=a.exports,c(u)}a.exports=c,a.exports.__esModule=!0,a.exports.default=a.exports})(fA);var d5=fA.exports;(function(a){var c=d5.default;function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a.exports=u=function(){return d},a.exports.__esModule=!0,a.exports.default=a.exports;var h,d={},p=Object.prototype,g=p.hasOwnProperty,A=Object.defineProperty||function(X,se,oe){X[se]=oe.value},m=typeof Symbol=="function"?Symbol:{},y=m.iterator||"@@iterator",b=m.asyncIterator||"@@asyncIterator",I=m.toStringTag||"@@toStringTag";function E(X,se,oe){return Object.defineProperty(X,se,{value:oe,enumerable:!0,configurable:!0,writable:!0}),X[se]}try{E({},"")}catch{E=function(se,oe,ye){return se[oe]=ye}}function B(X,se,oe,ye){var ae=se&&se.prototype instanceof H?se:H,me=Object.create(ae.prototype),Fe=new q(ye||[]);return A(me,"_invoke",{value:Z(X,oe,Fe)}),me}function S(X,se,oe){try{return{type:"normal",arg:X.call(se,oe)}}catch(ye){return{type:"throw",arg:ye}}}d.wrap=B;var _="suspendedStart",D="suspendedYield",T="executing",F="completed",N={};function H(){}function W(){}function V(){}var te={};E(te,y,function(){return this});var ue=Object.getPrototypeOf,fe=ue&&ue(ue(z([])));fe&&fe!==p&&g.call(fe,y)&&(te=fe);var de=V.prototype=H.prototype=Object.create(te);function Ae(X){["next","throw","return"].forEach(function(se){E(X,se,function(oe){return this._invoke(se,oe)})})}function we(X,se){function oe(ae,me,Fe,_e){var rt=S(X[ae],X,me);if(rt.type!=="throw"){var et=rt.arg,st=et.value;return st&&c(st)=="object"&&g.call(st,"__await")?se.resolve(st.__await).then(function(Ge){oe("next",Ge,Fe,_e)},function(Ge){oe("throw",Ge,Fe,_e)}):se.resolve(st).then(function(Ge){et.value=Ge,Fe(et)},function(Ge){return oe("throw",Ge,Fe,_e)})}_e(rt.arg)}var ye;A(this,"_invoke",{value:function(ae,me){function Fe(){return new se(function(_e,rt){oe(ae,me,_e,rt)})}return ye=ye?ye.then(Fe,Fe):Fe()}})}function Z(X,se,oe){var ye=_;return function(ae,me){if(ye===T)throw Error("Generator is already running");if(ye===F){if(ae==="throw")throw me;return{value:h,done:!0}}for(oe.method=ae,oe.arg=me;;){var Fe=oe.delegate;if(Fe){var _e=ne(Fe,oe);if(_e){if(_e===N)continue;return _e}}if(oe.method==="next")oe.sent=oe._sent=oe.arg;else if(oe.method==="throw"){if(ye===_)throw ye=F,oe.arg;oe.dispatchException(oe.arg)}else oe.method==="return"&&oe.abrupt("return",oe.arg);ye=T;var rt=S(X,se,oe);if(rt.type==="normal"){if(ye=oe.done?F:D,rt.arg===N)continue;return{value:rt.arg,done:oe.done}}rt.type==="throw"&&(ye=F,oe.method="throw",oe.arg=rt.arg)}}}function ne(X,se){var oe=se.method,ye=X.iterator[oe];if(ye===h)return se.delegate=null,oe==="throw"&&X.iterator.return&&(se.method="return",se.arg=h,ne(X,se),se.method==="throw")||oe!=="return"&&(se.method="throw",se.arg=new TypeError("The iterator does not provide a '"+oe+"' method")),N;var ae=S(ye,X.iterator,se.arg);if(ae.type==="throw")return se.method="throw",se.arg=ae.arg,se.delegate=null,N;var me=ae.arg;return me?me.done?(se[X.resultName]=me.value,se.next=X.nextLoc,se.method!=="return"&&(se.method="next",se.arg=h),se.delegate=null,N):me:(se.method="throw",se.arg=new TypeError("iterator result is not an object"),se.delegate=null,N)}function j(X){var se={tryLoc:X[0]};1 in X&&(se.catchLoc=X[1]),2 in X&&(se.finallyLoc=X[2],se.afterLoc=X[3]),this.tryEntries.push(se)}function J(X){var se=X.completion||{};se.type="normal",delete se.arg,X.completion=se}function q(X){this.tryEntries=[{tryLoc:"root"}],X.forEach(j,this),this.reset(!0)}function z(X){if(X||X===""){var se=X[y];if(se)return se.call(X);if(typeof X.next=="function")return X;if(!isNaN(X.length)){var oe=-1,ye=function ae(){for(;++oe<X.length;)if(g.call(X,oe))return ae.value=X[oe],ae.done=!1,ae;return ae.value=h,ae.done=!0,ae};return ye.next=ye}}throw new TypeError(c(X)+" is not iterable")}return W.prototype=V,A(de,"constructor",{value:V,configurable:!0}),A(V,"constructor",{value:W,configurable:!0}),W.displayName=E(V,I,"GeneratorFunction"),d.isGeneratorFunction=function(X){var se=typeof X=="function"&&X.constructor;return!!se&&(se===W||(se.displayName||se.name)==="GeneratorFunction")},d.mark=function(X){return Object.setPrototypeOf?Object.setPrototypeOf(X,V):(X.__proto__=V,E(X,I,"GeneratorFunction")),X.prototype=Object.create(de),X},d.awrap=function(X){return{__await:X}},Ae(we.prototype),E(we.prototype,b,function(){return this}),d.AsyncIterator=we,d.async=function(X,se,oe,ye,ae){ae===void 0&&(ae=Promise);var me=new we(B(X,se,oe,ye),ae);return d.isGeneratorFunction(se)?me:me.next().then(function(Fe){return Fe.done?Fe.value:me.next()})},Ae(de),E(de,I,"Generator"),E(de,y,function(){return this}),E(de,"toString",function(){return"[object Generator]"}),d.keys=function(X){var se=Object(X),oe=[];for(var ye in se)oe.push(ye);return oe.reverse(),function ae(){for(;oe.length;){var me=oe.pop();if(me in se)return ae.value=me,ae.done=!1,ae}return ae.done=!0,ae}},d.values=z,q.prototype={constructor:q,reset:function(X){if(this.prev=0,this.next=0,this.sent=this._sent=h,this.done=!1,this.delegate=null,this.method="next",this.arg=h,this.tryEntries.forEach(J),!X)for(var se in this)se.charAt(0)==="t"&&g.call(this,se)&&!isNaN(+se.slice(1))&&(this[se]=h)},stop:function(){this.done=!0;var X=this.tryEntries[0].completion;if(X.type==="throw")throw X.arg;return this.rval},dispatchException:function(X){if(this.done)throw X;var se=this;function oe(rt,et){return me.type="throw",me.arg=X,se.next=rt,et&&(se.method="next",se.arg=h),!!et}for(var ye=this.tryEntries.length-1;ye>=0;--ye){var ae=this.tryEntries[ye],me=ae.completion;if(ae.tryLoc==="root")return oe("end");if(ae.tryLoc<=this.prev){var Fe=g.call(ae,"catchLoc"),_e=g.call(ae,"finallyLoc");if(Fe&&_e){if(this.prev<ae.catchLoc)return oe(ae.catchLoc,!0);if(this.prev<ae.finallyLoc)return oe(ae.finallyLoc)}else if(Fe){if(this.prev<ae.catchLoc)return oe(ae.catchLoc,!0)}else{if(!_e)throw Error("try statement without catch or finally");if(this.prev<ae.finallyLoc)return oe(ae.finallyLoc)}}}},abrupt:function(X,se){for(var oe=this.tryEntries.length-1;oe>=0;--oe){var ye=this.tryEntries[oe];if(ye.tryLoc<=this.prev&&g.call(ye,"finallyLoc")&&this.prev<ye.finallyLoc){var ae=ye;break}}ae&&(X==="break"||X==="continue")&&ae.tryLoc<=se&&se<=ae.finallyLoc&&(ae=null);var me=ae?ae.completion:{};return me.type=X,me.arg=se,ae?(this.method="next",this.next=ae.finallyLoc,N):this.complete(me)},complete:function(X,se){if(X.type==="throw")throw X.arg;return X.type==="break"||X.type==="continue"?this.next=X.arg:X.type==="return"?(this.rval=this.arg=X.arg,this.method="return",this.next="end"):X.type==="normal"&&se&&(this.next=se),N},finish:function(X){for(var se=this.tryEntries.length-1;se>=0;--se){var oe=this.tryEntries[se];if(oe.finallyLoc===X)return this.complete(oe.completion,oe.afterLoc),J(oe),N}},catch:function(X){for(var se=this.tryEntries.length-1;se>=0;--se){var oe=this.tryEntries[se];if(oe.tryLoc===X){var ye=oe.completion;if(ye.type==="throw"){var ae=ye.arg;J(oe)}return ae}}throw Error("illegal catch attempt")},delegateYield:function(X,se,oe){return this.delegate={iterator:z(X),resultName:se,nextLoc:oe},this.method==="next"&&(this.arg=h),N}},d}a.exports=u,a.exports.__esModule=!0,a.exports.default=a.exports})(Xv);var $v=(0,Xv.exports)(),G2=$v;try{regeneratorRuntime=$v}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=$v:Function("r","regeneratorRuntime = r")($v)}const _n=Zv(G2);function ey(a){throw new Error('Could not dynamically require "'+a+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var U2={exports:{}};function ty(a,c,u,h){var d=aA(sn(a.prototype),c,u);return 2&h&&typeof d=="function"?function(p){return d.apply(u,p)}:d}function Er(a,c,u){return c=sn(c),Ki(a,ry()?Reflect.construct(c,u||[],sn(a).constructor):c.apply(a,u))}function ry(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ry=function(){return!!a})()}function ny(a,c){var u=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!u){if(Array.isArray(a)||(u=function(m,y){if(m){if(typeof m=="string")return j2(m,y);var b={}.toString.call(m).slice(8,-1);return b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set"?Array.from(m):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?j2(m,y):void 0}}(a))||c){u&&(a=u);var h=0,d=function(){};return{s:d,n:function(){return h>=a.length?{done:!0}:{done:!1,value:a[h++]}},e:function(m){throw m},f:d}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  20. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p,g=!0,A=!1;return{s:function(){u=u.call(a)},n:function(){var m=u.next();return g=m.done,m},e:function(m){A=!0,p=m},f:function(){try{g||u.return==null||u.return()}finally{if(A)throw p}}}}function j2(a,c){(c==null||c>a.length)&&(c=a.length);for(var u=0,h=Array(c);u<c;u++)h[u]=a[u];return h}function pw(a,c){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(a);c&&(h=h.filter(function(d){return Object.getOwnPropertyDescriptor(a,d).enumerable})),u.push.apply(u,h)}return u}function Za(a){for(var c=1;c<arguments.length;c++){var u=arguments[c]!=null?arguments[c]:{};c%2?pw(Object(u),!0).forEach(function(h){Wr(a,h,u[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):pw(Object(u)).forEach(function(h){Object.defineProperty(a,h,Object.getOwnPropertyDescriptor(u,h))})}return a}function z0(a){var c,u,h,d=2;for(typeof Symbol<"u"&&(u=Symbol.asyncIterator,h=Symbol.iterator);d--;){if(u&&(c=a[u])!=null)return c.call(a);if(h&&(c=a[h])!=null)return new H2(c.call(a));u="@@asyncIterator",h="@@iterator"}throw new TypeError("Object is not async iterable")}function H2(a){function c(u){if(Object(u)!==u)return Promise.reject(new TypeError(u+" is not an object."));var h=u.done;return Promise.resolve(u.value).then(function(d){return{value:d,done:h}})}return(H2=function(u){this.s=u,this.n=u.next}).prototype={s:null,n:null,next:function(){return c(this.n.apply(this.s,arguments))},return:function(u){var h=this.s.return;return h===void 0?Promise.resolve({value:u,done:!0}):c(h.apply(this.s,arguments))},throw:function(u){var h=this.s.return;return h===void 0?Promise.reject(u):c(h.apply(this.s,arguments))}},new H2(a)}U2.exports=function(){function a(c,u,h){function d(A,m){if(!u[A]){if(!c[A]){if(!m&&ey)return ey(A);if(p)return p(A,!0);var y=new Error("Cannot find module '"+A+"'");throw y.code="MODULE_NOT_FOUND",y}var b=u[A]={exports:{}};c[A][0].call(b.exports,function(I){return d(c[A][1][I]||I)},b,b.exports,a,c,u,h)}return u[A].exports}for(var p=ey,g=0;g<h.length;g++)d(h[g]);return d}return a}()({1:[function(a,c,u){var h=a("fs"),d=a("fast-csv"),p=a("dayjs/plugin/customParseFormat"),g=a("dayjs/plugin/utc"),A=a("dayjs").extend(p).extend(g),m=a("../utils/stream-buf"),y=a("../utils/utils").fs.exists,b={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}},I=function(){function E(B){Et(this,E),this.workbook=B,this.worksheet=null}return xt(E,[{key:"readFile",value:function(){var B=Sa(_n.mark(function _(D,T){var F,N;return _n.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return T=T||{},H.next=3,y(D);case 3:if(H.sent){H.next=5;break}throw new Error("File not found: ".concat(D));case 5:return F=h.createReadStream(D),H.next=8,this.read(F,T);case 8:return N=H.sent,F.close(),H.abrupt("return",N);case 11:case"end":return H.stop()}},_,this)}));function S(_,D){return B.apply(this,arguments)}return S}()},{key:"read",value:function(B,S){var _=this;return S=S||{},new Promise(function(D,T){var F=_.workbook.addWorksheet(S.sheetName),N=S.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],H=S.map||function(V){if(V==="")return null;var te=Number(V);if(!Number.isNaN(te)&&te!==1/0)return te;var ue=N.reduce(function(de,Ae){if(de)return de;var we=A(V,Ae,!0);return we.isValid()?we:null},null);if(ue)return new Date(ue.valueOf());var fe=b[V];return fe!==void 0?fe:V},W=d.parse(S.parserOptions).on("data",function(V){F.addRow(V.map(H))}).on("end",function(){W.emit("worksheet",F)});W.on("worksheet",D).on("error",T),B.pipe(W)})}},{key:"createInputStream",value:function(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}},{key:"write",value:function(B,S){var _=this;return new Promise(function(D,T){S=S||{};var F=_.workbook.getWorksheet(S.sheetName||S.sheetId),N=d.format(S.formatterOptions);B.on("finish",function(){D()}),N.on("error",T),N.pipe(B);var H=S,W=H.dateFormat,V=H.dateUTC,te=S.map||function(de){if(de){if(de.text||de.hyperlink)return de.hyperlink||de.text||"";if(de.formula||de.result)return de.result||"";if(de instanceof Date)return W?V?A.utc(de).format(W):A(de).format(W):V?A.utc(de).format():A(de).format();if(de.error)return de.error;if(typeof de=="object")return JSON.stringify(de)}return de},ue=S.includeEmptyRows===void 0||S.includeEmptyRows,fe=1;F&&F.eachRow(function(de,Ae){if(ue)for(;fe++<Ae-1;)N.write([]);var we=de.values;we.shift(),N.write(we.map(te)),fe=Ae}),N.end()})}},{key:"writeFile",value:function(B,S){var _={encoding:(S=S||{}).encoding||"utf8"},D=h.createWriteStream(B,_);return this.write(D,S)}},{key:"writeBuffer",value:function(){var B=Sa(_n.mark(function _(D){var T;return _n.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return T=new m,F.next=3,this.write(T,D);case 3:return F.abrupt("return",T.read());case 4:case"end":return F.stop()}},_,this)}));function S(_){return B.apply(this,arguments)}return S}()}])}();c.exports=I},{"../utils/stream-buf":24,"../utils/utils":27,dayjs:391,"dayjs/plugin/customParseFormat":392,"dayjs/plugin/utc":393,"fast-csv":424,fs:216}],2:[function(a,c,u){var h=a("../utils/col-cache"),d=function(){function p(g,A){Et(this,p);var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=g,A)if(typeof A=="string"){var y=h.decodeAddress(A);this.nativeCol=y.col+m,this.nativeColOff=0,this.nativeRow=y.row+m,this.nativeRowOff=0}else A.nativeCol!==void 0?(this.nativeCol=A.nativeCol||0,this.nativeColOff=A.nativeColOff||0,this.nativeRow=A.nativeRow||0,this.nativeRowOff=A.nativeRowOff||0):A.col!==void 0?(this.col=A.col+m,this.row=A.row+m):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}return xt(p,[{key:"col",get:function(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth},set:function(g){this.nativeCol=Math.floor(g),this.nativeColOff=Math.floor((g-this.nativeCol)*this.colWidth)}},{key:"row",get:function(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight},set:function(g){this.nativeRow=Math.floor(g),this.nativeRowOff=Math.floor((g-this.nativeRow)*this.rowHeight)}},{key:"colWidth",get:function(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}},{key:"rowHeight",get:function(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}},{key:"model",get:function(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}},set:function(g){this.nativeCol=g.nativeCol,this.nativeColOff=g.nativeColOff,this.nativeRow=g.nativeRow,this.nativeRowOff=g.nativeRowOff}}],[{key:"asInstance",value:function(g){return g instanceof p||g==null?g:new p(g)}}])}();c.exports=d},{"../utils/col-cache":19}],3:[function(a,c,u){var h=a("../utils/col-cache"),d=a("../utils/under-dash"),p=a("./enums"),g=a("../utils/shared-formula").slideFormula,A=a("./note"),m=function(){function V(te,ue,fe){if(Et(this,V),!te||!ue)throw new Error("A Cell needs a Row");this._row=te,this._column=ue,h.validateAddress(fe),this._address=fe,this._value=W.create(V.Types.Null,this),this.style=this._mergeStyle(te.style,ue.style,{}),this._mergeCount=0}return xt(V,[{key:"worksheet",get:function(){return this._row.worksheet}},{key:"workbook",get:function(){return this._row.worksheet.workbook}},{key:"destroy",value:function(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(te){this.style.numFmt=te}},{key:"font",get:function(){return this.style.font},set:function(te){this.style.font=te}},{key:"alignment",get:function(){return this.style.alignment},set:function(te){this.style.alignment=te}},{key:"border",get:function(){return this.style.border},set:function(te){this.style.border=te}},{key:"fill",get:function(){return this.style.fill},set:function(te){this.style.fill=te}},{key:"protection",get:function(){return this.style.protection},set:function(te){this.style.protection=te}},{key:"_mergeStyle",value:function(te,ue,fe){var de=te&&te.numFmt||ue&&ue.numFmt;de&&(fe.numFmt=de);var Ae=te&&te.font||ue&&ue.font;Ae&&(fe.font=Ae);var we=te&&te.alignment||ue&&ue.alignment;we&&(fe.alignment=we);var Z=te&&te.border||ue&&ue.border;Z&&(fe.border=Z);var ne=te&&te.fill||ue&&ue.fill;ne&&(fe.fill=ne);var j=te&&te.protection||ue&&ue.protection;return j&&(fe.protection=j),fe}},{key:"address",get:function(){return this._address}},{key:"row",get:function(){return this._row.number}},{key:"col",get:function(){return this._column.number}},{key:"$col$row",get:function(){return"$".concat(this._column.letter,"$").concat(this.row)}},{key:"type",get:function(){return this._value.type}},{key:"effectiveType",get:function(){return this._value.effectiveType}},{key:"toCsvString",value:function(){return this._value.toCsvString()}},{key:"addMergeRef",value:function(){this._mergeCount++}},{key:"releaseMergeRef",value:function(){this._mergeCount--}},{key:"isMerged",get:function(){return this._mergeCount>0||this.type===V.Types.Merge}},{key:"merge",value:function(te,ue){this._value.release(),this._value=W.create(V.Types.Merge,this,te),ue||(this.style=te.style)}},{key:"unmerge",value:function(){this.type===V.Types.Merge&&(this._value.release(),this._value=W.create(V.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}},{key:"isMergedTo",value:function(te){return this._value.type===V.Types.Merge&&this._value.isMergedTo(te)}},{key:"master",get:function(){return this.type===V.Types.Merge?this._value.master:this}},{key:"isHyperlink",get:function(){return this._value.type===V.Types.Hyperlink}},{key:"hyperlink",get:function(){return this._value.hyperlink}},{key:"value",get:function(){return this._value.value},set:function(te){this.type!==V.Types.Merge?(this._value.release(),this._value=W.create(W.getType(te),this,te)):this._value.master.value=te}},{key:"note",get:function(){return this._comment&&this._comment.note},set:function(te){this._comment=new A(te)}},{key:"text",get:function(){return this._value.toString()}},{key:"html",get:function(){return d.escapeHtml(this.text)}},{key:"toString",value:function(){return this.text}},{key:"_upgradeToHyperlink",value:function(te){this.type===V.Types.String&&(this._value=W.create(V.Types.Hyperlink,this,{text:this._value.value,hyperlink:te}))}},{key:"formula",get:function(){return this._value.formula}},{key:"result",get:function(){return this._value.result}},{key:"formulaType",get:function(){return this._value.formulaType}},{key:"fullAddress",get:function(){return{sheetName:this._row.worksheet.name,address:this.address,row:this.row,col:this.col}}},{key:"name",get:function(){return this.names[0]},set:function(te){this.names=[te]}},{key:"names",get:function(){return this.workbook.definedNames.getNamesEx(this.fullAddress)},set:function(te){var ue=this,fe=this.workbook.definedNames;fe.removeAllNames(this.fullAddress),te.forEach(function(de){fe.addEx(ue.fullAddress,de)})}},{key:"addName",value:function(te){this.workbook.definedNames.addEx(this.fullAddress,te)}},{key:"removeName",value:function(te){this.workbook.definedNames.removeEx(this.fullAddress,te)}},{key:"removeAllNames",value:function(){this.workbook.definedNames.removeAllNames(this.fullAddress)}},{key:"_dataValidations",get:function(){return this.worksheet.dataValidations}},{key:"dataValidation",get:function(){return this._dataValidations.find(this.address)},set:function(te){this._dataValidations.add(this.address,te)}},{key:"model",get:function(){var te=this._value.model;return te.style=this.style,this._comment&&(te.comment=this._comment.model),te},set:function(te){this._value.release(),this._value=W.create(te.type,this),this._value.model=te,te.comment&&te.comment.type==="note"&&(this._comment=A.fromModel(te.comment)),te.style?this.style=te.style:this.style={}}}])}();m.Types=p.ValueType;var y=function(){function V(te){Et(this,V),this.model={address:te.address,type:m.Types.Null}}return xt(V,[{key:"value",get:function(){return null},set:function(te){}},{key:"type",get:function(){return m.Types.Null}},{key:"effectiveType",get:function(){return m.Types.Null}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){}},{key:"toString",value:function(){return""}}])}(),b=function(){function V(te,ue){Et(this,V),this.model={address:te.address,type:m.Types.Number,value:ue}}return xt(V,[{key:"value",get:function(){return this.model.value},set:function(te){this.model.value=te}},{key:"type",get:function(){return m.Types.Number}},{key:"effectiveType",get:function(){return m.Types.Number}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}}])}(),I=function(){function V(te,ue){Et(this,V),this.model={address:te.address,type:m.Types.String,value:ue}}return xt(V,[{key:"value",get:function(){return this.model.value},set:function(te){this.model.value=te}},{key:"type",get:function(){return m.Types.String}},{key:"effectiveType",get:function(){return m.Types.String}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"toCsvString",value:function(){return'"'.concat(this.model.value.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}}])}(),E=function(){function V(te,ue){Et(this,V),this.model={address:te.address,type:m.Types.String,value:ue}}return xt(V,[{key:"value",get:function(){return this.model.value},set:function(te){this.model.value=te}},{key:"toString",value:function(){return this.model.value.richText.map(function(te){return te.text}).join("")}},{key:"type",get:function(){return m.Types.RichText}},{key:"effectiveType",get:function(){return m.Types.RichText}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"toCsvString",value:function(){return'"'.concat(this.text.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}}])}(),B=function(){function V(te,ue){Et(this,V),this.model={address:te.address,type:m.Types.Date,value:ue}}return xt(V,[{key:"value",get:function(){return this.model.value},set:function(te){this.model.value=te}},{key:"type",get:function(){return m.Types.Date}},{key:"effectiveType",get:function(){return m.Types.Date}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"toCsvString",value:function(){return this.model.value.toISOString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}}])}(),S=function(){function V(te,ue){Et(this,V),this.model={address:te.address,type:m.Types.Hyperlink,text:ue?ue.text:void 0,hyperlink:ue?ue.hyperlink:void 0},ue&&ue.tooltip&&(this.model.tooltip=ue.tooltip)}return xt(V,[{key:"value",get:function(){var te={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(te.tooltip=this.model.tooltip),te},set:function(te){this.model={text:te.text,hyperlink:te.hyperlink},te.tooltip&&(this.model.tooltip=te.tooltip)}},{key:"text",get:function(){return this.model.text},set:function(te){this.model.text=te}},{key:"hyperlink",get:function(){return this.model.hyperlink},set:function(te){this.model.hyperlink=te}},{key:"type",get:function(){return m.Types.Hyperlink}},{key:"effectiveType",get:function(){return m.Types.Hyperlink}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"toCsvString",value:function(){return this.model.hyperlink}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.text}}])}(),_=function(){function V(te,ue){Et(this,V),this.model={address:te.address,type:m.Types.Merge,master:ue?ue.address:void 0},this._master=ue,ue&&ue.addMergeRef()}return xt(V,[{key:"value",get:function(){return this._master.value},set:function(te){te instanceof m?(this._master&&this._master.releaseMergeRef(),te.addMergeRef(),this._master=te):this._master.value=te}},{key:"isMergedTo",value:function(te){return te===this._master}},{key:"master",get:function(){return this._master}},{key:"type",get:function(){return m.Types.Merge}},{key:"effectiveType",get:function(){return this._master.effectiveType}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){this._master.releaseMergeRef()}},{key:"toString",value:function(){return this.value.toString()}}])}(),D=function(){function V(te,ue){Et(this,V),this.cell=te,this.model={address:te.address,type:m.Types.Formula,shareType:ue?ue.shareType:void 0,ref:ue?ue.ref:void 0,formula:ue?ue.formula:void 0,sharedFormula:ue?ue.sharedFormula:void 0,result:ue?ue.result:void 0}}return xt(V,[{key:"_copyModel",value:function(te){var ue={},fe=function(de){var Ae=te[de];Ae&&(ue[de]=Ae)};return fe("formula"),fe("result"),fe("ref"),fe("shareType"),fe("sharedFormula"),ue}},{key:"value",get:function(){return this._copyModel(this.model)},set:function(te){this.model=this._copyModel(te)}},{key:"validate",value:function(te){switch(W.getType(te)){case m.Types.Null:case m.Types.String:case m.Types.Number:case m.Types.Date:break;case m.Types.Hyperlink:case m.Types.Formula:default:throw new Error("Cannot process that type of result value")}}},{key:"dependencies",get:function(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}},{key:"formula",get:function(){return this.model.formula||this._getTranslatedFormula()},set:function(te){this.model.formula=te}},{key:"formulaType",get:function(){return this.model.formula?p.FormulaType.Master:this.model.sharedFormula?p.FormulaType.Shared:p.FormulaType.None}},{key:"result",get:function(){return this.model.result},set:function(te){this.model.result=te}},{key:"type",get:function(){return m.Types.Formula}},{key:"effectiveType",get:function(){var te=this.model.result;return te==null?p.ValueType.Null:te instanceof String||typeof te=="string"?p.ValueType.String:typeof te=="number"?p.ValueType.Number:te instanceof Date?p.ValueType.Date:te.text&&te.hyperlink?p.ValueType.Hyperlink:te.formula?p.ValueType.Formula:p.ValueType.Null}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"_getTranslatedFormula",value:function(){if(!this._translatedFormula&&this.model.sharedFormula){var te=this.cell.worksheet.findCell(this.model.sharedFormula);this._translatedFormula=te&&g(te.formula,te.address,this.model.address)}return this._translatedFormula}},{key:"toCsvString",value:function(){return"".concat(this.model.result||"")}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.result?this.model.result.toString():""}}])}(),T=function(){function V(te,ue){Et(this,V),this.model={address:te.address,type:m.Types.SharedString,value:ue}}return xt(V,[{key:"value",get:function(){return this.model.value},set:function(te){this.model.value=te}},{key:"type",get:function(){return m.Types.SharedString}},{key:"effectiveType",get:function(){return m.Types.SharedString}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}}])}(),F=function(){function V(te,ue){Et(this,V),this.model={address:te.address,type:m.Types.Boolean,value:ue}}return xt(V,[{key:"value",get:function(){return this.model.value},set:function(te){this.model.value=te}},{key:"type",get:function(){return m.Types.Boolean}},{key:"effectiveType",get:function(){return m.Types.Boolean}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"toCsvString",value:function(){return this.model.value?1:0}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}}])}(),N=function(){function V(te,ue){Et(this,V),this.model={address:te.address,type:m.Types.Error,value:ue}}return xt(V,[{key:"value",get:function(){return this.model.value},set:function(te){this.model.value=te}},{key:"type",get:function(){return m.Types.Error}},{key:"effectiveType",get:function(){return m.Types.Error}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"toCsvString",value:function(){return this.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.error.toString()}}])}(),H=function(){function V(te,ue){Et(this,V),this.model={address:te.address,type:m.Types.String,value:JSON.stringify(ue),rawValue:ue}}return xt(V,[{key:"value",get:function(){return this.model.rawValue},set:function(te){this.model.rawValue=te,this.model.value=JSON.stringify(te)}},{key:"type",get:function(){return m.Types.String}},{key:"effectiveType",get:function(){return m.Types.String}},{key:"address",get:function(){return this.model.address},set:function(te){this.model.address=te}},{key:"toCsvString",value:function(){return this.model.value}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}}])}(),W={getType:function(V){return V==null?m.Types.Null:V instanceof String||typeof V=="string"?m.Types.String:typeof V=="number"?m.Types.Number:typeof V=="boolean"?m.Types.Boolean:V instanceof Date?m.Types.Date:V.text&&V.hyperlink?m.Types.Hyperlink:V.formula||V.sharedFormula?m.Types.Formula:V.richText?m.Types.RichText:V.sharedString?m.Types.SharedString:V.error?m.Types.Error:m.Types.JSON},types:[{t:m.Types.Null,f:y},{t:m.Types.Number,f:b},{t:m.Types.String,f:I},{t:m.Types.Date,f:B},{t:m.Types.Hyperlink,f:S},{t:m.Types.Formula,f:D},{t:m.Types.Merge,f:_},{t:m.Types.JSON,f:H},{t:m.Types.SharedString,f:T},{t:m.Types.RichText,f:E},{t:m.Types.Boolean,f:F},{t:m.Types.Error,f:N}].reduce(function(V,te){return V[te.t]=te.f,V},[]),create:function(V,te,ue){var fe=this.types[V];if(!fe)throw new Error("Could not create Value of type ".concat(V));return new fe(te,ue)}};c.exports=m},{"../utils/col-cache":19,"../utils/shared-formula":23,"../utils/under-dash":26,"./enums":7,"./note":9}],4:[function(a,c,u){var h=a("../utils/under-dash"),d=a("./enums"),p=a("../utils/col-cache"),g=9,A=function(){function m(y,b,I){Et(this,m),this._worksheet=y,this._number=b,I!==!1&&(this.defn=I)}return xt(m,[{key:"number",get:function(){return this._number}},{key:"worksheet",get:function(){return this._worksheet}},{key:"letter",get:function(){return p.n2l(this._number)}},{key:"isCustomWidth",get:function(){return this.width!==void 0&&this.width!==g}},{key:"defn",get:function(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}},set:function(y){y?(this.key=y.key,this.width=y.width!==void 0?y.width:g,this.outlineLevel=y.outlineLevel,y.style?this.style=y.style:this.style={},this.header=y.header,this._hidden=!!y.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}},{key:"headers",get:function(){return this._header&&this._header instanceof Array?this._header:[this._header]}},{key:"header",get:function(){return this._header},set:function(y){var b=this;y!==void 0?(this._header=y,this.headers.forEach(function(I,E){b._worksheet.getCell(E+1,b.number).value=I})):this._header=void 0}},{key:"key",get:function(){return this._key},set:function(y){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=y,y&&this._worksheet.setColumnKey(this._key,this)}},{key:"hidden",get:function(){return!!this._hidden},set:function(y){this._hidden=y}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(y){this._outlineLevel=y}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}},{key:"toString",value:function(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}},{key:"equivalentTo",value:function(y){return this.width===y.width&&this.hidden===y.hidden&&this.outlineLevel===y.outlineLevel&&h.isEqual(this.style,y.style)}},{key:"isDefault",get:function(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;var y=this.style;return!y||!(y.font||y.numFmt||y.alignment||y.border||y.fill||y.protection)}},{key:"headerCount",get:function(){return this.headers.length}},{key:"eachCell",value:function(y,b){var I=this.number;b||(b=y,y=null),this._worksheet.eachRow(y,function(E,B){b(E.getCell(I),B)})}},{key:"values",get:function(){var y=[];return this.eachCell(function(b,I){b&&b.type!==d.ValueType.Null&&(y[I]=b.value)}),y},set:function(y){var b=this;if(y){var I=this.number,E=0;y.hasOwnProperty("0")&&(E=1),y.forEach(function(B,S){b._worksheet.getCell(S+E,I).value=B})}}},{key:"_applyStyle",value:function(y,b){return this.style[y]=b,this.eachCell(function(I){I[y]=b}),b}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(y){this._applyStyle("numFmt",y)}},{key:"font",get:function(){return this.style.font},set:function(y){this._applyStyle("font",y)}},{key:"alignment",get:function(){return this.style.alignment},set:function(y){this._applyStyle("alignment",y)}},{key:"protection",get:function(){return this.style.protection},set:function(y){this._applyStyle("protection",y)}},{key:"border",get:function(){return this.style.border},set:function(y){this._applyStyle("border",y)}},{key:"fill",get:function(){return this.style.fill},set:function(y){this._applyStyle("fill",y)}}],[{key:"toModel",value:function(y){var b=[],I=null;return y&&y.forEach(function(E,B){E.isDefault?I&&(I=null):I&&E.equivalentTo(I)?I.max=B+1:(I={min:B+1,max:B+1,width:E.width!==void 0?E.width:g,style:E.style,isCustomWidth:E.isCustomWidth,hidden:E.hidden,outlineLevel:E.outlineLevel,collapsed:E.collapsed},b.push(I))}),b.length?b:void 0}},{key:"fromModel",value:function(y,b){var I=[],E=1,B=0;for(b=(b=b||[]).sort(function(_,D){return _.min-D.min});B<b.length;){for(var S=b[B++];E<S.min;)I.push(new m(y,E++));for(;E<=S.max;)I.push(new m(y,E++,S))}return I.length?I:null}}])}();c.exports=A},{"../utils/col-cache":19,"../utils/under-dash":26,"./enums":7}],5:[function(a,c,u){var h=function(){function d(p){Et(this,d),this.model=p||{}}return xt(d,[{key:"add",value:function(p,g){return this.model[p]=g}},{key:"find",value:function(p){return this.model[p]}},{key:"remove",value:function(p){this.model[p]=void 0}}])}();c.exports=h},{}],6:[function(a,c,u){var h=a("../utils/under-dash"),d=a("../utils/col-cache"),p=a("../utils/cell-matrix"),g=a("./range"),A=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/,m=function(){function y(){Et(this,y),this.matrixMap={}}return xt(y,[{key:"getMatrix",value:function(b){return this.matrixMap[b]||(this.matrixMap[b]=new p)}},{key:"add",value:function(b,I){var E=d.decodeEx(b);this.addEx(E,I)}},{key:"addEx",value:function(b,I){var E=this.getMatrix(I);if(b.top)for(var B=b.left;B<=b.right;B++)for(var S=b.top;S<=b.bottom;S++){var _={sheetName:b.sheetName,address:d.n2l(B)+S,row:S,col:B};E.addCellEx(_)}else E.addCellEx(b)}},{key:"remove",value:function(b,I){var E=d.decodeEx(b);this.removeEx(E,I)}},{key:"removeEx",value:function(b,I){this.getMatrix(I).removeCellEx(b)}},{key:"removeAllNames",value:function(b){h.each(this.matrixMap,function(I){I.removeCellEx(b)})}},{key:"forEach",value:function(b){h.each(this.matrixMap,function(I,E){I.forEach(function(B){b(E,B)})})}},{key:"getNames",value:function(b){return this.getNamesEx(d.decodeEx(b))}},{key:"getNamesEx",value:function(b){return h.map(this.matrixMap,function(I,E){return I.findCellEx(b)&&E}).filter(Boolean)}},{key:"_explore",value:function(b,I){I.mark=!1;var E,B,S=I.sheetName,_=new g(I.row,I.col,I.row,I.col,S);function D(F,N){var H=b.findCellAt(S,F,I.col);return!(!H||!H.mark||(_[N]=F,H.mark=!1,0))}for(B=I.row-1;D(B,"top");B--);for(B=I.row+1;D(B,"bottom");B++);function T(F,N){var H=[];for(B=_.top;B<=_.bottom;B++){var W=b.findCellAt(S,B,F);if(!W||!W.mark)return!1;H.push(W)}_[N]=F;for(var V=0;V<H.length;V++)H[V].mark=!1;return!0}for(E=I.col-1;T(E,"left");E--);for(E=I.col+1;T(E,"right");E++);return _}},{key:"getRanges",value:function(b,I){var E=this;return(I=I||this.matrixMap[b])?(I.forEach(function(B){B.mark=!0}),{name:b,ranges:I.map(function(B){return B.mark&&E._explore(I,B)}).filter(Boolean).map(function(B){return B.$shortRange})}):{name:b,ranges:[]}}},{key:"normaliseMatrix",value:function(b,I){b.forEachInSheet(I,function(E,B,S){E&&(E.row===B&&E.col===S||(E.row=B,E.col=S,E.address=d.n2l(S)+B))})}},{key:"spliceRows",value:function(b,I,E,B){var S=this;h.each(this.matrixMap,function(_){_.spliceRows(b,I,E,B),S.normaliseMatrix(_,b)})}},{key:"spliceColumns",value:function(b,I,E,B){var S=this;h.each(this.matrixMap,function(_){_.spliceColumns(b,I,E,B),S.normaliseMatrix(_,b)})}},{key:"model",get:function(){var b=this;return h.map(this.matrixMap,function(I,E){return b.getRanges(E,I)}).filter(function(I){return I.ranges.length})},set:function(b){var I=this.matrixMap={};b.forEach(function(E){var B=I[E.name]=new p;E.ranges.forEach(function(S){A.test(S.split("!").pop()||"")&&B.addCell(S)})})}}])}();c.exports=m},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":26,"./range":10}],7:[function(a,c,u){c.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(a,c,u){var h=a("../utils/col-cache"),d=a("./anchor"),p=function(){function g(A,m){Et(this,g),this.worksheet=A,this.model=m}return xt(g,[{key:"model",get:function(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}},set:function(A){var m=A.type,y=A.imageId,b=A.range,I=A.hyperlinks;if(this.type=m,this.imageId=y,m==="image")if(typeof b=="string"){var E=h.decode(b);this.range={tl:new d(this.worksheet,{col:E.left,row:E.top},-1),br:new d(this.worksheet,{col:E.right,row:E.bottom},0),editAs:"oneCell"}}else this.range={tl:new d(this.worksheet,b.tl,0),br:b.br&&new d(this.worksheet,b.br,0),ext:b.ext,editAs:b.editAs,hyperlinks:I||b.hyperlinks}}}])}();c.exports=p},{"../utils/col-cache":19,"./anchor":2}],9:[function(a,c,u){var h=a("../utils/under-dash"),d=function(){function p(g){Et(this,p),this.note=g}return xt(p,[{key:"model",get:function(){var g=null;return g=typeof this.note=="string"?{type:"note",note:{texts:[{text:this.note}]}}:{type:"note",note:this.note},h.deepMerge({},p.DEFAULT_CONFIGS,g)},set:function(g){var A=g.note,m=A.texts;m.length===1&&Object.keys(m[0]).length===1?this.note=m[0].text:this.note=A}}],[{key:"fromModel",value:function(g){var A=new p;return A.model=g,A}}])}();d.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},c.exports=d},{"../utils/under-dash":26}],10:[function(a,c,u){var h=a("../utils/col-cache"),d=function(){function p(){Et(this,p),this.decode(arguments)}return xt(p,[{key:"setTLBR",value:function(g,A,m,y,b){if(arguments.length<4){var I=h.decodeAddress(g),E=h.decodeAddress(A);this.model={top:Math.min(I.row,E.row),left:Math.min(I.col,E.col),bottom:Math.max(I.row,E.row),right:Math.max(I.col,E.col),sheetName:m},this.setTLBR(I.row,I.col,E.row,E.col,b)}else this.model={top:Math.min(g,m),left:Math.min(A,y),bottom:Math.max(g,m),right:Math.max(A,y),sheetName:b}}},{key:"decode",value:function(g){switch(g.length){case 5:this.setTLBR(g[0],g[1],g[2],g[3],g[4]);break;case 4:this.setTLBR(g[0],g[1],g[2],g[3]);break;case 3:this.setTLBR(g[0],g[1],g[2]);break;case 2:this.setTLBR(g[0],g[1]);break;case 1:var A=g[0];if(A instanceof p)this.model={top:A.model.top,left:A.model.left,bottom:A.model.bottom,right:A.model.right,sheetName:A.sheetName};else if(A instanceof Array)this.decode(A);else if(A.top&&A.left&&A.bottom&&A.right)this.model={top:A.top,left:A.left,bottom:A.bottom,right:A.right,sheetName:A.sheetName};else{var m=h.decodeEx(A);m.top?this.model={top:m.top,left:m.left,bottom:m.bottom,right:m.right,sheetName:m.sheetName}:this.model={top:m.row,left:m.col,bottom:m.row,right:m.col,sheetName:m.sheetName}}break;case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - ".concat(g.length))}}},{key:"top",get:function(){return this.model.top||1},set:function(g){this.model.top=g}},{key:"left",get:function(){return this.model.left||1},set:function(g){this.model.left=g}},{key:"bottom",get:function(){return this.model.bottom||1},set:function(g){this.model.bottom=g}},{key:"right",get:function(){return this.model.right||1},set:function(g){this.model.right=g}},{key:"sheetName",get:function(){return this.model.sheetName},set:function(g){this.model.sheetName=g}},{key:"_serialisedSheetName",get:function(){var g=this.model.sheetName;return g?/^[a-zA-Z0-9]*$/.test(g)?"".concat(g,"!"):"'".concat(g,"'!"):""}},{key:"expand",value:function(g,A,m,y){(!this.model.top||g<this.top)&&(this.top=g),(!this.model.left||A<this.left)&&(this.left=A),(!this.model.bottom||m>this.bottom)&&(this.bottom=m),(!this.model.right||y>this.right)&&(this.right=y)}},{key:"expandRow",value:function(g){if(g){var A=g.dimensions,m=g.number;A&&this.expand(m,A.min,m,A.max)}}},{key:"expandToAddress",value:function(g){var A=h.decodeEx(g);this.expand(A.row,A.col,A.row,A.col)}},{key:"tl",get:function(){return h.n2l(this.left)+this.top}},{key:"$t$l",get:function(){return"$".concat(h.n2l(this.left),"$").concat(this.top)}},{key:"br",get:function(){return h.n2l(this.right)+this.bottom}},{key:"$b$r",get:function(){return"$".concat(h.n2l(this.right),"$").concat(this.bottom)}},{key:"range",get:function(){return"".concat(this._serialisedSheetName+this.tl,":").concat(this.br)}},{key:"$range",get:function(){return"".concat(this._serialisedSheetName+this.$t$l,":").concat(this.$b$r)}},{key:"shortRange",get:function(){return this.count>1?this.range:this._serialisedSheetName+this.tl}},{key:"$shortRange",get:function(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}},{key:"count",get:function(){return(1+this.bottom-this.top)*(1+this.right-this.left)}},{key:"toString",value:function(){return this.range}},{key:"intersects",value:function(g){return!(g.sheetName&&this.sheetName&&g.sheetName!==this.sheetName||g.bottom<this.top||g.top>this.bottom||g.right<this.left||g.left>this.right)}},{key:"contains",value:function(g){var A=h.decodeEx(g);return this.containsEx(A)}},{key:"containsEx",value:function(g){return(!g.sheetName||!this.sheetName||g.sheetName===this.sheetName)&&g.row>=this.top&&g.row<=this.bottom&&g.col>=this.left&&g.col<=this.right}},{key:"forEachAddress",value:function(g){for(var A=this.left;A<=this.right;A++)for(var m=this.top;m<=this.bottom;m++)g(h.encodeAddress(m,A),m,A)}}])}();c.exports=d},{"../utils/col-cache":19}],11:[function(a,c,u){var h=a("../utils/under-dash"),d=a("./enums"),p=a("../utils/col-cache"),g=a("./cell"),A=function(){function m(y,b){Et(this,m),this._worksheet=y,this._number=b,this._cells=[],this.style={},this.outlineLevel=0}return xt(m,[{key:"number",get:function(){return this._number}},{key:"worksheet",get:function(){return this._worksheet}},{key:"commit",value:function(){this._worksheet._commitRow(this)}},{key:"destroy",value:function(){delete this._worksheet,delete this._cells,delete this.style}},{key:"findCell",value:function(y){return this._cells[y-1]}},{key:"getCellEx",value:function(y){var b=this._cells[y.col-1];if(!b){var I=this._worksheet.getColumn(y.col);b=new g(this,I,y.address),this._cells[y.col-1]=b}return b}},{key:"getCell",value:function(y){if(typeof y=="string"){var b=this._worksheet.getColumnKey(y);y=b?b.number:p.l2n(y)}return this._cells[y-1]||this.getCellEx({address:p.encodeAddress(this._number,y),row:this._number,col:y})}},{key:"splice",value:function(y,b){for(var I=y+b,E=arguments.length,B=new Array(E>2?E-2:0),S=2;S<E;S++)B[S-2]=arguments[S];var _,D,T,F=B.length-b,N=this._cells.length;if(F<0)for(_=y+B.length;_<=N;_++)T=this._cells[_-1],(D=this._cells[_-F-1])?((T=this.getCell(_)).value=D.value,T.style=D.style,T._comment=D._comment):T&&(T.value=null,T.style={},T._comment=void 0);else if(F>0)for(_=N;_>=I;_--)(D=this._cells[_-1])?((T=this.getCell(_+F)).value=D.value,T.style=D.style,T._comment=D._comment):this._cells[_+F-1]=void 0;for(_=0;_<B.length;_++)(T=this.getCell(y+_)).value=B[_],T.style={},T._comment=void 0}},{key:"eachCell",value:function(y,b){if(b||(b=y,y=null),y&&y.includeEmpty)for(var I=this._cells.length,E=1;E<=I;E++)b(this.getCell(E),E);else this._cells.forEach(function(B,S){B&&B.type!==d.ValueType.Null&&b(B,S+1)})}},{key:"addPageBreak",value:function(y,b){var I=this._worksheet,E=Math.max(0,y-1)||0,B=Math.max(0,b-1)||16838,S={id:this._number,max:B,man:1};E&&(S.min=E),I.rowBreaks.push(S)}},{key:"values",get:function(){var y=[];return this._cells.forEach(function(b){b&&b.type!==d.ValueType.Null&&(y[b.col]=b.value)}),y},set:function(y){var b=this;if(this._cells=[],y)if(y instanceof Array){var I=0;y.hasOwnProperty("0")&&(I=1),y.forEach(function(E,B){E!==void 0&&(b.getCellEx({address:p.encodeAddress(b._number,B+I),row:b._number,col:B+I}).value=E)})}else this._worksheet.eachColumnKey(function(E,B){y[B]!==void 0&&(b.getCellEx({address:p.encodeAddress(b._number,E.number),row:b._number,col:E.number}).value=y[B])})}},{key:"hasValues",get:function(){return h.some(this._cells,function(y){return y&&y.type!==d.ValueType.Null})}},{key:"cellCount",get:function(){return this._cells.length}},{key:"actualCellCount",get:function(){var y=0;return this.eachCell(function(){y++}),y}},{key:"dimensions",get:function(){var y=0,b=0;return this._cells.forEach(function(I){I&&I.type!==d.ValueType.Null&&((!y||y>I.col)&&(y=I.col),b<I.col&&(b=I.col))}),y>0?{min:y,max:b}:null}},{key:"_applyStyle",value:function(y,b){return this.style[y]=b,this._cells.forEach(function(I){I&&(I[y]=b)}),b}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(y){this._applyStyle("numFmt",y)}},{key:"font",get:function(){return this.style.font},set:function(y){this._applyStyle("font",y)}},{key:"alignment",get:function(){return this.style.alignment},set:function(y){this._applyStyle("alignment",y)}},{key:"protection",get:function(){return this.style.protection},set:function(y){this._applyStyle("protection",y)}},{key:"border",get:function(){return this.style.border},set:function(y){this._applyStyle("border",y)}},{key:"fill",get:function(){return this.style.fill},set:function(y){this._applyStyle("fill",y)}},{key:"hidden",get:function(){return!!this._hidden},set:function(y){this._hidden=y}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(y){this._outlineLevel=y}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}},{key:"model",get:function(){var y=[],b=0,I=0;return this._cells.forEach(function(E){if(E){var B=E.model;B&&((!b||b>E.col)&&(b=E.col),I<E.col&&(I=E.col),y.push(B))}}),this.height||y.length?{cells:y,number:this.number,min:b,max:I,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null},set:function(y){var b,I=this;if(y.number!==this._number)throw new Error("Invalid row number in model");this._cells=[],y.cells.forEach(function(E){if(E.type!==g.Types.Merge){var B;if(E.address)B=p.decodeAddress(E.address);else if(b){var S=b.row,_=b.col+1;B={row:S,col:_,address:p.encodeAddress(S,_),$col$row:"$".concat(p.n2l(_),"$").concat(S)}}b=B,I.getCellEx(B).model=E}}),y.height?this.height=y.height:delete this.height,this.hidden=y.hidden,this.outlineLevel=y.outlineLevel||0,this.style=y.style&&JSON.parse(JSON.stringify(y.style))||{}}}])}();c.exports=A},{"../utils/col-cache":19,"../utils/under-dash":26,"./cell":3,"./enums":7}],12:[function(a,c,u){var h=a("../utils/col-cache"),d=function(){function g(A,m,y){Et(this,g),this.table=A,this.column=m,this.index=y}return xt(g,[{key:"_set",value:function(A,m){this.table.cacheState(),this.column[A]=m}},{key:"name",get:function(){return this.column.name},set:function(A){this._set("name",A)}},{key:"filterButton",get:function(){return this.column.filterButton},set:function(A){this.column.filterButton=A}},{key:"style",get:function(){return this.column.style},set:function(A){this.column.style=A}},{key:"totalsRowLabel",get:function(){return this.column.totalsRowLabel},set:function(A){this._set("totalsRowLabel",A)}},{key:"totalsRowFunction",get:function(){return this.column.totalsRowFunction},set:function(A){this._set("totalsRowFunction",A)}},{key:"totalsRowResult",get:function(){return this.column.totalsRowResult},set:function(A){this._set("totalsRowResult",A)}},{key:"totalsRowFormula",get:function(){return this.column.totalsRowFormula},set:function(A){this._set("totalsRowFormula",A)}}])}(),p=function(){function g(A,m){Et(this,g),this.worksheet=A,m&&(this.table=m,this.validate(),this.store())}return xt(g,[{key:"getFormula",value:function(A){switch(A.totalsRowFunction){case"none":return null;case"average":return"SUBTOTAL(101,".concat(this.table.name,"[").concat(A.name,"])");case"countNums":return"SUBTOTAL(102,".concat(this.table.name,"[").concat(A.name,"])");case"count":return"SUBTOTAL(103,".concat(this.table.name,"[").concat(A.name,"])");case"max":return"SUBTOTAL(104,".concat(this.table.name,"[").concat(A.name,"])");case"min":return"SUBTOTAL(105,".concat(this.table.name,"[").concat(A.name,"])");case"stdDev":return"SUBTOTAL(106,".concat(this.table.name,"[").concat(A.name,"])");case"var":return"SUBTOTAL(107,".concat(this.table.name,"[").concat(A.name,"])");case"sum":return"SUBTOTAL(109,".concat(this.table.name,"[").concat(A.name,"])");case"custom":return A.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: ".concat(A.totalsRowFunction))}}},{key:"width",get:function(){return this.table.columns.length}},{key:"height",get:function(){return this.table.rows.length}},{key:"filterHeight",get:function(){return this.height+(this.table.headerRow?1:0)}},{key:"tableHeight",get:function(){return this.filterHeight+(this.table.totalsRow?1:0)}},{key:"validate",value:function(){var A=this,m=this.table,y=function(T,F,N){T[F]===void 0&&(T[F]=N)};y(m,"headerRow",!0),y(m,"totalsRow",!1),y(m,"style",{}),y(m.style,"theme","TableStyleMedium2"),y(m.style,"showFirstColumn",!1),y(m.style,"showLastColumn",!1),y(m.style,"showRowStripes",!1),y(m.style,"showColumnStripes",!1);var b=function(T,F){if(!T)throw new Error(F)};b(m.ref,"Table must have ref"),b(m.columns,"Table must have column definitions"),b(m.rows,"Table must have row definitions"),m.tl=h.decodeAddress(m.ref);var I=m.tl,E=I.row,B=I.col;b(E>0,"Table must be on valid row"),b(B>0,"Table must be on valid col");var S=this.width,_=this.filterHeight,D=this.tableHeight;m.autoFilterRef=h.encode(E,B,E+_-1,B+S-1),m.tableRef=h.encode(E,B,E+D-1,B+S-1),m.columns.forEach(function(T,F){b(T.name,"Column ".concat(F," must have a name")),F===0?y(T,"totalsRowLabel","Total"):(y(T,"totalsRowFunction","none"),T.totalsRowFormula=A.getFormula(T))})}},{key:"store",value:function(){var A=this,m=function(T,F){F&&Object.keys(F).forEach(function(N){T[N]=F[N]})},y=this.worksheet,b=this.table,I=b.tl,E=I.row,B=I.col,S=0;if(b.headerRow){var _=y.getRow(E+S++);b.columns.forEach(function(T,F){var N=T.style,H=T.name,W=_.getCell(B+F);W.value=H,m(W,N)})}if(b.rows.forEach(function(T){var F=y.getRow(E+S++);T.forEach(function(N,H){var W=F.getCell(B+H);W.value=N,m(W,b.columns[H].style)})}),b.totalsRow){var D=y.getRow(E+S++);b.columns.forEach(function(T,F){var N=D.getCell(B+F);if(F===0)N.value=T.totalsRowLabel;else{var H=A.getFormula(T);N.value=H?{formula:T.totalsRowFormula,result:T.totalsRowResult}:null}m(N,T.style)})}}},{key:"load",value:function(A){var m=this,y=this.table,b=y.tl,I=b.row,E=b.col,B=0;if(y.headerRow){var S=A.getRow(I+B++);y.columns.forEach(function(D,T){S.getCell(E+T).value=D.name})}if(y.rows.forEach(function(D){var T=A.getRow(I+B++);D.forEach(function(F,N){T.getCell(E+N).value=F})}),y.totalsRow){var _=A.getRow(I+B++);y.columns.forEach(function(D,T){var F=_.getCell(E+T);T===0?F.value=D.totalsRowLabel:m.getFormula(D)&&(F.value={formula:D.totalsRowFormula,result:D.totalsRowResult})})}}},{key:"model",get:function(){return this.table},set:function(A){this.table=A}},{key:"cacheState",value:function(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}},{key:"commit",value:function(){if(this._cache){this.validate();var A=h.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(var m=0;m<this._cache.tableHeight;m++)for(var y=this.worksheet.getRow(A.row+m),b=0;b<this._cache.width;b++)y.getCell(A.col+b).value=null;else{for(var I=this.tableHeight;I<this._cache.tableHeight;I++)for(var E=this.worksheet.getRow(A.row+I),B=0;B<this._cache.width;B++)E.getCell(A.col+B).value=null;for(var S=0;S<this.tableHeight;S++)for(var _=this.worksheet.getRow(A.row+S),D=this.width;D<this._cache.width;D++)_.getCell(A.col+D).value=null}this.store()}}},{key:"addRow",value:function(A,m){this.cacheState(),m===void 0?this.table.rows.push(A):this.table.rows.splice(m,0,A)}},{key:"removeRows",value:function(A){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(A,m)}},{key:"getColumn",value:function(A){var m=this.table.columns[A];return new d(this,m,A)}},{key:"addColumn",value:function(A,m,y){this.cacheState(),y===void 0?(this.table.columns.push(A),this.table.rows.forEach(function(b,I){b.push(m[I])})):(this.table.columns.splice(y,0,A),this.table.rows.forEach(function(b,I){b.splice(y,0,m[I])}))}},{key:"removeColumns",value:function(A){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(A,m),this.table.rows.forEach(function(y){y.splice(A,m)})}},{key:"_assign",value:function(A,m,y){this.cacheState(),A[m]=y}},{key:"ref",get:function(){return this.table.ref},set:function(A){this._assign(this.table,"ref",A)}},{key:"name",get:function(){return this.table.name},set:function(A){this.table.name=A}},{key:"displayName",get:function(){return this.table.displyName||this.table.name}},{key:"displayNamename",set:function(A){this.table.displayName=A}},{key:"headerRow",get:function(){return this.table.headerRow},set:function(A){this._assign(this.table,"headerRow",A)}},{key:"totalsRow",get:function(){return this.table.totalsRow},set:function(A){this._assign(this.table,"totalsRow",A)}},{key:"theme",get:function(){return this.table.style.name},set:function(A){this.table.style.name=A}},{key:"showFirstColumn",get:function(){return this.table.style.showFirstColumn},set:function(A){this.table.style.showFirstColumn=A}},{key:"showLastColumn",get:function(){return this.table.style.showLastColumn},set:function(A){this.table.style.showLastColumn=A}},{key:"showRowStripes",get:function(){return this.table.style.showRowStripes},set:function(A){this.table.style.showRowStripes=A}},{key:"showColumnStripes",get:function(){return this.table.style.showColumnStripes},set:function(A){this.table.style.showColumnStripes=A}}])}();c.exports=p},{"../utils/col-cache":19}],13:[function(a,c,u){var h=a("./worksheet"),d=a("./defined-names"),p=a("../xlsx/xlsx"),g=a("../csv/csv"),A=function(){function m(){Et(this,m),this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new d}return xt(m,[{key:"xlsx",get:function(){return this._xlsx||(this._xlsx=new p(this)),this._xlsx}},{key:"csv",get:function(){return this._csv||(this._csv=new g(this)),this._csv}},{key:"nextId",get:function(){for(var y=1;y<this._worksheets.length;y++)if(!this._worksheets[y])return y;return this._worksheets.length||1}},{key:"addWorksheet",value:function(y,b){var I=this.nextId;b&&(typeof b=="string"?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),b={properties:{tabColor:{argb:b}}}):(b.argb||b.theme||b.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),b={properties:{tabColor:b}}));var E=this._worksheets.reduce(function(_,D){return(D&&D.orderNo)>_?D.orderNo:_},0),B=Object.assign({},b,{id:I,name:y,orderNo:E+1,workbook:this}),S=new h(B);return this._worksheets[I]=S,S}},{key:"removeWorksheetEx",value:function(y){delete this._worksheets[y.id]}},{key:"removeWorksheet",value:function(y){var b=this.getWorksheet(y);b&&b.destroy()}},{key:"getWorksheet",value:function(y){return y===void 0?this._worksheets.find(Boolean):typeof y=="number"?this._worksheets[y]:typeof y=="string"?this._worksheets.find(function(b){return b&&b.name===y}):void 0}},{key:"worksheets",get:function(){return this._worksheets.slice(1).sort(function(y,b){return y.orderNo-b.orderNo}).filter(Boolean)}},{key:"eachSheet",value:function(y){this.worksheets.forEach(function(b){y(b,b.id)})}},{key:"definedNames",get:function(){return this._definedNames}},{key:"clearThemes",value:function(){this._themes=void 0}},{key:"addImage",value:function(y){var b=this.media.length;return this.media.push(Object.assign({},y,{type:"image"})),b}},{key:"getImage",value:function(y){return this.media[y]}},{key:"model",get:function(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(function(y){return y.model}),sheets:this.worksheets.map(function(y){return y.model}).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}},set:function(y){var b=this;this.creator=y.creator,this.lastModifiedBy=y.lastModifiedBy,this.lastPrinted=y.lastPrinted,this.created=y.created,this.modified=y.modified,this.company=y.company,this.manager=y.manager,this.title=y.title,this.subject=y.subject,this.keywords=y.keywords,this.category=y.category,this.description=y.description,this.language=y.language,this.revision=y.revision,this.contentStatus=y.contentStatus,this.properties=y.properties,this.calcProperties=y.calcProperties,this._worksheets=[],y.worksheets.forEach(function(I){var E=I.id,B=I.name,S=I.state,_=y.sheets&&y.sheets.findIndex(function(D){return D.id===E});(b._worksheets[E]=new h({id:E,name:B,orderNo:_,state:S,workbook:b})).model=I}),this._definedNames.model=y.definedNames,this.views=y.views,this._themes=y.themes,this.media=y.media||[]}}])}();c.exports=A},{"../csv/csv":1,"../xlsx/xlsx":144,"./defined-names":6,"./worksheet":14}],14:[function(a,c,u){var h=a("../utils/under-dash"),d=a("../utils/col-cache"),p=a("./range"),g=a("./row"),A=a("./column"),m=a("./enums"),y=a("./image"),b=a("./table"),I=a("./data-validations"),E=a("../utils/encryptor"),B=a("../utils/copy-style").copyStyle,S=function(){function _(D){Et(this,_),D=D||{},this._workbook=D.workbook,this.id=D.id,this.orderNo=D.orderNo,this.name=D.name,this.state=D.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},D.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!D.pageSetup||!D.pageSetup.fitToWidth&&!D.pageSetup.fitToHeight||D.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},D.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},D.headerFooter),this.dataValidations=new I,this.views=D.views||[],this.autoFilter=D.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}return xt(_,[{key:"name",get:function(){return this._name},set:function(D){if(D===void 0&&(D="sheet".concat(this.id)),this._name!==D){if(typeof D!="string")throw new Error("The name has to be a string.");if(D==="")throw new Error("The name can't be empty.");if(D==="History")throw new Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test(D))throw new Error("Worksheet name ".concat(D," cannot include any of the following characters: * ? : \\ / [ ]"));if(/(^')|('$)/.test(D))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: ".concat(D));if(D&&D.length>31&&(console.warn("Worksheet name ".concat(D," exceeds 31 chars. This will be truncated")),D=D.substring(0,31)),this._workbook._worksheets.find(function(T){return T&&T.name.toLowerCase()===D.toLowerCase()}))throw new Error("Worksheet name already exists: ".concat(D));this._name=D}}},{key:"workbook",get:function(){return this._workbook}},{key:"destroy",value:function(){this._workbook.removeWorksheetEx(this)}},{key:"dimensions",get:function(){var D=new p;return this._rows.forEach(function(T){if(T){var F=T.dimensions;F&&D.expand(T.number,F.min,T.number,F.max)}}),D}},{key:"columns",get:function(){return this._columns},set:function(D){var T=this;this._headerRowCount=D.reduce(function(H,W){var V=(W.header?1:W.headers&&W.headers.length)||0;return Math.max(H,V)},0);var F=1,N=this._columns=[];D.forEach(function(H){var W=new A(T,F++,!1);N.push(W),W.defn=H})}},{key:"getColumnKey",value:function(D){return this._keys[D]}},{key:"setColumnKey",value:function(D,T){this._keys[D]=T}},{key:"deleteColumnKey",value:function(D){delete this._keys[D]}},{key:"eachColumnKey",value:function(D){h.each(this._keys,D)}},{key:"getColumn",value:function(D){if(typeof D=="string"){var T=this._keys[D];if(T)return T;D=d.l2n(D)}if(this._columns||(this._columns=[]),D>this._columns.length)for(var F=this._columns.length+1;F<=D;)this._columns.push(new A(this,F++));return this._columns[D-1]}},{key:"spliceColumns",value:function(D,T){for(var F=this,N=this._rows.length,H=arguments.length,W=new Array(H>2?H-2:0),V=2;V<H;V++)W[V-2]=arguments[V];if(W.length>0)for(var te=function(j){var J=[D,T];W.forEach(function(z){J.push(z[j]||null)});var q=F.getRow(j+1);q.splice.apply(q,J)},ue=0;ue<N;ue++)te(ue);else this._rows.forEach(function(j){j&&j.splice(D,T)});var fe=W.length-T,de=D+T,Ae=this._columns.length;if(fe<0)for(var we=D+W.length;we<=Ae;we++)this.getColumn(we).defn=this.getColumn(we-fe).defn;else if(fe>0)for(var Z=Ae;Z>=de;Z--)this.getColumn(Z+fe).defn=this.getColumn(Z).defn;for(var ne=D;ne<D+W.length;ne++)this.getColumn(ne).defn=null;this.workbook.definedNames.spliceColumns(this.name,D,T,W.length)}},{key:"lastColumn",get:function(){return this.getColumn(this.columnCount)}},{key:"columnCount",get:function(){var D=0;return this.eachRow(function(T){D=Math.max(D,T.cellCount)}),D}},{key:"actualColumnCount",get:function(){var D=[],T=0;return this.eachRow(function(F){F.eachCell(function(N){var H=N.col;D[H]||(D[H]=!0,T++)})}),T}},{key:"_commitRow",value:function(){}},{key:"_lastRowNumber",get:function(){for(var D=this._rows,T=D.length;T>0&&D[T-1]===void 0;)T--;return T}},{key:"_nextRow",get:function(){return this._lastRowNumber+1}},{key:"lastRow",get:function(){if(this._rows.length)return this._rows[this._rows.length-1]}},{key:"findRow",value:function(D){return this._rows[D-1]}},{key:"findRows",value:function(D,T){return this._rows.slice(D-1,D-1+T)}},{key:"rowCount",get:function(){return this._lastRowNumber}},{key:"actualRowCount",get:function(){var D=0;return this.eachRow(function(){D++}),D}},{key:"getRow",value:function(D){var T=this._rows[D-1];return T||(T=this._rows[D-1]=new g(this,D)),T}},{key:"getRows",value:function(D,T){if(!(T<1)){for(var F=[],N=D;N<D+T;N++)F.push(this.getRow(N));return F}}},{key:"addRow",value:function(D){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n",F=this._nextRow,N=this.getRow(F);return N.values=D,this._setStyleOption(F,T[0]==="i"?T:"n"),N}},{key:"addRows",value:function(D){var T=this,F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n",N=[];return D.forEach(function(H){N.push(T.addRow(H,F))}),N}},{key:"insertRow",value:function(D,T){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";return this.spliceRows(D,0,T),this._setStyleOption(D,F),this.getRow(D)}},{key:"insertRows",value:function(D,T){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";if(this.spliceRows.apply(this,[D,0].concat(Ni(T))),F!=="n")for(var N=0;N<T.length;N++)F[0]==="o"&&this.findRow(T.length+D+N)!==void 0?this._copyStyle(T.length+D+N,D+N,F[1]==="+"):F[0]==="i"&&this.findRow(D-1)!==void 0&&this._copyStyle(D-1,D+N,F[1]==="+");return this.getRows(D,T.length)}},{key:"_setStyleOption",value:function(D){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n";T[0]==="o"&&this.findRow(D+1)!==void 0?this._copyStyle(D+1,D,T[1]==="+"):T[0]==="i"&&this.findRow(D-1)!==void 0&&this._copyStyle(D-1,D,T[1]==="+")}},{key:"_copyStyle",value:function(D,T){var F=arguments.length>2&&arguments[2]!==void 0&&arguments[2],N=this.getRow(D),H=this.getRow(T);H.style=B(N.style),N.eachCell({includeEmpty:F},function(W,V){H.getCell(V).style=B(W.style)}),H.height=N.height}},{key:"duplicateRow",value:function(D,T){var F=this,N=arguments.length>2&&arguments[2]!==void 0&&arguments[2],H=this._rows[D-1],W=new Array(T).fill(H.values);this.spliceRows.apply(this,[D+1,N?0:T].concat(Ni(W)));for(var V=function(){var ue=F._rows[D+te];ue.style=H.style,ue.height=H.height,H.eachCell({includeEmpty:!0},function(fe,de){ue.getCell(de).style=fe.style})},te=0;te<T;te++)V()}},{key:"spliceRows",value:function(D,T){for(var F=this,N=D+T,H=arguments.length,W=new Array(H>2?H-2:0),V=2;V<H;V++)W[V-2]=arguments[V];var te,ue,fe=W.length,de=fe-T,Ae=this._rows.length;if(de<0){D===Ae&&(this._rows[Ae-1]=void 0);var we=function(){if(ue=F._rows[te-1]){var j=F.getRow(te+de);j.values=ue.values,j.style=ue.style,j.height=ue.height,ue.eachCell({includeEmpty:!0},function(J,q){j.getCell(q).style=J.style}),F._rows[te-1]=void 0}else F._rows[te+de-1]=void 0};for(te=N;te<=Ae;te++)we()}else if(de>0){var Z=function(){if(ue=F._rows[te-1]){var j=F.getRow(te+de);j.values=ue.values,j.style=ue.style,j.height=ue.height,ue.eachCell({includeEmpty:!0},function(J,q){if(j.getCell(q).style=J.style,J._value.constructor.name==="MergeValue"){var z=F.getRow(J._row._number+fe).getCell(q),X=J._value._master,se=F.getRow(X._row._number+fe).getCell(X._column._number);z.merge(se)}})}else F._rows[te+de-1]=void 0};for(te=Ae;te>=N;te--)Z()}for(te=0;te<fe;te++){var ne=this.getRow(D+te);ne.style={},ne.values=W[te]}this.workbook.definedNames.spliceRows(this.name,D,T,fe)}},{key:"eachRow",value:function(D,T){if(T||(T=D,D=void 0),D&&D.includeEmpty)for(var F=this._rows.length,N=1;N<=F;N++)T(this.getRow(N),N);else this._rows.forEach(function(H){H&&H.hasValues&&T(H,H.number)})}},{key:"getSheetValues",value:function(){var D=[];return this._rows.forEach(function(T){T&&(D[T.number]=T.values)}),D}},{key:"findCell",value:function(D,T){var F=d.getAddress(D,T),N=this._rows[F.row-1];return N?N.findCell(F.col):void 0}},{key:"getCell",value:function(D,T){var F=d.getAddress(D,T);return this.getRow(F.row).getCellEx(F)}},{key:"mergeCells",value:function(){for(var D=arguments.length,T=new Array(D),F=0;F<D;F++)T[F]=arguments[F];var N=new p(T);this._mergeCellsInternal(N)}},{key:"mergeCellsWithoutStyle",value:function(){for(var D=arguments.length,T=new Array(D),F=0;F<D;F++)T[F]=arguments[F];var N=new p(T);this._mergeCellsInternal(N,!0)}},{key:"_mergeCellsInternal",value:function(D,T){h.each(this._merges,function(W){if(W.intersects(D))throw new Error("Cannot merge already merged cells")});for(var F=this.getCell(D.top,D.left),N=D.top;N<=D.bottom;N++)for(var H=D.left;H<=D.right;H++)(N>D.top||H>D.left)&&this.getCell(N,H).merge(F,T);this._merges[F.address]=D}},{key:"_unMergeMaster",value:function(D){var T=this._merges[D.address];if(T){for(var F=T.top;F<=T.bottom;F++)for(var N=T.left;N<=T.right;N++)this.getCell(F,N).unmerge();delete this._merges[D.address]}}},{key:"hasMerges",get:function(){return h.some(this._merges,Boolean)}},{key:"unMergeCells",value:function(){for(var D=arguments.length,T=new Array(D),F=0;F<D;F++)T[F]=arguments[F];for(var N=new p(T),H=N.top;H<=N.bottom;H++)for(var W=N.left;W<=N.right;W++){var V=this.findCell(H,W);V&&(V.type===m.ValueType.Merge?this._unMergeMaster(V.master):this._merges[V.address]&&this._unMergeMaster(V))}}},{key:"fillFormula",value:function(D,T,F){var N,H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"shared",W=d.decode(D),V=W.top,te=W.left,ue=W.bottom,fe=W.right,de=fe-te+1,Ae=d.encodeAddress(V,te),we=H==="shared";N=typeof F=="function"?F:Array.isArray(F)?Array.isArray(F[0])?function(J,q){return F[J-V][q-te]}:function(J,q){return F[(J-V)*de+(q-te)]}:function(){};for(var Z=!0,ne=V;ne<=ue;ne++)for(var j=te;j<=fe;j++)Z?(this.getCell(ne,j).value={shareType:H,formula:T,ref:D,result:N(ne,j)},Z=!1):this.getCell(ne,j).value=we?{sharedFormula:Ae,result:N(ne,j)}:N(ne,j)}},{key:"addImage",value:function(D,T){var F={type:"image",imageId:D,range:T};this._media.push(new y(this,F))}},{key:"getImages",value:function(){return this._media.filter(function(D){return D.type==="image"})}},{key:"addBackgroundImage",value:function(D){var T={type:"background",imageId:D};this._media.push(new y(this,T))}},{key:"getBackgroundImageId",value:function(){var D=this._media.find(function(T){return T.type==="background"});return D&&D.imageId}},{key:"protect",value:function(D,T){var F=this;return new Promise(function(N){F.sheetProtection={sheet:!0},T&&"spinCount"in T&&(T.spinCount=Number.isFinite(T.spinCount)?Math.round(Math.max(0,T.spinCount)):1e5),D&&(F.sheetProtection.algorithmName="SHA-512",F.sheetProtection.saltValue=E.randomBytes(16).toString("base64"),F.sheetProtection.spinCount=T&&"spinCount"in T?T.spinCount:1e5,F.sheetProtection.hashValue=E.convertPasswordToHash(D,"SHA512",F.sheetProtection.saltValue,F.sheetProtection.spinCount)),T&&(F.sheetProtection=Object.assign(F.sheetProtection,T),!D&&"spinCount"in T&&delete F.sheetProtection.spinCount),N()})}},{key:"unprotect",value:function(){this.sheetProtection=null}},{key:"addTable",value:function(D){var T=new b(this,D);return this.tables[D.name]=T,T}},{key:"getTable",value:function(D){return this.tables[D]}},{key:"removeTable",value:function(D){delete this.tables[D]}},{key:"getTables",value:function(){return Object.values(this.tables)}},{key:"addConditionalFormatting",value:function(D){this.conditionalFormattings.push(D)}},{key:"removeConditionalFormatting",value:function(D){typeof D=="number"?this.conditionalFormattings.splice(D,1):this.conditionalFormattings=D instanceof Function?this.conditionalFormattings.filter(D):[]}},{key:"tabColor",get:function(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor},set:function(D){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=D}},{key:"model",get:function(){var D={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(function(N){return N.model}),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(function(N){return N.model}),conditionalFormattings:this.conditionalFormattings};D.cols=A.toModel(this.columns);var T=D.rows=[],F=D.dimensions=new p;return this._rows.forEach(function(N){var H=N&&N.model;H&&(F.expand(H.number,H.min,H.number,H.max),T.push(H))}),D.merges=[],h.each(this._merges,function(N){D.merges.push(N.range)}),D},set:function(D){var T=this;this.name=D.name,this._columns=A.fromModel(this,D.cols),this._parseRows(D),this._parseMergeCells(D),this.dataValidations=new I(D.dataValidations),this.properties=D.properties,this.pageSetup=D.pageSetup,this.headerFooter=D.headerFooter,this.views=D.views,this.autoFilter=D.autoFilter,this._media=D.media.map(function(F){return new y(T,F)}),this.sheetProtection=D.sheetProtection,this.tables=D.tables.reduce(function(F,N){var H=new b;return H.model=N,F[N.name]=H,F},{}),this.conditionalFormattings=D.conditionalFormattings}},{key:"_parseRows",value:function(D){var T=this;this._rows=[],D.rows.forEach(function(F){var N=new g(T,F.number);T._rows[N.number-1]=N,N.model=F})}},{key:"_parseMergeCells",value:function(D){var T=this;h.each(D.mergeCells,function(F){T.mergeCellsWithoutStyle(F)})}}])}();c.exports=S},{"../utils/col-cache":19,"../utils/copy-style":20,"../utils/encryptor":21,"../utils/under-dash":26,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(a,c,u){a("core-js/modules/es.promise"),a("core-js/modules/es.promise.finally"),a("core-js/modules/es.object.assign"),a("core-js/modules/es.object.keys"),a("core-js/modules/es.object.values"),a("core-js/modules/es.symbol"),a("core-js/modules/es.symbol.async-iterator"),a("core-js/modules/es.array.iterator"),a("core-js/modules/es.array.includes"),a("core-js/modules/es.array.find-index"),a("core-js/modules/es.array.find"),a("core-js/modules/es.string.from-code-point"),a("core-js/modules/es.string.includes"),a("core-js/modules/es.number.is-nan"),a("regenerator-runtime/runtime");var h={Workbook:a("./doc/workbook")},d=a("./doc/enums");Object.keys(d).forEach(function(p){h[p]=d[p]}),c.exports=h},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":359,"core-js/modules/es.array.find-index":358,"core-js/modules/es.array.includes":360,"core-js/modules/es.array.iterator":361,"core-js/modules/es.number.is-nan":363,"core-js/modules/es.object.assign":364,"core-js/modules/es.object.keys":366,"core-js/modules/es.object.values":367,"core-js/modules/es.promise":372,"core-js/modules/es.promise.finally":371,"core-js/modules/es.string.from-code-point":376,"core-js/modules/es.string.includes":377,"core-js/modules/es.symbol":381,"core-js/modules/es.symbol.async-iterator":378,"regenerator-runtime/runtime":492}],16:[function(a,c,u){var h=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");function d(p){return typeof p=="string"?p:h?h.decode(p):p.toString()}u.bufferToString=d},{}],17:[function(a,c,u){var h=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),d=a("buffer").Buffer;function p(g){return typeof g!="string"?g:h?d.from(h.encode(g).buffer):d.from(g)}u.stringToBuffer=p},{buffer:220}],18:[function(a,c,u){var h=a("./under-dash"),d=a("./col-cache"),p=function(){function g(A){Et(this,g),this.template=A,this.sheets={}}return xt(g,[{key:"addCell",value:function(A){this.addCellEx(d.decodeEx(A))}},{key:"getCell",value:function(A){return this.findCellEx(d.decodeEx(A),!0)}},{key:"findCell",value:function(A){return this.findCellEx(d.decodeEx(A),!1)}},{key:"findCellAt",value:function(A,m,y){var b=this.sheets[A],I=b&&b[m];return I&&I[y]}},{key:"addCellEx",value:function(A){if(A.top)for(var m=A.top;m<=A.bottom;m++)for(var y=A.left;y<=A.right;y++)this.getCellAt(A.sheetName,m,y);else this.findCellEx(A,!0)}},{key:"getCellEx",value:function(A){return this.findCellEx(A,!0)}},{key:"findCellEx",value:function(A,m){var y=this.findSheet(A,m),b=this.findSheetRow(y,A,m);return this.findRowCell(b,A,m)}},{key:"getCellAt",value:function(A,m,y){var b=this.sheets[A]||(this.sheets[A]=[]),I=b[m]||(b[m]=[]);return I[y]||(I[y]={sheetName:A,address:d.n2l(y)+m,row:m,col:y})}},{key:"removeCellEx",value:function(A){var m=this.findSheet(A);if(m){var y=this.findSheetRow(m,A);y&&delete y[A.col]}}},{key:"forEachInSheet",value:function(A,m){var y=this.sheets[A];y&&y.forEach(function(b,I){b&&b.forEach(function(E,B){E&&m(E,I,B)})})}},{key:"forEach",value:function(A){var m=this;h.each(this.sheets,function(y,b){m.forEachInSheet(b,A)})}},{key:"map",value:function(A){var m=[];return this.forEach(function(y){m.push(A(y))}),m}},{key:"findSheet",value:function(A,m){var y=A.sheetName;return this.sheets[y]?this.sheets[y]:m?this.sheets[y]=[]:void 0}},{key:"findSheetRow",value:function(A,m,y){var b=m.row;return A&&A[b]?A[b]:y?A[b]=[]:void 0}},{key:"findRowCell",value:function(A,m,y){var b=m.col;return A&&A[b]?A[b]:y?A[b]=this.template?Object.assign(m,JSON.parse(JSON.stringify(this.template))):m:void 0}},{key:"spliceRows",value:function(A,m,y,b){var I=this.sheets[A];if(I){for(var E=[],B=0;B<b;B++)E.push([]);I.splice.apply(I,[m,y].concat(E))}}},{key:"spliceColumns",value:function(A,m,y,b){var I=this.sheets[A];if(I){for(var E=[],B=0;B<b;B++)E.push(null);h.each(I,function(S){S.splice.apply(S,[m,y].concat(E))})}}}])}();c.exports=p},{"./col-cache":19,"./under-dash":26}],19:[function(a,c,u){var h=/^[A-Z]+\d+$/,d={_dictionary:["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"],_l2nFill:0,_l2n:{},_n2l:[],_level:function(p){return p<=26?1:p<=676?2:3},_fill:function(p){var g,A,m,y,b,I=1;if(p>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&p>=1){for(;I<=26;)g=this._dictionary[I-1],this._n2l[I]=g,this._l2n[g]=I,I++;this._l2nFill=1}if(this._l2nFill<2&&p>=2){for(I=27;I<=702;)m=(A=I-27)%26,y=Math.floor(A/26),g=this._dictionary[y]+this._dictionary[m],this._n2l[I]=g,this._l2n[g]=I,I++;this._l2nFill=2}if(this._l2nFill<3&&p>=3){for(I=703;I<=16384;)m=(A=I-703)%26,y=Math.floor(A/26)%26,b=Math.floor(A/676),g=this._dictionary[b]+this._dictionary[y]+this._dictionary[m],this._n2l[I]=g,this._l2n[g]=I,I++;this._l2nFill=3}},l2n:function(p){if(this._l2n[p]||this._fill(p.length),!this._l2n[p])throw new Error("Out of bounds. Invalid column letter: ".concat(p));return this._l2n[p]},n2l:function(p){if(p<1||p>16384)throw new Error("".concat(p," is out of bounds. Excel supports columns from 1 to 16384"));return this._n2l[p]||this._fill(this._level(p)),this._n2l[p]},_hash:{},validateAddress:function(p){if(!h.test(p))throw new Error("Invalid Address: ".concat(p));return!0},decodeAddress:function(p){var g=p.length<5&&this._hash[p];if(g)return g;for(var A,m=!1,y="",b=0,I=!1,E="",B=0,S=0;S<p.length;S++)if(A=p.charCodeAt(S),!I&&A>=65&&A<=90)m=!0,y+=p[S],b=26*b+A-64;else if(A>=48&&A<=57)I=!0,E+=p[S],B=10*B+A-48;else if(I&&m&&A!==36)break;if(m){if(b>16384)throw new Error("Out of bounds. Invalid column letter: ".concat(y))}else b=void 0;I||(B=void 0);var _={address:p=y+E,col:b,row:B,$col$row:"$".concat(y,"$").concat(E)};return b<=100&&B<=100&&(this._hash[p]=_,this._hash[_.$col$row]=_),_},getAddress:function(p,g){if(g){var A=this.n2l(g)+p;return this.decodeAddress(A)}return this.decodeAddress(p)},decode:function(p){var g=p.split(":");if(g.length===2){var A=this.decodeAddress(g[0]),m=this.decodeAddress(g[1]),y={top:Math.min(A.row,m.row),left:Math.min(A.col,m.col),bottom:Math.max(A.row,m.row),right:Math.max(A.col,m.col)};return y.tl=this.n2l(y.left)+y.top,y.br=this.n2l(y.right)+y.bottom,y.dimensions="".concat(y.tl,":").concat(y.br),y}return this.decodeAddress(p)},decodeEx:function(p){var g=p.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),A=g[1]||g[2],m=g[3],y=m.split(":");if(y.length>1){var b=this.decodeAddress(y[0]),I=this.decodeAddress(y[1]),E=Math.min(b.row,I.row),B=Math.min(b.col,I.col),S=Math.max(b.row,I.row),_=Math.max(b.col,I.col);return b=this.n2l(B)+E,I=this.n2l(_)+S,{top:E,left:B,bottom:S,right:_,sheetName:A,tl:{address:b,col:B,row:E,$col$row:"$".concat(this.n2l(B),"$").concat(E),sheetName:A},br:{address:I,col:_,row:S,$col$row:"$".concat(this.n2l(_),"$").concat(S),sheetName:A},dimensions:"".concat(b,":").concat(I)}}if(m.startsWith("#"))return A?{sheetName:A,error:m}:{error:m};var D=this.decodeAddress(m);return A?Za({sheetName:A},D):D},encodeAddress:function(p,g){return d.n2l(g)+p},encode:function(){switch(arguments.length){case 2:return d.encodeAddress(arguments[0],arguments[1]);case 4:return"".concat(d.encodeAddress(arguments[0],arguments[1]),":").concat(d.encodeAddress(arguments[2],arguments[3]));default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange:function(p,g){var A=En(p,5),m=A[0],y=A[1],b=A[3],I=A[4],E=En(g,2),B=E[0],S=E[1];return B>=m&&B<=b&&S>=y&&S<=I}};c.exports=d},{}],20:[function(a,c,u){var h=function(A,m){return Za(Za({},A),m.reduce(function(y,b){return A[b]&&(y[b]=Za({},A[b])),y},{}))},d=function(A,m,y){var b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];A[y]&&(m[y]=h(A[y],b))},p=function(A){return Object.keys(A).length===0},g=function(A){if(!A)return A;if(p(A))return{};var m=Za({},A);return d(A,m,"font",["color"]),d(A,m,"alignment"),d(A,m,"protection"),A.border&&(d(A,m,"border"),d(A.border,m.border,"top",["color"]),d(A.border,m.border,"left",["color"]),d(A.border,m.border,"bottom",["color"]),d(A.border,m.border,"right",["color"]),d(A.border,m.border,"diagonal",["color"])),A.fill&&(d(A,m,"fill",["fgColor","bgColor","center"]),A.fill.stops&&(m.fill.stops=A.fill.stops.map(function(y){return h(y,["color"])}))),m};u.copyStyle=g},{}],21:[function(a,c,u){(function(h){(function(){var d=a("crypto"),p={hash:function(g){for(var A=d.createHash(g),m=arguments.length,y=new Array(m>1?m-1:0),b=1;b<m;b++)y[b-1]=arguments[b];return A.update(h.concat(y)),A.digest()},convertPasswordToHash:function(g,A,m,y){if(A=A.toLowerCase(),d.getHashes().indexOf(A)<0)throw new Error("Hash algorithm '".concat(A,"' not supported!"));for(var b=h.from(g,"utf16le"),I=this.hash(A,h.from(m,"base64"),b),E=0;E<y;E++){var B=h.alloc(4);B.writeUInt32LE(E,0),I=this.hash(A,I,B)}return I.toString("base64")},randomBytes:function(g){return d.randomBytes(g)}};c.exports=p}).call(this)}).call(this,a("buffer").Buffer)},{buffer:220,crypto:390}],22:[function(a,c,u){var h=a("saxes").SaxesParser,d=a("readable-stream").PassThrough,p=a("./browser-buffer-decode").bufferToString;c.exports=function(){var g,A=(g=_n.mark(function m(y){var b,I,E,B,S,_,D,T,F;return _n.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:y.pipe&&!y[Symbol.asyncIterator]&&(y=y.pipe(new d)),(b=new h).on("error",function(H){I=H}),E=[],b.on("opentag",function(H){return E.push({eventType:"opentag",value:H})}),b.on("text",function(H){return E.push({eventType:"text",value:H})}),b.on("closetag",function(H){return E.push({eventType:"closetag",value:H})}),B=!1,S=!1,N.prev=9,D=z0(y);case 11:return N.next=13,Vv(D.next());case 13:if(!(B=!(T=N.sent).done)){N.next=24;break}if(F=T.value,b.write(p(F)),!I){N.next=18;break}throw I;case 18:return N.next=20,E;case 20:E=[];case 21:B=!1,N.next=11;break;case 24:N.next=30;break;case 26:N.prev=26,N.t0=N.catch(9),S=!0,_=N.t0;case 30:if(N.prev=30,N.prev=31,!B||D.return==null){N.next=35;break}return N.next=35,Vv(D.return());case 35:if(N.prev=35,!S){N.next=38;break}throw _;case 38:return N.finish(35);case 39:return N.finish(30);case 40:case"end":return N.stop()}},m,null,[[9,26,30,40],[31,,35,39]])}),function(){return new hA(g.apply(this,arguments))});return function(m){return A.apply(this,arguments)}}()},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],23:[function(a,c,u){var h=a("./col-cache"),d=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,p=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;function g(A,m,y){var b=h.decode(m),I=h.decode(y);return A.replace(d,function(E,B,S,_,D){if(D)return E;var T=p.exec(_);if(T){var F=T[1],N=T[2].toUpperCase(),H=T[3],W=T[4];if(N.length>3||N.length===3&&N>"XFD")return E;var V=h.l2n(N),te=parseInt(W,10);return F||(V+=I.col-b.col),H||(te+=I.row-b.row),(B||"")+(F||"")+h.n2l(V)+(H||"")+te}return E})}c.exports={slideFormula:g}},{"./col-cache":19}],24:[function(a,c,u){(function(h,d){(function(){var p=a("readable-stream"),g=a("./utils"),A=a("./string-buf"),m=function(){function B(S,_){Et(this,B),this._data=S,this._encoding=_}return xt(B,[{key:"length",get:function(){return this.toBuffer().length}},{key:"copy",value:function(S,_,D,T){return this.toBuffer().copy(S,_,D,T)}},{key:"toBuffer",value:function(){return this._buffer||(this._buffer=d.from(this._data,this._encoding)),this._buffer}}])}(),y=function(){function B(S){Et(this,B),this._data=S}return xt(B,[{key:"length",get:function(){return this._data.length}},{key:"copy",value:function(S,_,D,T){return this._data._buf.copy(S,_,D,T)}},{key:"toBuffer",value:function(){return this._data.toBuffer()}}])}(),b=function(){function B(S){Et(this,B),this._data=S}return xt(B,[{key:"length",get:function(){return this._data.length}},{key:"copy",value:function(S,_,D,T){this._data.copy(S,_,D,T)}},{key:"toBuffer",value:function(){return this._data}}])}(),I=function(){function B(S){Et(this,B),this.size=S,this.buffer=d.alloc(S),this.iRead=0,this.iWrite=0}return xt(B,[{key:"toBuffer",value:function(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;var S=d.alloc(this.iWrite-this.iRead);return this.buffer.copy(S,0,this.iRead,this.iWrite),S}},{key:"length",get:function(){return this.iWrite-this.iRead}},{key:"eod",get:function(){return this.iRead===this.iWrite}},{key:"full",get:function(){return this.iWrite===this.size}},{key:"read",value:function(S){var _;return S===0?null:S===void 0||S>=this.length?(_=this.toBuffer(),this.iRead=this.iWrite,_):(_=d.alloc(S),this.buffer.copy(_,0,this.iRead,S),this.iRead+=S,_)}},{key:"write",value:function(S,_,D){var T=Math.min(D,this.size-this.iWrite);return S.copy(this.buffer,this.iWrite,_,_+T),this.iWrite+=T,T}}])}(),E=function(B){B=B||{},this.bufSize=B.bufSize||1048576,this.buffers=[],this.batch=B.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};g.inherits(E,p.Duplex,{toBuffer:function(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return d.concat(this.buffers.map(function(B){return B.toBuffer()}))}},_getWritableBuffer:function(){if(this.buffers.length){var B=this.buffers[this.buffers.length-1];if(!B.full)return B}var S=new I(this.bufSize);return this.buffers.push(S),S},_pipe:function(B){var S=this;return Sa(_n.mark(function _(){var D;return _n.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return D=function(F){return new Promise(function(N){F.write(B.toBuffer(),function(){N()})})},T.next=3,Promise.all(S.pipes.map(D));case 3:case"end":return T.stop()}},_)}))()},_writeToBuffers:function(B){for(var S=0,_=B.length;S<_;)S+=this._getWritableBuffer().write(B,S,_-S)},write:function(B,S,_){var D=this;return Sa(_n.mark(function T(){var F;return _n.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(S instanceof Function&&(_=S,S="utf8"),_=_||g.nop,!(B instanceof A)){N.next=6;break}F=new y(B),N.next=15;break;case 6:if(!(B instanceof d)){N.next=10;break}F=new b(B),N.next=15;break;case 10:if(!(typeof B=="string"||B instanceof String||B instanceof ArrayBuffer)){N.next=14;break}F=new m(B,S),N.next=15;break;case 14:throw new Error("Chunk must be one of type String, Buffer or StringBuf.");case 15:if(!D.pipes.length){N.next=31;break}if(!D.batch){N.next=21;break}for(D._writeToBuffers(F);!D.corked&&D.buffers.length>1;)D._pipe(D.buffers.shift());N.next=29;break;case 21:if(D.corked){N.next=27;break}return N.next=24,D._pipe(F);case 24:_(),N.next=29;break;case 27:D._writeToBuffers(F),h.nextTick(_);case 29:N.next=34;break;case 31:D.paused||D.emit("data",F.toBuffer()),D._writeToBuffers(F),D.emit("readable");case 34:return N.abrupt("return",!0);case 35:case"end":return N.stop()}},T)}))()},cork:function(){this.corked=!0},_flush:function(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork:function(){this.corked=!1,this._flush()},end:function(B,S,_){var D=this,T=function(F){F?_(F):(D._flush(),D.pipes.forEach(function(N){N.end()}),D.emit("finish"))};B?this.write(B,S,T):T()},read:function(B){var S;if(B){for(S=[];B&&this.buffers.length&&!this.buffers[0].eod;){var _=this.buffers[0],D=_.read(B);B-=D.length,S.push(D),_.eod&&_.full&&this.buffers.shift()}return d.concat(S)}return S=this.buffers.map(function(T){return T.toBuffer()}).filter(Boolean),this.buffers=[],d.concat(S)},setEncoding:function(B){this.encoding=B},pause:function(){this.paused=!0},resume:function(){this.paused=!1},isPaused:function(){return!!this.paused},pipe:function(B){this.pipes.push(B),!this.paused&&this.buffers.length&&this.end()},unpipe:function(B){this.pipes=this.pipes.filter(function(S){return S!==B})},unshift:function(){throw new Error("Not Implemented")},wrap:function(){throw new Error("Not Implemented")}}),c.exports=E}).call(this)}).call(this,a("_process"),a("buffer").Buffer)},{"./string-buf":25,"./utils":27,_process:467,buffer:220,"readable-stream":491}],25:[function(a,c,u){(function(h){(function(){var d=function(){function p(g){Et(this,p),this._buf=h.alloc(g&&g.size||16384),this._encoding=g&&g.encoding||"utf8",this._inPos=0,this._buffer=void 0}return xt(p,[{key:"length",get:function(){return this._inPos}},{key:"capacity",get:function(){return this._buf.length}},{key:"buffer",get:function(){return this._buf}},{key:"toBuffer",value:function(){return this._buffer||(this._buffer=h.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}},{key:"reset",value:function(g){g=g||0,this._buffer=void 0,this._inPos=g}},{key:"_grow",value:function(g){for(var A=2*this._buf.length;A<g;)A*=2;var m=h.alloc(A);this._buf.copy(m,0),this._buf=m}},{key:"addText",value:function(g){this._buffer=void 0;for(var A=this._inPos+this._buf.write(g,this._inPos,this._encoding);A>=this._buf.length-4;)this._grow(this._inPos+g.length),A=this._inPos+this._buf.write(g,this._inPos,this._encoding);this._inPos=A}},{key:"addStringBuf",value:function(g){g.length&&(this._buffer=void 0,this.length+g.length>this.capacity&&this._grow(this.length+g.length),g._buf.copy(this._buf,this._inPos,0,g.length),this._inPos+=g.length)}}])}();c.exports=d}).call(this)}).call(this,a("buffer").Buffer)},{buffer:220}],26:[function(a,c,u){var h=Object.prototype.toString,d=/["&<>]/,p={each:function(g,A){g&&(Array.isArray(g)?g.forEach(A):Object.keys(g).forEach(function(m){A(g[m],m)}))},some:function(g,A){return!!g&&(Array.isArray(g)?g.some(A):Object.keys(g).some(function(m){return A(g[m],m)}))},every:function(g,A){return!g||(Array.isArray(g)?g.every(A):Object.keys(g).every(function(m){return A(g[m],m)}))},map:function(g,A){return g?Array.isArray(g)?g.map(A):Object.keys(g).map(function(m){return A(g[m],m)}):[]},keyBy:function(g,A){return g.reduce(function(m,y){return m[y[A]]=y,m},{})},isEqual:function(g,A){var m,y=typeof g,b=typeof A,I=Array.isArray(g),E=Array.isArray(A);if(y!==b)return!1;if(typeof g=="object"){if(I||E)return!(!I||!E)&&g.length===A.length&&g.every(function(D,T){var F=A[T];return p.isEqual(D,F)});if(g===null||A===null)return g===A;if(m=Object.keys(g),Object.keys(A).length!==m.length)return!1;var B,S=ny(m);try{for(S.s();!(B=S.n()).done;){var _=B.value;if(!A.hasOwnProperty(_))return!1}}catch(D){S.e(D)}finally{S.f()}return p.every(g,function(D,T){var F=A[T];return p.isEqual(D,F)})}return g===A},escapeHtml:function(g){var A=d.exec(g);if(!A)return g;for(var m="",y="",b=0,I=A.index;I<g.length;I++){switch(g.charAt(I)){case'"':y="&quot;";break;case"&":y="&amp;";break;case"'":y="&apos;";break;case"<":y="&lt;";break;case">":y="&gt;";break;default:continue}b!==I&&(m+=g.substring(b,I)),b=I+1,m+=y}return b!==I?m+g.substring(b,I):m},strcmp:function(g,A){return g<A?-1:g>A?1:0},isUndefined:function(g){return h.call(g)==="[object Undefined]"},isObject:function(g){return h.call(g)==="[object Object]"},deepMerge:function(){var g,A,m,y=arguments[0]||{},b=arguments.length;function I(B,S){g=y[S],m=Array.isArray(B),p.isObject(B)||m?(m?(m=!1,A=g&&Array.isArray(g)?g:[]):A=g&&p.isObject(g)?g:{},y[S]=p.deepMerge(A,B)):p.isUndefined(B)||(y[S]=B)}for(var E=0;E<b;E++)p.each(arguments[E],I);return y}};c.exports=p},{}],27:[function(a,c,u){(function(h,d){(function(){var p=a("fs"),g=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,A={nop:function(){},promiseImmediate:function(m){return new Promise(function(y){h.setImmediate?d(function(){y(m)}):setTimeout(function(){y(m)},1)})},inherits:function(m,y,b,I){m.super_=y,I||(I=b,b=null),b&&Object.keys(b).forEach(function(B){Object.defineProperty(m,B,Object.getOwnPropertyDescriptor(b,B))});var E={constructor:{value:m,enumerable:!1,writable:!1,configurable:!0}};I&&Object.keys(I).forEach(function(B){E[B]=Object.getOwnPropertyDescriptor(I,B)}),m.prototype=Object.create(y.prototype,E)},dateToExcel:function(m,y){return 25569+m.getTime()/864e5-(y?1462:0)},excelToDate:function(m,y){var b=Math.round(24*(m-25569+(y?1462:0))*3600*1e3);return new Date(b)},parsePath:function(m){var y=m.lastIndexOf("/");return{path:m.substring(0,y),name:m.substring(y+1)}},getRelsPath:function(m){var y=A.parsePath(m);return"".concat(y.path,"/_rels/").concat(y.name,".rels")},xmlEncode:function(m){var y=g.exec(m);if(!y)return m;for(var b="",I="",E=0,B=y.index;B<m.length;B++){var S=m.charCodeAt(B);switch(S){case 34:I="&quot;";break;case 38:I="&amp;";break;case 39:I="&apos;";break;case 60:I="&lt;";break;case 62:I="&gt;";break;case 127:I="";break;default:if(S<=31&&(S<=8||S>=11&&S!==13)){I="";break}continue}E!==B&&(b+=m.substring(E,B)),E=B+1,I&&(b+=I)}return E!==B?b+m.substring(E,B):b},xmlDecode:function(m){return m.replace(/&([a-z]*);/g,function(y){switch(y){case"&lt;":return"<";case"&gt;":return">";case"&amp;":return"&";case"&apos;":return"'";case"&quot;":return'"';default:return y}})},validInt:function(m){var y=parseInt(m,10);return Number.isNaN(y)?0:y},isDateFmt:function(m){return!!m&&(m=(m=m.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)!==null},fs:{exists:function(m){return new Promise(function(y){p.access(m,p.constants.F_OK,function(b){y(!b)})})}},toIsoDateString:function(m){return m.toIsoString().subsstr(0,10)},parseBoolean:function(m){return m===!0||m==="true"||m===1||m==="1"}};c.exports=A}).call(this)}).call(this,Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{},a("timers").setImmediate)},{fs:216,timers:523}],28:[function(a,c,u){var h=a("./under-dash"),d=a("./utils"),p="<",g=">",A="</",m="/>";function y(E,B,S){E.push(" ".concat(B,'="').concat(d.xmlEncode(S.toString()),'"'))}function b(E,B){if(B){var S=[];h.each(B,function(_,D){_!==void 0&&y(S,D,_)}),E.push(S.join(""))}}var I=function(){function E(){Et(this,E),this._xml=[],this._stack=[],this._rollbacks=[]}return xt(E,[{key:"tos",get:function(){return this._stack.length?this._stack[this._stack.length-1]:void 0}},{key:"cursor",get:function(){return this._xml.length}},{key:"openXml",value:function(B){var S=this._xml;S.push("<?xml"),b(S,B),S.push(`?>
  21. `)}},{key:"openNode",value:function(B,S){var _=this.tos,D=this._xml;_&&this.open&&D.push(g),this._stack.push(B),D.push(p),D.push(B),b(D,S),this.leaf=!0,this.open=!0}},{key:"addAttribute",value:function(B,S){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");S!==void 0&&y(this._xml,B,S)}},{key:"addAttributes",value:function(B){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");b(this._xml,B)}},{key:"writeText",value:function(B){var S=this._xml;this.open&&(S.push(g),this.open=!1),this.leaf=!1,S.push(d.xmlEncode(B.toString()))}},{key:"writeXml",value:function(B){this.open&&(this._xml.push(g),this.open=!1),this.leaf=!1,this._xml.push(B)}},{key:"closeNode",value:function(){var B=this._stack.pop(),S=this._xml;this.leaf?S.push(m):(S.push(A),S.push(B),S.push(g)),this.open=!1,this.leaf=!1}},{key:"leafNode",value:function(B,S,_){this.openNode(B,S),_!==void 0&&this.writeText(_),this.closeNode()}},{key:"closeAll",value:function(){for(;this._stack.length;)this.closeNode()}},{key:"addRollback",value:function(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}},{key:"commit",value:function(){this._rollbacks.pop()}},{key:"rollback",value:function(){var B=this._rollbacks.pop();this._xml.length>B.xml&&this._xml.splice(B.xml,this._xml.length-B.xml),this._stack.length>B.stack&&this._stack.splice(B.stack,this._stack.length-B.stack),this.leaf=B.leaf,this.open=B.open}},{key:"xml",get:function(){return this.closeAll(),this._xml.join("")}}])}();I.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},c.exports=I},{"./under-dash":26,"./utils":27}],29:[function(a,c,u){(function(h){(function(){var d=a("events"),p=a("jszip"),g=a("./stream-buf"),A=a("./browser-buffer-encode").stringToBuffer,m=function(y){function b(I){var E;return Et(this,b),(E=Er(this,b)).options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},I),E.zip=new p,E.stream=new g,E}return nr(b,y),xt(b,[{key:"append",value:function(I,E){E.hasOwnProperty("base64")&&E.base64?this.zip.file(E.name,I,{base64:!0}):(h.browser&&typeof I=="string"&&(I=A(I)),this.zip.file(E.name,I))}},{key:"finalize",value:function(){var I=Sa(_n.mark(function B(){var S;return _n.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,this.zip.generateAsync(this.options);case 2:S=_.sent,this.stream.end(S),this.emit("finish");case 5:case"end":return _.stop()}},B,this)}));function E(){return I.apply(this,arguments)}return E}()},{key:"read",value:function(I){return this.stream.read(I)}},{key:"setEncoding",value:function(I){return this.stream.setEncoding(I)}},{key:"pause",value:function(){return this.stream.pause()}},{key:"resume",value:function(){return this.stream.resume()}},{key:"isPaused",value:function(){return this.stream.isPaused()}},{key:"pipe",value:function(I,E){return this.stream.pipe(I,E)}},{key:"unpipe",value:function(I){return this.stream.unpipe(I)}},{key:"unshift",value:function(I){return this.stream.unshift(I)}},{key:"wrap",value:function(I){return this.stream.wrap(I)}}])}(d.EventEmitter);c.exports={ZipWriter:m}}).call(this)}).call(this,a("_process"))},{"./browser-buffer-encode":17,"./stream-buf":24,_process:467,events:422,jszip:441}],30:[function(a,c,u){c.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},{}],31:[function(a,c,u){c.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},{}],32:[function(a,c,u){var h=a("../../utils/parse-sax"),d=a("../../utils/xml-stream"),p=function(){function g(){Et(this,g)}return xt(g,[{key:"prepare",value:function(){}},{key:"render",value:function(){}},{key:"parseOpen",value:function(A){}},{key:"parseText",value:function(A){}},{key:"parseClose",value:function(A){}},{key:"reconcile",value:function(A,m){}},{key:"reset",value:function(){this.model=null,this.map&&Object.values(this.map).forEach(function(A){A instanceof g?A.reset():A.xform&&A.xform.reset()})}},{key:"mergeModel",value:function(A){this.model=Object.assign(this.model||{},A)}},{key:"parse",value:function(){var A=Sa(_n.mark(function y(b){var I,E,B,S,_,D,T,F,N,H,W;return _n.wrap(function(V){for(;;)switch(V.prev=V.next){case 0:I=!1,E=!1,V.prev=2,S=z0(b);case 4:return V.next=6,S.next();case 6:if(!(I=!(_=V.sent).done)){V.next=37;break}D=_.value,T=ny(D),V.prev=9,T.s();case 11:if((F=T.n()).done){V.next=26;break}if(N=F.value,H=N.eventType,W=N.value,H!=="opentag"){V.next=17;break}this.parseOpen(W),V.next=24;break;case 17:if(H!=="text"){V.next=21;break}this.parseText(W),V.next=24;break;case 21:if(H!=="closetag"){V.next=24;break}if(this.parseClose(W.name)){V.next=24;break}return V.abrupt("return",this.model);case 24:V.next=11;break;case 26:V.next=31;break;case 28:V.prev=28,V.t0=V.catch(9),T.e(V.t0);case 31:return V.prev=31,T.f(),V.finish(31);case 34:I=!1,V.next=4;break;case 37:V.next=43;break;case 39:V.prev=39,V.t1=V.catch(2),E=!0,B=V.t1;case 43:if(V.prev=43,V.prev=44,!I||S.return==null){V.next=48;break}return V.next=48,S.return();case 48:if(V.prev=48,!E){V.next=51;break}throw B;case 51:return V.finish(48);case 52:return V.finish(43);case 53:return V.abrupt("return",this.model);case 54:case"end":return V.stop()}},y,this,[[2,39,43,53],[9,28,31,34],[44,,48,52]])}));function m(y){return A.apply(this,arguments)}return m}()},{key:"parseStream",value:function(){var A=Sa(_n.mark(function y(b){return _n.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.abrupt("return",this.parse(h(b)));case 1:case"end":return I.stop()}},y,this)}));function m(y){return A.apply(this,arguments)}return m}()},{key:"xml",get:function(){return this.toXml(this.model)}},{key:"toXml",value:function(A){var m=new d;return this.render(m,A),m.xml}}],[{key:"toAttribute",value:function(A,m){var y=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(A===void 0){if(y)return m}else if(y||A!==m)return A.toString()}},{key:"toStringAttribute",value:function(A,m){var y=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return g.toAttribute(A,m,y)}},{key:"toStringValue",value:function(A,m){return A===void 0?m:A}},{key:"toBoolAttribute",value:function(A,m){var y=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(A===void 0){if(y)return m}else if(y||A!==m)return A?"1":"0"}},{key:"toBoolValue",value:function(A,m){return A===void 0?m:A==="1"}},{key:"toIntAttribute",value:function(A,m){var y=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return g.toAttribute(A,m,y)}},{key:"toIntValue",value:function(A,m){return A===void 0?m:parseInt(A,10)}},{key:"toFloatAttribute",value:function(A,m){var y=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return g.toAttribute(A,m,y)}},{key:"toFloatValue",value:function(A,m){return A===void 0?m:parseFloat(A)}}])}();c.exports=p},{"../../utils/parse-sax":22,"../../utils/xml-stream":28}],33:[function(a,c,u){var h=a("../base-xform"),d=a("../../../utils/col-cache"),p=function(m){function y(){return Et(this,y),Er(this,y,arguments)}return nr(y,m),xt(y,[{key:"render",value:function(b,I){b.openNode("definedName",{name:I.name,localSheetId:I.localSheetId}),b.writeText(I.ranges.join(",")),b.closeNode()}},{key:"parseOpen",value:function(b){return b.name==="definedName"&&(this._parsedName=b.attributes.name,this._parsedLocalSheetId=b.attributes.localSheetId,this._parsedText=[],!0)}},{key:"parseText",value:function(b){this._parsedText.push(b)}},{key:"parseClose",value:function(){return this.model={name:this._parsedName,ranges:A(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0&&(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}])}(h);function g(m){try{return d.decodeEx(m),!0}catch{return!1}}function A(m){var y=[],b=!1,I="";return m.split(",").forEach(function(E){if(E){var B=(E.match(/'/g)||[]).length;if(B){var S=B%2==0;!b&&S&&g(E)?y.push(E):b&&!S?(b=!1,g(I+E)&&y.push(I+E),I=""):(b=!0,I+="".concat(E,","))}else b?I+="".concat(E,","):g(E)&&y.push(E)}}),y}c.exports=p},{"../../../utils/col-cache":19,"../base-xform":32}],34:[function(a,c,u){var h=a("../../../utils/utils"),d=function(p){function g(){return Et(this,g),Er(this,g,arguments)}return nr(g,p),xt(g,[{key:"render",value:function(A,m){A.leafNode("sheet",{sheetId:m.id,name:m.name,state:m.state,"r:id":m.rId})}},{key:"parseOpen",value:function(A){return A.name==="sheet"&&(this.model={name:h.xmlDecode(A.attributes.name),id:parseInt(A.attributes.sheetId,10),state:A.attributes.state,rId:A.attributes["r:id"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=d},{"../../../utils/utils":27,"../base-xform":32}],35:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"render",value:function(g,A){g.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:A.fullCalcOnLoad?1:void 0})}},{key:"parseOpen",value:function(g){return g.name==="calcPr"&&(this.model={},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],36:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"render",value:function(g,A){g.leafNode("workbookPr",{date1904:A.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}},{key:"parseOpen",value:function(g){return g.name==="workbookPr"&&(this.model={date1904:g.attributes.date1904==="1"},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],37:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"render",value:function(g,A){var m={xWindow:A.x||0,yWindow:A.y||0,windowWidth:A.width||12e3,windowHeight:A.height||24e3,firstSheet:A.firstSheet,activeTab:A.activeTab};A.visibility&&A.visibility!=="visible"&&(m.visibility=A.visibility),g.leafNode("workbookView",m)}},{key:"parseOpen",value:function(g){if(g.name==="workbookView"){var A=this.model={},m=function(b,I,E){var B=I!==void 0?A[b]=I:E;B!==void 0&&(A[b]=B)},y=function(b,I,E){var B=I!==void 0?A[b]=parseInt(I,10):E;B!==void 0&&(A[b]=B)};return y("x",g.attributes.xWindow,0),y("y",g.attributes.yWindow,0),y("width",g.attributes.windowWidth,25e3),y("height",g.attributes.windowHeight,1e4),m("visibility",g.attributes.visibility,"visible"),y("activeTab",g.attributes.activeTab,void 0),y("firstSheet",g.attributes.firstSheet,void 0),!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],38:[function(a,c,u){var h=a("../../../utils/under-dash"),d=a("../../../utils/col-cache"),p=a("../../../utils/xml-stream"),g=a("../base-xform"),A=a("../static-xform"),m=a("../list-xform"),y=a("./defined-name-xform"),b=a("./sheet-xform"),I=a("./workbook-view-xform"),E=a("./workbook-properties-xform"),B=a("./workbook-calc-properties-xform"),S=function(_){function D(){var T;return Et(this,D),(T=Er(this,D)).map={fileVersion:D.STATIC_XFORMS.fileVersion,workbookPr:new E,bookViews:new m({tag:"bookViews",count:!1,childXform:new I}),sheets:new m({tag:"sheets",count:!1,childXform:new b}),definedNames:new m({tag:"definedNames",count:!1,childXform:new y}),calcPr:new B},T}return nr(D,_),xt(D,[{key:"prepare",value:function(T){T.sheets=T.worksheets;var F=[],N=0;T.sheets.forEach(function(H){if(H.pageSetup&&H.pageSetup.printArea&&H.pageSetup.printArea.split("&&").forEach(function(fe){var de=fe.split(":"),Ae={name:"_xlnm.Print_Area",ranges:["'".concat(H.name,"'!$").concat(de[0],":$").concat(de[1])],localSheetId:N};F.push(Ae)}),H.pageSetup&&(H.pageSetup.printTitlesRow||H.pageSetup.printTitlesColumn)){var W=[];if(H.pageSetup.printTitlesColumn){var V=H.pageSetup.printTitlesColumn.split(":");W.push("'".concat(H.name,"'!$").concat(V[0],":$").concat(V[1]))}if(H.pageSetup.printTitlesRow){var te=H.pageSetup.printTitlesRow.split(":");W.push("'".concat(H.name,"'!$").concat(te[0],":$").concat(te[1]))}var ue={name:"_xlnm.Print_Titles",ranges:W,localSheetId:N};F.push(ue)}N++}),F.length&&(T.definedNames=T.definedNames.concat(F)),(T.media||[]).forEach(function(H,W){H.name=H.type+(W+1)})}},{key:"render",value:function(T,F){T.openXml(p.StdDocAttributes),T.openNode("workbook",D.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(T),this.map.workbookPr.render(T,F.properties),this.map.bookViews.render(T,F.views),this.map.sheets.render(T,F.sheets),this.map.definedNames.render(T,F.definedNames),this.map.calcPr.render(T,F.calcProperties),T.closeNode()}},{key:"parseOpen",value:function(T){return this.parser?(this.parser.parseOpen(T),!0):(T.name==="workbook"||(this.parser=this.map[T.name],this.parser&&this.parser.parseOpen(T)),!0)}},{key:"parseText",value:function(T){this.parser&&this.parser.parseText(T)}},{key:"parseClose",value:function(T){return this.parser?(this.parser.parseClose(T)||(this.parser=void 0),!0):T!=="workbook"||(this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&&(this.model.definedNames=this.map.definedNames.model),!1)}},{key:"reconcile",value:function(T){var F,N=(T.workbookRels||[]).reduce(function(te,ue){return te[ue.Id]=ue,te},{}),H=[],W=0;(T.sheets||[]).forEach(function(te){var ue=N[te.rId];ue&&(F=T.worksheetHash["xl/".concat(ue.Target.replace(/^(\s|\/xl\/)+/,""))])&&(F.name=te.name,F.id=te.id,F.state=te.state,H[W++]=F)});var V=[];h.each(T.definedNames,function(te){if(te.name==="_xlnm.Print_Area"){if(F=H[te.localSheetId]){F.pageSetup||(F.pageSetup={});var ue=d.decodeEx(te.ranges[0]);F.pageSetup.printArea=F.pageSetup.printArea?"".concat(F.pageSetup.printArea,"&&").concat(ue.dimensions):ue.dimensions}}else if(te.name==="_xlnm.Print_Titles"){if(F=H[te.localSheetId]){F.pageSetup||(F.pageSetup={});var fe=te.ranges.join(","),de=/\$/g,Ae=/\$\d+:\$\d+/,we=fe.match(Ae);if(we&&we.length){var Z=we[0];F.pageSetup.printTitlesRow=Z.replace(de,"")}var ne=/\$[A-Z]+:\$[A-Z]+/,j=fe.match(ne);if(j&&j.length){var J=j[0];F.pageSetup.printTitlesColumn=J.replace(de,"")}}}else V.push(te)}),T.definedNames=V,T.media.forEach(function(te,ue){te.index=ue})}}])}(g);S.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},S.STATIC_XFORMS={fileVersion:new A({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})},c.exports=S},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./defined-name-xform":33,"./sheet-xform":34,"./workbook-calc-properties-xform":35,"./workbook-properties-xform":36,"./workbook-view-xform":37}],39:[function(a,c,u){var h=a("../strings/rich-text-xform"),d=a("../../../utils/utils"),p=a("../base-xform"),g=c.exports=function(A){this.model=A};d.inherits(g,p,{get tag(){return"r"},get richTextXform(){return this._richTextXform||(this._richTextXform=new h),this._richTextXform},render:function(A,m){var y=this;m=m||this.model,A.openNode("comment",{ref:m.ref,authorId:0}),A.openNode("text"),m&&m.note&&m.note.texts&&m.note.texts.forEach(function(b){y.richTextXform.render(A,b)}),A.closeNode(),A.closeNode()},parseOpen:function(A){if(this.parser)return this.parser.parseOpen(A),!0;switch(A.name){case"comment":return this.model=Za({type:"note",note:{texts:[]}},A.attributes),!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen(A),!0;default:return!1}},parseText:function(A){this.parser&&this.parser.parseText(A)},parseClose:function(A){switch(A){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(A),!0}}})},{"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],40:[function(a,c,u){var h=a("../../../utils/xml-stream"),d=a("../../../utils/utils"),p=a("../base-xform"),g=a("./comment-xform"),A=c.exports=function(){this.map={comment:new g}};d.inherits(A,p,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render:function(m,y){var b=this;y=y||this.model,m.openXml(h.StdDocAttributes),m.openNode("comments",A.COMMENTS_ATTRIBUTES),m.openNode("authors"),m.leafNode("author",null,"Author"),m.closeNode(),m.openNode("commentList"),y.comments.forEach(function(I){b.map.comment.render(m,I)}),m.closeNode(),m.closeNode()},parseOpen:function(m){if(this.parser)return this.parser.parseOpen(m),!0;switch(m.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen(m),!0;default:return!1}},parseText:function(m){this.parser&&this.parser.parseText(m)},parseClose:function(m){switch(m){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(m),!0}}})},{"../../../utils/utils":27,"../../../utils/xml-stream":28,"../base-xform":32,"./comment-xform":39}],41:[function(a,c,u){var h=function(d){function p(g){var A;return Et(this,p),(A=Er(this,p))._model=g,A}return nr(p,d),xt(p,[{key:"tag",get:function(){return this._model&&this._model.tag}},{key:"render",value:function(g,A,m){(A===m[2]||this.tag==="x:SizeWithCells"&&A===m[1])&&g.leafNode(this.tag)}},{key:"parseOpen",value:function(g){return g.name===this.tag&&(this.model={},this.model[this.tag]=!0,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../../base-xform"));c.exports=h},{"../../base-xform":32}],42:[function(a,c,u){var h=function(d){function p(g){var A;return Et(this,p),(A=Er(this,p))._model=g,A}return nr(p,d),xt(p,[{key:"tag",get:function(){return this._model&&this._model.tag}},{key:"render",value:function(g,A){g.leafNode(this.tag,null,A)}},{key:"parseOpen",value:function(g){return g.name===this.tag&&(this.text="",!0)}},{key:"parseText",value:function(g){this.text=g}},{key:"parseClose",value:function(){return!1}}])}(a("../../base-xform"));c.exports=h},{"../../base-xform":32}],43:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"x:Anchor"}},{key:"getAnchorRect",value:function(g){var A=Math.floor(g.left),m=Math.floor(68*(g.left-A)),y=Math.floor(g.top),b=Math.floor(18*(g.top-y)),I=Math.floor(g.right),E=Math.floor(68*(g.right-I)),B=Math.floor(g.bottom);return[A,m,y,b,I,E,B,Math.floor(18*(g.bottom-B))]}},{key:"getDefaultRect",value:function(g){var A=g.col,m=6,y=Math.max(g.row-2,0);return[A,m,y,14,A+2,2,y+4,16]}},{key:"render",value:function(g,A){var m=A.anchor?this.getAnchorRect(A.anchor):this.getDefaultRect(A.refAddress);g.leafNode("x:Anchor",null,m.join(", "))}},{key:"parseOpen",value:function(g){return g.name===this.tag&&(this.text="",!0)}},{key:"parseText",value:function(g){this.text=g}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],44:[function(a,c,u){var h=a("../base-xform"),d=a("./vml-anchor-xform"),p=a("./style/vml-protection-xform"),g=a("./style/vml-position-xform"),A=["twoCells","oneCells","absolute"],m=function(y){function b(){var I;return Et(this,b),(I=Er(this,b)).map={"x:Anchor":new d,"x:Locked":new p({tag:"x:Locked"}),"x:LockText":new p({tag:"x:LockText"}),"x:SizeWithCells":new g({tag:"x:SizeWithCells"}),"x:MoveWithCells":new g({tag:"x:MoveWithCells"})},I}return nr(b,y),xt(b,[{key:"tag",get:function(){return"x:ClientData"}},{key:"render",value:function(I,E){var B=E.note,S=B.protection,_=B.editAs;I.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render(I,_,A),this.map["x:SizeWithCells"].render(I,_,A),this.map["x:Anchor"].render(I,E),this.map["x:Locked"].render(I,S.locked),I.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render(I,S.lockText),I.leafNode("x:Row",null,E.refAddress.row-1),I.leafNode("x:Column",null,E.refAddress.col-1),I.closeNode()}},{key:"parseOpen",value:function(I){return I.name===this.tag?(this.reset(),this.model={anchor:[],protection:{},editAs:""}):(this.parser=this.map[I.name],this.parser&&this.parser.parseOpen(I)),!0}},{key:"parseText",value:function(I){this.parser&&this.parser.parseText(I)}},{key:"parseClose",value:function(I){return this.parser?(this.parser.parseClose(I)||(this.parser=void 0),!0):I!==this.tag||(this.normalizeModel(),!1)}},{key:"normalizeModel",value:function(){var I=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),E=Object.keys(I).length;this.model.editAs=A[E],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}])}(h);c.exports=m},{"../base-xform":32,"./style/vml-position-xform":41,"./style/vml-protection-xform":42,"./vml-anchor-xform":43}],45:[function(a,c,u){var h=a("../../../utils/xml-stream"),d=a("../base-xform"),p=a("./vml-shape-xform"),g=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={"v:shape":new p},y}return nr(m,A),xt(m,[{key:"tag",get:function(){return"xml"}},{key:"render",value:function(y,b){var I=this;y.openXml(h.StdDocAttributes),y.openNode(this.tag,m.DRAWING_ATTRIBUTES),y.openNode("o:shapelayout",{"v:ext":"edit"}),y.leafNode("o:idmap",{"v:ext":"edit",data:1}),y.closeNode(),y.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),y.leafNode("v:stroke",{joinstyle:"miter"}),y.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),y.closeNode(),b.comments.forEach(function(E,B){I.map["v:shape"].render(y,E,B)}),y.closeNode()}},{key:"parseOpen",value:function(y){return this.parser?(this.parser.parseOpen(y),!0):(y.name===this.tag?(this.reset(),this.model={comments:[]}):(this.parser=this.map[y.name],this.parser&&this.parser.parseOpen(y)),!0)}},{key:"parseText",value:function(y){this.parser&&this.parser.parseText(y)}},{key:"parseClose",value:function(y){return this.parser?(this.parser.parseClose(y)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0):y!==this.tag}},{key:"reconcile",value:function(y,b){var I=this;y.anchors.forEach(function(E){E.br?I.map["xdr:twoCellAnchor"].reconcile(E,b):I.map["xdr:oneCellAnchor"].reconcile(E,b)})}}])}(d);g.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"},c.exports=g},{"../../../utils/xml-stream":28,"../base-xform":32,"./vml-shape-xform":46}],46:[function(a,c,u){var h=a("../base-xform"),d=a("./vml-textbox-xform"),p=a("./vml-client-data-xform"),g=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={"v:textbox":new d,"x:ClientData":new p},y}return nr(m,A),xt(m,[{key:"tag",get:function(){return"v:shape"}},{key:"render",value:function(y,b,I){y.openNode("v:shape",m.V_SHAPE_ATTRIBUTES(b,I)),y.leafNode("v:fill",{color2:"infoBackground [80]"}),y.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),y.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render(y,b),this.map["x:ClientData"].render(y,b),y.closeNode()}},{key:"parseOpen",value:function(y){return this.parser?(this.parser.parseOpen(y),!0):(y.name===this.tag?(this.reset(),this.model={margins:{insetmode:y.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}}):(this.parser=this.map[y.name],this.parser&&this.parser.parseOpen(y)),!0)}},{key:"parseText",value:function(y){this.parser&&this.parser.parseText(y)}},{key:"parseClose",value:function(y){return this.parser?(this.parser.parseClose(y)||(this.parser=void 0),!0):y!==this.tag||(this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1)}}])}(h);g.V_SHAPE_ATTRIBUTES=function(A,m){return{id:"_x0000_s".concat(1025+m),type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":A.note.margins&&A.note.margins.insetmode}},c.exports=g},{"../base-xform":32,"./vml-client-data-xform":44,"./vml-textbox-xform":47}],47:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"v:textbox"}},{key:"conversionUnit",value:function(g,A,m){return"".concat(parseFloat(g)*A.toFixed(2)).concat(m)}},{key:"reverseConversionUnit",value:function(g){var A=this;return(g||"").split(",").map(function(m){return Number(parseFloat(A.conversionUnit(parseFloat(m),.1,"")).toFixed(2))})}},{key:"render",value:function(g,A){var m=this,y={style:"mso-direction-alt:auto"};if(A&&A.note){var b=(A.note&&A.note.margins).inset;Array.isArray(b)&&(b=b.map(function(I){return m.conversionUnit(I,10,"mm")}).join(",")),b&&(y.inset=b)}g.openNode("v:textbox",y),g.leafNode("div",{style:"text-align:left"}),g.closeNode()}},{key:"parseOpen",value:function(g){return g.name!==this.tag||(this.model={inset:this.reverseConversionUnit(g.attributes.inset)},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(g){return g!==this.tag}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],48:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"createNewModel",value:function(g){return{}}},{key:"parseOpen",value:function(g){return this.parser=this.parser||this.map[g.name],this.parser?(this.parser.parseOpen(g),!0):g.name===this.tag&&(this.model=this.createNewModel(g),!0)}},{key:"parseText",value:function(g){this.parser&&this.parser.parseText(g)}},{key:"onParserClose",value:function(g,A){this.model[g]=A.model}},{key:"parseClose",value:function(g){return this.parser?(this.parser.parseClose(g)||(this.onParserClose(g,this.parser),this.parser=void 0),!0):g!==this.tag}}])}(a("./base-xform"));c.exports=h},{"./base-xform":32}],49:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"render",value:function(g,A){g.openNode("HeadingPairs"),g.openNode("vt:vector",{size:2,baseType:"variant"}),g.openNode("vt:variant"),g.leafNode("vt:lpstr",void 0,"Worksheets"),g.closeNode(),g.openNode("vt:variant"),g.leafNode("vt:i4",void 0,A.length),g.closeNode(),g.closeNode(),g.closeNode()}},{key:"parseOpen",value:function(g){return g.name==="HeadingPairs"}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(g){return g!=="HeadingPairs"}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],50:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"render",value:function(g,A){g.openNode("TitlesOfParts"),g.openNode("vt:vector",{size:A.length,baseType:"lpstr"}),A.forEach(function(m){g.leafNode("vt:lpstr",void 0,m.name)}),g.closeNode(),g.closeNode()}},{key:"parseOpen",value:function(g){return g.name==="TitlesOfParts"}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(g){return g!=="TitlesOfParts"}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],51:[function(a,c,u){var h=a("../../../utils/xml-stream"),d=a("../base-xform"),p=a("../simple/string-xform"),g=a("./app-heading-pairs-xform"),A=a("./app-titles-of-parts-xform"),m=function(y){function b(){var I;return Et(this,b),(I=Er(this,b)).map={Company:new p({tag:"Company"}),Manager:new p({tag:"Manager"}),HeadingPairs:new g,TitleOfParts:new A},I}return nr(b,y),xt(b,[{key:"render",value:function(I,E){I.openXml(h.StdDocAttributes),I.openNode("Properties",b.PROPERTY_ATTRIBUTES),I.leafNode("Application",void 0,"Microsoft Excel"),I.leafNode("DocSecurity",void 0,"0"),I.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render(I,E.worksheets),this.map.TitleOfParts.render(I,E.worksheets),this.map.Company.render(I,E.company||""),this.map.Manager.render(I,E.manager),I.leafNode("LinksUpToDate",void 0,"false"),I.leafNode("SharedDoc",void 0,"false"),I.leafNode("HyperlinksChanged",void 0,"false"),I.leafNode("AppVersion",void 0,"16.0300"),I.closeNode()}},{key:"parseOpen",value:function(I){return this.parser?(this.parser.parseOpen(I),!0):I.name==="Properties"||(this.parser=this.map[I.name],!!this.parser&&(this.parser.parseOpen(I),!0))}},{key:"parseText",value:function(I){this.parser&&this.parser.parseText(I)}},{key:"parseClose",value:function(I){return this.parser?(this.parser.parseClose(I)||(this.parser=void 0),!0):I!=="Properties"||(this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1)}}])}(d);m.DateFormat=function(y){return y.toISOString().replace(/[.]\d{3,6}/,"")},m.DateAttrs={"xsi:type":"dcterms:W3CDTF"},m.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},c.exports=m},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/string-xform":119,"./app-heading-pairs-xform":49,"./app-titles-of-parts-xform":50}],52:[function(a,c,u){var h=a("../../../utils/xml-stream"),d=function(p){function g(){return Et(this,g),Er(this,g,arguments)}return nr(g,p),xt(g,[{key:"render",value:function(A,m){A.openXml(h.StdDocAttributes),A.openNode("Types",g.PROPERTY_ATTRIBUTES);var y={};(m.media||[]).forEach(function(b){if(b.type==="image"){var I=b.extension;y[I]||(y[I]=!0,A.leafNode("Default",{Extension:I,ContentType:"image/".concat(I)}))}}),A.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),A.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),A.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),m.worksheets.forEach(function(b){var I="/xl/worksheets/sheet".concat(b.id,".xml");A.leafNode("Override",{PartName:I,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),A.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),A.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),m.sharedStrings&&m.sharedStrings.count&&A.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}),m.tables&&m.tables.forEach(function(b){A.leafNode("Override",{PartName:"/xl/tables/".concat(b.target),ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})}),m.drawings&&m.drawings.forEach(function(b){A.leafNode("Override",{PartName:"/xl/drawings/".concat(b.name,".xml"),ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})}),m.commentRefs&&(A.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),m.commentRefs.forEach(function(b){var I=b.commentName;A.leafNode("Override",{PartName:"/xl/".concat(I,".xml"),ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})})),A.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),A.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),A.closeNode()}},{key:"parseOpen",value:function(){return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));d.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"},c.exports=d},{"../../../utils/xml-stream":28,"../base-xform":32}],53:[function(a,c,u){var h=a("../../../utils/xml-stream"),d=a("../base-xform"),p=a("../simple/date-xform"),g=a("../simple/string-xform"),A=a("../simple/integer-xform"),m=function(y){function b(){var I;return Et(this,b),(I=Er(this,b)).map={"dc:creator":new g({tag:"dc:creator"}),"dc:title":new g({tag:"dc:title"}),"dc:subject":new g({tag:"dc:subject"}),"dc:description":new g({tag:"dc:description"}),"dc:identifier":new g({tag:"dc:identifier"}),"dc:language":new g({tag:"dc:language"}),"cp:keywords":new g({tag:"cp:keywords"}),"cp:category":new g({tag:"cp:category"}),"cp:lastModifiedBy":new g({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new p({tag:"cp:lastPrinted",format:b.DateFormat}),"cp:revision":new A({tag:"cp:revision"}),"cp:version":new g({tag:"cp:version"}),"cp:contentStatus":new g({tag:"cp:contentStatus"}),"cp:contentType":new g({tag:"cp:contentType"}),"dcterms:created":new p({tag:"dcterms:created",attrs:b.DateAttrs,format:b.DateFormat}),"dcterms:modified":new p({tag:"dcterms:modified",attrs:b.DateAttrs,format:b.DateFormat})},I}return nr(b,y),xt(b,[{key:"render",value:function(I,E){I.openXml(h.StdDocAttributes),I.openNode("cp:coreProperties",b.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render(I,E.creator),this.map["dc:title"].render(I,E.title),this.map["dc:subject"].render(I,E.subject),this.map["dc:description"].render(I,E.description),this.map["dc:identifier"].render(I,E.identifier),this.map["dc:language"].render(I,E.language),this.map["cp:keywords"].render(I,E.keywords),this.map["cp:category"].render(I,E.category),this.map["cp:lastModifiedBy"].render(I,E.lastModifiedBy),this.map["cp:lastPrinted"].render(I,E.lastPrinted),this.map["cp:revision"].render(I,E.revision),this.map["cp:version"].render(I,E.version),this.map["cp:contentStatus"].render(I,E.contentStatus),this.map["cp:contentType"].render(I,E.contentType),this.map["dcterms:created"].render(I,E.created),this.map["dcterms:modified"].render(I,E.modified),I.closeNode()}},{key:"parseOpen",value:function(I){if(this.parser)return this.parser.parseOpen(I),!0;switch(I.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[I.name],this.parser)return this.parser.parseOpen(I),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(I)))}}},{key:"parseText",value:function(I){this.parser&&this.parser.parseText(I)}},{key:"parseClose",value:function(I){if(this.parser)return this.parser.parseClose(I)||(this.parser=void 0),!0;switch(I){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(I))}}}])}(d);m.DateFormat=function(y){return y.toISOString().replace(/[.]\d{3}/,"")},m.DateAttrs={"xsi:type":"dcterms:W3CDTF"},m.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},c.exports=m},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/date-xform":117,"../simple/integer-xform":118,"../simple/string-xform":119}],54:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"render",value:function(g,A){g.leafNode("Relationship",A)}},{key:"parseOpen",value:function(g){return g.name==="Relationship"&&(this.model=g.attributes,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],55:[function(a,c,u){var h=a("../../../utils/xml-stream"),d=a("../base-xform"),p=a("./relationship-xform"),g=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={Relationship:new p},y}return nr(m,A),xt(m,[{key:"render",value:function(y,b){var I=this;b=b||this._values,y.openXml(h.StdDocAttributes),y.openNode("Relationships",m.RELATIONSHIPS_ATTRIBUTES),b.forEach(function(E){I.map.Relationship.render(y,E)}),y.closeNode()}},{key:"parseOpen",value:function(y){if(this.parser)return this.parser.parseOpen(y),!0;if(y.name==="Relationships")return this.model=[],!0;if(this.parser=this.map[y.name],this.parser)return this.parser.parseOpen(y),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(y)))}},{key:"parseText",value:function(y){this.parser&&this.parser.parseText(y)}},{key:"parseClose",value:function(y){if(this.parser)return this.parser.parseClose(y)||(this.model.push(this.parser.model),this.parser=void 0),!0;if(y==="Relationships")return!1;throw new Error("Unexpected xml node in parseClose: ".concat(y))}}])}(d);g.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},c.exports=g},{"../../../utils/xml-stream":28,"../base-xform":32,"./relationship-xform":54}],56:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"parseOpen",value:function(g){return this.parser?(this.parser.parseOpen(g),!0):(g.name===this.tag?(this.reset(),this.model={range:{editAs:g.attributes.editAs||"oneCell"}}):(this.parser=this.map[g.name],this.parser&&this.parser.parseOpen(g)),!0)}},{key:"parseText",value:function(g){this.parser&&this.parser.parseText(g)}},{key:"reconcilePicture",value:function(g,A){if(g&&g.rId){var m=A.rels[g.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(m){var y=m[1],b=A.mediaIndex[y];return A.media[b]}}}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],57:[function(a,c,u){var h=a("../base-xform"),d=a("./blip-xform"),p=function(g){function A(){var m;return Et(this,A),(m=Er(this,A)).map={"a:blip":new d},m}return nr(A,g),xt(A,[{key:"tag",get:function(){return"xdr:blipFill"}},{key:"render",value:function(m,y){m.openNode(this.tag),this.map["a:blip"].render(m,y),m.openNode("a:stretch"),m.leafNode("a:fillRect"),m.closeNode(),m.closeNode()}},{key:"parseOpen",value:function(m){return this.parser?(this.parser.parseOpen(m),!0):(m.name===this.tag?this.reset():(this.parser=this.map[m.name],this.parser&&this.parser.parseOpen(m)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(m){return this.parser?(this.parser.parseClose(m)||(this.parser=void 0),!0):m!==this.tag||(this.model=this.map["a:blip"].model,!1)}}])}(h);c.exports=p},{"../base-xform":32,"./blip-xform":58}],58:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"a:blip"}},{key:"render",value:function(g,A){g.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":A.rId,cstate:"print"})}},{key:"parseOpen",value:function(g){return g.name!==this.tag||(this.model={rId:g.attributes["r:embed"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(g){return g!==this.tag}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],59:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"xdr:cNvPicPr"}},{key:"render",value:function(g){g.openNode(this.tag),g.leafNode("a:picLocks",{noChangeAspect:"1"}),g.closeNode()}},{key:"parseOpen",value:function(g){return g.name,this.tag,!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(g){return g!==this.tag}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],60:[function(a,c,u){var h=a("../base-xform"),d=a("./hlink-click-xform"),p=a("./ext-lst-xform"),g=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={"a:hlinkClick":new d,"a:extLst":new p},y}return nr(m,A),xt(m,[{key:"tag",get:function(){return"xdr:cNvPr"}},{key:"render",value:function(y,b){y.openNode(this.tag,{id:b.index,name:"Picture ".concat(b.index)}),this.map["a:hlinkClick"].render(y,b),this.map["a:extLst"].render(y,b),y.closeNode()}},{key:"parseOpen",value:function(y){return this.parser?(this.parser.parseOpen(y),!0):(y.name===this.tag?this.reset():(this.parser=this.map[y.name],this.parser&&this.parser.parseOpen(y)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(y){return this.parser?(this.parser.parseClose(y)||(this.parser=void 0),!0):y!==this.tag||(this.model=this.map["a:hlinkClick"].model,!1)}}])}(h);c.exports=g},{"../base-xform":32,"./ext-lst-xform":63,"./hlink-click-xform":65}],61:[function(a,c,u){var h=a("../base-xform"),d=a("../simple/integer-xform"),p=function(g){function A(m){var y;return Et(this,A),(y=Er(this,A)).tag=m.tag,y.map={"xdr:col":new d({tag:"xdr:col",zero:!0}),"xdr:colOff":new d({tag:"xdr:colOff",zero:!0}),"xdr:row":new d({tag:"xdr:row",zero:!0}),"xdr:rowOff":new d({tag:"xdr:rowOff",zero:!0})},y}return nr(A,g),xt(A,[{key:"render",value:function(m,y){m.openNode(this.tag),this.map["xdr:col"].render(m,y.nativeCol),this.map["xdr:colOff"].render(m,y.nativeColOff),this.map["xdr:row"].render(m,y.nativeRow),this.map["xdr:rowOff"].render(m,y.nativeRowOff),m.closeNode()}},{key:"parseOpen",value:function(m){return this.parser?(this.parser.parseOpen(m),!0):(m.name===this.tag?this.reset():(this.parser=this.map[m.name],this.parser&&this.parser.parseOpen(m)),!0)}},{key:"parseText",value:function(m){this.parser&&this.parser.parseText(m)}},{key:"parseClose",value:function(m){return this.parser?(this.parser.parseClose(m)||(this.parser=void 0),!0):m!==this.tag||(this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1)}}])}(h);c.exports=p},{"../base-xform":32,"../simple/integer-xform":118}],62:[function(a,c,u){var h=a("../../../utils/col-cache"),d=a("../../../utils/xml-stream"),p=a("../base-xform"),g=a("./two-cell-anchor-xform"),A=a("./one-cell-anchor-xform");function m(b){return(typeof b.range=="string"?h.decode(b.range):b.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}var y=function(b){function I(){var E;return Et(this,I),(E=Er(this,I)).map={"xdr:twoCellAnchor":new g,"xdr:oneCellAnchor":new A},E}return nr(I,b),xt(I,[{key:"prepare",value:function(E){var B=this;E.anchors.forEach(function(S,_){S.anchorType=m(S),B.map[S.anchorType].prepare(S,{index:_})})}},{key:"tag",get:function(){return"xdr:wsDr"}},{key:"render",value:function(E,B){var S=this;E.openXml(d.StdDocAttributes),E.openNode(this.tag,I.DRAWING_ATTRIBUTES),B.anchors.forEach(function(_){S.map[_.anchorType].render(E,_)}),E.closeNode()}},{key:"parseOpen",value:function(E){return this.parser?(this.parser.parseOpen(E),!0):(E.name===this.tag?(this.reset(),this.model={anchors:[]}):(this.parser=this.map[E.name],this.parser&&this.parser.parseOpen(E)),!0)}},{key:"parseText",value:function(E){this.parser&&this.parser.parseText(E)}},{key:"parseClose",value:function(E){return this.parser?(this.parser.parseClose(E)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0):E!==this.tag}},{key:"reconcile",value:function(E,B){var S=this;E.anchors.forEach(function(_){_.br?S.map["xdr:twoCellAnchor"].reconcile(_,B):S.map["xdr:oneCellAnchor"].reconcile(_,B)})}}])}(p);y.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"},c.exports=y},{"../../../utils/col-cache":19,"../../../utils/xml-stream":28,"../base-xform":32,"./one-cell-anchor-xform":67,"./two-cell-anchor-xform":70}],63:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"a:extLst"}},{key:"render",value:function(g){g.openNode(this.tag),g.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),g.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),g.closeNode(),g.closeNode()}},{key:"parseOpen",value:function(g){return g.name,this.tag,!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(g){return g!==this.tag}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],64:[function(a,c,u){var h=a("../base-xform"),d=9525,p=function(g){function A(m){var y;return Et(this,A),(y=Er(this,A)).tag=m.tag,y.map={},y}return nr(A,g),xt(A,[{key:"render",value:function(m,y){m.openNode(this.tag);var b=Math.floor(y.width*d),I=Math.floor(y.height*d);m.addAttribute("cx",b),m.addAttribute("cy",I),m.closeNode()}},{key:"parseOpen",value:function(m){return m.name===this.tag&&(this.model={width:parseInt(m.attributes.cx||"0",10)/d,height:parseInt(m.attributes.cy||"0",10)/d},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(h);c.exports=p},{"../base-xform":32}],65:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"a:hlinkClick"}},{key:"render",value:function(g,A){A.hyperlinks&&A.hyperlinks.rId&&g.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":A.hyperlinks.rId,tooltip:A.hyperlinks.tooltip})}},{key:"parseOpen",value:function(g){return g.name!==this.tag||(this.model={hyperlinks:{rId:g.attributes["r:id"],tooltip:g.attributes.tooltip}},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],66:[function(a,c,u){var h=a("../base-xform"),d=a("./c-nv-pr-xform"),p=a("./c-nv-pic-pr-xform"),g=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={"xdr:cNvPr":new d,"xdr:cNvPicPr":new p},y}return nr(m,A),xt(m,[{key:"tag",get:function(){return"xdr:nvPicPr"}},{key:"render",value:function(y,b){y.openNode(this.tag),this.map["xdr:cNvPr"].render(y,b),this.map["xdr:cNvPicPr"].render(y,b),y.closeNode()}},{key:"parseOpen",value:function(y){return this.parser?(this.parser.parseOpen(y),!0):(y.name===this.tag?this.reset():(this.parser=this.map[y.name],this.parser&&this.parser.parseOpen(y)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(y){return this.parser?(this.parser.parseClose(y)||(this.parser=void 0),!0):y!==this.tag||(this.model=this.map["xdr:cNvPr"].model,!1)}}])}(h);c.exports=g},{"../base-xform":32,"./c-nv-pic-pr-xform":59,"./c-nv-pr-xform":60}],67:[function(a,c,u){var h=a("./base-cell-anchor-xform"),d=a("../static-xform"),p=a("./cell-position-xform"),g=a("./ext-xform"),A=a("./pic-xform"),m=function(y){function b(){var I;return Et(this,b),(I=Er(this,b)).map={"xdr:from":new p({tag:"xdr:from"}),"xdr:ext":new g({tag:"xdr:ext"}),"xdr:pic":new A,"xdr:clientData":new d({tag:"xdr:clientData"})},I}return nr(b,y),xt(b,[{key:"tag",get:function(){return"xdr:oneCellAnchor"}},{key:"prepare",value:function(I,E){this.map["xdr:pic"].prepare(I.picture,E)}},{key:"render",value:function(I,E){I.openNode(this.tag,{editAs:E.range.editAs||"oneCell"}),this.map["xdr:from"].render(I,E.range.tl),this.map["xdr:ext"].render(I,E.range.ext),this.map["xdr:pic"].render(I,E.picture),this.map["xdr:clientData"].render(I,{}),I.closeNode()}},{key:"parseClose",value:function(I){return this.parser?(this.parser.parseClose(I)||(this.parser=void 0),!0):I!==this.tag||(this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1)}},{key:"reconcile",value:function(I,E){I.medium=this.reconcilePicture(I.picture,E)}}])}(h);c.exports=m},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./ext-xform":64,"./pic-xform":68}],68:[function(a,c,u){var h=a("../base-xform"),d=a("../static-xform"),p=a("./blip-fill-xform"),g=a("./nv-pic-pr-xform"),A=a("./sp-pr"),m=function(y){function b(){var I;return Et(this,b),(I=Er(this,b)).map={"xdr:nvPicPr":new g,"xdr:blipFill":new p,"xdr:spPr":new d(A)},I}return nr(b,y),xt(b,[{key:"tag",get:function(){return"xdr:pic"}},{key:"prepare",value:function(I,E){I.index=E.index+1}},{key:"render",value:function(I,E){I.openNode(this.tag),this.map["xdr:nvPicPr"].render(I,E),this.map["xdr:blipFill"].render(I,E),this.map["xdr:spPr"].render(I,E),I.closeNode()}},{key:"parseOpen",value:function(I){return this.parser?(this.parser.parseOpen(I),!0):(I.name===this.tag?this.reset():(this.parser=this.map[I.name],this.parser&&this.parser.parseOpen(I)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(I){return this.parser?(this.parser.parseClose(I)||(this.mergeModel(this.parser.model),this.parser=void 0),!0):I!==this.tag}}])}(h);c.exports=m},{"../base-xform":32,"../static-xform":120,"./blip-fill-xform":57,"./nv-pic-pr-xform":66,"./sp-pr":69}],69:[function(a,c,u){c.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}},{}],70:[function(a,c,u){var h=a("./base-cell-anchor-xform"),d=a("../static-xform"),p=a("./cell-position-xform"),g=a("./pic-xform"),A=function(m){function y(){var b;return Et(this,y),(b=Er(this,y)).map={"xdr:from":new p({tag:"xdr:from"}),"xdr:to":new p({tag:"xdr:to"}),"xdr:pic":new g,"xdr:clientData":new d({tag:"xdr:clientData"})},b}return nr(y,m),xt(y,[{key:"tag",get:function(){return"xdr:twoCellAnchor"}},{key:"prepare",value:function(b,I){this.map["xdr:pic"].prepare(b.picture,I)}},{key:"render",value:function(b,I){b.openNode(this.tag,{editAs:I.range.editAs||"oneCell"}),this.map["xdr:from"].render(b,I.range.tl),this.map["xdr:to"].render(b,I.range.br),this.map["xdr:pic"].render(b,I.picture),this.map["xdr:clientData"].render(b,{}),b.closeNode()}},{key:"parseClose",value:function(b){return this.parser?(this.parser.parseClose(b)||(this.parser=void 0),!0):b!==this.tag||(this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1)}},{key:"reconcile",value:function(b,I){b.medium=this.reconcilePicture(b.picture,I)}}])}(h);c.exports=A},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./pic-xform":68}],71:[function(a,c,u){var h=function(d){function p(g){var A;return Et(this,p),(A=Er(this,p)).tag=g.tag,A.always=!!g.always,A.count=g.count,A.empty=g.empty,A.$count=g.$count||"count",A.$=g.$,A.childXform=g.childXform,A.maxItems=g.maxItems,A}return nr(p,d),xt(p,[{key:"prepare",value:function(g,A){var m=this.childXform;g&&g.forEach(function(y,b){A.index=b,m.prepare(y,A)})}},{key:"render",value:function(g,A){if(this.always||A&&A.length){g.openNode(this.tag,this.$),this.count&&g.addAttribute(this.$count,A&&A.length||0);var m=this.childXform;(A||[]).forEach(function(y,b){m.render(g,y,b)}),g.closeNode()}else this.empty&&g.leafNode(this.tag)}},{key:"parseOpen",value:function(g){return this.parser?(this.parser.parseOpen(g),!0):g.name===this.tag?(this.model=[],!0):!!this.childXform.parseOpen(g)&&(this.parser=this.childXform,!0)}},{key:"parseText",value:function(g){this.parser&&this.parser.parseText(g)}},{key:"parseClose",value:function(g){if(this.parser){if(!this.parser.parseClose(g)&&(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems))throw new Error("Max ".concat(this.childXform.tag," count (").concat(this.maxItems,") exceeded"));return!0}return!1}},{key:"reconcile",value:function(g,A){if(g){var m=this.childXform;g.forEach(function(y){m.reconcile(y,A)})}}}])}(a("./base-xform"));c.exports=h},{"./base-xform":32}],72:[function(a,c,u){var h=a("../../../utils/col-cache"),d=function(p){function g(){return Et(this,g),Er(this,g,arguments)}return nr(g,p),xt(g,[{key:"tag",get:function(){return"autoFilter"}},{key:"render",value:function(A,m){if(m)if(typeof m=="string")A.leafNode("autoFilter",{ref:m});else{var y=function(E){return typeof E=="string"?E:h.getAddress(E.row,E.column).address},b=y(m.from),I=y(m.to);b&&I&&A.leafNode("autoFilter",{ref:"".concat(b,":").concat(I)})}}},{key:"parseOpen",value:function(A){A.name==="autoFilter"&&(this.model=A.attributes.ref)}}])}(a("../base-xform"));c.exports=d},{"../../../utils/col-cache":19,"../base-xform":32}],73:[function(a,c,u){var h=a("../../../utils/utils"),d=a("../base-xform"),p=a("../../../doc/range"),g=a("../../../doc/enums"),A=a("../strings/rich-text-xform");function m(I){if(I==null)return g.ValueType.Null;if(I instanceof String||typeof I=="string")return g.ValueType.String;if(typeof I=="number")return g.ValueType.Number;if(typeof I=="boolean")return g.ValueType.Boolean;if(I instanceof Date)return g.ValueType.Date;if(I.text&&I.hyperlink)return g.ValueType.Hyperlink;if(I.formula)return g.ValueType.Formula;if(I.error)return g.ValueType.Error;throw new Error("I could not understand type of value")}function y(I){return I.type===g.ValueType.Formula?m(I.result):I.type}var b=function(I){function E(){var B;return Et(this,E),(B=Er(this,E)).richTextXForm=new A,B}return nr(E,I),xt(E,[{key:"tag",get:function(){return"c"}},{key:"prepare",value:function(B,S){var _=S.styles.addStyleModel(B.style||{},y(B));switch(_&&(B.styleId=_),B.comment&&S.comments.push(Za(Za({},B.comment),{},{ref:B.address})),B.type){case g.ValueType.String:case g.ValueType.RichText:S.sharedStrings&&(B.ssId=S.sharedStrings.add(B.value));break;case g.ValueType.Date:S.date1904&&(B.date1904=!0);break;case g.ValueType.Hyperlink:S.sharedStrings&&B.text!==void 0&&B.text!==null&&(B.ssId=S.sharedStrings.add(B.text)),S.hyperlinks.push({address:B.address,target:B.hyperlink,tooltip:B.tooltip});break;case g.ValueType.Merge:S.merges.add(B);break;case g.ValueType.Formula:if(S.date1904&&(B.date1904=!0),B.shareType==="shared"&&(B.si=S.siFormulae++),B.formula)S.formulae[B.address]=B;else if(B.sharedFormula){var D=S.formulae[B.sharedFormula];if(!D)throw new Error("Shared Formula master must exist above and or left of clone for cell ".concat(B.address));D.si===void 0?(D.shareType="shared",D.si=S.siFormulae++,D.range=new p(D.address,B.address)):D.range&&D.range.expandToAddress(B.address),B.si=D.si}}}},{key:"renderFormula",value:function(B,S){var _=null;switch(S.shareType){case"shared":_={t:"shared",ref:S.ref||S.range.range,si:S.si};break;case"array":_={t:"array",ref:S.ref};break;default:S.si!==void 0&&(_={t:"shared",si:S.si})}switch(m(S.result)){case g.ValueType.Null:B.leafNode("f",_,S.formula);break;case g.ValueType.String:B.addAttribute("t","str"),B.leafNode("f",_,S.formula),B.leafNode("v",null,S.result);break;case g.ValueType.Number:B.leafNode("f",_,S.formula),B.leafNode("v",null,S.result);break;case g.ValueType.Boolean:B.addAttribute("t","b"),B.leafNode("f",_,S.formula),B.leafNode("v",null,S.result?1:0);break;case g.ValueType.Error:B.addAttribute("t","e"),B.leafNode("f",_,S.formula),B.leafNode("v",null,S.result.error);break;case g.ValueType.Date:B.leafNode("f",_,S.formula),B.leafNode("v",null,h.dateToExcel(S.result,S.date1904));break;default:throw new Error("I could not understand type of value")}}},{key:"render",value:function(B,S){var _=this;if(S.type!==g.ValueType.Null||S.styleId){switch(B.openNode("c"),B.addAttribute("r",S.address),S.styleId&&B.addAttribute("s",S.styleId),S.type){case g.ValueType.Null:break;case g.ValueType.Number:B.leafNode("v",null,S.value);break;case g.ValueType.Boolean:B.addAttribute("t","b"),B.leafNode("v",null,S.value?"1":"0");break;case g.ValueType.Error:B.addAttribute("t","e"),B.leafNode("v",null,S.value.error);break;case g.ValueType.String:case g.ValueType.RichText:S.ssId!==void 0?(B.addAttribute("t","s"),B.leafNode("v",null,S.ssId)):S.value&&S.value.richText?(B.addAttribute("t","inlineStr"),B.openNode("is"),S.value.richText.forEach(function(D){_.richTextXForm.render(B,D)}),B.closeNode("is")):(B.addAttribute("t","str"),B.leafNode("v",null,S.value));break;case g.ValueType.Date:B.leafNode("v",null,h.dateToExcel(S.value,S.date1904));break;case g.ValueType.Hyperlink:S.ssId!==void 0?(B.addAttribute("t","s"),B.leafNode("v",null,S.ssId)):(B.addAttribute("t","str"),B.leafNode("v",null,S.text));break;case g.ValueType.Formula:this.renderFormula(B,S);case g.ValueType.Merge:}B.closeNode()}}},{key:"parseOpen",value:function(B){if(this.parser)return this.parser.parseOpen(B),!0;switch(B.name){case"c":return this.model={address:B.attributes.r},this.t=B.attributes.t,B.attributes.s&&(this.model.styleId=parseInt(B.attributes.s,10)),!0;case"f":return this.currentNode="f",this.model.si=B.attributes.si,this.model.shareType=B.attributes.t,this.model.ref=B.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen(B),!0;default:return!1}}},{key:"parseText",value:function(B){if(this.parser)this.parser.parseText(B);else switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+B:B;break;case"v":case"t":this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+B:B:this.model.value=this.model.value?this.model.value+B:B}}},{key:"parseClose",value:function(B){switch(B){case"c":var S=this.model;if(S.formula||S.shareType)S.type=g.ValueType.Formula,S.value&&(this.t==="str"?S.result=h.xmlDecode(S.value):this.t==="b"?S.result=parseInt(S.value,10)!==0:this.t==="e"?S.result={error:S.value}:S.result=parseFloat(S.value),S.value=void 0);else if(S.value!==void 0)switch(this.t){case"s":S.type=g.ValueType.String,S.value=parseInt(S.value,10);break;case"str":S.type=g.ValueType.String,S.value=h.xmlDecode(S.value);break;case"inlineStr":S.type=g.ValueType.String;break;case"b":S.type=g.ValueType.Boolean,S.value=parseInt(S.value,10)!==0;break;case"e":S.type=g.ValueType.Error,S.value={error:S.value};break;default:S.type=g.ValueType.Number,S.value=parseFloat(S.value)}else S.styleId?S.type=g.ValueType.Null:S.type=g.ValueType.Merge;return!1;case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":return this.parser?(this.parser.parseClose(B),!0):(this.currentNode=void 0,!0);case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&&(this.parser.parseClose(B),!0)}}},{key:"reconcile",value:function(B,S){var _=B.styleId&&S.styles&&S.styles.getStyleModel(B.styleId);switch(_&&(B.style=_),B.styleId!==void 0&&(B.styleId=void 0),B.type){case g.ValueType.String:typeof B.value=="number"&&S.sharedStrings&&(B.value=S.sharedStrings.getString(B.value)),B.value.richText&&(B.type=g.ValueType.RichText);break;case g.ValueType.Number:_&&h.isDateFmt(_.numFmt)&&(B.type=g.ValueType.Date,B.value=h.excelToDate(B.value,S.date1904));break;case g.ValueType.Formula:B.result!==void 0&&_&&h.isDateFmt(_.numFmt)&&(B.result=h.excelToDate(B.result,S.date1904)),B.shareType==="shared"&&(B.ref?S.formulae[B.si]=B.address:(B.sharedFormula=S.formulae[B.si],delete B.shareType),delete B.si)}var D=S.hyperlinkMap[B.address];D&&(B.type===g.ValueType.Formula?(B.text=B.result,B.result=void 0):(B.text=B.value,B.value=void 0),B.type=g.ValueType.Hyperlink,B.hyperlink=D);var T=S.commentsMap&&S.commentsMap[B.address];T&&(B.comment=T)}}])}(d);c.exports=b},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],74:[function(a,c,u){var h=a("../../base-xform"),d=function(p){function g(){return Et(this,g),Er(this,g,arguments)}return nr(g,p),xt(g,[{key:"tag",get:function(){return"x14:cfIcon"}},{key:"render",value:function(A,m){A.leafNode(this.tag,{iconSet:m.iconSet,iconId:m.iconId})}},{key:"parseOpen",value:function(A){var m=A.attributes;this.model={iconSet:m.iconSet,iconId:h.toIntValue(m.iconId)}}},{key:"parseClose",value:function(A){return A!==this.tag}}])}(h);c.exports=d},{"../../base-xform":32}],75:[function(a,c,u){var h=a("uuid").v4,d=a("../../base-xform"),p=a("../../composite-xform"),g=a("./databar-ext-xform"),A=a("./icon-set-ext-xform"),m={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},y=function(b){function I(){var E;return Et(this,I),(E=Er(this,I)).map={"x14:dataBar":E.databarXform=new g,"x14:iconSet":E.iconSetXform=new A},E}return nr(I,b),xt(I,[{key:"tag",get:function(){return"x14:cfRule"}},{key:"prepare",value:function(E){I.isExt(E)&&(E.x14Id="{".concat(h(),"}").toUpperCase())}},{key:"render",value:function(E,B){if(I.isExt(B))switch(B.type){case"dataBar":this.renderDataBar(E,B);break;case"iconSet":this.renderIconSet(E,B)}}},{key:"renderDataBar",value:function(E,B){E.openNode(this.tag,{type:"dataBar",id:B.x14Id}),this.databarXform.render(E,B),E.closeNode()}},{key:"renderIconSet",value:function(E,B){E.openNode(this.tag,{type:"iconSet",priority:B.priority,id:B.x14Id||"{".concat(h(),"}")}),this.iconSetXform.render(E,B),E.closeNode()}},{key:"createNewModel",value:function(E){var B=E.attributes;return{type:B.type,x14Id:B.id,priority:d.toIntValue(B.priority)}}},{key:"onParserClose",value:function(E,B){Object.assign(this.model,B.model)}}],[{key:"isExt",value:function(E){return E.type==="dataBar"?g.isExt(E):!(E.type!=="iconSet"||!E.custom&&!m[E.iconSet])}}])}(p);c.exports=y},{"../../base-xform":32,"../../composite-xform":48,"./databar-ext-xform":79,"./icon-set-ext-xform":81,uuid:528}],76:[function(a,c,u){var h=a("../../composite-xform"),d=a("./f-ext-xform"),p=function(g){function A(){var m;return Et(this,A),(m=Er(this,A)).map={"xm:f":m.fExtXform=new d},m}return nr(A,g),xt(A,[{key:"tag",get:function(){return"x14:cfvo"}},{key:"render",value:function(m,y){m.openNode(this.tag,{type:y.type}),y.value!==void 0&&this.fExtXform.render(m,y.value),m.closeNode()}},{key:"createNewModel",value:function(m){return{type:m.attributes.type}}},{key:"onParserClose",value:function(m,y){m==="xm:f"&&(this.model.value=y.model?parseFloat(y.model):0)}}])}(h);c.exports=p},{"../../composite-xform":48,"./f-ext-xform":80}],77:[function(a,c,u){var h=a("../../composite-xform"),d=a("./sqref-ext-xform"),p=a("./cf-rule-ext-xform"),g=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={"xm:sqref":y.sqRef=new d,"x14:cfRule":y.cfRule=new p},y}return nr(m,A),xt(m,[{key:"tag",get:function(){return"x14:conditionalFormatting"}},{key:"prepare",value:function(y,b){var I=this;y.rules.forEach(function(E){I.cfRule.prepare(E,b)})}},{key:"render",value:function(y,b){var I=this;b.rules.some(p.isExt)&&(y.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),b.rules.filter(p.isExt).forEach(function(E){return I.cfRule.render(y,E)}),this.sqRef.render(y,b.ref),y.closeNode())}},{key:"createNewModel",value:function(){return{rules:[]}}},{key:"onParserClose",value:function(y,b){switch(y){case"xm:sqref":this.model.ref=b.model;break;case"x14:cfRule":this.model.rules.push(b.model)}}}])}(h);c.exports=g},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./sqref-ext-xform":82}],78:[function(a,c,u){var h=a("../../composite-xform"),d=a("./cf-rule-ext-xform"),p=a("./conditional-formatting-ext-xform"),g=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={"x14:conditionalFormatting":y.cfXform=new p},y}return nr(m,A),xt(m,[{key:"tag",get:function(){return"x14:conditionalFormattings"}},{key:"hasContent",value:function(y){return y.hasExtContent===void 0&&(y.hasExtContent=y.some(function(b){return b.rules.some(d.isExt)})),y.hasExtContent}},{key:"prepare",value:function(y,b){var I=this;y.forEach(function(E){I.cfXform.prepare(E,b)})}},{key:"render",value:function(y,b){var I=this;this.hasContent(b)&&(y.openNode(this.tag),b.forEach(function(E){return I.cfXform.render(y,E)}),y.closeNode())}},{key:"createNewModel",value:function(){return[]}},{key:"onParserClose",value:function(y,b){this.model.push(b.model)}}])}(h);c.exports=g},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./conditional-formatting-ext-xform":77}],79:[function(a,c,u){var h=a("../../base-xform"),d=a("../../composite-xform"),p=a("../../style/color-xform"),g=a("./cfvo-ext-xform"),A=function(m){function y(){var b;return Et(this,y),(b=Er(this,y)).map={"x14:cfvo":b.cfvoXform=new g,"x14:borderColor":b.borderColorXform=new p("x14:borderColor"),"x14:negativeBorderColor":b.negativeBorderColorXform=new p("x14:negativeBorderColor"),"x14:negativeFillColor":b.negativeFillColorXform=new p("x14:negativeFillColor"),"x14:axisColor":b.axisColorXform=new p("x14:axisColor")},b}return nr(y,m),xt(y,[{key:"tag",get:function(){return"x14:dataBar"}},{key:"render",value:function(b,I){var E=this;b.openNode(this.tag,{minLength:h.toIntAttribute(I.minLength,0,!0),maxLength:h.toIntAttribute(I.maxLength,100,!0),border:h.toBoolAttribute(I.border,!1),gradient:h.toBoolAttribute(I.gradient,!0),negativeBarColorSameAsPositive:h.toBoolAttribute(I.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:h.toBoolAttribute(I.negativeBarBorderColorSameAsPositive,!0),axisPosition:h.toAttribute(I.axisPosition,"auto"),direction:h.toAttribute(I.direction,"leftToRight")}),I.cfvo.forEach(function(B){E.cfvoXform.render(b,B)}),this.borderColorXform.render(b,I.borderColor),this.negativeBorderColorXform.render(b,I.negativeBorderColor),this.negativeFillColorXform.render(b,I.negativeFillColor),this.axisColorXform.render(b,I.axisColor),b.closeNode()}},{key:"createNewModel",value:function(b){var I=b.attributes;return{cfvo:[],minLength:h.toIntValue(I.minLength,0),maxLength:h.toIntValue(I.maxLength,100),border:h.toBoolValue(I.border,!1),gradient:h.toBoolValue(I.gradient,!0),negativeBarColorSameAsPositive:h.toBoolValue(I.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:h.toBoolValue(I.negativeBarBorderColorSameAsPositive,!0),axisPosition:h.toStringValue(I.axisPosition,"auto"),direction:h.toStringValue(I.direction,"leftToRight")}}},{key:"onParserClose",value:function(b,I){var E=En(b.split(":"),2)[1];E==="cfvo"?this.model.cfvo.push(I.model):this.model[E]=I.model}}],[{key:"isExt",value:function(b){return!b.gradient}}])}(d);c.exports=A},{"../../base-xform":32,"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-ext-xform":76}],80:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"xm:f"}},{key:"render",value:function(g,A){g.leafNode(this.tag,null,A)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(g){this.model+=g}},{key:"parseClose",value:function(g){return g!==this.tag}}])}(a("../../base-xform"));c.exports=h},{"../../base-xform":32}],81:[function(a,c,u){var h=a("../../base-xform"),d=a("../../composite-xform"),p=a("./cfvo-ext-xform"),g=a("./cf-icon-ext-xform"),A=function(m){function y(){var b;return Et(this,y),(b=Er(this,y)).map={"x14:cfvo":b.cfvoXform=new p,"x14:cfIcon":b.cfIconXform=new g},b}return nr(y,m),xt(y,[{key:"tag",get:function(){return"x14:iconSet"}},{key:"render",value:function(b,I){var E=this;b.openNode(this.tag,{iconSet:h.toStringAttribute(I.iconSet),reverse:h.toBoolAttribute(I.reverse,!1),showValue:h.toBoolAttribute(I.showValue,!0),custom:h.toBoolAttribute(I.icons,!1)}),I.cfvo.forEach(function(B){E.cfvoXform.render(b,B)}),I.icons&&I.icons.forEach(function(B,S){B.iconId=S,E.cfIconXform.render(b,B)}),b.closeNode()}},{key:"createNewModel",value:function(b){var I=b.attributes;return{cfvo:[],iconSet:h.toStringValue(I.iconSet,"3TrafficLights"),reverse:h.toBoolValue(I.reverse,!1),showValue:h.toBoolValue(I.showValue,!0)}}},{key:"onParserClose",value:function(b,I){var E=En(b.split(":"),2)[1];switch(E){case"cfvo":this.model.cfvo.push(I.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(I.model);break;default:this.model[E]=I.model}}}])}(d);c.exports=A},{"../../base-xform":32,"../../composite-xform":48,"./cf-icon-ext-xform":74,"./cfvo-ext-xform":76}],82:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"xm:sqref"}},{key:"render",value:function(g,A){g.leafNode(this.tag,null,A)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(g){this.model+=g}},{key:"parseClose",value:function(g){return g!==this.tag}}])}(a("../../base-xform"));c.exports=h},{"../../base-xform":32}],83:[function(a,c,u){var h=a("../../base-xform"),d=a("../../composite-xform"),p=a("../../../../doc/range"),g=a("./databar-xform"),A=a("./ext-lst-ref-xform"),m=a("./formula-xform"),y=a("./color-scale-xform"),b=a("./icon-set-xform"),I={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},E=function(D){if(D.formulae&&D.formulae[0])return D.formulae[0];var T=new p(D.ref).tl;switch(D.operator){case"containsText":return'NOT(ISERROR(SEARCH("'.concat(D.text,'",').concat(T,")))");case"containsBlanks":return"LEN(TRIM(".concat(T,"))=0");case"notContainsBlanks":return"LEN(TRIM(".concat(T,"))>0");case"containsErrors":return"ISERROR(".concat(T,")");case"notContainsErrors":return"NOT(ISERROR(".concat(T,"))");default:return}},B=function(D){if(D.formulae&&D.formulae[0])return D.formulae[0];var T=new p(D.ref).tl;switch(D.timePeriod){case"thisWeek":return"AND(TODAY()-ROUNDDOWN(".concat(T,",0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(").concat(T,",0)-TODAY()<=7-WEEKDAY(TODAY()))");case"lastWeek":return"AND(TODAY()-ROUNDDOWN(".concat(T,",0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(").concat(T,",0)<(WEEKDAY(TODAY())+7))");case"nextWeek":return"AND(ROUNDDOWN(".concat(T,",0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(").concat(T,",0)-TODAY()<(15-WEEKDAY(TODAY())))");case"yesterday":return"FLOOR(".concat(T,",1)=TODAY()-1");case"today":return"FLOOR(".concat(T,",1)=TODAY()");case"tomorrow":return"FLOOR(".concat(T,",1)=TODAY()+1");case"last7Days":return"AND(TODAY()-FLOOR(".concat(T,",1)<=6,FLOOR(").concat(T,",1)<=TODAY())");case"lastMonth":return"AND(MONTH(".concat(T,")=MONTH(EDATE(TODAY(),0-1)),YEAR(").concat(T,")=YEAR(EDATE(TODAY(),0-1)))");case"thisMonth":return"AND(MONTH(".concat(T,")=MONTH(TODAY()),YEAR(").concat(T,")=YEAR(TODAY()))");case"nextMonth":return"AND(MONTH(".concat(T,")=MONTH(EDATE(TODAY(),0+1)),YEAR(").concat(T,")=YEAR(EDATE(TODAY(),0+1)))");default:return}},S=function(D){var T=D.type,F=D.operator;switch(T){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:T};default:return{type:T,operator:F}}},_=function(D){function T(){var F;return Et(this,T),(F=Er(this,T)).map={dataBar:F.databarXform=new g,extLst:F.extLstRefXform=new A,formula:F.formulaXform=new m,colorScale:F.colorScaleXform=new y,iconSet:F.iconSetXform=new b},F}return nr(T,D),xt(T,[{key:"tag",get:function(){return"cfRule"}},{key:"render",value:function(F,N){switch(N.type){case"expression":this.renderExpression(F,N);break;case"cellIs":this.renderCellIs(F,N);break;case"top10":this.renderTop10(F,N);break;case"aboveAverage":this.renderAboveAverage(F,N);break;case"dataBar":this.renderDataBar(F,N);break;case"colorScale":this.renderColorScale(F,N);break;case"iconSet":this.renderIconSet(F,N);break;case"containsText":this.renderText(F,N);break;case"timePeriod":this.renderTimePeriod(F,N)}}},{key:"renderExpression",value:function(F,N){F.openNode(this.tag,{type:"expression",dxfId:N.dxfId,priority:N.priority}),this.formulaXform.render(F,N.formulae[0]),F.closeNode()}},{key:"renderCellIs",value:function(F,N){var H=this;F.openNode(this.tag,{type:"cellIs",dxfId:N.dxfId,priority:N.priority,operator:N.operator}),N.formulae.forEach(function(W){H.formulaXform.render(F,W)}),F.closeNode()}},{key:"renderTop10",value:function(F,N){F.leafNode(this.tag,{type:"top10",dxfId:N.dxfId,priority:N.priority,percent:h.toBoolAttribute(N.percent,!1),bottom:h.toBoolAttribute(N.bottom,!1),rank:h.toIntValue(N.rank,10,!0)})}},{key:"renderAboveAverage",value:function(F,N){F.leafNode(this.tag,{type:"aboveAverage",dxfId:N.dxfId,priority:N.priority,aboveAverage:h.toBoolAttribute(N.aboveAverage,!0)})}},{key:"renderDataBar",value:function(F,N){F.openNode(this.tag,{type:"dataBar",priority:N.priority}),this.databarXform.render(F,N),this.extLstRefXform.render(F,N),F.closeNode()}},{key:"renderColorScale",value:function(F,N){F.openNode(this.tag,{type:"colorScale",priority:N.priority}),this.colorScaleXform.render(F,N),F.closeNode()}},{key:"renderIconSet",value:function(F,N){T.isPrimitive(N)&&(F.openNode(this.tag,{type:"iconSet",priority:N.priority}),this.iconSetXform.render(F,N),F.closeNode())}},{key:"renderText",value:function(F,N){F.openNode(this.tag,{type:N.operator,dxfId:N.dxfId,priority:N.priority,operator:h.toStringAttribute(N.operator,"containsText")});var H=E(N);H&&this.formulaXform.render(F,H),F.closeNode()}},{key:"renderTimePeriod",value:function(F,N){F.openNode(this.tag,{type:"timePeriod",dxfId:N.dxfId,priority:N.priority,timePeriod:N.timePeriod});var H=B(N);H&&this.formulaXform.render(F,H),F.closeNode()}},{key:"createNewModel",value:function(F){var N=F.attributes;return Za(Za({},S(N)),{},{dxfId:h.toIntValue(N.dxfId),priority:h.toIntValue(N.priority),timePeriod:N.timePeriod,percent:h.toBoolValue(N.percent),bottom:h.toBoolValue(N.bottom),rank:h.toIntValue(N.rank),aboveAverage:h.toBoolValue(N.aboveAverage)})}},{key:"onParserClose",value:function(F,N){switch(F){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,N.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(N.model)}}}],[{key:"isPrimitive",value:function(F){return F.type!=="iconSet"||!F.custom&&!I[F.iconSet]}}])}(d);c.exports=_},{"../../../../doc/range":10,"../../base-xform":32,"../../composite-xform":48,"./color-scale-xform":85,"./databar-xform":88,"./ext-lst-ref-xform":89,"./formula-xform":90,"./icon-set-xform":91}],84:[function(a,c,u){var h=a("../../base-xform"),d=function(p){function g(){return Et(this,g),Er(this,g,arguments)}return nr(g,p),xt(g,[{key:"tag",get:function(){return"cfvo"}},{key:"render",value:function(A,m){A.leafNode(this.tag,{type:m.type,val:m.value})}},{key:"parseOpen",value:function(A){this.model={type:A.attributes.type,value:h.toFloatValue(A.attributes.val)}}},{key:"parseClose",value:function(A){return A!==this.tag}}])}(h);c.exports=d},{"../../base-xform":32}],85:[function(a,c,u){var h=a("../../composite-xform"),d=a("../../style/color-xform"),p=a("./cfvo-xform"),g=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={cfvo:y.cfvoXform=new p,color:y.colorXform=new d},y}return nr(m,A),xt(m,[{key:"tag",get:function(){return"colorScale"}},{key:"render",value:function(y,b){var I=this;y.openNode(this.tag),b.cfvo.forEach(function(E){I.cfvoXform.render(y,E)}),b.color.forEach(function(E){I.colorXform.render(y,E)}),y.closeNode()}},{key:"createNewModel",value:function(y){return{cfvo:[],color:[]}}},{key:"onParserClose",value:function(y,b){this.model[y].push(b.model)}}])}(h);c.exports=g},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],86:[function(a,c,u){var h=a("../../composite-xform"),d=a("./cf-rule-xform"),p=function(g){function A(){var m;return Et(this,A),(m=Er(this,A)).map={cfRule:new d},m}return nr(A,g),xt(A,[{key:"tag",get:function(){return"conditionalFormatting"}},{key:"render",value:function(m,y){var b=this;y.rules.some(d.isPrimitive)&&(m.openNode(this.tag,{sqref:y.ref}),y.rules.forEach(function(I){d.isPrimitive(I)&&(I.ref=y.ref,b.map.cfRule.render(m,I))}),m.closeNode())}},{key:"createNewModel",value:function(m){return{ref:m.attributes.sqref,rules:[]}}},{key:"onParserClose",value:function(m,y){this.model.rules.push(y.model)}}])}(h);c.exports=p},{"../../composite-xform":48,"./cf-rule-xform":83}],87:[function(a,c,u){var h=a("../../base-xform"),d=a("./conditional-formatting-xform"),p=function(g){function A(){var m;return Et(this,A),(m=Er(this,A)).cfXform=new d,m}return nr(A,g),xt(A,[{key:"tag",get:function(){return"conditionalFormatting"}},{key:"reset",value:function(){this.model=[]}},{key:"prepare",value:function(m,y){var b=m.reduce(function(I,E){return Math.max.apply(Math,[I].concat(Ni(E.rules.map(function(B){return B.priority||0}))))},1);m.forEach(function(I){I.rules.forEach(function(E){E.priority||(E.priority=b++),E.style&&(E.dxfId=y.styles.addDxfStyle(E.style))})})}},{key:"render",value:function(m,y){var b=this;y.forEach(function(I){b.cfXform.render(m,I)})}},{key:"parseOpen",value:function(m){return this.parser?(this.parser.parseOpen(m),!0):m.name==="conditionalFormatting"&&(this.parser=this.cfXform,this.parser.parseOpen(m),!0)}},{key:"parseText",value:function(m){this.parser&&this.parser.parseText(m)}},{key:"parseClose",value:function(m){return!(!this.parser||!this.parser.parseClose(m)&&(this.model.push(this.parser.model),this.parser=void 0,1))}},{key:"reconcile",value:function(m,y){m.forEach(function(b){b.rules.forEach(function(I){I.dxfId!==void 0&&(I.style=y.styles.getDxfStyle(I.dxfId),delete I.dxfId)})})}}])}(h);c.exports=p},{"../../base-xform":32,"./conditional-formatting-xform":86}],88:[function(a,c,u){var h=a("../../composite-xform"),d=a("../../style/color-xform"),p=a("./cfvo-xform"),g=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={cfvo:y.cfvoXform=new p,color:y.colorXform=new d},y}return nr(m,A),xt(m,[{key:"tag",get:function(){return"dataBar"}},{key:"render",value:function(y,b){var I=this;y.openNode(this.tag),b.cfvo.forEach(function(E){I.cfvoXform.render(y,E)}),this.colorXform.render(y,b.color),y.closeNode()}},{key:"createNewModel",value:function(){return{cfvo:[]}}},{key:"onParserClose",value:function(y,b){switch(y){case"cfvo":this.model.cfvo.push(b.model);break;case"color":this.model.color=b.model}}}])}(h);c.exports=g},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],89:[function(a,c,u){var h=a("../../base-xform"),d=a("../../composite-xform"),p=function(m){function y(){return Et(this,y),Er(this,y,arguments)}return nr(y,m),xt(y,[{key:"tag",get:function(){return"x14:id"}},{key:"render",value:function(b,I){b.leafNode(this.tag,null,I)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(b){this.model+=b}},{key:"parseClose",value:function(b){return b!==this.tag}}])}(h),g=function(m){function y(){var b;return Et(this,y),(b=Er(this,y)).map={"x14:id":b.idXform=new p},b}return nr(y,m),xt(y,[{key:"tag",get:function(){return"ext"}},{key:"render",value:function(b,I){b.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render(b,I.x14Id),b.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(b,I){this.model.x14Id=I.model}}])}(d),A=function(m){function y(){var b;return Et(this,y),(b=Er(this,y)).map={ext:new g},b}return nr(y,m),xt(y,[{key:"tag",get:function(){return"extLst"}},{key:"render",value:function(b,I){b.openNode(this.tag),this.map.ext.render(b,I),b.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(b,I){Object.assign(this.model,I.model)}}])}(d);c.exports=A},{"../../base-xform":32,"../../composite-xform":48}],90:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"formula"}},{key:"render",value:function(g,A){g.leafNode(this.tag,null,A)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(g){this.model+=g}},{key:"parseClose",value:function(g){return g!==this.tag}}])}(a("../../base-xform"));c.exports=h},{"../../base-xform":32}],91:[function(a,c,u){var h=a("../../base-xform"),d=a("../../composite-xform"),p=a("./cfvo-xform"),g=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={cfvo:y.cfvoXform=new p},y}return nr(m,A),xt(m,[{key:"tag",get:function(){return"iconSet"}},{key:"render",value:function(y,b){var I=this;y.openNode(this.tag,{iconSet:h.toStringAttribute(b.iconSet,"3TrafficLights"),reverse:h.toBoolAttribute(b.reverse,!1),showValue:h.toBoolAttribute(b.showValue,!0)}),b.cfvo.forEach(function(E){I.cfvoXform.render(y,E)}),y.closeNode()}},{key:"createNewModel",value:function(y){var b=y.attributes;return{iconSet:h.toStringValue(b.iconSet,"3TrafficLights"),reverse:h.toBoolValue(b.reverse),showValue:h.toBoolValue(b.showValue),cfvo:[]}}},{key:"onParserClose",value:function(y,b){this.model[y].push(b.model)}}])}(d);c.exports=g},{"../../base-xform":32,"../../composite-xform":48,"./cfvo-xform":84}],92:[function(a,c,u){var h=a("../../../utils/utils"),d=function(p){function g(){return Et(this,g),Er(this,g,arguments)}return nr(g,p),xt(g,[{key:"tag",get:function(){return"col"}},{key:"prepare",value:function(A,m){var y=m.styles.addStyleModel(A.style||{});y&&(A.styleId=y)}},{key:"render",value:function(A,m){A.openNode("col"),A.addAttribute("min",m.min),A.addAttribute("max",m.max),m.width&&A.addAttribute("width",m.width),m.styleId&&A.addAttribute("style",m.styleId),m.hidden&&A.addAttribute("hidden","1"),m.bestFit&&A.addAttribute("bestFit","1"),m.outlineLevel&&A.addAttribute("outlineLevel",m.outlineLevel),m.collapsed&&A.addAttribute("collapsed","1"),A.addAttribute("customWidth","1"),A.closeNode()}},{key:"parseOpen",value:function(A){if(A.name==="col"){var m=this.model={min:parseInt(A.attributes.min||"0",10),max:parseInt(A.attributes.max||"0",10),width:A.attributes.width===void 0?void 0:parseFloat(A.attributes.width||"0")};return A.attributes.style&&(m.styleId=parseInt(A.attributes.style,10)),h.parseBoolean(A.attributes.hidden)&&(m.hidden=!0),h.parseBoolean(A.attributes.bestFit)&&(m.bestFit=!0),A.attributes.outlineLevel&&(m.outlineLevel=parseInt(A.attributes.outlineLevel,10)),h.parseBoolean(A.attributes.collapsed)&&(m.collapsed=!0),!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"reconcile",value:function(A,m){A.styleId&&(A.style=m.styles.getStyleModel(A.styleId))}}])}(a("../base-xform"));c.exports=d},{"../../../utils/utils":27,"../base-xform":32}],93:[function(a,c,u){var h=a("../../../utils/under-dash"),d=a("../../../utils/utils"),p=a("../../../utils/col-cache"),g=a("../base-xform"),A=a("../../../doc/range");function m(E,B,S,_){var D=B[S];D!==void 0?E[S]=D:_!==void 0&&(E[S]=_)}function y(E,B,S,_){var D=B[S];D!==void 0&&(E[S]=d.parseBoolean(D))}function b(E){var B=h.map(E,function(D,T){return{address:T,dataValidation:D,marked:!1}}).sort(function(D,T){return h.strcmp(D.address,T.address)}),S=h.keyBy(B,"address"),_=function(D,T,F){for(var N=0;N<T;N++){var H=p.encodeAddress(D.row+N,F);if(!E[H]||!h.isEqual(E[D.address],E[H]))return!1}return!0};return B.map(function(D){if(!D.marked){var T=p.decodeEx(D.address);if(T.dimensions)return S[T.dimensions].marked=!0,Za(Za({},D.dataValidation),{},{sqref:D.address});for(var F=1,N=p.encodeAddress(T.row+F,T.col);E[N]&&h.isEqual(D.dataValidation,E[N]);)F++,N=p.encodeAddress(T.row+F,T.col);for(var H=1;_(T,F,T.col+H);)H++;for(var W=0;W<F;W++)for(var V=0;V<H;V++)N=p.encodeAddress(T.row+W,T.col+V),S[N].marked=!0;if(F>1||H>1){var te=T.row+(F-1),ue=T.col+(H-1);return Za(Za({},D.dataValidation),{},{sqref:"".concat(D.address,":").concat(p.encodeAddress(te,ue))})}return Za(Za({},D.dataValidation),{},{sqref:D.address})}return null}).filter(Boolean)}var I=function(E){function B(){return Et(this,B),Er(this,B,arguments)}return nr(B,E),xt(B,[{key:"tag",get:function(){return"dataValidations"}},{key:"render",value:function(S,_){var D=b(_);D.length&&(S.openNode("dataValidations",{count:D.length}),D.forEach(function(T){S.openNode("dataValidation"),T.type!=="any"&&(S.addAttribute("type",T.type),T.operator&&T.type!=="list"&&T.operator!=="between"&&S.addAttribute("operator",T.operator),T.allowBlank&&S.addAttribute("allowBlank","1")),T.showInputMessage&&S.addAttribute("showInputMessage","1"),T.promptTitle&&S.addAttribute("promptTitle",T.promptTitle),T.prompt&&S.addAttribute("prompt",T.prompt),T.showErrorMessage&&S.addAttribute("showErrorMessage","1"),T.errorStyle&&S.addAttribute("errorStyle",T.errorStyle),T.errorTitle&&S.addAttribute("errorTitle",T.errorTitle),T.error&&S.addAttribute("error",T.error),S.addAttribute("sqref",T.sqref),(T.formulae||[]).forEach(function(F,N){S.openNode("formula".concat(N+1)),T.type==="date"?S.writeText(d.dateToExcel(new Date(F))):S.writeText(F),S.closeNode()}),S.closeNode()}),S.closeNode())}},{key:"parseOpen",value:function(S){switch(S.name){case"dataValidations":return this.model={},!0;case"dataValidation":this._address=S.attributes.sqref;var _={type:S.attributes.type||"any",formulae:[]};switch(S.attributes.type&&y(_,S.attributes,"allowBlank"),y(_,S.attributes,"showInputMessage"),y(_,S.attributes,"showErrorMessage"),_.type){case"any":case"list":case"custom":break;default:m(_,S.attributes,"operator","between")}return m(_,S.attributes,"promptTitle"),m(_,S.attributes,"prompt"),m(_,S.attributes,"errorStyle"),m(_,S.attributes,"errorTitle"),m(_,S.attributes,"error"),this._dataValidation=_,!0;case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}},{key:"parseText",value:function(S){this._formula&&this._formula.push(S)}},{key:"parseClose",value:function(S){var _=this;switch(S){case"dataValidations":return!1;case"dataValidation":return this._dataValidation.formulae&&this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach(function(T){T.includes(":")?new A(T).forEachAddress(function(F){_.model[F]=_._dataValidation}):_.model[T]=_._dataValidation}),!0;case"formula1":case"formula2":var D=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":D=parseInt(D,10);break;case"decimal":D=parseFloat(D);break;case"date":D=d.excelToDate(parseFloat(D))}return this._dataValidation.formulae.push(D),this._formula=void 0,!0;default:return!0}}}])}(g);c.exports=I},{"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/utils":27,"../base-xform":32}],94:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"dimension"}},{key:"render",value:function(g,A){A&&g.leafNode("dimension",{ref:A})}},{key:"parseOpen",value:function(g){return g.name==="dimension"&&(this.model=g.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],95:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"drawing"}},{key:"render",value:function(g,A){A&&g.leafNode(this.tag,{"r:id":A.rId})}},{key:"parseOpen",value:function(g){return g.name===this.tag&&(this.model={rId:g.attributes["r:id"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],96:[function(a,c,u){var h=a("../composite-xform"),d=a("./cf-ext/conditional-formattings-ext-xform"),p=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={"x14:conditionalFormattings":y.conditionalFormattings=new d},y}return nr(m,A),xt(m,[{key:"tag",get:function(){return"ext"}},{key:"hasContent",value:function(y){return this.conditionalFormattings.hasContent(y.conditionalFormattings)}},{key:"prepare",value:function(y,b){this.conditionalFormattings.prepare(y.conditionalFormattings,b)}},{key:"render",value:function(y,b){y.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render(y,b.conditionalFormattings),y.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(y,b){this.model[y]=b.model}}])}(h),g=function(A){function m(){var y;return Et(this,m),(y=Er(this,m)).map={ext:y.ext=new p},y}return nr(m,A),xt(m,[{key:"tag",get:function(){return"extLst"}},{key:"prepare",value:function(y,b){this.ext.prepare(y,b)}},{key:"hasContent",value:function(y){return this.ext.hasContent(y)}},{key:"render",value:function(y,b){this.hasContent(b)&&(y.openNode("extLst"),this.ext.render(y,b),y.closeNode())}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(y,b){Object.assign(this.model,b.model)}}])}(h);c.exports=g},{"../composite-xform":48,"./cf-ext/conditional-formattings-ext-xform":78}],97:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"headerFooter"}},{key:"render",value:function(g,A){if(A){g.addRollback();var m=!1;g.openNode("headerFooter"),A.differentFirst&&(g.addAttribute("differentFirst","1"),m=!0),A.differentOddEven&&(g.addAttribute("differentOddEven","1"),m=!0),A.oddHeader&&typeof A.oddHeader=="string"&&(g.leafNode("oddHeader",null,A.oddHeader),m=!0),A.oddFooter&&typeof A.oddFooter=="string"&&(g.leafNode("oddFooter",null,A.oddFooter),m=!0),A.evenHeader&&typeof A.evenHeader=="string"&&(g.leafNode("evenHeader",null,A.evenHeader),m=!0),A.evenFooter&&typeof A.evenFooter=="string"&&(g.leafNode("evenFooter",null,A.evenFooter),m=!0),A.firstHeader&&typeof A.firstHeader=="string"&&(g.leafNode("firstHeader",null,A.firstHeader),m=!0),A.firstFooter&&typeof A.firstFooter=="string"&&(g.leafNode("firstFooter",null,A.firstFooter),m=!0),m?(g.closeNode(),g.commit()):g.rollback()}}},{key:"parseOpen",value:function(g){switch(g.name){case"headerFooter":return this.model={},g.attributes.differentFirst&&(this.model.differentFirst=parseInt(g.attributes.differentFirst,0)===1),g.attributes.differentOddEven&&(this.model.differentOddEven=parseInt(g.attributes.differentOddEven,0)===1),!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}},{key:"parseText",value:function(g){switch(this.currentNode){case"oddHeader":this.model.oddHeader=g;break;case"oddFooter":this.model.oddFooter=g;break;case"evenHeader":this.model.evenHeader=g;break;case"evenFooter":this.model.evenFooter=g;break;case"firstHeader":this.model.firstHeader=g;break;case"firstFooter":this.model.firstFooter=g}}},{key:"parseClose",value:function(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],98:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"hyperlink"}},{key:"render",value:function(g,A){this.isInternalLink(A)?g.leafNode("hyperlink",{ref:A.address,"r:id":A.rId,tooltip:A.tooltip,location:A.target}):g.leafNode("hyperlink",{ref:A.address,"r:id":A.rId,tooltip:A.tooltip})}},{key:"parseOpen",value:function(g){return g.name==="hyperlink"&&(this.model={address:g.attributes.ref,rId:g.attributes["r:id"],tooltip:g.attributes.tooltip},g.attributes.location&&(this.model.target=g.attributes.location),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"isInternalLink",value:function(g){return g.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test(g.target)}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],99:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"mergeCell"}},{key:"render",value:function(g,A){g.leafNode("mergeCell",{ref:A})}},{key:"parseOpen",value:function(g){return g.name==="mergeCell"&&(this.model=g.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],100:[function(a,c,u){var h=a("../../../utils/under-dash"),d=a("../../../doc/range"),p=a("../../../utils/col-cache"),g=a("../../../doc/enums"),A=function(){function m(){Et(this,m),this.merges={}}return xt(m,[{key:"add",value:function(y){if(this.merges[y.master])this.merges[y.master].expandToAddress(y.address);else{var b="".concat(y.master,":").concat(y.address);this.merges[y.master]=new d(b)}}},{key:"mergeCells",get:function(){return h.map(this.merges,function(y){return y.range})}},{key:"reconcile",value:function(y,b){h.each(y,function(I){for(var E=p.decode(I),B=E.top;B<=E.bottom;B++)for(var S=b[B-1],_=E.left;_<=E.right;_++){var D=S.cells[_-1];D?D.type===g.ValueType.Merge&&(D.master=E.tl):S.cells[_]={type:g.ValueType.Null,address:p.encodeAddress(B,_)}}})}},{key:"getMasterAddress",value:function(y){var b=this.hash[y];return b&&b.tl}}])}();c.exports=A},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26}],101:[function(a,c,u){var h=a("../base-xform"),d=function(g){return g!==void 0},p=function(g){function A(){return Et(this,A),Er(this,A,arguments)}return nr(A,g),xt(A,[{key:"tag",get:function(){return"outlinePr"}},{key:"render",value:function(m,y){return!(!y||!d(y.summaryBelow)&&!d(y.summaryRight)||(m.leafNode(this.tag,{summaryBelow:d(y.summaryBelow)?Number(y.summaryBelow):void 0,summaryRight:d(y.summaryRight)?Number(y.summaryRight):void 0}),0))}},{key:"parseOpen",value:function(m){return m.name===this.tag&&(this.model={summaryBelow:d(m.attributes.summaryBelow)?!!Number(m.attributes.summaryBelow):void 0,summaryRight:d(m.attributes.summaryRight)?!!Number(m.attributes.summaryRight):void 0},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(h);c.exports=p},{"../base-xform":32}],102:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"brk"}},{key:"render",value:function(g,A){g.leafNode("brk",A)}},{key:"parseOpen",value:function(g){return g.name==="brk"&&(this.model=g.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],103:[function(a,c,u){var h=a("../../../utils/under-dash"),d=function(p){function g(){return Et(this,g),Er(this,g,arguments)}return nr(g,p),xt(g,[{key:"tag",get:function(){return"pageMargins"}},{key:"render",value:function(A,m){if(m){var y={left:m.left,right:m.right,top:m.top,bottom:m.bottom,header:m.header,footer:m.footer};h.some(y,function(b){return b!==void 0})&&A.leafNode(this.tag,y)}}},{key:"parseOpen",value:function(A){return A.name===this.tag&&(this.model={left:parseFloat(A.attributes.left||.7),right:parseFloat(A.attributes.right||.7),top:parseFloat(A.attributes.top||.75),bottom:parseFloat(A.attributes.bottom||.75),header:parseFloat(A.attributes.header||.3),footer:parseFloat(A.attributes.footer||.3)},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=d},{"../../../utils/under-dash":26,"../base-xform":32}],104:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"pageSetUpPr"}},{key:"render",value:function(g,A){return!(!A||!A.fitToPage||(g.leafNode(this.tag,{fitToPage:A.fitToPage?"1":void 0}),0))}},{key:"parseOpen",value:function(g){return g.name===this.tag&&(this.model={fitToPage:g.attributes.fitToPage==="1"},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],105:[function(a,c,u){var h=a("../../../utils/under-dash");function d(b){return b?"1":void 0}function p(b){if(b==="overThenDown")return b}function g(b){switch(b){case"atEnd":case"asDisplyed":return b;default:return}}function A(b){switch(b){case"dash":case"blank":case"NA":return b;default:return}}function m(b){return b!==void 0?parseInt(b,10):void 0}var y=function(b){function I(){return Et(this,I),Er(this,I,arguments)}return nr(I,b),xt(I,[{key:"tag",get:function(){return"pageSetup"}},{key:"render",value:function(E,B){if(B){var S={paperSize:B.paperSize,orientation:B.orientation,horizontalDpi:B.horizontalDpi,verticalDpi:B.verticalDpi,pageOrder:p(B.pageOrder),blackAndWhite:d(B.blackAndWhite),draft:d(B.draft),cellComments:g(B.cellComments),errors:A(B.errors),scale:B.scale,fitToWidth:B.fitToWidth,fitToHeight:B.fitToHeight,firstPageNumber:B.firstPageNumber,useFirstPageNumber:d(B.firstPageNumber),usePrinterDefaults:d(B.usePrinterDefaults),copies:B.copies};h.some(S,function(_){return _!==void 0})&&E.leafNode(this.tag,S)}}},{key:"parseOpen",value:function(E){return E.name===this.tag&&(this.model={paperSize:m(E.attributes.paperSize),orientation:E.attributes.orientation||"portrait",horizontalDpi:parseInt(E.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt(E.attributes.verticalDpi||"4294967295",10),pageOrder:E.attributes.pageOrder||"downThenOver",blackAndWhite:E.attributes.blackAndWhite==="1",draft:E.attributes.draft==="1",cellComments:E.attributes.cellComments||"None",errors:E.attributes.errors||"displayed",scale:parseInt(E.attributes.scale||"100",10),fitToWidth:parseInt(E.attributes.fitToWidth||"1",10),fitToHeight:parseInt(E.attributes.fitToHeight||"1",10),firstPageNumber:parseInt(E.attributes.firstPageNumber||"1",10),useFirstPageNumber:E.attributes.useFirstPageNumber==="1",usePrinterDefaults:E.attributes.usePrinterDefaults==="1",copies:parseInt(E.attributes.copies||"1",10)},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=y},{"../../../utils/under-dash":26,"../base-xform":32}],106:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"picture"}},{key:"render",value:function(g,A){A&&g.leafNode(this.tag,{"r:id":A.rId})}},{key:"parseOpen",value:function(g){return g.name===this.tag&&(this.model={rId:g.attributes["r:id"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],107:[function(a,c,u){var h=a("../../../utils/under-dash");function d(g){return g?"1":void 0}var p=function(g){function A(){return Et(this,A),Er(this,A,arguments)}return nr(A,g),xt(A,[{key:"tag",get:function(){return"printOptions"}},{key:"render",value:function(m,y){if(y){var b={headings:d(y.showRowColHeaders),gridLines:d(y.showGridLines),horizontalCentered:d(y.horizontalCentered),verticalCentered:d(y.verticalCentered)};h.some(b,function(I){return I!==void 0})&&m.leafNode(this.tag,b)}}},{key:"parseOpen",value:function(m){return m.name===this.tag&&(this.model={showRowColHeaders:m.attributes.headings==="1",showGridLines:m.attributes.gridLines==="1",horizontalCentered:m.attributes.horizontalCentered==="1",verticalCentered:m.attributes.verticalCentered==="1"},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=p},{"../../../utils/under-dash":26,"../base-xform":32}],108:[function(a,c,u){var h=a("./page-breaks-xform"),d=function(p){function g(){return Et(this,g),Er(this,g,[{tag:"rowBreaks",count:!0,childXform:new h}])}return nr(g,p),xt(g,[{key:"render",value:function(A,m){if(m&&m.length){A.openNode(this.tag,this.$),this.count&&(A.addAttribute(this.$count,m.length),A.addAttribute("manualBreakCount",m.length));var y=this.childXform;m.forEach(function(b){y.render(A,b)}),A.closeNode()}else this.empty&&A.leafNode(this.tag)}}])}(a("../list-xform"));c.exports=d},{"../list-xform":71,"./page-breaks-xform":102}],109:[function(a,c,u){var h=a("../base-xform"),d=a("../../../utils/utils"),p=a("./cell-xform"),g=function(A){function m(y){var b;return Et(this,m),(b=Er(this,m)).maxItems=y&&y.maxItems,b.map={c:new p},b}return nr(m,A),xt(m,[{key:"tag",get:function(){return"row"}},{key:"prepare",value:function(y,b){var I=b.styles.addStyleModel(y.style);I&&(y.styleId=I);var E=this.map.c;y.cells.forEach(function(B){E.prepare(B,b)})}},{key:"render",value:function(y,b,I){y.openNode("row"),y.addAttribute("r",b.number),b.height&&(y.addAttribute("ht",b.height),y.addAttribute("customHeight","1")),b.hidden&&y.addAttribute("hidden","1"),b.min>0&&b.max>0&&b.min<=b.max&&y.addAttribute("spans","".concat(b.min,":").concat(b.max)),b.styleId&&(y.addAttribute("s",b.styleId),y.addAttribute("customFormat","1")),y.addAttribute("x14ac:dyDescent","0.25"),b.outlineLevel&&y.addAttribute("outlineLevel",b.outlineLevel),b.collapsed&&y.addAttribute("collapsed","1");var E=this.map.c;b.cells.forEach(function(B){E.render(y,B,I)}),y.closeNode()}},{key:"parseOpen",value:function(y){if(this.parser)return this.parser.parseOpen(y),!0;if(y.name==="row"){this.numRowsSeen+=1;var b=y.attributes.spans?y.attributes.spans.split(":").map(function(E){return parseInt(E,10)}):[void 0,void 0],I=this.model={number:parseInt(y.attributes.r,10),min:b[0],max:b[1],cells:[]};return y.attributes.s&&(I.styleId=parseInt(y.attributes.s,10)),d.parseBoolean(y.attributes.hidden)&&(I.hidden=!0),d.parseBoolean(y.attributes.bestFit)&&(I.bestFit=!0),y.attributes.ht&&(I.height=parseFloat(y.attributes.ht)),y.attributes.outlineLevel&&(I.outlineLevel=parseInt(y.attributes.outlineLevel,10)),d.parseBoolean(y.attributes.collapsed)&&(I.collapsed=!0),!0}return this.parser=this.map[y.name],!!this.parser&&(this.parser.parseOpen(y),!0)}},{key:"parseText",value:function(y){this.parser&&this.parser.parseText(y)}},{key:"parseClose",value:function(y){if(this.parser){if(!this.parser.parseClose(y)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw new Error("Max column count (".concat(this.maxItems,") exceeded"));this.parser=void 0}return!0}return!1}},{key:"reconcile",value:function(y,b){y.style=y.styleId?b.styles.getStyleModel(y.styleId):{},y.styleId!==void 0&&(y.styleId=void 0);var I=this.map.c;y.cells.forEach(function(E){I.reconcile(E,b)})}}])}(h);c.exports=g},{"../../../utils/utils":27,"../base-xform":32,"./cell-xform":73}],110:[function(a,c,u){var h=a("../../../utils/under-dash"),d=function(p){function g(){return Et(this,g),Er(this,g,arguments)}return nr(g,p),xt(g,[{key:"tag",get:function(){return"sheetFormatPr"}},{key:"render",value:function(A,m){if(m){var y={defaultRowHeight:m.defaultRowHeight,outlineLevelRow:m.outlineLevelRow,outlineLevelCol:m.outlineLevelCol,"x14ac:dyDescent":m.dyDescent};m.defaultColWidth&&(y.defaultColWidth=m.defaultColWidth),m.defaultRowHeight&&m.defaultRowHeight===15||(y.customHeight="1"),h.some(y,function(b){return b!==void 0})&&A.leafNode("sheetFormatPr",y)}}},{key:"parseOpen",value:function(A){return A.name==="sheetFormatPr"&&(this.model={defaultRowHeight:parseFloat(A.attributes.defaultRowHeight||"0"),dyDescent:parseFloat(A.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt(A.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt(A.attributes.outlineLevelCol||"0",10)},A.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(A.attributes.defaultColWidth)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=d},{"../../../utils/under-dash":26,"../base-xform":32}],111:[function(a,c,u){var h=a("../base-xform"),d=a("../style/color-xform"),p=a("./page-setup-properties-xform"),g=a("./outline-properties-xform"),A=function(m){function y(){var b;return Et(this,y),(b=Er(this,y)).map={tabColor:new d("tabColor"),pageSetUpPr:new p,outlinePr:new g},b}return nr(y,m),xt(y,[{key:"tag",get:function(){return"sheetPr"}},{key:"render",value:function(b,I){if(I){b.addRollback(),b.openNode("sheetPr");var E=!1;E=this.map.tabColor.render(b,I.tabColor)||E,E=this.map.pageSetUpPr.render(b,I.pageSetup)||E,(E=this.map.outlinePr.render(b,I.outlineProperties)||E)?(b.closeNode(),b.commit()):b.rollback()}}},{key:"parseOpen",value:function(b){return this.parser?(this.parser.parseOpen(b),!0):b.name===this.tag?(this.reset(),!0):!!this.map[b.name]&&(this.parser=this.map[b.name],this.parser.parseOpen(b),!0)}},{key:"parseText",value:function(b){return!!this.parser&&(this.parser.parseText(b),!0)}},{key:"parseClose",value:function(b){return this.parser?(this.parser.parseClose(b)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}])}(h);c.exports=A},{"../base-xform":32,"../style/color-xform":128,"./outline-properties-xform":101,"./page-setup-properties-xform":104}],112:[function(a,c,u){var h=a("../../../utils/under-dash");function d(A,m){return A?m:void 0}function p(A,m){return A===m||void 0}var g=function(A){function m(){return Et(this,m),Er(this,m,arguments)}return nr(m,A),xt(m,[{key:"tag",get:function(){return"sheetProtection"}},{key:"render",value:function(y,b){if(b){var I={sheet:d(b.sheet,"1"),selectLockedCells:b.selectLockedCells===!1?"1":void 0,selectUnlockedCells:b.selectUnlockedCells===!1?"1":void 0,formatCells:d(b.formatCells,"0"),formatColumns:d(b.formatColumns,"0"),formatRows:d(b.formatRows,"0"),insertColumns:d(b.insertColumns,"0"),insertRows:d(b.insertRows,"0"),insertHyperlinks:d(b.insertHyperlinks,"0"),deleteColumns:d(b.deleteColumns,"0"),deleteRows:d(b.deleteRows,"0"),sort:d(b.sort,"0"),autoFilter:d(b.autoFilter,"0"),pivotTables:d(b.pivotTables,"0")};b.sheet&&(I.algorithmName=b.algorithmName,I.hashValue=b.hashValue,I.saltValue=b.saltValue,I.spinCount=b.spinCount,I.objects=d(b.objects===!1,"1"),I.scenarios=d(b.scenarios===!1,"1")),h.some(I,function(E){return E!==void 0})&&y.leafNode(this.tag,I)}}},{key:"parseOpen",value:function(y){return y.name===this.tag&&(this.model={sheet:p(y.attributes.sheet,"1"),objects:y.attributes.objects!=="1"&&void 0,scenarios:y.attributes.scenarios!=="1"&&void 0,selectLockedCells:y.attributes.selectLockedCells!=="1"&&void 0,selectUnlockedCells:y.attributes.selectUnlockedCells!=="1"&&void 0,formatCells:p(y.attributes.formatCells,"0"),formatColumns:p(y.attributes.formatColumns,"0"),formatRows:p(y.attributes.formatRows,"0"),insertColumns:p(y.attributes.insertColumns,"0"),insertRows:p(y.attributes.insertRows,"0"),insertHyperlinks:p(y.attributes.insertHyperlinks,"0"),deleteColumns:p(y.attributes.deleteColumns,"0"),deleteRows:p(y.attributes.deleteRows,"0"),sort:p(y.attributes.sort,"0"),autoFilter:p(y.attributes.autoFilter,"0"),pivotTables:p(y.attributes.pivotTables,"0")},y.attributes.algorithmName&&(this.model.algorithmName=y.attributes.algorithmName,this.model.hashValue=y.attributes.hashValue,this.model.saltValue=y.attributes.saltValue,this.model.spinCount=parseInt(y.attributes.spinCount,10)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=g},{"../../../utils/under-dash":26,"../base-xform":32}],113:[function(a,c,u){var h=a("../../../utils/col-cache"),d=a("../base-xform"),p={frozen:"frozen",frozenSplit:"frozen",split:"split"},g=function(A){function m(){return Et(this,m),Er(this,m,arguments)}return nr(m,A),xt(m,[{key:"tag",get:function(){return"sheetView"}},{key:"prepare",value:function(y){switch(y.state){case"frozen":case"split":break;default:y.state="normal"}}},{key:"render",value:function(y,b){y.openNode("sheetView",{workbookViewId:b.workbookViewId||0});var I,E,B,S,_=function(D,T,F){F&&y.addAttribute(D,T)};switch(_("rightToLeft","1",b.rightToLeft===!0),_("tabSelected","1",b.tabSelected),_("showRuler","0",b.showRuler===!1),_("showRowColHeaders","0",b.showRowColHeaders===!1),_("showGridLines","0",b.showGridLines===!1),_("zoomScale",b.zoomScale,b.zoomScale),_("zoomScaleNormal",b.zoomScaleNormal,b.zoomScaleNormal),_("view",b.style,b.style),b.state){case"frozen":E=b.xSplit||0,B=b.ySplit||0,I=b.topLeftCell||h.getAddress(B+1,E+1).address,S=(b.xSplit&&b.ySplit?"bottomRight":b.xSplit&&"topRight")||"bottomLeft",y.leafNode("pane",{xSplit:b.xSplit||void 0,ySplit:b.ySplit||void 0,topLeftCell:I,activePane:S,state:"frozen"}),y.leafNode("selection",{pane:S,activeCell:b.activeCell,sqref:b.activeCell});break;case"split":b.activePane==="topLeft"&&(b.activePane=void 0),y.leafNode("pane",{xSplit:b.xSplit||void 0,ySplit:b.ySplit||void 0,topLeftCell:b.topLeftCell,activePane:b.activePane}),y.leafNode("selection",{pane:b.activePane,activeCell:b.activeCell,sqref:b.activeCell});break;case"normal":b.activeCell&&y.leafNode("selection",{activeCell:b.activeCell,sqref:b.activeCell})}y.closeNode()}},{key:"parseOpen",value:function(y){switch(y.name){case"sheetView":return this.sheetView={workbookViewId:parseInt(y.attributes.workbookViewId,10),rightToLeft:y.attributes.rightToLeft==="1",tabSelected:y.attributes.tabSelected==="1",showRuler:y.attributes.showRuler!=="0",showRowColHeaders:y.attributes.showRowColHeaders!=="0",showGridLines:y.attributes.showGridLines!=="0",zoomScale:parseInt(y.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt(y.attributes.zoomScaleNormal||"100",10),style:y.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt(y.attributes.xSplit||"0",10),ySplit:parseInt(y.attributes.ySplit||"0",10),topLeftCell:y.attributes.topLeftCell,activePane:y.attributes.activePane||"topLeft",state:y.attributes.state},!0;case"selection":var b=y.attributes.pane||"topLeft";return this.selections[b]={pane:b,activeCell:y.attributes.activeCell},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(y){var b,I;return y!=="sheetView"||(this.sheetView&&this.pane?(b=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:p[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state==="split"&&(b.activePane=this.pane.activePane),(I=this.selections[this.pane.activePane])&&I.activeCell&&(b.activeCell=I.activeCell),this.sheetView.style&&(b.style=this.sheetView.style)):(b=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},(I=this.selections.topLeft)&&I.activeCell&&(b.activeCell=I.activeCell),this.sheetView.style&&(b.style=this.sheetView.style)),!1)}},{key:"reconcile",value:function(){}}])}(d);c.exports=g},{"../../../utils/col-cache":19,"../base-xform":32}],114:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"tablePart"}},{key:"render",value:function(g,A){A&&g.leafNode(this.tag,{"r:id":A.rId})}},{key:"parseOpen",value:function(g){return g.name===this.tag&&(this.model={rId:g.attributes["r:id"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],115:[function(a,c,u){var h=a("../../../utils/under-dash"),d=a("../../../utils/col-cache"),p=a("../../../utils/xml-stream"),g=a("../../rel-type"),A=a("./merges"),m=a("../base-xform"),y=a("../list-xform"),b=a("./row-xform"),I=a("./col-xform"),E=a("./dimension-xform"),B=a("./hyperlink-xform"),S=a("./merge-cell-xform"),_=a("./data-validations-xform"),D=a("./sheet-properties-xform"),T=a("./sheet-format-properties-xform"),F=a("./sheet-view-xform"),N=a("./sheet-protection-xform"),H=a("./page-margins-xform"),W=a("./page-setup-xform"),V=a("./print-options-xform"),te=a("./auto-filter-xform"),ue=a("./picture-xform"),fe=a("./drawing-xform"),de=a("./table-part-xform"),Ae=a("./row-breaks-xform"),we=a("./header-footer-xform"),Z=a("./cf/conditional-formattings-xform"),ne=a("./ext-lst-xform"),j=function(z,X){Object.keys(X).forEach(function(se){var oe=z[se],ye=X[se];oe===void 0&&ye!==void 0&&(z[se]=ye)})},J=function(z,X){if(!X||!X.length)return z;if(!z||!z.length)return X;var se={},oe={};return z.forEach(function(ye){se[ye.ref]=ye,ye.rules.forEach(function(ae){var me=ae.x14Id;me&&(oe[me]=ae)})}),X.forEach(function(ye){ye.rules.forEach(function(ae){var me=oe[ae.x14Id];me?j(me,ae):se[ye.ref]?se[ye.ref].rules.push(ae):z.push({ref:ye.ref,rules:[ae]})})}),z},q=function(z){function X(se){var oe;Et(this,X),oe=Er(this,X);var ye=se||{},ae=ye.maxRows,me=ye.maxCols,Fe=ye.ignoreNodes;return oe.ignoreNodes=Fe||[],oe.map={sheetPr:new D,dimension:new E,sheetViews:new y({tag:"sheetViews",count:!1,childXform:new F}),sheetFormatPr:new T,cols:new y({tag:"cols",count:!1,childXform:new I}),sheetData:new y({tag:"sheetData",count:!1,empty:!0,childXform:new b({maxItems:me}),maxItems:ae}),autoFilter:new te,mergeCells:new y({tag:"mergeCells",count:!0,childXform:new S}),rowBreaks:new Ae,hyperlinks:new y({tag:"hyperlinks",count:!1,childXform:new B}),pageMargins:new H,dataValidations:new _,pageSetup:new W,headerFooter:new we,printOptions:new V,picture:new ue,drawing:new fe,sheetProtection:new N,tableParts:new y({tag:"tableParts",count:!0,childXform:new de}),conditionalFormatting:new Z,extLst:new ne},oe}return nr(X,z),xt(X,[{key:"prepare",value:function(se,oe){var ye=this;oe.merges=new A,se.hyperlinks=oe.hyperlinks=[],se.comments=oe.comments=[],oe.formulae={},oe.siFormulae=0,this.map.cols.prepare(se.cols,oe),this.map.sheetData.prepare(se.rows,oe),this.map.conditionalFormatting.prepare(se.conditionalFormattings,oe),se.mergeCells=oe.merges.mergeCells;var ae=se.rels=[];function me(st){return"rId".concat(st.length+1)}if(se.hyperlinks.forEach(function(st){var Ge=me(ae);st.rId=Ge,ae.push({Id:Ge,Type:g.Hyperlink,Target:st.target,TargetMode:"External"})}),se.comments.length>0){var Fe={Id:me(ae),Type:g.Comments,Target:"../comments".concat(se.id,".xml")};ae.push(Fe);var _e={Id:me(ae),Type:g.VmlDrawing,Target:"../drawings/vmlDrawing".concat(se.id,".vml")};ae.push(_e),se.comments.forEach(function(st){st.refAddress=d.decodeAddress(st.ref)}),oe.commentRefs.push({commentName:"comments".concat(se.id),vmlDrawing:"vmlDrawing".concat(se.id)})}var rt,et=[];se.media.forEach(function(st){if(st.type==="background"){var Ge=me(ae);rt=oe.media[st.imageId],ae.push({Id:Ge,Type:g.Image,Target:"../media/".concat(rt.name,".").concat(rt.extension)}),se.background={rId:Ge},se.image=oe.media[st.imageId]}else if(st.type==="image"){var Be=se.drawing;rt=oe.media[st.imageId],Be||(Be=se.drawing={rId:me(ae),name:"drawing".concat(++oe.drawingsCount),anchors:[],rels:[]},oe.drawings.push(Be),ae.push({Id:Be.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:"../drawings/".concat(Be.name,".xml")}));var Te=ye.preImageId===st.imageId?et[st.imageId]:et[Be.rels.length];Te||(Te=me(Be.rels),et[Be.rels.length]=Te,Be.rels.push({Id:Te,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:"../media/".concat(rt.name,".").concat(rt.extension)}));var je={picture:{rId:Te},range:st.range};if(st.hyperlinks&&st.hyperlinks.hyperlink){var lt=me(Be.rels);et[Be.rels.length]=lt,je.picture.hyperlinks={tooltip:st.hyperlinks.tooltip,rId:lt},Be.rels.push({Id:lt,Type:g.Hyperlink,Target:st.hyperlinks.hyperlink,TargetMode:"External"})}ye.preImageId=st.imageId,Be.anchors.push(je)}}),se.tables.forEach(function(st){var Ge=me(ae);st.rId=Ge,ae.push({Id:Ge,Type:g.Table,Target:"../tables/".concat(st.target)}),st.columns.forEach(function(Be){var Te=Be.style;Te&&(Be.dxfId=oe.styles.addDxfStyle(Te))})}),this.map.extLst.prepare(se,oe)}},{key:"render",value:function(se,oe){se.openXml(p.StdDocAttributes),se.openNode("worksheet",X.WORKSHEET_ATTRIBUTES);var ye=oe.properties?{defaultRowHeight:oe.properties.defaultRowHeight,dyDescent:oe.properties.dyDescent,outlineLevelCol:oe.properties.outlineLevelCol,outlineLevelRow:oe.properties.outlineLevelRow}:void 0;oe.properties&&oe.properties.defaultColWidth&&(ye.defaultColWidth=oe.properties.defaultColWidth);var ae={outlineProperties:oe.properties&&oe.properties.outlineProperties,tabColor:oe.properties&&oe.properties.tabColor,pageSetup:oe.pageSetup&&oe.pageSetup.fitToPage?{fitToPage:oe.pageSetup.fitToPage}:void 0},me=oe.pageSetup&&oe.pageSetup.margins,Fe={showRowColHeaders:oe.pageSetup&&oe.pageSetup.showRowColHeaders,showGridLines:oe.pageSetup&&oe.pageSetup.showGridLines,horizontalCentered:oe.pageSetup&&oe.pageSetup.horizontalCentered,verticalCentered:oe.pageSetup&&oe.pageSetup.verticalCentered},_e=oe.sheetProtection;this.map.sheetPr.render(se,ae),this.map.dimension.render(se,oe.dimensions),this.map.sheetViews.render(se,oe.views),this.map.sheetFormatPr.render(se,ye),this.map.cols.render(se,oe.cols),this.map.sheetData.render(se,oe.rows),this.map.sheetProtection.render(se,_e),this.map.autoFilter.render(se,oe.autoFilter),this.map.mergeCells.render(se,oe.mergeCells),this.map.conditionalFormatting.render(se,oe.conditionalFormattings),this.map.dataValidations.render(se,oe.dataValidations),this.map.hyperlinks.render(se,oe.hyperlinks),this.map.printOptions.render(se,Fe),this.map.pageMargins.render(se,me),this.map.pageSetup.render(se,oe.pageSetup),this.map.headerFooter.render(se,oe.headerFooter),this.map.rowBreaks.render(se,oe.rowBreaks),this.map.drawing.render(se,oe.drawing),this.map.picture.render(se,oe.background),this.map.tableParts.render(se,oe.tables),this.map.extLst.render(se,oe),oe.rels&&oe.rels.forEach(function(rt){rt.Type===g.VmlDrawing&&se.leafNode("legacyDrawing",{"r:id":rt.Id})}),se.closeNode()}},{key:"parseOpen",value:function(se){return this.parser?(this.parser.parseOpen(se),!0):se.name==="worksheet"?(h.each(this.map,function(oe){oe.reset()}),!0):(this.map[se.name]&&!this.ignoreNodes.includes(se.name)&&(this.parser=this.map[se.name],this.parser.parseOpen(se)),!0)}},{key:"parseText",value:function(se){this.parser&&this.parser.parseText(se)}},{key:"parseClose",value:function(se){if(this.parser)return this.parser.parseClose(se)||(this.parser=void 0),!0;if(se==="worksheet"){var oe=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(oe.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(oe.outlineProperties=this.map.sheetPr.model.outlineProperties);var ye={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},ae=Object.assign(ye,this.map.pageSetup.model,this.map.printOptions.model),me=J(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:oe,views:this.map.sheetViews.model,pageSetup:ae,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:me},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1}return!0}},{key:"reconcile",value:function(se,oe){var ye=(se.relationships||[]).reduce(function(et,st){if(et[st.Id]=st,st.Type===g.Comments&&(se.comments=oe.comments[st.Target].comments),st.Type===g.VmlDrawing&&se.comments&&se.comments.length){var Ge=oe.vmlDrawings[st.Target].comments;se.comments.forEach(function(Be,Te){Be.note=Object.assign({},Be.note,Ge[Te])})}return et},{});if(oe.commentsMap=(se.comments||[]).reduce(function(et,st){return st.ref&&(et[st.ref]=st),et},{}),oe.hyperlinkMap=(se.hyperlinks||[]).reduce(function(et,st){return st.rId&&(et[st.address]=ye[st.rId].Target),et},{}),oe.formulae={},se.rows=se.rows&&se.rows.filter(Boolean)||[],se.rows.forEach(function(et){et.cells=et.cells&&et.cells.filter(Boolean)||[]}),this.map.cols.reconcile(se.cols,oe),this.map.sheetData.reconcile(se.rows,oe),this.map.conditionalFormatting.reconcile(se.conditionalFormattings,oe),se.media=[],se.drawing){var ae=ye[se.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(ae){var me=ae[1];oe.drawings[me].anchors.forEach(function(et){if(et.medium){var st={type:"image",imageId:et.medium.index,range:et.range,hyperlinks:et.picture.hyperlinks};se.media.push(st)}})}}var Fe=se.background&&ye[se.background.rId];if(Fe){var _e=Fe.Target.split("/media/")[1],rt=oe.mediaIndex&&oe.mediaIndex[_e];rt!==void 0&&se.media.push({type:"background",imageId:rt})}se.tables=(se.tables||[]).map(function(et){var st=ye[et.rId];return oe.tables[st.Target]}),delete se.relationships,delete se.hyperlinks,delete se.comments}}])}(m);q.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"},c.exports=q},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../../rel-type":31,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":72,"./cf/conditional-formattings-xform":87,"./col-xform":92,"./data-validations-xform":93,"./dimension-xform":94,"./drawing-xform":95,"./ext-lst-xform":96,"./header-footer-xform":97,"./hyperlink-xform":98,"./merge-cell-xform":99,"./merges":100,"./page-margins-xform":103,"./page-setup-xform":105,"./picture-xform":106,"./print-options-xform":107,"./row-breaks-xform":108,"./row-xform":109,"./sheet-format-properties-xform":110,"./sheet-properties-xform":111,"./sheet-protection-xform":112,"./sheet-view-xform":113,"./table-part-xform":114}],116:[function(a,c,u){var h=function(d){function p(g){var A;return Et(this,p),(A=Er(this,p)).tag=g.tag,A.attr=g.attr,A}return nr(p,d),xt(p,[{key:"render",value:function(g,A){A&&(g.openNode(this.tag),g.closeNode())}},{key:"parseOpen",value:function(g){g.name===this.tag&&(this.model=!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],117:[function(a,c,u){var h=function(d){function p(g){var A;return Et(this,p),(A=Er(this,p)).tag=g.tag,A.attr=g.attr,A.attrs=g.attrs,A._format=g.format||function(m){try{return Number.isNaN(m.getTime())?"":m.toISOString()}catch{return""}},A._parse=g.parse||function(m){return new Date(m)},A}return nr(p,d),xt(p,[{key:"render",value:function(g,A){A&&(g.openNode(this.tag),this.attrs&&g.addAttributes(this.attrs),this.attr?g.addAttribute(this.attr,this._format(A)):g.writeText(this._format(A)),g.closeNode())}},{key:"parseOpen",value:function(g){g.name===this.tag&&(this.attr?this.model=this._parse(g.attributes[this.attr]):this.text=[])}},{key:"parseText",value:function(g){this.attr||this.text.push(g)}},{key:"parseClose",value:function(){return this.attr||(this.model=this._parse(this.text.join(""))),!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],118:[function(a,c,u){var h=function(d){function p(g){var A;return Et(this,p),(A=Er(this,p)).tag=g.tag,A.attr=g.attr,A.attrs=g.attrs,A.zero=g.zero,A}return nr(p,d),xt(p,[{key:"render",value:function(g,A){(A||this.zero)&&(g.openNode(this.tag),this.attrs&&g.addAttributes(this.attrs),this.attr?g.addAttribute(this.attr,A):g.writeText(A),g.closeNode())}},{key:"parseOpen",value:function(g){return g.name===this.tag&&(this.attr?this.model=parseInt(g.attributes[this.attr],10):this.text=[],!0)}},{key:"parseText",value:function(g){this.attr||this.text.push(g)}},{key:"parseClose",value:function(){return this.attr||(this.model=parseInt(this.text.join("")||0,10)),!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],119:[function(a,c,u){var h=function(d){function p(g){var A;return Et(this,p),(A=Er(this,p)).tag=g.tag,A.attr=g.attr,A.attrs=g.attrs,A}return nr(p,d),xt(p,[{key:"render",value:function(g,A){A!==void 0&&(g.openNode(this.tag),this.attrs&&g.addAttributes(this.attrs),this.attr?g.addAttribute(this.attr,A):g.writeText(A),g.closeNode())}},{key:"parseOpen",value:function(g){g.name===this.tag&&(this.attr?this.model=g.attributes[this.attr]:this.text=[])}},{key:"parseText",value:function(g){this.attr||this.text.push(g)}},{key:"parseClose",value:function(){return this.attr||(this.model=this.text.join("")),!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],120:[function(a,c,u){var h=a("./base-xform"),d=a("../../utils/xml-stream");function p(A,m){A.openNode(m.tag,m.$),m.c&&m.c.forEach(function(y){p(A,y)}),m.t&&A.writeText(m.t),A.closeNode()}var g=function(A){function m(y){var b;return Et(this,m),(b=Er(this,m))._model=y,b}return nr(m,A),xt(m,[{key:"render",value:function(y){if(!this._xml){var b=new d;p(b,this._model),this._xml=b.xml}y.writeXml(this._xml)}},{key:"parseOpen",value:function(){return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(y){return y!==this._model.tag}}])}(h);c.exports=g},{"../../utils/xml-stream":28,"./base-xform":32}],121:[function(a,c,u){var h=a("./text-xform"),d=a("./rich-text-xform"),p=function(g){function A(){var m;return Et(this,A),(m=Er(this,A)).map={r:new d,t:new h},m}return nr(A,g),xt(A,[{key:"tag",get:function(){return"rPh"}},{key:"render",value:function(m,y){if(m.openNode(this.tag,{sb:y.sb||0,eb:y.eb||0}),y&&y.hasOwnProperty("richText")&&y.richText){var b=this.map.r;y.richText.forEach(function(I){b.render(m,I)})}else y&&this.map.t.render(m,y.text);m.closeNode()}},{key:"parseOpen",value:function(m){var y=m.name;return this.parser?(this.parser.parseOpen(m),!0):y===this.tag?(this.model={sb:parseInt(m.attributes.sb,10),eb:parseInt(m.attributes.eb,10)},!0):(this.parser=this.map[y],!!this.parser&&(this.parser.parseOpen(m),!0))}},{key:"parseText",value:function(m){this.parser&&this.parser.parseText(m)}},{key:"parseClose",value:function(m){if(this.parser){if(!this.parser.parseClose(m)){switch(m){case"r":var y=this.model.richText;y||(y=this.model.richText=[]),y.push(this.parser.model);break;case"t":this.model.text=this.parser.model}this.parser=void 0}return!0}return m!==this.tag}}])}(a("../base-xform"));c.exports=p},{"../base-xform":32,"./rich-text-xform":122,"./text-xform":125}],122:[function(a,c,u){var h=a("./text-xform"),d=a("../style/font-xform"),p=function(g){function A(m){var y;return Et(this,A),(y=Er(this,A)).model=m,y}return nr(A,g),xt(A,[{key:"tag",get:function(){return"r"}},{key:"textXform",get:function(){return this._textXform||(this._textXform=new h)}},{key:"fontXform",get:function(){return this._fontXform||(this._fontXform=new d(A.FONT_OPTIONS))}},{key:"render",value:function(m,y){y=y||this.model,m.openNode("r"),y.font&&this.fontXform.render(m,y.font),this.textXform.render(m,y.text),m.closeNode()}},{key:"parseOpen",value:function(m){if(this.parser)return this.parser.parseOpen(m),!0;switch(m.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen(m),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen(m),!0;default:return!1}}},{key:"parseText",value:function(m){this.parser&&this.parser.parseText(m)}},{key:"parseClose",value:function(m){switch(m){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(m),!0}}}])}(a("../base-xform"));p.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"},c.exports=p},{"../base-xform":32,"../style/font-xform":131,"./text-xform":125}],123:[function(a,c,u){var h=a("./text-xform"),d=a("./rich-text-xform"),p=a("./phonetic-text-xform"),g=function(A){function m(y){var b;return Et(this,m),(b=Er(this,m)).model=y,b.map={r:new d,t:new h,rPh:new p},b}return nr(m,A),xt(m,[{key:"tag",get:function(){return"si"}},{key:"render",value:function(y,b){var I=this;y.openNode(this.tag),b&&b.hasOwnProperty("richText")&&b.richText?b.richText.length?b.richText.forEach(function(E){I.map.r.render(y,E)}):this.map.t.render(y,""):b!=null&&this.map.t.render(y,b),y.closeNode()}},{key:"parseOpen",value:function(y){var b=y.name;return this.parser?(this.parser.parseOpen(y),!0):b===this.tag?(this.model={},!0):(this.parser=this.map[b],!!this.parser&&(this.parser.parseOpen(y),!0))}},{key:"parseText",value:function(y){this.parser&&this.parser.parseText(y)}},{key:"parseClose",value:function(y){if(this.parser){if(!this.parser.parseClose(y)){switch(y){case"r":var b=this.model.richText;b||(b=this.model.richText=[]),b.push(this.parser.model);break;case"t":this.model=this.parser.model}this.parser=void 0}return!0}return y!==this.tag}}])}(a("../base-xform"));c.exports=g},{"../base-xform":32,"./phonetic-text-xform":121,"./rich-text-xform":122,"./text-xform":125}],124:[function(a,c,u){var h=a("../../../utils/xml-stream"),d=a("../base-xform"),p=a("./shared-string-xform"),g=function(A){function m(y){var b;return Et(this,m),(b=Er(this,m)).model=y||{values:[],count:0},b.hash=Object.create(null),b.rich=Object.create(null),b}return nr(m,A),xt(m,[{key:"sharedStringXform",get:function(){return this._sharedStringXform||(this._sharedStringXform=new p)}},{key:"values",get:function(){return this.model.values}},{key:"uniqueCount",get:function(){return this.model.values.length}},{key:"count",get:function(){return this.model.count}},{key:"getString",value:function(y){return this.model.values[y]}},{key:"add",value:function(y){return y.richText?this.addRichText(y):this.addText(y)}},{key:"addText",value:function(y){var b=this.hash[y];return b===void 0&&(b=this.hash[y]=this.model.values.length,this.model.values.push(y)),this.model.count++,b}},{key:"addRichText",value:function(y){var b=this.sharedStringXform.toXml(y),I=this.rich[b];return I===void 0&&(I=this.rich[b]=this.model.values.length,this.model.values.push(y)),this.model.count++,I}},{key:"render",value:function(y,b){b=b||this._values,y.openXml(h.StdDocAttributes),y.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:b.count,uniqueCount:b.values.length});var I=this.sharedStringXform;b.values.forEach(function(E){I.render(y,E)}),y.closeNode()}},{key:"parseOpen",value:function(y){if(this.parser)return this.parser.parseOpen(y),!0;switch(y.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen(y),!0;default:throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(y)))}}},{key:"parseText",value:function(y){this.parser&&this.parser.parseText(y)}},{key:"parseClose",value:function(y){if(this.parser)return this.parser.parseClose(y)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;if(y==="sst")return!1;throw new Error("Unexpected xml node in parseClose: ".concat(y))}}])}(d);c.exports=g},{"../../../utils/xml-stream":28,"../base-xform":32,"./shared-string-xform":123}],125:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"t"}},{key:"render",value:function(g,A){g.openNode("t"),/^\s|\n|\s$/.test(A)&&g.addAttribute("xml:space","preserve"),g.writeText(A),g.closeNode()}},{key:"model",get:function(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,function(g,A){return String.fromCharCode(parseInt(A,16))})}},{key:"parseOpen",value:function(g){return g.name==="t"&&(this._text=[],!0)}},{key:"parseText",value:function(g){this._text.push(g)}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],126:[function(a,c,u){var h=a("../../../doc/enums"),d=a("../../../utils/utils"),p=a("../base-xform"),g={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce(function(y,b){return y[b]=!0,y},{}),horizontal:function(y){return this.horizontalValues[y]?y:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce(function(y,b){return y[b]=!0,y},{}),vertical:function(y){return y==="middle"?"center":this.verticalValues[y]?y:void 0},wrapText:function(y){return!!y||void 0},shrinkToFit:function(y){return!!y||void 0},textRotation:function(y){return y==="vertical"||(y=d.validInt(y))>=-90&&y<=90?y:void 0},indent:function(y){return y=d.validInt(y),Math.max(0,y)},readingOrder:function(y){switch(y){case"ltr":return h.ReadingOrder.LeftToRight;case"rtl":return h.ReadingOrder.RightToLeft;default:return}}},A={toXml:function(y){if(y=g.textRotation(y)){if(y==="vertical")return 255;var b=Math.round(y);if(b>=0&&b<=90)return b;if(b<0&&b>=-90)return 90-b}},toModel:function(y){var b=d.validInt(y);if(b!==void 0){if(b===255)return"vertical";if(b>=0&&b<=90)return b;if(b>90&&b<=180)return 90-b}}},m=function(y){function b(){return Et(this,b),Er(this,b,arguments)}return nr(b,y),xt(b,[{key:"tag",get:function(){return"alignment"}},{key:"render",value:function(I,E){I.addRollback(),I.openNode("alignment");var B=!1;function S(_,D){D&&(I.addAttribute(_,D),B=!0)}S("horizontal",g.horizontal(E.horizontal)),S("vertical",g.vertical(E.vertical)),S("wrapText",!!g.wrapText(E.wrapText)&&"1"),S("shrinkToFit",!!g.shrinkToFit(E.shrinkToFit)&&"1"),S("indent",g.indent(E.indent)),S("textRotation",A.toXml(E.textRotation)),S("readingOrder",g.readingOrder(E.readingOrder)),I.closeNode(),B?I.commit():I.rollback()}},{key:"parseOpen",value:function(I){var E={},B=!1;function S(_,D,T){_&&(E[D]=T,B=!0)}S(I.attributes.horizontal,"horizontal",I.attributes.horizontal),S(I.attributes.vertical,"vertical",I.attributes.vertical==="center"?"middle":I.attributes.vertical),S(I.attributes.wrapText,"wrapText",d.parseBoolean(I.attributes.wrapText)),S(I.attributes.shrinkToFit,"shrinkToFit",d.parseBoolean(I.attributes.shrinkToFit)),S(I.attributes.indent,"indent",parseInt(I.attributes.indent,10)),S(I.attributes.textRotation,"textRotation",A.toModel(I.attributes.textRotation)),S(I.attributes.readingOrder,"readingOrder",I.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=B?E:null}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(p);c.exports=m},{"../../../doc/enums":7,"../../../utils/utils":27,"../base-xform":32}],127:[function(a,c,u){var h=a("../base-xform"),d=a("../../../utils/utils"),p=a("./color-xform"),g=function(m){function y(b){var I;return Et(this,y),(I=Er(this,y)).name=b,I.map={color:new p},I}return nr(y,m),xt(y,[{key:"tag",get:function(){return this.name}},{key:"render",value:function(b,I,E){var B=I&&I.color||E||this.defaultColor;b.openNode(this.name),I&&I.style&&(b.addAttribute("style",I.style),B&&this.map.color.render(b,B)),b.closeNode()}},{key:"parseOpen",value:function(b){if(this.parser)return this.parser.parseOpen(b),!0;switch(b.name){case this.name:var I=b.attributes.style;return this.model=I?{style:I}:void 0,!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(b),!0;default:return!1}}},{key:"parseText",value:function(b){this.parser&&this.parser.parseText(b)}},{key:"parseClose",value:function(b){return this.parser?(this.parser.parseClose(b)||(this.parser=void 0),!0):(b===this.name&&this.map.color.model&&(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}},{key:"validStyle",value:function(b){return y.validStyleValues[b]}}])}(h);g.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce(function(m,y){return m[y]=!0,m},{});var A=function(m){function y(){var b;return Et(this,y),(b=Er(this,y)).map={top:new g("top"),left:new g("left"),bottom:new g("bottom"),right:new g("right"),diagonal:new g("diagonal")},b}return nr(y,m),xt(y,[{key:"render",value:function(b,I){var E=I.color;function B(S,_){S&&!S.color&&I.color&&(S=Za(Za({},S),{},{color:I.color})),_.render(b,S,E)}b.openNode("border"),I.diagonal&&I.diagonal.style&&(I.diagonal.up&&b.addAttribute("diagonalUp","1"),I.diagonal.down&&b.addAttribute("diagonalDown","1")),B(I.left,this.map.left),B(I.right,this.map.right),B(I.top,this.map.top),B(I.bottom,this.map.bottom),B(I.diagonal,this.map.diagonal),b.closeNode()}},{key:"parseOpen",value:function(b){return this.parser?(this.parser.parseOpen(b),!0):b.name==="border"?(this.reset(),this.diagonalUp=d.parseBoolean(b.attributes.diagonalUp),this.diagonalDown=d.parseBoolean(b.attributes.diagonalDown),!0):(this.parser=this.map[b.name],!!this.parser&&(this.parser.parseOpen(b),!0))}},{key:"parseText",value:function(b){this.parser&&this.parser.parseText(b)}},{key:"parseClose",value:function(b){if(this.parser)return this.parser.parseClose(b)||(this.parser=void 0),!0;if(b==="border"){var I=this.model={},E=function(B,S,_){S&&(_&&Object.assign(S,_),I[B]=S)};E("left",this.map.left.model),E("right",this.map.right.model),E("top",this.map.top.model),E("bottom",this.map.bottom.model),E("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}])}(h);c.exports=A},{"../../../utils/utils":27,"../base-xform":32,"./color-xform":128}],128:[function(a,c,u){var h=function(d){function p(g){var A;return Et(this,p),(A=Er(this,p)).name=g||"color",A}return nr(p,d),xt(p,[{key:"tag",get:function(){return this.name}},{key:"render",value:function(g,A){return!!A&&(g.openNode(this.name),A.argb?g.addAttribute("rgb",A.argb):A.theme!==void 0?(g.addAttribute("theme",A.theme),A.tint!==void 0&&g.addAttribute("tint",A.tint)):A.indexed!==void 0?g.addAttribute("indexed",A.indexed):g.addAttribute("auto","1"),g.closeNode(),!0)}},{key:"parseOpen",value:function(g){return g.name===this.name&&(g.attributes.rgb?this.model={argb:g.attributes.rgb}:g.attributes.theme?(this.model={theme:parseInt(g.attributes.theme,10)},g.attributes.tint&&(this.model.tint=parseFloat(g.attributes.tint))):g.attributes.indexed?this.model={indexed:parseInt(g.attributes.indexed,10)}:this.model=void 0,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],129:[function(a,c,u){var h=a("../base-xform"),d=a("./alignment-xform"),p=a("./border-xform"),g=a("./fill-xform"),A=a("./font-xform"),m=a("./numfmt-xform"),y=a("./protection-xform"),b=function(I){function E(){var B;return Et(this,E),(B=Er(this,E)).map={alignment:new d,border:new p,fill:new g,font:new A,numFmt:new m,protection:new y},B}return nr(E,I),xt(E,[{key:"tag",get:function(){return"dxf"}},{key:"render",value:function(B,S){if(B.openNode(this.tag),S.font&&this.map.font.render(B,S.font),S.numFmt&&S.numFmtId){var _={id:S.numFmtId,formatCode:S.numFmt};this.map.numFmt.render(B,_)}S.fill&&this.map.fill.render(B,S.fill),S.alignment&&this.map.alignment.render(B,S.alignment),S.border&&this.map.border.render(B,S.border),S.protection&&this.map.protection.render(B,S.protection),B.closeNode()}},{key:"parseOpen",value:function(B){return this.parser?(this.parser.parseOpen(B),!0):B.name===this.tag?(this.reset(),!0):(this.parser=this.map[B.name],this.parser&&this.parser.parseOpen(B),!0)}},{key:"parseText",value:function(B){this.parser&&this.parser.parseText(B)}},{key:"parseClose",value:function(B){return this.parser?(this.parser.parseClose(B)||(this.parser=void 0),!0):B!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}}])}(h);c.exports=b},{"../base-xform":32,"./alignment-xform":126,"./border-xform":127,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./protection-xform":133}],130:[function(a,c,u){var h=a("../base-xform"),d=a("./color-xform"),p=function(y){function b(){var I;return Et(this,b),(I=Er(this,b)).map={color:new d},I}return nr(b,y),xt(b,[{key:"tag",get:function(){return"stop"}},{key:"render",value:function(I,E){I.openNode("stop"),I.addAttribute("position",E.position),this.map.color.render(I,E.color),I.closeNode()}},{key:"parseOpen",value:function(I){if(this.parser)return this.parser.parseOpen(I),!0;switch(I.name){case"stop":return this.model={position:parseFloat(I.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(I),!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(I){return!!this.parser&&(this.parser.parseClose(I)||(this.model.color=this.parser.model,this.parser=void 0),!0)}}])}(h),g=function(y){function b(){var I;return Et(this,b),(I=Er(this,b)).map={fgColor:new d("fgColor"),bgColor:new d("bgColor")},I}return nr(b,y),xt(b,[{key:"name",get:function(){return"pattern"}},{key:"tag",get:function(){return"patternFill"}},{key:"render",value:function(I,E){I.openNode("patternFill"),I.addAttribute("patternType",E.pattern),E.fgColor&&this.map.fgColor.render(I,E.fgColor),E.bgColor&&this.map.bgColor.render(I,E.bgColor),I.closeNode()}},{key:"parseOpen",value:function(I){return this.parser?(this.parser.parseOpen(I),!0):I.name==="patternFill"?(this.model={type:"pattern",pattern:I.attributes.patternType},!0):(this.parser=this.map[I.name],!!this.parser&&(this.parser.parseOpen(I),!0))}},{key:"parseText",value:function(I){this.parser&&this.parser.parseText(I)}},{key:"parseClose",value:function(I){return!!this.parser&&(this.parser.parseClose(I)||(this.parser.model&&(this.model[I]=this.parser.model),this.parser=void 0),!0)}}])}(h),A=function(y){function b(){var I;return Et(this,b),(I=Er(this,b)).map={stop:new p},I}return nr(b,y),xt(b,[{key:"name",get:function(){return"gradient"}},{key:"tag",get:function(){return"gradientFill"}},{key:"render",value:function(I,E){switch(I.openNode("gradientFill"),E.gradient){case"angle":I.addAttribute("degree",E.degree);break;case"path":I.addAttribute("type","path"),E.center.left&&(I.addAttribute("left",E.center.left),E.center.right===void 0&&I.addAttribute("right",E.center.left)),E.center.right&&I.addAttribute("right",E.center.right),E.center.top&&(I.addAttribute("top",E.center.top),E.center.bottom===void 0&&I.addAttribute("bottom",E.center.top)),E.center.bottom&&I.addAttribute("bottom",E.center.bottom)}var B=this.map.stop;E.stops.forEach(function(S){B.render(I,S)}),I.closeNode()}},{key:"parseOpen",value:function(I){if(this.parser)return this.parser.parseOpen(I),!0;switch(I.name){case"gradientFill":var E=this.model={stops:[]};return I.attributes.degree?(E.gradient="angle",E.degree=parseInt(I.attributes.degree,10)):I.attributes.type==="path"&&(E.gradient="path",E.center={left:I.attributes.left?parseFloat(I.attributes.left):0,top:I.attributes.top?parseFloat(I.attributes.top):0},I.attributes.right!==I.attributes.left&&(E.center.right=I.attributes.right?parseFloat(I.attributes.right):0),I.attributes.bottom!==I.attributes.top&&(E.center.bottom=I.attributes.bottom?parseFloat(I.attributes.bottom):0)),!0;case"stop":return this.parser=this.map.stop,this.parser.parseOpen(I),!0;default:return!1}}},{key:"parseText",value:function(I){this.parser&&this.parser.parseText(I)}},{key:"parseClose",value:function(I){return!!this.parser&&(this.parser.parseClose(I)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}}])}(h),m=function(y){function b(){var I;return Et(this,b),(I=Er(this,b)).map={patternFill:new g,gradientFill:new A},I}return nr(b,y),xt(b,[{key:"tag",get:function(){return"fill"}},{key:"render",value:function(I,E){switch(I.addRollback(),I.openNode("fill"),E.type){case"pattern":this.map.patternFill.render(I,E);break;case"gradient":this.map.gradientFill.render(I,E);break;default:return void I.rollback()}I.closeNode(),I.commit()}},{key:"parseOpen",value:function(I){return this.parser?(this.parser.parseOpen(I),!0):I.name==="fill"?(this.model={},!0):(this.parser=this.map[I.name],!!this.parser&&(this.parser.parseOpen(I),!0))}},{key:"parseText",value:function(I){this.parser&&this.parser.parseText(I)}},{key:"parseClose",value:function(I){return!!this.parser&&(this.parser.parseClose(I)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}},{key:"validStyle",value:function(I){return b.validPatternValues[I]}}])}(h);m.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce(function(y,b){return y[b]=!0,y},{}),m.StopXform=p,m.PatternFillXform=g,m.GradientFillXform=A,c.exports=m},{"../base-xform":32,"./color-xform":128}],131:[function(a,c,u){var h=a("./color-xform"),d=a("../simple/boolean-xform"),p=a("../simple/integer-xform"),g=a("../simple/string-xform"),A=a("./underline-xform"),m=a("../../../utils/under-dash"),y=function(b){function I(E){var B;return Et(this,I),(B=Er(this,I)).options=E||I.OPTIONS,B.map={b:{prop:"bold",xform:new d({tag:"b",attr:"val"})},i:{prop:"italic",xform:new d({tag:"i",attr:"val"})},u:{prop:"underline",xform:new A},charset:{prop:"charset",xform:new p({tag:"charset",attr:"val"})},color:{prop:"color",xform:new h},condense:{prop:"condense",xform:new d({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new d({tag:"extend",attr:"val"})},family:{prop:"family",xform:new p({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new d({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new g({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new g({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new d({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new d({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new p({tag:"sz",attr:"val"})}},B.map[B.options.fontNameTag]={prop:"name",xform:new g({tag:B.options.fontNameTag,attr:"val"})},B}return nr(I,b),xt(I,[{key:"tag",get:function(){return this.options.tagName}},{key:"render",value:function(E,B){var S=this.map;E.openNode(this.options.tagName),m.each(this.map,function(_,D){S[D].xform.render(E,B[_.prop])}),E.closeNode()}},{key:"parseOpen",value:function(E){return this.parser?(this.parser.parseOpen(E),!0):this.map[E.name]?(this.parser=this.map[E.name].xform,this.parser.parseOpen(E)):E.name===this.options.tagName&&(this.model={},!0)}},{key:"parseText",value:function(E){this.parser&&this.parser.parseText(E)}},{key:"parseClose",value:function(E){if(this.parser&&!this.parser.parseClose(E)){var B=this.map[E];return this.parser.model&&(this.model[B.prop]=this.parser.model),this.parser=void 0,!0}return E!==this.options.tagName}}])}(a("../base-xform"));y.OPTIONS={tagName:"font",fontNameTag:"name"},c.exports=y},{"../../../utils/under-dash":26,"../base-xform":32,"../simple/boolean-xform":116,"../simple/integer-xform":118,"../simple/string-xform":119,"./color-xform":128,"./underline-xform":136}],132:[function(a,c,u){var h=a("../../../utils/under-dash"),d=a("../../defaultnumformats"),p=a("../base-xform");function g(){var y={};return h.each(d,function(b,I){b.f&&(y[b.f]=parseInt(I,10))}),y}var A=g(),m=function(y){function b(I,E){var B;return Et(this,b),(B=Er(this,b)).id=I,B.formatCode=E,B}return nr(b,y),xt(b,[{key:"tag",get:function(){return"numFmt"}},{key:"render",value:function(I,E){I.leafNode("numFmt",{numFmtId:E.id,formatCode:E.formatCode})}},{key:"parseOpen",value:function(I){return I.name==="numFmt"&&(this.model={id:parseInt(I.attributes.numFmtId,10),formatCode:I.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(p);m.getDefaultFmtId=function(y){return A[y]},m.getDefaultFmtCode=function(y){return d[y]&&d[y].f},c.exports=m},{"../../../utils/under-dash":26,"../../defaultnumformats":30,"../base-xform":32}],133:[function(a,c,u){var h=a("../base-xform"),d={boolean:function(g,A){return g===void 0?A:g}},p=function(g){function A(){return Et(this,A),Er(this,A,arguments)}return nr(A,g),xt(A,[{key:"tag",get:function(){return"protection"}},{key:"render",value:function(m,y){m.addRollback(),m.openNode("protection");var b=!1;function I(E,B){B!==void 0&&(m.addAttribute(E,B),b=!0)}I("locked",d.boolean(y.locked,!0)?void 0:"0"),I("hidden",d.boolean(y.hidden,!1)?"1":void 0),m.closeNode(),b?m.commit():m.rollback()}},{key:"parseOpen",value:function(m){var y={locked:m.attributes.locked!=="0",hidden:m.attributes.hidden==="1"},b=!y.locked||y.hidden;this.model=b?y:null}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(h);c.exports=p},{"../base-xform":32}],134:[function(a,c,u){var h=a("../base-xform"),d=a("./alignment-xform"),p=a("./protection-xform"),g=function(A){function m(y){var b;return Et(this,m),(b=Er(this,m)).xfId=!(!y||!y.xfId),b.map={alignment:new d,protection:new p},b}return nr(m,A),xt(m,[{key:"tag",get:function(){return"xf"}},{key:"render",value:function(y,b){y.openNode("xf",{numFmtId:b.numFmtId||0,fontId:b.fontId||0,fillId:b.fillId||0,borderId:b.borderId||0}),this.xfId&&y.addAttribute("xfId",b.xfId||0),b.numFmtId&&y.addAttribute("applyNumberFormat","1"),b.fontId&&y.addAttribute("applyFont","1"),b.fillId&&y.addAttribute("applyFill","1"),b.borderId&&y.addAttribute("applyBorder","1"),b.alignment&&y.addAttribute("applyAlignment","1"),b.protection&&y.addAttribute("applyProtection","1"),b.alignment&&this.map.alignment.render(y,b.alignment),b.protection&&this.map.protection.render(y,b.protection),y.closeNode()}},{key:"parseOpen",value:function(y){if(this.parser)return this.parser.parseOpen(y),!0;switch(y.name){case"xf":return this.model={numFmtId:parseInt(y.attributes.numFmtId,10),fontId:parseInt(y.attributes.fontId,10),fillId:parseInt(y.attributes.fillId,10),borderId:parseInt(y.attributes.borderId,10)},this.xfId&&(this.model.xfId=parseInt(y.attributes.xfId,10)),!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen(y),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen(y),!0;default:return!1}}},{key:"parseText",value:function(y){this.parser&&this.parser.parseText(y)}},{key:"parseClose",value:function(y){return this.parser?(this.parser.parseClose(y)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):y!=="xf"}}])}(h);c.exports=g},{"../base-xform":32,"./alignment-xform":126,"./protection-xform":133}],135:[function(a,c,u){var h=a("../../../doc/enums"),d=a("../../../utils/xml-stream"),p=a("../base-xform"),g=a("../static-xform"),A=a("../list-xform"),m=a("./font-xform"),y=a("./fill-xform"),b=a("./border-xform"),I=a("./numfmt-xform"),E=a("./style-xform"),B=a("./dxf-xform"),S=164,_=function(T){function F(N){var H;return Et(this,F),(H=Er(this,F)).map={numFmts:new A({tag:"numFmts",count:!0,childXform:new I}),fonts:new A({tag:"fonts",count:!0,childXform:new m,$:{"x14ac:knownFonts":1}}),fills:new A({tag:"fills",count:!0,childXform:new y}),borders:new A({tag:"borders",count:!0,childXform:new b}),cellStyleXfs:new A({tag:"cellStyleXfs",count:!0,childXform:new E}),cellXfs:new A({tag:"cellXfs",count:!0,childXform:new E({xfId:!0})}),dxfs:new A({tag:"dxfs",always:!0,count:!0,childXform:new B}),numFmt:new I,font:new m,fill:new y,border:new b,style:new E({xfId:!0}),cellStyles:F.STATIC_XFORMS.cellStyles,tableStyles:F.STATIC_XFORMS.tableStyles,extLst:F.STATIC_XFORMS.extLst},N&&H.init(),H}return nr(F,T),xt(F,[{key:"initIndex",value:function(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}},{key:"init",value:function(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}},{key:"render",value:function(N,H){H=H||this.model,N.openXml(d.StdDocAttributes),N.openNode("styleSheet",F.STYLESHEET_ATTRIBUTES),this.index?(H.numFmts&&H.numFmts.length&&(N.openNode("numFmts",{count:H.numFmts.length}),H.numFmts.forEach(function(W){N.writeXml(W)}),N.closeNode()),H.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),N.openNode("fonts",{count:H.fonts.length,"x14ac:knownFonts":1}),H.fonts.forEach(function(W){N.writeXml(W)}),N.closeNode(),N.openNode("fills",{count:H.fills.length}),H.fills.forEach(function(W){N.writeXml(W)}),N.closeNode(),N.openNode("borders",{count:H.borders.length}),H.borders.forEach(function(W){N.writeXml(W)}),N.closeNode(),this.map.cellStyleXfs.render(N,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),N.openNode("cellXfs",{count:H.styles.length}),H.styles.forEach(function(W){N.writeXml(W)}),N.closeNode()):(this.map.numFmts.render(N,H.numFmts),this.map.fonts.render(N,H.fonts),this.map.fills.render(N,H.fills),this.map.borders.render(N,H.borders),this.map.cellStyleXfs.render(N,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(N,H.styles)),F.STATIC_XFORMS.cellStyles.render(N),this.map.dxfs.render(N,H.dxfs),F.STATIC_XFORMS.tableStyles.render(N),F.STATIC_XFORMS.extLst.render(N),N.closeNode()}},{key:"parseOpen",value:function(N){return this.parser?(this.parser.parseOpen(N),!0):N.name==="styleSheet"?(this.initIndex(),!0):(this.parser=this.map[N.name],this.parser&&this.parser.parseOpen(N),!0)}},{key:"parseText",value:function(N){this.parser&&this.parser.parseText(N)}},{key:"parseClose",value:function(N){var H=this;if(this.parser)return this.parser.parseClose(N)||(this.parser=void 0),!0;if(N==="styleSheet"){this.model={};var W=function(te,ue){ue.model&&ue.model.length&&(H.model[te]=ue.model)};if(W("numFmts",this.map.numFmts),W("fonts",this.map.fonts),W("fills",this.map.fills),W("borders",this.map.borders),W("styles",this.map.cellXfs),W("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){var V=this.index.numFmt;this.model.numFmts.forEach(function(te){V[te.id]=te.formatCode})}return!1}return!0}},{key:"addStyleModel",value:function(N,H){if(!N)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),this.weakMap&&this.weakMap.has(N))return this.weakMap.get(N);var W={};if(H=H||h.ValueType.Number,N.numFmt)W.numFmtId=this._addNumFmtStr(N.numFmt);else switch(H){case h.ValueType.Number:W.numFmtId=this._addNumFmtStr("General");break;case h.ValueType.Date:W.numFmtId=this._addNumFmtStr("mm-dd-yy")}N.font&&(W.fontId=this._addFont(N.font)),N.border&&(W.borderId=this._addBorder(N.border)),N.fill&&(W.fillId=this._addFill(N.fill)),N.alignment&&(W.alignment=N.alignment),N.protection&&(W.protection=N.protection);var V=this._addStyle(W);return this.weakMap&&this.weakMap.set(N,V),V}},{key:"getStyleModel",value:function(N){var H=this.model.styles[N];if(!H)return null;var W=this.index.model[N];if(W)return W;if(W=this.index.model[N]={},H.numFmtId){var V=this.index.numFmt[H.numFmtId]||I.getDefaultFmtCode(H.numFmtId);V&&(W.numFmt=V)}function te(ue,fe,de){if(de||de===0){var Ae=fe[de];Ae&&(W[ue]=Ae)}}return te("font",this.model.fonts,H.fontId),te("border",this.model.borders,H.borderId),te("fill",this.model.fills,H.fillId),H.alignment&&(W.alignment=H.alignment),H.protection&&(W.protection=H.protection),W}},{key:"addDxfStyle",value:function(N){return N.numFmt&&(N.numFmtId=this._addNumFmtStr(N.numFmt)),this.model.dxfs.push(N),this.model.dxfs.length-1}},{key:"getDxfStyle",value:function(N){return this.model.dxfs[N]}},{key:"_addStyle",value:function(N){var H=this.map.style.toXml(N),W=this.index.style[H];return W===void 0&&(W=this.index.style[H]=this.model.styles.length,this.model.styles.push(H)),W}},{key:"_addNumFmtStr",value:function(N){var H=I.getDefaultFmtId(N);if(H!==void 0||(H=this.index.numFmt[N])!==void 0)return H;H=this.index.numFmt[N]=S+this.model.numFmts.length;var W=this.map.numFmt.toXml({id:H,formatCode:N});return this.model.numFmts.push(W),H}},{key:"_addFont",value:function(N){var H=this.map.font.toXml(N),W=this.index.font[H];return W===void 0&&(W=this.index.font[H]=this.model.fonts.length,this.model.fonts.push(H)),W}},{key:"_addBorder",value:function(N){var H=this.map.border.toXml(N),W=this.index.border[H];return W===void 0&&(W=this.index.border[H]=this.model.borders.length,this.model.borders.push(H)),W}},{key:"_addFill",value:function(N){var H=this.map.fill.toXml(N),W=this.index.fill[H];return W===void 0&&(W=this.index.fill[H]=this.model.fills.length,this.model.fills.push(H)),W}}])}(p);_.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"},_.STATIC_XFORMS={cellStyles:new g({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new g({tag:"dxfs",$:{count:0}}),tableStyles:new g({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new g({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};var D=function(T){function F(){var N;return Et(this,F),(N=Er(this,F)).model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]},N}return nr(F,T),xt(F,[{key:"parseStream",value:function(N){return N.autodrain(),Promise.resolve()}},{key:"addStyleModel",value:function(N,H){return H===h.ValueType.Date?this.dateStyleId:0}},{key:"dateStyleId",get:function(){if(!this._dateStyleId){var N={numFmtId:I.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push(N)}return this._dateStyleId}},{key:"getStyleModel",value:function(){return{}}}])}(_);_.Mock=D,c.exports=_},{"../../../doc/enums":7,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./border-xform":127,"./dxf-xform":129,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./style-xform":134}],136:[function(a,c,u){var h=function(d){function p(g){var A;return Et(this,p),(A=Er(this,p)).model=g,A}return nr(p,d),xt(p,[{key:"tag",get:function(){return"u"}},{key:"render",value:function(g,A){if((A=A||this.model)===!0)g.leafNode("u");else{var m=p.Attributes[A];m&&g.leafNode("u",m)}}},{key:"parseOpen",value:function(g){g.name==="u"&&(this.model=g.attributes.val||!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));h.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}},c.exports=h},{"../base-xform":32}],137:[function(a,c,u){var h=a("../base-xform"),d=a("./filter-column-xform"),p=function(g){function A(){var m;return Et(this,A),(m=Er(this,A)).map={filterColumn:new d},m}return nr(A,g),xt(A,[{key:"tag",get:function(){return"autoFilter"}},{key:"prepare",value:function(m){var y=this;m.columns.forEach(function(b,I){y.map.filterColumn.prepare(b,{index:I})})}},{key:"render",value:function(m,y){var b=this;return m.openNode(this.tag,{ref:y.autoFilterRef}),y.columns.forEach(function(I){b.map.filterColumn.render(m,I)}),m.closeNode(),!0}},{key:"parseOpen",value:function(m){if(this.parser)return this.parser.parseOpen(m),!0;if(m.name===this.tag)return this.model={autoFilterRef:m.attributes.ref,columns:[]},!0;if(this.parser=this.map[m.name],this.parser)return this.parseOpen(m),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(m)))}},{key:"parseText",value:function(m){this.parser&&this.parser.parseText(m)}},{key:"parseClose",value:function(m){if(this.parser)return this.parser.parseClose(m)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;if(m===this.tag)return!1;throw new Error("Unexpected xml node in parseClose: ".concat(m))}}])}(h);c.exports=p},{"../base-xform":32,"./filter-column-xform":139}],138:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"customFilter"}},{key:"render",value:function(g,A){g.leafNode(this.tag,{val:A.val,operator:A.operator})}},{key:"parseOpen",value:function(g){return g.name===this.tag&&(this.model={val:g.attributes.val,operator:g.attributes.operator},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],139:[function(a,c,u){var h=a("../base-xform"),d=a("../list-xform"),p=a("./custom-filter-xform"),g=a("./filter-xform"),A=function(m){function y(){var b;return Et(this,y),(b=Er(this,y)).map={customFilters:new d({tag:"customFilters",count:!1,empty:!0,childXform:new p}),filters:new d({tag:"filters",count:!1,empty:!0,childXform:new g})},b}return nr(y,m),xt(y,[{key:"tag",get:function(){return"filterColumn"}},{key:"prepare",value:function(b,I){b.colId=I.index.toString()}},{key:"render",value:function(b,I){return I.customFilters?(b.openNode(this.tag,{colId:I.colId,hiddenButton:I.filterButton?"0":"1"}),this.map.customFilters.render(b,I.customFilters),b.closeNode(),!0):(b.leafNode(this.tag,{colId:I.colId,hiddenButton:I.filterButton?"0":"1"}),!0)}},{key:"parseOpen",value:function(b){if(this.parser)return this.parser.parseOpen(b),!0;var I=b.attributes;if(b.name===this.tag)return this.model={filterButton:I.hiddenButton==="0"},!0;if(this.parser=this.map[b.name],this.parser)return this.parseOpen(b),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(b)))}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(b){return this.parser?(this.parser.parseClose(b)||(this.parser=void 0),!0):b!==this.tag||(this.model.customFilters=this.map.customFilters.model,!1)}}])}(h);c.exports=A},{"../base-xform":32,"../list-xform":71,"./custom-filter-xform":138,"./filter-xform":140}],140:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"filter"}},{key:"render",value:function(g,A){g.leafNode(this.tag,{val:A.val})}},{key:"parseOpen",value:function(g){return g.name===this.tag&&(this.model={val:g.attributes.val},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],141:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"tableColumn"}},{key:"prepare",value:function(g,A){g.id=A.index+1}},{key:"render",value:function(g,A){return g.leafNode(this.tag,{id:A.id.toString(),name:A.name,totalsRowLabel:A.totalsRowLabel,totalsRowFunction:A.totalsRowFunction,dxfId:A.dxfId}),!0}},{key:"parseOpen",value:function(g){if(g.name===this.tag){var A=g.attributes;return this.model={name:A.name,totalsRowLabel:A.totalsRowLabel,totalsRowFunction:A.totalsRowFunction,dxfId:A.dxfId},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],142:[function(a,c,u){var h=function(d){function p(){return Et(this,p),Er(this,p,arguments)}return nr(p,d),xt(p,[{key:"tag",get:function(){return"tableStyleInfo"}},{key:"render",value:function(g,A){return g.leafNode(this.tag,{name:A.theme?A.theme:void 0,showFirstColumn:A.showFirstColumn?"1":"0",showLastColumn:A.showLastColumn?"1":"0",showRowStripes:A.showRowStripes?"1":"0",showColumnStripes:A.showColumnStripes?"1":"0"}),!0}},{key:"parseOpen",value:function(g){if(g.name===this.tag){var A=g.attributes;return this.model={theme:A.name?A.name:null,showFirstColumn:A.showFirstColumn==="1",showLastColumn:A.showLastColumn==="1",showRowStripes:A.showRowStripes==="1",showColumnStripes:A.showColumnStripes==="1"},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])}(a("../base-xform"));c.exports=h},{"../base-xform":32}],143:[function(a,c,u){var h=a("../../../utils/xml-stream"),d=a("../base-xform"),p=a("../list-xform"),g=a("./auto-filter-xform"),A=a("./table-column-xform"),m=a("./table-style-info-xform"),y=function(b){function I(){var E;return Et(this,I),(E=Er(this,I)).map={autoFilter:new g,tableColumns:new p({tag:"tableColumns",count:!0,empty:!0,childXform:new A}),tableStyleInfo:new m},E}return nr(I,b),xt(I,[{key:"prepare",value:function(E,B){this.map.autoFilter.prepare(E),this.map.tableColumns.prepare(E.columns,B)}},{key:"tag",get:function(){return"table"}},{key:"render",value:function(E,B){E.openXml(h.StdDocAttributes),E.openNode(this.tag,Za(Za({},I.TABLE_ATTRIBUTES),{},{id:B.id,name:B.name,displayName:B.displayName||B.name,ref:B.tableRef,totalsRowCount:B.totalsRow?"1":void 0,totalsRowShown:B.totalsRow?void 0:"1",headerRowCount:B.headerRow?"1":"0"})),this.map.autoFilter.render(E,B),this.map.tableColumns.render(E,B.columns),this.map.tableStyleInfo.render(E,B.style),E.closeNode()}},{key:"parseOpen",value:function(E){if(this.parser)return this.parser.parseOpen(E),!0;var B=E.name,S=E.attributes;return B===this.tag?(this.reset(),this.model={name:S.name,displayName:S.displayName||S.name,tableRef:S.ref,totalsRow:S.totalsRowCount==="1",headerRow:S.headerRowCount==="1"}):(this.parser=this.map[E.name],this.parser&&this.parser.parseOpen(E)),!0}},{key:"parseText",value:function(E){this.parser&&this.parser.parseText(E)}},{key:"parseClose",value:function(E){var B=this;return this.parser?(this.parser.parseClose(E)||(this.parser=void 0),!0):E!==this.tag||(this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach(function(S,_){B.model.columns[_].filterButton=S.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1)}},{key:"reconcile",value:function(E,B){E.columns.forEach(function(S){S.dxfId!==void 0&&(S.style=B.styles.getDxfStyle(S.dxfId))})}}])}(d);y.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"},c.exports=y},{"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":137,"./table-column-xform":141,"./table-style-info-xform":142}],144:[function(a,c,u){(function(h,d){(function(){var p=a("fs"),g=a("jszip"),A=a("readable-stream").PassThrough,m=a("../utils/zip-stream"),y=a("../utils/stream-buf"),b=a("../utils/utils"),I=a("../utils/xml-stream"),E=a("../utils/browser-buffer-decode").bufferToString,B=a("./xform/style/styles-xform"),S=a("./xform/core/core-xform"),_=a("./xform/strings/shared-strings-xform"),D=a("./xform/core/relationships-xform"),T=a("./xform/core/content-types-xform"),F=a("./xform/core/app-xform"),N=a("./xform/book/workbook-xform"),H=a("./xform/sheet/worksheet-xform"),W=a("./xform/drawing/drawing-xform"),V=a("./xform/table/table-xform"),te=a("./xform/comment/comments-xform"),ue=a("./xform/comment/vml-notes-xform"),fe=a("./xml/theme1");function de(we,Z){return new Promise(function(ne,j){p.readFile(we,Z,function(J,q){J?j(J):ne(q)})})}var Ae=function(){function we(Z){Et(this,we),this.workbook=Z}return xt(we,[{key:"readFile",value:function(){var Z=Sa(_n.mark(function j(J,q){var z,X;return _n.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return se.next=2,b.fs.exists(J);case 2:if(se.sent){se.next=4;break}throw new Error("File not found: ".concat(J));case 4:return z=p.createReadStream(J),se.prev=5,se.next=8,this.read(z,q);case 8:return X=se.sent,z.close(),se.abrupt("return",X);case 13:throw se.prev=13,se.t0=se.catch(5),z.close(),se.t0;case 17:case"end":return se.stop()}},j,this,[[5,13]])}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"parseRels",value:function(Z){return new D().parseStream(Z)}},{key:"parseWorkbook",value:function(Z){return new N().parseStream(Z)}},{key:"parseSharedStrings",value:function(Z){return new _().parseStream(Z)}},{key:"reconcile",value:function(Z,ne){var j=new N,J=new H(ne),q=new W,z=new V;j.reconcile(Z);var X={media:Z.media,mediaIndex:Z.mediaIndex};Object.keys(Z.drawings).forEach(function(ye){var ae=Z.drawings[ye],me=Z.drawingRels[ye];me&&(X.rels=me.reduce(function(Fe,_e){return Fe[_e.Id]=_e,Fe},{}),(ae.anchors||[]).forEach(function(Fe){var _e=Fe.picture&&Fe.picture.hyperlinks;_e&&X.rels[_e.rId]&&(_e.hyperlink=X.rels[_e.rId].Target,delete _e.rId)}),q.reconcile(ae,X))});var se={styles:Z.styles};Object.values(Z.tables).forEach(function(ye){z.reconcile(ye,se)});var oe={styles:Z.styles,sharedStrings:Z.sharedStrings,media:Z.media,mediaIndex:Z.mediaIndex,date1904:Z.properties&&Z.properties.date1904,drawings:Z.drawings,comments:Z.comments,tables:Z.tables,vmlDrawings:Z.vmlDrawings};Z.worksheets.forEach(function(ye){ye.relationships=Z.worksheetRels[ye.sheetNo],J.reconcile(ye,oe)}),delete Z.worksheetHash,delete Z.worksheetRels,delete Z.globalRels,delete Z.sharedStrings,delete Z.workbookRels,delete Z.sheetDefs,delete Z.styles,delete Z.mediaIndex,delete Z.drawings,delete Z.drawingRels,delete Z.vmlDrawings}},{key:"_processWorksheetEntry",value:function(){var Z=Sa(_n.mark(function j(J,q,z,X,se){var oe,ye;return _n.wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return oe=new H(X),ae.next=3,oe.parseStream(J);case 3:(ye=ae.sent).sheetNo=z,q.worksheetHash[se]=ye,q.worksheets.push(ye);case 7:case"end":return ae.stop()}},j)}));function ne(j,J,q,z,X){return Z.apply(this,arguments)}return ne}()},{key:"_processCommentEntry",value:function(){var Z=Sa(_n.mark(function j(J,q,z){var X,se;return _n.wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return X=new te,oe.next=3,X.parseStream(J);case 3:se=oe.sent,q.comments["../".concat(z,".xml")]=se;case 5:case"end":return oe.stop()}},j)}));function ne(j,J,q){return Z.apply(this,arguments)}return ne}()},{key:"_processTableEntry",value:function(){var Z=Sa(_n.mark(function j(J,q,z){var X,se;return _n.wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return X=new V,oe.next=3,X.parseStream(J);case 3:se=oe.sent,q.tables["../tables/".concat(z,".xml")]=se;case 5:case"end":return oe.stop()}},j)}));function ne(j,J,q){return Z.apply(this,arguments)}return ne}()},{key:"_processWorksheetRelsEntry",value:function(){var Z=Sa(_n.mark(function j(J,q,z){var X,se;return _n.wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return X=new D,oe.next=3,X.parseStream(J);case 3:se=oe.sent,q.worksheetRels[z]=se;case 5:case"end":return oe.stop()}},j)}));function ne(j,J,q){return Z.apply(this,arguments)}return ne}()},{key:"_processMediaEntry",value:function(){var Z=Sa(_n.mark(function j(J,q,z){var X,se,oe;return _n.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(!((X=z.lastIndexOf("."))>=1)){ye.next=6;break}return se=z.substr(X+1),oe=z.substr(0,X),ye.next=6,new Promise(function(ae,me){var Fe=new y;Fe.on("finish",function(){q.mediaIndex[z]=q.media.length,q.mediaIndex[oe]=q.media.length;var _e={type:"image",name:oe,extension:se,buffer:Fe.toBuffer()};q.media.push(_e),ae()}),J.on("error",function(_e){me(_e)}),J.pipe(Fe)});case 6:case"end":return ye.stop()}},j)}));function ne(j,J,q){return Z.apply(this,arguments)}return ne}()},{key:"_processDrawingEntry",value:function(){var Z=Sa(_n.mark(function j(J,q,z){var X,se;return _n.wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return X=new W,oe.next=3,X.parseStream(J);case 3:se=oe.sent,q.drawings[z]=se;case 5:case"end":return oe.stop()}},j)}));function ne(j,J,q){return Z.apply(this,arguments)}return ne}()},{key:"_processDrawingRelsEntry",value:function(){var Z=Sa(_n.mark(function j(J,q,z){var X,se;return _n.wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return X=new D,oe.next=3,X.parseStream(J);case 3:se=oe.sent,q.drawingRels[z]=se;case 5:case"end":return oe.stop()}},j)}));function ne(j,J,q){return Z.apply(this,arguments)}return ne}()},{key:"_processVmlDrawingEntry",value:function(){var Z=Sa(_n.mark(function j(J,q,z){var X,se;return _n.wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return X=new ue,oe.next=3,X.parseStream(J);case 3:se=oe.sent,q.vmlDrawings["../drawings/".concat(z,".vml")]=se;case 5:case"end":return oe.stop()}},j)}));function ne(j,J,q){return Z.apply(this,arguments)}return ne}()},{key:"_processThemeEntry",value:function(){var Z=Sa(_n.mark(function j(J,q,z){return _n.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return X.next=2,new Promise(function(se,oe){var ye=new y;J.on("error",oe),ye.on("error",oe),ye.on("finish",function(){q.themes[z]=ye.read().toString(),se()}),J.pipe(ye)});case 2:case"end":return X.stop()}},j)}));function ne(j,J,q){return Z.apply(this,arguments)}return ne}()},{key:"createInputStream",value:function(){throw new Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}},{key:"read",value:function(){var Z=Sa(_n.mark(function j(J,q){var z,X,se,oe,ye,ae,me;return _n.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:!J[Symbol.asyncIterator]&&J.pipe&&(J=J.pipe(new A)),z=[],X=!1,se=!1,Fe.prev=4,ye=z0(J);case 6:return Fe.next=8,ye.next();case 8:if(!(X=!(ae=Fe.sent).done)){Fe.next=14;break}me=ae.value,z.push(me);case 11:X=!1,Fe.next=6;break;case 14:Fe.next=20;break;case 16:Fe.prev=16,Fe.t0=Fe.catch(4),se=!0,oe=Fe.t0;case 20:if(Fe.prev=20,Fe.prev=21,!X||ye.return==null){Fe.next=25;break}return Fe.next=25,ye.return();case 25:if(Fe.prev=25,!se){Fe.next=28;break}throw oe;case 28:return Fe.finish(25);case 29:return Fe.finish(20);case 30:return Fe.abrupt("return",this.load(d.concat(z),q));case 31:case"end":return Fe.stop()}},j,this,[[4,16,20,30],[21,,25,29]])}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"load",value:function(){var Z=Sa(_n.mark(function j(J,q){var z,X,se,oe,ye,ae,me,Fe,_e,rt,et,st,Ge,Be,Te,je,lt;return _n.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return z=q&&q.base64?d.from(J.toString(),"base64"):J,X={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},Me.next=4,g.loadAsync(z);case 4:se=Me.sent,oe=0,ye=Object.values(se.files);case 6:if(!(oe<ye.length)){Me.next=126;break}if((ae=ye[oe]).dir){Me.next=123;break}if((me=ae.name)[0]==="/"&&(me=me.substr(1)),Fe=void 0,!me.match(/xl\/media\//)&&!me.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/)){Me.next=21;break}return Fe=new A,Me.t0=Fe,Me.next=17,ae.async("nodebuffer");case 17:Me.t1=Me.sent,Me.t0.write.call(Me.t0,Me.t1),Me.next=36;break;case 21:if(Fe=new A({writableObjectMode:!0,readableObjectMode:!0}),_e=void 0,!h.browser){Me.next=31;break}return Me.t2=E,Me.next=27,ae.async("nodebuffer");case 27:Me.t3=Me.sent,_e=(0,Me.t2)(Me.t3),Me.next=34;break;case 31:return Me.next=33,ae.async("string");case 33:_e=Me.sent;case 34:for(rt=16384,et=0;et<_e.length;et+=rt)Fe.write(_e.substring(et,et+rt));case 36:Fe.end(),Me.t4=me,Me.next=Me.t4==="_rels/.rels"?40:Me.t4==="xl/workbook.xml"?44:Me.t4==="xl/_rels/workbook.xml.rels"?53:Me.t4==="xl/sharedStrings.xml"?57:Me.t4==="xl/styles.xml"?61:Me.t4==="docProps/app.xml"?65:Me.t4==="docProps/core.xml"?72:78;break;case 40:return Me.next=42,this.parseRels(Fe);case 42:return X.globalRels=Me.sent,Me.abrupt("break",123);case 44:return Me.next=46,this.parseWorkbook(Fe);case 46:return st=Me.sent,X.sheets=st.sheets,X.definedNames=st.definedNames,X.views=st.views,X.properties=st.properties,X.calcProperties=st.calcProperties,Me.abrupt("break",123);case 53:return Me.next=55,this.parseRels(Fe);case 55:return X.workbookRels=Me.sent,Me.abrupt("break",123);case 57:return X.sharedStrings=new _,Me.next=60,X.sharedStrings.parseStream(Fe);case 60:return Me.abrupt("break",123);case 61:return X.styles=new B,Me.next=64,X.styles.parseStream(Fe);case 64:return Me.abrupt("break",123);case 65:return Ge=new F,Me.next=68,Ge.parseStream(Fe);case 68:return Be=Me.sent,X.company=Be.company,X.manager=Be.manager,Me.abrupt("break",123);case 72:return Te=new S,Me.next=75,Te.parseStream(Fe);case 75:return je=Me.sent,Object.assign(X,je),Me.abrupt("break",123);case 78:if(!(lt=me.match(/xl\/worksheets\/sheet(\d+)[.]xml/))){Me.next=83;break}return Me.next=82,this._processWorksheetEntry(Fe,X,lt[1],q,me);case 82:return Me.abrupt("break",123);case 83:if(!(lt=me.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/))){Me.next=88;break}return Me.next=87,this._processWorksheetRelsEntry(Fe,X,lt[1]);case 87:return Me.abrupt("break",123);case 88:if(!(lt=me.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))){Me.next=93;break}return Me.next=92,this._processThemeEntry(Fe,X,lt[1]);case 92:return Me.abrupt("break",123);case 93:if(!(lt=me.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/))){Me.next=98;break}return Me.next=97,this._processMediaEntry(Fe,X,lt[1]);case 97:return Me.abrupt("break",123);case 98:if(!(lt=me.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/))){Me.next=103;break}return Me.next=102,this._processDrawingEntry(Fe,X,lt[1]);case 102:return Me.abrupt("break",123);case 103:if(!(lt=me.match(/xl\/(comments\d+)[.]xml/))){Me.next=108;break}return Me.next=107,this._processCommentEntry(Fe,X,lt[1]);case 107:return Me.abrupt("break",123);case 108:if(!(lt=me.match(/xl\/tables\/(table\d+)[.]xml/))){Me.next=113;break}return Me.next=112,this._processTableEntry(Fe,X,lt[1]);case 112:return Me.abrupt("break",123);case 113:if(!(lt=me.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/))){Me.next=118;break}return Me.next=117,this._processDrawingRelsEntry(Fe,X,lt[1]);case 117:return Me.abrupt("break",123);case 118:if(!(lt=me.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/))){Me.next=123;break}return Me.next=122,this._processVmlDrawingEntry(Fe,X,lt[1]);case 122:return Me.abrupt("break",123);case 123:oe++,Me.next=6;break;case 126:return this.reconcile(X,q),this.workbook.model=X,Me.abrupt("return",this.workbook);case 129:case"end":return Me.stop()}},j,this)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"addMedia",value:function(){var Z=Sa(_n.mark(function j(J,q){return _n.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.next=2,Promise.all(q.media.map(function(){var X=Sa(_n.mark(function se(oe){var ye,ae,me,Fe;return _n.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(oe.type!=="image"){_e.next=13;break}if(ye="xl/media/".concat(oe.name,".").concat(oe.extension),!oe.filename){_e.next=7;break}return _e.next=5,de(oe.filename);case 5:return ae=_e.sent,_e.abrupt("return",J.append(ae,{name:ye}));case 7:if(!oe.buffer){_e.next=9;break}return _e.abrupt("return",J.append(oe.buffer,{name:ye}));case 9:if(!oe.base64){_e.next=13;break}return me=oe.base64,Fe=me.substring(me.indexOf(",")+1),_e.abrupt("return",J.append(Fe,{name:ye,base64:!0}));case 13:throw new Error("Unsupported media");case 14:case"end":return _e.stop()}},se)}));return function(se){return X.apply(this,arguments)}}()));case 2:case"end":return z.stop()}},j)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"addDrawings",value:function(Z,ne){var j=new W,J=new D;ne.worksheets.forEach(function(q){var z=q.drawing;if(z){j.prepare(z,{});var X=j.toXml(z);Z.append(X,{name:"xl/drawings/".concat(z.name,".xml")}),X=J.toXml(z.rels),Z.append(X,{name:"xl/drawings/_rels/".concat(z.name,".xml.rels")})}})}},{key:"addTables",value:function(Z,ne){var j=new V;ne.worksheets.forEach(function(J){J.tables.forEach(function(q){j.prepare(q,{});var z=j.toXml(q);Z.append(z,{name:"xl/tables/".concat(q.target)})})})}},{key:"addContentTypes",value:function(){var Z=Sa(_n.mark(function j(J,q){var z,X;return _n.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:z=new T,X=z.toXml(q),J.append(X,{name:"[Content_Types].xml"});case 3:case"end":return se.stop()}},j)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"addApp",value:function(){var Z=Sa(_n.mark(function j(J,q){var z,X;return _n.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:z=new F,X=z.toXml(q),J.append(X,{name:"docProps/app.xml"});case 3:case"end":return se.stop()}},j)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"addCore",value:function(){var Z=Sa(_n.mark(function j(J,q){var z;return _n.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:z=new S,J.append(z.toXml(q),{name:"docProps/core.xml"});case 2:case"end":return X.stop()}},j)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"addThemes",value:function(){var Z=Sa(_n.mark(function j(J,q){var z;return _n.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:z=q.themes||{theme1:fe},Object.keys(z).forEach(function(se){var oe=z[se],ye="xl/theme/".concat(se,".xml");J.append(oe,{name:ye})});case 2:case"end":return X.stop()}},j)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"addOfficeRels",value:function(){var Z=Sa(_n.mark(function j(J){var q,z;return _n.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:q=new D,z=q.toXml([{Id:"rId1",Type:we.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:we.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:we.RelType.ExtenderProperties,Target:"docProps/app.xml"}]),J.append(z,{name:"_rels/.rels"});case 3:case"end":return X.stop()}},j)}));function ne(j){return Z.apply(this,arguments)}return ne}()},{key:"addWorkbookRels",value:function(){var Z=Sa(_n.mark(function j(J,q){var z,X,se,oe;return _n.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:z=1,X=[{Id:"rId".concat(z++),Type:we.RelType.Styles,Target:"styles.xml"},{Id:"rId".concat(z++),Type:we.RelType.Theme,Target:"theme/theme1.xml"}],q.sharedStrings.count&&X.push({Id:"rId".concat(z++),Type:we.RelType.SharedStrings,Target:"sharedStrings.xml"}),q.worksheets.forEach(function(ae){ae.rId="rId".concat(z++),X.push({Id:ae.rId,Type:we.RelType.Worksheet,Target:"worksheets/sheet".concat(ae.id,".xml")})}),se=new D,oe=se.toXml(X),J.append(oe,{name:"xl/_rels/workbook.xml.rels"});case 7:case"end":return ye.stop()}},j)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"addSharedStrings",value:function(){var Z=Sa(_n.mark(function j(J,q){return _n.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:q.sharedStrings&&q.sharedStrings.count&&J.append(q.sharedStrings.xml,{name:"xl/sharedStrings.xml"});case 1:case"end":return z.stop()}},j)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"addStyles",value:function(){var Z=Sa(_n.mark(function j(J,q){var z;return _n.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:(z=q.styles.xml)&&J.append(z,{name:"xl/styles.xml"});case 2:case"end":return X.stop()}},j)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"addWorkbook",value:function(){var Z=Sa(_n.mark(function j(J,q){var z;return _n.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:z=new N,J.append(z.toXml(q),{name:"xl/workbook.xml"});case 2:case"end":return X.stop()}},j)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"addWorksheets",value:function(){var Z=Sa(_n.mark(function j(J,q){var z,X,se,oe;return _n.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:z=new H,X=new D,se=new te,oe=new ue,q.worksheets.forEach(function(ae){var me=new I;z.render(me,ae),J.append(me.xml,{name:"xl/worksheets/sheet".concat(ae.id,".xml")}),ae.rels&&ae.rels.length&&(me=new I,X.render(me,ae.rels),J.append(me.xml,{name:"xl/worksheets/_rels/sheet".concat(ae.id,".xml.rels")})),ae.comments.length>0&&(me=new I,se.render(me,ae),J.append(me.xml,{name:"xl/comments".concat(ae.id,".xml")}),me=new I,oe.render(me,ae),J.append(me.xml,{name:"xl/drawings/vmlDrawing".concat(ae.id,".vml")}))});case 5:case"end":return ye.stop()}},j)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"_finalize",value:function(Z){var ne=this;return new Promise(function(j,J){Z.on("finish",function(){j(ne)}),Z.on("error",J),Z.finalize()})}},{key:"prepareModel",value:function(Z,ne){Z.creator=Z.creator||"ExcelJS",Z.lastModifiedBy=Z.lastModifiedBy||"ExcelJS",Z.created=Z.created||new Date,Z.modified=Z.modified||new Date,Z.useSharedStrings=ne.useSharedStrings===void 0||ne.useSharedStrings,Z.useStyles=ne.useStyles===void 0||ne.useStyles,Z.sharedStrings=new _,Z.styles=Z.useStyles?new B(!0):new B.Mock;var j=new N,J=new H;j.prepare(Z);var q={sharedStrings:Z.sharedStrings,styles:Z.styles,date1904:Z.properties.date1904,drawingsCount:0,media:Z.media};q.drawings=Z.drawings=[],q.commentRefs=Z.commentRefs=[];var z=0;Z.tables=[],Z.worksheets.forEach(function(X){X.tables.forEach(function(se){z++,se.target="table".concat(z,".xml"),se.id=z,Z.tables.push(se)}),J.prepare(X,q)})}},{key:"write",value:function(){var Z=Sa(_n.mark(function j(J,q){var z,X;return _n.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return q=q||{},z=this.workbook.model,(X=new m.ZipWriter(q.zip)).pipe(J),this.prepareModel(z,q),se.next=7,this.addContentTypes(X,z);case 7:return se.next=9,this.addOfficeRels(X,z);case 9:return se.next=11,this.addWorkbookRels(X,z);case 11:return se.next=13,this.addWorksheets(X,z);case 13:return se.next=15,this.addSharedStrings(X,z);case 15:return se.next=17,this.addDrawings(X,z);case 17:return se.next=19,this.addTables(X,z);case 19:return se.next=21,Promise.all([this.addThemes(X,z),this.addStyles(X,z)]);case 21:return se.next=23,this.addMedia(X,z);case 23:return se.next=25,Promise.all([this.addApp(X,z),this.addCore(X,z)]);case 25:return se.next=27,this.addWorkbook(X,z);case 27:return se.abrupt("return",this._finalize(X));case 28:case"end":return se.stop()}},j,this)}));function ne(j,J){return Z.apply(this,arguments)}return ne}()},{key:"writeFile",value:function(Z,ne){var j=this,J=p.createWriteStream(Z);return new Promise(function(q,z){J.on("finish",function(){q()}),J.on("error",function(X){z(X)}),j.write(J,ne).then(function(){J.end()}).catch(function(X){z(X)})})}},{key:"writeBuffer",value:function(){var Z=Sa(_n.mark(function j(J){var q;return _n.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return q=new y,z.next=3,this.write(q,J);case 3:return z.abrupt("return",q.read());case 4:case"end":return z.stop()}},j,this)}));function ne(j){return Z.apply(this,arguments)}return ne}()}])}();Ae.RelType=a("./rel-type"),c.exports=Ae}).call(this)}).call(this,a("_process"),a("buffer").Buffer)},{"../utils/browser-buffer-decode":16,"../utils/stream-buf":24,"../utils/utils":27,"../utils/xml-stream":28,"../utils/zip-stream":29,"./rel-type":31,"./xform/book/workbook-xform":38,"./xform/comment/comments-xform":40,"./xform/comment/vml-notes-xform":45,"./xform/core/app-xform":51,"./xform/core/content-types-xform":52,"./xform/core/core-xform":53,"./xform/core/relationships-xform":55,"./xform/drawing/drawing-xform":62,"./xform/sheet/worksheet-xform":115,"./xform/strings/shared-strings-xform":124,"./xform/style/styles-xform":135,"./xform/table/table-xform":143,"./xml/theme1":145,_process:467,buffer:220,fs:216,jszip:441,"readable-stream":491}],145:[function(a,c,u){c.exports=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  22. <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>`},{}],146:[function(a,c,u){(function(h){(function(){Object.defineProperty(u,"__esModule",{value:!0}),u.CsvFormatterStream=void 0;var d=a("stream"),p=a("./formatter"),g=function(A){function m(y){var b;return Et(this,m),(b=Er(this,m,[{writableObjectMode:y.objectMode}])).hasWrittenBOM=!1,b.formatterOptions=y,b.rowFormatter=new p.RowFormatter(y),b.hasWrittenBOM=!y.writeBOM,b}return nr(m,A),xt(m,[{key:"transform",value:function(y){return this.rowFormatter.rowTransform=y,this}},{key:"_transform",value:function(y,b,I){var E=this,B=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(y,function(S,_){return S?(B=!0,I(S)):(_&&_.forEach(function(D){E.push(h.from(D,"utf8"))}),B=!0,I())})}catch(S){if(B)throw S;I(S)}}},{key:"_flush",value:function(y){var b=this;this.rowFormatter.finish(function(I,E){return I?y(I):(E&&E.forEach(function(B){b.push(h.from(B,"utf8"))}),y())})}}])}(d.Transform);u.CsvFormatterStream=g}).call(this)}).call(this,a("buffer").Buffer)},{"./formatter":150,buffer:220,stream:505}],147:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.FormatterOptions=void 0;var h=xt(function d(){Et(this,d);var p,g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.objectMode=!0,this.delimiter=",",this.rowDelimiter=`
  23. `,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,g||{}),(g==null?void 0:g.quoteHeaders)===void 0&&(this.quoteHeaders=this.quoteColumns),(g==null?void 0:g.quote)===!0?this.quote='"':(g==null?void 0:g.quote)===!1&&(this.quote=""),typeof(g==null?void 0:g.escape)!="string"&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&((p=g.writeHeaders)===null||p===void 0||p),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote="".concat(this.escape).concat(this.quote)});u.FormatterOptions=h},{}],148:[function(a,c,u){var h=function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(u,"__esModule",{value:!0}),u.FieldFormatter=void 0;var d=h(a("lodash.isboolean")),p=h(a("lodash.isnil")),g=h(a("lodash.escaperegexp")),A=function(){function m(y){Et(this,m),this._headers=null,this.formatterOptions=y,y.headers!==null&&(this.headers=y.headers),this.REPLACE_REGEXP=new RegExp(y.quote,"g");var b="[".concat(y.delimiter).concat(g.default(y.rowDelimiter),`|\r|
  24. ]`);this.ESCAPE_REGEXP=new RegExp(b)}return xt(m,[{key:"headers",set:function(y){this._headers=y}},{key:"shouldQuote",value:function(y,b){var I=b?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return d.default(I)?I:Array.isArray(I)?I[y]:this._headers!==null&&I[this._headers[y]]}},{key:"format",value:function(y,b,I){var E="".concat(p.default(y)?"":y).replace(/\0/g,""),B=this.formatterOptions;return B.quote!==""&&E.indexOf(B.quote)!==-1?this.quoteField(E.replace(this.REPLACE_REGEXP,B.escapedQuote)):E.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(b,I)?this.quoteField(E):E}},{key:"quoteField",value:function(y){var b=this.formatterOptions.quote;return"".concat(b).concat(y).concat(b)}}])}();u.FieldFormatter=A},{"lodash.escaperegexp":442,"lodash.isboolean":444,"lodash.isnil":447}],149:[function(a,c,u){var h=function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(u,"__esModule",{value:!0}),u.RowFormatter=void 0;var d=h(a("lodash.isfunction")),p=h(a("lodash.isequal")),g=a("./FieldFormatter"),A=a("../types"),m=function(){function y(b){Et(this,y),this.rowCount=0,this.formatterOptions=b,this.fieldFormatter=new g.FieldFormatter(b),this.headers=b.headers,this.shouldWriteHeaders=b.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null&&(this.fieldFormatter.headers=this.headers),b.transform&&(this.rowTransform=b.transform)}return xt(y,[{key:"rowTransform",set:function(b){if(!d.default(b))throw new TypeError("The transform should be a function");this._rowTransform=y.createTransform(b)}},{key:"format",value:function(b,I){var E=this;this.callTransformer(b,function(B,S){if(B)return I(B);if(!b)return I(null);var _=[];if(S){var D=E.checkHeaders(S),T=D.shouldFormatColumns,F=D.headers;if(E.shouldWriteHeaders&&F&&!E.hasWrittenHeaders&&(_.push(E.formatColumns(F,!0)),E.hasWrittenHeaders=!0),T){var N=E.gatherColumns(S);_.push(E.formatColumns(N,!1))}}return I(null,_)})}},{key:"finish",value:function(b){var I=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return b(new Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));I.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&I.push(this.formatterOptions.rowDelimiter),b(null,I)}},{key:"checkHeaders",value:function(b){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};var I=y.gatherHeaders(b);return this.headers=I,this.fieldFormatter.headers=I,this.shouldWriteHeaders?{shouldFormatColumns:!p.default(I,b),headers:I}:{shouldFormatColumns:!0,headers:null}}},{key:"gatherColumns",value:function(b){if(this.headers===null)throw new Error("Headers is currently null");return Array.isArray(b)?y.isRowHashArray(b)?this.headers.map(function(I,E){var B=b[E];return B?B[1]:""}):y.isRowArray(b)&&!this.shouldWriteHeaders?b:this.headers.map(function(I,E){return b[E]}):this.headers.map(function(I){return b[I]})}},{key:"callTransformer",value:function(b,I){return this._rowTransform?this._rowTransform(b,I):I(null,b)}},{key:"formatColumns",value:function(b,I){var E=this,B=b.map(function(_,D){return E.fieldFormatter.format(_,D,I)}).join(this.formatterOptions.delimiter),S=this.rowCount;return this.rowCount+=1,S?[this.formatterOptions.rowDelimiter,B].join(""):B}}],[{key:"isRowHashArray",value:function(b){return!!Array.isArray(b)&&Array.isArray(b[0])&&b[0].length===2}},{key:"isRowArray",value:function(b){return Array.isArray(b)&&!this.isRowHashArray(b)}},{key:"gatherHeaders",value:function(b){return y.isRowHashArray(b)?b.map(function(I){return I[0]}):Array.isArray(b)?b:Object.keys(b)}},{key:"createTransform",value:function(b){return A.isSyncTransform(b)?function(I,E){var B=null;try{B=b(I)}catch(S){return E(S)}return E(null,B)}:function(I,E){b(I,E)}}}])}();u.RowFormatter=m},{"../types":152,"./FieldFormatter":148,"lodash.isequal":445,"lodash.isfunction":446}],150:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.FieldFormatter=u.RowFormatter=void 0;var h=a("./RowFormatter");Object.defineProperty(u,"RowFormatter",{enumerable:!0,get:function(){return h.RowFormatter}});var d=a("./FieldFormatter");Object.defineProperty(u,"FieldFormatter",{enumerable:!0,get:function(){return d.FieldFormatter}})},{"./FieldFormatter":148,"./RowFormatter":149}],151:[function(a,c,u){(function(h){(function(){var d=Object.create?function(_,D,T,F){F===void 0&&(F=T),Object.defineProperty(_,F,{enumerable:!0,get:function(){return D[T]}})}:function(_,D,T,F){F===void 0&&(F=T),_[F]=D[T]},p=Object.create?function(_,D){Object.defineProperty(_,"default",{enumerable:!0,value:D})}:function(_,D){_.default=D},g=function(_){if(_&&_.__esModule)return _;var D={};if(_!=null)for(var T in _)T!=="default"&&Object.prototype.hasOwnProperty.call(_,T)&&d(D,_,T);return p(D,_),D},A=function(_,D){for(var T in _)T==="default"||Object.prototype.hasOwnProperty.call(D,T)||d(D,_,T)};Object.defineProperty(u,"__esModule",{value:!0}),u.writeToPath=u.writeToString=u.writeToBuffer=u.writeToStream=u.write=u.format=u.FormatterOptions=u.CsvFormatterStream=void 0;var m=a("util"),y=a("stream"),b=g(a("fs")),I=a("./FormatterOptions"),E=a("./CsvFormatterStream");A(a("./types"),u);var B=a("./CsvFormatterStream");Object.defineProperty(u,"CsvFormatterStream",{enumerable:!0,get:function(){return B.CsvFormatterStream}});var S=a("./FormatterOptions");Object.defineProperty(u,"FormatterOptions",{enumerable:!0,get:function(){return S.FormatterOptions}}),u.format=function(_){return new E.CsvFormatterStream(new I.FormatterOptions(_))},u.write=function(_,D){var T=u.format(D),F=m.promisify(function(N,H){T.write(N,void 0,H)});return _.reduce(function(N,H){return N.then(function(){return F(H)})},Promise.resolve()).then(function(){return T.end()}).catch(function(N){T.emit("error",N)}),T},u.writeToStream=function(_,D,T){return u.write(D,T).pipe(_)},u.writeToBuffer=function(_){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=[],F=new y.Writable({write:function(N,H,W){T.push(N),W()}});return new Promise(function(N,H){F.on("error",H).on("finish",function(){return N(h.concat(T))}),u.write(_,D).pipe(F)})},u.writeToString=function(_,D){return u.writeToBuffer(_,D).then(function(T){return T.toString()})},u.writeToPath=function(_,D,T){var F=b.createWriteStream(_,{encoding:"utf8"});return u.write(D,T).pipe(F)}}).call(this)}).call(this,a("buffer").Buffer)},{"./CsvFormatterStream":146,"./FormatterOptions":147,"./types":152,buffer:220,fs:216,stream:505,util:527}],152:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.isSyncTransform=void 0,u.isSyncTransform=function(h){return h.length===1}},{}],153:[function(a,c,u){(function(h){(function(){Object.defineProperty(u,"__esModule",{value:!0}),u.CsvParserStream=void 0;var d=a("string_decoder"),p=a("stream"),g=a("./transforms"),A=a("./parser"),m=function(y){function b(I){var E;return Et(this,b),(E=Er(this,b,[{objectMode:I.objectMode}])).lines="",E.rowCount=0,E.parsedRowCount=0,E.parsedLineCount=0,E.endEmitted=!1,E.headersEmitted=!1,E.parserOptions=I,E.parser=new A.Parser(I),E.headerTransformer=new g.HeaderTransformer(I),E.decoder=new d.StringDecoder(I.encoding),E.rowTransformerValidator=new g.RowTransformerValidator,E}return nr(b,y),xt(b,[{key:"hasHitRowLimit",get:function(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}},{key:"shouldEmitRows",get:function(){return this.parsedRowCount>this.parserOptions.skipRows}},{key:"shouldSkipLine",get:function(){return this.parsedLineCount<=this.parserOptions.skipLines}},{key:"transform",value:function(I){return this.rowTransformerValidator.rowTransform=I,this}},{key:"validate",value:function(I){return this.rowTransformerValidator.rowValidator=I,this}},{key:"emit",value:function(I){if(I==="end")return this.endEmitted||(this.endEmitted=!0,ty(b,"emit",this,3)(["end",this.rowCount])),!1;for(var E=arguments.length,B=new Array(E>1?E-1:0),S=1;S<E;S++)B[S-1]=arguments[S];return ty(b,"emit",this,3)([I].concat(B))}},{key:"_transform",value:function(I,E,B){if(this.hasHitRowLimit)return B();var S=b.wrapDoneCallback(B);try{var _=this.lines+this.decoder.write(I),D=this.parse(_,!0);return this.processRows(D,S)}catch(T){return S(T)}}},{key:"_flush",value:function(I){var E=b.wrapDoneCallback(I);if(this.hasHitRowLimit)return E();try{var B=this.lines+this.decoder.end(),S=this.parse(B,!1);return this.processRows(S,E)}catch(_){return E(_)}}},{key:"parse",value:function(I,E){if(!I)return[];var B=this.parser.parse(I,E),S=B.line,_=B.rows;return this.lines=S,_}},{key:"processRows",value:function(I,E){var B=this,S=I.length,_=function(D){var T=function(H){return H?E(H):D%100!=0?_(D+1):void h(function(){return _(D+1)})};if(B.checkAndEmitHeaders(),D>=S||B.hasHitRowLimit)return E();if(B.parsedLineCount+=1,B.shouldSkipLine)return T();var F=I[D];B.rowCount+=1,B.parsedRowCount+=1;var N=B.rowCount;return B.transformRow(F,function(H,W){if(H)return B.rowCount-=1,T(H);if(!W)return T(new Error("expected transform result"));if(W.isValid){if(W.row)return B.pushRow(W.row,T)}else B.emit("data-invalid",W.row,N,W.reason);return T()})};_(0)}},{key:"transformRow",value:function(I,E){var B=this;try{this.headerTransformer.transform(I,function(S,_){return S?E(S):_?_.isValid?_.row?B.shouldEmitRows?B.rowTransformerValidator.transformAndValidate(_.row,E):B.skipRow(E):(B.rowCount-=1,B.parsedRowCount-=1,E(null,{row:null,isValid:!0})):B.shouldEmitRows?E(null,{isValid:!1,row:I}):B.skipRow(E):E(new Error("Expected result from header transform"))})}catch(S){E(S)}}},{key:"checkAndEmitHeaders",value:function(){!this.headersEmitted&&this.headerTransformer.headers&&(this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers))}},{key:"skipRow",value:function(I){return this.rowCount-=1,I(null,{row:null,isValid:!0})}},{key:"pushRow",value:function(I,E){try{this.parserOptions.objectMode?this.push(I):this.push(JSON.stringify(I)),E()}catch(B){E(B)}}}],[{key:"wrapDoneCallback",value:function(I){var E=!1;return function(B){if(B){if(E)throw B;return E=!0,void I(B)}for(var S=arguments.length,_=new Array(S>1?S-1:0),D=1;D<S;D++)_[D-1]=arguments[D];I.apply(void 0,_)}}}])}(p.Transform);u.CsvParserStream=m}).call(this)}).call(this,a("timers").setImmediate)},{"./parser":165,"./transforms":168,stream:505,string_decoder:218,timers:523}],154:[function(a,c,u){var h=function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(u,"__esModule",{value:!0}),u.ParserOptions=void 0;var d=h(a("lodash.escaperegexp")),p=h(a("lodash.isnil")),g=xt(function A(m){var y;if(Et(this,A),this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,m||{}),this.delimiter.length>1)throw new Error("delimiter option must be one character long");this.escapedDelimiter=d.default(this.delimiter),this.escapeChar=(y=this.escape)!==null&&y!==void 0?y:this.quote,this.supportsComments=!p.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp("([^\\s]|\\r\\n|\\n|\\r|".concat(this.escapedDelimiter,")")),this.maxRows>0&&(this.limitRows=!0)});u.ParserOptions=g},{"lodash.escaperegexp":442,"lodash.isnil":447}],155:[function(a,c,u){var h=Object.create?function(B,S,_,D){D===void 0&&(D=_),Object.defineProperty(B,D,{enumerable:!0,get:function(){return S[_]}})}:function(B,S,_,D){D===void 0&&(D=_),B[D]=S[_]},d=Object.create?function(B,S){Object.defineProperty(B,"default",{enumerable:!0,value:S})}:function(B,S){B.default=S},p=function(B){if(B&&B.__esModule)return B;var S={};if(B!=null)for(var _ in B)_!=="default"&&Object.prototype.hasOwnProperty.call(B,_)&&h(S,B,_);return d(S,B),S},g=function(B,S){for(var _ in B)_==="default"||Object.prototype.hasOwnProperty.call(S,_)||h(S,B,_)};Object.defineProperty(u,"__esModule",{value:!0}),u.parseString=u.parseFile=u.parseStream=u.parse=u.ParserOptions=u.CsvParserStream=void 0;var A=p(a("fs")),m=a("stream"),y=a("./ParserOptions"),b=a("./CsvParserStream");g(a("./types"),u);var I=a("./CsvParserStream");Object.defineProperty(u,"CsvParserStream",{enumerable:!0,get:function(){return I.CsvParserStream}});var E=a("./ParserOptions");Object.defineProperty(u,"ParserOptions",{enumerable:!0,get:function(){return E.ParserOptions}}),u.parse=function(B){return new b.CsvParserStream(new y.ParserOptions(B))},u.parseStream=function(B,S){return B.pipe(new b.CsvParserStream(new y.ParserOptions(S)))},u.parseFile=function(B){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return A.createReadStream(B).pipe(new b.CsvParserStream(new y.ParserOptions(S)))},u.parseString=function(B,S){var _=new m.Readable;return _.push(B),_.push(null),_.pipe(new b.CsvParserStream(new y.ParserOptions(S)))}},{"./CsvParserStream":153,"./ParserOptions":154,"./types":169,fs:216,stream:505}],156:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.Parser=void 0;var h=a("./Scanner"),d=a("./RowParser"),p=a("./Token"),g=function(){function A(m){Et(this,A),this.parserOptions=m,this.rowParser=new d.RowParser(this.parserOptions)}return xt(A,[{key:"parse",value:function(m,y){var b=new h.Scanner({line:A.removeBOM(m),parserOptions:this.parserOptions,hasMoreData:y});return this.parserOptions.supportsComments?this.parseWithComments(b):this.parseWithoutComments(b)}},{key:"parseWithoutComments",value:function(m){for(var y=[],b=!0;b;)b=this.parseRow(m,y);return{line:m.line,rows:y}}},{key:"parseWithComments",value:function(m){for(var y=this.parserOptions,b=[],I=m.nextCharacterToken;I!==null;I=m.nextCharacterToken)if(p.Token.isTokenComment(I,y)){if(m.advancePastLine()===null)return{line:m.lineFromCursor,rows:b};if(!m.hasMoreCharacters)return{line:m.lineFromCursor,rows:b};m.truncateToCursor()}else if(!this.parseRow(m,b))break;return{line:m.line,rows:b}}},{key:"parseRow",value:function(m,y){if(!m.nextNonSpaceToken)return!1;var b=this.rowParser.parse(m);return b!==null&&(this.parserOptions.ignoreEmpty&&d.RowParser.isEmptyRow(b)||y.push(b),!0)}}],[{key:"removeBOM",value:function(m){return m&&m.charCodeAt(0)===65279?m.slice(1):m}}])}();u.Parser=g},{"./RowParser":157,"./Scanner":158,"./Token":159}],157:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.RowParser=void 0;var h=a("./column"),d=a("./Token"),p="",g=function(){function A(m){Et(this,A),this.parserOptions=m,this.columnParser=new h.ColumnParser(m)}return xt(A,[{key:"parse",value:function(m){for(var y=this.parserOptions,b=m.hasMoreData,I=m,E=[],B=this.getStartToken(I,E);B;){if(d.Token.isTokenRowDelimiter(B))return I.advancePastToken(B),!I.hasMoreCharacters&&d.Token.isTokenCarriageReturn(B,y)&&b?null:(I.truncateToCursor(),E);if(!this.shouldSkipColumnParse(I,B,E)){var S=this.columnParser.parse(I);if(S===null)return null;E.push(S)}B=I.nextNonSpaceToken}return b?null:(I.truncateToCursor(),E)}},{key:"getStartToken",value:function(m,y){var b=m.nextNonSpaceToken;return b!==null&&d.Token.isTokenDelimiter(b,this.parserOptions)?(y.push(""),m.nextNonSpaceToken):b}},{key:"shouldSkipColumnParse",value:function(m,y,b){var I=this.parserOptions;if(d.Token.isTokenDelimiter(y,I)){m.advancePastToken(y);var E=m.nextCharacterToken;if(!m.hasMoreCharacters||E!==null&&d.Token.isTokenRowDelimiter(E)||E!==null&&d.Token.isTokenDelimiter(E,I))return b.push(""),!0}return!1}}],[{key:"isEmptyRow",value:function(m){return m.join(p).replace(/\s+/g,p)===p}}])}();u.RowParser=g},{"./Token":159,"./column":164}],158:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.Scanner=void 0;var h=a("./Token"),d=/((?:\r\n)|\n|\r)/,p=function(){function g(A){Et(this,g),this.cursor=0,this.line=A.line,this.lineLength=this.line.length,this.parserOptions=A.parserOptions,this.hasMoreData=A.hasMoreData,this.cursor=A.cursor||0}return xt(g,[{key:"hasMoreCharacters",get:function(){return this.lineLength>this.cursor}},{key:"nextNonSpaceToken",get:function(){var A=this.lineFromCursor,m=this.parserOptions.NEXT_TOKEN_REGEXP;if(A.search(m)===-1)return null;var y=m.exec(A);if(y==null)return null;var b=y[1],I=this.cursor+(y.index||0);return new h.Token({token:b,startCursor:I,endCursor:I+b.length-1})}},{key:"nextCharacterToken",get:function(){var A=this.cursor;return this.lineLength<=A?null:new h.Token({token:this.line[A],startCursor:A,endCursor:A})}},{key:"lineFromCursor",get:function(){return this.line.substr(this.cursor)}},{key:"advancePastLine",value:function(){var A=d.exec(this.lineFromCursor);return A?(this.cursor+=(A.index||0)+A[0].length,this):this.hasMoreData?null:(this.cursor=this.lineLength,this)}},{key:"advanceTo",value:function(A){return this.cursor=A,this}},{key:"advanceToToken",value:function(A){return this.cursor=A.startCursor,this}},{key:"advancePastToken",value:function(A){return this.cursor=A.endCursor+1,this}},{key:"truncateToCursor",value:function(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}])}();u.Scanner=p},{"./Token":159}],159:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.Token=void 0;var h=function(){function d(p){Et(this,d),this.token=p.token,this.startCursor=p.startCursor,this.endCursor=p.endCursor}return xt(d,null,[{key:"isTokenRowDelimiter",value:function(p){var g=p.token;return g==="\r"||g===`
  25. `||g===`\r
  26. `}},{key:"isTokenCarriageReturn",value:function(p,g){return p.token===g.carriageReturn}},{key:"isTokenComment",value:function(p,g){return g.supportsComments&&!!p&&p.token===g.comment}},{key:"isTokenEscapeCharacter",value:function(p,g){return p.token===g.escapeChar}},{key:"isTokenQuote",value:function(p,g){return p.token===g.quote}},{key:"isTokenDelimiter",value:function(p,g){return p.token===g.delimiter}}])}();u.Token=h},{}],160:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.ColumnFormatter=void 0;var h=xt(function d(p){Et(this,d),p.trim?this.format=function(g){return g.trim()}:p.ltrim?this.format=function(g){return g.trimLeft()}:p.rtrim?this.format=function(g){return g.trimRight()}:this.format=function(g){return g}});u.ColumnFormatter=h},{}],161:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.ColumnParser=void 0;var h=a("./NonQuotedColumnParser"),d=a("./QuotedColumnParser"),p=a("../Token"),g=function(){function A(m){Et(this,A),this.parserOptions=m,this.quotedColumnParser=new d.QuotedColumnParser(m),this.nonQuotedColumnParser=new h.NonQuotedColumnParser(m)}return xt(A,[{key:"parse",value:function(m){var y=m.nextNonSpaceToken;return y!==null&&p.Token.isTokenQuote(y,this.parserOptions)?(m.advanceToToken(y),this.quotedColumnParser.parse(m)):this.nonQuotedColumnParser.parse(m)}}])}();u.ColumnParser=g},{"../Token":159,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],162:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.NonQuotedColumnParser=void 0;var h=a("./ColumnFormatter"),d=a("../Token"),p=function(){function g(A){Et(this,g),this.parserOptions=A,this.columnFormatter=new h.ColumnFormatter(A)}return xt(g,[{key:"parse",value:function(A){if(!A.hasMoreCharacters)return null;for(var m=this.parserOptions,y=[],b=A.nextCharacterToken;b&&!d.Token.isTokenDelimiter(b,m)&&!d.Token.isTokenRowDelimiter(b);b=A.nextCharacterToken)y.push(b.token),A.advancePastToken(b);return this.columnFormatter.format(y.join(""))}}])}();u.NonQuotedColumnParser=p},{"../Token":159,"./ColumnFormatter":160}],163:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.QuotedColumnParser=void 0;var h=a("./ColumnFormatter"),d=a("../Token"),p=function(){function g(A){Et(this,g),this.parserOptions=A,this.columnFormatter=new h.ColumnFormatter(A)}return xt(g,[{key:"parse",value:function(A){if(!A.hasMoreCharacters)return null;var m=A.cursor,y=this.gatherDataBetweenQuotes(A),b=y.foundClosingQuote,I=y.col;if(!b){if(A.advanceTo(m),!A.hasMoreData)throw new Error("Parse Error: missing closing: '".concat(this.parserOptions.quote||"","' in line: at '").concat(A.lineFromCursor.replace(/[\r\n]/g,"\\n'"),"'"));return null}return this.checkForMalformedColumn(A),I}},{key:"gatherDataBetweenQuotes",value:function(A){for(var m=this.parserOptions,y=!1,b=!1,I=[],E=A.nextCharacterToken;!b&&E!==null;E=A.nextCharacterToken){var B=d.Token.isTokenQuote(E,m);if(!y&&B)y=!0;else if(y)if(d.Token.isTokenEscapeCharacter(E,m)){A.advancePastToken(E);var S=A.nextCharacterToken;S!==null&&(d.Token.isTokenQuote(S,m)||d.Token.isTokenEscapeCharacter(S,m))?(I.push(S.token),E=S):B?b=!0:I.push(E.token)}else B?b=!0:I.push(E.token);A.advancePastToken(E)}return{col:this.columnFormatter.format(I.join("")),foundClosingQuote:b}}},{key:"checkForMalformedColumn",value:function(A){var m=this.parserOptions,y=A.nextNonSpaceToken;if(y){var b=d.Token.isTokenDelimiter(y,m),I=d.Token.isTokenRowDelimiter(y);if(!b&&!I){var E=A.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw new Error("Parse Error: expected: '".concat(m.escapedDelimiter,"' OR new line got: '").concat(y.token,"'. at '").concat(E))}A.advanceToToken(y)}else A.hasMoreData||A.advancePastLine()}}])}();u.QuotedColumnParser=p},{"../Token":159,"./ColumnFormatter":160}],164:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.ColumnFormatter=u.QuotedColumnParser=u.NonQuotedColumnParser=u.ColumnParser=void 0;var h=a("./ColumnParser");Object.defineProperty(u,"ColumnParser",{enumerable:!0,get:function(){return h.ColumnParser}});var d=a("./NonQuotedColumnParser");Object.defineProperty(u,"NonQuotedColumnParser",{enumerable:!0,get:function(){return d.NonQuotedColumnParser}});var p=a("./QuotedColumnParser");Object.defineProperty(u,"QuotedColumnParser",{enumerable:!0,get:function(){return p.QuotedColumnParser}});var g=a("./ColumnFormatter");Object.defineProperty(u,"ColumnFormatter",{enumerable:!0,get:function(){return g.ColumnFormatter}})},{"./ColumnFormatter":160,"./ColumnParser":161,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],165:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.QuotedColumnParser=u.NonQuotedColumnParser=u.ColumnParser=u.Token=u.Scanner=u.RowParser=u.Parser=void 0;var h=a("./Parser");Object.defineProperty(u,"Parser",{enumerable:!0,get:function(){return h.Parser}});var d=a("./RowParser");Object.defineProperty(u,"RowParser",{enumerable:!0,get:function(){return d.RowParser}});var p=a("./Scanner");Object.defineProperty(u,"Scanner",{enumerable:!0,get:function(){return p.Scanner}});var g=a("./Token");Object.defineProperty(u,"Token",{enumerable:!0,get:function(){return g.Token}});var A=a("./column");Object.defineProperty(u,"ColumnParser",{enumerable:!0,get:function(){return A.ColumnParser}}),Object.defineProperty(u,"NonQuotedColumnParser",{enumerable:!0,get:function(){return A.NonQuotedColumnParser}}),Object.defineProperty(u,"QuotedColumnParser",{enumerable:!0,get:function(){return A.QuotedColumnParser}})},{"./Parser":156,"./RowParser":157,"./Scanner":158,"./Token":159,"./column":164}],166:[function(a,c,u){var h=function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(u,"__esModule",{value:!0}),u.HeaderTransformer=void 0;var d=h(a("lodash.isundefined")),p=h(a("lodash.isfunction")),g=h(a("lodash.uniq")),A=h(a("lodash.groupby")),m=function(){function y(b){Et(this,y),this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=b,b.headers===!0?this.shouldUseFirstRow=!0:Array.isArray(b.headers)?this.setHeaders(b.headers):p.default(b.headers)&&(this.headersTransform=b.headers)}return xt(y,[{key:"transform",value:function(b,I){return this.shouldMapRow(b)?I(null,this.processRow(b)):I(null,{row:null,isValid:!0})}},{key:"shouldMapRow",value:function(b){var I=this.parserOptions;if(!this.headersTransform&&I.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw new Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray(b)){if(this.headersTransform)this.setHeaders(this.headersTransform(b));else{if(!this.shouldUseFirstRow)return!0;this.setHeaders(b)}return!1}return!0}},{key:"processRow",value:function(b){if(!this.headers)return{row:b,isValid:!0};var I=this.parserOptions;if(!I.discardUnmappedColumns&&b.length>this.headersLength){if(!I.strictColumnHandling)throw new Error("Unexpected Error: column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(b.length));return{row:b,isValid:!1,reason:"Column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(b.length)}}return I.strictColumnHandling&&b.length<this.headersLength?{row:b,isValid:!1,reason:"Column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(b.length)}:{row:this.mapHeaders(b),isValid:!0}}},{key:"mapHeaders",value:function(b){for(var I={},E=this.headers,B=this.headersLength,S=0;S<B;S+=1){var _=E[S];if(!d.default(_)){var D=b[S];d.default(D)?I[_]="":I[_]=D}}return I}},{key:"setHeaders",value:function(b){var I,E=b.filter(function(_){return!!_});if(g.default(E).length!==E.length){var B=A.default(E),S=Object.keys(B).filter(function(_){return B[_].length>1});throw new Error("Duplicate headers found ".concat(JSON.stringify(S)))}this.headers=b,this.receivedHeaders=!0,this.headersLength=((I=this.headers)===null||I===void 0?void 0:I.length)||0}}])}();u.HeaderTransformer=m},{"lodash.groupby":443,"lodash.isfunction":446,"lodash.isundefined":448,"lodash.uniq":449}],167:[function(a,c,u){var h=function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(u,"__esModule",{value:!0}),u.RowTransformerValidator=void 0;var d=h(a("lodash.isfunction")),p=a("../types"),g=function(){function A(){Et(this,A),this._rowTransform=null,this._rowValidator=null}return xt(A,[{key:"rowTransform",set:function(m){if(!d.default(m))throw new TypeError("The transform should be a function");this._rowTransform=A.createTransform(m)}},{key:"rowValidator",set:function(m){if(!d.default(m))throw new TypeError("The validate should be a function");this._rowValidator=A.createValidator(m)}},{key:"transformAndValidate",value:function(m,y){var b=this;return this.callTransformer(m,function(I,E){return I?y(I):E?b.callValidator(E,function(B,S){return B?y(B):S&&!S.isValid?y(null,{row:E,isValid:!1,reason:S.reason}):y(null,{row:E,isValid:!0})}):y(null,{row:null,isValid:!0})})}},{key:"callTransformer",value:function(m,y){return this._rowTransform?this._rowTransform(m,y):y(null,m)}},{key:"callValidator",value:function(m,y){return this._rowValidator?this._rowValidator(m,y):y(null,{row:m,isValid:!0})}}],[{key:"createTransform",value:function(m){return p.isSyncTransform(m)?function(y,b){var I=null;try{I=m(y)}catch(E){return b(E)}return b(null,I)}:m}},{key:"createValidator",value:function(m){return p.isSyncValidate(m)?function(y,b){b(null,{row:y,isValid:m(y)})}:function(y,b){m(y,function(I,E,B){return I?b(I):b(null,E?{row:y,isValid:E,reason:B}:{row:y,isValid:!1,reason:B})})}}}])}();u.RowTransformerValidator=g},{"../types":169,"lodash.isfunction":446}],168:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.HeaderTransformer=u.RowTransformerValidator=void 0;var h=a("./RowTransformerValidator");Object.defineProperty(u,"RowTransformerValidator",{enumerable:!0,get:function(){return h.RowTransformerValidator}});var d=a("./HeaderTransformer");Object.defineProperty(u,"HeaderTransformer",{enumerable:!0,get:function(){return d.HeaderTransformer}})},{"./HeaderTransformer":166,"./RowTransformerValidator":167}],169:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.isSyncValidate=u.isSyncTransform=void 0,u.isSyncTransform=function(h){return h.length===1},u.isSyncValidate=function(h){return h.length===1}},{}],170:[function(a,c,u){var h=u;h.bignum=a("bn.js"),h.define=a("./asn1/api").define,h.base=a("./asn1/base"),h.constants=a("./asn1/constants"),h.decoders=a("./asn1/decoders"),h.encoders=a("./asn1/encoders")},{"./asn1/api":171,"./asn1/base":173,"./asn1/constants":177,"./asn1/decoders":179,"./asn1/encoders":182,"bn.js":184}],171:[function(a,c,u){var h=a("./encoders"),d=a("./decoders"),p=a("inherits");function g(A,m){this.name=A,this.body=m,this.decoders={},this.encoders={}}u.define=function(A,m){return new g(A,m)},g.prototype._createNamed=function(A){var m=this.name;function y(b){this._initNamed(b,m)}return p(y,A),y.prototype._initNamed=function(b,I){A.call(this,b,I)},new y(this)},g.prototype._getDecoder=function(A){return A=A||"der",this.decoders.hasOwnProperty(A)||(this.decoders[A]=this._createNamed(d[A])),this.decoders[A]},g.prototype.decode=function(A,m,y){return this._getDecoder(m).decode(A,y)},g.prototype._getEncoder=function(A){return A=A||"der",this.encoders.hasOwnProperty(A)||(this.encoders[A]=this._createNamed(h[A])),this.encoders[A]},g.prototype.encode=function(A,m,y){return this._getEncoder(m).encode(A,y)}},{"./decoders":179,"./encoders":182,inherits:440}],172:[function(a,c,u){var h=a("inherits"),d=a("../base/reporter").Reporter,p=a("safer-buffer").Buffer;function g(m,y){d.call(this,y),p.isBuffer(m)?(this.base=m,this.offset=0,this.length=m.length):this.error("Input not Buffer")}function A(m,y){if(Array.isArray(m))this.length=0,this.value=m.map(function(b){return A.isEncoderBuffer(b)||(b=new A(b,y)),this.length+=b.length,b},this);else if(typeof m=="number"){if(!(0<=m&&m<=255))return y.error("non-byte EncoderBuffer value");this.value=m,this.length=1}else if(typeof m=="string")this.value=m,this.length=p.byteLength(m);else{if(!p.isBuffer(m))return y.error("Unsupported type: "+typeof m);this.value=m,this.length=m.length}}h(g,d),u.DecoderBuffer=g,g.isDecoderBuffer=function(m){return m instanceof g||typeof m=="object"&&p.isBuffer(m.base)&&m.constructor.name==="DecoderBuffer"&&typeof m.offset=="number"&&typeof m.length=="number"&&typeof m.save=="function"&&typeof m.restore=="function"&&typeof m.isEmpty=="function"&&typeof m.readUInt8=="function"&&typeof m.skip=="function"&&typeof m.raw=="function"},g.prototype.save=function(){return{offset:this.offset,reporter:d.prototype.save.call(this)}},g.prototype.restore=function(m){var y=new g(this.base);return y.offset=m.offset,y.length=this.offset,this.offset=m.offset,d.prototype.restore.call(this,m.reporter),y},g.prototype.isEmpty=function(){return this.offset===this.length},g.prototype.readUInt8=function(m){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(m||"DecoderBuffer overrun")},g.prototype.skip=function(m,y){if(!(this.offset+m<=this.length))return this.error(y||"DecoderBuffer overrun");var b=new g(this.base);return b._reporterState=this._reporterState,b.offset=this.offset,b.length=this.offset+m,this.offset+=m,b},g.prototype.raw=function(m){return this.base.slice(m?m.offset:this.offset,this.length)},u.EncoderBuffer=A,A.isEncoderBuffer=function(m){return m instanceof A||typeof m=="object"&&m.constructor.name==="EncoderBuffer"&&typeof m.length=="number"&&typeof m.join=="function"},A.prototype.join=function(m,y){return m||(m=p.alloc(this.length)),y||(y=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(b){b.join(m,y),y+=b.length}):(typeof this.value=="number"?m[y]=this.value:typeof this.value=="string"?m.write(this.value,y):p.isBuffer(this.value)&&this.value.copy(m,y),y+=this.length)),m}},{"../base/reporter":175,inherits:440,"safer-buffer":495}],173:[function(a,c,u){var h=u;h.Reporter=a("./reporter").Reporter,h.DecoderBuffer=a("./buffer").DecoderBuffer,h.EncoderBuffer=a("./buffer").EncoderBuffer,h.Node=a("./node")},{"./buffer":172,"./node":174,"./reporter":175}],174:[function(a,c,u){var h=a("../base/reporter").Reporter,d=a("../base/buffer").EncoderBuffer,p=a("../base/buffer").DecoderBuffer,g=a("minimalistic-assert"),A=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],m=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(A),y=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function b(E,B,S){var _={};this._baseState=_,_.name=S,_.enc=E,_.parent=B||null,_.children=null,_.tag=null,_.args=null,_.reverseArgs=null,_.choice=null,_.optional=!1,_.any=!1,_.obj=!1,_.use=null,_.useDecoder=null,_.key=null,_.default=null,_.explicit=null,_.implicit=null,_.contains=null,_.parent||(_.children=[],this._wrap())}c.exports=b;var I=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];b.prototype.clone=function(){var E=this._baseState,B={};I.forEach(function(_){B[_]=E[_]});var S=new this.constructor(B.parent);return S._baseState=B,S},b.prototype._wrap=function(){var E=this._baseState;m.forEach(function(B){this[B]=function(){var S=new this.constructor(this);return E.children.push(S),S[B].apply(S,arguments)}},this)},b.prototype._init=function(E){var B=this._baseState;g(B.parent===null),E.call(this),B.children=B.children.filter(function(S){return S._baseState.parent===this},this),g.equal(B.children.length,1,"Root node can have only one child")},b.prototype._useArgs=function(E){var B=this._baseState,S=E.filter(function(_){return _ instanceof this.constructor},this);E=E.filter(function(_){return!(_ instanceof this.constructor)},this),S.length!==0&&(g(B.children===null),B.children=S,S.forEach(function(_){_._baseState.parent=this},this)),E.length!==0&&(g(B.args===null),B.args=E,B.reverseArgs=E.map(function(_){if(typeof _!="object"||_.constructor!==Object)return _;var D={};return Object.keys(_).forEach(function(T){T==(0|T)&&(T|=0);var F=_[T];D[F]=T}),D}))},y.forEach(function(E){b.prototype[E]=function(){var B=this._baseState;throw new Error(E+" not implemented for encoding: "+B.enc)}}),A.forEach(function(E){b.prototype[E]=function(){var B=this._baseState,S=Array.prototype.slice.call(arguments);return g(B.tag===null),B.tag=E,this._useArgs(S),this}}),b.prototype.use=function(E){g(E);var B=this._baseState;return g(B.use===null),B.use=E,this},b.prototype.optional=function(){return this._baseState.optional=!0,this},b.prototype.def=function(E){var B=this._baseState;return g(B.default===null),B.default=E,B.optional=!0,this},b.prototype.explicit=function(E){var B=this._baseState;return g(B.explicit===null&&B.implicit===null),B.explicit=E,this},b.prototype.implicit=function(E){var B=this._baseState;return g(B.explicit===null&&B.implicit===null),B.implicit=E,this},b.prototype.obj=function(){var E=this._baseState,B=Array.prototype.slice.call(arguments);return E.obj=!0,B.length!==0&&this._useArgs(B),this},b.prototype.key=function(E){var B=this._baseState;return g(B.key===null),B.key=E,this},b.prototype.any=function(){return this._baseState.any=!0,this},b.prototype.choice=function(E){var B=this._baseState;return g(B.choice===null),B.choice=E,this._useArgs(Object.keys(E).map(function(S){return E[S]})),this},b.prototype.contains=function(E){var B=this._baseState;return g(B.use===null),B.contains=E,this},b.prototype._decode=function(E,B){var S=this._baseState;if(S.parent===null)return E.wrapResult(S.children[0]._decode(E,B));var _,D=S.default,T=!0,F=null;if(S.key!==null&&(F=E.enterKey(S.key)),S.optional){var N=null;if(S.explicit!==null?N=S.explicit:S.implicit!==null?N=S.implicit:S.tag!==null&&(N=S.tag),N!==null||S.any){if(T=this._peekTag(E,N,S.any),E.isError(T))return T}else{var H=E.save();try{S.choice===null?this._decodeGeneric(S.tag,E,B):this._decodeChoice(E,B),T=!0}catch{T=!1}E.restore(H)}}if(S.obj&&T&&(_=E.enterObject()),T){if(S.explicit!==null){var W=this._decodeTag(E,S.explicit);if(E.isError(W))return W;E=W}var V=E.offset;if(S.use===null&&S.choice===null){var te;S.any&&(te=E.save());var ue=this._decodeTag(E,S.implicit!==null?S.implicit:S.tag,S.any);if(E.isError(ue))return ue;S.any?D=E.raw(te):E=ue}if(B&&B.track&&S.tag!==null&&B.track(E.path(),V,E.length,"tagged"),B&&B.track&&S.tag!==null&&B.track(E.path(),E.offset,E.length,"content"),S.any||(D=S.choice===null?this._decodeGeneric(S.tag,E,B):this._decodeChoice(E,B)),E.isError(D))return D;if(S.any||S.choice!==null||S.children===null||S.children.forEach(function(de){de._decode(E,B)}),S.contains&&(S.tag==="octstr"||S.tag==="bitstr")){var fe=new p(D);D=this._getUse(S.contains,E._reporterState.obj)._decode(fe,B)}}return S.obj&&T&&(D=E.leaveObject(_)),S.key===null||D===null&&T!==!0?F!==null&&E.exitKey(F):E.leaveKey(F,S.key,D),D},b.prototype._decodeGeneric=function(E,B,S){var _=this._baseState;return E==="seq"||E==="set"?null:E==="seqof"||E==="setof"?this._decodeList(B,E,_.args[0],S):/str$/.test(E)?this._decodeStr(B,E,S):E==="objid"&&_.args?this._decodeObjid(B,_.args[0],_.args[1],S):E==="objid"?this._decodeObjid(B,null,null,S):E==="gentime"||E==="utctime"?this._decodeTime(B,E,S):E==="null_"?this._decodeNull(B,S):E==="bool"?this._decodeBool(B,S):E==="objDesc"?this._decodeStr(B,E,S):E==="int"||E==="enum"?this._decodeInt(B,_.args&&_.args[0],S):_.use!==null?this._getUse(_.use,B._reporterState.obj)._decode(B,S):B.error("unknown tag: "+E)},b.prototype._getUse=function(E,B){var S=this._baseState;return S.useDecoder=this._use(E,B),g(S.useDecoder._baseState.parent===null),S.useDecoder=S.useDecoder._baseState.children[0],S.implicit!==S.useDecoder._baseState.implicit&&(S.useDecoder=S.useDecoder.clone(),S.useDecoder._baseState.implicit=S.implicit),S.useDecoder},b.prototype._decodeChoice=function(E,B){var S=this._baseState,_=null,D=!1;return Object.keys(S.choice).some(function(T){var F=E.save(),N=S.choice[T];try{var H=N._decode(E,B);if(E.isError(H))return!1;_={type:T,value:H},D=!0}catch{return E.restore(F),!1}return!0},this),D?_:E.error("Choice not matched")},b.prototype._createEncoderBuffer=function(E){return new d(E,this.reporter)},b.prototype._encode=function(E,B,S){var _=this._baseState;if(_.default===null||_.default!==E){var D=this._encodeValue(E,B,S);if(D!==void 0&&!this._skipDefault(D,B,S))return D}},b.prototype._encodeValue=function(E,B,S){var _=this._baseState;if(_.parent===null)return _.children[0]._encode(E,B||new h);var D=null;if(this.reporter=B,_.optional&&E===void 0){if(_.default===null)return;E=_.default}var T=null,F=!1;if(_.any)D=this._createEncoderBuffer(E);else if(_.choice)D=this._encodeChoice(E,B);else if(_.contains)T=this._getUse(_.contains,S)._encode(E,B),F=!0;else if(_.children)T=_.children.map(function(V){if(V._baseState.tag==="null_")return V._encode(null,B,E);if(V._baseState.key===null)return B.error("Child should have a key");var te=B.enterKey(V._baseState.key);if(typeof E!="object")return B.error("Child expected, but input is not object");var ue=V._encode(E[V._baseState.key],B,E);return B.leaveKey(te),ue},this).filter(function(V){return V}),T=this._createEncoderBuffer(T);else if(_.tag==="seqof"||_.tag==="setof"){if(!_.args||_.args.length!==1)return B.error("Too many args for : "+_.tag);if(!Array.isArray(E))return B.error("seqof/setof, but data is not Array");var N=this.clone();N._baseState.implicit=null,T=this._createEncoderBuffer(E.map(function(V){var te=this._baseState;return this._getUse(te.args[0],E)._encode(V,B)},N))}else _.use!==null?D=this._getUse(_.use,S)._encode(E,B):(T=this._encodePrimitive(_.tag,E),F=!0);if(!_.any&&_.choice===null){var H=_.implicit!==null?_.implicit:_.tag,W=_.implicit===null?"universal":"context";H===null?_.use===null&&B.error("Tag could be omitted only for .use()"):_.use===null&&(D=this._encodeComposite(H,F,W,T))}return _.explicit!==null&&(D=this._encodeComposite(_.explicit,!1,"context",D)),D},b.prototype._encodeChoice=function(E,B){var S=this._baseState,_=S.choice[E.type];return _||g(!1,E.type+" not found in "+JSON.stringify(Object.keys(S.choice))),_._encode(E.value,B)},b.prototype._encodePrimitive=function(E,B){var S=this._baseState;if(/str$/.test(E))return this._encodeStr(B,E);if(E==="objid"&&S.args)return this._encodeObjid(B,S.reverseArgs[0],S.args[1]);if(E==="objid")return this._encodeObjid(B,null,null);if(E==="gentime"||E==="utctime")return this._encodeTime(B,E);if(E==="null_")return this._encodeNull();if(E==="int"||E==="enum")return this._encodeInt(B,S.args&&S.reverseArgs[0]);if(E==="bool")return this._encodeBool(B);if(E==="objDesc")return this._encodeStr(B,E);throw new Error("Unsupported tag: "+E)},b.prototype._isNumstr=function(E){return/^[0-9 ]*$/.test(E)},b.prototype._isPrintstr=function(E){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(E)}},{"../base/buffer":172,"../base/reporter":175,"minimalistic-assert":453}],175:[function(a,c,u){var h=a("inherits");function d(g){this._reporterState={obj:null,path:[],options:g||{},errors:[]}}function p(g,A){this.path=g,this.rethrow(A)}u.Reporter=d,d.prototype.isError=function(g){return g instanceof p},d.prototype.save=function(){var g=this._reporterState;return{obj:g.obj,pathLen:g.path.length}},d.prototype.restore=function(g){var A=this._reporterState;A.obj=g.obj,A.path=A.path.slice(0,g.pathLen)},d.prototype.enterKey=function(g){return this._reporterState.path.push(g)},d.prototype.exitKey=function(g){var A=this._reporterState;A.path=A.path.slice(0,g-1)},d.prototype.leaveKey=function(g,A,m){var y=this._reporterState;this.exitKey(g),y.obj!==null&&(y.obj[A]=m)},d.prototype.path=function(){return this._reporterState.path.join("/")},d.prototype.enterObject=function(){var g=this._reporterState,A=g.obj;return g.obj={},A},d.prototype.leaveObject=function(g){var A=this._reporterState,m=A.obj;return A.obj=g,m},d.prototype.error=function(g){var A,m=this._reporterState,y=g instanceof p;if(A=y?g:new p(m.path.map(function(b){return"["+JSON.stringify(b)+"]"}).join(""),g.message||g,g.stack),!m.options.partial)throw A;return y||m.errors.push(A),A},d.prototype.wrapResult=function(g){var A=this._reporterState;return A.options.partial?{result:this.isError(g)?null:g,errors:A.errors}:g},h(p,Error),p.prototype.rethrow=function(g){if(this.message=g+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,p),!this.stack)try{throw new Error(this.message)}catch(A){this.stack=A.stack}return this}},{inherits:440}],176:[function(a,c,u){function h(d){var p={};return Object.keys(d).forEach(function(g){(0|g)==g&&(g|=0);var A=d[g];p[A]=g}),p}u.tagClass={0:"universal",1:"application",2:"context",3:"private"},u.tagClassByName=h(u.tagClass),u.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},u.tagByName=h(u.tag)},{}],177:[function(a,c,u){var h=u;h._reverse=function(d){var p={};return Object.keys(d).forEach(function(g){(0|g)==g&&(g|=0);var A=d[g];p[A]=g}),p},h.der=a("./der")},{"./der":176}],178:[function(a,c,u){var h=a("inherits"),d=a("bn.js"),p=a("../base/buffer").DecoderBuffer,g=a("../base/node"),A=a("../constants/der");function m(E){this.enc="der",this.name=E.name,this.entity=E,this.tree=new y,this.tree._init(E.body)}function y(E){g.call(this,"der",E)}function b(E,B){var S=E.readUInt8(B);if(E.isError(S))return S;var _=A.tagClass[S>>6],D=!(32&S);if(31&~S)S&=31;else{var T=S;for(S=0;!(128&~T);){if(T=E.readUInt8(B),E.isError(T))return T;S<<=7,S|=127&T}}return{cls:_,primitive:D,tag:S,tagStr:A.tag[S]}}function I(E,B,S){var _=E.readUInt8(S);if(E.isError(_))return _;if(!B&&_===128)return null;if(!(128&_))return _;var D=127&_;if(D>4)return E.error("length octect is too long");_=0;for(var T=0;T<D;T++){_<<=8;var F=E.readUInt8(S);if(E.isError(F))return F;_|=F}return _}c.exports=m,m.prototype.decode=function(E,B){return p.isDecoderBuffer(E)||(E=new p(E,B)),this.tree._decode(E,B)},h(y,g),y.prototype._peekTag=function(E,B,S){if(E.isEmpty())return!1;var _=E.save(),D=b(E,'Failed to peek tag: "'+B+'"');return E.isError(D)?D:(E.restore(_),D.tag===B||D.tagStr===B||D.tagStr+"of"===B||S)},y.prototype._decodeTag=function(E,B,S){var _=b(E,'Failed to decode tag of "'+B+'"');if(E.isError(_))return _;var D=I(E,_.primitive,'Failed to get length of "'+B+'"');if(E.isError(D))return D;if(!S&&_.tag!==B&&_.tagStr!==B&&_.tagStr+"of"!==B)return E.error('Failed to match tag: "'+B+'"');if(_.primitive||D!==null)return E.skip(D,'Failed to match body of: "'+B+'"');var T=E.save(),F=this._skipUntilEnd(E,'Failed to skip indefinite length body: "'+this.tag+'"');return E.isError(F)?F:(D=E.offset-T.offset,E.restore(T),E.skip(D,'Failed to match body of: "'+B+'"'))},y.prototype._skipUntilEnd=function(E,B){for(;;){var S=b(E,B);if(E.isError(S))return S;var _=I(E,S.primitive,B);if(E.isError(_))return _;var D=void 0;if(D=S.primitive||_!==null?E.skip(_):this._skipUntilEnd(E,B),E.isError(D))return D;if(S.tagStr==="end")break}},y.prototype._decodeList=function(E,B,S,_){for(var D=[];!E.isEmpty();){var T=this._peekTag(E,"end");if(E.isError(T))return T;var F=S.decode(E,"der",_);if(E.isError(F)&&T)break;D.push(F)}return D},y.prototype._decodeStr=function(E,B){if(B==="bitstr"){var S=E.readUInt8();return E.isError(S)?S:{unused:S,data:E.raw()}}if(B==="bmpstr"){var _=E.raw();if(_.length%2==1)return E.error("Decoding of string type: bmpstr length mismatch");for(var D="",T=0;T<_.length/2;T++)D+=String.fromCharCode(_.readUInt16BE(2*T));return D}if(B==="numstr"){var F=E.raw().toString("ascii");return this._isNumstr(F)?F:E.error("Decoding of string type: numstr unsupported characters")}if(B==="octstr"||B==="objDesc")return E.raw();if(B==="printstr"){var N=E.raw().toString("ascii");return this._isPrintstr(N)?N:E.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(B)?E.raw().toString():E.error("Decoding of string type: "+B+" unsupported")},y.prototype._decodeObjid=function(E,B,S){for(var _,D=[],T=0,F=0;!E.isEmpty();)T<<=7,T|=127&(F=E.readUInt8()),128&F||(D.push(T),T=0);128&F&&D.push(T);var N=D[0]/40|0,H=D[0]%40;if(_=S?D:[N,H].concat(D.slice(1)),B){var W=B[_.join(" ")];W===void 0&&(W=B[_.join(".")]),W!==void 0&&(_=W)}return _},y.prototype._decodeTime=function(E,B){var S,_,D,T,F,N,H=E.raw().toString();if(B==="gentime")S=0|H.slice(0,4),_=0|H.slice(4,6),D=0|H.slice(6,8),T=0|H.slice(8,10),F=0|H.slice(10,12),N=0|H.slice(12,14);else{if(B!=="utctime")return E.error("Decoding "+B+" time is not supported yet");S=0|H.slice(0,2),_=0|H.slice(2,4),D=0|H.slice(4,6),T=0|H.slice(6,8),F=0|H.slice(8,10),N=0|H.slice(10,12),S=S<70?2e3+S:1900+S}return Date.UTC(S,_-1,D,T,F,N,0)},y.prototype._decodeNull=function(){return null},y.prototype._decodeBool=function(E){var B=E.readUInt8();return E.isError(B)?B:B!==0},y.prototype._decodeInt=function(E,B){var S=E.raw(),_=new d(S);return B&&(_=B[_.toString(10)]||_),_},y.prototype._use=function(E,B){return typeof E=="function"&&(E=E(B)),E._getDecoder("der").tree}},{"../base/buffer":172,"../base/node":174,"../constants/der":176,"bn.js":184,inherits:440}],179:[function(a,c,u){var h=u;h.der=a("./der"),h.pem=a("./pem")},{"./der":178,"./pem":180}],180:[function(a,c,u){var h=a("inherits"),d=a("safer-buffer").Buffer,p=a("./der");function g(A){p.call(this,A),this.enc="pem"}h(g,p),c.exports=g,g.prototype.decode=function(A,m){for(var y=A.toString().split(/[\r\n]+/g),b=m.label.toUpperCase(),I=/^-----(BEGIN|END) ([^-]+)-----$/,E=-1,B=-1,S=0;S<y.length;S++){var _=y[S].match(I);if(_!==null&&_[2]===b){if(E!==-1){if(_[1]!=="END")break;B=S;break}if(_[1]!=="BEGIN")break;E=S}}if(E===-1||B===-1)throw new Error("PEM section not found for: "+b);var D=y.slice(E+1,B).join("");D.replace(/[^a-z0-9+/=]+/gi,"");var T=d.from(D,"base64");return p.prototype.decode.call(this,T,m)}},{"./der":178,inherits:440,"safer-buffer":495}],181:[function(a,c,u){var h=a("inherits"),d=a("safer-buffer").Buffer,p=a("../base/node"),g=a("../constants/der");function A(I){this.enc="der",this.name=I.name,this.entity=I,this.tree=new m,this.tree._init(I.body)}function m(I){p.call(this,"der",I)}function y(I){return I<10?"0"+I:I}function b(I,E,B,S){var _;if(I==="seqof"?I="seq":I==="setof"&&(I="set"),g.tagByName.hasOwnProperty(I))_=g.tagByName[I];else{if(typeof I!="number"||(0|I)!==I)return S.error("Unknown tag: "+I);_=I}return _>=31?S.error("Multi-octet tag encoding unsupported"):(E||(_|=32),_|=g.tagClassByName[B||"universal"]<<6)}c.exports=A,A.prototype.encode=function(I,E){return this.tree._encode(I,E).join()},h(m,p),m.prototype._encodeComposite=function(I,E,B,S){var _=b(I,E,B,this.reporter);if(S.length<128){var D=d.alloc(2);return D[0]=_,D[1]=S.length,this._createEncoderBuffer([D,S])}for(var T=1,F=S.length;F>=256;F>>=8)T++;var N=d.alloc(2+T);N[0]=_,N[1]=128|T;for(var H=1+T,W=S.length;W>0;H--,W>>=8)N[H]=255&W;return this._createEncoderBuffer([N,S])},m.prototype._encodeStr=function(I,E){if(E==="bitstr")return this._createEncoderBuffer([0|I.unused,I.data]);if(E==="bmpstr"){for(var B=d.alloc(2*I.length),S=0;S<I.length;S++)B.writeUInt16BE(I.charCodeAt(S),2*S);return this._createEncoderBuffer(B)}return E==="numstr"?this._isNumstr(I)?this._createEncoderBuffer(I):this.reporter.error("Encoding of string type: numstr supports only digits and space"):E==="printstr"?this._isPrintstr(I)?this._createEncoderBuffer(I):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(E)||E==="objDesc"?this._createEncoderBuffer(I):this.reporter.error("Encoding of string type: "+E+" unsupported")},m.prototype._encodeObjid=function(I,E,B){if(typeof I=="string"){if(!E)return this.reporter.error("string objid given, but no values map found");if(!E.hasOwnProperty(I))return this.reporter.error("objid not found in values map");I=E[I].split(/[\s.]+/g);for(var S=0;S<I.length;S++)I[S]|=0}else if(Array.isArray(I)){I=I.slice();for(var _=0;_<I.length;_++)I[_]|=0}if(!Array.isArray(I))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(I));if(!B){if(I[1]>=40)return this.reporter.error("Second objid identifier OOB");I.splice(0,2,40*I[0]+I[1])}for(var D=0,T=0;T<I.length;T++){var F=I[T];for(D++;F>=128;F>>=7)D++}for(var N=d.alloc(D),H=N.length-1,W=I.length-1;W>=0;W--){var V=I[W];for(N[H--]=127&V;(V>>=7)>0;)N[H--]=128|127&V}return this._createEncoderBuffer(N)},m.prototype._encodeTime=function(I,E){var B,S=new Date(I);return E==="gentime"?B=[y(S.getUTCFullYear()),y(S.getUTCMonth()+1),y(S.getUTCDate()),y(S.getUTCHours()),y(S.getUTCMinutes()),y(S.getUTCSeconds()),"Z"].join(""):E==="utctime"?B=[y(S.getUTCFullYear()%100),y(S.getUTCMonth()+1),y(S.getUTCDate()),y(S.getUTCHours()),y(S.getUTCMinutes()),y(S.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+E+" time is not supported yet"),this._encodeStr(B,"octstr")},m.prototype._encodeNull=function(){return this._createEncoderBuffer("")},m.prototype._encodeInt=function(I,E){if(typeof I=="string"){if(!E)return this.reporter.error("String int or enum given, but no values map");if(!E.hasOwnProperty(I))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(I));I=E[I]}if(typeof I!="number"&&!d.isBuffer(I)){var B=I.toArray();!I.sign&&128&B[0]&&B.unshift(0),I=d.from(B)}if(d.isBuffer(I)){var S=I.length;I.length===0&&S++;var _=d.alloc(S);return I.copy(_),I.length===0&&(_[0]=0),this._createEncoderBuffer(_)}if(I<128)return this._createEncoderBuffer(I);if(I<256)return this._createEncoderBuffer([0,I]);for(var D=1,T=I;T>=256;T>>=8)D++;for(var F=new Array(D),N=F.length-1;N>=0;N--)F[N]=255&I,I>>=8;return 128&F[0]&&F.unshift(0),this._createEncoderBuffer(d.from(F))},m.prototype._encodeBool=function(I){return this._createEncoderBuffer(I?255:0)},m.prototype._use=function(I,E){return typeof I=="function"&&(I=I(E)),I._getEncoder("der").tree},m.prototype._skipDefault=function(I,E,B){var S,_=this._baseState;if(_.default===null)return!1;var D=I.join();if(_.defaultBuffer===void 0&&(_.defaultBuffer=this._encodeValue(_.default,E,B).join()),D.length!==_.defaultBuffer.length)return!1;for(S=0;S<D.length;S++)if(D[S]!==_.defaultBuffer[S])return!1;return!0}},{"../base/node":174,"../constants/der":176,inherits:440,"safer-buffer":495}],182:[function(a,c,u){var h=u;h.der=a("./der"),h.pem=a("./pem")},{"./der":181,"./pem":183}],183:[function(a,c,u){var h=a("inherits"),d=a("./der");function p(g){d.call(this,g),this.enc="pem"}h(p,d),c.exports=p,p.prototype.encode=function(g,A){for(var m=d.prototype.encode.call(this,g).toString("base64"),y=["-----BEGIN "+A.label+"-----"],b=0;b<m.length;b+=64)y.push(m.slice(b,b+64));return y.push("-----END "+A.label+"-----"),y.join(`
  27. `)}},{"./der":181,inherits:440}],184:[function(a,c,u){(function(h,d){function p(Z,ne){if(!Z)throw new Error(ne||"Assertion failed")}function g(Z,ne){Z.super_=ne;var j=function(){};j.prototype=ne.prototype,Z.prototype=new j,Z.prototype.constructor=Z}function A(Z,ne,j){if(A.isBN(Z))return Z;this.negative=0,this.words=null,this.length=0,this.red=null,Z!==null&&(ne!=="le"&&ne!=="be"||(j=ne,ne=10),this._init(Z||0,ne||10,j||"be"))}var m;typeof h=="object"?h.exports=A:d.BN=A,A.BN=A,A.wordSize=26;try{m=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a("buffer").Buffer}catch{}function y(Z,ne){var j=Z.charCodeAt(ne);return j>=65&&j<=70?j-55:j>=97&&j<=102?j-87:j-48&15}function b(Z,ne,j){var J=y(Z,j);return j-1>=ne&&(J|=y(Z,j-1)<<4),J}function I(Z,ne,j,J){for(var q=0,z=Math.min(Z.length,j),X=ne;X<z;X++){var se=Z.charCodeAt(X)-48;q*=J,q+=se>=49?se-49+10:se>=17?se-17+10:se}return q}A.isBN=function(Z){return Z instanceof A||Z!==null&&typeof Z=="object"&&Z.constructor.wordSize===A.wordSize&&Array.isArray(Z.words)},A.max=function(Z,ne){return Z.cmp(ne)>0?Z:ne},A.min=function(Z,ne){return Z.cmp(ne)<0?Z:ne},A.prototype._init=function(Z,ne,j){if(typeof Z=="number")return this._initNumber(Z,ne,j);if(typeof Z=="object")return this._initArray(Z,ne,j);ne==="hex"&&(ne=16),p(ne===(0|ne)&&ne>=2&&ne<=36);var J=0;(Z=Z.toString().replace(/\s+/g,""))[0]==="-"&&(J++,this.negative=1),J<Z.length&&(ne===16?this._parseHex(Z,J,j):(this._parseBase(Z,ne,J),j==="le"&&this._initArray(this.toArray(),ne,j)))},A.prototype._initNumber=function(Z,ne,j){Z<0&&(this.negative=1,Z=-Z),Z<67108864?(this.words=[67108863&Z],this.length=1):Z<4503599627370496?(this.words=[67108863&Z,Z/67108864&67108863],this.length=2):(p(Z<9007199254740992),this.words=[67108863&Z,Z/67108864&67108863,1],this.length=3),j==="le"&&this._initArray(this.toArray(),ne,j)},A.prototype._initArray=function(Z,ne,j){if(p(typeof Z.length=="number"),Z.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Z.length/3),this.words=new Array(this.length);for(var J=0;J<this.length;J++)this.words[J]=0;var q,z,X=0;if(j==="be")for(J=Z.length-1,q=0;J>=0;J-=3)z=Z[J]|Z[J-1]<<8|Z[J-2]<<16,this.words[q]|=z<<X&67108863,this.words[q+1]=z>>>26-X&67108863,(X+=24)>=26&&(X-=26,q++);else if(j==="le")for(J=0,q=0;J<Z.length;J+=3)z=Z[J]|Z[J+1]<<8|Z[J+2]<<16,this.words[q]|=z<<X&67108863,this.words[q+1]=z>>>26-X&67108863,(X+=24)>=26&&(X-=26,q++);return this.strip()},A.prototype._parseHex=function(Z,ne,j){this.length=Math.ceil((Z.length-ne)/6),this.words=new Array(this.length);for(var J=0;J<this.length;J++)this.words[J]=0;var q,z=0,X=0;if(j==="be")for(J=Z.length-1;J>=ne;J-=2)q=b(Z,ne,J)<<z,this.words[X]|=67108863&q,z>=18?(z-=18,X+=1,this.words[X]|=q>>>26):z+=8;else for(J=(Z.length-ne)%2==0?ne+1:ne;J<Z.length;J+=2)q=b(Z,ne,J)<<z,this.words[X]|=67108863&q,z>=18?(z-=18,X+=1,this.words[X]|=q>>>26):z+=8;this.strip()},A.prototype._parseBase=function(Z,ne,j){this.words=[0],this.length=1;for(var J=0,q=1;q<=67108863;q*=ne)J++;J--,q=q/ne|0;for(var z=Z.length-j,X=z%J,se=Math.min(z,z-X)+j,oe=0,ye=j;ye<se;ye+=J)oe=I(Z,ye,ye+J,ne),this.imuln(q),this.words[0]+oe<67108864?this.words[0]+=oe:this._iaddn(oe);if(X!==0){var ae=1;for(oe=I(Z,ye,Z.length,ne),ye=0;ye<X;ye++)ae*=ne;this.imuln(ae),this.words[0]+oe<67108864?this.words[0]+=oe:this._iaddn(oe)}this.strip()},A.prototype.copy=function(Z){Z.words=new Array(this.length);for(var ne=0;ne<this.length;ne++)Z.words[ne]=this.words[ne];Z.length=this.length,Z.negative=this.negative,Z.red=this.red},A.prototype.clone=function(){var Z=new A(null);return this.copy(Z),Z},A.prototype._expand=function(Z){for(;this.length<Z;)this.words[this.length++]=0;return this},A.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},A.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},A.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],B=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],S=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function _(Z){for(var ne=new Array(Z.bitLength()),j=0;j<ne.length;j++){var J=j/26|0,q=j%26;ne[j]=(Z.words[J]&1<<q)>>>q}return ne}function D(Z,ne,j){j.negative=ne.negative^Z.negative;var J=Z.length+ne.length|0;j.length=J,J=J-1|0;var q=0|Z.words[0],z=0|ne.words[0],X=q*z,se=67108863&X,oe=X/67108864|0;j.words[0]=se;for(var ye=1;ye<J;ye++){for(var ae=oe>>>26,me=67108863&oe,Fe=Math.min(ye,ne.length-1),_e=Math.max(0,ye-Z.length+1);_e<=Fe;_e++){var rt=ye-_e|0;ae+=(X=(q=0|Z.words[rt])*(z=0|ne.words[_e])+me)/67108864|0,me=67108863&X}j.words[ye]=0|me,oe=0|ae}return oe!==0?j.words[ye]=0|oe:j.length--,j.strip()}A.prototype.toString=function(Z,ne){var j;if(ne=0|ne||1,(Z=Z||10)===16||Z==="hex"){j="";for(var J=0,q=0,z=0;z<this.length;z++){var X=this.words[z],se=(16777215&(X<<J|q)).toString(16);j=(q=X>>>24-J&16777215)!=0||z!==this.length-1?E[6-se.length]+se+j:se+j,(J+=2)>=26&&(J-=26,z--)}for(q!==0&&(j=q.toString(16)+j);j.length%ne!=0;)j="0"+j;return this.negative!==0&&(j="-"+j),j}if(Z===(0|Z)&&Z>=2&&Z<=36){var oe=B[Z],ye=S[Z];j="";var ae=this.clone();for(ae.negative=0;!ae.isZero();){var me=ae.modn(ye).toString(Z);j=(ae=ae.idivn(ye)).isZero()?me+j:E[oe-me.length]+me+j}for(this.isZero()&&(j="0"+j);j.length%ne!=0;)j="0"+j;return this.negative!==0&&(j="-"+j),j}p(!1,"Base should be between 2 and 36")},A.prototype.toNumber=function(){var Z=this.words[0];return this.length===2?Z+=67108864*this.words[1]:this.length===3&&this.words[2]===1?Z+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-Z:Z},A.prototype.toJSON=function(){return this.toString(16)},A.prototype.toBuffer=function(Z,ne){return p(m!==void 0),this.toArrayLike(m,Z,ne)},A.prototype.toArray=function(Z,ne){return this.toArrayLike(Array,Z,ne)},A.prototype.toArrayLike=function(Z,ne,j){var J=this.byteLength(),q=j||Math.max(1,J);p(J<=q,"byte array longer than desired length"),p(q>0,"Requested array length <= 0"),this.strip();var z,X,se=ne==="le",oe=new Z(q),ye=this.clone();if(se){for(X=0;!ye.isZero();X++)z=ye.andln(255),ye.iushrn(8),oe[X]=z;for(;X<q;X++)oe[X]=0}else{for(X=0;X<q-J;X++)oe[X]=0;for(X=0;!ye.isZero();X++)z=ye.andln(255),ye.iushrn(8),oe[q-X-1]=z}return oe},Math.clz32?A.prototype._countBits=function(Z){return 32-Math.clz32(Z)}:A.prototype._countBits=function(Z){var ne=Z,j=0;return ne>=4096&&(j+=13,ne>>>=13),ne>=64&&(j+=7,ne>>>=7),ne>=8&&(j+=4,ne>>>=4),ne>=2&&(j+=2,ne>>>=2),j+ne},A.prototype._zeroBits=function(Z){if(Z===0)return 26;var ne=Z,j=0;return 8191&ne||(j+=13,ne>>>=13),127&ne||(j+=7,ne>>>=7),15&ne||(j+=4,ne>>>=4),3&ne||(j+=2,ne>>>=2),1&ne||j++,j},A.prototype.bitLength=function(){var Z=this.words[this.length-1],ne=this._countBits(Z);return 26*(this.length-1)+ne},A.prototype.zeroBits=function(){if(this.isZero())return 0;for(var Z=0,ne=0;ne<this.length;ne++){var j=this._zeroBits(this.words[ne]);if(Z+=j,j!==26)break}return Z},A.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},A.prototype.toTwos=function(Z){return this.negative!==0?this.abs().inotn(Z).iaddn(1):this.clone()},A.prototype.fromTwos=function(Z){return this.testn(Z-1)?this.notn(Z).iaddn(1).ineg():this.clone()},A.prototype.isNeg=function(){return this.negative!==0},A.prototype.neg=function(){return this.clone().ineg()},A.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},A.prototype.iuor=function(Z){for(;this.length<Z.length;)this.words[this.length++]=0;for(var ne=0;ne<Z.length;ne++)this.words[ne]=this.words[ne]|Z.words[ne];return this.strip()},A.prototype.ior=function(Z){return p(!(this.negative|Z.negative)),this.iuor(Z)},A.prototype.or=function(Z){return this.length>Z.length?this.clone().ior(Z):Z.clone().ior(this)},A.prototype.uor=function(Z){return this.length>Z.length?this.clone().iuor(Z):Z.clone().iuor(this)},A.prototype.iuand=function(Z){var ne;ne=this.length>Z.length?Z:this;for(var j=0;j<ne.length;j++)this.words[j]=this.words[j]&Z.words[j];return this.length=ne.length,this.strip()},A.prototype.iand=function(Z){return p(!(this.negative|Z.negative)),this.iuand(Z)},A.prototype.and=function(Z){return this.length>Z.length?this.clone().iand(Z):Z.clone().iand(this)},A.prototype.uand=function(Z){return this.length>Z.length?this.clone().iuand(Z):Z.clone().iuand(this)},A.prototype.iuxor=function(Z){var ne,j;this.length>Z.length?(ne=this,j=Z):(ne=Z,j=this);for(var J=0;J<j.length;J++)this.words[J]=ne.words[J]^j.words[J];if(this!==ne)for(;J<ne.length;J++)this.words[J]=ne.words[J];return this.length=ne.length,this.strip()},A.prototype.ixor=function(Z){return p(!(this.negative|Z.negative)),this.iuxor(Z)},A.prototype.xor=function(Z){return this.length>Z.length?this.clone().ixor(Z):Z.clone().ixor(this)},A.prototype.uxor=function(Z){return this.length>Z.length?this.clone().iuxor(Z):Z.clone().iuxor(this)},A.prototype.inotn=function(Z){p(typeof Z=="number"&&Z>=0);var ne=0|Math.ceil(Z/26),j=Z%26;this._expand(ne),j>0&&ne--;for(var J=0;J<ne;J++)this.words[J]=67108863&~this.words[J];return j>0&&(this.words[J]=~this.words[J]&67108863>>26-j),this.strip()},A.prototype.notn=function(Z){return this.clone().inotn(Z)},A.prototype.setn=function(Z,ne){p(typeof Z=="number"&&Z>=0);var j=Z/26|0,J=Z%26;return this._expand(j+1),this.words[j]=ne?this.words[j]|1<<J:this.words[j]&~(1<<J),this.strip()},A.prototype.iadd=function(Z){var ne,j,J;if(this.negative!==0&&Z.negative===0)return this.negative=0,ne=this.isub(Z),this.negative^=1,this._normSign();if(this.negative===0&&Z.negative!==0)return Z.negative=0,ne=this.isub(Z),Z.negative=1,ne._normSign();this.length>Z.length?(j=this,J=Z):(j=Z,J=this);for(var q=0,z=0;z<J.length;z++)ne=(0|j.words[z])+(0|J.words[z])+q,this.words[z]=67108863&ne,q=ne>>>26;for(;q!==0&&z<j.length;z++)ne=(0|j.words[z])+q,this.words[z]=67108863&ne,q=ne>>>26;if(this.length=j.length,q!==0)this.words[this.length]=q,this.length++;else if(j!==this)for(;z<j.length;z++)this.words[z]=j.words[z];return this},A.prototype.add=function(Z){var ne;return Z.negative!==0&&this.negative===0?(Z.negative=0,ne=this.sub(Z),Z.negative^=1,ne):Z.negative===0&&this.negative!==0?(this.negative=0,ne=Z.sub(this),this.negative=1,ne):this.length>Z.length?this.clone().iadd(Z):Z.clone().iadd(this)},A.prototype.isub=function(Z){if(Z.negative!==0){Z.negative=0;var ne=this.iadd(Z);return Z.negative=1,ne._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(Z),this.negative=1,this._normSign();var j,J,q=this.cmp(Z);if(q===0)return this.negative=0,this.length=1,this.words[0]=0,this;q>0?(j=this,J=Z):(j=Z,J=this);for(var z=0,X=0;X<J.length;X++)z=(ne=(0|j.words[X])-(0|J.words[X])+z)>>26,this.words[X]=67108863&ne;for(;z!==0&&X<j.length;X++)z=(ne=(0|j.words[X])+z)>>26,this.words[X]=67108863&ne;if(z===0&&X<j.length&&j!==this)for(;X<j.length;X++)this.words[X]=j.words[X];return this.length=Math.max(this.length,X),j!==this&&(this.negative=1),this.strip()},A.prototype.sub=function(Z){return this.clone().isub(Z)};var T=function(Z,ne,j){var J,q,z,X=Z.words,se=ne.words,oe=j.words,ye=0,ae=0|X[0],me=8191&ae,Fe=ae>>>13,_e=0|X[1],rt=8191&_e,et=_e>>>13,st=0|X[2],Ge=8191&st,Be=st>>>13,Te=0|X[3],je=8191&Te,lt=Te>>>13,Me=0|X[4],Ke=8191&Me,Rt=Me>>>13,Ie=0|X[5],Re=8191&Ie,qe=Ie>>>13,pt=0|X[6],Lt=8191&pt,Qe=pt>>>13,_t=0|X[7],Ft=8191&_t,Ze=_t>>>13,$e=0|X[8],nt=8191&$e,Ot=$e>>>13,He=0|X[9],Je=8191&He,tt=He>>>13,mt=0|se[0],Xe=8191&mt,Ye=mt>>>13,ot=0|se[1],yt=8191&ot,Mt=ot>>>13,cr=0|se[2],$t=8191&cr,Hr=cr>>>13,mr=0|se[3],sr=8191&mr,Yr=mr>>>13,Mr=0|se[4],Dr=8191&Mr,nn=Mr>>>13,Sr=0|se[5],tn=8191&Sr,Cn=Sr>>>13,Jn=0|se[6],Rr=8191&Jn,An=Jn>>>13,dn=0|se[7],br=8191&dn,gn=dn>>>13,wn=0|se[8],kn=8191&wn,Dn=wn>>>13,oi=0|se[9],Kr=8191&oi,On=oi>>>13;j.negative=Z.negative^ne.negative,j.length=19;var Ci=(ye+(J=Math.imul(me,Xe))|0)+((8191&(q=(q=Math.imul(me,Ye))+Math.imul(Fe,Xe)|0))<<13)|0;ye=((z=Math.imul(Fe,Ye))+(q>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,J=Math.imul(rt,Xe),q=(q=Math.imul(rt,Ye))+Math.imul(et,Xe)|0,z=Math.imul(et,Ye);var li=(ye+(J=J+Math.imul(me,yt)|0)|0)+((8191&(q=(q=q+Math.imul(me,Mt)|0)+Math.imul(Fe,yt)|0))<<13)|0;ye=((z=z+Math.imul(Fe,Mt)|0)+(q>>>13)|0)+(li>>>26)|0,li&=67108863,J=Math.imul(Ge,Xe),q=(q=Math.imul(Ge,Ye))+Math.imul(Be,Xe)|0,z=Math.imul(Be,Ye),J=J+Math.imul(rt,yt)|0,q=(q=q+Math.imul(rt,Mt)|0)+Math.imul(et,yt)|0,z=z+Math.imul(et,Mt)|0;var ia=(ye+(J=J+Math.imul(me,$t)|0)|0)+((8191&(q=(q=q+Math.imul(me,Hr)|0)+Math.imul(Fe,$t)|0))<<13)|0;ye=((z=z+Math.imul(Fe,Hr)|0)+(q>>>13)|0)+(ia>>>26)|0,ia&=67108863,J=Math.imul(je,Xe),q=(q=Math.imul(je,Ye))+Math.imul(lt,Xe)|0,z=Math.imul(lt,Ye),J=J+Math.imul(Ge,yt)|0,q=(q=q+Math.imul(Ge,Mt)|0)+Math.imul(Be,yt)|0,z=z+Math.imul(Be,Mt)|0,J=J+Math.imul(rt,$t)|0,q=(q=q+Math.imul(rt,Hr)|0)+Math.imul(et,$t)|0,z=z+Math.imul(et,Hr)|0;var ht=(ye+(J=J+Math.imul(me,sr)|0)|0)+((8191&(q=(q=q+Math.imul(me,Yr)|0)+Math.imul(Fe,sr)|0))<<13)|0;ye=((z=z+Math.imul(Fe,Yr)|0)+(q>>>13)|0)+(ht>>>26)|0,ht&=67108863,J=Math.imul(Ke,Xe),q=(q=Math.imul(Ke,Ye))+Math.imul(Rt,Xe)|0,z=Math.imul(Rt,Ye),J=J+Math.imul(je,yt)|0,q=(q=q+Math.imul(je,Mt)|0)+Math.imul(lt,yt)|0,z=z+Math.imul(lt,Mt)|0,J=J+Math.imul(Ge,$t)|0,q=(q=q+Math.imul(Ge,Hr)|0)+Math.imul(Be,$t)|0,z=z+Math.imul(Be,Hr)|0,J=J+Math.imul(rt,sr)|0,q=(q=q+Math.imul(rt,Yr)|0)+Math.imul(et,sr)|0,z=z+Math.imul(et,Yr)|0;var Pt=(ye+(J=J+Math.imul(me,Dr)|0)|0)+((8191&(q=(q=q+Math.imul(me,nn)|0)+Math.imul(Fe,Dr)|0))<<13)|0;ye=((z=z+Math.imul(Fe,nn)|0)+(q>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,J=Math.imul(Re,Xe),q=(q=Math.imul(Re,Ye))+Math.imul(qe,Xe)|0,z=Math.imul(qe,Ye),J=J+Math.imul(Ke,yt)|0,q=(q=q+Math.imul(Ke,Mt)|0)+Math.imul(Rt,yt)|0,z=z+Math.imul(Rt,Mt)|0,J=J+Math.imul(je,$t)|0,q=(q=q+Math.imul(je,Hr)|0)+Math.imul(lt,$t)|0,z=z+Math.imul(lt,Hr)|0,J=J+Math.imul(Ge,sr)|0,q=(q=q+Math.imul(Ge,Yr)|0)+Math.imul(Be,sr)|0,z=z+Math.imul(Be,Yr)|0,J=J+Math.imul(rt,Dr)|0,q=(q=q+Math.imul(rt,nn)|0)+Math.imul(et,Dr)|0,z=z+Math.imul(et,nn)|0;var Zt=(ye+(J=J+Math.imul(me,tn)|0)|0)+((8191&(q=(q=q+Math.imul(me,Cn)|0)+Math.imul(Fe,tn)|0))<<13)|0;ye=((z=z+Math.imul(Fe,Cn)|0)+(q>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,J=Math.imul(Lt,Xe),q=(q=Math.imul(Lt,Ye))+Math.imul(Qe,Xe)|0,z=Math.imul(Qe,Ye),J=J+Math.imul(Re,yt)|0,q=(q=q+Math.imul(Re,Mt)|0)+Math.imul(qe,yt)|0,z=z+Math.imul(qe,Mt)|0,J=J+Math.imul(Ke,$t)|0,q=(q=q+Math.imul(Ke,Hr)|0)+Math.imul(Rt,$t)|0,z=z+Math.imul(Rt,Hr)|0,J=J+Math.imul(je,sr)|0,q=(q=q+Math.imul(je,Yr)|0)+Math.imul(lt,sr)|0,z=z+Math.imul(lt,Yr)|0,J=J+Math.imul(Ge,Dr)|0,q=(q=q+Math.imul(Ge,nn)|0)+Math.imul(Be,Dr)|0,z=z+Math.imul(Be,nn)|0,J=J+Math.imul(rt,tn)|0,q=(q=q+Math.imul(rt,Cn)|0)+Math.imul(et,tn)|0,z=z+Math.imul(et,Cn)|0;var vn=(ye+(J=J+Math.imul(me,Rr)|0)|0)+((8191&(q=(q=q+Math.imul(me,An)|0)+Math.imul(Fe,Rr)|0))<<13)|0;ye=((z=z+Math.imul(Fe,An)|0)+(q>>>13)|0)+(vn>>>26)|0,vn&=67108863,J=Math.imul(Ft,Xe),q=(q=Math.imul(Ft,Ye))+Math.imul(Ze,Xe)|0,z=Math.imul(Ze,Ye),J=J+Math.imul(Lt,yt)|0,q=(q=q+Math.imul(Lt,Mt)|0)+Math.imul(Qe,yt)|0,z=z+Math.imul(Qe,Mt)|0,J=J+Math.imul(Re,$t)|0,q=(q=q+Math.imul(Re,Hr)|0)+Math.imul(qe,$t)|0,z=z+Math.imul(qe,Hr)|0,J=J+Math.imul(Ke,sr)|0,q=(q=q+Math.imul(Ke,Yr)|0)+Math.imul(Rt,sr)|0,z=z+Math.imul(Rt,Yr)|0,J=J+Math.imul(je,Dr)|0,q=(q=q+Math.imul(je,nn)|0)+Math.imul(lt,Dr)|0,z=z+Math.imul(lt,nn)|0,J=J+Math.imul(Ge,tn)|0,q=(q=q+Math.imul(Ge,Cn)|0)+Math.imul(Be,tn)|0,z=z+Math.imul(Be,Cn)|0,J=J+Math.imul(rt,Rr)|0,q=(q=q+Math.imul(rt,An)|0)+Math.imul(et,Rr)|0,z=z+Math.imul(et,An)|0;var jn=(ye+(J=J+Math.imul(me,br)|0)|0)+((8191&(q=(q=q+Math.imul(me,gn)|0)+Math.imul(Fe,br)|0))<<13)|0;ye=((z=z+Math.imul(Fe,gn)|0)+(q>>>13)|0)+(jn>>>26)|0,jn&=67108863,J=Math.imul(nt,Xe),q=(q=Math.imul(nt,Ye))+Math.imul(Ot,Xe)|0,z=Math.imul(Ot,Ye),J=J+Math.imul(Ft,yt)|0,q=(q=q+Math.imul(Ft,Mt)|0)+Math.imul(Ze,yt)|0,z=z+Math.imul(Ze,Mt)|0,J=J+Math.imul(Lt,$t)|0,q=(q=q+Math.imul(Lt,Hr)|0)+Math.imul(Qe,$t)|0,z=z+Math.imul(Qe,Hr)|0,J=J+Math.imul(Re,sr)|0,q=(q=q+Math.imul(Re,Yr)|0)+Math.imul(qe,sr)|0,z=z+Math.imul(qe,Yr)|0,J=J+Math.imul(Ke,Dr)|0,q=(q=q+Math.imul(Ke,nn)|0)+Math.imul(Rt,Dr)|0,z=z+Math.imul(Rt,nn)|0,J=J+Math.imul(je,tn)|0,q=(q=q+Math.imul(je,Cn)|0)+Math.imul(lt,tn)|0,z=z+Math.imul(lt,Cn)|0,J=J+Math.imul(Ge,Rr)|0,q=(q=q+Math.imul(Ge,An)|0)+Math.imul(Be,Rr)|0,z=z+Math.imul(Be,An)|0,J=J+Math.imul(rt,br)|0,q=(q=q+Math.imul(rt,gn)|0)+Math.imul(et,br)|0,z=z+Math.imul(et,gn)|0;var ba=(ye+(J=J+Math.imul(me,kn)|0)|0)+((8191&(q=(q=q+Math.imul(me,Dn)|0)+Math.imul(Fe,kn)|0))<<13)|0;ye=((z=z+Math.imul(Fe,Dn)|0)+(q>>>13)|0)+(ba>>>26)|0,ba&=67108863,J=Math.imul(Je,Xe),q=(q=Math.imul(Je,Ye))+Math.imul(tt,Xe)|0,z=Math.imul(tt,Ye),J=J+Math.imul(nt,yt)|0,q=(q=q+Math.imul(nt,Mt)|0)+Math.imul(Ot,yt)|0,z=z+Math.imul(Ot,Mt)|0,J=J+Math.imul(Ft,$t)|0,q=(q=q+Math.imul(Ft,Hr)|0)+Math.imul(Ze,$t)|0,z=z+Math.imul(Ze,Hr)|0,J=J+Math.imul(Lt,sr)|0,q=(q=q+Math.imul(Lt,Yr)|0)+Math.imul(Qe,sr)|0,z=z+Math.imul(Qe,Yr)|0,J=J+Math.imul(Re,Dr)|0,q=(q=q+Math.imul(Re,nn)|0)+Math.imul(qe,Dr)|0,z=z+Math.imul(qe,nn)|0,J=J+Math.imul(Ke,tn)|0,q=(q=q+Math.imul(Ke,Cn)|0)+Math.imul(Rt,tn)|0,z=z+Math.imul(Rt,Cn)|0,J=J+Math.imul(je,Rr)|0,q=(q=q+Math.imul(je,An)|0)+Math.imul(lt,Rr)|0,z=z+Math.imul(lt,An)|0,J=J+Math.imul(Ge,br)|0,q=(q=q+Math.imul(Ge,gn)|0)+Math.imul(Be,br)|0,z=z+Math.imul(Be,gn)|0,J=J+Math.imul(rt,kn)|0,q=(q=q+Math.imul(rt,Dn)|0)+Math.imul(et,kn)|0,z=z+Math.imul(et,Dn)|0;var aa=(ye+(J=J+Math.imul(me,Kr)|0)|0)+((8191&(q=(q=q+Math.imul(me,On)|0)+Math.imul(Fe,Kr)|0))<<13)|0;ye=((z=z+Math.imul(Fe,On)|0)+(q>>>13)|0)+(aa>>>26)|0,aa&=67108863,J=Math.imul(Je,yt),q=(q=Math.imul(Je,Mt))+Math.imul(tt,yt)|0,z=Math.imul(tt,Mt),J=J+Math.imul(nt,$t)|0,q=(q=q+Math.imul(nt,Hr)|0)+Math.imul(Ot,$t)|0,z=z+Math.imul(Ot,Hr)|0,J=J+Math.imul(Ft,sr)|0,q=(q=q+Math.imul(Ft,Yr)|0)+Math.imul(Ze,sr)|0,z=z+Math.imul(Ze,Yr)|0,J=J+Math.imul(Lt,Dr)|0,q=(q=q+Math.imul(Lt,nn)|0)+Math.imul(Qe,Dr)|0,z=z+Math.imul(Qe,nn)|0,J=J+Math.imul(Re,tn)|0,q=(q=q+Math.imul(Re,Cn)|0)+Math.imul(qe,tn)|0,z=z+Math.imul(qe,Cn)|0,J=J+Math.imul(Ke,Rr)|0,q=(q=q+Math.imul(Ke,An)|0)+Math.imul(Rt,Rr)|0,z=z+Math.imul(Rt,An)|0,J=J+Math.imul(je,br)|0,q=(q=q+Math.imul(je,gn)|0)+Math.imul(lt,br)|0,z=z+Math.imul(lt,gn)|0,J=J+Math.imul(Ge,kn)|0,q=(q=q+Math.imul(Ge,Dn)|0)+Math.imul(Be,kn)|0,z=z+Math.imul(Be,Dn)|0;var wo=(ye+(J=J+Math.imul(rt,Kr)|0)|0)+((8191&(q=(q=q+Math.imul(rt,On)|0)+Math.imul(et,Kr)|0))<<13)|0;ye=((z=z+Math.imul(et,On)|0)+(q>>>13)|0)+(wo>>>26)|0,wo&=67108863,J=Math.imul(Je,$t),q=(q=Math.imul(Je,Hr))+Math.imul(tt,$t)|0,z=Math.imul(tt,Hr),J=J+Math.imul(nt,sr)|0,q=(q=q+Math.imul(nt,Yr)|0)+Math.imul(Ot,sr)|0,z=z+Math.imul(Ot,Yr)|0,J=J+Math.imul(Ft,Dr)|0,q=(q=q+Math.imul(Ft,nn)|0)+Math.imul(Ze,Dr)|0,z=z+Math.imul(Ze,nn)|0,J=J+Math.imul(Lt,tn)|0,q=(q=q+Math.imul(Lt,Cn)|0)+Math.imul(Qe,tn)|0,z=z+Math.imul(Qe,Cn)|0,J=J+Math.imul(Re,Rr)|0,q=(q=q+Math.imul(Re,An)|0)+Math.imul(qe,Rr)|0,z=z+Math.imul(qe,An)|0,J=J+Math.imul(Ke,br)|0,q=(q=q+Math.imul(Ke,gn)|0)+Math.imul(Rt,br)|0,z=z+Math.imul(Rt,gn)|0,J=J+Math.imul(je,kn)|0,q=(q=q+Math.imul(je,Dn)|0)+Math.imul(lt,kn)|0,z=z+Math.imul(lt,Dn)|0;var is=(ye+(J=J+Math.imul(Ge,Kr)|0)|0)+((8191&(q=(q=q+Math.imul(Ge,On)|0)+Math.imul(Be,Kr)|0))<<13)|0;ye=((z=z+Math.imul(Be,On)|0)+(q>>>13)|0)+(is>>>26)|0,is&=67108863,J=Math.imul(Je,sr),q=(q=Math.imul(Je,Yr))+Math.imul(tt,sr)|0,z=Math.imul(tt,Yr),J=J+Math.imul(nt,Dr)|0,q=(q=q+Math.imul(nt,nn)|0)+Math.imul(Ot,Dr)|0,z=z+Math.imul(Ot,nn)|0,J=J+Math.imul(Ft,tn)|0,q=(q=q+Math.imul(Ft,Cn)|0)+Math.imul(Ze,tn)|0,z=z+Math.imul(Ze,Cn)|0,J=J+Math.imul(Lt,Rr)|0,q=(q=q+Math.imul(Lt,An)|0)+Math.imul(Qe,Rr)|0,z=z+Math.imul(Qe,An)|0,J=J+Math.imul(Re,br)|0,q=(q=q+Math.imul(Re,gn)|0)+Math.imul(qe,br)|0,z=z+Math.imul(qe,gn)|0,J=J+Math.imul(Ke,kn)|0,q=(q=q+Math.imul(Ke,Dn)|0)+Math.imul(Rt,kn)|0,z=z+Math.imul(Rt,Dn)|0;var as=(ye+(J=J+Math.imul(je,Kr)|0)|0)+((8191&(q=(q=q+Math.imul(je,On)|0)+Math.imul(lt,Kr)|0))<<13)|0;ye=((z=z+Math.imul(lt,On)|0)+(q>>>13)|0)+(as>>>26)|0,as&=67108863,J=Math.imul(Je,Dr),q=(q=Math.imul(Je,nn))+Math.imul(tt,Dr)|0,z=Math.imul(tt,nn),J=J+Math.imul(nt,tn)|0,q=(q=q+Math.imul(nt,Cn)|0)+Math.imul(Ot,tn)|0,z=z+Math.imul(Ot,Cn)|0,J=J+Math.imul(Ft,Rr)|0,q=(q=q+Math.imul(Ft,An)|0)+Math.imul(Ze,Rr)|0,z=z+Math.imul(Ze,An)|0,J=J+Math.imul(Lt,br)|0,q=(q=q+Math.imul(Lt,gn)|0)+Math.imul(Qe,br)|0,z=z+Math.imul(Qe,gn)|0,J=J+Math.imul(Re,kn)|0,q=(q=q+Math.imul(Re,Dn)|0)+Math.imul(qe,kn)|0,z=z+Math.imul(qe,Dn)|0;var vs=(ye+(J=J+Math.imul(Ke,Kr)|0)|0)+((8191&(q=(q=q+Math.imul(Ke,On)|0)+Math.imul(Rt,Kr)|0))<<13)|0;ye=((z=z+Math.imul(Rt,On)|0)+(q>>>13)|0)+(vs>>>26)|0,vs&=67108863,J=Math.imul(Je,tn),q=(q=Math.imul(Je,Cn))+Math.imul(tt,tn)|0,z=Math.imul(tt,Cn),J=J+Math.imul(nt,Rr)|0,q=(q=q+Math.imul(nt,An)|0)+Math.imul(Ot,Rr)|0,z=z+Math.imul(Ot,An)|0,J=J+Math.imul(Ft,br)|0,q=(q=q+Math.imul(Ft,gn)|0)+Math.imul(Ze,br)|0,z=z+Math.imul(Ze,gn)|0,J=J+Math.imul(Lt,kn)|0,q=(q=q+Math.imul(Lt,Dn)|0)+Math.imul(Qe,kn)|0,z=z+Math.imul(Qe,Dn)|0;var lo=(ye+(J=J+Math.imul(Re,Kr)|0)|0)+((8191&(q=(q=q+Math.imul(Re,On)|0)+Math.imul(qe,Kr)|0))<<13)|0;ye=((z=z+Math.imul(qe,On)|0)+(q>>>13)|0)+(lo>>>26)|0,lo&=67108863,J=Math.imul(Je,Rr),q=(q=Math.imul(Je,An))+Math.imul(tt,Rr)|0,z=Math.imul(tt,An),J=J+Math.imul(nt,br)|0,q=(q=q+Math.imul(nt,gn)|0)+Math.imul(Ot,br)|0,z=z+Math.imul(Ot,gn)|0,J=J+Math.imul(Ft,kn)|0,q=(q=q+Math.imul(Ft,Dn)|0)+Math.imul(Ze,kn)|0,z=z+Math.imul(Ze,Dn)|0;var ra=(ye+(J=J+Math.imul(Lt,Kr)|0)|0)+((8191&(q=(q=q+Math.imul(Lt,On)|0)+Math.imul(Qe,Kr)|0))<<13)|0;ye=((z=z+Math.imul(Qe,On)|0)+(q>>>13)|0)+(ra>>>26)|0,ra&=67108863,J=Math.imul(Je,br),q=(q=Math.imul(Je,gn))+Math.imul(tt,br)|0,z=Math.imul(tt,gn),J=J+Math.imul(nt,kn)|0,q=(q=q+Math.imul(nt,Dn)|0)+Math.imul(Ot,kn)|0,z=z+Math.imul(Ot,Dn)|0;var pi=(ye+(J=J+Math.imul(Ft,Kr)|0)|0)+((8191&(q=(q=q+Math.imul(Ft,On)|0)+Math.imul(Ze,Kr)|0))<<13)|0;ye=((z=z+Math.imul(Ze,On)|0)+(q>>>13)|0)+(pi>>>26)|0,pi&=67108863,J=Math.imul(Je,kn),q=(q=Math.imul(Je,Dn))+Math.imul(tt,kn)|0,z=Math.imul(tt,Dn);var Ms=(ye+(J=J+Math.imul(nt,Kr)|0)|0)+((8191&(q=(q=q+Math.imul(nt,On)|0)+Math.imul(Ot,Kr)|0))<<13)|0;ye=((z=z+Math.imul(Ot,On)|0)+(q>>>13)|0)+(Ms>>>26)|0,Ms&=67108863;var Fs=(ye+(J=Math.imul(Je,Kr))|0)+((8191&(q=(q=Math.imul(Je,On))+Math.imul(tt,Kr)|0))<<13)|0;return ye=((z=Math.imul(tt,On))+(q>>>13)|0)+(Fs>>>26)|0,Fs&=67108863,oe[0]=Ci,oe[1]=li,oe[2]=ia,oe[3]=ht,oe[4]=Pt,oe[5]=Zt,oe[6]=vn,oe[7]=jn,oe[8]=ba,oe[9]=aa,oe[10]=wo,oe[11]=is,oe[12]=as,oe[13]=vs,oe[14]=lo,oe[15]=ra,oe[16]=pi,oe[17]=Ms,oe[18]=Fs,ye!==0&&(oe[19]=ye,j.length++),j};function F(Z,ne,j){j.negative=ne.negative^Z.negative,j.length=Z.length+ne.length;for(var J=0,q=0,z=0;z<j.length-1;z++){var X=q;q=0;for(var se=67108863&J,oe=Math.min(z,ne.length-1),ye=Math.max(0,z-Z.length+1);ye<=oe;ye++){var ae=z-ye,me=(0|Z.words[ae])*(0|ne.words[ye]),Fe=67108863&me;se=67108863&(Fe=Fe+se|0),q+=(X=(X=X+(me/67108864|0)|0)+(Fe>>>26)|0)>>>26,X&=67108863}j.words[z]=se,J=X,X=q}return J!==0?j.words[z]=J:j.length--,j.strip()}function N(Z,ne,j){return new H().mulp(Z,ne,j)}function H(Z,ne){this.x=Z,this.y=ne}Math.imul||(T=D),A.prototype.mulTo=function(Z,ne){var j=this.length+Z.length;return this.length===10&&Z.length===10?T(this,Z,ne):j<63?D(this,Z,ne):j<1024?F(this,Z,ne):N(this,Z,ne)},H.prototype.makeRBT=function(Z){for(var ne=new Array(Z),j=A.prototype._countBits(Z)-1,J=0;J<Z;J++)ne[J]=this.revBin(J,j,Z);return ne},H.prototype.revBin=function(Z,ne,j){if(Z===0||Z===j-1)return Z;for(var J=0,q=0;q<ne;q++)J|=(1&Z)<<ne-q-1,Z>>=1;return J},H.prototype.permute=function(Z,ne,j,J,q,z){for(var X=0;X<z;X++)J[X]=ne[Z[X]],q[X]=j[Z[X]]},H.prototype.transform=function(Z,ne,j,J,q,z){this.permute(z,Z,ne,j,J,q);for(var X=1;X<q;X<<=1)for(var se=X<<1,oe=Math.cos(2*Math.PI/se),ye=Math.sin(2*Math.PI/se),ae=0;ae<q;ae+=se)for(var me=oe,Fe=ye,_e=0;_e<X;_e++){var rt=j[ae+_e],et=J[ae+_e],st=j[ae+_e+X],Ge=J[ae+_e+X],Be=me*st-Fe*Ge;Ge=me*Ge+Fe*st,st=Be,j[ae+_e]=rt+st,J[ae+_e]=et+Ge,j[ae+_e+X]=rt-st,J[ae+_e+X]=et-Ge,_e!==se&&(Be=oe*me-ye*Fe,Fe=oe*Fe+ye*me,me=Be)}},H.prototype.guessLen13b=function(Z,ne){var j=1|Math.max(ne,Z),J=1&j,q=0;for(j=j/2|0;j;j>>>=1)q++;return 1<<q+1+J},H.prototype.conjugate=function(Z,ne,j){if(!(j<=1))for(var J=0;J<j/2;J++){var q=Z[J];Z[J]=Z[j-J-1],Z[j-J-1]=q,q=ne[J],ne[J]=-ne[j-J-1],ne[j-J-1]=-q}},H.prototype.normalize13b=function(Z,ne){for(var j=0,J=0;J<ne/2;J++){var q=8192*Math.round(Z[2*J+1]/ne)+Math.round(Z[2*J]/ne)+j;Z[J]=67108863&q,j=q<67108864?0:q/67108864|0}return Z},H.prototype.convert13b=function(Z,ne,j,J){for(var q=0,z=0;z<ne;z++)q+=0|Z[z],j[2*z]=8191&q,q>>>=13,j[2*z+1]=8191&q,q>>>=13;for(z=2*ne;z<J;++z)j[z]=0;p(q===0),p(!(-8192&q))},H.prototype.stub=function(Z){for(var ne=new Array(Z),j=0;j<Z;j++)ne[j]=0;return ne},H.prototype.mulp=function(Z,ne,j){var J=2*this.guessLen13b(Z.length,ne.length),q=this.makeRBT(J),z=this.stub(J),X=new Array(J),se=new Array(J),oe=new Array(J),ye=new Array(J),ae=new Array(J),me=new Array(J),Fe=j.words;Fe.length=J,this.convert13b(Z.words,Z.length,X,J),this.convert13b(ne.words,ne.length,ye,J),this.transform(X,z,se,oe,J,q),this.transform(ye,z,ae,me,J,q);for(var _e=0;_e<J;_e++){var rt=se[_e]*ae[_e]-oe[_e]*me[_e];oe[_e]=se[_e]*me[_e]+oe[_e]*ae[_e],se[_e]=rt}return this.conjugate(se,oe,J),this.transform(se,oe,Fe,z,J,q),this.conjugate(Fe,z,J),this.normalize13b(Fe,J),j.negative=Z.negative^ne.negative,j.length=Z.length+ne.length,j.strip()},A.prototype.mul=function(Z){var ne=new A(null);return ne.words=new Array(this.length+Z.length),this.mulTo(Z,ne)},A.prototype.mulf=function(Z){var ne=new A(null);return ne.words=new Array(this.length+Z.length),N(this,Z,ne)},A.prototype.imul=function(Z){return this.clone().mulTo(Z,this)},A.prototype.imuln=function(Z){p(typeof Z=="number"),p(Z<67108864);for(var ne=0,j=0;j<this.length;j++){var J=(0|this.words[j])*Z,q=(67108863&J)+(67108863&ne);ne>>=26,ne+=J/67108864|0,ne+=q>>>26,this.words[j]=67108863&q}return ne!==0&&(this.words[j]=ne,this.length++),this},A.prototype.muln=function(Z){return this.clone().imuln(Z)},A.prototype.sqr=function(){return this.mul(this)},A.prototype.isqr=function(){return this.imul(this.clone())},A.prototype.pow=function(Z){var ne=_(Z);if(ne.length===0)return new A(1);for(var j=this,J=0;J<ne.length&&ne[J]===0;J++,j=j.sqr());if(++J<ne.length)for(var q=j.sqr();J<ne.length;J++,q=q.sqr())ne[J]!==0&&(j=j.mul(q));return j},A.prototype.iushln=function(Z){p(typeof Z=="number"&&Z>=0);var ne,j=Z%26,J=(Z-j)/26,q=67108863>>>26-j<<26-j;if(j!==0){var z=0;for(ne=0;ne<this.length;ne++){var X=this.words[ne]&q,se=(0|this.words[ne])-X<<j;this.words[ne]=se|z,z=X>>>26-j}z&&(this.words[ne]=z,this.length++)}if(J!==0){for(ne=this.length-1;ne>=0;ne--)this.words[ne+J]=this.words[ne];for(ne=0;ne<J;ne++)this.words[ne]=0;this.length+=J}return this.strip()},A.prototype.ishln=function(Z){return p(this.negative===0),this.iushln(Z)},A.prototype.iushrn=function(Z,ne,j){var J;p(typeof Z=="number"&&Z>=0),J=ne?(ne-ne%26)/26:0;var q=Z%26,z=Math.min((Z-q)/26,this.length),X=67108863^67108863>>>q<<q,se=j;if(J-=z,J=Math.max(0,J),se){for(var oe=0;oe<z;oe++)se.words[oe]=this.words[oe];se.length=z}if(z!==0)if(this.length>z)for(this.length-=z,oe=0;oe<this.length;oe++)this.words[oe]=this.words[oe+z];else this.words[0]=0,this.length=1;var ye=0;for(oe=this.length-1;oe>=0&&(ye!==0||oe>=J);oe--){var ae=0|this.words[oe];this.words[oe]=ye<<26-q|ae>>>q,ye=ae&X}return se&&ye!==0&&(se.words[se.length++]=ye),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},A.prototype.ishrn=function(Z,ne,j){return p(this.negative===0),this.iushrn(Z,ne,j)},A.prototype.shln=function(Z){return this.clone().ishln(Z)},A.prototype.ushln=function(Z){return this.clone().iushln(Z)},A.prototype.shrn=function(Z){return this.clone().ishrn(Z)},A.prototype.ushrn=function(Z){return this.clone().iushrn(Z)},A.prototype.testn=function(Z){p(typeof Z=="number"&&Z>=0);var ne=Z%26,j=(Z-ne)/26,J=1<<ne;return!(this.length<=j||!(this.words[j]&J))},A.prototype.imaskn=function(Z){p(typeof Z=="number"&&Z>=0);var ne=Z%26,j=(Z-ne)/26;if(p(this.negative===0,"imaskn works only with positive numbers"),this.length<=j)return this;if(ne!==0&&j++,this.length=Math.min(j,this.length),ne!==0){var J=67108863^67108863>>>ne<<ne;this.words[this.length-1]&=J}return this.strip()},A.prototype.maskn=function(Z){return this.clone().imaskn(Z)},A.prototype.iaddn=function(Z){return p(typeof Z=="number"),p(Z<67108864),Z<0?this.isubn(-Z):this.negative!==0?this.length===1&&(0|this.words[0])<Z?(this.words[0]=Z-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(Z),this.negative=1,this):this._iaddn(Z)},A.prototype._iaddn=function(Z){this.words[0]+=Z;for(var ne=0;ne<this.length&&this.words[ne]>=67108864;ne++)this.words[ne]-=67108864,ne===this.length-1?this.words[ne+1]=1:this.words[ne+1]++;return this.length=Math.max(this.length,ne+1),this},A.prototype.isubn=function(Z){if(p(typeof Z=="number"),p(Z<67108864),Z<0)return this.iaddn(-Z);if(this.negative!==0)return this.negative=0,this.iaddn(Z),this.negative=1,this;if(this.words[0]-=Z,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var ne=0;ne<this.length&&this.words[ne]<0;ne++)this.words[ne]+=67108864,this.words[ne+1]-=1;return this.strip()},A.prototype.addn=function(Z){return this.clone().iaddn(Z)},A.prototype.subn=function(Z){return this.clone().isubn(Z)},A.prototype.iabs=function(){return this.negative=0,this},A.prototype.abs=function(){return this.clone().iabs()},A.prototype._ishlnsubmul=function(Z,ne,j){var J,q,z=Z.length+j;this._expand(z);var X=0;for(J=0;J<Z.length;J++){q=(0|this.words[J+j])+X;var se=(0|Z.words[J])*ne;X=((q-=67108863&se)>>26)-(se/67108864|0),this.words[J+j]=67108863&q}for(;J<this.length-j;J++)X=(q=(0|this.words[J+j])+X)>>26,this.words[J+j]=67108863&q;if(X===0)return this.strip();for(p(X===-1),X=0,J=0;J<this.length;J++)X=(q=-(0|this.words[J])+X)>>26,this.words[J]=67108863&q;return this.negative=1,this.strip()},A.prototype._wordDiv=function(Z,ne){var j=this.length-Z.length,J=this.clone(),q=Z,z=0|q.words[q.length-1];(j=26-this._countBits(z))!=0&&(q=q.ushln(j),J.iushln(j),z=0|q.words[q.length-1]);var X,se=J.length-q.length;if(ne!=="mod"){(X=new A(null)).length=se+1,X.words=new Array(X.length);for(var oe=0;oe<X.length;oe++)X.words[oe]=0}var ye=J.clone()._ishlnsubmul(q,1,se);ye.negative===0&&(J=ye,X&&(X.words[se]=1));for(var ae=se-1;ae>=0;ae--){var me=67108864*(0|J.words[q.length+ae])+(0|J.words[q.length+ae-1]);for(me=Math.min(me/z|0,67108863),J._ishlnsubmul(q,me,ae);J.negative!==0;)me--,J.negative=0,J._ishlnsubmul(q,1,ae),J.isZero()||(J.negative^=1);X&&(X.words[ae]=me)}return X&&X.strip(),J.strip(),ne!=="div"&&j!==0&&J.iushrn(j),{div:X||null,mod:J}},A.prototype.divmod=function(Z,ne,j){return p(!Z.isZero()),this.isZero()?{div:new A(0),mod:new A(0)}:this.negative!==0&&Z.negative===0?(z=this.neg().divmod(Z,ne),ne!=="mod"&&(J=z.div.neg()),ne!=="div"&&(q=z.mod.neg(),j&&q.negative!==0&&q.iadd(Z)),{div:J,mod:q}):this.negative===0&&Z.negative!==0?(z=this.divmod(Z.neg(),ne),ne!=="mod"&&(J=z.div.neg()),{div:J,mod:z.mod}):this.negative&Z.negative?(z=this.neg().divmod(Z.neg(),ne),ne!=="div"&&(q=z.mod.neg(),j&&q.negative!==0&&q.isub(Z)),{div:z.div,mod:q}):Z.length>this.length||this.cmp(Z)<0?{div:new A(0),mod:this}:Z.length===1?ne==="div"?{div:this.divn(Z.words[0]),mod:null}:ne==="mod"?{div:null,mod:new A(this.modn(Z.words[0]))}:{div:this.divn(Z.words[0]),mod:new A(this.modn(Z.words[0]))}:this._wordDiv(Z,ne);var J,q,z},A.prototype.div=function(Z){return this.divmod(Z,"div",!1).div},A.prototype.mod=function(Z){return this.divmod(Z,"mod",!1).mod},A.prototype.umod=function(Z){return this.divmod(Z,"mod",!0).mod},A.prototype.divRound=function(Z){var ne=this.divmod(Z);if(ne.mod.isZero())return ne.div;var j=ne.div.negative!==0?ne.mod.isub(Z):ne.mod,J=Z.ushrn(1),q=Z.andln(1),z=j.cmp(J);return z<0||q===1&&z===0?ne.div:ne.div.negative!==0?ne.div.isubn(1):ne.div.iaddn(1)},A.prototype.modn=function(Z){p(Z<=67108863);for(var ne=(1<<26)%Z,j=0,J=this.length-1;J>=0;J--)j=(ne*j+(0|this.words[J]))%Z;return j},A.prototype.idivn=function(Z){p(Z<=67108863);for(var ne=0,j=this.length-1;j>=0;j--){var J=(0|this.words[j])+67108864*ne;this.words[j]=J/Z|0,ne=J%Z}return this.strip()},A.prototype.divn=function(Z){return this.clone().idivn(Z)},A.prototype.egcd=function(Z){p(Z.negative===0),p(!Z.isZero());var ne=this,j=Z.clone();ne=ne.negative!==0?ne.umod(Z):ne.clone();for(var J=new A(1),q=new A(0),z=new A(0),X=new A(1),se=0;ne.isEven()&&j.isEven();)ne.iushrn(1),j.iushrn(1),++se;for(var oe=j.clone(),ye=ne.clone();!ne.isZero();){for(var ae=0,me=1;!(ne.words[0]&me)&&ae<26;++ae,me<<=1);if(ae>0)for(ne.iushrn(ae);ae-- >0;)(J.isOdd()||q.isOdd())&&(J.iadd(oe),q.isub(ye)),J.iushrn(1),q.iushrn(1);for(var Fe=0,_e=1;!(j.words[0]&_e)&&Fe<26;++Fe,_e<<=1);if(Fe>0)for(j.iushrn(Fe);Fe-- >0;)(z.isOdd()||X.isOdd())&&(z.iadd(oe),X.isub(ye)),z.iushrn(1),X.iushrn(1);ne.cmp(j)>=0?(ne.isub(j),J.isub(z),q.isub(X)):(j.isub(ne),z.isub(J),X.isub(q))}return{a:z,b:X,gcd:j.iushln(se)}},A.prototype._invmp=function(Z){p(Z.negative===0),p(!Z.isZero());var ne=this,j=Z.clone();ne=ne.negative!==0?ne.umod(Z):ne.clone();for(var J,q=new A(1),z=new A(0),X=j.clone();ne.cmpn(1)>0&&j.cmpn(1)>0;){for(var se=0,oe=1;!(ne.words[0]&oe)&&se<26;++se,oe<<=1);if(se>0)for(ne.iushrn(se);se-- >0;)q.isOdd()&&q.iadd(X),q.iushrn(1);for(var ye=0,ae=1;!(j.words[0]&ae)&&ye<26;++ye,ae<<=1);if(ye>0)for(j.iushrn(ye);ye-- >0;)z.isOdd()&&z.iadd(X),z.iushrn(1);ne.cmp(j)>=0?(ne.isub(j),q.isub(z)):(j.isub(ne),z.isub(q))}return(J=ne.cmpn(1)===0?q:z).cmpn(0)<0&&J.iadd(Z),J},A.prototype.gcd=function(Z){if(this.isZero())return Z.abs();if(Z.isZero())return this.abs();var ne=this.clone(),j=Z.clone();ne.negative=0,j.negative=0;for(var J=0;ne.isEven()&&j.isEven();J++)ne.iushrn(1),j.iushrn(1);for(;;){for(;ne.isEven();)ne.iushrn(1);for(;j.isEven();)j.iushrn(1);var q=ne.cmp(j);if(q<0){var z=ne;ne=j,j=z}else if(q===0||j.cmpn(1)===0)break;ne.isub(j)}return j.iushln(J)},A.prototype.invm=function(Z){return this.egcd(Z).a.umod(Z)},A.prototype.isEven=function(){return!(1&this.words[0])},A.prototype.isOdd=function(){return!(1&~this.words[0])},A.prototype.andln=function(Z){return this.words[0]&Z},A.prototype.bincn=function(Z){p(typeof Z=="number");var ne=Z%26,j=(Z-ne)/26,J=1<<ne;if(this.length<=j)return this._expand(j+1),this.words[j]|=J,this;for(var q=J,z=j;q!==0&&z<this.length;z++){var X=0|this.words[z];q=(X+=q)>>>26,X&=67108863,this.words[z]=X}return q!==0&&(this.words[z]=q,this.length++),this},A.prototype.isZero=function(){return this.length===1&&this.words[0]===0},A.prototype.cmpn=function(Z){var ne,j=Z<0;if(this.negative!==0&&!j)return-1;if(this.negative===0&&j)return 1;if(this.strip(),this.length>1)ne=1;else{j&&(Z=-Z),p(Z<=67108863,"Number is too big");var J=0|this.words[0];ne=J===Z?0:J<Z?-1:1}return this.negative!==0?0|-ne:ne},A.prototype.cmp=function(Z){if(this.negative!==0&&Z.negative===0)return-1;if(this.negative===0&&Z.negative!==0)return 1;var ne=this.ucmp(Z);return this.negative!==0?0|-ne:ne},A.prototype.ucmp=function(Z){if(this.length>Z.length)return 1;if(this.length<Z.length)return-1;for(var ne=0,j=this.length-1;j>=0;j--){var J=0|this.words[j],q=0|Z.words[j];if(J!==q){J<q?ne=-1:J>q&&(ne=1);break}}return ne},A.prototype.gtn=function(Z){return this.cmpn(Z)===1},A.prototype.gt=function(Z){return this.cmp(Z)===1},A.prototype.gten=function(Z){return this.cmpn(Z)>=0},A.prototype.gte=function(Z){return this.cmp(Z)>=0},A.prototype.ltn=function(Z){return this.cmpn(Z)===-1},A.prototype.lt=function(Z){return this.cmp(Z)===-1},A.prototype.lten=function(Z){return this.cmpn(Z)<=0},A.prototype.lte=function(Z){return this.cmp(Z)<=0},A.prototype.eqn=function(Z){return this.cmpn(Z)===0},A.prototype.eq=function(Z){return this.cmp(Z)===0},A.red=function(Z){return new Ae(Z)},A.prototype.toRed=function(Z){return p(!this.red,"Already a number in reduction context"),p(this.negative===0,"red works only with positives"),Z.convertTo(this)._forceRed(Z)},A.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},A.prototype._forceRed=function(Z){return this.red=Z,this},A.prototype.forceRed=function(Z){return p(!this.red,"Already a number in reduction context"),this._forceRed(Z)},A.prototype.redAdd=function(Z){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,Z)},A.prototype.redIAdd=function(Z){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Z)},A.prototype.redSub=function(Z){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,Z)},A.prototype.redISub=function(Z){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,Z)},A.prototype.redShl=function(Z){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,Z)},A.prototype.redMul=function(Z){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,Z),this.red.mul(this,Z)},A.prototype.redIMul=function(Z){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,Z),this.red.imul(this,Z)},A.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},A.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},A.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},A.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},A.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},A.prototype.redPow=function(Z){return p(this.red&&!Z.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Z)};var W={k256:null,p224:null,p192:null,p25519:null};function V(Z,ne){this.name=Z,this.p=new A(ne,16),this.n=this.p.bitLength(),this.k=new A(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function te(){V.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){V.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function fe(){V.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function de(){V.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ae(Z){if(typeof Z=="string"){var ne=A._prime(Z);this.m=ne.p,this.prime=ne}else p(Z.gtn(1),"modulus must be greater than 1"),this.m=Z,this.prime=null}function we(Z){Ae.call(this,Z),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new A(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}V.prototype._tmp=function(){var Z=new A(null);return Z.words=new Array(Math.ceil(this.n/13)),Z},V.prototype.ireduce=function(Z){var ne,j=Z;do this.split(j,this.tmp),ne=(j=(j=this.imulK(j)).iadd(this.tmp)).bitLength();while(ne>this.n);var J=ne<this.n?-1:j.ucmp(this.p);return J===0?(j.words[0]=0,j.length=1):J>0?j.isub(this.p):j.strip!==void 0?j.strip():j._strip(),j},V.prototype.split=function(Z,ne){Z.iushrn(this.n,0,ne)},V.prototype.imulK=function(Z){return Z.imul(this.k)},g(te,V),te.prototype.split=function(Z,ne){for(var j=4194303,J=Math.min(Z.length,9),q=0;q<J;q++)ne.words[q]=Z.words[q];if(ne.length=J,Z.length<=9)return Z.words[0]=0,void(Z.length=1);var z=Z.words[9];for(ne.words[ne.length++]=z&j,q=10;q<Z.length;q++){var X=0|Z.words[q];Z.words[q-10]=(X&j)<<4|z>>>22,z=X}z>>>=22,Z.words[q-10]=z,z===0&&Z.length>10?Z.length-=10:Z.length-=9},te.prototype.imulK=function(Z){Z.words[Z.length]=0,Z.words[Z.length+1]=0,Z.length+=2;for(var ne=0,j=0;j<Z.length;j++){var J=0|Z.words[j];ne+=977*J,Z.words[j]=67108863&ne,ne=64*J+(ne/67108864|0)}return Z.words[Z.length-1]===0&&(Z.length--,Z.words[Z.length-1]===0&&Z.length--),Z},g(ue,V),g(fe,V),g(de,V),de.prototype.imulK=function(Z){for(var ne=0,j=0;j<Z.length;j++){var J=19*(0|Z.words[j])+ne,q=67108863&J;J>>>=26,Z.words[j]=q,ne=J}return ne!==0&&(Z.words[Z.length++]=ne),Z},A._prime=function(Z){if(W[Z])return W[Z];var ne;if(Z==="k256")ne=new te;else if(Z==="p224")ne=new ue;else if(Z==="p192")ne=new fe;else{if(Z!=="p25519")throw new Error("Unknown prime "+Z);ne=new de}return W[Z]=ne,ne},Ae.prototype._verify1=function(Z){p(Z.negative===0,"red works only with positives"),p(Z.red,"red works only with red numbers")},Ae.prototype._verify2=function(Z,ne){p(!(Z.negative|ne.negative),"red works only with positives"),p(Z.red&&Z.red===ne.red,"red works only with red numbers")},Ae.prototype.imod=function(Z){return this.prime?this.prime.ireduce(Z)._forceRed(this):Z.umod(this.m)._forceRed(this)},Ae.prototype.neg=function(Z){return Z.isZero()?Z.clone():this.m.sub(Z)._forceRed(this)},Ae.prototype.add=function(Z,ne){this._verify2(Z,ne);var j=Z.add(ne);return j.cmp(this.m)>=0&&j.isub(this.m),j._forceRed(this)},Ae.prototype.iadd=function(Z,ne){this._verify2(Z,ne);var j=Z.iadd(ne);return j.cmp(this.m)>=0&&j.isub(this.m),j},Ae.prototype.sub=function(Z,ne){this._verify2(Z,ne);var j=Z.sub(ne);return j.cmpn(0)<0&&j.iadd(this.m),j._forceRed(this)},Ae.prototype.isub=function(Z,ne){this._verify2(Z,ne);var j=Z.isub(ne);return j.cmpn(0)<0&&j.iadd(this.m),j},Ae.prototype.shl=function(Z,ne){return this._verify1(Z),this.imod(Z.ushln(ne))},Ae.prototype.imul=function(Z,ne){return this._verify2(Z,ne),this.imod(Z.imul(ne))},Ae.prototype.mul=function(Z,ne){return this._verify2(Z,ne),this.imod(Z.mul(ne))},Ae.prototype.isqr=function(Z){return this.imul(Z,Z.clone())},Ae.prototype.sqr=function(Z){return this.mul(Z,Z)},Ae.prototype.sqrt=function(Z){if(Z.isZero())return Z.clone();var ne=this.m.andln(3);if(p(ne%2==1),ne===3){var j=this.m.add(new A(1)).iushrn(2);return this.pow(Z,j)}for(var J=this.m.subn(1),q=0;!J.isZero()&&J.andln(1)===0;)q++,J.iushrn(1);p(!J.isZero());var z=new A(1).toRed(this),X=z.redNeg(),se=this.m.subn(1).iushrn(1),oe=this.m.bitLength();for(oe=new A(2*oe*oe).toRed(this);this.pow(oe,se).cmp(X)!==0;)oe.redIAdd(X);for(var ye=this.pow(oe,J),ae=this.pow(Z,J.addn(1).iushrn(1)),me=this.pow(Z,J),Fe=q;me.cmp(z)!==0;){for(var _e=me,rt=0;_e.cmp(z)!==0;rt++)_e=_e.redSqr();p(rt<Fe);var et=this.pow(ye,new A(1).iushln(Fe-rt-1));ae=ae.redMul(et),ye=et.redSqr(),me=me.redMul(ye),Fe=rt}return ae},Ae.prototype.invm=function(Z){var ne=Z._invmp(this.m);return ne.negative!==0?(ne.negative=0,this.imod(ne).redNeg()):this.imod(ne)},Ae.prototype.pow=function(Z,ne){if(ne.isZero())return new A(1).toRed(this);if(ne.cmpn(1)===0)return Z.clone();var j=4,J=new Array(1<<j);J[0]=new A(1).toRed(this),J[1]=Z;for(var q=2;q<J.length;q++)J[q]=this.mul(J[q-1],Z);var z=J[0],X=0,se=0,oe=ne.bitLength()%26;for(oe===0&&(oe=26),q=ne.length-1;q>=0;q--){for(var ye=ne.words[q],ae=oe-1;ae>=0;ae--){var me=ye>>ae&1;z!==J[0]&&(z=this.sqr(z)),me!==0||X!==0?(X<<=1,X|=me,(++se===j||q===0&&ae===0)&&(z=this.mul(z,J[X]),se=0,X=0)):se=0}oe=26}return z},Ae.prototype.convertTo=function(Z){var ne=Z.umod(this.m);return ne===Z?ne.clone():ne},Ae.prototype.convertFrom=function(Z){var ne=Z.clone();return ne.red=null,ne},A.mont=function(Z){return new we(Z)},g(we,Ae),we.prototype.convertTo=function(Z){return this.imod(Z.ushln(this.shift))},we.prototype.convertFrom=function(Z){var ne=this.imod(Z.mul(this.rinv));return ne.red=null,ne},we.prototype.imul=function(Z,ne){if(Z.isZero()||ne.isZero())return Z.words[0]=0,Z.length=1,Z;var j=Z.imul(ne),J=j.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=j.isub(J).iushrn(this.shift),z=q;return q.cmp(this.m)>=0?z=q.isub(this.m):q.cmpn(0)<0&&(z=q.iadd(this.m)),z._forceRed(this)},we.prototype.mul=function(Z,ne){if(Z.isZero()||ne.isZero())return new A(0)._forceRed(this);var j=Z.mul(ne),J=j.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=j.isub(J).iushrn(this.shift),z=q;return q.cmp(this.m)>=0?z=q.isub(this.m):q.cmpn(0)<0&&(z=q.iadd(this.m)),z._forceRed(this)},we.prototype.invm=function(Z){return this.imod(Z._invmp(this.m).mul(this.r2))._forceRed(this)}})(c===void 0||c,void 0)},{buffer:188}],185:[function(a,c,u){u.byteLength=b,u.toByteArray=E,u.fromByteArray=_;for(var h=[],d=[],p=typeof Uint8Array<"u"?Uint8Array:Array,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=0,m=g.length;A<m;++A)h[A]=g[A],d[g.charCodeAt(A)]=A;function y(D){var T=D.length;if(T%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var F=D.indexOf("=");return F===-1&&(F=T),[F,F===T?0:4-F%4]}function b(D){var T=y(D),F=T[0],N=T[1];return 3*(F+N)/4-N}function I(D,T,F){return 3*(T+F)/4-F}function E(D){var T,F,N=y(D),H=N[0],W=N[1],V=new p(I(D,H,W)),te=0,ue=W>0?H-4:H;for(F=0;F<ue;F+=4)T=d[D.charCodeAt(F)]<<18|d[D.charCodeAt(F+1)]<<12|d[D.charCodeAt(F+2)]<<6|d[D.charCodeAt(F+3)],V[te++]=T>>16&255,V[te++]=T>>8&255,V[te++]=255&T;return W===2&&(T=d[D.charCodeAt(F)]<<2|d[D.charCodeAt(F+1)]>>4,V[te++]=255&T),W===1&&(T=d[D.charCodeAt(F)]<<10|d[D.charCodeAt(F+1)]<<4|d[D.charCodeAt(F+2)]>>2,V[te++]=T>>8&255,V[te++]=255&T),V}function B(D){return h[D>>18&63]+h[D>>12&63]+h[D>>6&63]+h[63&D]}function S(D,T,F){for(var N,H=[],W=T;W<F;W+=3)N=(D[W]<<16&16711680)+(D[W+1]<<8&65280)+(255&D[W+2]),H.push(B(N));return H.join("")}function _(D){for(var T,F=D.length,N=F%3,H=[],W=16383,V=0,te=F-N;V<te;V+=W)H.push(S(D,V,V+W>te?te:V+W));return N===1?(T=D[F-1],H.push(h[T>>2]+h[T<<4&63]+"==")):N===2&&(T=(D[F-2]<<8)+D[F-1],H.push(h[T>>10]+h[T>>4&63]+h[T<<2&63]+"=")),H.join("")}d[45]=62,d[95]=63},{}],186:[function(a,c,u){(function(h,d){function p(j,J){if(!j)throw new Error(J||"Assertion failed")}function g(j,J){j.super_=J;var q=function(){};q.prototype=J.prototype,j.prototype=new q,j.prototype.constructor=j}function A(j,J,q){if(A.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&(J!=="le"&&J!=="be"||(q=J,J=10),this._init(j||0,J||10,q||"be"))}var m;typeof h=="object"?h.exports=A:d.BN=A,A.BN=A,A.wordSize=26;try{m=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a("buffer").Buffer}catch{}function y(j,J){var q=j.charCodeAt(J);return q>=48&&q<=57?q-48:q>=65&&q<=70?q-55:q>=97&&q<=102?q-87:void p(!1,"Invalid character in "+j)}function b(j,J,q){var z=y(j,q);return q-1>=J&&(z|=y(j,q-1)<<4),z}function I(j,J,q,z){for(var X=0,se=0,oe=Math.min(j.length,q),ye=J;ye<oe;ye++){var ae=j.charCodeAt(ye)-48;X*=z,se=ae>=49?ae-49+10:ae>=17?ae-17+10:ae,p(ae>=0&&se<z,"Invalid character"),X+=se}return X}function E(j,J){j.words=J.words,j.length=J.length,j.negative=J.negative,j.red=J.red}if(A.isBN=function(j){return j instanceof A||j!==null&&typeof j=="object"&&j.constructor.wordSize===A.wordSize&&Array.isArray(j.words)},A.max=function(j,J){return j.cmp(J)>0?j:J},A.min=function(j,J){return j.cmp(J)<0?j:J},A.prototype._init=function(j,J,q){if(typeof j=="number")return this._initNumber(j,J,q);if(typeof j=="object")return this._initArray(j,J,q);J==="hex"&&(J=16),p(J===(0|J)&&J>=2&&J<=36);var z=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(z++,this.negative=1),z<j.length&&(J===16?this._parseHex(j,z,q):(this._parseBase(j,J,z),q==="le"&&this._initArray(this.toArray(),J,q)))},A.prototype._initNumber=function(j,J,q){j<0&&(this.negative=1,j=-j),j<67108864?(this.words=[67108863&j],this.length=1):j<4503599627370496?(this.words=[67108863&j,j/67108864&67108863],this.length=2):(p(j<9007199254740992),this.words=[67108863&j,j/67108864&67108863,1],this.length=3),q==="le"&&this._initArray(this.toArray(),J,q)},A.prototype._initArray=function(j,J,q){if(p(typeof j.length=="number"),j.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(j.length/3),this.words=new Array(this.length);for(var z=0;z<this.length;z++)this.words[z]=0;var X,se,oe=0;if(q==="be")for(z=j.length-1,X=0;z>=0;z-=3)se=j[z]|j[z-1]<<8|j[z-2]<<16,this.words[X]|=se<<oe&67108863,this.words[X+1]=se>>>26-oe&67108863,(oe+=24)>=26&&(oe-=26,X++);else if(q==="le")for(z=0,X=0;z<j.length;z+=3)se=j[z]|j[z+1]<<8|j[z+2]<<16,this.words[X]|=se<<oe&67108863,this.words[X+1]=se>>>26-oe&67108863,(oe+=24)>=26&&(oe-=26,X++);return this._strip()},A.prototype._parseHex=function(j,J,q){this.length=Math.ceil((j.length-J)/6),this.words=new Array(this.length);for(var z=0;z<this.length;z++)this.words[z]=0;var X,se=0,oe=0;if(q==="be")for(z=j.length-1;z>=J;z-=2)X=b(j,J,z)<<se,this.words[oe]|=67108863&X,se>=18?(se-=18,oe+=1,this.words[oe]|=X>>>26):se+=8;else for(z=(j.length-J)%2==0?J+1:J;z<j.length;z+=2)X=b(j,J,z)<<se,this.words[oe]|=67108863&X,se>=18?(se-=18,oe+=1,this.words[oe]|=X>>>26):se+=8;this._strip()},A.prototype._parseBase=function(j,J,q){this.words=[0],this.length=1;for(var z=0,X=1;X<=67108863;X*=J)z++;z--,X=X/J|0;for(var se=j.length-q,oe=se%z,ye=Math.min(se,se-oe)+q,ae=0,me=q;me<ye;me+=z)ae=I(j,me,me+z,J),this.imuln(X),this.words[0]+ae<67108864?this.words[0]+=ae:this._iaddn(ae);if(oe!==0){var Fe=1;for(ae=I(j,me,j.length,J),me=0;me<oe;me++)Fe*=J;this.imuln(Fe),this.words[0]+ae<67108864?this.words[0]+=ae:this._iaddn(ae)}this._strip()},A.prototype.copy=function(j){j.words=new Array(this.length);for(var J=0;J<this.length;J++)j.words[J]=this.words[J];j.length=this.length,j.negative=this.negative,j.red=this.red},A.prototype._move=function(j){E(j,this)},A.prototype.clone=function(){var j=new A(null);return this.copy(j),j},A.prototype._expand=function(j){for(;this.length<j;)this.words[this.length++]=0;return this},A.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},A.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{A.prototype[Symbol.for("nodejs.util.inspect.custom")]=B}catch{A.prototype.inspect=B}else A.prototype.inspect=B;function B(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],_=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];A.prototype.toString=function(j,J){var q;if(J=0|J||1,(j=j||10)===16||j==="hex"){q="";for(var z=0,X=0,se=0;se<this.length;se++){var oe=this.words[se],ye=(16777215&(oe<<z|X)).toString(16);X=oe>>>24-z&16777215,(z+=2)>=26&&(z-=26,se--),q=X!==0||se!==this.length-1?S[6-ye.length]+ye+q:ye+q}for(X!==0&&(q=X.toString(16)+q);q.length%J!=0;)q="0"+q;return this.negative!==0&&(q="-"+q),q}if(j===(0|j)&&j>=2&&j<=36){var ae=_[j],me=D[j];q="";var Fe=this.clone();for(Fe.negative=0;!Fe.isZero();){var _e=Fe.modrn(me).toString(j);q=(Fe=Fe.idivn(me)).isZero()?_e+q:S[ae-_e.length]+_e+q}for(this.isZero()&&(q="0"+q);q.length%J!=0;)q="0"+q;return this.negative!==0&&(q="-"+q),q}p(!1,"Base should be between 2 and 36")},A.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},A.prototype.toJSON=function(){return this.toString(16,2)},m&&(A.prototype.toBuffer=function(j,J){return this.toArrayLike(m,j,J)}),A.prototype.toArray=function(j,J){return this.toArrayLike(Array,j,J)};var T=function(j,J){return j.allocUnsafe?j.allocUnsafe(J):new j(J)};function F(j){for(var J=new Array(j.bitLength()),q=0;q<J.length;q++){var z=q/26|0,X=q%26;J[q]=j.words[z]>>>X&1}return J}function N(j,J,q){q.negative=J.negative^j.negative;var z=j.length+J.length|0;q.length=z,z=z-1|0;var X=0|j.words[0],se=0|J.words[0],oe=X*se,ye=67108863&oe,ae=oe/67108864|0;q.words[0]=ye;for(var me=1;me<z;me++){for(var Fe=ae>>>26,_e=67108863&ae,rt=Math.min(me,J.length-1),et=Math.max(0,me-j.length+1);et<=rt;et++){var st=me-et|0;Fe+=(oe=(X=0|j.words[st])*(se=0|J.words[et])+_e)/67108864|0,_e=67108863&oe}q.words[me]=0|_e,ae=0|Fe}return ae!==0?q.words[me]=0|ae:q.length--,q._strip()}A.prototype.toArrayLike=function(j,J,q){this._strip();var z=this.byteLength(),X=q||Math.max(1,z);p(z<=X,"byte array longer than desired length"),p(X>0,"Requested array length <= 0");var se=T(j,X);return this["_toArrayLike"+(J==="le"?"LE":"BE")](se,z),se},A.prototype._toArrayLikeLE=function(j,J){for(var q=0,z=0,X=0,se=0;X<this.length;X++){var oe=this.words[X]<<se|z;j[q++]=255&oe,q<j.length&&(j[q++]=oe>>8&255),q<j.length&&(j[q++]=oe>>16&255),se===6?(q<j.length&&(j[q++]=oe>>24&255),z=0,se=0):(z=oe>>>24,se+=2)}if(q<j.length)for(j[q++]=z;q<j.length;)j[q++]=0},A.prototype._toArrayLikeBE=function(j,J){for(var q=j.length-1,z=0,X=0,se=0;X<this.length;X++){var oe=this.words[X]<<se|z;j[q--]=255&oe,q>=0&&(j[q--]=oe>>8&255),q>=0&&(j[q--]=oe>>16&255),se===6?(q>=0&&(j[q--]=oe>>24&255),z=0,se=0):(z=oe>>>24,se+=2)}if(q>=0)for(j[q--]=z;q>=0;)j[q--]=0},Math.clz32?A.prototype._countBits=function(j){return 32-Math.clz32(j)}:A.prototype._countBits=function(j){var J=j,q=0;return J>=4096&&(q+=13,J>>>=13),J>=64&&(q+=7,J>>>=7),J>=8&&(q+=4,J>>>=4),J>=2&&(q+=2,J>>>=2),q+J},A.prototype._zeroBits=function(j){if(j===0)return 26;var J=j,q=0;return 8191&J||(q+=13,J>>>=13),127&J||(q+=7,J>>>=7),15&J||(q+=4,J>>>=4),3&J||(q+=2,J>>>=2),1&J||q++,q},A.prototype.bitLength=function(){var j=this.words[this.length-1],J=this._countBits(j);return 26*(this.length-1)+J},A.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,J=0;J<this.length;J++){var q=this._zeroBits(this.words[J]);if(j+=q,q!==26)break}return j},A.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},A.prototype.toTwos=function(j){return this.negative!==0?this.abs().inotn(j).iaddn(1):this.clone()},A.prototype.fromTwos=function(j){return this.testn(j-1)?this.notn(j).iaddn(1).ineg():this.clone()},A.prototype.isNeg=function(){return this.negative!==0},A.prototype.neg=function(){return this.clone().ineg()},A.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},A.prototype.iuor=function(j){for(;this.length<j.length;)this.words[this.length++]=0;for(var J=0;J<j.length;J++)this.words[J]=this.words[J]|j.words[J];return this._strip()},A.prototype.ior=function(j){return p(!(this.negative|j.negative)),this.iuor(j)},A.prototype.or=function(j){return this.length>j.length?this.clone().ior(j):j.clone().ior(this)},A.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},A.prototype.iuand=function(j){var J;J=this.length>j.length?j:this;for(var q=0;q<J.length;q++)this.words[q]=this.words[q]&j.words[q];return this.length=J.length,this._strip()},A.prototype.iand=function(j){return p(!(this.negative|j.negative)),this.iuand(j)},A.prototype.and=function(j){return this.length>j.length?this.clone().iand(j):j.clone().iand(this)},A.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},A.prototype.iuxor=function(j){var J,q;this.length>j.length?(J=this,q=j):(J=j,q=this);for(var z=0;z<q.length;z++)this.words[z]=J.words[z]^q.words[z];if(this!==J)for(;z<J.length;z++)this.words[z]=J.words[z];return this.length=J.length,this._strip()},A.prototype.ixor=function(j){return p(!(this.negative|j.negative)),this.iuxor(j)},A.prototype.xor=function(j){return this.length>j.length?this.clone().ixor(j):j.clone().ixor(this)},A.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},A.prototype.inotn=function(j){p(typeof j=="number"&&j>=0);var J=0|Math.ceil(j/26),q=j%26;this._expand(J),q>0&&J--;for(var z=0;z<J;z++)this.words[z]=67108863&~this.words[z];return q>0&&(this.words[z]=~this.words[z]&67108863>>26-q),this._strip()},A.prototype.notn=function(j){return this.clone().inotn(j)},A.prototype.setn=function(j,J){p(typeof j=="number"&&j>=0);var q=j/26|0,z=j%26;return this._expand(q+1),this.words[q]=J?this.words[q]|1<<z:this.words[q]&~(1<<z),this._strip()},A.prototype.iadd=function(j){var J,q,z;if(this.negative!==0&&j.negative===0)return this.negative=0,J=this.isub(j),this.negative^=1,this._normSign();if(this.negative===0&&j.negative!==0)return j.negative=0,J=this.isub(j),j.negative=1,J._normSign();this.length>j.length?(q=this,z=j):(q=j,z=this);for(var X=0,se=0;se<z.length;se++)J=(0|q.words[se])+(0|z.words[se])+X,this.words[se]=67108863&J,X=J>>>26;for(;X!==0&&se<q.length;se++)J=(0|q.words[se])+X,this.words[se]=67108863&J,X=J>>>26;if(this.length=q.length,X!==0)this.words[this.length]=X,this.length++;else if(q!==this)for(;se<q.length;se++)this.words[se]=q.words[se];return this},A.prototype.add=function(j){var J;return j.negative!==0&&this.negative===0?(j.negative=0,J=this.sub(j),j.negative^=1,J):j.negative===0&&this.negative!==0?(this.negative=0,J=j.sub(this),this.negative=1,J):this.length>j.length?this.clone().iadd(j):j.clone().iadd(this)},A.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var J=this.iadd(j);return j.negative=1,J._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var q,z,X=this.cmp(j);if(X===0)return this.negative=0,this.length=1,this.words[0]=0,this;X>0?(q=this,z=j):(q=j,z=this);for(var se=0,oe=0;oe<z.length;oe++)se=(J=(0|q.words[oe])-(0|z.words[oe])+se)>>26,this.words[oe]=67108863&J;for(;se!==0&&oe<q.length;oe++)se=(J=(0|q.words[oe])+se)>>26,this.words[oe]=67108863&J;if(se===0&&oe<q.length&&q!==this)for(;oe<q.length;oe++)this.words[oe]=q.words[oe];return this.length=Math.max(this.length,oe),q!==this&&(this.negative=1),this._strip()},A.prototype.sub=function(j){return this.clone().isub(j)};var H=function(j,J,q){var z,X,se,oe=j.words,ye=J.words,ae=q.words,me=0,Fe=0|oe[0],_e=8191&Fe,rt=Fe>>>13,et=0|oe[1],st=8191&et,Ge=et>>>13,Be=0|oe[2],Te=8191&Be,je=Be>>>13,lt=0|oe[3],Me=8191&lt,Ke=lt>>>13,Rt=0|oe[4],Ie=8191&Rt,Re=Rt>>>13,qe=0|oe[5],pt=8191&qe,Lt=qe>>>13,Qe=0|oe[6],_t=8191&Qe,Ft=Qe>>>13,Ze=0|oe[7],$e=8191&Ze,nt=Ze>>>13,Ot=0|oe[8],He=8191&Ot,Je=Ot>>>13,tt=0|oe[9],mt=8191&tt,Xe=tt>>>13,Ye=0|ye[0],ot=8191&Ye,yt=Ye>>>13,Mt=0|ye[1],cr=8191&Mt,$t=Mt>>>13,Hr=0|ye[2],mr=8191&Hr,sr=Hr>>>13,Yr=0|ye[3],Mr=8191&Yr,Dr=Yr>>>13,nn=0|ye[4],Sr=8191&nn,tn=nn>>>13,Cn=0|ye[5],Jn=8191&Cn,Rr=Cn>>>13,An=0|ye[6],dn=8191&An,br=An>>>13,gn=0|ye[7],wn=8191&gn,kn=gn>>>13,Dn=0|ye[8],oi=8191&Dn,Kr=Dn>>>13,On=0|ye[9],Ci=8191&On,li=On>>>13;q.negative=j.negative^J.negative,q.length=19;var ia=(me+(z=Math.imul(_e,ot))|0)+((8191&(X=(X=Math.imul(_e,yt))+Math.imul(rt,ot)|0))<<13)|0;me=((se=Math.imul(rt,yt))+(X>>>13)|0)+(ia>>>26)|0,ia&=67108863,z=Math.imul(st,ot),X=(X=Math.imul(st,yt))+Math.imul(Ge,ot)|0,se=Math.imul(Ge,yt);var ht=(me+(z=z+Math.imul(_e,cr)|0)|0)+((8191&(X=(X=X+Math.imul(_e,$t)|0)+Math.imul(rt,cr)|0))<<13)|0;me=((se=se+Math.imul(rt,$t)|0)+(X>>>13)|0)+(ht>>>26)|0,ht&=67108863,z=Math.imul(Te,ot),X=(X=Math.imul(Te,yt))+Math.imul(je,ot)|0,se=Math.imul(je,yt),z=z+Math.imul(st,cr)|0,X=(X=X+Math.imul(st,$t)|0)+Math.imul(Ge,cr)|0,se=se+Math.imul(Ge,$t)|0;var Pt=(me+(z=z+Math.imul(_e,mr)|0)|0)+((8191&(X=(X=X+Math.imul(_e,sr)|0)+Math.imul(rt,mr)|0))<<13)|0;me=((se=se+Math.imul(rt,sr)|0)+(X>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,z=Math.imul(Me,ot),X=(X=Math.imul(Me,yt))+Math.imul(Ke,ot)|0,se=Math.imul(Ke,yt),z=z+Math.imul(Te,cr)|0,X=(X=X+Math.imul(Te,$t)|0)+Math.imul(je,cr)|0,se=se+Math.imul(je,$t)|0,z=z+Math.imul(st,mr)|0,X=(X=X+Math.imul(st,sr)|0)+Math.imul(Ge,mr)|0,se=se+Math.imul(Ge,sr)|0;var Zt=(me+(z=z+Math.imul(_e,Mr)|0)|0)+((8191&(X=(X=X+Math.imul(_e,Dr)|0)+Math.imul(rt,Mr)|0))<<13)|0;me=((se=se+Math.imul(rt,Dr)|0)+(X>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,z=Math.imul(Ie,ot),X=(X=Math.imul(Ie,yt))+Math.imul(Re,ot)|0,se=Math.imul(Re,yt),z=z+Math.imul(Me,cr)|0,X=(X=X+Math.imul(Me,$t)|0)+Math.imul(Ke,cr)|0,se=se+Math.imul(Ke,$t)|0,z=z+Math.imul(Te,mr)|0,X=(X=X+Math.imul(Te,sr)|0)+Math.imul(je,mr)|0,se=se+Math.imul(je,sr)|0,z=z+Math.imul(st,Mr)|0,X=(X=X+Math.imul(st,Dr)|0)+Math.imul(Ge,Mr)|0,se=se+Math.imul(Ge,Dr)|0;var vn=(me+(z=z+Math.imul(_e,Sr)|0)|0)+((8191&(X=(X=X+Math.imul(_e,tn)|0)+Math.imul(rt,Sr)|0))<<13)|0;me=((se=se+Math.imul(rt,tn)|0)+(X>>>13)|0)+(vn>>>26)|0,vn&=67108863,z=Math.imul(pt,ot),X=(X=Math.imul(pt,yt))+Math.imul(Lt,ot)|0,se=Math.imul(Lt,yt),z=z+Math.imul(Ie,cr)|0,X=(X=X+Math.imul(Ie,$t)|0)+Math.imul(Re,cr)|0,se=se+Math.imul(Re,$t)|0,z=z+Math.imul(Me,mr)|0,X=(X=X+Math.imul(Me,sr)|0)+Math.imul(Ke,mr)|0,se=se+Math.imul(Ke,sr)|0,z=z+Math.imul(Te,Mr)|0,X=(X=X+Math.imul(Te,Dr)|0)+Math.imul(je,Mr)|0,se=se+Math.imul(je,Dr)|0,z=z+Math.imul(st,Sr)|0,X=(X=X+Math.imul(st,tn)|0)+Math.imul(Ge,Sr)|0,se=se+Math.imul(Ge,tn)|0;var jn=(me+(z=z+Math.imul(_e,Jn)|0)|0)+((8191&(X=(X=X+Math.imul(_e,Rr)|0)+Math.imul(rt,Jn)|0))<<13)|0;me=((se=se+Math.imul(rt,Rr)|0)+(X>>>13)|0)+(jn>>>26)|0,jn&=67108863,z=Math.imul(_t,ot),X=(X=Math.imul(_t,yt))+Math.imul(Ft,ot)|0,se=Math.imul(Ft,yt),z=z+Math.imul(pt,cr)|0,X=(X=X+Math.imul(pt,$t)|0)+Math.imul(Lt,cr)|0,se=se+Math.imul(Lt,$t)|0,z=z+Math.imul(Ie,mr)|0,X=(X=X+Math.imul(Ie,sr)|0)+Math.imul(Re,mr)|0,se=se+Math.imul(Re,sr)|0,z=z+Math.imul(Me,Mr)|0,X=(X=X+Math.imul(Me,Dr)|0)+Math.imul(Ke,Mr)|0,se=se+Math.imul(Ke,Dr)|0,z=z+Math.imul(Te,Sr)|0,X=(X=X+Math.imul(Te,tn)|0)+Math.imul(je,Sr)|0,se=se+Math.imul(je,tn)|0,z=z+Math.imul(st,Jn)|0,X=(X=X+Math.imul(st,Rr)|0)+Math.imul(Ge,Jn)|0,se=se+Math.imul(Ge,Rr)|0;var ba=(me+(z=z+Math.imul(_e,dn)|0)|0)+((8191&(X=(X=X+Math.imul(_e,br)|0)+Math.imul(rt,dn)|0))<<13)|0;me=((se=se+Math.imul(rt,br)|0)+(X>>>13)|0)+(ba>>>26)|0,ba&=67108863,z=Math.imul($e,ot),X=(X=Math.imul($e,yt))+Math.imul(nt,ot)|0,se=Math.imul(nt,yt),z=z+Math.imul(_t,cr)|0,X=(X=X+Math.imul(_t,$t)|0)+Math.imul(Ft,cr)|0,se=se+Math.imul(Ft,$t)|0,z=z+Math.imul(pt,mr)|0,X=(X=X+Math.imul(pt,sr)|0)+Math.imul(Lt,mr)|0,se=se+Math.imul(Lt,sr)|0,z=z+Math.imul(Ie,Mr)|0,X=(X=X+Math.imul(Ie,Dr)|0)+Math.imul(Re,Mr)|0,se=se+Math.imul(Re,Dr)|0,z=z+Math.imul(Me,Sr)|0,X=(X=X+Math.imul(Me,tn)|0)+Math.imul(Ke,Sr)|0,se=se+Math.imul(Ke,tn)|0,z=z+Math.imul(Te,Jn)|0,X=(X=X+Math.imul(Te,Rr)|0)+Math.imul(je,Jn)|0,se=se+Math.imul(je,Rr)|0,z=z+Math.imul(st,dn)|0,X=(X=X+Math.imul(st,br)|0)+Math.imul(Ge,dn)|0,se=se+Math.imul(Ge,br)|0;var aa=(me+(z=z+Math.imul(_e,wn)|0)|0)+((8191&(X=(X=X+Math.imul(_e,kn)|0)+Math.imul(rt,wn)|0))<<13)|0;me=((se=se+Math.imul(rt,kn)|0)+(X>>>13)|0)+(aa>>>26)|0,aa&=67108863,z=Math.imul(He,ot),X=(X=Math.imul(He,yt))+Math.imul(Je,ot)|0,se=Math.imul(Je,yt),z=z+Math.imul($e,cr)|0,X=(X=X+Math.imul($e,$t)|0)+Math.imul(nt,cr)|0,se=se+Math.imul(nt,$t)|0,z=z+Math.imul(_t,mr)|0,X=(X=X+Math.imul(_t,sr)|0)+Math.imul(Ft,mr)|0,se=se+Math.imul(Ft,sr)|0,z=z+Math.imul(pt,Mr)|0,X=(X=X+Math.imul(pt,Dr)|0)+Math.imul(Lt,Mr)|0,se=se+Math.imul(Lt,Dr)|0,z=z+Math.imul(Ie,Sr)|0,X=(X=X+Math.imul(Ie,tn)|0)+Math.imul(Re,Sr)|0,se=se+Math.imul(Re,tn)|0,z=z+Math.imul(Me,Jn)|0,X=(X=X+Math.imul(Me,Rr)|0)+Math.imul(Ke,Jn)|0,se=se+Math.imul(Ke,Rr)|0,z=z+Math.imul(Te,dn)|0,X=(X=X+Math.imul(Te,br)|0)+Math.imul(je,dn)|0,se=se+Math.imul(je,br)|0,z=z+Math.imul(st,wn)|0,X=(X=X+Math.imul(st,kn)|0)+Math.imul(Ge,wn)|0,se=se+Math.imul(Ge,kn)|0;var wo=(me+(z=z+Math.imul(_e,oi)|0)|0)+((8191&(X=(X=X+Math.imul(_e,Kr)|0)+Math.imul(rt,oi)|0))<<13)|0;me=((se=se+Math.imul(rt,Kr)|0)+(X>>>13)|0)+(wo>>>26)|0,wo&=67108863,z=Math.imul(mt,ot),X=(X=Math.imul(mt,yt))+Math.imul(Xe,ot)|0,se=Math.imul(Xe,yt),z=z+Math.imul(He,cr)|0,X=(X=X+Math.imul(He,$t)|0)+Math.imul(Je,cr)|0,se=se+Math.imul(Je,$t)|0,z=z+Math.imul($e,mr)|0,X=(X=X+Math.imul($e,sr)|0)+Math.imul(nt,mr)|0,se=se+Math.imul(nt,sr)|0,z=z+Math.imul(_t,Mr)|0,X=(X=X+Math.imul(_t,Dr)|0)+Math.imul(Ft,Mr)|0,se=se+Math.imul(Ft,Dr)|0,z=z+Math.imul(pt,Sr)|0,X=(X=X+Math.imul(pt,tn)|0)+Math.imul(Lt,Sr)|0,se=se+Math.imul(Lt,tn)|0,z=z+Math.imul(Ie,Jn)|0,X=(X=X+Math.imul(Ie,Rr)|0)+Math.imul(Re,Jn)|0,se=se+Math.imul(Re,Rr)|0,z=z+Math.imul(Me,dn)|0,X=(X=X+Math.imul(Me,br)|0)+Math.imul(Ke,dn)|0,se=se+Math.imul(Ke,br)|0,z=z+Math.imul(Te,wn)|0,X=(X=X+Math.imul(Te,kn)|0)+Math.imul(je,wn)|0,se=se+Math.imul(je,kn)|0,z=z+Math.imul(st,oi)|0,X=(X=X+Math.imul(st,Kr)|0)+Math.imul(Ge,oi)|0,se=se+Math.imul(Ge,Kr)|0;var is=(me+(z=z+Math.imul(_e,Ci)|0)|0)+((8191&(X=(X=X+Math.imul(_e,li)|0)+Math.imul(rt,Ci)|0))<<13)|0;me=((se=se+Math.imul(rt,li)|0)+(X>>>13)|0)+(is>>>26)|0,is&=67108863,z=Math.imul(mt,cr),X=(X=Math.imul(mt,$t))+Math.imul(Xe,cr)|0,se=Math.imul(Xe,$t),z=z+Math.imul(He,mr)|0,X=(X=X+Math.imul(He,sr)|0)+Math.imul(Je,mr)|0,se=se+Math.imul(Je,sr)|0,z=z+Math.imul($e,Mr)|0,X=(X=X+Math.imul($e,Dr)|0)+Math.imul(nt,Mr)|0,se=se+Math.imul(nt,Dr)|0,z=z+Math.imul(_t,Sr)|0,X=(X=X+Math.imul(_t,tn)|0)+Math.imul(Ft,Sr)|0,se=se+Math.imul(Ft,tn)|0,z=z+Math.imul(pt,Jn)|0,X=(X=X+Math.imul(pt,Rr)|0)+Math.imul(Lt,Jn)|0,se=se+Math.imul(Lt,Rr)|0,z=z+Math.imul(Ie,dn)|0,X=(X=X+Math.imul(Ie,br)|0)+Math.imul(Re,dn)|0,se=se+Math.imul(Re,br)|0,z=z+Math.imul(Me,wn)|0,X=(X=X+Math.imul(Me,kn)|0)+Math.imul(Ke,wn)|0,se=se+Math.imul(Ke,kn)|0,z=z+Math.imul(Te,oi)|0,X=(X=X+Math.imul(Te,Kr)|0)+Math.imul(je,oi)|0,se=se+Math.imul(je,Kr)|0;var as=(me+(z=z+Math.imul(st,Ci)|0)|0)+((8191&(X=(X=X+Math.imul(st,li)|0)+Math.imul(Ge,Ci)|0))<<13)|0;me=((se=se+Math.imul(Ge,li)|0)+(X>>>13)|0)+(as>>>26)|0,as&=67108863,z=Math.imul(mt,mr),X=(X=Math.imul(mt,sr))+Math.imul(Xe,mr)|0,se=Math.imul(Xe,sr),z=z+Math.imul(He,Mr)|0,X=(X=X+Math.imul(He,Dr)|0)+Math.imul(Je,Mr)|0,se=se+Math.imul(Je,Dr)|0,z=z+Math.imul($e,Sr)|0,X=(X=X+Math.imul($e,tn)|0)+Math.imul(nt,Sr)|0,se=se+Math.imul(nt,tn)|0,z=z+Math.imul(_t,Jn)|0,X=(X=X+Math.imul(_t,Rr)|0)+Math.imul(Ft,Jn)|0,se=se+Math.imul(Ft,Rr)|0,z=z+Math.imul(pt,dn)|0,X=(X=X+Math.imul(pt,br)|0)+Math.imul(Lt,dn)|0,se=se+Math.imul(Lt,br)|0,z=z+Math.imul(Ie,wn)|0,X=(X=X+Math.imul(Ie,kn)|0)+Math.imul(Re,wn)|0,se=se+Math.imul(Re,kn)|0,z=z+Math.imul(Me,oi)|0,X=(X=X+Math.imul(Me,Kr)|0)+Math.imul(Ke,oi)|0,se=se+Math.imul(Ke,Kr)|0;var vs=(me+(z=z+Math.imul(Te,Ci)|0)|0)+((8191&(X=(X=X+Math.imul(Te,li)|0)+Math.imul(je,Ci)|0))<<13)|0;me=((se=se+Math.imul(je,li)|0)+(X>>>13)|0)+(vs>>>26)|0,vs&=67108863,z=Math.imul(mt,Mr),X=(X=Math.imul(mt,Dr))+Math.imul(Xe,Mr)|0,se=Math.imul(Xe,Dr),z=z+Math.imul(He,Sr)|0,X=(X=X+Math.imul(He,tn)|0)+Math.imul(Je,Sr)|0,se=se+Math.imul(Je,tn)|0,z=z+Math.imul($e,Jn)|0,X=(X=X+Math.imul($e,Rr)|0)+Math.imul(nt,Jn)|0,se=se+Math.imul(nt,Rr)|0,z=z+Math.imul(_t,dn)|0,X=(X=X+Math.imul(_t,br)|0)+Math.imul(Ft,dn)|0,se=se+Math.imul(Ft,br)|0,z=z+Math.imul(pt,wn)|0,X=(X=X+Math.imul(pt,kn)|0)+Math.imul(Lt,wn)|0,se=se+Math.imul(Lt,kn)|0,z=z+Math.imul(Ie,oi)|0,X=(X=X+Math.imul(Ie,Kr)|0)+Math.imul(Re,oi)|0,se=se+Math.imul(Re,Kr)|0;var lo=(me+(z=z+Math.imul(Me,Ci)|0)|0)+((8191&(X=(X=X+Math.imul(Me,li)|0)+Math.imul(Ke,Ci)|0))<<13)|0;me=((se=se+Math.imul(Ke,li)|0)+(X>>>13)|0)+(lo>>>26)|0,lo&=67108863,z=Math.imul(mt,Sr),X=(X=Math.imul(mt,tn))+Math.imul(Xe,Sr)|0,se=Math.imul(Xe,tn),z=z+Math.imul(He,Jn)|0,X=(X=X+Math.imul(He,Rr)|0)+Math.imul(Je,Jn)|0,se=se+Math.imul(Je,Rr)|0,z=z+Math.imul($e,dn)|0,X=(X=X+Math.imul($e,br)|0)+Math.imul(nt,dn)|0,se=se+Math.imul(nt,br)|0,z=z+Math.imul(_t,wn)|0,X=(X=X+Math.imul(_t,kn)|0)+Math.imul(Ft,wn)|0,se=se+Math.imul(Ft,kn)|0,z=z+Math.imul(pt,oi)|0,X=(X=X+Math.imul(pt,Kr)|0)+Math.imul(Lt,oi)|0,se=se+Math.imul(Lt,Kr)|0;var ra=(me+(z=z+Math.imul(Ie,Ci)|0)|0)+((8191&(X=(X=X+Math.imul(Ie,li)|0)+Math.imul(Re,Ci)|0))<<13)|0;me=((se=se+Math.imul(Re,li)|0)+(X>>>13)|0)+(ra>>>26)|0,ra&=67108863,z=Math.imul(mt,Jn),X=(X=Math.imul(mt,Rr))+Math.imul(Xe,Jn)|0,se=Math.imul(Xe,Rr),z=z+Math.imul(He,dn)|0,X=(X=X+Math.imul(He,br)|0)+Math.imul(Je,dn)|0,se=se+Math.imul(Je,br)|0,z=z+Math.imul($e,wn)|0,X=(X=X+Math.imul($e,kn)|0)+Math.imul(nt,wn)|0,se=se+Math.imul(nt,kn)|0,z=z+Math.imul(_t,oi)|0,X=(X=X+Math.imul(_t,Kr)|0)+Math.imul(Ft,oi)|0,se=se+Math.imul(Ft,Kr)|0;var pi=(me+(z=z+Math.imul(pt,Ci)|0)|0)+((8191&(X=(X=X+Math.imul(pt,li)|0)+Math.imul(Lt,Ci)|0))<<13)|0;me=((se=se+Math.imul(Lt,li)|0)+(X>>>13)|0)+(pi>>>26)|0,pi&=67108863,z=Math.imul(mt,dn),X=(X=Math.imul(mt,br))+Math.imul(Xe,dn)|0,se=Math.imul(Xe,br),z=z+Math.imul(He,wn)|0,X=(X=X+Math.imul(He,kn)|0)+Math.imul(Je,wn)|0,se=se+Math.imul(Je,kn)|0,z=z+Math.imul($e,oi)|0,X=(X=X+Math.imul($e,Kr)|0)+Math.imul(nt,oi)|0,se=se+Math.imul(nt,Kr)|0;var Ms=(me+(z=z+Math.imul(_t,Ci)|0)|0)+((8191&(X=(X=X+Math.imul(_t,li)|0)+Math.imul(Ft,Ci)|0))<<13)|0;me=((se=se+Math.imul(Ft,li)|0)+(X>>>13)|0)+(Ms>>>26)|0,Ms&=67108863,z=Math.imul(mt,wn),X=(X=Math.imul(mt,kn))+Math.imul(Xe,wn)|0,se=Math.imul(Xe,kn),z=z+Math.imul(He,oi)|0,X=(X=X+Math.imul(He,Kr)|0)+Math.imul(Je,oi)|0,se=se+Math.imul(Je,Kr)|0;var Fs=(me+(z=z+Math.imul($e,Ci)|0)|0)+((8191&(X=(X=X+Math.imul($e,li)|0)+Math.imul(nt,Ci)|0))<<13)|0;me=((se=se+Math.imul(nt,li)|0)+(X>>>13)|0)+(Fs>>>26)|0,Fs&=67108863,z=Math.imul(mt,oi),X=(X=Math.imul(mt,Kr))+Math.imul(Xe,oi)|0,se=Math.imul(Xe,Kr);var zu=(me+(z=z+Math.imul(He,Ci)|0)|0)+((8191&(X=(X=X+Math.imul(He,li)|0)+Math.imul(Je,Ci)|0))<<13)|0;me=((se=se+Math.imul(Je,li)|0)+(X>>>13)|0)+(zu>>>26)|0,zu&=67108863;var Ul=(me+(z=Math.imul(mt,Ci))|0)+((8191&(X=(X=Math.imul(mt,li))+Math.imul(Xe,Ci)|0))<<13)|0;return me=((se=Math.imul(Xe,li))+(X>>>13)|0)+(Ul>>>26)|0,Ul&=67108863,ae[0]=ia,ae[1]=ht,ae[2]=Pt,ae[3]=Zt,ae[4]=vn,ae[5]=jn,ae[6]=ba,ae[7]=aa,ae[8]=wo,ae[9]=is,ae[10]=as,ae[11]=vs,ae[12]=lo,ae[13]=ra,ae[14]=pi,ae[15]=Ms,ae[16]=Fs,ae[17]=zu,ae[18]=Ul,me!==0&&(ae[19]=me,q.length++),q};function W(j,J,q){q.negative=J.negative^j.negative,q.length=j.length+J.length;for(var z=0,X=0,se=0;se<q.length-1;se++){var oe=X;X=0;for(var ye=67108863&z,ae=Math.min(se,J.length-1),me=Math.max(0,se-j.length+1);me<=ae;me++){var Fe=se-me,_e=(0|j.words[Fe])*(0|J.words[me]),rt=67108863&_e;ye=67108863&(rt=rt+ye|0),X+=(oe=(oe=oe+(_e/67108864|0)|0)+(rt>>>26)|0)>>>26,oe&=67108863}q.words[se]=ye,z=oe,oe=X}return z!==0?q.words[se]=z:q.length--,q._strip()}function V(j,J,q){return W(j,J,q)}Math.imul||(H=N),A.prototype.mulTo=function(j,J){var q=this.length+j.length;return this.length===10&&j.length===10?H(this,j,J):q<63?N(this,j,J):q<1024?W(this,j,J):V(this,j,J)},A.prototype.mul=function(j){var J=new A(null);return J.words=new Array(this.length+j.length),this.mulTo(j,J)},A.prototype.mulf=function(j){var J=new A(null);return J.words=new Array(this.length+j.length),V(this,j,J)},A.prototype.imul=function(j){return this.clone().mulTo(j,this)},A.prototype.imuln=function(j){var J=j<0;J&&(j=-j),p(typeof j=="number"),p(j<67108864);for(var q=0,z=0;z<this.length;z++){var X=(0|this.words[z])*j,se=(67108863&X)+(67108863&q);q>>=26,q+=X/67108864|0,q+=se>>>26,this.words[z]=67108863&se}return q!==0&&(this.words[z]=q,this.length++),J?this.ineg():this},A.prototype.muln=function(j){return this.clone().imuln(j)},A.prototype.sqr=function(){return this.mul(this)},A.prototype.isqr=function(){return this.imul(this.clone())},A.prototype.pow=function(j){var J=F(j);if(J.length===0)return new A(1);for(var q=this,z=0;z<J.length&&J[z]===0;z++,q=q.sqr());if(++z<J.length)for(var X=q.sqr();z<J.length;z++,X=X.sqr())J[z]!==0&&(q=q.mul(X));return q},A.prototype.iushln=function(j){p(typeof j=="number"&&j>=0);var J,q=j%26,z=(j-q)/26,X=67108863>>>26-q<<26-q;if(q!==0){var se=0;for(J=0;J<this.length;J++){var oe=this.words[J]&X,ye=(0|this.words[J])-oe<<q;this.words[J]=ye|se,se=oe>>>26-q}se&&(this.words[J]=se,this.length++)}if(z!==0){for(J=this.length-1;J>=0;J--)this.words[J+z]=this.words[J];for(J=0;J<z;J++)this.words[J]=0;this.length+=z}return this._strip()},A.prototype.ishln=function(j){return p(this.negative===0),this.iushln(j)},A.prototype.iushrn=function(j,J,q){var z;p(typeof j=="number"&&j>=0),z=J?(J-J%26)/26:0;var X=j%26,se=Math.min((j-X)/26,this.length),oe=67108863^67108863>>>X<<X,ye=q;if(z-=se,z=Math.max(0,z),ye){for(var ae=0;ae<se;ae++)ye.words[ae]=this.words[ae];ye.length=se}if(se!==0)if(this.length>se)for(this.length-=se,ae=0;ae<this.length;ae++)this.words[ae]=this.words[ae+se];else this.words[0]=0,this.length=1;var me=0;for(ae=this.length-1;ae>=0&&(me!==0||ae>=z);ae--){var Fe=0|this.words[ae];this.words[ae]=me<<26-X|Fe>>>X,me=Fe&oe}return ye&&me!==0&&(ye.words[ye.length++]=me),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},A.prototype.ishrn=function(j,J,q){return p(this.negative===0),this.iushrn(j,J,q)},A.prototype.shln=function(j){return this.clone().ishln(j)},A.prototype.ushln=function(j){return this.clone().iushln(j)},A.prototype.shrn=function(j){return this.clone().ishrn(j)},A.prototype.ushrn=function(j){return this.clone().iushrn(j)},A.prototype.testn=function(j){p(typeof j=="number"&&j>=0);var J=j%26,q=(j-J)/26,z=1<<J;return!(this.length<=q||!(this.words[q]&z))},A.prototype.imaskn=function(j){p(typeof j=="number"&&j>=0);var J=j%26,q=(j-J)/26;if(p(this.negative===0,"imaskn works only with positive numbers"),this.length<=q)return this;if(J!==0&&q++,this.length=Math.min(q,this.length),J!==0){var z=67108863^67108863>>>J<<J;this.words[this.length-1]&=z}return this._strip()},A.prototype.maskn=function(j){return this.clone().imaskn(j)},A.prototype.iaddn=function(j){return p(typeof j=="number"),p(j<67108864),j<0?this.isubn(-j):this.negative!==0?this.length===1&&(0|this.words[0])<=j?(this.words[0]=j-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(j),this.negative=1,this):this._iaddn(j)},A.prototype._iaddn=function(j){this.words[0]+=j;for(var J=0;J<this.length&&this.words[J]>=67108864;J++)this.words[J]-=67108864,J===this.length-1?this.words[J+1]=1:this.words[J+1]++;return this.length=Math.max(this.length,J+1),this},A.prototype.isubn=function(j){if(p(typeof j=="number"),p(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var J=0;J<this.length&&this.words[J]<0;J++)this.words[J]+=67108864,this.words[J+1]-=1;return this._strip()},A.prototype.addn=function(j){return this.clone().iaddn(j)},A.prototype.subn=function(j){return this.clone().isubn(j)},A.prototype.iabs=function(){return this.negative=0,this},A.prototype.abs=function(){return this.clone().iabs()},A.prototype._ishlnsubmul=function(j,J,q){var z,X,se=j.length+q;this._expand(se);var oe=0;for(z=0;z<j.length;z++){X=(0|this.words[z+q])+oe;var ye=(0|j.words[z])*J;oe=((X-=67108863&ye)>>26)-(ye/67108864|0),this.words[z+q]=67108863&X}for(;z<this.length-q;z++)oe=(X=(0|this.words[z+q])+oe)>>26,this.words[z+q]=67108863&X;if(oe===0)return this._strip();for(p(oe===-1),oe=0,z=0;z<this.length;z++)oe=(X=-(0|this.words[z])+oe)>>26,this.words[z]=67108863&X;return this.negative=1,this._strip()},A.prototype._wordDiv=function(j,J){var q=this.length-j.length,z=this.clone(),X=j,se=0|X.words[X.length-1];(q=26-this._countBits(se))!=0&&(X=X.ushln(q),z.iushln(q),se=0|X.words[X.length-1]);var oe,ye=z.length-X.length;if(J!=="mod"){(oe=new A(null)).length=ye+1,oe.words=new Array(oe.length);for(var ae=0;ae<oe.length;ae++)oe.words[ae]=0}var me=z.clone()._ishlnsubmul(X,1,ye);me.negative===0&&(z=me,oe&&(oe.words[ye]=1));for(var Fe=ye-1;Fe>=0;Fe--){var _e=67108864*(0|z.words[X.length+Fe])+(0|z.words[X.length+Fe-1]);for(_e=Math.min(_e/se|0,67108863),z._ishlnsubmul(X,_e,Fe);z.negative!==0;)_e--,z.negative=0,z._ishlnsubmul(X,1,Fe),z.isZero()||(z.negative^=1);oe&&(oe.words[Fe]=_e)}return oe&&oe._strip(),z._strip(),J!=="div"&&q!==0&&z.iushrn(q),{div:oe||null,mod:z}},A.prototype.divmod=function(j,J,q){return p(!j.isZero()),this.isZero()?{div:new A(0),mod:new A(0)}:this.negative!==0&&j.negative===0?(se=this.neg().divmod(j,J),J!=="mod"&&(z=se.div.neg()),J!=="div"&&(X=se.mod.neg(),q&&X.negative!==0&&X.iadd(j)),{div:z,mod:X}):this.negative===0&&j.negative!==0?(se=this.divmod(j.neg(),J),J!=="mod"&&(z=se.div.neg()),{div:z,mod:se.mod}):this.negative&j.negative?(se=this.neg().divmod(j.neg(),J),J!=="div"&&(X=se.mod.neg(),q&&X.negative!==0&&X.isub(j)),{div:se.div,mod:X}):j.length>this.length||this.cmp(j)<0?{div:new A(0),mod:this}:j.length===1?J==="div"?{div:this.divn(j.words[0]),mod:null}:J==="mod"?{div:null,mod:new A(this.modrn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new A(this.modrn(j.words[0]))}:this._wordDiv(j,J);var z,X,se},A.prototype.div=function(j){return this.divmod(j,"div",!1).div},A.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},A.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},A.prototype.divRound=function(j){var J=this.divmod(j);if(J.mod.isZero())return J.div;var q=J.div.negative!==0?J.mod.isub(j):J.mod,z=j.ushrn(1),X=j.andln(1),se=q.cmp(z);return se<0||X===1&&se===0?J.div:J.div.negative!==0?J.div.isubn(1):J.div.iaddn(1)},A.prototype.modrn=function(j){var J=j<0;J&&(j=-j),p(j<=67108863);for(var q=(1<<26)%j,z=0,X=this.length-1;X>=0;X--)z=(q*z+(0|this.words[X]))%j;return J?-z:z},A.prototype.modn=function(j){return this.modrn(j)},A.prototype.idivn=function(j){var J=j<0;J&&(j=-j),p(j<=67108863);for(var q=0,z=this.length-1;z>=0;z--){var X=(0|this.words[z])+67108864*q;this.words[z]=X/j|0,q=X%j}return this._strip(),J?this.ineg():this},A.prototype.divn=function(j){return this.clone().idivn(j)},A.prototype.egcd=function(j){p(j.negative===0),p(!j.isZero());var J=this,q=j.clone();J=J.negative!==0?J.umod(j):J.clone();for(var z=new A(1),X=new A(0),se=new A(0),oe=new A(1),ye=0;J.isEven()&&q.isEven();)J.iushrn(1),q.iushrn(1),++ye;for(var ae=q.clone(),me=J.clone();!J.isZero();){for(var Fe=0,_e=1;!(J.words[0]&_e)&&Fe<26;++Fe,_e<<=1);if(Fe>0)for(J.iushrn(Fe);Fe-- >0;)(z.isOdd()||X.isOdd())&&(z.iadd(ae),X.isub(me)),z.iushrn(1),X.iushrn(1);for(var rt=0,et=1;!(q.words[0]&et)&&rt<26;++rt,et<<=1);if(rt>0)for(q.iushrn(rt);rt-- >0;)(se.isOdd()||oe.isOdd())&&(se.iadd(ae),oe.isub(me)),se.iushrn(1),oe.iushrn(1);J.cmp(q)>=0?(J.isub(q),z.isub(se),X.isub(oe)):(q.isub(J),se.isub(z),oe.isub(X))}return{a:se,b:oe,gcd:q.iushln(ye)}},A.prototype._invmp=function(j){p(j.negative===0),p(!j.isZero());var J=this,q=j.clone();J=J.negative!==0?J.umod(j):J.clone();for(var z,X=new A(1),se=new A(0),oe=q.clone();J.cmpn(1)>0&&q.cmpn(1)>0;){for(var ye=0,ae=1;!(J.words[0]&ae)&&ye<26;++ye,ae<<=1);if(ye>0)for(J.iushrn(ye);ye-- >0;)X.isOdd()&&X.iadd(oe),X.iushrn(1);for(var me=0,Fe=1;!(q.words[0]&Fe)&&me<26;++me,Fe<<=1);if(me>0)for(q.iushrn(me);me-- >0;)se.isOdd()&&se.iadd(oe),se.iushrn(1);J.cmp(q)>=0?(J.isub(q),X.isub(se)):(q.isub(J),se.isub(X))}return(z=J.cmpn(1)===0?X:se).cmpn(0)<0&&z.iadd(j),z},A.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var J=this.clone(),q=j.clone();J.negative=0,q.negative=0;for(var z=0;J.isEven()&&q.isEven();z++)J.iushrn(1),q.iushrn(1);for(;;){for(;J.isEven();)J.iushrn(1);for(;q.isEven();)q.iushrn(1);var X=J.cmp(q);if(X<0){var se=J;J=q,q=se}else if(X===0||q.cmpn(1)===0)break;J.isub(q)}return q.iushln(z)},A.prototype.invm=function(j){return this.egcd(j).a.umod(j)},A.prototype.isEven=function(){return!(1&this.words[0])},A.prototype.isOdd=function(){return!(1&~this.words[0])},A.prototype.andln=function(j){return this.words[0]&j},A.prototype.bincn=function(j){p(typeof j=="number");var J=j%26,q=(j-J)/26,z=1<<J;if(this.length<=q)return this._expand(q+1),this.words[q]|=z,this;for(var X=z,se=q;X!==0&&se<this.length;se++){var oe=0|this.words[se];X=(oe+=X)>>>26,oe&=67108863,this.words[se]=oe}return X!==0&&(this.words[se]=X,this.length++),this},A.prototype.isZero=function(){return this.length===1&&this.words[0]===0},A.prototype.cmpn=function(j){var J,q=j<0;if(this.negative!==0&&!q)return-1;if(this.negative===0&&q)return 1;if(this._strip(),this.length>1)J=1;else{q&&(j=-j),p(j<=67108863,"Number is too big");var z=0|this.words[0];J=z===j?0:z<j?-1:1}return this.negative!==0?0|-J:J},A.prototype.cmp=function(j){if(this.negative!==0&&j.negative===0)return-1;if(this.negative===0&&j.negative!==0)return 1;var J=this.ucmp(j);return this.negative!==0?0|-J:J},A.prototype.ucmp=function(j){if(this.length>j.length)return 1;if(this.length<j.length)return-1;for(var J=0,q=this.length-1;q>=0;q--){var z=0|this.words[q],X=0|j.words[q];if(z!==X){z<X?J=-1:z>X&&(J=1);break}}return J},A.prototype.gtn=function(j){return this.cmpn(j)===1},A.prototype.gt=function(j){return this.cmp(j)===1},A.prototype.gten=function(j){return this.cmpn(j)>=0},A.prototype.gte=function(j){return this.cmp(j)>=0},A.prototype.ltn=function(j){return this.cmpn(j)===-1},A.prototype.lt=function(j){return this.cmp(j)===-1},A.prototype.lten=function(j){return this.cmpn(j)<=0},A.prototype.lte=function(j){return this.cmp(j)<=0},A.prototype.eqn=function(j){return this.cmpn(j)===0},A.prototype.eq=function(j){return this.cmp(j)===0},A.red=function(j){return new Z(j)},A.prototype.toRed=function(j){return p(!this.red,"Already a number in reduction context"),p(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},A.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},A.prototype._forceRed=function(j){return this.red=j,this},A.prototype.forceRed=function(j){return p(!this.red,"Already a number in reduction context"),this._forceRed(j)},A.prototype.redAdd=function(j){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},A.prototype.redIAdd=function(j){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},A.prototype.redSub=function(j){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},A.prototype.redISub=function(j){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},A.prototype.redShl=function(j){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},A.prototype.redMul=function(j){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},A.prototype.redIMul=function(j){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},A.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},A.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},A.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},A.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},A.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},A.prototype.redPow=function(j){return p(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var te={k256:null,p224:null,p192:null,p25519:null};function ue(j,J){this.name=j,this.p=new A(J,16),this.n=this.p.bitLength(),this.k=new A(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function fe(){ue.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function de(){ue.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function Ae(){ue.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function we(){ue.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Z(j){if(typeof j=="string"){var J=A._prime(j);this.m=J.p,this.prime=J}else p(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function ne(j){Z.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new A(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ue.prototype._tmp=function(){var j=new A(null);return j.words=new Array(Math.ceil(this.n/13)),j},ue.prototype.ireduce=function(j){var J,q=j;do this.split(q,this.tmp),J=(q=(q=this.imulK(q)).iadd(this.tmp)).bitLength();while(J>this.n);var z=J<this.n?-1:q.ucmp(this.p);return z===0?(q.words[0]=0,q.length=1):z>0?q.isub(this.p):q.strip!==void 0?q.strip():q._strip(),q},ue.prototype.split=function(j,J){j.iushrn(this.n,0,J)},ue.prototype.imulK=function(j){return j.imul(this.k)},g(fe,ue),fe.prototype.split=function(j,J){for(var q=4194303,z=Math.min(j.length,9),X=0;X<z;X++)J.words[X]=j.words[X];if(J.length=z,j.length<=9)return j.words[0]=0,void(j.length=1);var se=j.words[9];for(J.words[J.length++]=se&q,X=10;X<j.length;X++){var oe=0|j.words[X];j.words[X-10]=(oe&q)<<4|se>>>22,se=oe}se>>>=22,j.words[X-10]=se,se===0&&j.length>10?j.length-=10:j.length-=9},fe.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var J=0,q=0;q<j.length;q++){var z=0|j.words[q];J+=977*z,j.words[q]=67108863&J,J=64*z+(J/67108864|0)}return j.words[j.length-1]===0&&(j.length--,j.words[j.length-1]===0&&j.length--),j},g(de,ue),g(Ae,ue),g(we,ue),we.prototype.imulK=function(j){for(var J=0,q=0;q<j.length;q++){var z=19*(0|j.words[q])+J,X=67108863&z;z>>>=26,j.words[q]=X,J=z}return J!==0&&(j.words[j.length++]=J),j},A._prime=function(j){if(te[j])return te[j];var J;if(j==="k256")J=new fe;else if(j==="p224")J=new de;else if(j==="p192")J=new Ae;else{if(j!=="p25519")throw new Error("Unknown prime "+j);J=new we}return te[j]=J,J},Z.prototype._verify1=function(j){p(j.negative===0,"red works only with positives"),p(j.red,"red works only with red numbers")},Z.prototype._verify2=function(j,J){p(!(j.negative|J.negative),"red works only with positives"),p(j.red&&j.red===J.red,"red works only with red numbers")},Z.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):(E(j,j.umod(this.m)._forceRed(this)),j)},Z.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},Z.prototype.add=function(j,J){this._verify2(j,J);var q=j.add(J);return q.cmp(this.m)>=0&&q.isub(this.m),q._forceRed(this)},Z.prototype.iadd=function(j,J){this._verify2(j,J);var q=j.iadd(J);return q.cmp(this.m)>=0&&q.isub(this.m),q},Z.prototype.sub=function(j,J){this._verify2(j,J);var q=j.sub(J);return q.cmpn(0)<0&&q.iadd(this.m),q._forceRed(this)},Z.prototype.isub=function(j,J){this._verify2(j,J);var q=j.isub(J);return q.cmpn(0)<0&&q.iadd(this.m),q},Z.prototype.shl=function(j,J){return this._verify1(j),this.imod(j.ushln(J))},Z.prototype.imul=function(j,J){return this._verify2(j,J),this.imod(j.imul(J))},Z.prototype.mul=function(j,J){return this._verify2(j,J),this.imod(j.mul(J))},Z.prototype.isqr=function(j){return this.imul(j,j.clone())},Z.prototype.sqr=function(j){return this.mul(j,j)},Z.prototype.sqrt=function(j){if(j.isZero())return j.clone();var J=this.m.andln(3);if(p(J%2==1),J===3){var q=this.m.add(new A(1)).iushrn(2);return this.pow(j,q)}for(var z=this.m.subn(1),X=0;!z.isZero()&&z.andln(1)===0;)X++,z.iushrn(1);p(!z.isZero());var se=new A(1).toRed(this),oe=se.redNeg(),ye=this.m.subn(1).iushrn(1),ae=this.m.bitLength();for(ae=new A(2*ae*ae).toRed(this);this.pow(ae,ye).cmp(oe)!==0;)ae.redIAdd(oe);for(var me=this.pow(ae,z),Fe=this.pow(j,z.addn(1).iushrn(1)),_e=this.pow(j,z),rt=X;_e.cmp(se)!==0;){for(var et=_e,st=0;et.cmp(se)!==0;st++)et=et.redSqr();p(st<rt);var Ge=this.pow(me,new A(1).iushln(rt-st-1));Fe=Fe.redMul(Ge),me=Ge.redSqr(),_e=_e.redMul(me),rt=st}return Fe},Z.prototype.invm=function(j){var J=j._invmp(this.m);return J.negative!==0?(J.negative=0,this.imod(J).redNeg()):this.imod(J)},Z.prototype.pow=function(j,J){if(J.isZero())return new A(1).toRed(this);if(J.cmpn(1)===0)return j.clone();var q=4,z=new Array(1<<q);z[0]=new A(1).toRed(this),z[1]=j;for(var X=2;X<z.length;X++)z[X]=this.mul(z[X-1],j);var se=z[0],oe=0,ye=0,ae=J.bitLength()%26;for(ae===0&&(ae=26),X=J.length-1;X>=0;X--){for(var me=J.words[X],Fe=ae-1;Fe>=0;Fe--){var _e=me>>Fe&1;se!==z[0]&&(se=this.sqr(se)),_e!==0||oe!==0?(oe<<=1,oe|=_e,(++ye===q||X===0&&Fe===0)&&(se=this.mul(se,z[oe]),ye=0,oe=0)):ye=0}ae=26}return se},Z.prototype.convertTo=function(j){var J=j.umod(this.m);return J===j?J.clone():J},Z.prototype.convertFrom=function(j){var J=j.clone();return J.red=null,J},A.mont=function(j){return new ne(j)},g(ne,Z),ne.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},ne.prototype.convertFrom=function(j){var J=this.imod(j.mul(this.rinv));return J.red=null,J},ne.prototype.imul=function(j,J){if(j.isZero()||J.isZero())return j.words[0]=0,j.length=1,j;var q=j.imul(J),z=q.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),X=q.isub(z).iushrn(this.shift),se=X;return X.cmp(this.m)>=0?se=X.isub(this.m):X.cmpn(0)<0&&(se=X.iadd(this.m)),se._forceRed(this)},ne.prototype.mul=function(j,J){if(j.isZero()||J.isZero())return new A(0)._forceRed(this);var q=j.mul(J),z=q.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),X=q.isub(z).iushrn(this.shift),se=X;return X.cmp(this.m)>=0?se=X.isub(this.m):X.cmpn(0)<0&&(se=X.iadd(this.m)),se._forceRed(this)},ne.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(c===void 0||c,void 0)},{buffer:188}],187:[function(a,c,u){var h;function d(g){this.rand=g}if(c.exports=function(g){return h||(h=new d(null)),h.generate(g)},c.exports.Rand=d,d.prototype.generate=function(g){return this._rand(g)},d.prototype._rand=function(g){if(this.rand.getBytes)return this.rand.getBytes(g);for(var A=new Uint8Array(g),m=0;m<A.length;m++)A[m]=this.rand.getByte();return A},typeof self=="object")self.crypto&&self.crypto.getRandomValues?d.prototype._rand=function(g){var A=new Uint8Array(g);return self.crypto.getRandomValues(A),A}:self.msCrypto&&self.msCrypto.getRandomValues?d.prototype._rand=function(g){var A=new Uint8Array(g);return self.msCrypto.getRandomValues(A),A}:typeof window=="object"&&(d.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var p=a("crypto");if(typeof p.randomBytes!="function")throw new Error("Not supported");d.prototype._rand=function(g){return p.randomBytes(g)}}catch{}},{crypto:188}],188:[function(a,c,u){},{}],189:[function(a,c,u){var h=a("safe-buffer").Buffer;function d(b){h.isBuffer(b)||(b=h.from(b));for(var I=b.length/4|0,E=new Array(I),B=0;B<I;B++)E[B]=b.readUInt32BE(4*B);return E}function p(b){for(var I=0;I<b.length;b++)b[I]=0}function g(b,I,E,B,S){for(var _,D,T,F,N=E[0],H=E[1],W=E[2],V=E[3],te=b[0]^I[0],ue=b[1]^I[1],fe=b[2]^I[2],de=b[3]^I[3],Ae=4,we=1;we<S;we++)_=N[te>>>24]^H[ue>>>16&255]^W[fe>>>8&255]^V[255&de]^I[Ae++],D=N[ue>>>24]^H[fe>>>16&255]^W[de>>>8&255]^V[255&te]^I[Ae++],T=N[fe>>>24]^H[de>>>16&255]^W[te>>>8&255]^V[255&ue]^I[Ae++],F=N[de>>>24]^H[te>>>16&255]^W[ue>>>8&255]^V[255&fe]^I[Ae++],te=_,ue=D,fe=T,de=F;return _=(B[te>>>24]<<24|B[ue>>>16&255]<<16|B[fe>>>8&255]<<8|B[255&de])^I[Ae++],D=(B[ue>>>24]<<24|B[fe>>>16&255]<<16|B[de>>>8&255]<<8|B[255&te])^I[Ae++],T=(B[fe>>>24]<<24|B[de>>>16&255]<<16|B[te>>>8&255]<<8|B[255&ue])^I[Ae++],F=(B[de>>>24]<<24|B[te>>>16&255]<<16|B[ue>>>8&255]<<8|B[255&fe])^I[Ae++],[_>>>=0,D>>>=0,T>>>=0,F>>>=0]}var A=[0,1,2,4,8,16,32,64,128,27,54],m=function(){for(var b=new Array(256),I=0;I<256;I++)b[I]=I<128?I<<1:I<<1^283;for(var E=[],B=[],S=[[],[],[],[]],_=[[],[],[],[]],D=0,T=0,F=0;F<256;++F){var N=T^T<<1^T<<2^T<<3^T<<4;N=N>>>8^255&N^99,E[D]=N,B[N]=D;var H=b[D],W=b[H],V=b[W],te=257*b[N]^16843008*N;S[0][D]=te<<24|te>>>8,S[1][D]=te<<16|te>>>16,S[2][D]=te<<8|te>>>24,S[3][D]=te,te=16843009*V^65537*W^257*H^16843008*D,_[0][N]=te<<24|te>>>8,_[1][N]=te<<16|te>>>16,_[2][N]=te<<8|te>>>24,_[3][N]=te,D===0?D=T=1:(D=H^b[b[b[V^H]]],T^=b[b[T]])}return{SBOX:E,INV_SBOX:B,SUB_MIX:S,INV_SUB_MIX:_}}();function y(b){this._key=d(b),this._reset()}y.blockSize=16,y.keySize=32,y.prototype.blockSize=y.blockSize,y.prototype.keySize=y.keySize,y.prototype._reset=function(){for(var b=this._key,I=b.length,E=I+6,B=4*(E+1),S=[],_=0;_<I;_++)S[_]=b[_];for(_=I;_<B;_++){var D=S[_-1];_%I==0?(D=D<<8|D>>>24,D=m.SBOX[D>>>24]<<24|m.SBOX[D>>>16&255]<<16|m.SBOX[D>>>8&255]<<8|m.SBOX[255&D],D^=A[_/I|0]<<24):I>6&&_%I==4&&(D=m.SBOX[D>>>24]<<24|m.SBOX[D>>>16&255]<<16|m.SBOX[D>>>8&255]<<8|m.SBOX[255&D]),S[_]=S[_-I]^D}for(var T=[],F=0;F<B;F++){var N=B-F,H=S[N-(F%4?0:4)];T[F]=F<4||N<=4?H:m.INV_SUB_MIX[0][m.SBOX[H>>>24]]^m.INV_SUB_MIX[1][m.SBOX[H>>>16&255]]^m.INV_SUB_MIX[2][m.SBOX[H>>>8&255]]^m.INV_SUB_MIX[3][m.SBOX[255&H]]}this._nRounds=E,this._keySchedule=S,this._invKeySchedule=T},y.prototype.encryptBlockRaw=function(b){return g(b=d(b),this._keySchedule,m.SUB_MIX,m.SBOX,this._nRounds)},y.prototype.encryptBlock=function(b){var I=this.encryptBlockRaw(b),E=h.allocUnsafe(16);return E.writeUInt32BE(I[0],0),E.writeUInt32BE(I[1],4),E.writeUInt32BE(I[2],8),E.writeUInt32BE(I[3],12),E},y.prototype.decryptBlock=function(b){var I=(b=d(b))[1];b[1]=b[3],b[3]=I;var E=g(b,this._invKeySchedule,m.INV_SUB_MIX,m.INV_SBOX,this._nRounds),B=h.allocUnsafe(16);return B.writeUInt32BE(E[0],0),B.writeUInt32BE(E[3],4),B.writeUInt32BE(E[2],8),B.writeUInt32BE(E[1],12),B},y.prototype.scrub=function(){p(this._keySchedule),p(this._invKeySchedule),p(this._key)},c.exports.AES=y},{"safe-buffer":494}],190:[function(a,c,u){var h=a("./aes"),d=a("safe-buffer").Buffer,p=a("cipher-base"),g=a("inherits"),A=a("./ghash"),m=a("buffer-xor"),y=a("./incr32");function b(B,S){var _=0;B.length!==S.length&&_++;for(var D=Math.min(B.length,S.length),T=0;T<D;++T)_+=B[T]^S[T];return _}function I(B,S,_){if(S.length===12)return B._finID=d.concat([S,d.from([0,0,0,1])]),d.concat([S,d.from([0,0,0,2])]);var D=new A(_),T=S.length,F=T%16;D.update(S),F&&(F=16-F,D.update(d.alloc(F,0))),D.update(d.alloc(8,0));var N=8*T,H=d.alloc(8);H.writeUIntBE(N,0,8),D.update(H),B._finID=D.state;var W=d.from(B._finID);return y(W),W}function E(B,S,_,D){p.call(this);var T=d.alloc(4,0);this._cipher=new h.AES(S);var F=this._cipher.encryptBlock(T);this._ghash=new A(F),_=I(this,_,F),this._prev=d.from(_),this._cache=d.allocUnsafe(0),this._secCache=d.allocUnsafe(0),this._decrypt=D,this._alen=0,this._len=0,this._mode=B,this._authTag=null,this._called=!1}g(E,p),E.prototype._update=function(B){if(!this._called&&this._alen){var S=16-this._alen%16;S<16&&(S=d.alloc(S,0),this._ghash.update(S))}this._called=!0;var _=this._mode.encrypt(this,B);return this._decrypt?this._ghash.update(B):this._ghash.update(_),this._len+=B.length,_},E.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var B=m(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&b(B,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=B,this._cipher.scrub()},E.prototype.getAuthTag=function(){if(this._decrypt||!d.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},E.prototype.setAuthTag=function(B){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=B},E.prototype.setAAD=function(B){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(B),this._alen+=B.length},c.exports=E},{"./aes":189,"./ghash":194,"./incr32":195,"buffer-xor":219,"cipher-base":221,inherits:440,"safe-buffer":494}],191:[function(a,c,u){var h=a("./encrypter"),d=a("./decrypter"),p=a("./modes/list.json");function g(){return Object.keys(p)}u.createCipher=u.Cipher=h.createCipher,u.createCipheriv=u.Cipheriv=h.createCipheriv,u.createDecipher=u.Decipher=d.createDecipher,u.createDecipheriv=u.Decipheriv=d.createDecipheriv,u.listCiphers=u.getCiphers=g},{"./decrypter":192,"./encrypter":193,"./modes/list.json":203}],192:[function(a,c,u){var h=a("./authCipher"),d=a("safe-buffer").Buffer,p=a("./modes"),g=a("./streamCipher"),A=a("cipher-base"),m=a("./aes"),y=a("evp_bytestokey");function b(_,D,T){A.call(this),this._cache=new I,this._last=void 0,this._cipher=new m.AES(D),this._prev=d.from(T),this._mode=_,this._autopadding=!0}function I(){this.cache=d.allocUnsafe(0)}function E(_){var D=_[15];if(D<1||D>16)throw new Error("unable to decrypt data");for(var T=-1;++T<D;)if(_[T+(16-D)]!==D)throw new Error("unable to decrypt data");if(D!==16)return _.slice(0,16-D)}function B(_,D,T){var F=p[_.toLowerCase()];if(!F)throw new TypeError("invalid suite type");if(typeof T=="string"&&(T=d.from(T)),F.mode!=="GCM"&&T.length!==F.iv)throw new TypeError("invalid iv length "+T.length);if(typeof D=="string"&&(D=d.from(D)),D.length!==F.key/8)throw new TypeError("invalid key length "+D.length);return F.type==="stream"?new g(F.module,D,T,!0):F.type==="auth"?new h(F.module,D,T,!0):new b(F.module,D,T)}function S(_,D){var T=p[_.toLowerCase()];if(!T)throw new TypeError("invalid suite type");var F=y(D,!1,T.key,T.iv);return B(_,F.key,F.iv)}a("inherits")(b,A),b.prototype._update=function(_){var D,T;this._cache.add(_);for(var F=[];D=this._cache.get(this._autopadding);)T=this._mode.decrypt(this,D),F.push(T);return d.concat(F)},b.prototype._final=function(){var _=this._cache.flush();if(this._autopadding)return E(this._mode.decrypt(this,_));if(_)throw new Error("data not multiple of block length")},b.prototype.setAutoPadding=function(_){return this._autopadding=!!_,this},I.prototype.add=function(_){this.cache=d.concat([this.cache,_])},I.prototype.get=function(_){var D;if(_){if(this.cache.length>16)return D=this.cache.slice(0,16),this.cache=this.cache.slice(16),D}else if(this.cache.length>=16)return D=this.cache.slice(0,16),this.cache=this.cache.slice(16),D;return null},I.prototype.flush=function(){if(this.cache.length)return this.cache},u.createDecipher=S,u.createDecipheriv=B},{"./aes":189,"./authCipher":190,"./modes":202,"./streamCipher":205,"cipher-base":221,evp_bytestokey:423,inherits:440,"safe-buffer":494}],193:[function(a,c,u){var h=a("./modes"),d=a("./authCipher"),p=a("safe-buffer").Buffer,g=a("./streamCipher"),A=a("cipher-base"),m=a("./aes"),y=a("evp_bytestokey");function b(_,D,T){A.call(this),this._cache=new E,this._cipher=new m.AES(D),this._prev=p.from(T),this._mode=_,this._autopadding=!0}a("inherits")(b,A),b.prototype._update=function(_){var D,T;this._cache.add(_);for(var F=[];D=this._cache.get();)T=this._mode.encrypt(this,D),F.push(T);return p.concat(F)};var I=p.alloc(16,16);function E(){this.cache=p.allocUnsafe(0)}function B(_,D,T){var F=h[_.toLowerCase()];if(!F)throw new TypeError("invalid suite type");if(typeof D=="string"&&(D=p.from(D)),D.length!==F.key/8)throw new TypeError("invalid key length "+D.length);if(typeof T=="string"&&(T=p.from(T)),F.mode!=="GCM"&&T.length!==F.iv)throw new TypeError("invalid iv length "+T.length);return F.type==="stream"?new g(F.module,D,T):F.type==="auth"?new d(F.module,D,T):new b(F.module,D,T)}function S(_,D){var T=h[_.toLowerCase()];if(!T)throw new TypeError("invalid suite type");var F=y(D,!1,T.key,T.iv);return B(_,F.key,F.iv)}b.prototype._final=function(){var _=this._cache.flush();if(this._autopadding)return _=this._mode.encrypt(this,_),this._cipher.scrub(),_;if(!_.equals(I))throw this._cipher.scrub(),new Error("data not multiple of block length")},b.prototype.setAutoPadding=function(_){return this._autopadding=!!_,this},E.prototype.add=function(_){this.cache=p.concat([this.cache,_])},E.prototype.get=function(){if(this.cache.length>15){var _=this.cache.slice(0,16);return this.cache=this.cache.slice(16),_}return null},E.prototype.flush=function(){for(var _=16-this.cache.length,D=p.allocUnsafe(_),T=-1;++T<_;)D.writeUInt8(_,T);return p.concat([this.cache,D])},u.createCipheriv=B,u.createCipher=S},{"./aes":189,"./authCipher":190,"./modes":202,"./streamCipher":205,"cipher-base":221,evp_bytestokey:423,inherits:440,"safe-buffer":494}],194:[function(a,c,u){var h=a("safe-buffer").Buffer,d=h.alloc(16,0);function p(m){return[m.readUInt32BE(0),m.readUInt32BE(4),m.readUInt32BE(8),m.readUInt32BE(12)]}function g(m){var y=h.allocUnsafe(16);return y.writeUInt32BE(m[0]>>>0,0),y.writeUInt32BE(m[1]>>>0,4),y.writeUInt32BE(m[2]>>>0,8),y.writeUInt32BE(m[3]>>>0,12),y}function A(m){this.h=m,this.state=h.alloc(16,0),this.cache=h.allocUnsafe(0)}A.prototype.ghash=function(m){for(var y=-1;++y<m.length;)this.state[y]^=m[y];this._multiply()},A.prototype._multiply=function(){for(var m,y,b=p(this.h),I=[0,0,0,0],E=-1;++E<128;){for(this.state[~~(E/8)]&1<<7-E%8&&(I[0]^=b[0],I[1]^=b[1],I[2]^=b[2],I[3]^=b[3]),y=!!(1&b[3]),m=3;m>0;m--)b[m]=b[m]>>>1|(1&b[m-1])<<31;b[0]=b[0]>>>1,y&&(b[0]=b[0]^225<<24)}this.state=g(I)},A.prototype.update=function(m){var y;for(this.cache=h.concat([this.cache,m]);this.cache.length>=16;)y=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(y)},A.prototype.final=function(m,y){return this.cache.length&&this.ghash(h.concat([this.cache,d],16)),this.ghash(g([0,m,0,y])),this.state},c.exports=A},{"safe-buffer":494}],195:[function(a,c,u){function h(d){for(var p,g=d.length;g--;){if((p=d.readUInt8(g))!==255){p++,d.writeUInt8(p,g);break}d.writeUInt8(0,g)}}c.exports=h},{}],196:[function(a,c,u){var h=a("buffer-xor");u.encrypt=function(d,p){var g=h(p,d._prev);return d._prev=d._cipher.encryptBlock(g),d._prev},u.decrypt=function(d,p){var g=d._prev;d._prev=p;var A=d._cipher.decryptBlock(p);return h(A,g)}},{"buffer-xor":219}],197:[function(a,c,u){var h=a("safe-buffer").Buffer,d=a("buffer-xor");function p(g,A,m){var y=A.length,b=d(A,g._cache);return g._cache=g._cache.slice(y),g._prev=h.concat([g._prev,m?A:b]),b}u.encrypt=function(g,A,m){for(var y,b=h.allocUnsafe(0);A.length;){if(g._cache.length===0&&(g._cache=g._cipher.encryptBlock(g._prev),g._prev=h.allocUnsafe(0)),!(g._cache.length<=A.length)){b=h.concat([b,p(g,A,m)]);break}y=g._cache.length,b=h.concat([b,p(g,A.slice(0,y),m)]),A=A.slice(y)}return b}},{"buffer-xor":219,"safe-buffer":494}],198:[function(a,c,u){var h=a("safe-buffer").Buffer;function d(g,A,m){for(var y,b,I=-1,E=8,B=0;++I<E;)y=A&1<<7-I?128:0,B+=(128&(b=g._cipher.encryptBlock(g._prev)[0]^y))>>I%8,g._prev=p(g._prev,m?y:b);return B}function p(g,A){var m=g.length,y=-1,b=h.allocUnsafe(g.length);for(g=h.concat([g,h.from([A])]);++y<m;)b[y]=g[y]<<1|g[y+1]>>7;return b}u.encrypt=function(g,A,m){for(var y=A.length,b=h.allocUnsafe(y),I=-1;++I<y;)b[I]=d(g,A[I],m);return b}},{"safe-buffer":494}],199:[function(a,c,u){var h=a("safe-buffer").Buffer;function d(p,g,A){var m=p._cipher.encryptBlock(p._prev)[0]^g;return p._prev=h.concat([p._prev.slice(1),h.from([A?g:m])]),m}u.encrypt=function(p,g,A){for(var m=g.length,y=h.allocUnsafe(m),b=-1;++b<m;)y[b]=d(p,g[b],A);return y}},{"safe-buffer":494}],200:[function(a,c,u){var h=a("buffer-xor"),d=a("safe-buffer").Buffer,p=a("../incr32");function g(m){var y=m._cipher.encryptBlockRaw(m._prev);return p(m._prev),y}var A=16;u.encrypt=function(m,y){var b=Math.ceil(y.length/A),I=m._cache.length;m._cache=d.concat([m._cache,d.allocUnsafe(b*A)]);for(var E=0;E<b;E++){var B=g(m),S=I+E*A;m._cache.writeUInt32BE(B[0],S+0),m._cache.writeUInt32BE(B[1],S+4),m._cache.writeUInt32BE(B[2],S+8),m._cache.writeUInt32BE(B[3],S+12)}var _=m._cache.slice(0,y.length);return m._cache=m._cache.slice(y.length),h(y,_)}},{"../incr32":195,"buffer-xor":219,"safe-buffer":494}],201:[function(a,c,u){u.encrypt=function(h,d){return h._cipher.encryptBlock(d)},u.decrypt=function(h,d){return h._cipher.decryptBlock(d)}},{}],202:[function(a,c,u){var h={ECB:a("./ecb"),CBC:a("./cbc"),CFB:a("./cfb"),CFB8:a("./cfb8"),CFB1:a("./cfb1"),OFB:a("./ofb"),CTR:a("./ctr"),GCM:a("./ctr")},d=a("./list.json");for(var p in d)d[p].module=h[d[p].mode];c.exports=d},{"./cbc":196,"./cfb":197,"./cfb1":198,"./cfb8":199,"./ctr":200,"./ecb":201,"./list.json":203,"./ofb":204}],203:[function(a,c,u){c.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},{}],204:[function(a,c,u){(function(h){(function(){var d=a("buffer-xor");function p(g){return g._prev=g._cipher.encryptBlock(g._prev),g._prev}u.encrypt=function(g,A){for(;g._cache.length<A.length;)g._cache=h.concat([g._cache,p(g)]);var m=g._cache.slice(0,A.length);return g._cache=g._cache.slice(A.length),d(A,m)}}).call(this)}).call(this,a("buffer").Buffer)},{buffer:220,"buffer-xor":219}],205:[function(a,c,u){var h=a("./aes"),d=a("safe-buffer").Buffer,p=a("cipher-base");function g(A,m,y,b){p.call(this),this._cipher=new h.AES(m),this._prev=d.from(y),this._cache=d.allocUnsafe(0),this._secCache=d.allocUnsafe(0),this._decrypt=b,this._mode=A}a("inherits")(g,p),g.prototype._update=function(A){return this._mode.encrypt(this,A,this._decrypt)},g.prototype._final=function(){this._cipher.scrub()},c.exports=g},{"./aes":189,"cipher-base":221,inherits:440,"safe-buffer":494}],206:[function(a,c,u){var h=a("browserify-des"),d=a("browserify-aes/browser"),p=a("browserify-aes/modes"),g=a("browserify-des/modes"),A=a("evp_bytestokey");function m(B,S){var _,D;if(B=B.toLowerCase(),p[B])_=p[B].key,D=p[B].iv;else{if(!g[B])throw new TypeError("invalid suite type");_=8*g[B].key,D=g[B].iv}var T=A(S,!1,_,D);return b(B,T.key,T.iv)}function y(B,S){var _,D;if(B=B.toLowerCase(),p[B])_=p[B].key,D=p[B].iv;else{if(!g[B])throw new TypeError("invalid suite type");_=8*g[B].key,D=g[B].iv}var T=A(S,!1,_,D);return I(B,T.key,T.iv)}function b(B,S,_){if(B=B.toLowerCase(),p[B])return d.createCipheriv(B,S,_);if(g[B])return new h({key:S,iv:_,mode:B});throw new TypeError("invalid suite type")}function I(B,S,_){if(B=B.toLowerCase(),p[B])return d.createDecipheriv(B,S,_);if(g[B])return new h({key:S,iv:_,mode:B,decrypt:!0});throw new TypeError("invalid suite type")}function E(){return Object.keys(g).concat(d.getCiphers())}u.createCipher=u.Cipher=m,u.createCipheriv=u.Cipheriv=b,u.createDecipher=u.Decipher=y,u.createDecipheriv=u.Decipheriv=I,u.listCiphers=u.getCiphers=E},{"browserify-aes/browser":191,"browserify-aes/modes":202,"browserify-des":207,"browserify-des/modes":208,evp_bytestokey:423}],207:[function(a,c,u){var h=a("cipher-base"),d=a("des.js"),p=a("inherits"),g=a("safe-buffer").Buffer,A={"des-ede3-cbc":d.CBC.instantiate(d.EDE),"des-ede3":d.EDE,"des-ede-cbc":d.CBC.instantiate(d.EDE),"des-ede":d.EDE,"des-cbc":d.CBC.instantiate(d.DES),"des-ecb":d.DES};function m(y){h.call(this);var b,I=y.mode.toLowerCase(),E=A[I];b=y.decrypt?"decrypt":"encrypt";var B=y.key;g.isBuffer(B)||(B=g.from(B)),I!=="des-ede"&&I!=="des-ede-cbc"||(B=g.concat([B,B.slice(0,8)]));var S=y.iv;g.isBuffer(S)||(S=g.from(S)),this._des=E.create({key:B,iv:S,type:b})}A.des=A["des-cbc"],A.des3=A["des-ede3-cbc"],c.exports=m,p(m,h),m.prototype._update=function(y){return g.from(this._des.update(y))},m.prototype._final=function(){return g.from(this._des.final())}},{"cipher-base":221,"des.js":394,inherits:440,"safe-buffer":494}],208:[function(a,c,u){u["des-ecb"]={key:8,iv:0},u["des-cbc"]=u.des={key:8,iv:8},u["des-ede3-cbc"]=u.des3={key:24,iv:8},u["des-ede3"]={key:24,iv:0},u["des-ede-cbc"]={key:16,iv:8},u["des-ede"]={key:16,iv:0}},{}],209:[function(a,c,u){(function(h){(function(){var d=a("bn.js"),p=a("randombytes");function g(y){var b=A(y);return{blinder:b.toRed(d.mont(y.modulus)).redPow(new d(y.publicExponent)).fromRed(),unblinder:b.invm(y.modulus)}}function A(y){var b,I=y.modulus.byteLength();do b=new d(p(I));while(b.cmp(y.modulus)>=0||!b.umod(y.prime1)||!b.umod(y.prime2));return b}function m(y,b){var I=g(b),E=b.modulus.byteLength(),B=new d(y).mul(I.blinder).umod(b.modulus),S=B.toRed(d.mont(b.prime1)),_=B.toRed(d.mont(b.prime2)),D=b.coefficient,T=b.prime1,F=b.prime2,N=S.redPow(b.exponent1).fromRed(),H=_.redPow(b.exponent2).fromRed(),W=N.isub(H).imul(D).umod(T).imul(F);return H.iadd(W).imul(I.unblinder).umod(b.modulus).toArrayLike(h,"be",E)}m.getr=A,c.exports=m}).call(this)}).call(this,a("buffer").Buffer)},{"bn.js":186,buffer:220,randombytes:475}],210:[function(a,c,u){c.exports=a("./browser/algorithms.json")},{"./browser/algorithms.json":211}],211:[function(a,c,u){c.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],212:[function(a,c,u){c.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],213:[function(a,c,u){var h=a("safe-buffer").Buffer,d=a("create-hash"),p=a("readable-stream"),g=a("inherits"),A=a("./sign"),m=a("./verify"),y=a("./algorithms.json");function b(S){p.Writable.call(this);var _=y[S];if(!_)throw new Error("Unknown message digest");this._hashType=_.hash,this._hash=d(_.hash),this._tag=_.id,this._signType=_.sign}function I(S){p.Writable.call(this);var _=y[S];if(!_)throw new Error("Unknown message digest");this._hash=d(_.hash),this._tag=_.id,this._signType=_.sign}function E(S){return new b(S)}function B(S){return new I(S)}Object.keys(y).forEach(function(S){y[S].id=h.from(y[S].id,"hex"),y[S.toLowerCase()]=y[S]}),g(b,p.Writable),b.prototype._write=function(S,_,D){this._hash.update(S),D()},b.prototype.update=function(S,_){return typeof S=="string"&&(S=h.from(S,_)),this._hash.update(S),this},b.prototype.sign=function(S,_){this.end();var D=this._hash.digest(),T=A(D,S,this._hashType,this._signType,this._tag);return _?T.toString(_):T},g(I,p.Writable),I.prototype._write=function(S,_,D){this._hash.update(S),D()},I.prototype.update=function(S,_){return typeof S=="string"&&(S=h.from(S,_)),this._hash.update(S),this},I.prototype.verify=function(S,_,D){typeof _=="string"&&(_=h.from(_,D)),this.end();var T=this._hash.digest();return m(_,T,S,this._signType,this._tag)},c.exports={Sign:E,Verify:B,createSign:E,createVerify:B}},{"./algorithms.json":211,"./sign":214,"./verify":215,"create-hash":386,inherits:440,"readable-stream":491,"safe-buffer":494}],214:[function(a,c,u){var h=a("safe-buffer").Buffer,d=a("create-hmac"),p=a("browserify-rsa"),g=a("elliptic").ec,A=a("bn.js"),m=a("parse-asn1"),y=a("./curves.json");function b(N,H,W,V,te){var ue=m(H);if(ue.curve){if(V!=="ecdsa"&&V!=="ecdsa/rsa")throw new Error("wrong private key type");return I(N,ue)}if(ue.type==="dsa"){if(V!=="dsa")throw new Error("wrong private key type");return E(N,ue,W)}if(V!=="rsa"&&V!=="ecdsa/rsa")throw new Error("wrong private key type");N=h.concat([te,N]);for(var fe=ue.modulus.byteLength(),de=[0,1];N.length+de.length+1<fe;)de.push(255);de.push(0);for(var Ae=-1;++Ae<N.length;)de.push(N[Ae]);return p(de,ue)}function I(N,H){var W=y[H.curve.join(".")];if(!W)throw new Error("unknown curve "+H.curve.join("."));var V=new g(W).keyFromPrivate(H.privateKey).sign(N);return h.from(V.toDER())}function E(N,H,W){for(var V,te=H.params.priv_key,ue=H.params.p,fe=H.params.q,de=H.params.g,Ae=new A(0),we=_(N,fe).mod(fe),Z=!1,ne=S(te,fe,N,W);Z===!1;)Ae=F(de,V=T(fe,ne,W),ue,fe),(Z=V.invm(fe).imul(we.add(te.mul(Ae))).mod(fe)).cmpn(0)===0&&(Z=!1,Ae=new A(0));return B(Ae,Z)}function B(N,H){N=N.toArray(),H=H.toArray(),128&N[0]&&(N=[0].concat(N)),128&H[0]&&(H=[0].concat(H));var W=[48,N.length+H.length+4,2,N.length];return W=W.concat(N,[2,H.length],H),h.from(W)}function S(N,H,W,V){if((N=h.from(N.toArray())).length<H.byteLength()){var te=h.alloc(H.byteLength()-N.length);N=h.concat([te,N])}var ue=W.length,fe=D(W,H),de=h.alloc(ue);de.fill(1);var Ae=h.alloc(ue);return Ae=d(V,Ae).update(de).update(h.from([0])).update(N).update(fe).digest(),de=d(V,Ae).update(de).digest(),{k:Ae=d(V,Ae).update(de).update(h.from([1])).update(N).update(fe).digest(),v:de=d(V,Ae).update(de).digest()}}function _(N,H){var W=new A(N),V=(N.length<<3)-H.bitLength();return V>0&&W.ishrn(V),W}function D(N,H){N=(N=_(N,H)).mod(H);var W=h.from(N.toArray());if(W.length<H.byteLength()){var V=h.alloc(H.byteLength()-W.length);W=h.concat([V,W])}return W}function T(N,H,W){var V,te;do{for(V=h.alloc(0);8*V.length<N.bitLength();)H.v=d(W,H.k).update(H.v).digest(),V=h.concat([V,H.v]);te=_(V,N),H.k=d(W,H.k).update(H.v).update(h.from([0])).digest(),H.v=d(W,H.k).update(H.v).digest()}while(te.cmp(N)!==-1);return te}function F(N,H,W,V){return N.toRed(A.mont(W)).redPow(H).fromRed().mod(V)}c.exports=b,c.exports.getKey=S,c.exports.makeKey=T},{"./curves.json":212,"bn.js":186,"browserify-rsa":209,"create-hmac":388,elliptic:405,"parse-asn1":459,"safe-buffer":494}],215:[function(a,c,u){var h=a("safe-buffer").Buffer,d=a("bn.js"),p=a("elliptic").ec,g=a("parse-asn1"),A=a("./curves.json");function m(E,B,S,_,D){var T=g(S);if(T.type==="ec"){if(_!=="ecdsa"&&_!=="ecdsa/rsa")throw new Error("wrong public key type");return y(E,B,T)}if(T.type==="dsa"){if(_!=="dsa")throw new Error("wrong public key type");return b(E,B,T)}if(_!=="rsa"&&_!=="ecdsa/rsa")throw new Error("wrong public key type");B=h.concat([D,B]);for(var F=T.modulus.byteLength(),N=[1],H=0;B.length+N.length+2<F;)N.push(255),H++;N.push(0);for(var W=-1;++W<B.length;)N.push(B[W]);N=h.from(N);var V=d.mont(T.modulus);E=(E=new d(E).toRed(V)).redPow(new d(T.publicExponent)),E=h.from(E.fromRed().toArray());var te=H<8?1:0;for(F=Math.min(E.length,N.length),E.length!==N.length&&(te=1),W=-1;++W<F;)te|=E[W]^N[W];return te===0}function y(E,B,S){var _=A[S.data.algorithm.curve.join(".")];if(!_)throw new Error("unknown curve "+S.data.algorithm.curve.join("."));var D=new p(_),T=S.data.subjectPrivateKey.data;return D.verify(B,E,T)}function b(E,B,S){var _=S.data.p,D=S.data.q,T=S.data.g,F=S.data.pub_key,N=g.signature.decode(E,"der"),H=N.s,W=N.r;I(H,D),I(W,D);var V=d.mont(_),te=H.invm(D);return T.toRed(V).redPow(new d(B).mul(te).mod(D)).fromRed().mul(F.toRed(V).redPow(W.mul(te).mod(D)).fromRed()).mod(_).mod(D).cmp(W)===0}function I(E,B){if(E.cmpn(0)<=0)throw new Error("invalid sig");if(E.cmp(B)>=B)throw new Error("invalid sig")}c.exports=m},{"./curves.json":212,"bn.js":186,elliptic:405,"parse-asn1":459,"safe-buffer":494}],216:[function(a,c,u){},{}],217:[function(a,c,u){var h=a("buffer"),d=h.Buffer;function p(A,m){for(var y in A)m[y]=A[y]}function g(A,m,y){return d(A,m,y)}d.from&&d.alloc&&d.allocUnsafe&&d.allocUnsafeSlow?c.exports=h:(p(h,u),u.Buffer=g),p(d,g),g.from=function(A,m,y){if(typeof A=="number")throw new TypeError("Argument must not be a number");return d(A,m,y)},g.alloc=function(A,m,y){if(typeof A!="number")throw new TypeError("Argument must be a number");var b=d(A);return m!==void 0?typeof y=="string"?b.fill(m,y):b.fill(m):b.fill(0),b},g.allocUnsafe=function(A){if(typeof A!="number")throw new TypeError("Argument must be a number");return d(A)},g.allocUnsafeSlow=function(A){if(typeof A!="number")throw new TypeError("Argument must be a number");return h.SlowBuffer(A)}},{buffer:220}],218:[function(a,c,u){var h=a("safe-buffer").Buffer,d=h.isEncoding||function(H){switch((H=""+H)&&H.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function p(H){if(!H)return"utf8";for(var W;;)switch(H){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return H;default:if(W)return;H=(""+H).toLowerCase(),W=!0}}function g(H){var W=p(H);if(typeof W!="string"&&(h.isEncoding===d||!d(H)))throw new Error("Unknown encoding: "+H);return W||H}function A(H){var W;switch(this.encoding=g(H),this.encoding){case"utf16le":this.text=S,this.end=_,W=4;break;case"utf8":this.fillLast=I,W=4;break;case"base64":this.text=D,this.end=T,W=3;break;default:return this.write=F,void(this.end=N)}this.lastNeed=0,this.lastTotal=0,this.lastChar=h.allocUnsafe(W)}function m(H){return H<=127?0:H>>5==6?2:H>>4==14?3:H>>3==30?4:H>>6==2?-1:-2}function y(H,W,V){var te=W.length-1;if(te<V)return 0;var ue=m(W[te]);return ue>=0?(ue>0&&(H.lastNeed=ue-1),ue):--te<V||ue===-2?0:(ue=m(W[te]))>=0?(ue>0&&(H.lastNeed=ue-2),ue):--te<V||ue===-2?0:(ue=m(W[te]))>=0?(ue>0&&(ue===2?ue=0:H.lastNeed=ue-3),ue):0}function b(H,W,V){if((192&W[0])!=128)return H.lastNeed=0,"�";if(H.lastNeed>1&&W.length>1){if((192&W[1])!=128)return H.lastNeed=1,"�";if(H.lastNeed>2&&W.length>2&&(192&W[2])!=128)return H.lastNeed=2,"�"}}function I(H){var W=this.lastTotal-this.lastNeed,V=b(this,H);return V!==void 0?V:this.lastNeed<=H.length?(H.copy(this.lastChar,W,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(H.copy(this.lastChar,W,0,H.length),void(this.lastNeed-=H.length))}function E(H,W){var V=y(this,H,W);if(!this.lastNeed)return H.toString("utf8",W);this.lastTotal=V;var te=H.length-(V-this.lastNeed);return H.copy(this.lastChar,0,te),H.toString("utf8",W,te)}function B(H){var W=H&&H.length?this.write(H):"";return this.lastNeed?W+"�":W}function S(H,W){if((H.length-W)%2==0){var V=H.toString("utf16le",W);if(V){var te=V.charCodeAt(V.length-1);if(te>=55296&&te<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=H[H.length-2],this.lastChar[1]=H[H.length-1],V.slice(0,-1)}return V}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=H[H.length-1],H.toString("utf16le",W,H.length-1)}function _(H){var W=H&&H.length?this.write(H):"";if(this.lastNeed){var V=this.lastTotal-this.lastNeed;return W+this.lastChar.toString("utf16le",0,V)}return W}function D(H,W){var V=(H.length-W)%3;return V===0?H.toString("base64",W):(this.lastNeed=3-V,this.lastTotal=3,V===1?this.lastChar[0]=H[H.length-1]:(this.lastChar[0]=H[H.length-2],this.lastChar[1]=H[H.length-1]),H.toString("base64",W,H.length-V))}function T(H){var W=H&&H.length?this.write(H):"";return this.lastNeed?W+this.lastChar.toString("base64",0,3-this.lastNeed):W}function F(H){return H.toString(this.encoding)}function N(H){return H&&H.length?this.write(H):""}u.StringDecoder=A,A.prototype.write=function(H){if(H.length===0)return"";var W,V;if(this.lastNeed){if((W=this.fillLast(H))===void 0)return"";V=this.lastNeed,this.lastNeed=0}else V=0;return V<H.length?W?W+this.text(H,V):this.text(H,V):W||""},A.prototype.end=B,A.prototype.text=E,A.prototype.fillLast=function(H){if(this.lastNeed<=H.length)return H.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);H.copy(this.lastChar,this.lastTotal-this.lastNeed,0,H.length),this.lastNeed-=H.length}},{"safe-buffer":217}],219:[function(a,c,u){(function(h){(function(){c.exports=function(d,p){for(var g=Math.min(d.length,p.length),A=new h(g),m=0;m<g;++m)A[m]=d[m]^p[m];return A}}).call(this)}).call(this,a("buffer").Buffer)},{buffer:220}],220:[function(a,c,u){(function(h){(function(){var d=a("base64-js"),p=a("ieee754");u.Buffer=y,u.SlowBuffer=N,u.INSPECT_MAX_BYTES=50;var g=2147483647;function A(){try{var Ie=new Uint8Array(1);return Ie.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ie.foo()===42}catch{return!1}}function m(Ie){if(Ie>g)throw new RangeError('The value "'+Ie+'" is invalid for option "size"');var Re=new Uint8Array(Ie);return Re.__proto__=y.prototype,Re}function y(Ie,Re,qe){if(typeof Ie=="number"){if(typeof Re=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return B(Ie)}return b(Ie,Re,qe)}function b(Ie,Re,qe){if(typeof Ie=="string")return S(Ie,Re);if(ArrayBuffer.isView(Ie))return _(Ie);if(Ie==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ie);if(Ke(Ie,ArrayBuffer)||Ie&&Ke(Ie.buffer,ArrayBuffer))return D(Ie,Re,qe);if(typeof Ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var pt=Ie.valueOf&&Ie.valueOf();if(pt!=null&&pt!==Ie)return y.from(pt,Re,qe);var Lt=T(Ie);if(Lt)return Lt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ie[Symbol.toPrimitive]=="function")return y.from(Ie[Symbol.toPrimitive]("string"),Re,qe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ie)}function I(Ie){if(typeof Ie!="number")throw new TypeError('"size" argument must be of type number');if(Ie<0)throw new RangeError('The value "'+Ie+'" is invalid for option "size"')}function E(Ie,Re,qe){return I(Ie),Ie<=0?m(Ie):Re!==void 0?typeof qe=="string"?m(Ie).fill(Re,qe):m(Ie).fill(Re):m(Ie)}function B(Ie){return I(Ie),m(Ie<0?0:0|F(Ie))}function S(Ie,Re){if(typeof Re=="string"&&Re!==""||(Re="utf8"),!y.isEncoding(Re))throw new TypeError("Unknown encoding: "+Re);var qe=0|H(Ie,Re),pt=m(qe),Lt=pt.write(Ie,Re);return Lt!==qe&&(pt=pt.slice(0,Lt)),pt}function _(Ie){for(var Re=Ie.length<0?0:0|F(Ie.length),qe=m(Re),pt=0;pt<Re;pt+=1)qe[pt]=255&Ie[pt];return qe}function D(Ie,Re,qe){if(Re<0||Ie.byteLength<Re)throw new RangeError('"offset" is outside of buffer bounds');if(Ie.byteLength<Re+(qe||0))throw new RangeError('"length" is outside of buffer bounds');var pt;return(pt=Re===void 0&&qe===void 0?new Uint8Array(Ie):qe===void 0?new Uint8Array(Ie,Re):new Uint8Array(Ie,Re,qe)).__proto__=y.prototype,pt}function T(Ie){if(y.isBuffer(Ie)){var Re=0|F(Ie.length),qe=m(Re);return qe.length===0||Ie.copy(qe,0,0,Re),qe}return Ie.length!==void 0?typeof Ie.length!="number"||Rt(Ie.length)?m(0):_(Ie):Ie.type==="Buffer"&&Array.isArray(Ie.data)?_(Ie.data):void 0}function F(Ie){if(Ie>=g)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g.toString(16)+" bytes");return 0|Ie}function N(Ie){return+Ie!=Ie&&(Ie=0),y.alloc(+Ie)}function H(Ie,Re){if(y.isBuffer(Ie))return Ie.length;if(ArrayBuffer.isView(Ie)||Ke(Ie,ArrayBuffer))return Ie.byteLength;if(typeof Ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ie);var qe=Ie.length,pt=arguments.length>2&&arguments[2]===!0;if(!pt&&qe===0)return 0;for(var Lt=!1;;)switch(Re){case"ascii":case"latin1":case"binary":return qe;case"utf8":case"utf-8":return Be(Ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*qe;case"hex":return qe>>>1;case"base64":return lt(Ie).length;default:if(Lt)return pt?-1:Be(Ie).length;Re=(""+Re).toLowerCase(),Lt=!0}}function W(Ie,Re,qe){var pt=!1;if((Re===void 0||Re<0)&&(Re=0),Re>this.length||((qe===void 0||qe>this.length)&&(qe=this.length),qe<=0)||(qe>>>=0)<=(Re>>>=0))return"";for(Ie||(Ie="utf8");;)switch(Ie){case"hex":return oe(this,Re,qe);case"utf8":case"utf-8":return J(this,Re,qe);case"ascii":return X(this,Re,qe);case"latin1":case"binary":return se(this,Re,qe);case"base64":return j(this,Re,qe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye(this,Re,qe);default:if(pt)throw new TypeError("Unknown encoding: "+Ie);Ie=(Ie+"").toLowerCase(),pt=!0}}function V(Ie,Re,qe){var pt=Ie[Re];Ie[Re]=Ie[qe],Ie[qe]=pt}function te(Ie,Re,qe,pt,Lt){if(Ie.length===0)return-1;if(typeof qe=="string"?(pt=qe,qe=0):qe>2147483647?qe=2147483647:qe<-2147483648&&(qe=-2147483648),Rt(qe=+qe)&&(qe=Lt?0:Ie.length-1),qe<0&&(qe=Ie.length+qe),qe>=Ie.length){if(Lt)return-1;qe=Ie.length-1}else if(qe<0){if(!Lt)return-1;qe=0}if(typeof Re=="string"&&(Re=y.from(Re,pt)),y.isBuffer(Re))return Re.length===0?-1:ue(Ie,Re,qe,pt,Lt);if(typeof Re=="number")return Re&=255,typeof Uint8Array.prototype.indexOf=="function"?Lt?Uint8Array.prototype.indexOf.call(Ie,Re,qe):Uint8Array.prototype.lastIndexOf.call(Ie,Re,qe):ue(Ie,[Re],qe,pt,Lt);throw new TypeError("val must be string, number or Buffer")}function ue(Ie,Re,qe,pt,Lt){var Qe,_t=1,Ft=Ie.length,Ze=Re.length;if(pt!==void 0&&((pt=String(pt).toLowerCase())==="ucs2"||pt==="ucs-2"||pt==="utf16le"||pt==="utf-16le")){if(Ie.length<2||Re.length<2)return-1;_t=2,Ft/=2,Ze/=2,qe/=2}function $e(Je,tt){return _t===1?Je[tt]:Je.readUInt16BE(tt*_t)}if(Lt){var nt=-1;for(Qe=qe;Qe<Ft;Qe++)if($e(Ie,Qe)===$e(Re,nt===-1?0:Qe-nt)){if(nt===-1&&(nt=Qe),Qe-nt+1===Ze)return nt*_t}else nt!==-1&&(Qe-=Qe-nt),nt=-1}else for(qe+Ze>Ft&&(qe=Ft-Ze),Qe=qe;Qe>=0;Qe--){for(var Ot=!0,He=0;He<Ze;He++)if($e(Ie,Qe+He)!==$e(Re,He)){Ot=!1;break}if(Ot)return Qe}return-1}function fe(Ie,Re,qe,pt){qe=Number(qe)||0;var Lt=Ie.length-qe;pt?(pt=Number(pt))>Lt&&(pt=Lt):pt=Lt;var Qe=Re.length;pt>Qe/2&&(pt=Qe/2);for(var _t=0;_t<pt;++_t){var Ft=parseInt(Re.substr(2*_t,2),16);if(Rt(Ft))return _t;Ie[qe+_t]=Ft}return _t}function de(Ie,Re,qe,pt){return Me(Be(Re,Ie.length-qe),Ie,qe,pt)}function Ae(Ie,Re,qe,pt){return Me(Te(Re),Ie,qe,pt)}function we(Ie,Re,qe,pt){return Ae(Ie,Re,qe,pt)}function Z(Ie,Re,qe,pt){return Me(lt(Re),Ie,qe,pt)}function ne(Ie,Re,qe,pt){return Me(je(Re,Ie.length-qe),Ie,qe,pt)}function j(Ie,Re,qe){return Re===0&&qe===Ie.length?d.fromByteArray(Ie):d.fromByteArray(Ie.slice(Re,qe))}function J(Ie,Re,qe){qe=Math.min(Ie.length,qe);for(var pt=[],Lt=Re;Lt<qe;){var Qe,_t,Ft,Ze,$e=Ie[Lt],nt=null,Ot=$e>239?4:$e>223?3:$e>191?2:1;if(Lt+Ot<=qe)switch(Ot){case 1:$e<128&&(nt=$e);break;case 2:(192&(Qe=Ie[Lt+1]))==128&&(Ze=(31&$e)<<6|63&Qe)>127&&(nt=Ze);break;case 3:Qe=Ie[Lt+1],_t=Ie[Lt+2],(192&Qe)==128&&(192&_t)==128&&(Ze=(15&$e)<<12|(63&Qe)<<6|63&_t)>2047&&(Ze<55296||Ze>57343)&&(nt=Ze);break;case 4:Qe=Ie[Lt+1],_t=Ie[Lt+2],Ft=Ie[Lt+3],(192&Qe)==128&&(192&_t)==128&&(192&Ft)==128&&(Ze=(15&$e)<<18|(63&Qe)<<12|(63&_t)<<6|63&Ft)>65535&&Ze<1114112&&(nt=Ze)}nt===null?(nt=65533,Ot=1):nt>65535&&(nt-=65536,pt.push(nt>>>10&1023|55296),nt=56320|1023&nt),pt.push(nt),Lt+=Ot}return z(pt)}u.kMaxLength=g,y.TYPED_ARRAY_SUPPORT=A(),y.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.buffer}}),Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.byteOffset}}),typeof Symbol<"u"&&Symbol.species!=null&&y[Symbol.species]===y&&Object.defineProperty(y,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),y.poolSize=8192,y.from=function(Ie,Re,qe){return b(Ie,Re,qe)},y.prototype.__proto__=Uint8Array.prototype,y.__proto__=Uint8Array,y.alloc=function(Ie,Re,qe){return E(Ie,Re,qe)},y.allocUnsafe=function(Ie){return B(Ie)},y.allocUnsafeSlow=function(Ie){return B(Ie)},y.isBuffer=function(Ie){return Ie!=null&&Ie._isBuffer===!0&&Ie!==y.prototype},y.compare=function(Ie,Re){if(Ke(Ie,Uint8Array)&&(Ie=y.from(Ie,Ie.offset,Ie.byteLength)),Ke(Re,Uint8Array)&&(Re=y.from(Re,Re.offset,Re.byteLength)),!y.isBuffer(Ie)||!y.isBuffer(Re))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ie===Re)return 0;for(var qe=Ie.length,pt=Re.length,Lt=0,Qe=Math.min(qe,pt);Lt<Qe;++Lt)if(Ie[Lt]!==Re[Lt]){qe=Ie[Lt],pt=Re[Lt];break}return qe<pt?-1:pt<qe?1:0},y.isEncoding=function(Ie){switch(String(Ie).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}},y.concat=function(Ie,Re){if(!Array.isArray(Ie))throw new TypeError('"list" argument must be an Array of Buffers');if(Ie.length===0)return y.alloc(0);var qe;if(Re===void 0)for(Re=0,qe=0;qe<Ie.length;++qe)Re+=Ie[qe].length;var pt=y.allocUnsafe(Re),Lt=0;for(qe=0;qe<Ie.length;++qe){var Qe=Ie[qe];if(Ke(Qe,Uint8Array)&&(Qe=y.from(Qe)),!y.isBuffer(Qe))throw new TypeError('"list" argument must be an Array of Buffers');Qe.copy(pt,Lt),Lt+=Qe.length}return pt},y.byteLength=H,y.prototype._isBuffer=!0,y.prototype.swap16=function(){var Ie=this.length;if(Ie%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Re=0;Re<Ie;Re+=2)V(this,Re,Re+1);return this},y.prototype.swap32=function(){var Ie=this.length;if(Ie%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Re=0;Re<Ie;Re+=4)V(this,Re,Re+3),V(this,Re+1,Re+2);return this},y.prototype.swap64=function(){var Ie=this.length;if(Ie%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Re=0;Re<Ie;Re+=8)V(this,Re,Re+7),V(this,Re+1,Re+6),V(this,Re+2,Re+5),V(this,Re+3,Re+4);return this},y.prototype.toString=function(){var Ie=this.length;return Ie===0?"":arguments.length===0?J(this,0,Ie):W.apply(this,arguments)},y.prototype.toLocaleString=y.prototype.toString,y.prototype.equals=function(Ie){if(!y.isBuffer(Ie))throw new TypeError("Argument must be a Buffer");return this===Ie||y.compare(this,Ie)===0},y.prototype.inspect=function(){var Ie="",Re=u.INSPECT_MAX_BYTES;return Ie=this.toString("hex",0,Re).replace(/(.{2})/g,"$1 ").trim(),this.length>Re&&(Ie+=" ... "),"<Buffer "+Ie+">"},y.prototype.compare=function(Ie,Re,qe,pt,Lt){if(Ke(Ie,Uint8Array)&&(Ie=y.from(Ie,Ie.offset,Ie.byteLength)),!y.isBuffer(Ie))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ie);if(Re===void 0&&(Re=0),qe===void 0&&(qe=Ie?Ie.length:0),pt===void 0&&(pt=0),Lt===void 0&&(Lt=this.length),Re<0||qe>Ie.length||pt<0||Lt>this.length)throw new RangeError("out of range index");if(pt>=Lt&&Re>=qe)return 0;if(pt>=Lt)return-1;if(Re>=qe)return 1;if(this===Ie)return 0;for(var Qe=(Lt>>>=0)-(pt>>>=0),_t=(qe>>>=0)-(Re>>>=0),Ft=Math.min(Qe,_t),Ze=this.slice(pt,Lt),$e=Ie.slice(Re,qe),nt=0;nt<Ft;++nt)if(Ze[nt]!==$e[nt]){Qe=Ze[nt],_t=$e[nt];break}return Qe<_t?-1:_t<Qe?1:0},y.prototype.includes=function(Ie,Re,qe){return this.indexOf(Ie,Re,qe)!==-1},y.prototype.indexOf=function(Ie,Re,qe){return te(this,Ie,Re,qe,!0)},y.prototype.lastIndexOf=function(Ie,Re,qe){return te(this,Ie,Re,qe,!1)},y.prototype.write=function(Ie,Re,qe,pt){if(Re===void 0)pt="utf8",qe=this.length,Re=0;else if(qe===void 0&&typeof Re=="string")pt=Re,qe=this.length,Re=0;else{if(!isFinite(Re))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");Re>>>=0,isFinite(qe)?(qe>>>=0,pt===void 0&&(pt="utf8")):(pt=qe,qe=void 0)}var Lt=this.length-Re;if((qe===void 0||qe>Lt)&&(qe=Lt),Ie.length>0&&(qe<0||Re<0)||Re>this.length)throw new RangeError("Attempt to write outside buffer bounds");pt||(pt="utf8");for(var Qe=!1;;)switch(pt){case"hex":return fe(this,Ie,Re,qe);case"utf8":case"utf-8":return de(this,Ie,Re,qe);case"ascii":return Ae(this,Ie,Re,qe);case"latin1":case"binary":return we(this,Ie,Re,qe);case"base64":return Z(this,Ie,Re,qe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,Ie,Re,qe);default:if(Qe)throw new TypeError("Unknown encoding: "+pt);pt=(""+pt).toLowerCase(),Qe=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var q=4096;function z(Ie){var Re=Ie.length;if(Re<=q)return String.fromCharCode.apply(String,Ie);for(var qe="",pt=0;pt<Re;)qe+=String.fromCharCode.apply(String,Ie.slice(pt,pt+=q));return qe}function X(Ie,Re,qe){var pt="";qe=Math.min(Ie.length,qe);for(var Lt=Re;Lt<qe;++Lt)pt+=String.fromCharCode(127&Ie[Lt]);return pt}function se(Ie,Re,qe){var pt="";qe=Math.min(Ie.length,qe);for(var Lt=Re;Lt<qe;++Lt)pt+=String.fromCharCode(Ie[Lt]);return pt}function oe(Ie,Re,qe){var pt=Ie.length;(!Re||Re<0)&&(Re=0),(!qe||qe<0||qe>pt)&&(qe=pt);for(var Lt="",Qe=Re;Qe<qe;++Qe)Lt+=Ge(Ie[Qe]);return Lt}function ye(Ie,Re,qe){for(var pt=Ie.slice(Re,qe),Lt="",Qe=0;Qe<pt.length;Qe+=2)Lt+=String.fromCharCode(pt[Qe]+256*pt[Qe+1]);return Lt}function ae(Ie,Re,qe){if(Ie%1!=0||Ie<0)throw new RangeError("offset is not uint");if(Ie+Re>qe)throw new RangeError("Trying to access beyond buffer length")}function me(Ie,Re,qe,pt,Lt,Qe){if(!y.isBuffer(Ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(Re>Lt||Re<Qe)throw new RangeError('"value" argument is out of bounds');if(qe+pt>Ie.length)throw new RangeError("Index out of range")}function Fe(Ie,Re,qe,pt,Lt,Qe){if(qe+pt>Ie.length)throw new RangeError("Index out of range");if(qe<0)throw new RangeError("Index out of range")}function _e(Ie,Re,qe,pt,Lt){return Re=+Re,qe>>>=0,Lt||Fe(Ie,Re,qe,4),p.write(Ie,Re,qe,pt,23,4),qe+4}function rt(Ie,Re,qe,pt,Lt){return Re=+Re,qe>>>=0,Lt||Fe(Ie,Re,qe,8),p.write(Ie,Re,qe,pt,52,8),qe+8}y.prototype.slice=function(Ie,Re){var qe=this.length;(Ie=~~Ie)<0?(Ie+=qe)<0&&(Ie=0):Ie>qe&&(Ie=qe),(Re=Re===void 0?qe:~~Re)<0?(Re+=qe)<0&&(Re=0):Re>qe&&(Re=qe),Re<Ie&&(Re=Ie);var pt=this.subarray(Ie,Re);return pt.__proto__=y.prototype,pt},y.prototype.readUIntLE=function(Ie,Re,qe){Ie>>>=0,Re>>>=0,qe||ae(Ie,Re,this.length);for(var pt=this[Ie],Lt=1,Qe=0;++Qe<Re&&(Lt*=256);)pt+=this[Ie+Qe]*Lt;return pt},y.prototype.readUIntBE=function(Ie,Re,qe){Ie>>>=0,Re>>>=0,qe||ae(Ie,Re,this.length);for(var pt=this[Ie+--Re],Lt=1;Re>0&&(Lt*=256);)pt+=this[Ie+--Re]*Lt;return pt},y.prototype.readUInt8=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,1,this.length),this[Ie]},y.prototype.readUInt16LE=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,2,this.length),this[Ie]|this[Ie+1]<<8},y.prototype.readUInt16BE=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,2,this.length),this[Ie]<<8|this[Ie+1]},y.prototype.readUInt32LE=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,4,this.length),(this[Ie]|this[Ie+1]<<8|this[Ie+2]<<16)+16777216*this[Ie+3]},y.prototype.readUInt32BE=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,4,this.length),16777216*this[Ie]+(this[Ie+1]<<16|this[Ie+2]<<8|this[Ie+3])},y.prototype.readIntLE=function(Ie,Re,qe){Ie>>>=0,Re>>>=0,qe||ae(Ie,Re,this.length);for(var pt=this[Ie],Lt=1,Qe=0;++Qe<Re&&(Lt*=256);)pt+=this[Ie+Qe]*Lt;return pt>=(Lt*=128)&&(pt-=Math.pow(2,8*Re)),pt},y.prototype.readIntBE=function(Ie,Re,qe){Ie>>>=0,Re>>>=0,qe||ae(Ie,Re,this.length);for(var pt=Re,Lt=1,Qe=this[Ie+--pt];pt>0&&(Lt*=256);)Qe+=this[Ie+--pt]*Lt;return Qe>=(Lt*=128)&&(Qe-=Math.pow(2,8*Re)),Qe},y.prototype.readInt8=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,1,this.length),128&this[Ie]?-1*(255-this[Ie]+1):this[Ie]},y.prototype.readInt16LE=function(Ie,Re){Ie>>>=0,Re||ae(Ie,2,this.length);var qe=this[Ie]|this[Ie+1]<<8;return 32768&qe?4294901760|qe:qe},y.prototype.readInt16BE=function(Ie,Re){Ie>>>=0,Re||ae(Ie,2,this.length);var qe=this[Ie+1]|this[Ie]<<8;return 32768&qe?4294901760|qe:qe},y.prototype.readInt32LE=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,4,this.length),this[Ie]|this[Ie+1]<<8|this[Ie+2]<<16|this[Ie+3]<<24},y.prototype.readInt32BE=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,4,this.length),this[Ie]<<24|this[Ie+1]<<16|this[Ie+2]<<8|this[Ie+3]},y.prototype.readFloatLE=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,4,this.length),p.read(this,Ie,!0,23,4)},y.prototype.readFloatBE=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,4,this.length),p.read(this,Ie,!1,23,4)},y.prototype.readDoubleLE=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,8,this.length),p.read(this,Ie,!0,52,8)},y.prototype.readDoubleBE=function(Ie,Re){return Ie>>>=0,Re||ae(Ie,8,this.length),p.read(this,Ie,!1,52,8)},y.prototype.writeUIntLE=function(Ie,Re,qe,pt){Ie=+Ie,Re>>>=0,qe>>>=0,pt||me(this,Ie,Re,qe,Math.pow(2,8*qe)-1,0);var Lt=1,Qe=0;for(this[Re]=255&Ie;++Qe<qe&&(Lt*=256);)this[Re+Qe]=Ie/Lt&255;return Re+qe},y.prototype.writeUIntBE=function(Ie,Re,qe,pt){Ie=+Ie,Re>>>=0,qe>>>=0,pt||me(this,Ie,Re,qe,Math.pow(2,8*qe)-1,0);var Lt=qe-1,Qe=1;for(this[Re+Lt]=255&Ie;--Lt>=0&&(Qe*=256);)this[Re+Lt]=Ie/Qe&255;return Re+qe},y.prototype.writeUInt8=function(Ie,Re,qe){return Ie=+Ie,Re>>>=0,qe||me(this,Ie,Re,1,255,0),this[Re]=255&Ie,Re+1},y.prototype.writeUInt16LE=function(Ie,Re,qe){return Ie=+Ie,Re>>>=0,qe||me(this,Ie,Re,2,65535,0),this[Re]=255&Ie,this[Re+1]=Ie>>>8,Re+2},y.prototype.writeUInt16BE=function(Ie,Re,qe){return Ie=+Ie,Re>>>=0,qe||me(this,Ie,Re,2,65535,0),this[Re]=Ie>>>8,this[Re+1]=255&Ie,Re+2},y.prototype.writeUInt32LE=function(Ie,Re,qe){return Ie=+Ie,Re>>>=0,qe||me(this,Ie,Re,4,4294967295,0),this[Re+3]=Ie>>>24,this[Re+2]=Ie>>>16,this[Re+1]=Ie>>>8,this[Re]=255&Ie,Re+4},y.prototype.writeUInt32BE=function(Ie,Re,qe){return Ie=+Ie,Re>>>=0,qe||me(this,Ie,Re,4,4294967295,0),this[Re]=Ie>>>24,this[Re+1]=Ie>>>16,this[Re+2]=Ie>>>8,this[Re+3]=255&Ie,Re+4},y.prototype.writeIntLE=function(Ie,Re,qe,pt){if(Ie=+Ie,Re>>>=0,!pt){var Lt=Math.pow(2,8*qe-1);me(this,Ie,Re,qe,Lt-1,-Lt)}var Qe=0,_t=1,Ft=0;for(this[Re]=255&Ie;++Qe<qe&&(_t*=256);)Ie<0&&Ft===0&&this[Re+Qe-1]!==0&&(Ft=1),this[Re+Qe]=(Ie/_t|0)-Ft&255;return Re+qe},y.prototype.writeIntBE=function(Ie,Re,qe,pt){if(Ie=+Ie,Re>>>=0,!pt){var Lt=Math.pow(2,8*qe-1);me(this,Ie,Re,qe,Lt-1,-Lt)}var Qe=qe-1,_t=1,Ft=0;for(this[Re+Qe]=255&Ie;--Qe>=0&&(_t*=256);)Ie<0&&Ft===0&&this[Re+Qe+1]!==0&&(Ft=1),this[Re+Qe]=(Ie/_t|0)-Ft&255;return Re+qe},y.prototype.writeInt8=function(Ie,Re,qe){return Ie=+Ie,Re>>>=0,qe||me(this,Ie,Re,1,127,-128),Ie<0&&(Ie=255+Ie+1),this[Re]=255&Ie,Re+1},y.prototype.writeInt16LE=function(Ie,Re,qe){return Ie=+Ie,Re>>>=0,qe||me(this,Ie,Re,2,32767,-32768),this[Re]=255&Ie,this[Re+1]=Ie>>>8,Re+2},y.prototype.writeInt16BE=function(Ie,Re,qe){return Ie=+Ie,Re>>>=0,qe||me(this,Ie,Re,2,32767,-32768),this[Re]=Ie>>>8,this[Re+1]=255&Ie,Re+2},y.prototype.writeInt32LE=function(Ie,Re,qe){return Ie=+Ie,Re>>>=0,qe||me(this,Ie,Re,4,2147483647,-2147483648),this[Re]=255&Ie,this[Re+1]=Ie>>>8,this[Re+2]=Ie>>>16,this[Re+3]=Ie>>>24,Re+4},y.prototype.writeInt32BE=function(Ie,Re,qe){return Ie=+Ie,Re>>>=0,qe||me(this,Ie,Re,4,2147483647,-2147483648),Ie<0&&(Ie=4294967295+Ie+1),this[Re]=Ie>>>24,this[Re+1]=Ie>>>16,this[Re+2]=Ie>>>8,this[Re+3]=255&Ie,Re+4},y.prototype.writeFloatLE=function(Ie,Re,qe){return _e(this,Ie,Re,!0,qe)},y.prototype.writeFloatBE=function(Ie,Re,qe){return _e(this,Ie,Re,!1,qe)},y.prototype.writeDoubleLE=function(Ie,Re,qe){return rt(this,Ie,Re,!0,qe)},y.prototype.writeDoubleBE=function(Ie,Re,qe){return rt(this,Ie,Re,!1,qe)},y.prototype.copy=function(Ie,Re,qe,pt){if(!y.isBuffer(Ie))throw new TypeError("argument should be a Buffer");if(qe||(qe=0),pt||pt===0||(pt=this.length),Re>=Ie.length&&(Re=Ie.length),Re||(Re=0),pt>0&&pt<qe&&(pt=qe),pt===qe||Ie.length===0||this.length===0)return 0;if(Re<0)throw new RangeError("targetStart out of bounds");if(qe<0||qe>=this.length)throw new RangeError("Index out of range");if(pt<0)throw new RangeError("sourceEnd out of bounds");pt>this.length&&(pt=this.length),Ie.length-Re<pt-qe&&(pt=Ie.length-Re+qe);var Lt=pt-qe;if(this===Ie&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Re,qe,pt);else if(this===Ie&&qe<Re&&Re<pt)for(var Qe=Lt-1;Qe>=0;--Qe)Ie[Qe+Re]=this[Qe+qe];else Uint8Array.prototype.set.call(Ie,this.subarray(qe,pt),Re);return Lt},y.prototype.fill=function(Ie,Re,qe,pt){if(typeof Ie=="string"){if(typeof Re=="string"?(pt=Re,Re=0,qe=this.length):typeof qe=="string"&&(pt=qe,qe=this.length),pt!==void 0&&typeof pt!="string")throw new TypeError("encoding must be a string");if(typeof pt=="string"&&!y.isEncoding(pt))throw new TypeError("Unknown encoding: "+pt);if(Ie.length===1){var Lt=Ie.charCodeAt(0);(pt==="utf8"&&Lt<128||pt==="latin1")&&(Ie=Lt)}}else typeof Ie=="number"&&(Ie&=255);if(Re<0||this.length<Re||this.length<qe)throw new RangeError("Out of range index");if(qe<=Re)return this;var Qe;if(Re>>>=0,qe=qe===void 0?this.length:qe>>>0,Ie||(Ie=0),typeof Ie=="number")for(Qe=Re;Qe<qe;++Qe)this[Qe]=Ie;else{var _t=y.isBuffer(Ie)?Ie:y.from(Ie,pt),Ft=_t.length;if(Ft===0)throw new TypeError('The value "'+Ie+'" is invalid for argument "value"');for(Qe=0;Qe<qe-Re;++Qe)this[Qe+Re]=_t[Qe%Ft]}return this};var et=/[^+/0-9A-Za-z-_]/g;function st(Ie){if((Ie=(Ie=Ie.split("=")[0]).trim().replace(et,"")).length<2)return"";for(;Ie.length%4!=0;)Ie+="=";return Ie}function Ge(Ie){return Ie<16?"0"+Ie.toString(16):Ie.toString(16)}function Be(Ie,Re){var qe;Re=Re||1/0;for(var pt=Ie.length,Lt=null,Qe=[],_t=0;_t<pt;++_t){if((qe=Ie.charCodeAt(_t))>55295&&qe<57344){if(!Lt){if(qe>56319){(Re-=3)>-1&&Qe.push(239,191,189);continue}if(_t+1===pt){(Re-=3)>-1&&Qe.push(239,191,189);continue}Lt=qe;continue}if(qe<56320){(Re-=3)>-1&&Qe.push(239,191,189),Lt=qe;continue}qe=65536+(Lt-55296<<10|qe-56320)}else Lt&&(Re-=3)>-1&&Qe.push(239,191,189);if(Lt=null,qe<128){if((Re-=1)<0)break;Qe.push(qe)}else if(qe<2048){if((Re-=2)<0)break;Qe.push(qe>>6|192,63&qe|128)}else if(qe<65536){if((Re-=3)<0)break;Qe.push(qe>>12|224,qe>>6&63|128,63&qe|128)}else{if(!(qe<1114112))throw new Error("Invalid code point");if((Re-=4)<0)break;Qe.push(qe>>18|240,qe>>12&63|128,qe>>6&63|128,63&qe|128)}}return Qe}function Te(Ie){for(var Re=[],qe=0;qe<Ie.length;++qe)Re.push(255&Ie.charCodeAt(qe));return Re}function je(Ie,Re){for(var qe,pt,Lt,Qe=[],_t=0;_t<Ie.length&&!((Re-=2)<0);++_t)pt=(qe=Ie.charCodeAt(_t))>>8,Lt=qe%256,Qe.push(Lt),Qe.push(pt);return Qe}function lt(Ie){return d.toByteArray(st(Ie))}function Me(Ie,Re,qe,pt){for(var Lt=0;Lt<pt&&!(Lt+qe>=Re.length||Lt>=Ie.length);++Lt)Re[Lt+qe]=Ie[Lt];return Lt}function Ke(Ie,Re){return Ie instanceof Re||Ie!=null&&Ie.constructor!=null&&Ie.constructor.name!=null&&Ie.constructor.name===Re.name}function Rt(Ie){return Ie!=Ie}}).call(this)}).call(this,a("buffer").Buffer)},{"base64-js":185,buffer:220,ieee754:439}],221:[function(a,c,u){var h=a("safe-buffer").Buffer,d=a("stream").Transform,p=a("string_decoder").StringDecoder;function g(A){d.call(this),this.hashMode=typeof A=="string",this.hashMode?this[A]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}a("inherits")(g,d),g.prototype.update=function(A,m,y){typeof A=="string"&&(A=h.from(A,m));var b=this._update(A);return this.hashMode?this:(y&&(b=this._toString(b,y)),b)},g.prototype.setAutoPadding=function(){},g.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},g.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},g.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},g.prototype._transform=function(A,m,y){var b;try{this.hashMode?this._update(A):this.push(this._update(A))}catch(I){b=I}finally{y(b)}},g.prototype._flush=function(A){var m;try{this.push(this.__final())}catch(y){m=y}A(m)},g.prototype._finalOrDigest=function(A){var m=this.__final()||h.alloc(0);return A&&(m=this._toString(m,A,!0)),m},g.prototype._toString=function(A,m,y){if(this._decoder||(this._decoder=new p(m),this._encoding=m),this._encoding!==m)throw new Error("can't switch encodings");var b=this._decoder.write(A);return y&&(b+=this._decoder.end()),b},c.exports=g},{inherits:440,"safe-buffer":494,stream:505,string_decoder:218}],222:[function(a,c,u){var h=a("../internals/is-callable"),d=a("../internals/try-to-string"),p=TypeError;c.exports=function(g){if(h(g))return g;throw new p(d(g)+" is not a function")}},{"../internals/is-callable":285,"../internals/try-to-string":349}],223:[function(a,c,u){var h=a("../internals/is-constructor"),d=a("../internals/try-to-string"),p=TypeError;c.exports=function(g){if(h(g))return g;throw new p(d(g)+" is not a constructor")}},{"../internals/is-constructor":286,"../internals/try-to-string":349}],224:[function(a,c,u){var h=a("../internals/is-callable"),d=String,p=TypeError;c.exports=function(g){if(typeof g=="object"||h(g))return g;throw new p("Can't set "+d(g)+" as a prototype")}},{"../internals/is-callable":285}],225:[function(a,c,u){var h=a("../internals/well-known-symbol"),d=a("../internals/object-create"),p=a("../internals/object-define-property").f,g=h("unscopables"),A=Array.prototype;A[g]===void 0&&p(A,g,{configurable:!0,value:d(null)}),c.exports=function(m){A[g][m]=!0}},{"../internals/object-create":306,"../internals/object-define-property":308,"../internals/well-known-symbol":357}],226:[function(a,c,u){var h=a("../internals/object-is-prototype-of"),d=TypeError;c.exports=function(p,g){if(h(g,p))return p;throw new d("Incorrect invocation")}},{"../internals/object-is-prototype-of":314}],227:[function(a,c,u){var h=a("../internals/is-object"),d=String,p=TypeError;c.exports=function(g){if(h(g))return g;throw new p(d(g)+" is not an object")}},{"../internals/is-object":289}],228:[function(a,c,u){var h=a("../internals/to-indexed-object"),d=a("../internals/to-absolute-index"),p=a("../internals/length-of-array-like"),g=function(A){return function(m,y,b){var I,E=h(m),B=p(E),S=d(b,B);if(A&&y!=y){for(;B>S;)if((I=E[S++])!=I)return!0}else for(;B>S;S++)if((A||S in E)&&E[S]===y)return A||S||0;return!A&&-1}};c.exports={includes:g(!0),indexOf:g(!1)}},{"../internals/length-of-array-like":299,"../internals/to-absolute-index":340,"../internals/to-indexed-object":341}],229:[function(a,c,u){var h=a("../internals/function-bind-context"),d=a("../internals/function-uncurry-this"),p=a("../internals/indexed-object"),g=a("../internals/to-object"),A=a("../internals/length-of-array-like"),m=a("../internals/array-species-create"),y=d([].push),b=function(I){var E=I===1,B=I===2,S=I===3,_=I===4,D=I===6,T=I===7,F=I===5||D;return function(N,H,W,V){for(var te,ue,fe=g(N),de=p(fe),Ae=h(H,W),we=A(de),Z=0,ne=V||m,j=E?ne(N,we):B||T?ne(N,0):void 0;we>Z;Z++)if((F||Z in de)&&(ue=Ae(te=de[Z],Z,fe),I))if(E)j[Z]=ue;else if(ue)switch(I){case 3:return!0;case 5:return te;case 6:return Z;case 2:y(j,te)}else switch(I){case 4:return!1;case 7:y(j,te)}return D?-1:S||_?_:j}};c.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6),filterReject:b(7)}},{"../internals/array-species-create":233,"../internals/function-bind-context":262,"../internals/function-uncurry-this":268,"../internals/indexed-object":280,"../internals/length-of-array-like":299,"../internals/to-object":344}],230:[function(a,c,u){var h=a("../internals/to-absolute-index"),d=a("../internals/length-of-array-like"),p=a("../internals/create-property"),g=Array,A=Math.max;c.exports=function(m,y,b){for(var I=d(m),E=h(y,I),B=h(b===void 0?I:b,I),S=g(A(B-E,0)),_=0;E<B;E++,_++)p(S,_,m[E]);return S.length=_,S}},{"../internals/create-property":243,"../internals/length-of-array-like":299,"../internals/to-absolute-index":340}],231:[function(a,c,u){var h=a("../internals/function-uncurry-this");c.exports=h([].slice)},{"../internals/function-uncurry-this":268}],232:[function(a,c,u){var h=a("../internals/is-array"),d=a("../internals/is-constructor"),p=a("../internals/is-object"),g=a("../internals/well-known-symbol")("species"),A=Array;c.exports=function(m){var y;return h(m)&&(y=m.constructor,(d(y)&&(y===A||h(y.prototype))||p(y)&&(y=y[g])===null)&&(y=void 0)),y===void 0?A:y}},{"../internals/is-array":284,"../internals/is-constructor":286,"../internals/is-object":289,"../internals/well-known-symbol":357}],233:[function(a,c,u){var h=a("../internals/array-species-constructor");c.exports=function(d,p){return new(h(d))(p===0?0:p)}},{"../internals/array-species-constructor":232}],234:[function(a,c,u){var h=a("../internals/well-known-symbol")("iterator"),d=!1;try{var p=0,g={next:function(){return{done:!!p++}},return:function(){d=!0}};g[h]=function(){return this},Array.from(g,function(){throw 2})}catch{}c.exports=function(A,m){try{if(!m&&!d)return!1}catch{return!1}var y=!1;try{var b={};b[h]=function(){return{next:function(){return{done:y=!0}}}},A(b)}catch{}return y}},{"../internals/well-known-symbol":357}],235:[function(a,c,u){var h=a("../internals/function-uncurry-this"),d=h({}.toString),p=h("".slice);c.exports=function(g){return p(d(g),8,-1)}},{"../internals/function-uncurry-this":268}],236:[function(a,c,u){var h=a("../internals/to-string-tag-support"),d=a("../internals/is-callable"),p=a("../internals/classof-raw"),g=a("../internals/well-known-symbol")("toStringTag"),A=Object,m=p(function(){return arguments}())==="Arguments",y=function(b,I){try{return b[I]}catch{}};c.exports=h?p:function(b){var I,E,B;return b===void 0?"Undefined":b===null?"Null":typeof(E=y(I=A(b),g))=="string"?E:m?p(I):(B=p(I))==="Object"&&d(I.callee)?"Arguments":B}},{"../internals/classof-raw":235,"../internals/is-callable":285,"../internals/to-string-tag-support":347,"../internals/well-known-symbol":357}],237:[function(a,c,u){var h=a("../internals/has-own-property"),d=a("../internals/own-keys"),p=a("../internals/object-get-own-property-descriptor"),g=a("../internals/object-define-property");c.exports=function(A,m,y){for(var b=d(m),I=g.f,E=p.f,B=0;B<b.length;B++){var S=b[B];h(A,S)||y&&h(y,S)||I(A,S,E(m,S))}}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/object-get-own-property-descriptor":309,"../internals/own-keys":321}],238:[function(a,c,u){var h=a("../internals/well-known-symbol")("match");c.exports=function(d){var p=/./;try{"/./"[d](p)}catch{try{return p[h]=!1,"/./"[d](p)}catch{}}return!1}},{"../internals/well-known-symbol":357}],239:[function(a,c,u){var h=a("../internals/fails");c.exports=!h(function(){function d(){}return d.prototype.constructor=null,Object.getPrototypeOf(new d)!==d.prototype})},{"../internals/fails":260}],240:[function(a,c,u){c.exports=function(h,d){return{value:h,done:d}}},{}],241:[function(a,c,u){var h=a("../internals/descriptors"),d=a("../internals/object-define-property"),p=a("../internals/create-property-descriptor");c.exports=h?function(g,A,m){return d.f(g,A,p(1,m))}:function(g,A,m){return g[A]=m,g}},{"../internals/create-property-descriptor":242,"../internals/descriptors":247,"../internals/object-define-property":308}],242:[function(a,c,u){c.exports=function(h,d){return{enumerable:!(1&h),configurable:!(2&h),writable:!(4&h),value:d}}},{}],243:[function(a,c,u){var h=a("../internals/to-property-key"),d=a("../internals/object-define-property"),p=a("../internals/create-property-descriptor");c.exports=function(g,A,m){var y=h(A);y in g?d.f(g,y,p(0,m)):g[y]=m}},{"../internals/create-property-descriptor":242,"../internals/object-define-property":308,"../internals/to-property-key":346}],244:[function(a,c,u){var h=a("../internals/make-built-in"),d=a("../internals/object-define-property");c.exports=function(p,g,A){return A.get&&h(A.get,g,{getter:!0}),A.set&&h(A.set,g,{setter:!0}),d.f(p,g,A)}},{"../internals/make-built-in":300,"../internals/object-define-property":308}],245:[function(a,c,u){var h=a("../internals/is-callable"),d=a("../internals/object-define-property"),p=a("../internals/make-built-in"),g=a("../internals/define-global-property");c.exports=function(A,m,y,b){b||(b={});var I=b.enumerable,E=b.name!==void 0?b.name:m;if(h(y)&&p(y,E,b),b.global)I?A[m]=y:g(m,y);else{try{b.unsafe?A[m]&&(I=!0):delete A[m]}catch{}I?A[m]=y:d.f(A,m,{value:y,enumerable:!1,configurable:!b.nonConfigurable,writable:!b.nonWritable})}return A}},{"../internals/define-global-property":246,"../internals/is-callable":285,"../internals/make-built-in":300,"../internals/object-define-property":308}],246:[function(a,c,u){var h=a("../internals/global"),d=Object.defineProperty;c.exports=function(p,g){try{d(h,p,{value:g,configurable:!0,writable:!0})}catch{h[p]=g}return g}},{"../internals/global":274}],247:[function(a,c,u){var h=a("../internals/fails");c.exports=!h(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},{"../internals/fails":260}],248:[function(a,c,u){var h=typeof document=="object"&&document.all,d=h===void 0&&h!==void 0;c.exports={all:h,IS_HTMLDDA:d}},{}],249:[function(a,c,u){var h=a("../internals/global"),d=a("../internals/is-object"),p=h.document,g=d(p)&&d(p.createElement);c.exports=function(A){return g?p.createElement(A):{}}},{"../internals/global":274,"../internals/is-object":289}],250:[function(a,c,u){var h=a("../internals/engine-is-deno"),d=a("../internals/engine-is-node");c.exports=!h&&!d&&typeof window=="object"&&typeof document=="object"},{"../internals/engine-is-deno":251,"../internals/engine-is-node":254}],251:[function(a,c,u){c.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},{}],252:[function(a,c,u){var h=a("../internals/engine-user-agent");c.exports=/ipad|iphone|ipod/i.test(h)&&typeof Pebble<"u"},{"../internals/engine-user-agent":256}],253:[function(a,c,u){var h=a("../internals/engine-user-agent");c.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(h)},{"../internals/engine-user-agent":256}],254:[function(a,c,u){var h=a("../internals/global"),d=a("../internals/classof-raw");c.exports=d(h.process)==="process"},{"../internals/classof-raw":235,"../internals/global":274}],255:[function(a,c,u){var h=a("../internals/engine-user-agent");c.exports=/web0s(?!.*chrome)/i.test(h)},{"../internals/engine-user-agent":256}],256:[function(a,c,u){c.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},{}],257:[function(a,c,u){var h,d,p=a("../internals/global"),g=a("../internals/engine-user-agent"),A=p.process,m=p.Deno,y=A&&A.versions||m&&m.version,b=y&&y.v8;b&&(d=(h=b.split("."))[0]>0&&h[0]<4?1:+(h[0]+h[1])),!d&&g&&(!(h=g.match(/Edge\/(\d+)/))||h[1]>=74)&&(h=g.match(/Chrome\/(\d+)/))&&(d=+h[1]),c.exports=d},{"../internals/engine-user-agent":256,"../internals/global":274}],258:[function(a,c,u){c.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],259:[function(a,c,u){var h=a("../internals/global"),d=a("../internals/object-get-own-property-descriptor").f,p=a("../internals/create-non-enumerable-property"),g=a("../internals/define-built-in"),A=a("../internals/define-global-property"),m=a("../internals/copy-constructor-properties"),y=a("../internals/is-forced");c.exports=function(b,I){var E,B,S,_,D,T=b.target,F=b.global,N=b.stat;if(E=F?h:N?h[T]||A(T,{}):(h[T]||{}).prototype)for(B in I){if(_=I[B],S=b.dontCallGetSet?(D=d(E,B))&&D.value:E[B],!y(F?B:T+(N?".":"#")+B,b.forced)&&S!==void 0){if(typeof _==typeof S)continue;m(_,S)}(b.sham||S&&S.sham)&&p(_,"sham",!0),g(E,B,_,b)}}},{"../internals/copy-constructor-properties":237,"../internals/create-non-enumerable-property":241,"../internals/define-built-in":245,"../internals/define-global-property":246,"../internals/global":274,"../internals/is-forced":287,"../internals/object-get-own-property-descriptor":309}],260:[function(a,c,u){c.exports=function(h){try{return!!h()}catch{return!0}}},{}],261:[function(a,c,u){var h=a("../internals/function-bind-native"),d=Function.prototype,p=d.apply,g=d.call;c.exports=typeof Reflect=="object"&&Reflect.apply||(h?g.bind(p):function(){return g.apply(p,arguments)})},{"../internals/function-bind-native":263}],262:[function(a,c,u){var h=a("../internals/function-uncurry-this-clause"),d=a("../internals/a-callable"),p=a("../internals/function-bind-native"),g=h(h.bind);c.exports=function(A,m){return d(A),m===void 0?A:p?g(A,m):function(){return A.apply(m,arguments)}}},{"../internals/a-callable":222,"../internals/function-bind-native":263,"../internals/function-uncurry-this-clause":267}],263:[function(a,c,u){var h=a("../internals/fails");c.exports=!h(function(){var d=(function(){}).bind();return typeof d!="function"||d.hasOwnProperty("prototype")})},{"../internals/fails":260}],264:[function(a,c,u){var h=a("../internals/function-bind-native"),d=Function.prototype.call;c.exports=h?d.bind(d):function(){return d.apply(d,arguments)}},{"../internals/function-bind-native":263}],265:[function(a,c,u){var h=a("../internals/descriptors"),d=a("../internals/has-own-property"),p=Function.prototype,g=h&&Object.getOwnPropertyDescriptor,A=d(p,"name"),m=A&&(function(){}).name==="something",y=A&&(!h||h&&g(p,"name").configurable);c.exports={EXISTS:A,PROPER:m,CONFIGURABLE:y}},{"../internals/descriptors":247,"../internals/has-own-property":275}],266:[function(a,c,u){var h=a("../internals/function-uncurry-this"),d=a("../internals/a-callable");c.exports=function(p,g,A){try{return h(d(Object.getOwnPropertyDescriptor(p,g)[A]))}catch{}}},{"../internals/a-callable":222,"../internals/function-uncurry-this":268}],267:[function(a,c,u){var h=a("../internals/classof-raw"),d=a("../internals/function-uncurry-this");c.exports=function(p){if(h(p)==="Function")return d(p)}},{"../internals/classof-raw":235,"../internals/function-uncurry-this":268}],268:[function(a,c,u){var h=a("../internals/function-bind-native"),d=Function.prototype,p=d.call,g=h&&d.bind.bind(p,p);c.exports=h?g:function(A){return function(){return p.apply(A,arguments)}}},{"../internals/function-bind-native":263}],269:[function(a,c,u){var h=a("../internals/global"),d=a("../internals/is-callable"),p=function(g){return d(g)?g:void 0};c.exports=function(g,A){return arguments.length<2?p(h[g]):h[g]&&h[g][A]}},{"../internals/global":274,"../internals/is-callable":285}],270:[function(a,c,u){var h=a("../internals/classof"),d=a("../internals/get-method"),p=a("../internals/is-null-or-undefined"),g=a("../internals/iterators"),A=a("../internals/well-known-symbol")("iterator");c.exports=function(m){if(!p(m))return d(m,A)||d(m,"@@iterator")||g[h(m)]}},{"../internals/classof":236,"../internals/get-method":273,"../internals/is-null-or-undefined":288,"../internals/iterators":298,"../internals/well-known-symbol":357}],271:[function(a,c,u){var h=a("../internals/function-call"),d=a("../internals/a-callable"),p=a("../internals/an-object"),g=a("../internals/try-to-string"),A=a("../internals/get-iterator-method"),m=TypeError;c.exports=function(y,b){var I=arguments.length<2?A(y):b;if(d(I))return p(h(I,y));throw new m(g(y)+" is not iterable")}},{"../internals/a-callable":222,"../internals/an-object":227,"../internals/function-call":264,"../internals/get-iterator-method":270,"../internals/try-to-string":349}],272:[function(a,c,u){var h=a("../internals/function-uncurry-this"),d=a("../internals/is-array"),p=a("../internals/is-callable"),g=a("../internals/classof-raw"),A=a("../internals/to-string"),m=h([].push);c.exports=function(y){if(p(y))return y;if(d(y)){for(var b=y.length,I=[],E=0;E<b;E++){var B=y[E];typeof B=="string"?m(I,B):typeof B!="number"&&g(B)!=="Number"&&g(B)!=="String"||m(I,A(B))}var S=I.length,_=!0;return function(D,T){if(_)return _=!1,T;if(d(this))return T;for(var F=0;F<S;F++)if(I[F]===D)return T}}}},{"../internals/classof-raw":235,"../internals/function-uncurry-this":268,"../internals/is-array":284,"../internals/is-callable":285,"../internals/to-string":348}],273:[function(a,c,u){var h=a("../internals/a-callable"),d=a("../internals/is-null-or-undefined");c.exports=function(p,g){var A=p[g];return d(A)?void 0:h(A)}},{"../internals/a-callable":222,"../internals/is-null-or-undefined":288}],274:[function(a,c,u){(function(h){(function(){var d=function(p){return p&&p.Math===Math&&p};c.exports=d(typeof globalThis=="object"&&globalThis)||d(typeof window=="object"&&window)||d(typeof self=="object"&&self)||d(typeof h=="object"&&h)||function(){return this}()||this||Function("return this")()}).call(this)}).call(this,Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{}],275:[function(a,c,u){var h=a("../internals/function-uncurry-this"),d=a("../internals/to-object"),p=h({}.hasOwnProperty);c.exports=Object.hasOwn||function(g,A){return p(d(g),A)}},{"../internals/function-uncurry-this":268,"../internals/to-object":344}],276:[function(a,c,u){c.exports={}},{}],277:[function(a,c,u){c.exports=function(h,d){try{arguments.length===1?console.error(h):console.error(h,d)}catch{}}},{}],278:[function(a,c,u){var h=a("../internals/get-built-in");c.exports=h("document","documentElement")},{"../internals/get-built-in":269}],279:[function(a,c,u){var h=a("../internals/descriptors"),d=a("../internals/fails"),p=a("../internals/document-create-element");c.exports=!h&&!d(function(){return Object.defineProperty(p("div"),"a",{get:function(){return 7}}).a!==7})},{"../internals/descriptors":247,"../internals/document-create-element":249,"../internals/fails":260}],280:[function(a,c,u){var h=a("../internals/function-uncurry-this"),d=a("../internals/fails"),p=a("../internals/classof-raw"),g=Object,A=h("".split);c.exports=d(function(){return!g("z").propertyIsEnumerable(0)})?function(m){return p(m)==="String"?A(m,""):g(m)}:g},{"../internals/classof-raw":235,"../internals/fails":260,"../internals/function-uncurry-this":268}],281:[function(a,c,u){var h=a("../internals/function-uncurry-this"),d=a("../internals/is-callable"),p=a("../internals/shared-store"),g=h(Function.toString);d(p.inspectSource)||(p.inspectSource=function(A){return g(A)}),c.exports=p.inspectSource},{"../internals/function-uncurry-this":268,"../internals/is-callable":285,"../internals/shared-store":333}],282:[function(a,c,u){var h,d,p,g=a("../internals/weak-map-basic-detection"),A=a("../internals/global"),m=a("../internals/is-object"),y=a("../internals/create-non-enumerable-property"),b=a("../internals/has-own-property"),I=a("../internals/shared-store"),E=a("../internals/shared-key"),B=a("../internals/hidden-keys"),S="Object already initialized",_=A.TypeError,D=A.WeakMap,T=function(W){return p(W)?d(W):h(W,{})},F=function(W){return function(V){var te;if(!m(V)||(te=d(V)).type!==W)throw new _("Incompatible receiver, "+W+" required");return te}};if(g||I.state){var N=I.state||(I.state=new D);N.get=N.get,N.has=N.has,N.set=N.set,h=function(W,V){if(N.has(W))throw new _(S);return V.facade=W,N.set(W,V),V},d=function(W){return N.get(W)||{}},p=function(W){return N.has(W)}}else{var H=E("state");B[H]=!0,h=function(W,V){if(b(W,H))throw new _(S);return V.facade=W,y(W,H,V),V},d=function(W){return b(W,H)?W[H]:{}},p=function(W){return b(W,H)}}c.exports={set:h,get:d,has:p,enforce:T,getterFor:F}},{"../internals/create-non-enumerable-property":241,"../internals/global":274,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/is-object":289,"../internals/shared-key":332,"../internals/shared-store":333,"../internals/weak-map-basic-detection":354}],283:[function(a,c,u){var h=a("../internals/well-known-symbol"),d=a("../internals/iterators"),p=h("iterator"),g=Array.prototype;c.exports=function(A){return A!==void 0&&(d.Array===A||g[p]===A)}},{"../internals/iterators":298,"../internals/well-known-symbol":357}],284:[function(a,c,u){var h=a("../internals/classof-raw");c.exports=Array.isArray||function(d){return h(d)==="Array"}},{"../internals/classof-raw":235}],285:[function(a,c,u){var h=a("../internals/document-all"),d=h.all;c.exports=h.IS_HTMLDDA?function(p){return typeof p=="function"||p===d}:function(p){return typeof p=="function"}},{"../internals/document-all":248}],286:[function(a,c,u){var h=a("../internals/function-uncurry-this"),d=a("../internals/fails"),p=a("../internals/is-callable"),g=a("../internals/classof"),A=a("../internals/get-built-in"),m=a("../internals/inspect-source"),y=function(){},b=[],I=A("Reflect","construct"),E=/^\s*(?:class|function)\b/,B=h(E.exec),S=!E.test(y),_=function(T){if(!p(T))return!1;try{return I(y,b,T),!0}catch{return!1}},D=function(T){if(!p(T))return!1;switch(g(T)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return S||!!B(E,m(T))}catch{return!0}};D.sham=!0,c.exports=!I||d(function(){var T;return _(_.call)||!_(Object)||!_(function(){T=!0})||T})?D:_},{"../internals/classof":236,"../internals/fails":260,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/inspect-source":281,"../internals/is-callable":285}],287:[function(a,c,u){var h=a("../internals/fails"),d=a("../internals/is-callable"),p=/#|\.prototype\./,g=function(I,E){var B=m[A(I)];return B===b||B!==y&&(d(E)?h(E):!!E)},A=g.normalize=function(I){return String(I).replace(p,".").toLowerCase()},m=g.data={},y=g.NATIVE="N",b=g.POLYFILL="P";c.exports=g},{"../internals/fails":260,"../internals/is-callable":285}],288:[function(a,c,u){c.exports=function(h){return h==null}},{}],289:[function(a,c,u){var h=a("../internals/is-callable"),d=a("../internals/document-all"),p=d.all;c.exports=d.IS_HTMLDDA?function(g){return typeof g=="object"?g!==null:h(g)||g===p}:function(g){return typeof g=="object"?g!==null:h(g)}},{"../internals/document-all":248,"../internals/is-callable":285}],290:[function(a,c,u){c.exports=!1},{}],291:[function(a,c,u){var h=a("../internals/is-object"),d=a("../internals/classof-raw"),p=a("../internals/well-known-symbol")("match");c.exports=function(g){var A;return h(g)&&((A=g[p])!==void 0?!!A:d(g)==="RegExp")}},{"../internals/classof-raw":235,"../internals/is-object":289,"../internals/well-known-symbol":357}],292:[function(a,c,u){var h=a("../internals/get-built-in"),d=a("../internals/is-callable"),p=a("../internals/object-is-prototype-of"),g=a("../internals/use-symbol-as-uid"),A=Object;c.exports=g?function(m){return typeof m=="symbol"}:function(m){var y=h("Symbol");return d(y)&&p(y.prototype,A(m))}},{"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/object-is-prototype-of":314,"../internals/use-symbol-as-uid":351}],293:[function(a,c,u){var h=a("../internals/function-bind-context"),d=a("../internals/function-call"),p=a("../internals/an-object"),g=a("../internals/try-to-string"),A=a("../internals/is-array-iterator-method"),m=a("../internals/length-of-array-like"),y=a("../internals/object-is-prototype-of"),b=a("../internals/get-iterator"),I=a("../internals/get-iterator-method"),E=a("../internals/iterator-close"),B=TypeError,S=function(D,T){this.stopped=D,this.result=T},_=S.prototype;c.exports=function(D,T,F){var N,H,W,V,te,ue,fe,de=F&&F.that,Ae=!(!F||!F.AS_ENTRIES),we=!(!F||!F.IS_RECORD),Z=!(!F||!F.IS_ITERATOR),ne=!(!F||!F.INTERRUPTED),j=h(T,de),J=function(z){return N&&E(N,"normal",z),new S(!0,z)},q=function(z){return Ae?(p(z),ne?j(z[0],z[1],J):j(z[0],z[1])):ne?j(z,J):j(z)};if(we)N=D.iterator;else if(Z)N=D;else{if(!(H=I(D)))throw new B(g(D)+" is not iterable");if(A(H)){for(W=0,V=m(D);V>W;W++)if((te=q(D[W]))&&y(_,te))return te;return new S(!1)}N=b(D,H)}for(ue=we?D.next:N.next;!(fe=d(ue,N)).done;){try{te=q(fe.value)}catch(z){E(N,"throw",z)}if(typeof te=="object"&&te&&y(_,te))return te}return new S(!1)}},{"../internals/an-object":227,"../internals/function-bind-context":262,"../internals/function-call":264,"../internals/get-iterator":271,"../internals/get-iterator-method":270,"../internals/is-array-iterator-method":283,"../internals/iterator-close":294,"../internals/length-of-array-like":299,"../internals/object-is-prototype-of":314,"../internals/try-to-string":349}],294:[function(a,c,u){var h=a("../internals/function-call"),d=a("../internals/an-object"),p=a("../internals/get-method");c.exports=function(g,A,m){var y,b;d(g);try{if(!(y=p(g,"return"))){if(A==="throw")throw m;return m}y=h(y,g)}catch(I){b=!0,y=I}if(A==="throw")throw m;if(b)throw y;return d(y),m}},{"../internals/an-object":227,"../internals/function-call":264,"../internals/get-method":273}],295:[function(a,c,u){var h=a("../internals/iterators-core").IteratorPrototype,d=a("../internals/object-create"),p=a("../internals/create-property-descriptor"),g=a("../internals/set-to-string-tag"),A=a("../internals/iterators"),m=function(){return this};c.exports=function(y,b,I,E){var B=b+" Iterator";return y.prototype=d(h,{next:p(+!E,I)}),g(y,B,!1,!0),A[B]=m,y}},{"../internals/create-property-descriptor":242,"../internals/iterators":298,"../internals/iterators-core":297,"../internals/object-create":306,"../internals/set-to-string-tag":331}],296:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/function-call"),p=a("../internals/is-pure"),g=a("../internals/function-name"),A=a("../internals/is-callable"),m=a("../internals/iterator-create-constructor"),y=a("../internals/object-get-prototype-of"),b=a("../internals/object-set-prototype-of"),I=a("../internals/set-to-string-tag"),E=a("../internals/create-non-enumerable-property"),B=a("../internals/define-built-in"),S=a("../internals/well-known-symbol"),_=a("../internals/iterators"),D=a("../internals/iterators-core"),T=g.PROPER,F=g.CONFIGURABLE,N=D.IteratorPrototype,H=D.BUGGY_SAFARI_ITERATORS,W=S("iterator"),V="keys",te="values",ue="entries",fe=function(){return this};c.exports=function(de,Ae,we,Z,ne,j,J){m(we,Ae,Z);var q,z,X,se=function(rt){if(rt===ne&&Fe)return Fe;if(!H&&rt&&rt in ae)return ae[rt];switch(rt){case V:case te:case ue:return function(){return new we(this,rt)}}return function(){return new we(this)}},oe=Ae+" Iterator",ye=!1,ae=de.prototype,me=ae[W]||ae["@@iterator"]||ne&&ae[ne],Fe=!H&&me||se(ne),_e=Ae==="Array"&&ae.entries||me;if(_e&&(q=y(_e.call(new de)))!==Object.prototype&&q.next&&(p||y(q)===N||(b?b(q,N):A(q[W])||B(q,W,fe)),I(q,oe,!0,!0),p&&(_[oe]=fe)),T&&ne===te&&me&&me.name!==te&&(!p&&F?E(ae,"name",te):(ye=!0,Fe=function(){return d(me,this)})),ne)if(z={values:se(te),keys:j?Fe:se(V),entries:se(ue)},J)for(X in z)(H||ye||!(X in ae))&&B(ae,X,z[X]);else h({target:Ae,proto:!0,forced:H||ye},z);return p&&!J||ae[W]===Fe||B(ae,W,Fe,{name:ne}),_[Ae]=Fe,z}},{"../internals/create-non-enumerable-property":241,"../internals/define-built-in":245,"../internals/export":259,"../internals/function-call":264,"../internals/function-name":265,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/iterator-create-constructor":295,"../internals/iterators":298,"../internals/iterators-core":297,"../internals/object-get-prototype-of":313,"../internals/object-set-prototype-of":318,"../internals/set-to-string-tag":331,"../internals/well-known-symbol":357}],297:[function(a,c,u){var h,d,p,g=a("../internals/fails"),A=a("../internals/is-callable"),m=a("../internals/is-object"),y=a("../internals/object-create"),b=a("../internals/object-get-prototype-of"),I=a("../internals/define-built-in"),E=a("../internals/well-known-symbol"),B=a("../internals/is-pure"),S=E("iterator"),_=!1;[].keys&&("next"in(p=[].keys())?(d=b(b(p)))!==Object.prototype&&(h=d):_=!0),!m(h)||g(function(){var D={};return h[S].call(D)!==D})?h={}:B&&(h=y(h)),A(h[S])||I(h,S,function(){return this}),c.exports={IteratorPrototype:h,BUGGY_SAFARI_ITERATORS:_}},{"../internals/define-built-in":245,"../internals/fails":260,"../internals/is-callable":285,"../internals/is-object":289,"../internals/is-pure":290,"../internals/object-create":306,"../internals/object-get-prototype-of":313,"../internals/well-known-symbol":357}],298:[function(a,c,u){arguments[4][276][0].apply(u,arguments)},{dup:276}],299:[function(a,c,u){var h=a("../internals/to-length");c.exports=function(d){return h(d.length)}},{"../internals/to-length":343}],300:[function(a,c,u){var h=a("../internals/function-uncurry-this"),d=a("../internals/fails"),p=a("../internals/is-callable"),g=a("../internals/has-own-property"),A=a("../internals/descriptors"),m=a("../internals/function-name").CONFIGURABLE,y=a("../internals/inspect-source"),b=a("../internals/internal-state"),I=b.enforce,E=b.get,B=String,S=Object.defineProperty,_=h("".slice),D=h("".replace),T=h([].join),F=A&&!d(function(){return S(function(){},"length",{value:8}).length!==8}),N=String(String).split("String"),H=c.exports=function(W,V,te){_(B(V),0,7)==="Symbol("&&(V="["+D(B(V),/^Symbol\(([^)]*)\)/,"$1")+"]"),te&&te.getter&&(V="get "+V),te&&te.setter&&(V="set "+V),(!g(W,"name")||m&&W.name!==V)&&(A?S(W,"name",{value:V,configurable:!0}):W.name=V),F&&te&&g(te,"arity")&&W.length!==te.arity&&S(W,"length",{value:te.arity});try{te&&g(te,"constructor")&&te.constructor?A&&S(W,"prototype",{writable:!1}):W.prototype&&(W.prototype=void 0)}catch{}var ue=I(W);return g(ue,"source")||(ue.source=T(N,typeof V=="string"?V:"")),W};Function.prototype.toString=H(function(){return p(this)&&E(this).source||y(this)},"toString")},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-name":265,"../internals/function-uncurry-this":268,"../internals/has-own-property":275,"../internals/inspect-source":281,"../internals/internal-state":282,"../internals/is-callable":285}],301:[function(a,c,u){var h=Math.ceil,d=Math.floor;c.exports=Math.trunc||function(p){var g=+p;return(g>0?d:h)(g)}},{}],302:[function(a,c,u){var h,d,p,g,A,m=a("../internals/global"),y=a("../internals/function-bind-context"),b=a("../internals/object-get-own-property-descriptor").f,I=a("../internals/task").set,E=a("../internals/queue"),B=a("../internals/engine-is-ios"),S=a("../internals/engine-is-ios-pebble"),_=a("../internals/engine-is-webos-webkit"),D=a("../internals/engine-is-node"),T=m.MutationObserver||m.WebKitMutationObserver,F=m.document,N=m.process,H=m.Promise,W=b(m,"queueMicrotask"),V=W&&W.value;if(!V){var te=new E,ue=function(){var fe,de;for(D&&(fe=N.domain)&&fe.exit();de=te.get();)try{de()}catch(Ae){throw te.head&&h(),Ae}fe&&fe.enter()};B||D||_||!T||!F?!S&&H&&H.resolve?((g=H.resolve(void 0)).constructor=H,A=y(g.then,g),h=function(){A(ue)}):D?h=function(){N.nextTick(ue)}:(I=y(I,m),h=function(){I(ue)}):(d=!0,p=F.createTextNode(""),new T(ue).observe(p,{characterData:!0}),h=function(){p.data=d=!d}),V=function(fe){te.head||h(),te.add(fe)}}c.exports=V},{"../internals/engine-is-ios":253,"../internals/engine-is-ios-pebble":252,"../internals/engine-is-node":254,"../internals/engine-is-webos-webkit":255,"../internals/function-bind-context":262,"../internals/global":274,"../internals/object-get-own-property-descriptor":309,"../internals/queue":328,"../internals/task":339}],303:[function(a,c,u){var h=a("../internals/a-callable"),d=TypeError,p=function(g){var A,m;this.promise=new g(function(y,b){if(A!==void 0||m!==void 0)throw new d("Bad Promise constructor");A=y,m=b}),this.resolve=h(A),this.reject=h(m)};c.exports.f=function(g){return new p(g)}},{"../internals/a-callable":222}],304:[function(a,c,u){var h=a("../internals/is-regexp"),d=TypeError;c.exports=function(p){if(h(p))throw new d("The method doesn't accept regular expressions");return p}},{"../internals/is-regexp":291}],305:[function(a,c,u){var h=a("../internals/descriptors"),d=a("../internals/function-uncurry-this"),p=a("../internals/function-call"),g=a("../internals/fails"),A=a("../internals/object-keys"),m=a("../internals/object-get-own-property-symbols"),y=a("../internals/object-property-is-enumerable"),b=a("../internals/to-object"),I=a("../internals/indexed-object"),E=Object.assign,B=Object.defineProperty,S=d([].concat);c.exports=!E||g(function(){if(h&&E({b:1},E(B({},"a",{enumerable:!0,get:function(){B(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var _={},D={},T=Symbol("assign detection"),F="abcdefghijklmnopqrst";return _[T]=7,F.split("").forEach(function(N){D[N]=N}),E({},_)[T]!==7||A(E({},D)).join("")!==F})?function(_,D){for(var T=b(_),F=arguments.length,N=1,H=m.f,W=y.f;F>N;)for(var V,te=I(arguments[N++]),ue=H?S(A(te),H(te)):A(te),fe=ue.length,de=0;fe>de;)V=ue[de++],h&&!p(W,te,V)||(T[V]=te[V]);return T}:E},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/indexed-object":280,"../internals/object-get-own-property-symbols":312,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/to-object":344}],306:[function(a,c,u){var h,d=a("../internals/an-object"),p=a("../internals/object-define-properties"),g=a("../internals/enum-bug-keys"),A=a("../internals/hidden-keys"),m=a("../internals/html"),y=a("../internals/document-create-element"),b=a("../internals/shared-key"),I=">",E="<",B="prototype",S="script",_=b("IE_PROTO"),D=function(){},T=function(W){return E+S+I+W+E+"/"+S+I},F=function(W){W.write(T("")),W.close();var V=W.parentWindow.Object;return W=null,V},N=function(){var W,V=y("iframe"),te="java"+S+":";return V.style.display="none",m.appendChild(V),V.src=String(te),(W=V.contentWindow.document).open(),W.write(T("document.F=Object")),W.close(),W.F},H=function(){try{h=new ActiveXObject("htmlfile")}catch{}H=typeof document<"u"?document.domain&&h?F(h):N():F(h);for(var W=g.length;W--;)delete H[B][g[W]];return H()};A[_]=!0,c.exports=Object.create||function(W,V){var te;return W!==null?(D[B]=d(W),te=new D,D[B]=null,te[_]=W):te=H(),V===void 0?te:p.f(te,V)}},{"../internals/an-object":227,"../internals/document-create-element":249,"../internals/enum-bug-keys":258,"../internals/hidden-keys":276,"../internals/html":278,"../internals/object-define-properties":307,"../internals/shared-key":332}],307:[function(a,c,u){var h=a("../internals/descriptors"),d=a("../internals/v8-prototype-define-bug"),p=a("../internals/object-define-property"),g=a("../internals/an-object"),A=a("../internals/to-indexed-object"),m=a("../internals/object-keys");u.f=h&&!d?Object.defineProperties:function(y,b){g(y);for(var I,E=A(b),B=m(b),S=B.length,_=0;S>_;)p.f(y,I=B[_++],E[I]);return y}},{"../internals/an-object":227,"../internals/descriptors":247,"../internals/object-define-property":308,"../internals/object-keys":316,"../internals/to-indexed-object":341,"../internals/v8-prototype-define-bug":352}],308:[function(a,c,u){var h=a("../internals/descriptors"),d=a("../internals/ie8-dom-define"),p=a("../internals/v8-prototype-define-bug"),g=a("../internals/an-object"),A=a("../internals/to-property-key"),m=TypeError,y=Object.defineProperty,b=Object.getOwnPropertyDescriptor,I="enumerable",E="configurable",B="writable";u.f=h?p?function(S,_,D){if(g(S),_=A(_),g(D),typeof S=="function"&&_==="prototype"&&"value"in D&&B in D&&!D[B]){var T=b(S,_);T&&T[B]&&(S[_]=D.value,D={configurable:E in D?D[E]:T[E],enumerable:I in D?D[I]:T[I],writable:!1})}return y(S,_,D)}:y:function(S,_,D){if(g(S),_=A(_),g(D),d)try{return y(S,_,D)}catch{}if("get"in D||"set"in D)throw new m("Accessors not supported");return"value"in D&&(S[_]=D.value),S}},{"../internals/an-object":227,"../internals/descriptors":247,"../internals/ie8-dom-define":279,"../internals/to-property-key":346,"../internals/v8-prototype-define-bug":352}],309:[function(a,c,u){var h=a("../internals/descriptors"),d=a("../internals/function-call"),p=a("../internals/object-property-is-enumerable"),g=a("../internals/create-property-descriptor"),A=a("../internals/to-indexed-object"),m=a("../internals/to-property-key"),y=a("../internals/has-own-property"),b=a("../internals/ie8-dom-define"),I=Object.getOwnPropertyDescriptor;u.f=h?I:function(E,B){if(E=A(E),B=m(B),b)try{return I(E,B)}catch{}if(y(E,B))return g(!d(p.f,E,B),E[B])}},{"../internals/create-property-descriptor":242,"../internals/descriptors":247,"../internals/function-call":264,"../internals/has-own-property":275,"../internals/ie8-dom-define":279,"../internals/object-property-is-enumerable":317,"../internals/to-indexed-object":341,"../internals/to-property-key":346}],310:[function(a,c,u){var h=a("../internals/classof-raw"),d=a("../internals/to-indexed-object"),p=a("../internals/object-get-own-property-names").f,g=a("../internals/array-slice-simple"),A=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(y){try{return p(y)}catch{return g(A)}};c.exports.f=function(y){return A&&h(y)==="Window"?m(y):p(d(y))}},{"../internals/array-slice-simple":230,"../internals/classof-raw":235,"../internals/object-get-own-property-names":311,"../internals/to-indexed-object":341}],311:[function(a,c,u){var h=a("../internals/object-keys-internal"),d=a("../internals/enum-bug-keys").concat("length","prototype");u.f=Object.getOwnPropertyNames||function(p){return h(p,d)}},{"../internals/enum-bug-keys":258,"../internals/object-keys-internal":315}],312:[function(a,c,u){u.f=Object.getOwnPropertySymbols},{}],313:[function(a,c,u){var h=a("../internals/has-own-property"),d=a("../internals/is-callable"),p=a("../internals/to-object"),g=a("../internals/shared-key"),A=a("../internals/correct-prototype-getter"),m=g("IE_PROTO"),y=Object,b=y.prototype;c.exports=A?y.getPrototypeOf:function(I){var E=p(I);if(h(E,m))return E[m];var B=E.constructor;return d(B)&&E instanceof B?B.prototype:E instanceof y?b:null}},{"../internals/correct-prototype-getter":239,"../internals/has-own-property":275,"../internals/is-callable":285,"../internals/shared-key":332,"../internals/to-object":344}],314:[function(a,c,u){var h=a("../internals/function-uncurry-this");c.exports=h({}.isPrototypeOf)},{"../internals/function-uncurry-this":268}],315:[function(a,c,u){var h=a("../internals/function-uncurry-this"),d=a("../internals/has-own-property"),p=a("../internals/to-indexed-object"),g=a("../internals/array-includes").indexOf,A=a("../internals/hidden-keys"),m=h([].push);c.exports=function(y,b){var I,E=p(y),B=0,S=[];for(I in E)!d(A,I)&&d(E,I)&&m(S,I);for(;b.length>B;)d(E,I=b[B++])&&(~g(S,I)||m(S,I));return S}},{"../internals/array-includes":228,"../internals/function-uncurry-this":268,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/to-indexed-object":341}],316:[function(a,c,u){var h=a("../internals/object-keys-internal"),d=a("../internals/enum-bug-keys");c.exports=Object.keys||function(p){return h(p,d)}},{"../internals/enum-bug-keys":258,"../internals/object-keys-internal":315}],317:[function(a,c,u){var h={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,p=d&&!h.call({1:2},1);u.f=p?function(g){var A=d(this,g);return!!A&&A.enumerable}:h},{}],318:[function(a,c,u){var h=a("../internals/function-uncurry-this-accessor"),d=a("../internals/an-object"),p=a("../internals/a-possible-prototype");c.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var g,A=!1,m={};try{(g=h(Object.prototype,"__proto__","set"))(m,[]),A=m instanceof Array}catch{}return function(y,b){return d(y),p(b),A?g(y,b):y.__proto__=b,y}}():void 0)},{"../internals/a-possible-prototype":224,"../internals/an-object":227,"../internals/function-uncurry-this-accessor":266}],319:[function(a,c,u){var h=a("../internals/descriptors"),d=a("../internals/fails"),p=a("../internals/function-uncurry-this"),g=a("../internals/object-get-prototype-of"),A=a("../internals/object-keys"),m=a("../internals/to-indexed-object"),y=p(a("../internals/object-property-is-enumerable").f),b=p([].push),I=h&&d(function(){var B=Object.create(null);return B[2]=2,!y(B,2)}),E=function(B){return function(S){for(var _,D=m(S),T=A(D),F=I&&g(D)===null,N=T.length,H=0,W=[];N>H;)_=T[H++],h&&!(F?_ in D:y(D,_))||b(W,B?[_,D[_]]:D[_]);return W}};c.exports={entries:E(!0),values:E(!1)}},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-uncurry-this":268,"../internals/object-get-prototype-of":313,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/to-indexed-object":341}],320:[function(a,c,u){var h=a("../internals/function-call"),d=a("../internals/is-callable"),p=a("../internals/is-object"),g=TypeError;c.exports=function(A,m){var y,b;if(m==="string"&&d(y=A.toString)&&!p(b=h(y,A))||d(y=A.valueOf)&&!p(b=h(y,A))||m!=="string"&&d(y=A.toString)&&!p(b=h(y,A)))return b;throw new g("Can't convert object to primitive value")}},{"../internals/function-call":264,"../internals/is-callable":285,"../internals/is-object":289}],321:[function(a,c,u){var h=a("../internals/get-built-in"),d=a("../internals/function-uncurry-this"),p=a("../internals/object-get-own-property-names"),g=a("../internals/object-get-own-property-symbols"),A=a("../internals/an-object"),m=d([].concat);c.exports=h("Reflect","ownKeys")||function(y){var b=p.f(A(y)),I=g.f;return I?m(b,I(y)):b}},{"../internals/an-object":227,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/object-get-own-property-names":311,"../internals/object-get-own-property-symbols":312}],322:[function(a,c,u){var h=a("../internals/global");c.exports=h},{"../internals/global":274}],323:[function(a,c,u){c.exports=function(h){try{return{error:!1,value:h()}}catch(d){return{error:!0,value:d}}}},{}],324:[function(a,c,u){var h=a("../internals/global"),d=a("../internals/promise-native-constructor"),p=a("../internals/is-callable"),g=a("../internals/is-forced"),A=a("../internals/inspect-source"),m=a("../internals/well-known-symbol"),y=a("../internals/engine-is-browser"),b=a("../internals/engine-is-deno"),I=a("../internals/is-pure"),E=a("../internals/engine-v8-version"),B=d&&d.prototype,S=m("species"),_=!1,D=p(h.PromiseRejectionEvent),T=g("Promise",function(){var F=A(d),N=F!==String(d);if(!N&&E===66||I&&(!B.catch||!B.finally))return!0;if(!E||E<51||!/native code/.test(F)){var H=new d(function(V){V(1)}),W=function(V){V(function(){},function(){})};if((H.constructor={})[S]=W,!(_=H.then(function(){})instanceof W))return!0}return!N&&(y||b)&&!D});c.exports={CONSTRUCTOR:T,REJECTION_EVENT:D,SUBCLASSING:_}},{"../internals/engine-is-browser":250,"../internals/engine-is-deno":251,"../internals/engine-v8-version":257,"../internals/global":274,"../internals/inspect-source":281,"../internals/is-callable":285,"../internals/is-forced":287,"../internals/is-pure":290,"../internals/promise-native-constructor":325,"../internals/well-known-symbol":357}],325:[function(a,c,u){var h=a("../internals/global");c.exports=h.Promise},{"../internals/global":274}],326:[function(a,c,u){var h=a("../internals/an-object"),d=a("../internals/is-object"),p=a("../internals/new-promise-capability");c.exports=function(g,A){if(h(g),d(A)&&A.constructor===g)return A;var m=p.f(g);return(0,m.resolve)(A),m.promise}},{"../internals/an-object":227,"../internals/is-object":289,"../internals/new-promise-capability":303}],327:[function(a,c,u){var h=a("../internals/promise-native-constructor"),d=a("../internals/check-correctness-of-iteration"),p=a("../internals/promise-constructor-detection").CONSTRUCTOR;c.exports=p||!d(function(g){h.all(g).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":234,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325}],328:[function(a,c,u){var h=function(){this.head=null,this.tail=null};h.prototype={add:function(d){var p={item:d,next:null},g=this.tail;g?g.next=p:this.head=p,this.tail=p},get:function(){var d=this.head;if(d)return(this.head=d.next)===null&&(this.tail=null),d.item}},c.exports=h},{}],329:[function(a,c,u){var h=a("../internals/is-null-or-undefined"),d=TypeError;c.exports=function(p){if(h(p))throw new d("Can't call method on "+p);return p}},{"../internals/is-null-or-undefined":288}],330:[function(a,c,u){var h=a("../internals/get-built-in"),d=a("../internals/define-built-in-accessor"),p=a("../internals/well-known-symbol"),g=a("../internals/descriptors"),A=p("species");c.exports=function(m){var y=h(m);g&&y&&!y[A]&&d(y,A,{configurable:!0,get:function(){return this}})}},{"../internals/define-built-in-accessor":244,"../internals/descriptors":247,"../internals/get-built-in":269,"../internals/well-known-symbol":357}],331:[function(a,c,u){var h=a("../internals/object-define-property").f,d=a("../internals/has-own-property"),p=a("../internals/well-known-symbol")("toStringTag");c.exports=function(g,A,m){g&&!m&&(g=g.prototype),g&&!d(g,p)&&h(g,p,{configurable:!0,value:A})}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/well-known-symbol":357}],332:[function(a,c,u){var h=a("../internals/shared"),d=a("../internals/uid"),p=h("keys");c.exports=function(g){return p[g]||(p[g]=d(g))}},{"../internals/shared":334,"../internals/uid":350}],333:[function(a,c,u){var h=a("../internals/global"),d=a("../internals/define-global-property"),p="__core-js_shared__",g=h[p]||d(p,{});c.exports=g},{"../internals/define-global-property":246,"../internals/global":274}],334:[function(a,c,u){var h=a("../internals/is-pure"),d=a("../internals/shared-store");(c.exports=function(p,g){return d[p]||(d[p]=g!==void 0?g:{})})("versions",[]).push({version:"3.33.0",mode:h?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":290,"../internals/shared-store":333}],335:[function(a,c,u){var h=a("../internals/an-object"),d=a("../internals/a-constructor"),p=a("../internals/is-null-or-undefined"),g=a("../internals/well-known-symbol")("species");c.exports=function(A,m){var y,b=h(A).constructor;return b===void 0||p(y=h(b)[g])?m:d(y)}},{"../internals/a-constructor":223,"../internals/an-object":227,"../internals/is-null-or-undefined":288,"../internals/well-known-symbol":357}],336:[function(a,c,u){var h=a("../internals/engine-v8-version"),d=a("../internals/fails"),p=a("../internals/global").String;c.exports=!!Object.getOwnPropertySymbols&&!d(function(){var g=Symbol("symbol detection");return!p(g)||!(Object(g)instanceof Symbol)||!Symbol.sham&&h&&h<41})},{"../internals/engine-v8-version":257,"../internals/fails":260,"../internals/global":274}],337:[function(a,c,u){var h=a("../internals/function-call"),d=a("../internals/get-built-in"),p=a("../internals/well-known-symbol"),g=a("../internals/define-built-in");c.exports=function(){var A=d("Symbol"),m=A&&A.prototype,y=m&&m.valueOf,b=p("toPrimitive");m&&!m[b]&&g(m,b,function(I){return h(y,this)},{arity:1})}},{"../internals/define-built-in":245,"../internals/function-call":264,"../internals/get-built-in":269,"../internals/well-known-symbol":357}],338:[function(a,c,u){var h=a("../internals/symbol-constructor-detection");c.exports=h&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/symbol-constructor-detection":336}],339:[function(a,c,u){var h,d,p,g,A=a("../internals/global"),m=a("../internals/function-apply"),y=a("../internals/function-bind-context"),b=a("../internals/is-callable"),I=a("../internals/has-own-property"),E=a("../internals/fails"),B=a("../internals/html"),S=a("../internals/array-slice"),_=a("../internals/document-create-element"),D=a("../internals/validate-arguments-length"),T=a("../internals/engine-is-ios"),F=a("../internals/engine-is-node"),N=A.setImmediate,H=A.clearImmediate,W=A.process,V=A.Dispatch,te=A.Function,ue=A.MessageChannel,fe=A.String,de=0,Ae={},we="onreadystatechange";E(function(){h=A.location});var Z=function(q){if(I(Ae,q)){var z=Ae[q];delete Ae[q],z()}},ne=function(q){return function(){Z(q)}},j=function(q){Z(q.data)},J=function(q){A.postMessage(fe(q),h.protocol+"//"+h.host)};N&&H||(N=function(q){D(arguments.length,1);var z=b(q)?q:te(q),X=S(arguments,1);return Ae[++de]=function(){m(z,void 0,X)},d(de),de},H=function(q){delete Ae[q]},F?d=function(q){W.nextTick(ne(q))}:V&&V.now?d=function(q){V.now(ne(q))}:ue&&!T?(g=(p=new ue).port2,p.port1.onmessage=j,d=y(g.postMessage,g)):A.addEventListener&&b(A.postMessage)&&!A.importScripts&&h&&h.protocol!=="file:"&&!E(J)?(d=J,A.addEventListener("message",j,!1)):d=we in _("script")?function(q){B.appendChild(_("script"))[we]=function(){B.removeChild(this),Z(q)}}:function(q){setTimeout(ne(q),0)}),c.exports={set:N,clear:H}},{"../internals/array-slice":231,"../internals/document-create-element":249,"../internals/engine-is-ios":253,"../internals/engine-is-node":254,"../internals/fails":260,"../internals/function-apply":261,"../internals/function-bind-context":262,"../internals/global":274,"../internals/has-own-property":275,"../internals/html":278,"../internals/is-callable":285,"../internals/validate-arguments-length":353}],340:[function(a,c,u){var h=a("../internals/to-integer-or-infinity"),d=Math.max,p=Math.min;c.exports=function(g,A){var m=h(g);return m<0?d(m+A,0):p(m,A)}},{"../internals/to-integer-or-infinity":342}],341:[function(a,c,u){var h=a("../internals/indexed-object"),d=a("../internals/require-object-coercible");c.exports=function(p){return h(d(p))}},{"../internals/indexed-object":280,"../internals/require-object-coercible":329}],342:[function(a,c,u){var h=a("../internals/math-trunc");c.exports=function(d){var p=+d;return p!=p||p===0?0:h(p)}},{"../internals/math-trunc":301}],343:[function(a,c,u){var h=a("../internals/to-integer-or-infinity"),d=Math.min;c.exports=function(p){return p>0?d(h(p),9007199254740991):0}},{"../internals/to-integer-or-infinity":342}],344:[function(a,c,u){var h=a("../internals/require-object-coercible"),d=Object;c.exports=function(p){return d(h(p))}},{"../internals/require-object-coercible":329}],345:[function(a,c,u){var h=a("../internals/function-call"),d=a("../internals/is-object"),p=a("../internals/is-symbol"),g=a("../internals/get-method"),A=a("../internals/ordinary-to-primitive"),m=a("../internals/well-known-symbol"),y=TypeError,b=m("toPrimitive");c.exports=function(I,E){if(!d(I)||p(I))return I;var B,S=g(I,b);if(S){if(E===void 0&&(E="default"),B=h(S,I,E),!d(B)||p(B))return B;throw new y("Can't convert object to primitive value")}return E===void 0&&(E="number"),A(I,E)}},{"../internals/function-call":264,"../internals/get-method":273,"../internals/is-object":289,"../internals/is-symbol":292,"../internals/ordinary-to-primitive":320,"../internals/well-known-symbol":357}],346:[function(a,c,u){var h=a("../internals/to-primitive"),d=a("../internals/is-symbol");c.exports=function(p){var g=h(p,"string");return d(g)?g:g+""}},{"../internals/is-symbol":292,"../internals/to-primitive":345}],347:[function(a,c,u){var h={};h[a("../internals/well-known-symbol")("toStringTag")]="z",c.exports=String(h)==="[object z]"},{"../internals/well-known-symbol":357}],348:[function(a,c,u){var h=a("../internals/classof"),d=String;c.exports=function(p){if(h(p)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return d(p)}},{"../internals/classof":236}],349:[function(a,c,u){var h=String;c.exports=function(d){try{return h(d)}catch{return"Object"}}},{}],350:[function(a,c,u){var h=a("../internals/function-uncurry-this"),d=0,p=Math.random(),g=h(1 .toString);c.exports=function(A){return"Symbol("+(A===void 0?"":A)+")_"+g(++d+p,36)}},{"../internals/function-uncurry-this":268}],351:[function(a,c,u){var h=a("../internals/symbol-constructor-detection");c.exports=h&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/symbol-constructor-detection":336}],352:[function(a,c,u){var h=a("../internals/descriptors"),d=a("../internals/fails");c.exports=h&&d(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},{"../internals/descriptors":247,"../internals/fails":260}],353:[function(a,c,u){var h=TypeError;c.exports=function(d,p){if(d<p)throw new h("Not enough arguments");return d}},{}],354:[function(a,c,u){var h=a("../internals/global"),d=a("../internals/is-callable"),p=h.WeakMap;c.exports=d(p)&&/native code/.test(String(p))},{"../internals/global":274,"../internals/is-callable":285}],355:[function(a,c,u){var h=a("../internals/path"),d=a("../internals/has-own-property"),p=a("../internals/well-known-symbol-wrapped"),g=a("../internals/object-define-property").f;c.exports=function(A){var m=h.Symbol||(h.Symbol={});d(m,A)||g(m,A,{value:p.f(A)})}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/path":322,"../internals/well-known-symbol-wrapped":356}],356:[function(a,c,u){var h=a("../internals/well-known-symbol");u.f=h},{"../internals/well-known-symbol":357}],357:[function(a,c,u){var h=a("../internals/global"),d=a("../internals/shared"),p=a("../internals/has-own-property"),g=a("../internals/uid"),A=a("../internals/symbol-constructor-detection"),m=a("../internals/use-symbol-as-uid"),y=h.Symbol,b=d("wks"),I=m?y.for||y:y&&y.withoutSetter||g;c.exports=function(E){return p(b,E)||(b[E]=A&&p(y,E)?y[E]:I("Symbol."+E)),b[E]}},{"../internals/global":274,"../internals/has-own-property":275,"../internals/shared":334,"../internals/symbol-constructor-detection":336,"../internals/uid":350,"../internals/use-symbol-as-uid":351}],358:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/array-iteration").findIndex,p=a("../internals/add-to-unscopables"),g="findIndex",A=!0;g in[]&&Array(1)[g](function(){A=!1}),h({target:"Array",proto:!0,forced:A},{findIndex:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}}),p(g)},{"../internals/add-to-unscopables":225,"../internals/array-iteration":229,"../internals/export":259}],359:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/array-iteration").find,p=a("../internals/add-to-unscopables"),g="find",A=!0;g in[]&&Array(1)[g](function(){A=!1}),h({target:"Array",proto:!0,forced:A},{find:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}}),p(g)},{"../internals/add-to-unscopables":225,"../internals/array-iteration":229,"../internals/export":259}],360:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/array-includes").includes,p=a("../internals/fails"),g=a("../internals/add-to-unscopables");h({target:"Array",proto:!0,forced:p(function(){return!Array(1).includes()})},{includes:function(A){return d(this,A,arguments.length>1?arguments[1]:void 0)}}),g("includes")},{"../internals/add-to-unscopables":225,"../internals/array-includes":228,"../internals/export":259,"../internals/fails":260}],361:[function(a,c,u){var h=a("../internals/to-indexed-object"),d=a("../internals/add-to-unscopables"),p=a("../internals/iterators"),g=a("../internals/internal-state"),A=a("../internals/object-define-property").f,m=a("../internals/iterator-define"),y=a("../internals/create-iter-result-object"),b=a("../internals/is-pure"),I=a("../internals/descriptors"),E="Array Iterator",B=g.set,S=g.getterFor(E);c.exports=m(Array,"Array",function(D,T){B(this,{type:E,target:h(D),index:0,kind:T})},function(){var D=S(this),T=D.target,F=D.kind,N=D.index++;if(!T||N>=T.length)return D.target=void 0,y(void 0,!0);switch(F){case"keys":return y(N,!1);case"values":return y(T[N],!1)}return y([N,T[N]],!1)},"values");var _=p.Arguments=p.Array;if(d("keys"),d("values"),d("entries"),!b&&I&&_.name!=="values")try{A(_,"name",{value:"values"})}catch{}},{"../internals/add-to-unscopables":225,"../internals/create-iter-result-object":240,"../internals/descriptors":247,"../internals/internal-state":282,"../internals/is-pure":290,"../internals/iterator-define":296,"../internals/iterators":298,"../internals/object-define-property":308,"../internals/to-indexed-object":341}],362:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/get-built-in"),p=a("../internals/function-apply"),g=a("../internals/function-call"),A=a("../internals/function-uncurry-this"),m=a("../internals/fails"),y=a("../internals/is-callable"),b=a("../internals/is-symbol"),I=a("../internals/array-slice"),E=a("../internals/get-json-replacer-function"),B=a("../internals/symbol-constructor-detection"),S=String,_=d("JSON","stringify"),D=A(/./.exec),T=A("".charAt),F=A("".charCodeAt),N=A("".replace),H=A(1 .toString),W=/[\uD800-\uDFFF]/g,V=/^[\uD800-\uDBFF]$/,te=/^[\uDC00-\uDFFF]$/,ue=!B||m(function(){var we=d("Symbol")("stringify detection");return _([we])!=="[null]"||_({a:we})!=="{}"||_(Object(we))!=="{}"}),fe=m(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),de=function(we,Z){var ne=I(arguments),j=E(Z);if(y(j)||we!==void 0&&!b(we))return ne[1]=function(J,q){if(y(j)&&(q=g(j,this,S(J),q)),!b(q))return q},p(_,null,ne)},Ae=function(we,Z,ne){var j=T(ne,Z-1),J=T(ne,Z+1);return D(V,we)&&!D(te,J)||D(te,we)&&!D(V,j)?"\\u"+H(F(we,0),16):we};_&&h({target:"JSON",stat:!0,arity:3,forced:ue||fe},{stringify:function(we,Z,ne){var j=I(arguments),J=p(ue?de:_,null,j);return fe&&typeof J=="string"?N(J,W,Ae):J}})},{"../internals/array-slice":231,"../internals/export":259,"../internals/fails":260,"../internals/function-apply":261,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/get-json-replacer-function":272,"../internals/is-callable":285,"../internals/is-symbol":292,"../internals/symbol-constructor-detection":336}],363:[function(a,c,u){a("../internals/export")({target:"Number",stat:!0},{isNaN:function(h){return h!=h}})},{"../internals/export":259}],364:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/object-assign");h({target:"Object",stat:!0,arity:2,forced:Object.assign!==d},{assign:d})},{"../internals/export":259,"../internals/object-assign":305}],365:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/symbol-constructor-detection"),p=a("../internals/fails"),g=a("../internals/object-get-own-property-symbols"),A=a("../internals/to-object");h({target:"Object",stat:!0,forced:!d||p(function(){g.f(1)})},{getOwnPropertySymbols:function(m){var y=g.f;return y?y(A(m)):[]}})},{"../internals/export":259,"../internals/fails":260,"../internals/object-get-own-property-symbols":312,"../internals/symbol-constructor-detection":336,"../internals/to-object":344}],366:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/to-object"),p=a("../internals/object-keys");h({target:"Object",stat:!0,forced:a("../internals/fails")(function(){p(1)})},{keys:function(g){return p(d(g))}})},{"../internals/export":259,"../internals/fails":260,"../internals/object-keys":316,"../internals/to-object":344}],367:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/object-to-array").values;h({target:"Object",stat:!0},{values:function(p){return d(p)}})},{"../internals/export":259,"../internals/object-to-array":319}],368:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/function-call"),p=a("../internals/a-callable"),g=a("../internals/new-promise-capability"),A=a("../internals/perform"),m=a("../internals/iterate");h({target:"Promise",stat:!0,forced:a("../internals/promise-statics-incorrect-iteration")},{all:function(y){var b=this,I=g.f(b),E=I.resolve,B=I.reject,S=A(function(){var _=p(b.resolve),D=[],T=0,F=1;m(y,function(N){var H=T++,W=!1;F++,d(_,b,N).then(function(V){W||(W=!0,D[H]=V,--F||E(D))},B)}),--F||E(D)});return S.error&&B(S.value),I.promise}})},{"../internals/a-callable":222,"../internals/export":259,"../internals/function-call":264,"../internals/iterate":293,"../internals/new-promise-capability":303,"../internals/perform":323,"../internals/promise-statics-incorrect-iteration":327}],369:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/is-pure"),p=a("../internals/promise-constructor-detection").CONSTRUCTOR,g=a("../internals/promise-native-constructor"),A=a("../internals/get-built-in"),m=a("../internals/is-callable"),y=a("../internals/define-built-in"),b=g&&g.prototype;if(h({target:"Promise",proto:!0,forced:p,real:!0},{catch:function(E){return this.then(void 0,E)}}),!d&&m(g)){var I=A("Promise").prototype.catch;b.catch!==I&&y(b,"catch",I,{unsafe:!0})}},{"../internals/define-built-in":245,"../internals/export":259,"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325}],370:[function(a,c,u){var h,d,p,g,A=a("../internals/export"),m=a("../internals/is-pure"),y=a("../internals/engine-is-node"),b=a("../internals/global"),I=a("../internals/function-call"),E=a("../internals/define-built-in"),B=a("../internals/object-set-prototype-of"),S=a("../internals/set-to-string-tag"),_=a("../internals/set-species"),D=a("../internals/a-callable"),T=a("../internals/is-callable"),F=a("../internals/is-object"),N=a("../internals/an-instance"),H=a("../internals/species-constructor"),W=a("../internals/task").set,V=a("../internals/microtask"),te=a("../internals/host-report-errors"),ue=a("../internals/perform"),fe=a("../internals/queue"),de=a("../internals/internal-state"),Ae=a("../internals/promise-native-constructor"),we=a("../internals/promise-constructor-detection"),Z=a("../internals/new-promise-capability"),ne="Promise",j=we.CONSTRUCTOR,J=we.REJECTION_EVENT,q=we.SUBCLASSING,z=de.getterFor(ne),X=de.set,se=Ae&&Ae.prototype,oe=Ae,ye=se,ae=b.TypeError,me=b.document,Fe=b.process,_e=Z.f,rt=_e,et=!!(me&&me.createEvent&&b.dispatchEvent),st="unhandledrejection",Ge="rejectionhandled",Be=0,Te=1,je=2,lt=1,Me=2,Ke=function(Ze){var $e;return!(!F(Ze)||!T($e=Ze.then))&&$e},Rt=function(Ze,$e){var nt,Ot,He,Je=$e.value,tt=$e.state===Te,mt=tt?Ze.ok:Ze.fail,Xe=Ze.resolve,Ye=Ze.reject,ot=Ze.domain;try{mt?(tt||($e.rejection===Me&&Lt($e),$e.rejection=lt),mt===!0?nt=Je:(ot&&ot.enter(),nt=mt(Je),ot&&(ot.exit(),He=!0)),nt===Ze.promise?Ye(new ae("Promise-chain cycle")):(Ot=Ke(nt))?I(Ot,nt,Xe,Ye):Xe(nt)):Ye(Je)}catch(yt){ot&&!He&&ot.exit(),Ye(yt)}},Ie=function(Ze,$e){Ze.notified||(Ze.notified=!0,V(function(){for(var nt,Ot=Ze.reactions;nt=Ot.get();)Rt(nt,Ze);Ze.notified=!1,$e&&!Ze.rejection&&qe(Ze)}))},Re=function(Ze,$e,nt){var Ot,He;et?((Ot=me.createEvent("Event")).promise=$e,Ot.reason=nt,Ot.initEvent(Ze,!1,!0),b.dispatchEvent(Ot)):Ot={promise:$e,reason:nt},!J&&(He=b["on"+Ze])?He(Ot):Ze===st&&te("Unhandled promise rejection",nt)},qe=function(Ze){I(W,b,function(){var $e,nt=Ze.facade,Ot=Ze.value;if(pt(Ze)&&($e=ue(function(){y?Fe.emit("unhandledRejection",Ot,nt):Re(st,nt,Ot)}),Ze.rejection=y||pt(Ze)?Me:lt,$e.error))throw $e.value})},pt=function(Ze){return Ze.rejection!==lt&&!Ze.parent},Lt=function(Ze){I(W,b,function(){var $e=Ze.facade;y?Fe.emit("rejectionHandled",$e):Re(Ge,$e,Ze.value)})},Qe=function(Ze,$e,nt){return function(Ot){Ze($e,Ot,nt)}},_t=function(Ze,$e,nt){Ze.done||(Ze.done=!0,nt&&(Ze=nt),Ze.value=$e,Ze.state=je,Ie(Ze,!0))},Ft=function(Ze,$e,nt){if(!Ze.done){Ze.done=!0,nt&&(Ze=nt);try{if(Ze.facade===$e)throw new ae("Promise can't be resolved itself");var Ot=Ke($e);Ot?V(function(){var He={done:!1};try{I(Ot,$e,Qe(Ft,He,Ze),Qe(_t,He,Ze))}catch(Je){_t(He,Je,Ze)}}):(Ze.value=$e,Ze.state=Te,Ie(Ze,!1))}catch(He){_t({done:!1},He,Ze)}}};if(j&&(ye=(oe=function(Ze){N(this,ye),D(Ze),I(h,this);var $e=z(this);try{Ze(Qe(Ft,$e),Qe(_t,$e))}catch(nt){_t($e,nt)}}).prototype,(h=function(Ze){X(this,{type:ne,done:!1,notified:!1,parent:!1,reactions:new fe,rejection:!1,state:Be,value:void 0})}).prototype=E(ye,"then",function(Ze,$e){var nt=z(this),Ot=_e(H(this,oe));return nt.parent=!0,Ot.ok=!T(Ze)||Ze,Ot.fail=T($e)&&$e,Ot.domain=y?Fe.domain:void 0,nt.state===Be?nt.reactions.add(Ot):V(function(){Rt(Ot,nt)}),Ot.promise}),d=function(){var Ze=new h,$e=z(Ze);this.promise=Ze,this.resolve=Qe(Ft,$e),this.reject=Qe(_t,$e)},Z.f=_e=function(Ze){return Ze===oe||Ze===p?new d(Ze):rt(Ze)},!m&&T(Ae)&&se!==Object.prototype)){g=se.then,q||E(se,"then",function(Ze,$e){var nt=this;return new oe(function(Ot,He){I(g,nt,Ot,He)}).then(Ze,$e)},{unsafe:!0});try{delete se.constructor}catch{}B&&B(se,ye)}A({global:!0,constructor:!0,wrap:!0,forced:j},{Promise:oe}),S(oe,ne,!1,!0),_(ne)},{"../internals/a-callable":222,"../internals/an-instance":226,"../internals/define-built-in":245,"../internals/engine-is-node":254,"../internals/export":259,"../internals/function-call":264,"../internals/global":274,"../internals/host-report-errors":277,"../internals/internal-state":282,"../internals/is-callable":285,"../internals/is-object":289,"../internals/is-pure":290,"../internals/microtask":302,"../internals/new-promise-capability":303,"../internals/object-set-prototype-of":318,"../internals/perform":323,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325,"../internals/queue":328,"../internals/set-species":330,"../internals/set-to-string-tag":331,"../internals/species-constructor":335,"../internals/task":339}],371:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/is-pure"),p=a("../internals/promise-native-constructor"),g=a("../internals/fails"),A=a("../internals/get-built-in"),m=a("../internals/is-callable"),y=a("../internals/species-constructor"),b=a("../internals/promise-resolve"),I=a("../internals/define-built-in"),E=p&&p.prototype;if(h({target:"Promise",proto:!0,real:!0,forced:!!p&&g(function(){E.finally.call({then:function(){}},function(){})})},{finally:function(S){var _=y(this,A("Promise")),D=m(S);return this.then(D?function(T){return b(_,S()).then(function(){return T})}:S,D?function(T){return b(_,S()).then(function(){throw T})}:S)}}),!d&&m(p)){var B=A("Promise").prototype.finally;E.finally!==B&&I(E,"finally",B,{unsafe:!0})}},{"../internals/define-built-in":245,"../internals/export":259,"../internals/fails":260,"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/promise-native-constructor":325,"../internals/promise-resolve":326,"../internals/species-constructor":335}],372:[function(a,c,u){a("../modules/es.promise.constructor"),a("../modules/es.promise.all"),a("../modules/es.promise.catch"),a("../modules/es.promise.race"),a("../modules/es.promise.reject"),a("../modules/es.promise.resolve")},{"../modules/es.promise.all":368,"../modules/es.promise.catch":369,"../modules/es.promise.constructor":370,"../modules/es.promise.race":373,"../modules/es.promise.reject":374,"../modules/es.promise.resolve":375}],373:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/function-call"),p=a("../internals/a-callable"),g=a("../internals/new-promise-capability"),A=a("../internals/perform"),m=a("../internals/iterate");h({target:"Promise",stat:!0,forced:a("../internals/promise-statics-incorrect-iteration")},{race:function(y){var b=this,I=g.f(b),E=I.reject,B=A(function(){var S=p(b.resolve);m(y,function(_){d(S,b,_).then(I.resolve,E)})});return B.error&&E(B.value),I.promise}})},{"../internals/a-callable":222,"../internals/export":259,"../internals/function-call":264,"../internals/iterate":293,"../internals/new-promise-capability":303,"../internals/perform":323,"../internals/promise-statics-incorrect-iteration":327}],374:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/function-call"),p=a("../internals/new-promise-capability");h({target:"Promise",stat:!0,forced:a("../internals/promise-constructor-detection").CONSTRUCTOR},{reject:function(g){var A=p.f(this);return d(A.reject,void 0,g),A.promise}})},{"../internals/export":259,"../internals/function-call":264,"../internals/new-promise-capability":303,"../internals/promise-constructor-detection":324}],375:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/get-built-in"),p=a("../internals/is-pure"),g=a("../internals/promise-native-constructor"),A=a("../internals/promise-constructor-detection").CONSTRUCTOR,m=a("../internals/promise-resolve"),y=d("Promise"),b=p&&!A;h({target:"Promise",stat:!0,forced:p||A},{resolve:function(I){return m(b&&this===y?g:this,I)}})},{"../internals/export":259,"../internals/get-built-in":269,"../internals/is-pure":290,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325,"../internals/promise-resolve":326}],376:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/function-uncurry-this"),p=a("../internals/to-absolute-index"),g=RangeError,A=String.fromCharCode,m=String.fromCodePoint,y=d([].join);h({target:"String",stat:!0,arity:1,forced:!!m&&m.length!==1},{fromCodePoint:function(b){for(var I,E=[],B=arguments.length,S=0;B>S;){if(I=+arguments[S++],p(I,1114111)!==I)throw new g(I+" is not a valid code point");E[S]=I<65536?A(I):A(55296+((I-=65536)>>10),I%1024+56320)}return y(E,"")}})},{"../internals/export":259,"../internals/function-uncurry-this":268,"../internals/to-absolute-index":340}],377:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/function-uncurry-this"),p=a("../internals/not-a-regexp"),g=a("../internals/require-object-coercible"),A=a("../internals/to-string"),m=a("../internals/correct-is-regexp-logic"),y=d("".indexOf);h({target:"String",proto:!0,forced:!m("includes")},{includes:function(b){return!!~y(A(g(this)),A(p(b)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":238,"../internals/export":259,"../internals/function-uncurry-this":268,"../internals/not-a-regexp":304,"../internals/require-object-coercible":329,"../internals/to-string":348}],378:[function(a,c,u){a("../internals/well-known-symbol-define")("asyncIterator")},{"../internals/well-known-symbol-define":355}],379:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/global"),p=a("../internals/function-call"),g=a("../internals/function-uncurry-this"),A=a("../internals/is-pure"),m=a("../internals/descriptors"),y=a("../internals/symbol-constructor-detection"),b=a("../internals/fails"),I=a("../internals/has-own-property"),E=a("../internals/object-is-prototype-of"),B=a("../internals/an-object"),S=a("../internals/to-indexed-object"),_=a("../internals/to-property-key"),D=a("../internals/to-string"),T=a("../internals/create-property-descriptor"),F=a("../internals/object-create"),N=a("../internals/object-keys"),H=a("../internals/object-get-own-property-names"),W=a("../internals/object-get-own-property-names-external"),V=a("../internals/object-get-own-property-symbols"),te=a("../internals/object-get-own-property-descriptor"),ue=a("../internals/object-define-property"),fe=a("../internals/object-define-properties"),de=a("../internals/object-property-is-enumerable"),Ae=a("../internals/define-built-in"),we=a("../internals/define-built-in-accessor"),Z=a("../internals/shared"),ne=a("../internals/shared-key"),j=a("../internals/hidden-keys"),J=a("../internals/uid"),q=a("../internals/well-known-symbol"),z=a("../internals/well-known-symbol-wrapped"),X=a("../internals/well-known-symbol-define"),se=a("../internals/symbol-define-to-primitive"),oe=a("../internals/set-to-string-tag"),ye=a("../internals/internal-state"),ae=a("../internals/array-iteration").forEach,me=ne("hidden"),Fe="Symbol",_e="prototype",rt=ye.set,et=ye.getterFor(Fe),st=Object[_e],Ge=d.Symbol,Be=Ge&&Ge[_e],Te=d.RangeError,je=d.TypeError,lt=d.QObject,Me=te.f,Ke=ue.f,Rt=W.f,Ie=de.f,Re=g([].push),qe=Z("symbols"),pt=Z("op-symbols"),Lt=Z("wks"),Qe=!lt||!lt[_e]||!lt[_e].findChild,_t=function(Xe,Ye,ot){var yt=Me(st,Ye);yt&&delete st[Ye],Ke(Xe,Ye,ot),yt&&Xe!==st&&Ke(st,Ye,yt)},Ft=m&&b(function(){return F(Ke({},"a",{get:function(){return Ke(this,"a",{value:7}).a}})).a!==7})?_t:Ke,Ze=function(Xe,Ye){var ot=qe[Xe]=F(Be);return rt(ot,{type:Fe,tag:Xe,description:Ye}),m||(ot.description=Ye),ot},$e=function(Xe,Ye,ot){Xe===st&&$e(pt,Ye,ot),B(Xe);var yt=_(Ye);return B(ot),I(qe,yt)?(ot.enumerable?(I(Xe,me)&&Xe[me][yt]&&(Xe[me][yt]=!1),ot=F(ot,{enumerable:T(0,!1)})):(I(Xe,me)||Ke(Xe,me,T(1,{})),Xe[me][yt]=!0),Ft(Xe,yt,ot)):Ke(Xe,yt,ot)},nt=function(Xe,Ye){B(Xe);var ot=S(Ye),yt=N(ot).concat(mt(ot));return ae(yt,function(Mt){m&&!p(He,ot,Mt)||$e(Xe,Mt,ot[Mt])}),Xe},Ot=function(Xe,Ye){return Ye===void 0?F(Xe):nt(F(Xe),Ye)},He=function(Xe){var Ye=_(Xe),ot=p(Ie,this,Ye);return!(this===st&&I(qe,Ye)&&!I(pt,Ye))&&(!(ot||!I(this,Ye)||!I(qe,Ye)||I(this,me)&&this[me][Ye])||ot)},Je=function(Xe,Ye){var ot=S(Xe),yt=_(Ye);if(ot!==st||!I(qe,yt)||I(pt,yt)){var Mt=Me(ot,yt);return!Mt||!I(qe,yt)||I(ot,me)&&ot[me][yt]||(Mt.enumerable=!0),Mt}},tt=function(Xe){var Ye=Rt(S(Xe)),ot=[];return ae(Ye,function(yt){I(qe,yt)||I(j,yt)||Re(ot,yt)}),ot},mt=function(Xe){var Ye=Xe===st,ot=Rt(Ye?pt:S(Xe)),yt=[];return ae(ot,function(Mt){!I(qe,Mt)||Ye&&!I(st,Mt)||Re(yt,qe[Mt])}),yt};y||(Ge=function(){if(E(Be,this))throw new je("Symbol is not a constructor");var Xe=arguments.length&&arguments[0]!==void 0?D(arguments[0]):void 0,Ye=J(Xe),ot=function(yt){this===st&&p(ot,pt,yt),I(this,me)&&I(this[me],Ye)&&(this[me][Ye]=!1);var Mt=T(1,yt);try{Ft(this,Ye,Mt)}catch(cr){if(!(cr instanceof Te))throw cr;_t(this,Ye,Mt)}};return m&&Qe&&Ft(st,Ye,{configurable:!0,set:ot}),Ze(Ye,Xe)},Ae(Be=Ge[_e],"toString",function(){return et(this).tag}),Ae(Ge,"withoutSetter",function(Xe){return Ze(J(Xe),Xe)}),de.f=He,ue.f=$e,fe.f=nt,te.f=Je,H.f=W.f=tt,V.f=mt,z.f=function(Xe){return Ze(q(Xe),Xe)},m&&(we(Be,"description",{configurable:!0,get:function(){return et(this).description}}),A||Ae(st,"propertyIsEnumerable",He,{unsafe:!0}))),h({global:!0,constructor:!0,wrap:!0,forced:!y,sham:!y},{Symbol:Ge}),ae(N(Lt),function(Xe){X(Xe)}),h({target:Fe,stat:!0,forced:!y},{useSetter:function(){Qe=!0},useSimple:function(){Qe=!1}}),h({target:"Object",stat:!0,forced:!y,sham:!m},{create:Ot,defineProperty:$e,defineProperties:nt,getOwnPropertyDescriptor:Je}),h({target:"Object",stat:!0,forced:!y},{getOwnPropertyNames:tt}),se(),oe(Ge,Fe),j[me]=!0},{"../internals/an-object":227,"../internals/array-iteration":229,"../internals/create-property-descriptor":242,"../internals/define-built-in":245,"../internals/define-built-in-accessor":244,"../internals/descriptors":247,"../internals/export":259,"../internals/fails":260,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/global":274,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/internal-state":282,"../internals/is-pure":290,"../internals/object-create":306,"../internals/object-define-properties":307,"../internals/object-define-property":308,"../internals/object-get-own-property-descriptor":309,"../internals/object-get-own-property-names":311,"../internals/object-get-own-property-names-external":310,"../internals/object-get-own-property-symbols":312,"../internals/object-is-prototype-of":314,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/set-to-string-tag":331,"../internals/shared":334,"../internals/shared-key":332,"../internals/symbol-constructor-detection":336,"../internals/symbol-define-to-primitive":337,"../internals/to-indexed-object":341,"../internals/to-property-key":346,"../internals/to-string":348,"../internals/uid":350,"../internals/well-known-symbol":357,"../internals/well-known-symbol-define":355,"../internals/well-known-symbol-wrapped":356}],380:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/get-built-in"),p=a("../internals/has-own-property"),g=a("../internals/to-string"),A=a("../internals/shared"),m=a("../internals/symbol-registry-detection"),y=A("string-to-symbol-registry"),b=A("symbol-to-string-registry");h({target:"Symbol",stat:!0,forced:!m},{for:function(I){var E=g(I);if(p(y,E))return y[E];var B=d("Symbol")(E);return y[E]=B,b[B]=E,B}})},{"../internals/export":259,"../internals/get-built-in":269,"../internals/has-own-property":275,"../internals/shared":334,"../internals/symbol-registry-detection":338,"../internals/to-string":348}],381:[function(a,c,u){a("../modules/es.symbol.constructor"),a("../modules/es.symbol.for"),a("../modules/es.symbol.key-for"),a("../modules/es.json.stringify"),a("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":362,"../modules/es.object.get-own-property-symbols":365,"../modules/es.symbol.constructor":379,"../modules/es.symbol.for":380,"../modules/es.symbol.key-for":382}],382:[function(a,c,u){var h=a("../internals/export"),d=a("../internals/has-own-property"),p=a("../internals/is-symbol"),g=a("../internals/try-to-string"),A=a("../internals/shared"),m=a("../internals/symbol-registry-detection"),y=A("symbol-to-string-registry");h({target:"Symbol",stat:!0,forced:!m},{keyFor:function(b){if(!p(b))throw new TypeError(g(b)+" is not a symbol");if(d(y,b))return y[b]}})},{"../internals/export":259,"../internals/has-own-property":275,"../internals/is-symbol":292,"../internals/shared":334,"../internals/symbol-registry-detection":338,"../internals/try-to-string":349}],383:[function(a,c,u){function h(F){return Array.isArray?Array.isArray(F):T(F)==="[object Array]"}function d(F){return typeof F=="boolean"}function p(F){return F===null}function g(F){return F==null}function A(F){return typeof F=="number"}function m(F){return typeof F=="string"}function y(F){return typeof F=="symbol"}function b(F){return F===void 0}function I(F){return T(F)==="[object RegExp]"}function E(F){return typeof F=="object"&&F!==null}function B(F){return T(F)==="[object Date]"}function S(F){return T(F)==="[object Error]"||F instanceof Error}function _(F){return typeof F=="function"}function D(F){return F===null||typeof F=="boolean"||typeof F=="number"||typeof F=="string"||typeof F=="symbol"||F===void 0}function T(F){return Object.prototype.toString.call(F)}u.isArray=h,u.isBoolean=d,u.isNull=p,u.isNullOrUndefined=g,u.isNumber=A,u.isString=m,u.isSymbol=y,u.isUndefined=b,u.isRegExp=I,u.isObject=E,u.isDate=B,u.isError=S,u.isFunction=_,u.isPrimitive=D,u.isBuffer=a("buffer").Buffer.isBuffer},{buffer:220}],384:[function(a,c,u){(function(h){(function(){var d=a("elliptic"),p=a("bn.js");c.exports=function(y){return new A(y)};var g={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function A(y){this.curveType=g[y],this.curveType||(this.curveType={name:y}),this.curve=new d.ec(this.curveType.name),this.keys=void 0}function m(y,b,I){Array.isArray(y)||(y=y.toArray());var E=new h(y);if(I&&E.length<I){var B=new h(I-E.length);B.fill(0),E=h.concat([B,E])}return b?E.toString(b):E}g.p224=g.secp224r1,g.p256=g.secp256r1=g.prime256v1,g.p192=g.secp192r1=g.prime192v1,g.p384=g.secp384r1,g.p521=g.secp521r1,A.prototype.generateKeys=function(y,b){return this.keys=this.curve.genKeyPair(),this.getPublicKey(y,b)},A.prototype.computeSecret=function(y,b,I){return b=b||"utf8",h.isBuffer(y)||(y=new h(y,b)),m(this.curve.keyFromPublic(y).getPublic().mul(this.keys.getPrivate()).getX(),I,this.curveType.byteLength)},A.prototype.getPublicKey=function(y,b){var I=this.keys.getPublic(b==="compressed",!0);return b==="hybrid"&&(I[I.length-1]%2?I[0]=7:I[0]=6),m(I,y)},A.prototype.getPrivateKey=function(y){return m(this.keys.getPrivate(),y)},A.prototype.setPublicKey=function(y,b){return b=b||"utf8",h.isBuffer(y)||(y=new h(y,b)),this.keys._importPublic(y),this},A.prototype.setPrivateKey=function(y,b){b=b||"utf8",h.isBuffer(y)||(y=new h(y,b));var I=new p(y);return I=I.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(I),this}}).call(this)}).call(this,a("buffer").Buffer)},{"bn.js":385,buffer:220,elliptic:405}],385:[function(a,c,u){arguments[4][184][0].apply(u,arguments)},{buffer:188,dup:184}],386:[function(a,c,u){var h=a("inherits"),d=a("md5.js"),p=a("ripemd160"),g=a("sha.js"),A=a("cipher-base");function m(y){A.call(this,"digest"),this._hash=y}h(m,A),m.prototype._update=function(y){this._hash.update(y)},m.prototype._final=function(){return this._hash.digest()},c.exports=function(y){return(y=y.toLowerCase())==="md5"?new d:y==="rmd160"||y==="ripemd160"?new p:new m(g(y))}},{"cipher-base":221,inherits:440,"md5.js":450,ripemd160:493,"sha.js":498}],387:[function(a,c,u){var h=a("md5.js");c.exports=function(d){return new h().update(d).digest()}},{"md5.js":450}],388:[function(a,c,u){var h=a("inherits"),d=a("./legacy"),p=a("cipher-base"),g=a("safe-buffer").Buffer,A=a("create-hash/md5"),m=a("ripemd160"),y=a("sha.js"),b=g.alloc(128);function I(E,B){p.call(this,"digest"),typeof B=="string"&&(B=g.from(B));var S=E==="sha512"||E==="sha384"?128:64;this._alg=E,this._key=B,B.length>S?B=(E==="rmd160"?new m:y(E)).update(B).digest():B.length<S&&(B=g.concat([B,b],S));for(var _=this._ipad=g.allocUnsafe(S),D=this._opad=g.allocUnsafe(S),T=0;T<S;T++)_[T]=54^B[T],D[T]=92^B[T];this._hash=E==="rmd160"?new m:y(E),this._hash.update(_)}h(I,p),I.prototype._update=function(E){this._hash.update(E)},I.prototype._final=function(){var E=this._hash.digest();return(this._alg==="rmd160"?new m:y(this._alg)).update(this._opad).update(E).digest()},c.exports=function(E,B){return(E=E.toLowerCase())==="rmd160"||E==="ripemd160"?new I("rmd160",B):E==="md5"?new d(A,B):new I(E,B)}},{"./legacy":389,"cipher-base":221,"create-hash/md5":387,inherits:440,ripemd160:493,"safe-buffer":494,"sha.js":498}],389:[function(a,c,u){var h=a("inherits"),d=a("safe-buffer").Buffer,p=a("cipher-base"),g=d.alloc(128),A=64;function m(y,b){p.call(this,"digest"),typeof b=="string"&&(b=d.from(b)),this._alg=y,this._key=b,b.length>A?b=y(b):b.length<A&&(b=d.concat([b,g],A));for(var I=this._ipad=d.allocUnsafe(A),E=this._opad=d.allocUnsafe(A),B=0;B<A;B++)I[B]=54^b[B],E[B]=92^b[B];this._hash=[I]}h(m,p),m.prototype._update=function(y){this._hash.push(y)},m.prototype._final=function(){var y=this._alg(d.concat(this._hash));return this._alg(d.concat([this._opad,y]))},c.exports=m},{"cipher-base":221,inherits:440,"safe-buffer":494}],390:[function(a,c,u){u.randomBytes=u.rng=u.pseudoRandomBytes=u.prng=a("randombytes"),u.createHash=u.Hash=a("create-hash"),u.createHmac=u.Hmac=a("create-hmac");var h=a("browserify-sign/algos"),d=Object.keys(h),p=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(d);u.getHashes=function(){return p};var g=a("pbkdf2");u.pbkdf2=g.pbkdf2,u.pbkdf2Sync=g.pbkdf2Sync;var A=a("browserify-cipher");u.Cipher=A.Cipher,u.createCipher=A.createCipher,u.Cipheriv=A.Cipheriv,u.createCipheriv=A.createCipheriv,u.Decipher=A.Decipher,u.createDecipher=A.createDecipher,u.Decipheriv=A.Decipheriv,u.createDecipheriv=A.createDecipheriv,u.getCiphers=A.getCiphers,u.listCiphers=A.listCiphers;var m=a("diffie-hellman");u.DiffieHellmanGroup=m.DiffieHellmanGroup,u.createDiffieHellmanGroup=m.createDiffieHellmanGroup,u.getDiffieHellman=m.getDiffieHellman,u.createDiffieHellman=m.createDiffieHellman,u.DiffieHellman=m.DiffieHellman;var y=a("browserify-sign");u.createSign=y.createSign,u.Sign=y.Sign,u.createVerify=y.createVerify,u.Verify=y.Verify,u.createECDH=a("create-ecdh");var b=a("public-encrypt");u.publicEncrypt=b.publicEncrypt,u.privateEncrypt=b.privateEncrypt,u.publicDecrypt=b.publicDecrypt,u.privateDecrypt=b.privateDecrypt;var I=a("randomfill");u.randomFill=I.randomFill,u.randomFillSync=I.randomFillSync,u.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(`
  28. `))},u.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":206,"browserify-sign":213,"browserify-sign/algos":210,"create-ecdh":384,"create-hash":386,"create-hmac":388,"diffie-hellman":400,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],391:[function(a,c,u){var h,d;h=void 0,d=function(){var p=1e3,g=6e4,A=36e5,m="millisecond",y="second",b="minute",I="hour",E="day",B="week",S="month",_="quarter",D="year",T="date",F="Invalid Date",N=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,W={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(q){var z=["th","st","nd","rd"],X=q%100;return"["+q+(z[(X-20)%10]||z[X]||z[0])+"]"}},V=function(q,z,X){var se=String(q);return!se||se.length>=z?q:""+Array(z+1-se.length).join(X)+q},te={s:V,z:function(q){var z=-q.utcOffset(),X=Math.abs(z),se=Math.floor(X/60),oe=X%60;return(z<=0?"+":"-")+V(se,2,"0")+":"+V(oe,2,"0")},m:function q(z,X){if(z.date()<X.date())return-q(X,z);var se=12*(X.year()-z.year())+(X.month()-z.month()),oe=z.clone().add(se,S),ye=X-oe<0,ae=z.clone().add(se+(ye?-1:1),S);return+(-(se+(X-oe)/(ye?oe-ae:ae-oe))||0)},a:function(q){return q<0?Math.ceil(q)||0:Math.floor(q)},p:function(q){return{M:S,y:D,w:B,d:E,D:T,h:I,m:b,s:y,ms:m,Q:_}[q]||String(q||"").toLowerCase().replace(/s$/,"")},u:function(q){return q===void 0}},ue="en",fe={};fe[ue]=W;var de="$isDayjsObject",Ae=function(q){return q instanceof j||!(!q||!q[de])},we=function q(z,X,se){var oe;if(!z)return ue;if(typeof z=="string"){var ye=z.toLowerCase();fe[ye]&&(oe=ye),X&&(fe[ye]=X,oe=ye);var ae=z.split("-");if(!oe&&ae.length>1)return q(ae[0])}else{var me=z.name;fe[me]=z,oe=me}return!se&&oe&&(ue=oe),oe||!se&&ue},Z=function(q,z){if(Ae(q))return q.clone();var X=typeof z=="object"?z:{};return X.date=q,X.args=arguments,new j(X)},ne=te;ne.l=we,ne.i=Ae,ne.w=function(q,z){return Z(q,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var j=function(){function q(X){this.$L=we(X.locale,null,!0),this.parse(X),this.$x=this.$x||X.x||{},this[de]=!0}var z=q.prototype;return z.parse=function(X){this.$d=function(se){var oe=se.date,ye=se.utc;if(oe===null)return new Date(NaN);if(ne.u(oe))return new Date;if(oe instanceof Date)return new Date(oe);if(typeof oe=="string"&&!/Z$/i.test(oe)){var ae=oe.match(N);if(ae){var me=ae[2]-1||0,Fe=(ae[7]||"0").substring(0,3);return ye?new Date(Date.UTC(ae[1],me,ae[3]||1,ae[4]||0,ae[5]||0,ae[6]||0,Fe)):new Date(ae[1],me,ae[3]||1,ae[4]||0,ae[5]||0,ae[6]||0,Fe)}}return new Date(oe)}(X),this.init()},z.init=function(){var X=this.$d;this.$y=X.getFullYear(),this.$M=X.getMonth(),this.$D=X.getDate(),this.$W=X.getDay(),this.$H=X.getHours(),this.$m=X.getMinutes(),this.$s=X.getSeconds(),this.$ms=X.getMilliseconds()},z.$utils=function(){return ne},z.isValid=function(){return this.$d.toString()!==F},z.isSame=function(X,se){var oe=Z(X);return this.startOf(se)<=oe&&oe<=this.endOf(se)},z.isAfter=function(X,se){return Z(X)<this.startOf(se)},z.isBefore=function(X,se){return this.endOf(se)<Z(X)},z.$g=function(X,se,oe){return ne.u(X)?this[se]:this.set(oe,X)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function(X,se){var oe=this,ye=!!ne.u(se)||se,ae=ne.p(X),me=function(Te,je){var lt=ne.w(oe.$u?Date.UTC(oe.$y,je,Te):new Date(oe.$y,je,Te),oe);return ye?lt:lt.endOf(E)},Fe=function(Te,je){return ne.w(oe.toDate()[Te].apply(oe.toDate("s"),(ye?[0,0,0,0]:[23,59,59,999]).slice(je)),oe)},_e=this.$W,rt=this.$M,et=this.$D,st="set"+(this.$u?"UTC":"");switch(ae){case D:return ye?me(1,0):me(31,11);case S:return ye?me(1,rt):me(0,rt+1);case B:var Ge=this.$locale().weekStart||0,Be=(_e<Ge?_e+7:_e)-Ge;return me(ye?et-Be:et+(6-Be),rt);case E:case T:return Fe(st+"Hours",0);case I:return Fe(st+"Minutes",1);case b:return Fe(st+"Seconds",2);case y:return Fe(st+"Milliseconds",3);default:return this.clone()}},z.endOf=function(X){return this.startOf(X,!1)},z.$set=function(X,se){var oe,ye=ne.p(X),ae="set"+(this.$u?"UTC":""),me=(oe={},oe[E]=ae+"Date",oe[T]=ae+"Date",oe[S]=ae+"Month",oe[D]=ae+"FullYear",oe[I]=ae+"Hours",oe[b]=ae+"Minutes",oe[y]=ae+"Seconds",oe[m]=ae+"Milliseconds",oe)[ye],Fe=ye===E?this.$D+(se-this.$W):se;if(ye===S||ye===D){var _e=this.clone().set(T,1);_e.$d[me](Fe),_e.init(),this.$d=_e.set(T,Math.min(this.$D,_e.daysInMonth())).$d}else me&&this.$d[me](Fe);return this.init(),this},z.set=function(X,se){return this.clone().$set(X,se)},z.get=function(X){return this[ne.p(X)]()},z.add=function(X,se){var oe,ye=this;X=Number(X);var ae=ne.p(se),me=function(rt){var et=Z(ye);return ne.w(et.date(et.date()+Math.round(rt*X)),ye)};if(ae===S)return this.set(S,this.$M+X);if(ae===D)return this.set(D,this.$y+X);if(ae===E)return me(1);if(ae===B)return me(7);var Fe=(oe={},oe[b]=g,oe[I]=A,oe[y]=p,oe)[ae]||1,_e=this.$d.getTime()+X*Fe;return ne.w(_e,this)},z.subtract=function(X,se){return this.add(-1*X,se)},z.format=function(X){var se=this,oe=this.$locale();if(!this.isValid())return oe.invalidDate||F;var ye=X||"YYYY-MM-DDTHH:mm:ssZ",ae=ne.z(this),me=this.$H,Fe=this.$m,_e=this.$M,rt=oe.weekdays,et=oe.months,st=oe.meridiem,Ge=function(je,lt,Me,Ke){return je&&(je[lt]||je(se,ye))||Me[lt].slice(0,Ke)},Be=function(je){return ne.s(me%12||12,je,"0")},Te=st||function(je,lt,Me){var Ke=je<12?"AM":"PM";return Me?Ke.toLowerCase():Ke};return ye.replace(H,function(je,lt){return lt||function(Me){switch(Me){case"YY":return String(se.$y).slice(-2);case"YYYY":return ne.s(se.$y,4,"0");case"M":return _e+1;case"MM":return ne.s(_e+1,2,"0");case"MMM":return Ge(oe.monthsShort,_e,et,3);case"MMMM":return Ge(et,_e);case"D":return se.$D;case"DD":return ne.s(se.$D,2,"0");case"d":return String(se.$W);case"dd":return Ge(oe.weekdaysMin,se.$W,rt,2);case"ddd":return Ge(oe.weekdaysShort,se.$W,rt,3);case"dddd":return rt[se.$W];case"H":return String(me);case"HH":return ne.s(me,2,"0");case"h":return Be(1);case"hh":return Be(2);case"a":return Te(me,Fe,!0);case"A":return Te(me,Fe,!1);case"m":return String(Fe);case"mm":return ne.s(Fe,2,"0");case"s":return String(se.$s);case"ss":return ne.s(se.$s,2,"0");case"SSS":return ne.s(se.$ms,3,"0");case"Z":return ae}return null}(je)||ae.replace(":","")})},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function(X,se,oe){var ye,ae=this,me=ne.p(se),Fe=Z(X),_e=(Fe.utcOffset()-this.utcOffset())*g,rt=this-Fe,et=function(){return ne.m(ae,Fe)};switch(me){case D:ye=et()/12;break;case S:ye=et();break;case _:ye=et()/3;break;case B:ye=(rt-_e)/6048e5;break;case E:ye=(rt-_e)/864e5;break;case I:ye=rt/A;break;case b:ye=rt/g;break;case y:ye=rt/p;break;default:ye=rt}return oe?ye:ne.a(ye)},z.daysInMonth=function(){return this.endOf(S).$D},z.$locale=function(){return fe[this.$L]},z.locale=function(X,se){if(!X)return this.$L;var oe=this.clone(),ye=we(X,se,!0);return ye&&(oe.$L=ye),oe},z.clone=function(){return ne.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},q}(),J=j.prototype;return Z.prototype=J,[["$ms",m],["$s",y],["$m",b],["$H",I],["$W",E],["$M",S],["$y",D],["$D",T]].forEach(function(q){J[q[1]]=function(z){return this.$g(z,q[0],q[1])}}),Z.extend=function(q,z){return q.$i||(q(z,j,Z),q.$i=!0),Z},Z.locale=we,Z.isDayjs=Ae,Z.unix=function(q){return Z(1e3*q)},Z.en=fe[ue],Z.Ls=fe,Z.p={},Z},typeof u=="object"&&c!==void 0?c.exports=d():(h=typeof globalThis<"u"?globalThis:h||self).dayjs=d()},{}],392:[function(a,c,u){var h,d;h=void 0,d=function(){var p={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},g=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,A=/\d\d/,m=/\d\d?/,y=/\d*[^-_:/,()\s\d]+/,b={},I=function(F){return(F=+F)+(F>68?1900:2e3)},E=function(F){return function(N){this[F]=+N}},B=[/[+-]\d\d:?(\d\d)?|Z/,function(F){(this.zone||(this.zone={})).offset=function(N){if(!N||N==="Z")return 0;var H=N.match(/([+-]|\d\d)/g),W=60*H[1]+(+H[2]||0);return W===0?0:H[0]==="+"?-W:W}(F)}],S=function(F){var N=b[F];return N&&(N.indexOf?N:N.s.concat(N.f))},_=function(F,N){var H,W=b.meridiem;if(W){for(var V=1;V<=24;V+=1)if(F.indexOf(W(V,0,N))>-1){H=V>12;break}}else H=F===(N?"pm":"PM");return H},D={A:[y,function(F){this.afternoon=_(F,!1)}],a:[y,function(F){this.afternoon=_(F,!0)}],S:[/\d/,function(F){this.milliseconds=100*+F}],SS:[A,function(F){this.milliseconds=10*+F}],SSS:[/\d{3}/,function(F){this.milliseconds=+F}],s:[m,E("seconds")],ss:[m,E("seconds")],m:[m,E("minutes")],mm:[m,E("minutes")],H:[m,E("hours")],h:[m,E("hours")],HH:[m,E("hours")],hh:[m,E("hours")],D:[m,E("day")],DD:[A,E("day")],Do:[y,function(F){var N=b.ordinal,H=F.match(/\d+/);if(this.day=H[0],N)for(var W=1;W<=31;W+=1)N(W).replace(/\[|\]/g,"")===F&&(this.day=W)}],M:[m,E("month")],MM:[A,E("month")],MMM:[y,function(F){var N=S("months"),H=(S("monthsShort")||N.map(function(W){return W.slice(0,3)})).indexOf(F)+1;if(H<1)throw new Error;this.month=H%12||H}],MMMM:[y,function(F){var N=S("months").indexOf(F)+1;if(N<1)throw new Error;this.month=N%12||N}],Y:[/[+-]?\d+/,E("year")],YY:[A,function(F){this.year=I(F)}],YYYY:[/\d{4}/,E("year")],Z:B,ZZ:B};function T(F){var N,H;N=F,H=b&&b.formats;for(var W=(F=N.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(we,Z,ne){var j=ne&&ne.toUpperCase();return Z||H[ne]||p[ne]||H[j].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(J,q,z){return q||z.slice(1)})})).match(g),V=W.length,te=0;te<V;te+=1){var ue=W[te],fe=D[ue],de=fe&&fe[0],Ae=fe&&fe[1];W[te]=Ae?{regex:de,parser:Ae}:ue.replace(/^\[|\]$/g,"")}return function(we){for(var Z={},ne=0,j=0;ne<V;ne+=1){var J=W[ne];if(typeof J=="string")j+=J.length;else{var q=J.regex,z=J.parser,X=we.slice(j),se=q.exec(X)[0];z.call(Z,se),we=we.replace(se,"")}}return function(oe){var ye=oe.afternoon;if(ye!==void 0){var ae=oe.hours;ye?ae<12&&(oe.hours+=12):ae===12&&(oe.hours=0),delete oe.afternoon}}(Z),Z}}return function(F,N,H){H.p.customParseFormat=!0,F&&F.parseTwoDigitYear&&(I=F.parseTwoDigitYear);var W=N.prototype,V=W.parse;W.parse=function(te){var ue=te.date,fe=te.utc,de=te.args;this.$u=fe;var Ae=de[1];if(typeof Ae=="string"){var we=de[2]===!0,Z=de[3]===!0,ne=we||Z,j=de[2];Z&&(j=de[2]),b=this.$locale(),!we&&j&&(b=H.Ls[j]),this.$d=function(X,se,oe){try{if(["x","X"].indexOf(se)>-1)return new Date((se==="X"?1e3:1)*X);var ye=T(se)(X),ae=ye.year,me=ye.month,Fe=ye.day,_e=ye.hours,rt=ye.minutes,et=ye.seconds,st=ye.milliseconds,Ge=ye.zone,Be=new Date,Te=Fe||(ae||me?1:Be.getDate()),je=ae||Be.getFullYear(),lt=0;ae&&!me||(lt=me>0?me-1:Be.getMonth());var Me=_e||0,Ke=rt||0,Rt=et||0,Ie=st||0;return Ge?new Date(Date.UTC(je,lt,Te,Me,Ke,Rt,Ie+60*Ge.offset*1e3)):oe?new Date(Date.UTC(je,lt,Te,Me,Ke,Rt,Ie)):new Date(je,lt,Te,Me,Ke,Rt,Ie)}catch{return new Date("")}}(ue,Ae,fe),this.init(),j&&j!==!0&&(this.$L=this.locale(j).$L),ne&&ue!=this.format(Ae)&&(this.$d=new Date("")),b={}}else if(Ae instanceof Array)for(var J=Ae.length,q=1;q<=J;q+=1){de[1]=Ae[q-1];var z=H.apply(this,de);if(z.isValid()){this.$d=z.$d,this.$L=z.$L,this.init();break}q===J&&(this.$d=new Date(""))}else V.call(this,te)}}},typeof u=="object"&&c!==void 0?c.exports=d():(h=typeof globalThis<"u"?globalThis:h||self).dayjs_plugin_customParseFormat=d()},{}],393:[function(a,c,u){var h,d;h=void 0,d=function(){var p="minute",g=/[+-]\d\d(?::?\d\d)?/g,A=/([+-]|\d\d)/g;return function(m,y,b){var I=y.prototype;b.utc=function(F){return new y({date:F,utc:!0,args:arguments})},I.utc=function(F){var N=b(this.toDate(),{locale:this.$L,utc:!0});return F?N.add(this.utcOffset(),p):N},I.local=function(){return b(this.toDate(),{locale:this.$L,utc:!1})};var E=I.parse;I.parse=function(F){F.utc&&(this.$u=!0),this.$utils().u(F.$offset)||(this.$offset=F.$offset),E.call(this,F)};var B=I.init;I.init=function(){if(this.$u){var F=this.$d;this.$y=F.getUTCFullYear(),this.$M=F.getUTCMonth(),this.$D=F.getUTCDate(),this.$W=F.getUTCDay(),this.$H=F.getUTCHours(),this.$m=F.getUTCMinutes(),this.$s=F.getUTCSeconds(),this.$ms=F.getUTCMilliseconds()}else B.call(this)};var S=I.utcOffset;I.utcOffset=function(F,N){var H=this.$utils().u;if(H(F))return this.$u?0:H(this.$offset)?S.call(this):this.$offset;if(typeof F=="string"&&(F=function(ue){ue===void 0&&(ue="");var fe=ue.match(g);if(!fe)return null;var de=(""+fe[0]).match(A)||["-",0,0],Ae=de[0],we=60*+de[1]+ +de[2];return we===0?0:Ae==="+"?we:-we}(F))===null)return this;var W=Math.abs(F)<=16?60*F:F,V=this;if(N)return V.$offset=W,V.$u=F===0,V;if(F!==0){var te=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(V=this.local().add(W+te,p)).$offset=W,V.$x.$localOffset=te}else V=this.utc();return V};var _=I.format;I.format=function(F){var N=F||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return _.call(this,N)},I.valueOf=function(){var F=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*F},I.isUTC=function(){return!!this.$u},I.toISOString=function(){return this.toDate().toISOString()},I.toString=function(){return this.toDate().toUTCString()};var D=I.toDate;I.toDate=function(F){return F==="s"&&this.$offset?b(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():D.call(this)};var T=I.diff;I.diff=function(F,N,H){if(F&&this.$u===F.$u)return T.call(this,F,N,H);var W=this.local(),V=b(F).local();return T.call(W,V,N,H)}}},typeof u=="object"&&c!==void 0?c.exports=d():(h=typeof globalThis<"u"?globalThis:h||self).dayjs_plugin_utc=d()},{}],394:[function(a,c,u){u.utils=a("./des/utils"),u.Cipher=a("./des/cipher"),u.DES=a("./des/des"),u.CBC=a("./des/cbc"),u.EDE=a("./des/ede")},{"./des/cbc":395,"./des/cipher":396,"./des/des":397,"./des/ede":398,"./des/utils":399}],395:[function(a,c,u){var h=a("minimalistic-assert"),d=a("inherits"),p={};function g(m){h.equal(m.length,8,"Invalid IV length"),this.iv=new Array(8);for(var y=0;y<this.iv.length;y++)this.iv[y]=m[y]}function A(m){function y(B){m.call(this,B),this._cbcInit()}d(y,m);for(var b=Object.keys(p),I=0;I<b.length;I++){var E=b[I];y.prototype[E]=p[E]}return y.create=function(B){return new y(B)},y}u.instantiate=A,p._cbcInit=function(){var m=new g(this.options.iv);this._cbcState=m},p._update=function(m,y,b,I){var E=this._cbcState,B=this.constructor.super_.prototype,S=E.iv;if(this.type==="encrypt"){for(var _=0;_<this.blockSize;_++)S[_]^=m[y+_];for(B._update.call(this,S,0,b,I),_=0;_<this.blockSize;_++)S[_]=b[I+_]}else{for(B._update.call(this,m,y,b,I),_=0;_<this.blockSize;_++)b[I+_]^=S[_];for(_=0;_<this.blockSize;_++)S[_]=m[y+_]}}},{inherits:440,"minimalistic-assert":453}],396:[function(a,c,u){var h=a("minimalistic-assert");function d(p){this.options=p,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=p.padding!==!1}c.exports=d,d.prototype._init=function(){},d.prototype.update=function(p){return p.length===0?[]:this.type==="decrypt"?this._updateDecrypt(p):this._updateEncrypt(p)},d.prototype._buffer=function(p,g){for(var A=Math.min(this.buffer.length-this.bufferOff,p.length-g),m=0;m<A;m++)this.buffer[this.bufferOff+m]=p[g+m];return this.bufferOff+=A,A},d.prototype._flushBuffer=function(p,g){return this._update(this.buffer,0,p,g),this.bufferOff=0,this.blockSize},d.prototype._updateEncrypt=function(p){var g=0,A=0,m=(this.bufferOff+p.length)/this.blockSize|0,y=new Array(m*this.blockSize);this.bufferOff!==0&&(g+=this._buffer(p,g),this.bufferOff===this.buffer.length&&(A+=this._flushBuffer(y,A)));for(var b=p.length-(p.length-g)%this.blockSize;g<b;g+=this.blockSize)this._update(p,g,y,A),A+=this.blockSize;for(;g<p.length;g++,this.bufferOff++)this.buffer[this.bufferOff]=p[g];return y},d.prototype._updateDecrypt=function(p){for(var g=0,A=0,m=Math.ceil((this.bufferOff+p.length)/this.blockSize)-1,y=new Array(m*this.blockSize);m>0;m--)g+=this._buffer(p,g),A+=this._flushBuffer(y,A);return g+=this._buffer(p,g),y},d.prototype.final=function(p){var g,A;return p&&(g=this.update(p)),A=this.type==="encrypt"?this._finalEncrypt():this._finalDecrypt(),g?g.concat(A):A},d.prototype._pad=function(p,g){if(g===0)return!1;for(;g<p.length;)p[g++]=0;return!0},d.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var p=new Array(this.blockSize);return this._update(this.buffer,0,p,0),p},d.prototype._unpad=function(p){return p},d.prototype._finalDecrypt=function(){h.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var p=new Array(this.blockSize);return this._flushBuffer(p,0),this._unpad(p)}},{"minimalistic-assert":453}],397:[function(a,c,u){var h=a("minimalistic-assert"),d=a("inherits"),p=a("./utils"),g=a("./cipher");function A(){this.tmp=new Array(2),this.keys=null}function m(b){g.call(this,b);var I=new A;this._desState=I,this.deriveKeys(I,b.key)}d(m,g),c.exports=m,m.create=function(b){return new m(b)};var y=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];m.prototype.deriveKeys=function(b,I){b.keys=new Array(32),h.equal(I.length,this.blockSize,"Invalid key length");var E=p.readUInt32BE(I,0),B=p.readUInt32BE(I,4);p.pc1(E,B,b.tmp,0),E=b.tmp[0],B=b.tmp[1];for(var S=0;S<b.keys.length;S+=2){var _=y[S>>>1];E=p.r28shl(E,_),B=p.r28shl(B,_),p.pc2(E,B,b.keys,S)}},m.prototype._update=function(b,I,E,B){var S=this._desState,_=p.readUInt32BE(b,I),D=p.readUInt32BE(b,I+4);p.ip(_,D,S.tmp,0),_=S.tmp[0],D=S.tmp[1],this.type==="encrypt"?this._encrypt(S,_,D,S.tmp,0):this._decrypt(S,_,D,S.tmp,0),_=S.tmp[0],D=S.tmp[1],p.writeUInt32BE(E,_,B),p.writeUInt32BE(E,D,B+4)},m.prototype._pad=function(b,I){if(this.padding===!1)return!1;for(var E=b.length-I,B=I;B<b.length;B++)b[B]=E;return!0},m.prototype._unpad=function(b){if(this.padding===!1)return b;for(var I=b[b.length-1],E=b.length-I;E<b.length;E++)h.equal(b[E],I);return b.slice(0,b.length-I)},m.prototype._encrypt=function(b,I,E,B,S){for(var _=I,D=E,T=0;T<b.keys.length;T+=2){var F=b.keys[T],N=b.keys[T+1];p.expand(D,b.tmp,0),F^=b.tmp[0],N^=b.tmp[1];var H=p.substitute(F,N),W=D;D=(_^p.permute(H))>>>0,_=W}p.rip(D,_,B,S)},m.prototype._decrypt=function(b,I,E,B,S){for(var _=E,D=I,T=b.keys.length-2;T>=0;T-=2){var F=b.keys[T],N=b.keys[T+1];p.expand(_,b.tmp,0),F^=b.tmp[0],N^=b.tmp[1];var H=p.substitute(F,N),W=_;_=(D^p.permute(H))>>>0,D=W}p.rip(_,D,B,S)}},{"./cipher":396,"./utils":399,inherits:440,"minimalistic-assert":453}],398:[function(a,c,u){var h=a("minimalistic-assert"),d=a("inherits"),p=a("./cipher"),g=a("./des");function A(y,b){h.equal(b.length,24,"Invalid key length");var I=b.slice(0,8),E=b.slice(8,16),B=b.slice(16,24);this.ciphers=y==="encrypt"?[g.create({type:"encrypt",key:I}),g.create({type:"decrypt",key:E}),g.create({type:"encrypt",key:B})]:[g.create({type:"decrypt",key:B}),g.create({type:"encrypt",key:E}),g.create({type:"decrypt",key:I})]}function m(y){p.call(this,y);var b=new A(this.type,this.options.key);this._edeState=b}d(m,p),c.exports=m,m.create=function(y){return new m(y)},m.prototype._update=function(y,b,I,E){var B=this._edeState;B.ciphers[0]._update(y,b,I,E),B.ciphers[1]._update(I,E,I,E),B.ciphers[2]._update(I,E,I,E)},m.prototype._pad=g.prototype._pad,m.prototype._unpad=g.prototype._unpad},{"./cipher":396,"./des":397,inherits:440,"minimalistic-assert":453}],399:[function(a,c,u){u.readUInt32BE=function(g,A){return(g[0+A]<<24|g[1+A]<<16|g[2+A]<<8|g[3+A])>>>0},u.writeUInt32BE=function(g,A,m){g[0+m]=A>>>24,g[1+m]=A>>>16&255,g[2+m]=A>>>8&255,g[3+m]=255&A},u.ip=function(g,A,m,y){for(var b=0,I=0,E=6;E>=0;E-=2){for(var B=0;B<=24;B+=8)b<<=1,b|=A>>>B+E&1;for(B=0;B<=24;B+=8)b<<=1,b|=g>>>B+E&1}for(E=6;E>=0;E-=2){for(B=1;B<=25;B+=8)I<<=1,I|=A>>>B+E&1;for(B=1;B<=25;B+=8)I<<=1,I|=g>>>B+E&1}m[y+0]=b>>>0,m[y+1]=I>>>0},u.rip=function(g,A,m,y){for(var b=0,I=0,E=0;E<4;E++)for(var B=24;B>=0;B-=8)b<<=1,b|=A>>>B+E&1,b<<=1,b|=g>>>B+E&1;for(E=4;E<8;E++)for(B=24;B>=0;B-=8)I<<=1,I|=A>>>B+E&1,I<<=1,I|=g>>>B+E&1;m[y+0]=b>>>0,m[y+1]=I>>>0},u.pc1=function(g,A,m,y){for(var b=0,I=0,E=7;E>=5;E--){for(var B=0;B<=24;B+=8)b<<=1,b|=A>>B+E&1;for(B=0;B<=24;B+=8)b<<=1,b|=g>>B+E&1}for(B=0;B<=24;B+=8)b<<=1,b|=A>>B+E&1;for(E=1;E<=3;E++){for(B=0;B<=24;B+=8)I<<=1,I|=A>>B+E&1;for(B=0;B<=24;B+=8)I<<=1,I|=g>>B+E&1}for(B=0;B<=24;B+=8)I<<=1,I|=g>>B+E&1;m[y+0]=b>>>0,m[y+1]=I>>>0},u.r28shl=function(g,A){return g<<A&268435455|g>>>28-A};var h=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];u.pc2=function(g,A,m,y){for(var b=0,I=0,E=h.length>>>1,B=0;B<E;B++)b<<=1,b|=g>>>h[B]&1;for(B=E;B<h.length;B++)I<<=1,I|=A>>>h[B]&1;m[y+0]=b>>>0,m[y+1]=I>>>0},u.expand=function(g,A,m){var y=0,b=0;y=(1&g)<<5|g>>>27;for(var I=23;I>=15;I-=4)y<<=6,y|=g>>>I&63;for(I=11;I>=3;I-=4)b|=g>>>I&63,b<<=6;b|=(31&g)<<1|g>>>31,A[m+0]=y>>>0,A[m+1]=b>>>0};var d=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];u.substitute=function(g,A){for(var m=0,y=0;y<4;y++)m<<=4,m|=d[64*y+(g>>>18-6*y&63)];for(y=0;y<4;y++)m<<=4,m|=d[256+64*y+(A>>>18-6*y&63)];return m>>>0};var p=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];u.permute=function(g){for(var A=0,m=0;m<p.length;m++)A<<=1,A|=g>>>p[m]&1;return A>>>0},u.padSplit=function(g,A,m){for(var y=g.toString(2);y.length<A;)y="0"+y;for(var b=[],I=0;I<A;I+=m)b.push(y.slice(I,I+m));return b.join(" ")}},{}],400:[function(a,c,u){(function(h){(function(){var d=a("./lib/generatePrime"),p=a("./lib/primes.json"),g=a("./lib/dh");function A(b){var I=new h(p[b].prime,"hex"),E=new h(p[b].gen,"hex");return new g(I,E)}var m={binary:!0,hex:!0,base64:!0};function y(b,I,E,B){return h.isBuffer(I)||m[I]===void 0?y(b,"binary",I,E):(I=I||"binary",B=B||"binary",E=E||new h([2]),h.isBuffer(E)||(E=new h(E,B)),typeof b=="number"?new g(d(b,E),E,!0):(h.isBuffer(b)||(b=new h(b,I)),new g(b,E,!0)))}u.DiffieHellmanGroup=u.createDiffieHellmanGroup=u.getDiffieHellman=A,u.createDiffieHellman=u.DiffieHellman=y}).call(this)}).call(this,a("buffer").Buffer)},{"./lib/dh":401,"./lib/generatePrime":402,"./lib/primes.json":403,buffer:220}],401:[function(a,c,u){(function(h){(function(){var d=a("bn.js"),p=new(a("miller-rabin")),g=new d(24),A=new d(11),m=new d(10),y=new d(3),b=new d(7),I=a("./generatePrime"),E=a("randombytes");function B(N,H){return H=H||"utf8",h.isBuffer(N)||(N=new h(N,H)),this._pub=new d(N),this}function S(N,H){return H=H||"utf8",h.isBuffer(N)||(N=new h(N,H)),this._priv=new d(N),this}c.exports=T;var _={};function D(N,H){var W=H.toString("hex"),V=[W,N.toString(16)].join("_");if(V in _)return _[V];var te,ue=0;if(N.isEven()||!I.simpleSieve||!I.fermatTest(N)||!p.test(N))return ue+=1,ue+=W==="02"||W==="05"?8:4,_[V]=ue,ue;switch(p.test(N.shrn(1))||(ue+=2),W){case"02":N.mod(g).cmp(A)&&(ue+=8);break;case"05":(te=N.mod(m)).cmp(y)&&te.cmp(b)&&(ue+=8);break;default:ue+=4}return _[V]=ue,ue}function T(N,H,W){this.setGenerator(H),this.__prime=new d(N),this._prime=d.mont(this.__prime),this._primeLen=N.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,W?(this.setPublicKey=B,this.setPrivateKey=S):this._primeCode=8}function F(N,H){var W=new h(N.toArray());return H?W.toString(H):W}Object.defineProperty(T.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=D(this.__prime,this.__gen)),this._primeCode}}),T.prototype.generateKeys=function(){return this._priv||(this._priv=new d(E(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},T.prototype.computeSecret=function(N){var H=(N=(N=new d(N)).toRed(this._prime)).redPow(this._priv).fromRed(),W=new h(H.toArray()),V=this.getPrime();if(W.length<V.length){var te=new h(V.length-W.length);te.fill(0),W=h.concat([te,W])}return W},T.prototype.getPublicKey=function(N){return F(this._pub,N)},T.prototype.getPrivateKey=function(N){return F(this._priv,N)},T.prototype.getPrime=function(N){return F(this.__prime,N)},T.prototype.getGenerator=function(N){return F(this._gen,N)},T.prototype.setGenerator=function(N,H){return H=H||"utf8",h.isBuffer(N)||(N=new h(N,H)),this.__gen=N,this._gen=new d(N),this}}).call(this)}).call(this,a("buffer").Buffer)},{"./generatePrime":402,"bn.js":404,buffer:220,"miller-rabin":451,randombytes:475}],402:[function(a,c,u){var h=a("randombytes");c.exports=F,F.simpleSieve=D,F.fermatTest=T;var d=a("bn.js"),p=new d(24),g=new(a("miller-rabin")),A=new d(1),m=new d(2),y=new d(5);new d(16),new d(8);var b=new d(10),I=new d(3);new d(7);var E=new d(11),B=new d(4);new d(12);var S=null;function _(){if(S!==null)return S;var N=1048576,H=[];H[0]=2;for(var W=1,V=3;V<N;V+=2){for(var te=Math.ceil(Math.sqrt(V)),ue=0;ue<W&&H[ue]<=te&&V%H[ue]!=0;ue++);W!==ue&&H[ue]<=te||(H[W++]=V)}return S=H,H}function D(N){for(var H=_(),W=0;W<H.length;W++)if(N.modn(H[W])===0)return N.cmpn(H[W])===0;return!0}function T(N){var H=d.mont(N);return m.toRed(H).redPow(N.subn(1)).fromRed().cmpn(1)===0}function F(N,H){if(N<16)return new d(H===2||H===5?[140,123]:[140,39]);var W,V;for(H=new d(H);;){for(W=new d(h(Math.ceil(N/8)));W.bitLength()>N;)W.ishrn(1);if(W.isEven()&&W.iadd(A),W.testn(1)||W.iadd(m),H.cmp(m)){if(!H.cmp(y))for(;W.mod(b).cmp(I);)W.iadd(B)}else for(;W.mod(p).cmp(E);)W.iadd(B);if(D(V=W.shrn(1))&&D(W)&&T(V)&&T(W)&&g.test(V)&&g.test(W))return W}}},{"bn.js":404,"miller-rabin":451,randombytes:475}],403:[function(a,c,u){c.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],404:[function(a,c,u){arguments[4][184][0].apply(u,arguments)},{buffer:188,dup:184}],405:[function(a,c,u){var h=u;h.version=a("../package.json").version,h.utils=a("./elliptic/utils"),h.rand=a("brorand"),h.curve=a("./elliptic/curve"),h.curves=a("./elliptic/curves"),h.ec=a("./elliptic/ec"),h.eddsa=a("./elliptic/eddsa")},{"../package.json":421,"./elliptic/curve":408,"./elliptic/curves":411,"./elliptic/ec":412,"./elliptic/eddsa":415,"./elliptic/utils":419,brorand:187}],406:[function(a,c,u){var h=a("bn.js"),d=a("../utils"),p=d.getNAF,g=d.getJSF,A=d.assert;function m(b,I){this.type=b,this.p=new h(I.p,16),this.red=I.prime?h.red(I.prime):h.mont(this.p),this.zero=new h(0).toRed(this.red),this.one=new h(1).toRed(this.red),this.two=new h(2).toRed(this.red),this.n=I.n&&new h(I.n,16),this.g=I.g&&this.pointFromJSON(I.g,I.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var E=this.n&&this.p.div(this.n);!E||E.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function y(b,I){this.curve=b,this.type=I,this.precomputed=null}c.exports=m,m.prototype.point=function(){throw new Error("Not implemented")},m.prototype.validate=function(){throw new Error("Not implemented")},m.prototype._fixedNafMul=function(b,I){A(b.precomputed);var E=b._getDoubles(),B=p(I,1,this._bitLength),S=(1<<E.step+1)-(E.step%2==0?2:1);S/=3;var _,D,T=[];for(_=0;_<B.length;_+=E.step){D=0;for(var F=_+E.step-1;F>=_;F--)D=(D<<1)+B[F];T.push(D)}for(var N=this.jpoint(null,null,null),H=this.jpoint(null,null,null),W=S;W>0;W--){for(_=0;_<T.length;_++)(D=T[_])===W?H=H.mixedAdd(E.points[_]):D===-W&&(H=H.mixedAdd(E.points[_].neg()));N=N.add(H)}return N.toP()},m.prototype._wnafMul=function(b,I){var E=4,B=b._getNAFPoints(E);E=B.wnd;for(var S=B.points,_=p(I,E,this._bitLength),D=this.jpoint(null,null,null),T=_.length-1;T>=0;T--){for(var F=0;T>=0&&_[T]===0;T--)F++;if(T>=0&&F++,D=D.dblp(F),T<0)break;var N=_[T];A(N!==0),D=b.type==="affine"?N>0?D.mixedAdd(S[N-1>>1]):D.mixedAdd(S[-N-1>>1].neg()):N>0?D.add(S[N-1>>1]):D.add(S[-N-1>>1].neg())}return b.type==="affine"?D.toP():D},m.prototype._wnafMulAdd=function(b,I,E,B,S){var _,D,T,F=this._wnafT1,N=this._wnafT2,H=this._wnafT3,W=0;for(_=0;_<B;_++){var V=(T=I[_])._getNAFPoints(b);F[_]=V.wnd,N[_]=V.points}for(_=B-1;_>=1;_-=2){var te=_-1,ue=_;if(F[te]===1&&F[ue]===1){var fe=[I[te],null,null,I[ue]];I[te].y.cmp(I[ue].y)===0?(fe[1]=I[te].add(I[ue]),fe[2]=I[te].toJ().mixedAdd(I[ue].neg())):I[te].y.cmp(I[ue].y.redNeg())===0?(fe[1]=I[te].toJ().mixedAdd(I[ue]),fe[2]=I[te].add(I[ue].neg())):(fe[1]=I[te].toJ().mixedAdd(I[ue]),fe[2]=I[te].toJ().mixedAdd(I[ue].neg()));var de=[-3,-1,-5,-7,0,7,5,1,3],Ae=g(E[te],E[ue]);for(W=Math.max(Ae[0].length,W),H[te]=new Array(W),H[ue]=new Array(W),D=0;D<W;D++){var we=0|Ae[0][D],Z=0|Ae[1][D];H[te][D]=de[3*(we+1)+(Z+1)],H[ue][D]=0,N[te]=fe}}else H[te]=p(E[te],F[te],this._bitLength),H[ue]=p(E[ue],F[ue],this._bitLength),W=Math.max(H[te].length,W),W=Math.max(H[ue].length,W)}var ne=this.jpoint(null,null,null),j=this._wnafT4;for(_=W;_>=0;_--){for(var J=0;_>=0;){var q=!0;for(D=0;D<B;D++)j[D]=0|H[D][_],j[D]!==0&&(q=!1);if(!q)break;J++,_--}if(_>=0&&J++,ne=ne.dblp(J),_<0)break;for(D=0;D<B;D++){var z=j[D];z!==0&&(z>0?T=N[D][z-1>>1]:z<0&&(T=N[D][-z-1>>1].neg()),ne=T.type==="affine"?ne.mixedAdd(T):ne.add(T))}}for(_=0;_<B;_++)N[_]=null;return S?ne:ne.toP()},m.BasePoint=y,y.prototype.eq=function(){throw new Error("Not implemented")},y.prototype.validate=function(){return this.curve.validate(this)},m.prototype.decodePoint=function(b,I){b=d.toArray(b,I);var E=this.p.byteLength();if((b[0]===4||b[0]===6||b[0]===7)&&b.length-1==2*E)return b[0]===6?A(b[b.length-1]%2==0):b[0]===7&&A(b[b.length-1]%2==1),this.point(b.slice(1,1+E),b.slice(1+E,1+2*E));if((b[0]===2||b[0]===3)&&b.length-1===E)return this.pointFromX(b.slice(1,1+E),b[0]===3);throw new Error("Unknown point format")},y.prototype.encodeCompressed=function(b){return this.encode(b,!0)},y.prototype._encode=function(b){var I=this.curve.p.byteLength(),E=this.getX().toArray("be",I);return b?[this.getY().isEven()?2:3].concat(E):[4].concat(E,this.getY().toArray("be",I))},y.prototype.encode=function(b,I){return d.encode(this._encode(I),b)},y.prototype.precompute=function(b){if(this.precomputed)return this;var I={doubles:null,naf:null,beta:null};return I.naf=this._getNAFPoints(8),I.doubles=this._getDoubles(4,b),I.beta=this._getBeta(),this.precomputed=I,this},y.prototype._hasDoubles=function(b){if(!this.precomputed)return!1;var I=this.precomputed.doubles;return!!I&&I.points.length>=Math.ceil((b.bitLength()+1)/I.step)},y.prototype._getDoubles=function(b,I){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var E=[this],B=this,S=0;S<I;S+=b){for(var _=0;_<b;_++)B=B.dbl();E.push(B)}return{step:b,points:E}},y.prototype._getNAFPoints=function(b){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var I=[this],E=(1<<b)-1,B=E===1?null:this.dbl(),S=1;S<E;S++)I[S]=I[S-1].add(B);return{wnd:b,points:I}},y.prototype._getBeta=function(){return null},y.prototype.dblp=function(b){for(var I=this,E=0;E<b;E++)I=I.dbl();return I}},{"../utils":419,"bn.js":420}],407:[function(a,c,u){var h=a("../utils"),d=a("bn.js"),p=a("inherits"),g=a("./base"),A=h.assert;function m(b){this.twisted=(0|b.a)!=1,this.mOneA=this.twisted&&(0|b.a)==-1,this.extended=this.mOneA,g.call(this,"edwards",b),this.a=new d(b.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new d(b.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new d(b.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),A(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|b.c)==1}function y(b,I,E,B,S){g.BasePoint.call(this,b,"projective"),I===null&&E===null&&B===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new d(I,16),this.y=new d(E,16),this.z=B?new d(B,16):this.curve.one,this.t=S&&new d(S,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}p(m,g),c.exports=m,m.prototype._mulA=function(b){return this.mOneA?b.redNeg():this.a.redMul(b)},m.prototype._mulC=function(b){return this.oneC?b:this.c.redMul(b)},m.prototype.jpoint=function(b,I,E,B){return this.point(b,I,E,B)},m.prototype.pointFromX=function(b,I){(b=new d(b,16)).red||(b=b.toRed(this.red));var E=b.redSqr(),B=this.c2.redSub(this.a.redMul(E)),S=this.one.redSub(this.c2.redMul(this.d).redMul(E)),_=B.redMul(S.redInvm()),D=_.redSqrt();if(D.redSqr().redSub(_).cmp(this.zero)!==0)throw new Error("invalid point");var T=D.fromRed().isOdd();return(I&&!T||!I&&T)&&(D=D.redNeg()),this.point(b,D)},m.prototype.pointFromY=function(b,I){(b=new d(b,16)).red||(b=b.toRed(this.red));var E=b.redSqr(),B=E.redSub(this.c2),S=E.redMul(this.d).redMul(this.c2).redSub(this.a),_=B.redMul(S.redInvm());if(_.cmp(this.zero)===0){if(I)throw new Error("invalid point");return this.point(this.zero,b)}var D=_.redSqrt();if(D.redSqr().redSub(_).cmp(this.zero)!==0)throw new Error("invalid point");return D.fromRed().isOdd()!==I&&(D=D.redNeg()),this.point(D,b)},m.prototype.validate=function(b){if(b.isInfinity())return!0;b.normalize();var I=b.x.redSqr(),E=b.y.redSqr(),B=I.redMul(this.a).redAdd(E),S=this.c2.redMul(this.one.redAdd(this.d.redMul(I).redMul(E)));return B.cmp(S)===0},p(y,g.BasePoint),m.prototype.pointFromJSON=function(b){return y.fromJSON(this,b)},m.prototype.point=function(b,I,E,B){return new y(this,b,I,E,B)},y.fromJSON=function(b,I){return new y(b,I[0],I[1],I[2])},y.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},y.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},y.prototype._extDbl=function(){var b=this.x.redSqr(),I=this.y.redSqr(),E=this.z.redSqr();E=E.redIAdd(E);var B=this.curve._mulA(b),S=this.x.redAdd(this.y).redSqr().redISub(b).redISub(I),_=B.redAdd(I),D=_.redSub(E),T=B.redSub(I),F=S.redMul(D),N=_.redMul(T),H=S.redMul(T),W=D.redMul(_);return this.curve.point(F,N,W,H)},y.prototype._projDbl=function(){var b,I,E,B,S,_,D=this.x.redAdd(this.y).redSqr(),T=this.x.redSqr(),F=this.y.redSqr();if(this.curve.twisted){var N=(B=this.curve._mulA(T)).redAdd(F);this.zOne?(b=D.redSub(T).redSub(F).redMul(N.redSub(this.curve.two)),I=N.redMul(B.redSub(F)),E=N.redSqr().redSub(N).redSub(N)):(S=this.z.redSqr(),_=N.redSub(S).redISub(S),b=D.redSub(T).redISub(F).redMul(_),I=N.redMul(B.redSub(F)),E=N.redMul(_))}else B=T.redAdd(F),S=this.curve._mulC(this.z).redSqr(),_=B.redSub(S).redSub(S),b=this.curve._mulC(D.redISub(B)).redMul(_),I=this.curve._mulC(B).redMul(T.redISub(F)),E=B.redMul(_);return this.curve.point(b,I,E)},y.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},y.prototype._extAdd=function(b){var I=this.y.redSub(this.x).redMul(b.y.redSub(b.x)),E=this.y.redAdd(this.x).redMul(b.y.redAdd(b.x)),B=this.t.redMul(this.curve.dd).redMul(b.t),S=this.z.redMul(b.z.redAdd(b.z)),_=E.redSub(I),D=S.redSub(B),T=S.redAdd(B),F=E.redAdd(I),N=_.redMul(D),H=T.redMul(F),W=_.redMul(F),V=D.redMul(T);return this.curve.point(N,H,V,W)},y.prototype._projAdd=function(b){var I,E,B=this.z.redMul(b.z),S=B.redSqr(),_=this.x.redMul(b.x),D=this.y.redMul(b.y),T=this.curve.d.redMul(_).redMul(D),F=S.redSub(T),N=S.redAdd(T),H=this.x.redAdd(this.y).redMul(b.x.redAdd(b.y)).redISub(_).redISub(D),W=B.redMul(F).redMul(H);return this.curve.twisted?(I=B.redMul(N).redMul(D.redSub(this.curve._mulA(_))),E=F.redMul(N)):(I=B.redMul(N).redMul(D.redSub(_)),E=this.curve._mulC(F).redMul(N)),this.curve.point(W,I,E)},y.prototype.add=function(b){return this.isInfinity()?b:b.isInfinity()?this:this.curve.extended?this._extAdd(b):this._projAdd(b)},y.prototype.mul=function(b){return this._hasDoubles(b)?this.curve._fixedNafMul(this,b):this.curve._wnafMul(this,b)},y.prototype.mulAdd=function(b,I,E){return this.curve._wnafMulAdd(1,[this,I],[b,E],2,!1)},y.prototype.jmulAdd=function(b,I,E){return this.curve._wnafMulAdd(1,[this,I],[b,E],2,!0)},y.prototype.normalize=function(){if(this.zOne)return this;var b=this.z.redInvm();return this.x=this.x.redMul(b),this.y=this.y.redMul(b),this.t&&(this.t=this.t.redMul(b)),this.z=this.curve.one,this.zOne=!0,this},y.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},y.prototype.getX=function(){return this.normalize(),this.x.fromRed()},y.prototype.getY=function(){return this.normalize(),this.y.fromRed()},y.prototype.eq=function(b){return this===b||this.getX().cmp(b.getX())===0&&this.getY().cmp(b.getY())===0},y.prototype.eqXToP=function(b){var I=b.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(I)===0)return!0;for(var E=b.clone(),B=this.curve.redN.redMul(this.z);;){if(E.iadd(this.curve.n),E.cmp(this.curve.p)>=0)return!1;if(I.redIAdd(B),this.x.cmp(I)===0)return!0}},y.prototype.toP=y.prototype.normalize,y.prototype.mixedAdd=y.prototype.add},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],408:[function(a,c,u){var h=u;h.base=a("./base"),h.short=a("./short"),h.mont=a("./mont"),h.edwards=a("./edwards")},{"./base":406,"./edwards":407,"./mont":409,"./short":410}],409:[function(a,c,u){var h=a("bn.js"),d=a("inherits"),p=a("./base"),g=a("../utils");function A(y){p.call(this,"mont",y),this.a=new h(y.a,16).toRed(this.red),this.b=new h(y.b,16).toRed(this.red),this.i4=new h(4).toRed(this.red).redInvm(),this.two=new h(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function m(y,b,I){p.BasePoint.call(this,y,"projective"),b===null&&I===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new h(b,16),this.z=new h(I,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}d(A,p),c.exports=A,A.prototype.validate=function(y){var b=y.normalize().x,I=b.redSqr(),E=I.redMul(b).redAdd(I.redMul(this.a)).redAdd(b);return E.redSqrt().redSqr().cmp(E)===0},d(m,p.BasePoint),A.prototype.decodePoint=function(y,b){return this.point(g.toArray(y,b),1)},A.prototype.point=function(y,b){return new m(this,y,b)},A.prototype.pointFromJSON=function(y){return m.fromJSON(this,y)},m.prototype.precompute=function(){},m.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},m.fromJSON=function(y,b){return new m(y,b[0],b[1]||y.one)},m.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},m.prototype.isInfinity=function(){return this.z.cmpn(0)===0},m.prototype.dbl=function(){var y=this.x.redAdd(this.z).redSqr(),b=this.x.redSub(this.z).redSqr(),I=y.redSub(b),E=y.redMul(b),B=I.redMul(b.redAdd(this.curve.a24.redMul(I)));return this.curve.point(E,B)},m.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},m.prototype.diffAdd=function(y,b){var I=this.x.redAdd(this.z),E=this.x.redSub(this.z),B=y.x.redAdd(y.z),S=y.x.redSub(y.z).redMul(I),_=B.redMul(E),D=b.z.redMul(S.redAdd(_).redSqr()),T=b.x.redMul(S.redISub(_).redSqr());return this.curve.point(D,T)},m.prototype.mul=function(y){for(var b=y.clone(),I=this,E=this.curve.point(null,null),B=this,S=[];b.cmpn(0)!==0;b.iushrn(1))S.push(b.andln(1));for(var _=S.length-1;_>=0;_--)S[_]===0?(I=I.diffAdd(E,B),E=E.dbl()):(E=I.diffAdd(E,B),I=I.dbl());return E},m.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},m.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},m.prototype.eq=function(y){return this.getX().cmp(y.getX())===0},m.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},m.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],410:[function(a,c,u){var h=a("../utils"),d=a("bn.js"),p=a("inherits"),g=a("./base"),A=h.assert;function m(I){g.call(this,"short",I),this.a=new d(I.a,16).toRed(this.red),this.b=new d(I.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(I),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function y(I,E,B,S){g.BasePoint.call(this,I,"affine"),E===null&&B===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new d(E,16),this.y=new d(B,16),S&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function b(I,E,B,S){g.BasePoint.call(this,I,"jacobian"),E===null&&B===null&&S===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new d(0)):(this.x=new d(E,16),this.y=new d(B,16),this.z=new d(S,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}p(m,g),c.exports=m,m.prototype._getEndomorphism=function(I){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var E,B;if(I.beta)E=new d(I.beta,16).toRed(this.red);else{var S=this._getEndoRoots(this.p);E=(E=S[0].cmp(S[1])<0?S[0]:S[1]).toRed(this.red)}if(I.lambda)B=new d(I.lambda,16);else{var _=this._getEndoRoots(this.n);this.g.mul(_[0]).x.cmp(this.g.x.redMul(E))===0?B=_[0]:(B=_[1],A(this.g.mul(B).x.cmp(this.g.x.redMul(E))===0))}return{beta:E,lambda:B,basis:I.basis?I.basis.map(function(D){return{a:new d(D.a,16),b:new d(D.b,16)}}):this._getEndoBasis(B)}}},m.prototype._getEndoRoots=function(I){var E=I===this.p?this.red:d.mont(I),B=new d(2).toRed(E).redInvm(),S=B.redNeg(),_=new d(3).toRed(E).redNeg().redSqrt().redMul(B);return[S.redAdd(_).fromRed(),S.redSub(_).fromRed()]},m.prototype._getEndoBasis=function(I){for(var E,B,S,_,D,T,F,N,H,W=this.n.ushrn(Math.floor(this.n.bitLength()/2)),V=I,te=this.n.clone(),ue=new d(1),fe=new d(0),de=new d(0),Ae=new d(1),we=0;V.cmpn(0)!==0;){var Z=te.div(V);N=te.sub(Z.mul(V)),H=de.sub(Z.mul(ue));var ne=Ae.sub(Z.mul(fe));if(!S&&N.cmp(W)<0)E=F.neg(),B=ue,S=N.neg(),_=H;else if(S&&++we==2)break;F=N,te=V,V=N,de=ue,ue=H,Ae=fe,fe=ne}D=N.neg(),T=H;var j=S.sqr().add(_.sqr());return D.sqr().add(T.sqr()).cmp(j)>=0&&(D=E,T=B),S.negative&&(S=S.neg(),_=_.neg()),D.negative&&(D=D.neg(),T=T.neg()),[{a:S,b:_},{a:D,b:T}]},m.prototype._endoSplit=function(I){var E=this.endo.basis,B=E[0],S=E[1],_=S.b.mul(I).divRound(this.n),D=B.b.neg().mul(I).divRound(this.n),T=_.mul(B.a),F=D.mul(S.a),N=_.mul(B.b),H=D.mul(S.b);return{k1:I.sub(T).sub(F),k2:N.add(H).neg()}},m.prototype.pointFromX=function(I,E){(I=new d(I,16)).red||(I=I.toRed(this.red));var B=I.redSqr().redMul(I).redIAdd(I.redMul(this.a)).redIAdd(this.b),S=B.redSqrt();if(S.redSqr().redSub(B).cmp(this.zero)!==0)throw new Error("invalid point");var _=S.fromRed().isOdd();return(E&&!_||!E&&_)&&(S=S.redNeg()),this.point(I,S)},m.prototype.validate=function(I){if(I.inf)return!0;var E=I.x,B=I.y,S=this.a.redMul(E),_=E.redSqr().redMul(E).redIAdd(S).redIAdd(this.b);return B.redSqr().redISub(_).cmpn(0)===0},m.prototype._endoWnafMulAdd=function(I,E,B){for(var S=this._endoWnafT1,_=this._endoWnafT2,D=0;D<I.length;D++){var T=this._endoSplit(E[D]),F=I[D],N=F._getBeta();T.k1.negative&&(T.k1.ineg(),F=F.neg(!0)),T.k2.negative&&(T.k2.ineg(),N=N.neg(!0)),S[2*D]=F,S[2*D+1]=N,_[2*D]=T.k1,_[2*D+1]=T.k2}for(var H=this._wnafMulAdd(1,S,_,2*D,B),W=0;W<2*D;W++)S[W]=null,_[W]=null;return H},p(y,g.BasePoint),m.prototype.point=function(I,E,B){return new y(this,I,E,B)},m.prototype.pointFromJSON=function(I,E){return y.fromJSON(this,I,E)},y.prototype._getBeta=function(){if(this.curve.endo){var I=this.precomputed;if(I&&I.beta)return I.beta;var E=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(I){var B=this.curve,S=function(_){return B.point(_.x.redMul(B.endo.beta),_.y)};I.beta=E,E.precomputed={beta:null,naf:I.naf&&{wnd:I.naf.wnd,points:I.naf.points.map(S)},doubles:I.doubles&&{step:I.doubles.step,points:I.doubles.points.map(S)}}}return E}},y.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},y.fromJSON=function(I,E,B){typeof E=="string"&&(E=JSON.parse(E));var S=I.point(E[0],E[1],B);if(!E[2])return S;function _(T){return I.point(T[0],T[1],B)}var D=E[2];return S.precomputed={beta:null,doubles:D.doubles&&{step:D.doubles.step,points:[S].concat(D.doubles.points.map(_))},naf:D.naf&&{wnd:D.naf.wnd,points:[S].concat(D.naf.points.map(_))}},S},y.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},y.prototype.isInfinity=function(){return this.inf},y.prototype.add=function(I){if(this.inf)return I;if(I.inf)return this;if(this.eq(I))return this.dbl();if(this.neg().eq(I))return this.curve.point(null,null);if(this.x.cmp(I.x)===0)return this.curve.point(null,null);var E=this.y.redSub(I.y);E.cmpn(0)!==0&&(E=E.redMul(this.x.redSub(I.x).redInvm()));var B=E.redSqr().redISub(this.x).redISub(I.x),S=E.redMul(this.x.redSub(B)).redISub(this.y);return this.curve.point(B,S)},y.prototype.dbl=function(){if(this.inf)return this;var I=this.y.redAdd(this.y);if(I.cmpn(0)===0)return this.curve.point(null,null);var E=this.curve.a,B=this.x.redSqr(),S=I.redInvm(),_=B.redAdd(B).redIAdd(B).redIAdd(E).redMul(S),D=_.redSqr().redISub(this.x.redAdd(this.x)),T=_.redMul(this.x.redSub(D)).redISub(this.y);return this.curve.point(D,T)},y.prototype.getX=function(){return this.x.fromRed()},y.prototype.getY=function(){return this.y.fromRed()},y.prototype.mul=function(I){return I=new d(I,16),this.isInfinity()?this:this._hasDoubles(I)?this.curve._fixedNafMul(this,I):this.curve.endo?this.curve._endoWnafMulAdd([this],[I]):this.curve._wnafMul(this,I)},y.prototype.mulAdd=function(I,E,B){var S=[this,E],_=[I,B];return this.curve.endo?this.curve._endoWnafMulAdd(S,_):this.curve._wnafMulAdd(1,S,_,2)},y.prototype.jmulAdd=function(I,E,B){var S=[this,E],_=[I,B];return this.curve.endo?this.curve._endoWnafMulAdd(S,_,!0):this.curve._wnafMulAdd(1,S,_,2,!0)},y.prototype.eq=function(I){return this===I||this.inf===I.inf&&(this.inf||this.x.cmp(I.x)===0&&this.y.cmp(I.y)===0)},y.prototype.neg=function(I){if(this.inf)return this;var E=this.curve.point(this.x,this.y.redNeg());if(I&&this.precomputed){var B=this.precomputed,S=function(_){return _.neg()};E.precomputed={naf:B.naf&&{wnd:B.naf.wnd,points:B.naf.points.map(S)},doubles:B.doubles&&{step:B.doubles.step,points:B.doubles.points.map(S)}}}return E},y.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},p(b,g.BasePoint),m.prototype.jpoint=function(I,E,B){return new b(this,I,E,B)},b.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var I=this.z.redInvm(),E=I.redSqr(),B=this.x.redMul(E),S=this.y.redMul(E).redMul(I);return this.curve.point(B,S)},b.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},b.prototype.add=function(I){if(this.isInfinity())return I;if(I.isInfinity())return this;var E=I.z.redSqr(),B=this.z.redSqr(),S=this.x.redMul(E),_=I.x.redMul(B),D=this.y.redMul(E.redMul(I.z)),T=I.y.redMul(B.redMul(this.z)),F=S.redSub(_),N=D.redSub(T);if(F.cmpn(0)===0)return N.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var H=F.redSqr(),W=H.redMul(F),V=S.redMul(H),te=N.redSqr().redIAdd(W).redISub(V).redISub(V),ue=N.redMul(V.redISub(te)).redISub(D.redMul(W)),fe=this.z.redMul(I.z).redMul(F);return this.curve.jpoint(te,ue,fe)},b.prototype.mixedAdd=function(I){if(this.isInfinity())return I.toJ();if(I.isInfinity())return this;var E=this.z.redSqr(),B=this.x,S=I.x.redMul(E),_=this.y,D=I.y.redMul(E).redMul(this.z),T=B.redSub(S),F=_.redSub(D);if(T.cmpn(0)===0)return F.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var N=T.redSqr(),H=N.redMul(T),W=B.redMul(N),V=F.redSqr().redIAdd(H).redISub(W).redISub(W),te=F.redMul(W.redISub(V)).redISub(_.redMul(H)),ue=this.z.redMul(T);return this.curve.jpoint(V,te,ue)},b.prototype.dblp=function(I){if(I===0)return this;if(this.isInfinity())return this;if(!I)return this.dbl();var E;if(this.curve.zeroA||this.curve.threeA){var B=this;for(E=0;E<I;E++)B=B.dbl();return B}var S=this.curve.a,_=this.curve.tinv,D=this.x,T=this.y,F=this.z,N=F.redSqr().redSqr(),H=T.redAdd(T);for(E=0;E<I;E++){var W=D.redSqr(),V=H.redSqr(),te=V.redSqr(),ue=W.redAdd(W).redIAdd(W).redIAdd(S.redMul(N)),fe=D.redMul(V),de=ue.redSqr().redISub(fe.redAdd(fe)),Ae=fe.redISub(de),we=ue.redMul(Ae);we=we.redIAdd(we).redISub(te);var Z=H.redMul(F);E+1<I&&(N=N.redMul(te)),D=de,F=Z,H=we}return this.curve.jpoint(D,H.redMul(_),F)},b.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},b.prototype._zeroDbl=function(){var I,E,B;if(this.zOne){var S=this.x.redSqr(),_=this.y.redSqr(),D=_.redSqr(),T=this.x.redAdd(_).redSqr().redISub(S).redISub(D);T=T.redIAdd(T);var F=S.redAdd(S).redIAdd(S),N=F.redSqr().redISub(T).redISub(T),H=D.redIAdd(D);H=(H=H.redIAdd(H)).redIAdd(H),I=N,E=F.redMul(T.redISub(N)).redISub(H),B=this.y.redAdd(this.y)}else{var W=this.x.redSqr(),V=this.y.redSqr(),te=V.redSqr(),ue=this.x.redAdd(V).redSqr().redISub(W).redISub(te);ue=ue.redIAdd(ue);var fe=W.redAdd(W).redIAdd(W),de=fe.redSqr(),Ae=te.redIAdd(te);Ae=(Ae=Ae.redIAdd(Ae)).redIAdd(Ae),I=de.redISub(ue).redISub(ue),E=fe.redMul(ue.redISub(I)).redISub(Ae),B=(B=this.y.redMul(this.z)).redIAdd(B)}return this.curve.jpoint(I,E,B)},b.prototype._threeDbl=function(){var I,E,B;if(this.zOne){var S=this.x.redSqr(),_=this.y.redSqr(),D=_.redSqr(),T=this.x.redAdd(_).redSqr().redISub(S).redISub(D);T=T.redIAdd(T);var F=S.redAdd(S).redIAdd(S).redIAdd(this.curve.a),N=F.redSqr().redISub(T).redISub(T);I=N;var H=D.redIAdd(D);H=(H=H.redIAdd(H)).redIAdd(H),E=F.redMul(T.redISub(N)).redISub(H),B=this.y.redAdd(this.y)}else{var W=this.z.redSqr(),V=this.y.redSqr(),te=this.x.redMul(V),ue=this.x.redSub(W).redMul(this.x.redAdd(W));ue=ue.redAdd(ue).redIAdd(ue);var fe=te.redIAdd(te),de=(fe=fe.redIAdd(fe)).redAdd(fe);I=ue.redSqr().redISub(de),B=this.y.redAdd(this.z).redSqr().redISub(V).redISub(W);var Ae=V.redSqr();Ae=(Ae=(Ae=Ae.redIAdd(Ae)).redIAdd(Ae)).redIAdd(Ae),E=ue.redMul(fe.redISub(I)).redISub(Ae)}return this.curve.jpoint(I,E,B)},b.prototype._dbl=function(){var I=this.curve.a,E=this.x,B=this.y,S=this.z,_=S.redSqr().redSqr(),D=E.redSqr(),T=B.redSqr(),F=D.redAdd(D).redIAdd(D).redIAdd(I.redMul(_)),N=E.redAdd(E),H=(N=N.redIAdd(N)).redMul(T),W=F.redSqr().redISub(H.redAdd(H)),V=H.redISub(W),te=T.redSqr();te=(te=(te=te.redIAdd(te)).redIAdd(te)).redIAdd(te);var ue=F.redMul(V).redISub(te),fe=B.redAdd(B).redMul(S);return this.curve.jpoint(W,ue,fe)},b.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var I=this.x.redSqr(),E=this.y.redSqr(),B=this.z.redSqr(),S=E.redSqr(),_=I.redAdd(I).redIAdd(I),D=_.redSqr(),T=this.x.redAdd(E).redSqr().redISub(I).redISub(S),F=(T=(T=(T=T.redIAdd(T)).redAdd(T).redIAdd(T)).redISub(D)).redSqr(),N=S.redIAdd(S);N=(N=(N=N.redIAdd(N)).redIAdd(N)).redIAdd(N);var H=_.redIAdd(T).redSqr().redISub(D).redISub(F).redISub(N),W=E.redMul(H);W=(W=W.redIAdd(W)).redIAdd(W);var V=this.x.redMul(F).redISub(W);V=(V=V.redIAdd(V)).redIAdd(V);var te=this.y.redMul(H.redMul(N.redISub(H)).redISub(T.redMul(F)));te=(te=(te=te.redIAdd(te)).redIAdd(te)).redIAdd(te);var ue=this.z.redAdd(T).redSqr().redISub(B).redISub(F);return this.curve.jpoint(V,te,ue)},b.prototype.mul=function(I,E){return I=new d(I,E),this.curve._wnafMul(this,I)},b.prototype.eq=function(I){if(I.type==="affine")return this.eq(I.toJ());if(this===I)return!0;var E=this.z.redSqr(),B=I.z.redSqr();if(this.x.redMul(B).redISub(I.x.redMul(E)).cmpn(0)!==0)return!1;var S=E.redMul(this.z),_=B.redMul(I.z);return this.y.redMul(_).redISub(I.y.redMul(S)).cmpn(0)===0},b.prototype.eqXToP=function(I){var E=this.z.redSqr(),B=I.toRed(this.curve.red).redMul(E);if(this.x.cmp(B)===0)return!0;for(var S=I.clone(),_=this.curve.redN.redMul(E);;){if(S.iadd(this.curve.n),S.cmp(this.curve.p)>=0)return!1;if(B.redIAdd(_),this.x.cmp(B)===0)return!0}},b.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},b.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],411:[function(a,c,u){var h,d=u,p=a("hash.js"),g=a("./curve"),A=a("./utils").assert;function m(b){b.type==="short"?this.curve=new g.short(b):b.type==="edwards"?this.curve=new g.edwards(b):this.curve=new g.mont(b),this.g=this.curve.g,this.n=this.curve.n,this.hash=b.hash,A(this.g.validate(),"Invalid curve"),A(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function y(b,I){Object.defineProperty(d,b,{configurable:!0,enumerable:!0,get:function(){var E=new m(I);return Object.defineProperty(d,b,{configurable:!0,enumerable:!0,value:E}),E}})}d.PresetCurve=m,y("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:p.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),y("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:p.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),y("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:p.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),y("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:p.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),y("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:p.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),y("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:p.sha256,gRed:!1,g:["9"]}),y("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:p.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{h=a("./precomputed/secp256k1")}catch{h=void 0}y("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:p.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",h]})},{"./curve":408,"./precomputed/secp256k1":418,"./utils":419,"hash.js":426}],412:[function(a,c,u){var h=a("bn.js"),d=a("hmac-drbg"),p=a("../utils"),g=a("../curves"),A=a("brorand"),m=p.assert,y=a("./key"),b=a("./signature");function I(E){if(!(this instanceof I))return new I(E);typeof E=="string"&&(m(Object.prototype.hasOwnProperty.call(g,E),"Unknown curve "+E),E=g[E]),E instanceof g.PresetCurve&&(E={curve:E}),this.curve=E.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=E.curve.g,this.g.precompute(E.curve.n.bitLength()+1),this.hash=E.hash||E.curve.hash}c.exports=I,I.prototype.keyPair=function(E){return new y(this,E)},I.prototype.keyFromPrivate=function(E,B){return y.fromPrivate(this,E,B)},I.prototype.keyFromPublic=function(E,B){return y.fromPublic(this,E,B)},I.prototype.genKeyPair=function(E){E||(E={});for(var B=new d({hash:this.hash,pers:E.pers,persEnc:E.persEnc||"utf8",entropy:E.entropy||A(this.hash.hmacStrength),entropyEnc:E.entropy&&E.entropyEnc||"utf8",nonce:this.n.toArray()}),S=this.n.byteLength(),_=this.n.sub(new h(2));;){var D=new h(B.generate(S));if(!(D.cmp(_)>0))return D.iaddn(1),this.keyFromPrivate(D)}},I.prototype._truncateToN=function(E,B){var S=8*E.byteLength()-this.n.bitLength();return S>0&&(E=E.ushrn(S)),!B&&E.cmp(this.n)>=0?E.sub(this.n):E},I.prototype.sign=function(E,B,S,_){typeof S=="object"&&(_=S,S=null),_||(_={}),B=this.keyFromPrivate(B,S),E=this._truncateToN(new h(E,16));for(var D=this.n.byteLength(),T=B.getPrivate().toArray("be",D),F=E.toArray("be",D),N=new d({hash:this.hash,entropy:T,nonce:F,pers:_.pers,persEnc:_.persEnc||"utf8"}),H=this.n.sub(new h(1)),W=0;;W++){var V=_.k?_.k(W):new h(N.generate(this.n.byteLength()));if(!((V=this._truncateToN(V,!0)).cmpn(1)<=0||V.cmp(H)>=0)){var te=this.g.mul(V);if(!te.isInfinity()){var ue=te.getX(),fe=ue.umod(this.n);if(fe.cmpn(0)!==0){var de=V.invm(this.n).mul(fe.mul(B.getPrivate()).iadd(E));if((de=de.umod(this.n)).cmpn(0)!==0){var Ae=(te.getY().isOdd()?1:0)|(ue.cmp(fe)!==0?2:0);return _.canonical&&de.cmp(this.nh)>0&&(de=this.n.sub(de),Ae^=1),new b({r:fe,s:de,recoveryParam:Ae})}}}}}},I.prototype.verify=function(E,B,S,_){E=this._truncateToN(new h(E,16)),S=this.keyFromPublic(S,_);var D=(B=new b(B,"hex")).r,T=B.s;if(D.cmpn(1)<0||D.cmp(this.n)>=0||T.cmpn(1)<0||T.cmp(this.n)>=0)return!1;var F,N=T.invm(this.n),H=N.mul(E).umod(this.n),W=N.mul(D).umod(this.n);return this.curve._maxwellTrick?!(F=this.g.jmulAdd(H,S.getPublic(),W)).isInfinity()&&F.eqXToP(D):!(F=this.g.mulAdd(H,S.getPublic(),W)).isInfinity()&&F.getX().umod(this.n).cmp(D)===0},I.prototype.recoverPubKey=function(E,B,S,_){m((3&S)===S,"The recovery param is more than two bits"),B=new b(B,_);var D=this.n,T=new h(E),F=B.r,N=B.s,H=1&S,W=S>>1;if(F.cmp(this.curve.p.umod(this.curve.n))>=0&&W)throw new Error("Unable to find sencond key candinate");F=W?this.curve.pointFromX(F.add(this.curve.n),H):this.curve.pointFromX(F,H);var V=B.r.invm(D),te=D.sub(T).mul(V).umod(D),ue=N.mul(V).umod(D);return this.g.mulAdd(te,F,ue)},I.prototype.getKeyRecoveryParam=function(E,B,S,_){if((B=new b(B,_)).recoveryParam!==null)return B.recoveryParam;for(var D=0;D<4;D++){var T;try{T=this.recoverPubKey(E,B,D)}catch{continue}if(T.eq(S))return D}throw new Error("Unable to find valid recovery factor")}},{"../curves":411,"../utils":419,"./key":413,"./signature":414,"bn.js":420,brorand:187,"hmac-drbg":438}],413:[function(a,c,u){var h=a("bn.js"),d=a("../utils").assert;function p(g,A){this.ec=g,this.priv=null,this.pub=null,A.priv&&this._importPrivate(A.priv,A.privEnc),A.pub&&this._importPublic(A.pub,A.pubEnc)}c.exports=p,p.fromPublic=function(g,A,m){return A instanceof p?A:new p(g,{pub:A,pubEnc:m})},p.fromPrivate=function(g,A,m){return A instanceof p?A:new p(g,{priv:A,privEnc:m})},p.prototype.validate=function(){var g=this.getPublic();return g.isInfinity()?{result:!1,reason:"Invalid public key"}:g.validate()?g.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},p.prototype.getPublic=function(g,A){return typeof g=="string"&&(A=g,g=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),A?this.pub.encode(A,g):this.pub},p.prototype.getPrivate=function(g){return g==="hex"?this.priv.toString(16,2):this.priv},p.prototype._importPrivate=function(g,A){this.priv=new h(g,A||16),this.priv=this.priv.umod(this.ec.curve.n)},p.prototype._importPublic=function(g,A){if(g.x||g.y)return this.ec.curve.type==="mont"?d(g.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||d(g.x&&g.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(g.x,g.y));this.pub=this.ec.curve.decodePoint(g,A)},p.prototype.derive=function(g){return g.validate()||d(g.validate(),"public point not validated"),g.mul(this.priv).getX()},p.prototype.sign=function(g,A,m){return this.ec.sign(g,this,A,m)},p.prototype.verify=function(g,A){return this.ec.verify(g,A,this)},p.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../utils":419,"bn.js":420}],414:[function(a,c,u){var h=a("bn.js"),d=a("../utils"),p=d.assert;function g(I,E){if(I instanceof g)return I;this._importDER(I,E)||(p(I.r&&I.s,"Signature without r or s"),this.r=new h(I.r,16),this.s=new h(I.s,16),I.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=I.recoveryParam)}function A(){this.place=0}function m(I,E){var B=I[E.place++];if(!(128&B))return B;var S=15&B;if(S===0||S>4)return!1;for(var _=0,D=0,T=E.place;D<S;D++,T++)_<<=8,_|=I[T],_>>>=0;return!(_<=127)&&(E.place=T,_)}function y(I){for(var E=0,B=I.length-1;!I[E]&&!(128&I[E+1])&&E<B;)E++;return E===0?I:I.slice(E)}function b(I,E){if(E<128)I.push(E);else{var B=1+(Math.log(E)/Math.LN2>>>3);for(I.push(128|B);--B;)I.push(E>>>(B<<3)&255);I.push(E)}}c.exports=g,g.prototype._importDER=function(I,E){I=d.toArray(I,E);var B=new A;if(I[B.place++]!==48)return!1;var S=m(I,B);if(S===!1||S+B.place!==I.length||I[B.place++]!==2)return!1;var _=m(I,B);if(_===!1)return!1;var D=I.slice(B.place,_+B.place);if(B.place+=_,I[B.place++]!==2)return!1;var T=m(I,B);if(T===!1||I.length!==T+B.place)return!1;var F=I.slice(B.place,T+B.place);if(D[0]===0){if(!(128&D[1]))return!1;D=D.slice(1)}if(F[0]===0){if(!(128&F[1]))return!1;F=F.slice(1)}return this.r=new h(D),this.s=new h(F),this.recoveryParam=null,!0},g.prototype.toDER=function(I){var E=this.r.toArray(),B=this.s.toArray();for(128&E[0]&&(E=[0].concat(E)),128&B[0]&&(B=[0].concat(B)),E=y(E),B=y(B);!(B[0]||128&B[1]);)B=B.slice(1);var S=[2];b(S,E.length),(S=S.concat(E)).push(2),b(S,B.length);var _=S.concat(B),D=[48];return b(D,_.length),D=D.concat(_),d.encode(D,I)}},{"../utils":419,"bn.js":420}],415:[function(a,c,u){var h=a("hash.js"),d=a("../curves"),p=a("../utils"),g=p.assert,A=p.parseBytes,m=a("./key"),y=a("./signature");function b(I){if(g(I==="ed25519","only tested with ed25519 so far"),!(this instanceof b))return new b(I);I=d[I].curve,this.curve=I,this.g=I.g,this.g.precompute(I.n.bitLength()+1),this.pointClass=I.point().constructor,this.encodingLength=Math.ceil(I.n.bitLength()/8),this.hash=h.sha512}c.exports=b,b.prototype.sign=function(I,E){I=A(I);var B=this.keyFromSecret(E),S=this.hashInt(B.messagePrefix(),I),_=this.g.mul(S),D=this.encodePoint(_),T=this.hashInt(D,B.pubBytes(),I).mul(B.priv()),F=S.add(T).umod(this.curve.n);return this.makeSignature({R:_,S:F,Rencoded:D})},b.prototype.verify=function(I,E,B){I=A(I),E=this.makeSignature(E);var S=this.keyFromPublic(B),_=this.hashInt(E.Rencoded(),S.pubBytes(),I),D=this.g.mul(E.S());return E.R().add(S.pub().mul(_)).eq(D)},b.prototype.hashInt=function(){for(var I=this.hash(),E=0;E<arguments.length;E++)I.update(arguments[E]);return p.intFromLE(I.digest()).umod(this.curve.n)},b.prototype.keyFromPublic=function(I){return m.fromPublic(this,I)},b.prototype.keyFromSecret=function(I){return m.fromSecret(this,I)},b.prototype.makeSignature=function(I){return I instanceof y?I:new y(this,I)},b.prototype.encodePoint=function(I){var E=I.getY().toArray("le",this.encodingLength);return E[this.encodingLength-1]|=I.getX().isOdd()?128:0,E},b.prototype.decodePoint=function(I){var E=(I=p.parseBytes(I)).length-1,B=I.slice(0,E).concat(-129&I[E]),S=!!(128&I[E]),_=p.intFromLE(B);return this.curve.pointFromY(_,S)},b.prototype.encodeInt=function(I){return I.toArray("le",this.encodingLength)},b.prototype.decodeInt=function(I){return p.intFromLE(I)},b.prototype.isPoint=function(I){return I instanceof this.pointClass}},{"../curves":411,"../utils":419,"./key":416,"./signature":417,"hash.js":426}],416:[function(a,c,u){var h=a("../utils"),d=h.assert,p=h.parseBytes,g=h.cachedProperty;function A(m,y){this.eddsa=m,this._secret=p(y.secret),m.isPoint(y.pub)?this._pub=y.pub:this._pubBytes=p(y.pub)}A.fromPublic=function(m,y){return y instanceof A?y:new A(m,{pub:y})},A.fromSecret=function(m,y){return y instanceof A?y:new A(m,{secret:y})},A.prototype.secret=function(){return this._secret},g(A,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),g(A,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),g(A,"privBytes",function(){var m=this.eddsa,y=this.hash(),b=m.encodingLength-1,I=y.slice(0,m.encodingLength);return I[0]&=248,I[b]&=127,I[b]|=64,I}),g(A,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),g(A,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),g(A,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),A.prototype.sign=function(m){return d(this._secret,"KeyPair can only verify"),this.eddsa.sign(m,this)},A.prototype.verify=function(m,y){return this.eddsa.verify(m,y,this)},A.prototype.getSecret=function(m){return d(this._secret,"KeyPair is public only"),h.encode(this.secret(),m)},A.prototype.getPublic=function(m){return h.encode(this.pubBytes(),m)},c.exports=A},{"../utils":419}],417:[function(a,c,u){var h=a("bn.js"),d=a("../utils"),p=d.assert,g=d.cachedProperty,A=d.parseBytes;function m(y,b){this.eddsa=y,typeof b!="object"&&(b=A(b)),Array.isArray(b)&&(b={R:b.slice(0,y.encodingLength),S:b.slice(y.encodingLength)}),p(b.R&&b.S,"Signature without R or S"),y.isPoint(b.R)&&(this._R=b.R),b.S instanceof h&&(this._S=b.S),this._Rencoded=Array.isArray(b.R)?b.R:b.Rencoded,this._Sencoded=Array.isArray(b.S)?b.S:b.Sencoded}g(m,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),g(m,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),g(m,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),g(m,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),m.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},m.prototype.toHex=function(){return d.encode(this.toBytes(),"hex").toUpperCase()},c.exports=m},{"../utils":419,"bn.js":420}],418:[function(a,c,u){c.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],419:[function(a,c,u){var h=u,d=a("bn.js"),p=a("minimalistic-assert"),g=a("minimalistic-crypto-utils");function A(E,B,S){var _=new Array(Math.max(E.bitLength(),S)+1);_.fill(0);for(var D=1<<B+1,T=E.clone(),F=0;F<_.length;F++){var N,H=T.andln(D-1);T.isOdd()?(N=H>(D>>1)-1?(D>>1)-H:H,T.isubn(N)):N=0,_[F]=N,T.iushrn(1)}return _}function m(E,B){var S=[[],[]];E=E.clone(),B=B.clone();for(var _,D=0,T=0;E.cmpn(-D)>0||B.cmpn(-T)>0;){var F,N,H=E.andln(3)+D&3,W=B.andln(3)+T&3;H===3&&(H=-1),W===3&&(W=-1),F=1&H?(_=E.andln(7)+D&7)!=3&&_!==5||W!==2?H:-H:0,S[0].push(F),N=1&W?(_=B.andln(7)+T&7)!=3&&_!==5||H!==2?W:-W:0,S[1].push(N),2*D===F+1&&(D=1-D),2*T===N+1&&(T=1-T),E.iushrn(1),B.iushrn(1)}return S}function y(E,B,S){var _="_"+B;E.prototype[B]=function(){return this[_]!==void 0?this[_]:this[_]=S.call(this)}}function b(E){return typeof E=="string"?h.toArray(E,"hex"):E}function I(E){return new d(E,"hex","le")}h.assert=p,h.toArray=g.toArray,h.zero2=g.zero2,h.toHex=g.toHex,h.encode=g.encode,h.getNAF=A,h.getJSF=m,h.cachedProperty=y,h.parseBytes=b,h.intFromLE=I},{"bn.js":420,"minimalistic-assert":453,"minimalistic-crypto-utils":454}],420:[function(a,c,u){arguments[4][184][0].apply(u,arguments)},{buffer:188,dup:184}],421:[function(a,c,u){c.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}},{}],422:[function(a,c,u){var h=Object.create||ue,d=Object.keys||fe,p=Function.prototype.bind||de;function g(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=h(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}c.exports=g,g.EventEmitter=g,g.prototype._events=void 0,g.prototype._maxListeners=void 0;var A,m=10;try{var y={};Object.defineProperty&&Object.defineProperty(y,"x",{value:0}),A=y.x===0}catch{A=!1}function b(Ae){return Ae._maxListeners===void 0?g.defaultMaxListeners:Ae._maxListeners}function I(Ae,we,Z){if(we)Ae.call(Z);else for(var ne=Ae.length,j=V(Ae,ne),J=0;J<ne;++J)j[J].call(Z)}function E(Ae,we,Z,ne){if(we)Ae.call(Z,ne);else for(var j=Ae.length,J=V(Ae,j),q=0;q<j;++q)J[q].call(Z,ne)}function B(Ae,we,Z,ne,j){if(we)Ae.call(Z,ne,j);else for(var J=Ae.length,q=V(Ae,J),z=0;z<J;++z)q[z].call(Z,ne,j)}function S(Ae,we,Z,ne,j,J){if(we)Ae.call(Z,ne,j,J);else for(var q=Ae.length,z=V(Ae,q),X=0;X<q;++X)z[X].call(Z,ne,j,J)}function _(Ae,we,Z,ne){if(we)Ae.apply(Z,ne);else for(var j=Ae.length,J=V(Ae,j),q=0;q<j;++q)J[q].apply(Z,ne)}function D(Ae,we,Z,ne){var j,J,q;if(typeof Z!="function")throw new TypeError('"listener" argument must be a function');if((J=Ae._events)?(J.newListener&&(Ae.emit("newListener",we,Z.listener?Z.listener:Z),J=Ae._events),q=J[we]):(J=Ae._events=h(null),Ae._eventsCount=0),q){if(typeof q=="function"?q=J[we]=ne?[Z,q]:[q,Z]:ne?q.unshift(Z):q.push(Z),!q.warned&&(j=b(Ae))&&j>0&&q.length>j){q.warned=!0;var z=new Error("Possible EventEmitter memory leak detected. "+q.length+' "'+String(we)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');z.name="MaxListenersExceededWarning",z.emitter=Ae,z.type=we,z.count=q.length,typeof console=="object"&&console.warn&&console.warn("%s: %s",z.name,z.message)}}else q=J[we]=Z,++Ae._eventsCount;return Ae}function T(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var Ae=new Array(arguments.length),we=0;we<Ae.length;++we)Ae[we]=arguments[we];this.listener.apply(this.target,Ae)}}function F(Ae,we,Z){var ne={fired:!1,wrapFn:void 0,target:Ae,type:we,listener:Z},j=p.call(T,ne);return j.listener=Z,ne.wrapFn=j,j}function N(Ae,we,Z){var ne=Ae._events;if(!ne)return[];var j=ne[we];return j?typeof j=="function"?Z?[j.listener||j]:[j]:Z?te(j):V(j,j.length):[]}function H(Ae){var we=this._events;if(we){var Z=we[Ae];if(typeof Z=="function")return 1;if(Z)return Z.length}return 0}function W(Ae,we){for(var Z=we,ne=Z+1,j=Ae.length;ne<j;Z+=1,ne+=1)Ae[Z]=Ae[ne];Ae.pop()}function V(Ae,we){for(var Z=new Array(we),ne=0;ne<we;++ne)Z[ne]=Ae[ne];return Z}function te(Ae){for(var we=new Array(Ae.length),Z=0;Z<we.length;++Z)we[Z]=Ae[Z].listener||Ae[Z];return we}function ue(Ae){var we=function(){};return we.prototype=Ae,new we}function fe(Ae){for(var we in Ae)Object.prototype.hasOwnProperty.call(Ae,we);return we}function de(Ae){var we=this;return function(){return we.apply(Ae,arguments)}}A?Object.defineProperty(g,"defaultMaxListeners",{enumerable:!0,get:function(){return m},set:function(Ae){if(typeof Ae!="number"||Ae<0||Ae!=Ae)throw new TypeError('"defaultMaxListeners" must be a positive number');m=Ae}}):g.defaultMaxListeners=m,g.prototype.setMaxListeners=function(Ae){if(typeof Ae!="number"||Ae<0||isNaN(Ae))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=Ae,this},g.prototype.getMaxListeners=function(){return b(this)},g.prototype.emit=function(Ae){var we,Z,ne,j,J,q,z=Ae==="error";if(q=this._events)z=z&&q.error==null;else if(!z)return!1;if(z){if(arguments.length>1&&(we=arguments[1]),we instanceof Error)throw we;var X=new Error('Unhandled "error" event. ('+we+")");throw X.context=we,X}if(!(Z=q[Ae]))return!1;var se=typeof Z=="function";switch(ne=arguments.length){case 1:I(Z,se,this);break;case 2:E(Z,se,this,arguments[1]);break;case 3:B(Z,se,this,arguments[1],arguments[2]);break;case 4:S(Z,se,this,arguments[1],arguments[2],arguments[3]);break;default:for(j=new Array(ne-1),J=1;J<ne;J++)j[J-1]=arguments[J];_(Z,se,this,j)}return!0},g.prototype.addListener=function(Ae,we){return D(this,Ae,we,!1)},g.prototype.on=g.prototype.addListener,g.prototype.prependListener=function(Ae,we){return D(this,Ae,we,!0)},g.prototype.once=function(Ae,we){if(typeof we!="function")throw new TypeError('"listener" argument must be a function');return this.on(Ae,F(this,Ae,we)),this},g.prototype.prependOnceListener=function(Ae,we){if(typeof we!="function")throw new TypeError('"listener" argument must be a function');return this.prependListener(Ae,F(this,Ae,we)),this},g.prototype.removeListener=function(Ae,we){var Z,ne,j,J,q;if(typeof we!="function")throw new TypeError('"listener" argument must be a function');if(!(ne=this._events))return this;if(!(Z=ne[Ae]))return this;if(Z===we||Z.listener===we)--this._eventsCount==0?this._events=h(null):(delete ne[Ae],ne.removeListener&&this.emit("removeListener",Ae,Z.listener||we));else if(typeof Z!="function"){for(j=-1,J=Z.length-1;J>=0;J--)if(Z[J]===we||Z[J].listener===we){q=Z[J].listener,j=J;break}if(j<0)return this;j===0?Z.shift():W(Z,j),Z.length===1&&(ne[Ae]=Z[0]),ne.removeListener&&this.emit("removeListener",Ae,q||we)}return this},g.prototype.removeAllListeners=function(Ae){var we,Z,ne;if(!(Z=this._events))return this;if(!Z.removeListener)return arguments.length===0?(this._events=h(null),this._eventsCount=0):Z[Ae]&&(--this._eventsCount==0?this._events=h(null):delete Z[Ae]),this;if(arguments.length===0){var j,J=d(Z);for(ne=0;ne<J.length;++ne)(j=J[ne])!=="removeListener"&&this.removeAllListeners(j);return this.removeAllListeners("removeListener"),this._events=h(null),this._eventsCount=0,this}if(typeof(we=Z[Ae])=="function")this.removeListener(Ae,we);else if(we)for(ne=we.length-1;ne>=0;ne--)this.removeListener(Ae,we[ne]);return this},g.prototype.listeners=function(Ae){return N(this,Ae,!0)},g.prototype.rawListeners=function(Ae){return N(this,Ae,!1)},g.listenerCount=function(Ae,we){return typeof Ae.listenerCount=="function"?Ae.listenerCount(we):H.call(Ae,we)},g.prototype.listenerCount=H,g.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],423:[function(a,c,u){var h=a("safe-buffer").Buffer,d=a("md5.js");function p(g,A,m,y){if(h.isBuffer(g)||(g=h.from(g,"binary")),A&&(h.isBuffer(A)||(A=h.from(A,"binary")),A.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var b=m/8,I=h.alloc(b),E=h.alloc(y||0),B=h.alloc(0);b>0||y>0;){var S=new d;S.update(B),S.update(g),A&&S.update(A),B=S.digest();var _=0;if(b>0){var D=I.length-b;_=Math.min(b,B.length),B.copy(I,D,0,_),b-=_}if(_<B.length&&y>0){var T=E.length-y,F=Math.min(y,B.length-_);B.copy(E,T,_,_+F),y-=F}}return B.fill(0),{key:I,iv:E}}c.exports=p},{"md5.js":450,"safe-buffer":494}],424:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.CsvParserStream=u.ParserOptions=u.parseFile=u.parseStream=u.parseString=u.parse=u.FormatterOptions=u.CsvFormatterStream=u.writeToPath=u.writeToString=u.writeToBuffer=u.writeToStream=u.write=u.format=void 0;var h=a("@fast-csv/format");Object.defineProperty(u,"format",{enumerable:!0,get:function(){return h.format}}),Object.defineProperty(u,"write",{enumerable:!0,get:function(){return h.write}}),Object.defineProperty(u,"writeToStream",{enumerable:!0,get:function(){return h.writeToStream}}),Object.defineProperty(u,"writeToBuffer",{enumerable:!0,get:function(){return h.writeToBuffer}}),Object.defineProperty(u,"writeToString",{enumerable:!0,get:function(){return h.writeToString}}),Object.defineProperty(u,"writeToPath",{enumerable:!0,get:function(){return h.writeToPath}}),Object.defineProperty(u,"CsvFormatterStream",{enumerable:!0,get:function(){return h.CsvFormatterStream}}),Object.defineProperty(u,"FormatterOptions",{enumerable:!0,get:function(){return h.FormatterOptions}});var d=a("@fast-csv/parse");Object.defineProperty(u,"parse",{enumerable:!0,get:function(){return d.parse}}),Object.defineProperty(u,"parseString",{enumerable:!0,get:function(){return d.parseString}}),Object.defineProperty(u,"parseStream",{enumerable:!0,get:function(){return d.parseStream}}),Object.defineProperty(u,"parseFile",{enumerable:!0,get:function(){return d.parseFile}}),Object.defineProperty(u,"ParserOptions",{enumerable:!0,get:function(){return d.ParserOptions}}),Object.defineProperty(u,"CsvParserStream",{enumerable:!0,get:function(){return d.CsvParserStream}})},{"@fast-csv/format":151,"@fast-csv/parse":155}],425:[function(a,c,u){var h=a("safe-buffer").Buffer,d=a("readable-stream").Transform;function p(A,m){if(!h.isBuffer(A)&&typeof A!="string")throw new TypeError(m+" must be a string or a buffer")}function g(A){d.call(this),this._block=h.allocUnsafe(A),this._blockSize=A,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}a("inherits")(g,d),g.prototype._transform=function(A,m,y){var b=null;try{this.update(A,m)}catch(I){b=I}y(b)},g.prototype._flush=function(A){var m=null;try{this.push(this.digest())}catch(y){m=y}A(m)},g.prototype.update=function(A,m){if(p(A,"Data"),this._finalized)throw new Error("Digest already called");h.isBuffer(A)||(A=h.from(A,m));for(var y=this._block,b=0;this._blockOffset+A.length-b>=this._blockSize;){for(var I=this._blockOffset;I<this._blockSize;)y[I++]=A[b++];this._update(),this._blockOffset=0}for(;b<A.length;)y[this._blockOffset++]=A[b++];for(var E=0,B=8*A.length;B>0;++E)this._length[E]+=B,(B=this._length[E]/4294967296|0)>0&&(this._length[E]-=4294967296*B);return this},g.prototype._update=function(){throw new Error("_update is not implemented")},g.prototype.digest=function(A){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var m=this._digest();A!==void 0&&(m=m.toString(A)),this._block.fill(0),this._blockOffset=0;for(var y=0;y<4;++y)this._length[y]=0;return m},g.prototype._digest=function(){throw new Error("_digest is not implemented")},c.exports=g},{inherits:440,"readable-stream":491,"safe-buffer":494}],426:[function(a,c,u){var h=u;h.utils=a("./hash/utils"),h.common=a("./hash/common"),h.sha=a("./hash/sha"),h.ripemd=a("./hash/ripemd"),h.hmac=a("./hash/hmac"),h.sha1=h.sha.sha1,h.sha256=h.sha.sha256,h.sha224=h.sha.sha224,h.sha384=h.sha.sha384,h.sha512=h.sha.sha512,h.ripemd160=h.ripemd.ripemd160},{"./hash/common":427,"./hash/hmac":428,"./hash/ripemd":429,"./hash/sha":430,"./hash/utils":437}],427:[function(a,c,u){var h=a("./utils"),d=a("minimalistic-assert");function p(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}u.BlockHash=p,p.prototype.update=function(g,A){if(g=h.toArray(g,A),this.pending?this.pending=this.pending.concat(g):this.pending=g,this.pendingTotal+=g.length,this.pending.length>=this._delta8){var m=(g=this.pending).length%this._delta8;this.pending=g.slice(g.length-m,g.length),this.pending.length===0&&(this.pending=null),g=h.join32(g,0,g.length-m,this.endian);for(var y=0;y<g.length;y+=this._delta32)this._update(g,y,y+this._delta32)}return this},p.prototype.digest=function(g){return this.update(this._pad()),d(this.pending===null),this._digest(g)},p.prototype._pad=function(){var g=this.pendingTotal,A=this._delta8,m=A-(g+this.padLength)%A,y=new Array(m+this.padLength);y[0]=128;for(var b=1;b<m;b++)y[b]=0;if(g<<=3,this.endian==="big"){for(var I=8;I<this.padLength;I++)y[b++]=0;y[b++]=0,y[b++]=0,y[b++]=0,y[b++]=0,y[b++]=g>>>24&255,y[b++]=g>>>16&255,y[b++]=g>>>8&255,y[b++]=255&g}else for(y[b++]=255&g,y[b++]=g>>>8&255,y[b++]=g>>>16&255,y[b++]=g>>>24&255,y[b++]=0,y[b++]=0,y[b++]=0,y[b++]=0,I=8;I<this.padLength;I++)y[b++]=0;return y}},{"./utils":437,"minimalistic-assert":453}],428:[function(a,c,u){var h=a("./utils"),d=a("minimalistic-assert");function p(g,A,m){if(!(this instanceof p))return new p(g,A,m);this.Hash=g,this.blockSize=g.blockSize/8,this.outSize=g.outSize/8,this.inner=null,this.outer=null,this._init(h.toArray(A,m))}c.exports=p,p.prototype._init=function(g){g.length>this.blockSize&&(g=new this.Hash().update(g).digest()),d(g.length<=this.blockSize);for(var A=g.length;A<this.blockSize;A++)g.push(0);for(A=0;A<g.length;A++)g[A]^=54;for(this.inner=new this.Hash().update(g),A=0;A<g.length;A++)g[A]^=106;this.outer=new this.Hash().update(g)},p.prototype.update=function(g,A){return this.inner.update(g,A),this},p.prototype.digest=function(g){return this.outer.update(this.inner.digest()),this.outer.digest(g)}},{"./utils":437,"minimalistic-assert":453}],429:[function(a,c,u){var h=a("./utils"),d=a("./common"),p=h.rotl32,g=h.sum32,A=h.sum32_3,m=h.sum32_4,y=d.BlockHash;function b(){if(!(this instanceof b))return new b;y.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function I(F,N,H,W){return F<=15?N^H^W:F<=31?N&H|~N&W:F<=47?(N|~H)^W:F<=63?N&W|H&~W:N^(H|~W)}function E(F){return F<=15?0:F<=31?1518500249:F<=47?1859775393:F<=63?2400959708:2840853838}function B(F){return F<=15?1352829926:F<=31?1548603684:F<=47?1836072691:F<=63?2053994217:0}h.inherits(b,y),u.ripemd160=b,b.blockSize=512,b.outSize=160,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(F,N){for(var H=this.h[0],W=this.h[1],V=this.h[2],te=this.h[3],ue=this.h[4],fe=H,de=W,Ae=V,we=te,Z=ue,ne=0;ne<80;ne++){var j=g(p(m(H,I(ne,W,V,te),F[S[ne]+N],E(ne)),D[ne]),ue);H=ue,ue=te,te=p(V,10),V=W,W=j,j=g(p(m(fe,I(79-ne,de,Ae,we),F[_[ne]+N],B(ne)),T[ne]),Z),fe=Z,Z=we,we=p(Ae,10),Ae=de,de=j}j=A(this.h[1],V,we),this.h[1]=A(this.h[2],te,Z),this.h[2]=A(this.h[3],ue,fe),this.h[3]=A(this.h[4],H,de),this.h[4]=A(this.h[0],W,Ae),this.h[0]=j},b.prototype._digest=function(F){return F==="hex"?h.toHex32(this.h,"little"):h.split32(this.h,"little")};var S=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],_=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],D=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],T=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":427,"./utils":437}],430:[function(a,c,u){u.sha1=a("./sha/1"),u.sha224=a("./sha/224"),u.sha256=a("./sha/256"),u.sha384=a("./sha/384"),u.sha512=a("./sha/512")},{"./sha/1":431,"./sha/224":432,"./sha/256":433,"./sha/384":434,"./sha/512":435}],431:[function(a,c,u){var h=a("../utils"),d=a("../common"),p=a("./common"),g=h.rotl32,A=h.sum32,m=h.sum32_5,y=p.ft_1,b=d.BlockHash,I=[1518500249,1859775393,2400959708,3395469782];function E(){if(!(this instanceof E))return new E;b.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}h.inherits(E,b),c.exports=E,E.blockSize=512,E.outSize=160,E.hmacStrength=80,E.padLength=64,E.prototype._update=function(B,S){for(var _=this.W,D=0;D<16;D++)_[D]=B[S+D];for(;D<_.length;D++)_[D]=g(_[D-3]^_[D-8]^_[D-14]^_[D-16],1);var T=this.h[0],F=this.h[1],N=this.h[2],H=this.h[3],W=this.h[4];for(D=0;D<_.length;D++){var V=~~(D/20),te=m(g(T,5),y(V,F,N,H),W,_[D],I[V]);W=H,H=N,N=g(F,30),F=T,T=te}this.h[0]=A(this.h[0],T),this.h[1]=A(this.h[1],F),this.h[2]=A(this.h[2],N),this.h[3]=A(this.h[3],H),this.h[4]=A(this.h[4],W)},E.prototype._digest=function(B){return B==="hex"?h.toHex32(this.h,"big"):h.split32(this.h,"big")}},{"../common":427,"../utils":437,"./common":436}],432:[function(a,c,u){var h=a("../utils"),d=a("./256");function p(){if(!(this instanceof p))return new p;d.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}h.inherits(p,d),c.exports=p,p.blockSize=512,p.outSize=224,p.hmacStrength=192,p.padLength=64,p.prototype._digest=function(g){return g==="hex"?h.toHex32(this.h.slice(0,7),"big"):h.split32(this.h.slice(0,7),"big")}},{"../utils":437,"./256":433}],433:[function(a,c,u){var h=a("../utils"),d=a("../common"),p=a("./common"),g=a("minimalistic-assert"),A=h.sum32,m=h.sum32_4,y=h.sum32_5,b=p.ch32,I=p.maj32,E=p.s0_256,B=p.s1_256,S=p.g0_256,_=p.g1_256,D=d.BlockHash,T=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function F(){if(!(this instanceof F))return new F;D.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=T,this.W=new Array(64)}h.inherits(F,D),c.exports=F,F.blockSize=512,F.outSize=256,F.hmacStrength=192,F.padLength=64,F.prototype._update=function(N,H){for(var W=this.W,V=0;V<16;V++)W[V]=N[H+V];for(;V<W.length;V++)W[V]=m(_(W[V-2]),W[V-7],S(W[V-15]),W[V-16]);var te=this.h[0],ue=this.h[1],fe=this.h[2],de=this.h[3],Ae=this.h[4],we=this.h[5],Z=this.h[6],ne=this.h[7];for(g(this.k.length===W.length),V=0;V<W.length;V++){var j=y(ne,B(Ae),b(Ae,we,Z),this.k[V],W[V]),J=A(E(te),I(te,ue,fe));ne=Z,Z=we,we=Ae,Ae=A(de,j),de=fe,fe=ue,ue=te,te=A(j,J)}this.h[0]=A(this.h[0],te),this.h[1]=A(this.h[1],ue),this.h[2]=A(this.h[2],fe),this.h[3]=A(this.h[3],de),this.h[4]=A(this.h[4],Ae),this.h[5]=A(this.h[5],we),this.h[6]=A(this.h[6],Z),this.h[7]=A(this.h[7],ne)},F.prototype._digest=function(N){return N==="hex"?h.toHex32(this.h,"big"):h.split32(this.h,"big")}},{"../common":427,"../utils":437,"./common":436,"minimalistic-assert":453}],434:[function(a,c,u){var h=a("../utils"),d=a("./512");function p(){if(!(this instanceof p))return new p;d.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}h.inherits(p,d),c.exports=p,p.blockSize=1024,p.outSize=384,p.hmacStrength=192,p.padLength=128,p.prototype._digest=function(g){return g==="hex"?h.toHex32(this.h.slice(0,12),"big"):h.split32(this.h.slice(0,12),"big")}},{"../utils":437,"./512":435}],435:[function(a,c,u){var h=a("../utils"),d=a("../common"),p=a("minimalistic-assert"),g=h.rotr64_hi,A=h.rotr64_lo,m=h.shr64_hi,y=h.shr64_lo,b=h.sum64,I=h.sum64_hi,E=h.sum64_lo,B=h.sum64_4_hi,S=h.sum64_4_lo,_=h.sum64_5_hi,D=h.sum64_5_lo,T=d.BlockHash,F=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function N(){if(!(this instanceof N))return new N;T.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=F,this.W=new Array(160)}function H(J,q,z,X,se){var oe=J&z^~J&se;return oe<0&&(oe+=4294967296),oe}function W(J,q,z,X,se,oe){var ye=q&X^~q&oe;return ye<0&&(ye+=4294967296),ye}function V(J,q,z,X,se){var oe=J&z^J&se^z&se;return oe<0&&(oe+=4294967296),oe}function te(J,q,z,X,se,oe){var ye=q&X^q&oe^X&oe;return ye<0&&(ye+=4294967296),ye}function ue(J,q){var z=g(J,q,28)^g(q,J,2)^g(q,J,7);return z<0&&(z+=4294967296),z}function fe(J,q){var z=A(J,q,28)^A(q,J,2)^A(q,J,7);return z<0&&(z+=4294967296),z}function de(J,q){var z=g(J,q,14)^g(J,q,18)^g(q,J,9);return z<0&&(z+=4294967296),z}function Ae(J,q){var z=A(J,q,14)^A(J,q,18)^A(q,J,9);return z<0&&(z+=4294967296),z}function we(J,q){var z=g(J,q,1)^g(J,q,8)^m(J,q,7);return z<0&&(z+=4294967296),z}function Z(J,q){var z=A(J,q,1)^A(J,q,8)^y(J,q,7);return z<0&&(z+=4294967296),z}function ne(J,q){var z=g(J,q,19)^g(q,J,29)^m(J,q,6);return z<0&&(z+=4294967296),z}function j(J,q){var z=A(J,q,19)^A(q,J,29)^y(J,q,6);return z<0&&(z+=4294967296),z}h.inherits(N,T),c.exports=N,N.blockSize=1024,N.outSize=512,N.hmacStrength=192,N.padLength=128,N.prototype._prepareBlock=function(J,q){for(var z=this.W,X=0;X<32;X++)z[X]=J[q+X];for(;X<z.length;X+=2){var se=ne(z[X-4],z[X-3]),oe=j(z[X-4],z[X-3]),ye=z[X-14],ae=z[X-13],me=we(z[X-30],z[X-29]),Fe=Z(z[X-30],z[X-29]),_e=z[X-32],rt=z[X-31];z[X]=B(se,oe,ye,ae,me,Fe,_e,rt),z[X+1]=S(se,oe,ye,ae,me,Fe,_e,rt)}},N.prototype._update=function(J,q){this._prepareBlock(J,q);var z=this.W,X=this.h[0],se=this.h[1],oe=this.h[2],ye=this.h[3],ae=this.h[4],me=this.h[5],Fe=this.h[6],_e=this.h[7],rt=this.h[8],et=this.h[9],st=this.h[10],Ge=this.h[11],Be=this.h[12],Te=this.h[13],je=this.h[14],lt=this.h[15];p(this.k.length===z.length);for(var Me=0;Me<z.length;Me+=2){var Ke=je,Rt=lt,Ie=de(rt,et),Re=Ae(rt,et),qe=H(rt,et,st,Ge,Be),pt=W(rt,et,st,Ge,Be,Te),Lt=this.k[Me],Qe=this.k[Me+1],_t=z[Me],Ft=z[Me+1],Ze=_(Ke,Rt,Ie,Re,qe,pt,Lt,Qe,_t,Ft),$e=D(Ke,Rt,Ie,Re,qe,pt,Lt,Qe,_t,Ft);Ke=ue(X,se),Rt=fe(X,se),Ie=V(X,se,oe,ye,ae),Re=te(X,se,oe,ye,ae,me);var nt=I(Ke,Rt,Ie,Re),Ot=E(Ke,Rt,Ie,Re);je=Be,lt=Te,Be=st,Te=Ge,st=rt,Ge=et,rt=I(Fe,_e,Ze,$e),et=E(_e,_e,Ze,$e),Fe=ae,_e=me,ae=oe,me=ye,oe=X,ye=se,X=I(Ze,$e,nt,Ot),se=E(Ze,$e,nt,Ot)}b(this.h,0,X,se),b(this.h,2,oe,ye),b(this.h,4,ae,me),b(this.h,6,Fe,_e),b(this.h,8,rt,et),b(this.h,10,st,Ge),b(this.h,12,Be,Te),b(this.h,14,je,lt)},N.prototype._digest=function(J){return J==="hex"?h.toHex32(this.h,"big"):h.split32(this.h,"big")}},{"../common":427,"../utils":437,"minimalistic-assert":453}],436:[function(a,c,u){var h=a("../utils").rotr32;function d(E,B,S,_){return E===0?p(B,S,_):E===1||E===3?A(B,S,_):E===2?g(B,S,_):void 0}function p(E,B,S){return E&B^~E&S}function g(E,B,S){return E&B^E&S^B&S}function A(E,B,S){return E^B^S}function m(E){return h(E,2)^h(E,13)^h(E,22)}function y(E){return h(E,6)^h(E,11)^h(E,25)}function b(E){return h(E,7)^h(E,18)^E>>>3}function I(E){return h(E,17)^h(E,19)^E>>>10}u.ft_1=d,u.ch32=p,u.maj32=g,u.p32=A,u.s0_256=m,u.s1_256=y,u.g0_256=b,u.g1_256=I},{"../utils":437}],437:[function(a,c,u){var h=a("minimalistic-assert"),d=a("inherits");function p(j,J){return(64512&j.charCodeAt(J))==55296&&!(J<0||J+1>=j.length)&&(64512&j.charCodeAt(J+1))==56320}function g(j,J){if(Array.isArray(j))return j.slice();if(!j)return[];var q=[];if(typeof j=="string")if(J){if(J==="hex")for((j=j.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(j="0"+j),X=0;X<j.length;X+=2)q.push(parseInt(j[X]+j[X+1],16))}else for(var z=0,X=0;X<j.length;X++){var se=j.charCodeAt(X);se<128?q[z++]=se:se<2048?(q[z++]=se>>6|192,q[z++]=63&se|128):p(j,X)?(se=65536+((1023&se)<<10)+(1023&j.charCodeAt(++X)),q[z++]=se>>18|240,q[z++]=se>>12&63|128,q[z++]=se>>6&63|128,q[z++]=63&se|128):(q[z++]=se>>12|224,q[z++]=se>>6&63|128,q[z++]=63&se|128)}else for(X=0;X<j.length;X++)q[X]=0|j[X];return q}function A(j){for(var J="",q=0;q<j.length;q++)J+=b(j[q].toString(16));return J}function m(j){return(j>>>24|j>>>8&65280|j<<8&16711680|(255&j)<<24)>>>0}function y(j,J){for(var q="",z=0;z<j.length;z++){var X=j[z];J==="little"&&(X=m(X)),q+=I(X.toString(16))}return q}function b(j){return j.length===1?"0"+j:j}function I(j){return j.length===7?"0"+j:j.length===6?"00"+j:j.length===5?"000"+j:j.length===4?"0000"+j:j.length===3?"00000"+j:j.length===2?"000000"+j:j.length===1?"0000000"+j:j}function E(j,J,q,z){var X=q-J;h(X%4==0);for(var se=new Array(X/4),oe=0,ye=J;oe<se.length;oe++,ye+=4){var ae;ae=z==="big"?j[ye]<<24|j[ye+1]<<16|j[ye+2]<<8|j[ye+3]:j[ye+3]<<24|j[ye+2]<<16|j[ye+1]<<8|j[ye],se[oe]=ae>>>0}return se}function B(j,J){for(var q=new Array(4*j.length),z=0,X=0;z<j.length;z++,X+=4){var se=j[z];J==="big"?(q[X]=se>>>24,q[X+1]=se>>>16&255,q[X+2]=se>>>8&255,q[X+3]=255&se):(q[X+3]=se>>>24,q[X+2]=se>>>16&255,q[X+1]=se>>>8&255,q[X]=255&se)}return q}function S(j,J){return j>>>J|j<<32-J}function _(j,J){return j<<J|j>>>32-J}function D(j,J){return j+J>>>0}function T(j,J,q){return j+J+q>>>0}function F(j,J,q,z){return j+J+q+z>>>0}function N(j,J,q,z,X){return j+J+q+z+X>>>0}function H(j,J,q,z){var X=j[J],se=z+j[J+1]>>>0,oe=(se<z?1:0)+q+X;j[J]=oe>>>0,j[J+1]=se}function W(j,J,q,z){return(J+z>>>0<J?1:0)+j+q>>>0}function V(j,J,q,z){return J+z>>>0}function te(j,J,q,z,X,se,oe,ye){var ae=0,me=J;return ae+=(me=me+z>>>0)<J?1:0,ae+=(me=me+se>>>0)<se?1:0,j+q+X+oe+(ae+=(me=me+ye>>>0)<ye?1:0)>>>0}function ue(j,J,q,z,X,se,oe,ye){return J+z+se+ye>>>0}function fe(j,J,q,z,X,se,oe,ye,ae,me){var Fe=0,_e=J;return Fe+=(_e=_e+z>>>0)<J?1:0,Fe+=(_e=_e+se>>>0)<se?1:0,Fe+=(_e=_e+ye>>>0)<ye?1:0,j+q+X+oe+ae+(Fe+=(_e=_e+me>>>0)<me?1:0)>>>0}function de(j,J,q,z,X,se,oe,ye,ae,me){return J+z+se+ye+me>>>0}function Ae(j,J,q){return(J<<32-q|j>>>q)>>>0}function we(j,J,q){return(j<<32-q|J>>>q)>>>0}function Z(j,J,q){return j>>>q}function ne(j,J,q){return(j<<32-q|J>>>q)>>>0}u.inherits=d,u.toArray=g,u.toHex=A,u.htonl=m,u.toHex32=y,u.zero2=b,u.zero8=I,u.join32=E,u.split32=B,u.rotr32=S,u.rotl32=_,u.sum32=D,u.sum32_3=T,u.sum32_4=F,u.sum32_5=N,u.sum64=H,u.sum64_hi=W,u.sum64_lo=V,u.sum64_4_hi=te,u.sum64_4_lo=ue,u.sum64_5_hi=fe,u.sum64_5_lo=de,u.rotr64_hi=Ae,u.rotr64_lo=we,u.shr64_hi=Z,u.shr64_lo=ne},{inherits:440,"minimalistic-assert":453}],438:[function(a,c,u){var h=a("hash.js"),d=a("minimalistic-crypto-utils"),p=a("minimalistic-assert");function g(A){if(!(this instanceof g))return new g(A);this.hash=A.hash,this.predResist=!!A.predResist,this.outLen=this.hash.outSize,this.minEntropy=A.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var m=d.toArray(A.entropy,A.entropyEnc||"hex"),y=d.toArray(A.nonce,A.nonceEnc||"hex"),b=d.toArray(A.pers,A.persEnc||"hex");p(m.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(m,y,b)}c.exports=g,g.prototype._init=function(A,m,y){var b=A.concat(m).concat(y);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var I=0;I<this.V.length;I++)this.K[I]=0,this.V[I]=1;this._update(b),this._reseed=1,this.reseedInterval=281474976710656},g.prototype._hmac=function(){return new h.hmac(this.hash,this.K)},g.prototype._update=function(A){var m=this._hmac().update(this.V).update([0]);A&&(m=m.update(A)),this.K=m.digest(),this.V=this._hmac().update(this.V).digest(),A&&(this.K=this._hmac().update(this.V).update([1]).update(A).digest(),this.V=this._hmac().update(this.V).digest())},g.prototype.reseed=function(A,m,y,b){typeof m!="string"&&(b=y,y=m,m=null),A=d.toArray(A,m),y=d.toArray(y,b),p(A.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(A.concat(y||[])),this._reseed=1},g.prototype.generate=function(A,m,y,b){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof m!="string"&&(b=y,y=m,m=null),y&&(y=d.toArray(y,b||"hex"),this._update(y));for(var I=[];I.length<A;)this.V=this._hmac().update(this.V).digest(),I=I.concat(this.V);var E=I.slice(0,A);return this._update(y),this._reseed++,d.encode(E,m)}},{"hash.js":426,"minimalistic-assert":453,"minimalistic-crypto-utils":454}],439:[function(a,c,u){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */u.read=function(h,d,p,g,A){var m,y,b=8*A-g-1,I=(1<<b)-1,E=I>>1,B=-7,S=p?A-1:0,_=p?-1:1,D=h[d+S];for(S+=_,m=D&(1<<-B)-1,D>>=-B,B+=b;B>0;m=256*m+h[d+S],S+=_,B-=8);for(y=m&(1<<-B)-1,m>>=-B,B+=g;B>0;y=256*y+h[d+S],S+=_,B-=8);if(m===0)m=1-E;else{if(m===I)return y?NaN:1/0*(D?-1:1);y+=Math.pow(2,g),m-=E}return(D?-1:1)*y*Math.pow(2,m-g)},u.write=function(h,d,p,g,A,m){var y,b,I,E=8*m-A-1,B=(1<<E)-1,S=B>>1,_=A===23?Math.pow(2,-24)-Math.pow(2,-77):0,D=g?0:m-1,T=g?1:-1,F=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(b=isNaN(d)?1:0,y=B):(y=Math.floor(Math.log(d)/Math.LN2),d*(I=Math.pow(2,-y))<1&&(y--,I*=2),(d+=y+S>=1?_/I:_*Math.pow(2,1-S))*I>=2&&(y++,I/=2),y+S>=B?(b=0,y=B):y+S>=1?(b=(d*I-1)*Math.pow(2,A),y+=S):(b=d*Math.pow(2,S-1)*Math.pow(2,A),y=0));A>=8;h[p+D]=255&b,D+=T,b/=256,A-=8);for(y=y<<A|b,E+=A;E>0;h[p+D]=255&y,D+=T,y/=256,E-=8);h[p+D-T]|=128*F}},{}],440:[function(a,c,u){typeof Object.create=="function"?c.exports=function(h,d){d&&(h.super_=d,h.prototype=Object.create(d.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}))}:c.exports=function(h,d){if(d){h.super_=d;var p=function(){};p.prototype=d.prototype,h.prototype=new p,h.prototype.constructor=h}}},{}],441:[function(a,c,u){(function(h,d,p,g,A,m,y,b){(function(){/*!
  29. JSZip v3.10.1 - A JavaScript class for generating and reading zip files
  30. <http://stuartk.com/jszip>
  31. (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
  32. Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
  33. JSZip uses the library pako released under the MIT license :
  34. https://github.com/nodeca/pako/blob/main/LICENSE
  35. */(function(I){typeof u=="object"&&c!==void 0?c.exports=I():(typeof window<"u"?window:d!==void 0?d:typeof self<"u"?self:this).JSZip=I()})(function(){return function I(E,B,S){function _(F,N){if(!B[F]){if(!E[F]){var H=typeof a=="function"&&a;if(!N&&H)return H(F,!0);if(D)return D(F,!0);var W=new Error("Cannot find module '"+F+"'");throw W.code="MODULE_NOT_FOUND",W}var V=B[F]={exports:{}};E[F][0].call(V.exports,function(te){return _(E[F][1][te]||te)},V,V.exports,I,E,B,S)}return B[F].exports}for(var D=typeof a=="function"&&a,T=0;T<S.length;T++)_(S[T]);return _}({1:[function(I,E,B){var S=I("./utils"),_=I("./support"),D="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";B.encode=function(T){for(var F,N,H,W,V,te,ue,fe=[],de=0,Ae=T.length,we=Ae,Z=S.getTypeOf(T)!=="string";de<T.length;)we=Ae-de,H=Z?(F=T[de++],N=de<Ae?T[de++]:0,de<Ae?T[de++]:0):(F=T.charCodeAt(de++),N=de<Ae?T.charCodeAt(de++):0,de<Ae?T.charCodeAt(de++):0),W=F>>2,V=(3&F)<<4|N>>4,te=1<we?(15&N)<<2|H>>6:64,ue=2<we?63&H:64,fe.push(D.charAt(W)+D.charAt(V)+D.charAt(te)+D.charAt(ue));return fe.join("")},B.decode=function(T){var F,N,H,W,V,te,ue=0,fe=0,de="data:";if(T.substr(0,de.length)===de)throw new Error("Invalid base64 input, it looks like a data url.");var Ae,we=3*(T=T.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(T.charAt(T.length-1)===D.charAt(64)&&we--,T.charAt(T.length-2)===D.charAt(64)&&we--,we%1!=0)throw new Error("Invalid base64 input, bad content length.");for(Ae=_.uint8array?new Uint8Array(0|we):new Array(0|we);ue<T.length;)F=D.indexOf(T.charAt(ue++))<<2|(W=D.indexOf(T.charAt(ue++)))>>4,N=(15&W)<<4|(V=D.indexOf(T.charAt(ue++)))>>2,H=(3&V)<<6|(te=D.indexOf(T.charAt(ue++))),Ae[fe++]=F,V!==64&&(Ae[fe++]=N),te!==64&&(Ae[fe++]=H);return Ae}},{"./support":30,"./utils":32}],2:[function(I,E,B){var S=I("./external"),_=I("./stream/DataWorker"),D=I("./stream/Crc32Probe"),T=I("./stream/DataLengthProbe");function F(N,H,W,V,te){this.compressedSize=N,this.uncompressedSize=H,this.crc32=W,this.compression=V,this.compressedContent=te}F.prototype={getContentWorker:function(){var N=new _(S.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new T("data_length")),H=this;return N.on("end",function(){if(this.streamInfo.data_length!==H.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),N},getCompressedWorker:function(){return new _(S.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},F.createWorkerFrom=function(N,H,W){return N.pipe(new D).pipe(new T("uncompressedSize")).pipe(H.compressWorker(W)).pipe(new T("compressedSize")).withStreamInfo("compression",H)},E.exports=F},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(I,E,B){var S=I("./stream/GenericWorker");B.STORE={magic:"\0\0",compressWorker:function(){return new S("STORE compression")},uncompressWorker:function(){return new S("STORE decompression")}},B.DEFLATE=I("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(I,E,B){var S=I("./utils"),_=function(){for(var D,T=[],F=0;F<256;F++){D=F;for(var N=0;N<8;N++)D=1&D?3988292384^D>>>1:D>>>1;T[F]=D}return T}();E.exports=function(D,T){return D!==void 0&&D.length?S.getTypeOf(D)!=="string"?function(F,N,H,W){var V=_,te=W+H;F^=-1;for(var ue=W;ue<te;ue++)F=F>>>8^V[255&(F^N[ue])];return~F}(0|T,D,D.length,0):function(F,N,H,W){var V=_,te=W+H;F^=-1;for(var ue=W;ue<te;ue++)F=F>>>8^V[255&(F^N.charCodeAt(ue))];return~F}(0|T,D,D.length,0):0}},{"./utils":32}],5:[function(I,E,B){B.base64=!1,B.binary=!1,B.dir=!1,B.createFolders=!0,B.date=null,B.compression=null,B.compressionOptions=null,B.comment=null,B.unixPermissions=null,B.dosPermissions=null},{}],6:[function(I,E,B){var S=null;S=typeof Promise<"u"?Promise:I("lie"),E.exports={Promise:S}},{lie:37}],7:[function(I,E,B){var S=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",_=I("pako"),D=I("./utils"),T=I("./stream/GenericWorker"),F=S?"uint8array":"array";function N(H,W){T.call(this,"FlateWorker/"+H),this._pako=null,this._pakoAction=H,this._pakoOptions=W,this.meta={}}B.magic="\b\0",D.inherits(N,T),N.prototype.processChunk=function(H){this.meta=H.meta,this._pako===null&&this._createPako(),this._pako.push(D.transformTo(F,H.data),!1)},N.prototype.flush=function(){T.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},N.prototype.cleanUp=function(){T.prototype.cleanUp.call(this),this._pako=null},N.prototype._createPako=function(){this._pako=new _[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var H=this;this._pako.onData=function(W){H.push({data:W,meta:H.meta})}},B.compressWorker=function(H){return new N("Deflate",H)},B.uncompressWorker=function(){return new N("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(I,E,B){function S(V,te){var ue,fe="";for(ue=0;ue<te;ue++)fe+=String.fromCharCode(255&V),V>>>=8;return fe}function _(V,te,ue,fe,de,Ae){var we,Z,ne=V.file,j=V.compression,J=Ae!==F.utf8encode,q=D.transformTo("string",Ae(ne.name)),z=D.transformTo("string",F.utf8encode(ne.name)),X=ne.comment,se=D.transformTo("string",Ae(X)),oe=D.transformTo("string",F.utf8encode(X)),ye=z.length!==ne.name.length,ae=oe.length!==X.length,me="",Fe="",_e="",rt=ne.dir,et=ne.date,st={crc32:0,compressedSize:0,uncompressedSize:0};te&&!ue||(st.crc32=V.crc32,st.compressedSize=V.compressedSize,st.uncompressedSize=V.uncompressedSize);var Ge=0;te&&(Ge|=8),J||!ye&&!ae||(Ge|=2048);var Be,Te,je,lt=0,Me=0;rt&&(lt|=16),de==="UNIX"?(Me=798,lt|=(Be=ne.unixPermissions,Te=rt,je=Be,Be||(je=Te?16893:33204),(65535&je)<<16)):(Me=20,lt|=function(Rt){return 63&(Rt||0)}(ne.dosPermissions)),we=et.getUTCHours(),we<<=6,we|=et.getUTCMinutes(),we<<=5,we|=et.getUTCSeconds()/2,Z=et.getUTCFullYear()-1980,Z<<=4,Z|=et.getUTCMonth()+1,Z<<=5,Z|=et.getUTCDate(),ye&&(Fe=S(1,1)+S(N(q),4)+z,me+="up"+S(Fe.length,2)+Fe),ae&&(_e=S(1,1)+S(N(se),4)+oe,me+="uc"+S(_e.length,2)+_e);var Ke="";return Ke+=`
  36. \0`,Ke+=S(Ge,2),Ke+=j.magic,Ke+=S(we,2),Ke+=S(Z,2),Ke+=S(st.crc32,4),Ke+=S(st.compressedSize,4),Ke+=S(st.uncompressedSize,4),Ke+=S(q.length,2),Ke+=S(me.length,2),{fileRecord:H.LOCAL_FILE_HEADER+Ke+q+me,dirRecord:H.CENTRAL_FILE_HEADER+S(Me,2)+Ke+S(se.length,2)+"\0\0\0\0"+S(lt,4)+S(fe,4)+q+me+se}}var D=I("../utils"),T=I("../stream/GenericWorker"),F=I("../utf8"),N=I("../crc32"),H=I("../signature");function W(V,te,ue,fe){T.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=te,this.zipPlatform=ue,this.encodeFileName=fe,this.streamFiles=V,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}D.inherits(W,T),W.prototype.push=function(V){var te=V.meta.percent||0,ue=this.entriesCount,fe=this._sources.length;this.accumulate?this.contentBuffer.push(V):(this.bytesWritten+=V.data.length,T.prototype.push.call(this,{data:V.data,meta:{currentFile:this.currentFile,percent:ue?(te+100*(ue-fe-1))/ue:100}}))},W.prototype.openedSource=function(V){this.currentSourceOffset=this.bytesWritten,this.currentFile=V.file.name;var te=this.streamFiles&&!V.file.dir;if(te){var ue=_(V,te,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:ue.fileRecord,meta:{percent:0}})}else this.accumulate=!0},W.prototype.closedSource=function(V){this.accumulate=!1;var te,ue=this.streamFiles&&!V.file.dir,fe=_(V,ue,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(fe.dirRecord),ue)this.push({data:(te=V,H.DATA_DESCRIPTOR+S(te.crc32,4)+S(te.compressedSize,4)+S(te.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:fe.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},W.prototype.flush=function(){for(var V=this.bytesWritten,te=0;te<this.dirRecords.length;te++)this.push({data:this.dirRecords[te],meta:{percent:100}});var ue,fe,de,Ae,we,Z,ne=this.bytesWritten-V,j=(ue=this.dirRecords.length,fe=ne,de=V,Ae=this.zipComment,we=this.encodeFileName,Z=D.transformTo("string",we(Ae)),H.CENTRAL_DIRECTORY_END+"\0\0\0\0"+S(ue,2)+S(ue,2)+S(fe,4)+S(de,4)+S(Z.length,2)+Z);this.push({data:j,meta:{percent:100}})},W.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},W.prototype.registerPrevious=function(V){this._sources.push(V);var te=this;return V.on("data",function(ue){te.processChunk(ue)}),V.on("end",function(){te.closedSource(te.previous.streamInfo),te._sources.length?te.prepareNextSource():te.end()}),V.on("error",function(ue){te.error(ue)}),this},W.prototype.resume=function(){return!!T.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},W.prototype.error=function(V){var te=this._sources;if(!T.prototype.error.call(this,V))return!1;for(var ue=0;ue<te.length;ue++)try{te[ue].error(V)}catch{}return!0},W.prototype.lock=function(){T.prototype.lock.call(this);for(var V=this._sources,te=0;te<V.length;te++)V[te].lock()},E.exports=W},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(I,E,B){var S=I("../compressions"),_=I("./ZipFileWorker");B.generateWorker=function(D,T,F){var N=new _(T.streamFiles,F,T.platform,T.encodeFileName),H=0;try{D.forEach(function(W,V){H++;var te=function(Ae,we){var Z=Ae||we,ne=S[Z];if(!ne)throw new Error(Z+" is not a valid compression method !");return ne}(V.options.compression,T.compression),ue=V.options.compressionOptions||T.compressionOptions||{},fe=V.dir,de=V.date;V._compressWorker(te,ue).withStreamInfo("file",{name:W,dir:fe,date:de,comment:V.comment||"",unixPermissions:V.unixPermissions,dosPermissions:V.dosPermissions}).pipe(N)}),N.entriesCount=H}catch(W){N.error(W)}return N}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(I,E,B){function S(){if(!(this instanceof S))return new S;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var _=new S;for(var D in this)typeof this[D]!="function"&&(_[D]=this[D]);return _}}(S.prototype=I("./object")).loadAsync=I("./load"),S.support=I("./support"),S.defaults=I("./defaults"),S.version="3.10.1",S.loadAsync=function(_,D){return new S().loadAsync(_,D)},S.external=I("./external"),E.exports=S},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(I,E,B){var S=I("./utils"),_=I("./external"),D=I("./utf8"),T=I("./zipEntries"),F=I("./stream/Crc32Probe"),N=I("./nodejsUtils");function H(W){return new _.Promise(function(V,te){var ue=W.decompressed.getContentWorker().pipe(new F);ue.on("error",function(fe){te(fe)}).on("end",function(){ue.streamInfo.crc32!==W.decompressed.crc32?te(new Error("Corrupted zip : CRC32 mismatch")):V()}).resume()})}E.exports=function(W,V){var te=this;return V=S.extend(V||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:D.utf8decode}),N.isNode&&N.isStream(W)?_.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):S.prepareContent("the loaded zip file",W,!0,V.optimizedBinaryString,V.base64).then(function(ue){var fe=new T(V);return fe.load(ue),fe}).then(function(ue){var fe=[_.Promise.resolve(ue)],de=ue.files;if(V.checkCRC32)for(var Ae=0;Ae<de.length;Ae++)fe.push(H(de[Ae]));return _.Promise.all(fe)}).then(function(ue){for(var fe=ue.shift(),de=fe.files,Ae=0;Ae<de.length;Ae++){var we=de[Ae],Z=we.fileNameStr,ne=S.resolve(we.fileNameStr);te.file(ne,we.decompressed,{binary:!0,optimizedBinaryString:!0,date:we.date,dir:we.dir,comment:we.fileCommentStr.length?we.fileCommentStr:null,unixPermissions:we.unixPermissions,dosPermissions:we.dosPermissions,createFolders:V.createFolders}),we.dir||(te.file(ne).unsafeOriginalName=Z)}return fe.zipComment.length&&(te.comment=fe.zipComment),te})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(I,E,B){var S=I("../utils"),_=I("../stream/GenericWorker");function D(T,F){_.call(this,"Nodejs stream input adapter for "+T),this._upstreamEnded=!1,this._bindStream(F)}S.inherits(D,_),D.prototype._bindStream=function(T){var F=this;(this._stream=T).pause(),T.on("data",function(N){F.push({data:N,meta:{percent:0}})}).on("error",function(N){F.isPaused?this.generatedError=N:F.error(N)}).on("end",function(){F.isPaused?F._upstreamEnded=!0:F.end()})},D.prototype.pause=function(){return!!_.prototype.pause.call(this)&&(this._stream.pause(),!0)},D.prototype.resume=function(){return!!_.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},E.exports=D},{"../stream/GenericWorker":28,"../utils":32}],13:[function(I,E,B){var S=I("readable-stream").Readable;function _(D,T,F){S.call(this,T),this._helper=D;var N=this;D.on("data",function(H,W){N.push(H)||N._helper.pause(),F&&F(W)}).on("error",function(H){N.emit("error",H)}).on("end",function(){N.push(null)})}I("../utils").inherits(_,S),_.prototype._read=function(){this._helper.resume()},E.exports=_},{"../utils":32,"readable-stream":16}],14:[function(I,E,B){E.exports={isNode:p!==void 0,newBufferFrom:function(S,_){if(p.from&&p.from!==Uint8Array.from)return p.from(S,_);if(typeof S=="number")throw new Error('The "data" argument must not be a number');return new p(S,_)},allocBuffer:function(S){if(p.alloc)return p.alloc(S);var _=new p(S);return _.fill(0),_},isBuffer:function(S){return p.isBuffer(S)},isStream:function(S){return S&&typeof S.on=="function"&&typeof S.pause=="function"&&typeof S.resume=="function"}}},{}],15:[function(I,E,B){function S(ne,j,J){var q,z=D.getTypeOf(j),X=D.extend(J||{},N);X.date=X.date||new Date,X.compression!==null&&(X.compression=X.compression.toUpperCase()),typeof X.unixPermissions=="string"&&(X.unixPermissions=parseInt(X.unixPermissions,8)),X.unixPermissions&&16384&X.unixPermissions&&(X.dir=!0),X.dosPermissions&&16&X.dosPermissions&&(X.dir=!0),X.dir&&(ne=de(ne)),X.createFolders&&(q=fe(ne))&&Ae.call(this,q,!0);var se=z==="string"&&X.binary===!1&&X.base64===!1;J&&J.binary!==void 0||(X.binary=!se),(j instanceof H&&j.uncompressedSize===0||X.dir||!j||j.length===0)&&(X.base64=!1,X.binary=!0,j="",X.compression="STORE",z="string");var oe=null;oe=j instanceof H||j instanceof T?j:te.isNode&&te.isStream(j)?new ue(ne,j):D.prepareContent(ne,j,X.binary,X.optimizedBinaryString,X.base64);var ye=new W(ne,oe,X);this.files[ne]=ye}var _=I("./utf8"),D=I("./utils"),T=I("./stream/GenericWorker"),F=I("./stream/StreamHelper"),N=I("./defaults"),H=I("./compressedObject"),W=I("./zipObject"),V=I("./generate"),te=I("./nodejsUtils"),ue=I("./nodejs/NodejsStreamInputAdapter"),fe=function(ne){ne.slice(-1)==="/"&&(ne=ne.substring(0,ne.length-1));var j=ne.lastIndexOf("/");return 0<j?ne.substring(0,j):""},de=function(ne){return ne.slice(-1)!=="/"&&(ne+="/"),ne},Ae=function(ne,j){return j=j!==void 0?j:N.createFolders,ne=de(ne),this.files[ne]||S.call(this,ne,null,{dir:!0,createFolders:j}),this.files[ne]};function we(ne){return Object.prototype.toString.call(ne)==="[object RegExp]"}var Z={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(ne){var j,J,q;for(j in this.files)q=this.files[j],(J=j.slice(this.root.length,j.length))&&j.slice(0,this.root.length)===this.root&&ne(J,q)},filter:function(ne){var j=[];return this.forEach(function(J,q){ne(J,q)&&j.push(q)}),j},file:function(ne,j,J){if(arguments.length!==1)return ne=this.root+ne,S.call(this,ne,j,J),this;if(we(ne)){var q=ne;return this.filter(function(X,se){return!se.dir&&q.test(X)})}var z=this.files[this.root+ne];return z&&!z.dir?z:null},folder:function(ne){if(!ne)return this;if(we(ne))return this.filter(function(z,X){return X.dir&&ne.test(z)});var j=this.root+ne,J=Ae.call(this,j),q=this.clone();return q.root=J.name,q},remove:function(ne){ne=this.root+ne;var j=this.files[ne];if(j||(ne.slice(-1)!=="/"&&(ne+="/"),j=this.files[ne]),j&&!j.dir)delete this.files[ne];else for(var J=this.filter(function(z,X){return X.name.slice(0,ne.length)===ne}),q=0;q<J.length;q++)delete this.files[J[q].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(ne){var j,J={};try{if((J=D.extend(ne||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:_.utf8encode})).type=J.type.toLowerCase(),J.compression=J.compression.toUpperCase(),J.type==="binarystring"&&(J.type="string"),!J.type)throw new Error("No output type specified.");D.checkSupport(J.type),J.platform!=="darwin"&&J.platform!=="freebsd"&&J.platform!=="linux"&&J.platform!=="sunos"||(J.platform="UNIX"),J.platform==="win32"&&(J.platform="DOS");var q=J.comment||this.comment||"";j=V.generateWorker(this,J,q)}catch(z){(j=new T("error")).error(z)}return new F(j,J.type||"string",J.mimeType)},generateAsync:function(ne,j){return this.generateInternalStream(ne).accumulate(j)},generateNodeStream:function(ne,j){return(ne=ne||{}).type||(ne.type="nodebuffer"),this.generateInternalStream(ne).toNodejsStream(j)}};E.exports=Z},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(I,E,B){E.exports=I("stream")},{stream:void 0}],17:[function(I,E,B){var S=I("./DataReader");function _(D){S.call(this,D);for(var T=0;T<this.data.length;T++)D[T]=255&D[T]}I("../utils").inherits(_,S),_.prototype.byteAt=function(D){return this.data[this.zero+D]},_.prototype.lastIndexOfSignature=function(D){for(var T=D.charCodeAt(0),F=D.charCodeAt(1),N=D.charCodeAt(2),H=D.charCodeAt(3),W=this.length-4;0<=W;--W)if(this.data[W]===T&&this.data[W+1]===F&&this.data[W+2]===N&&this.data[W+3]===H)return W-this.zero;return-1},_.prototype.readAndCheckSignature=function(D){var T=D.charCodeAt(0),F=D.charCodeAt(1),N=D.charCodeAt(2),H=D.charCodeAt(3),W=this.readData(4);return T===W[0]&&F===W[1]&&N===W[2]&&H===W[3]},_.prototype.readData=function(D){if(this.checkOffset(D),D===0)return[];var T=this.data.slice(this.zero+this.index,this.zero+this.index+D);return this.index+=D,T},E.exports=_},{"../utils":32,"./DataReader":18}],18:[function(I,E,B){var S=I("../utils");function _(D){this.data=D,this.length=D.length,this.index=0,this.zero=0}_.prototype={checkOffset:function(D){this.checkIndex(this.index+D)},checkIndex:function(D){if(this.length<this.zero+D||D<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+D+"). Corrupted zip ?")},setIndex:function(D){this.checkIndex(D),this.index=D},skip:function(D){this.setIndex(this.index+D)},byteAt:function(){},readInt:function(D){var T,F=0;for(this.checkOffset(D),T=this.index+D-1;T>=this.index;T--)F=(F<<8)+this.byteAt(T);return this.index+=D,F},readString:function(D){return S.transformTo("string",this.readData(D))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var D=this.readInt(4);return new Date(Date.UTC(1980+(D>>25&127),(D>>21&15)-1,D>>16&31,D>>11&31,D>>5&63,(31&D)<<1))}},E.exports=_},{"../utils":32}],19:[function(I,E,B){var S=I("./Uint8ArrayReader");function _(D){S.call(this,D)}I("../utils").inherits(_,S),_.prototype.readData=function(D){this.checkOffset(D);var T=this.data.slice(this.zero+this.index,this.zero+this.index+D);return this.index+=D,T},E.exports=_},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(I,E,B){var S=I("./DataReader");function _(D){S.call(this,D)}I("../utils").inherits(_,S),_.prototype.byteAt=function(D){return this.data.charCodeAt(this.zero+D)},_.prototype.lastIndexOfSignature=function(D){return this.data.lastIndexOf(D)-this.zero},_.prototype.readAndCheckSignature=function(D){return D===this.readData(4)},_.prototype.readData=function(D){this.checkOffset(D);var T=this.data.slice(this.zero+this.index,this.zero+this.index+D);return this.index+=D,T},E.exports=_},{"../utils":32,"./DataReader":18}],21:[function(I,E,B){var S=I("./ArrayReader");function _(D){S.call(this,D)}I("../utils").inherits(_,S),_.prototype.readData=function(D){if(this.checkOffset(D),D===0)return new Uint8Array(0);var T=this.data.subarray(this.zero+this.index,this.zero+this.index+D);return this.index+=D,T},E.exports=_},{"../utils":32,"./ArrayReader":17}],22:[function(I,E,B){var S=I("../utils"),_=I("../support"),D=I("./ArrayReader"),T=I("./StringReader"),F=I("./NodeBufferReader"),N=I("./Uint8ArrayReader");E.exports=function(H){var W=S.getTypeOf(H);return S.checkSupport(W),W!=="string"||_.uint8array?W==="nodebuffer"?new F(H):_.uint8array?new N(S.transformTo("uint8array",H)):new D(S.transformTo("array",H)):new T(H)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(I,E,B){B.LOCAL_FILE_HEADER="PK",B.CENTRAL_FILE_HEADER="PK",B.CENTRAL_DIRECTORY_END="PK",B.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",B.ZIP64_CENTRAL_DIRECTORY_END="PK",B.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(I,E,B){var S=I("./GenericWorker"),_=I("../utils");function D(T){S.call(this,"ConvertWorker to "+T),this.destType=T}_.inherits(D,S),D.prototype.processChunk=function(T){this.push({data:_.transformTo(this.destType,T.data),meta:T.meta})},E.exports=D},{"../utils":32,"./GenericWorker":28}],25:[function(I,E,B){var S=I("./GenericWorker"),_=I("../crc32");function D(){S.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}I("../utils").inherits(D,S),D.prototype.processChunk=function(T){this.streamInfo.crc32=_(T.data,this.streamInfo.crc32||0),this.push(T)},E.exports=D},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(I,E,B){var S=I("../utils"),_=I("./GenericWorker");function D(T){_.call(this,"DataLengthProbe for "+T),this.propName=T,this.withStreamInfo(T,0)}S.inherits(D,_),D.prototype.processChunk=function(T){if(T){var F=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=F+T.data.length}_.prototype.processChunk.call(this,T)},E.exports=D},{"../utils":32,"./GenericWorker":28}],27:[function(I,E,B){var S=I("../utils"),_=I("./GenericWorker");function D(T){_.call(this,"DataWorker");var F=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,T.then(function(N){F.dataIsReady=!0,F.data=N,F.max=N&&N.length||0,F.type=S.getTypeOf(N),F.isPaused||F._tickAndRepeat()},function(N){F.error(N)})}S.inherits(D,_),D.prototype.cleanUp=function(){_.prototype.cleanUp.call(this),this.data=null},D.prototype.resume=function(){return!!_.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,S.delay(this._tickAndRepeat,[],this)),!0)},D.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(S.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},D.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var T=null,F=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":T=this.data.substring(this.index,F);break;case"uint8array":T=this.data.subarray(this.index,F);break;case"array":case"nodebuffer":T=this.data.slice(this.index,F)}return this.index=F,this.push({data:T,meta:{percent:this.max?this.index/this.max*100:0}})},E.exports=D},{"../utils":32,"./GenericWorker":28}],28:[function(I,E,B){function S(_){this.name=_||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}S.prototype={push:function(_){this.emit("data",_)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(_){this.emit("error",_)}return!0},error:function(_){return!this.isFinished&&(this.isPaused?this.generatedError=_:(this.isFinished=!0,this.emit("error",_),this.previous&&this.previous.error(_),this.cleanUp()),!0)},on:function(_,D){return this._listeners[_].push(D),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(_,D){if(this._listeners[_])for(var T=0;T<this._listeners[_].length;T++)this._listeners[_][T].call(this,D)},pipe:function(_){return _.registerPrevious(this)},registerPrevious:function(_){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=_.streamInfo,this.mergeStreamInfo(),this.previous=_;var D=this;return _.on("data",function(T){D.processChunk(T)}),_.on("end",function(){D.end()}),_.on("error",function(T){D.error(T)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var _=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),_=!0),this.previous&&this.previous.resume(),!_},flush:function(){},processChunk:function(_){this.push(_)},withStreamInfo:function(_,D){return this.extraStreamInfo[_]=D,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var _ in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,_)&&(this.streamInfo[_]=this.extraStreamInfo[_])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var _="Worker "+this.name;return this.previous?this.previous+" -> "+_:_}},E.exports=S},{}],29:[function(I,E,B){var S=I("../utils"),_=I("./ConvertWorker"),D=I("./GenericWorker"),T=I("../base64"),F=I("../support"),N=I("../external"),H=null;if(F.nodestream)try{H=I("../nodejs/NodejsStreamOutputAdapter")}catch{}function W(te,ue){return new N.Promise(function(fe,de){var Ae=[],we=te._internalType,Z=te._outputType,ne=te._mimeType;te.on("data",function(j,J){Ae.push(j),ue&&ue(J)}).on("error",function(j){Ae=[],de(j)}).on("end",function(){try{var j=function(J,q,z){switch(J){case"blob":return S.newBlob(S.transformTo("arraybuffer",q),z);case"base64":return T.encode(q);default:return S.transformTo(J,q)}}(Z,function(J,q){var z,X=0,se=null,oe=0;for(z=0;z<q.length;z++)oe+=q[z].length;switch(J){case"string":return q.join("");case"array":return Array.prototype.concat.apply([],q);case"uint8array":for(se=new Uint8Array(oe),z=0;z<q.length;z++)se.set(q[z],X),X+=q[z].length;return se;case"nodebuffer":return p.concat(q);default:throw new Error("concat : unsupported type '"+J+"'")}}(we,Ae),ne);fe(j)}catch(J){de(J)}Ae=[]}).resume()})}function V(te,ue,fe){var de=ue;switch(ue){case"blob":case"arraybuffer":de="uint8array";break;case"base64":de="string"}try{this._internalType=de,this._outputType=ue,this._mimeType=fe,S.checkSupport(de),this._worker=te.pipe(new _(de)),te.lock()}catch(Ae){this._worker=new D("error"),this._worker.error(Ae)}}V.prototype={accumulate:function(te){return W(this,te)},on:function(te,ue){var fe=this;return te==="data"?this._worker.on(te,function(de){ue.call(fe,de.data,de.meta)}):this._worker.on(te,function(){S.delay(ue,arguments,fe)}),this},resume:function(){return S.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(te){if(S.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new H(this,{objectMode:this._outputType!=="nodebuffer"},te)}},E.exports=V},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(I,E,B){if(B.base64=!0,B.array=!0,B.string=!0,B.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",B.nodebuffer=p!==void 0,B.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")B.blob=!1;else{var S=new ArrayBuffer(0);try{B.blob=new Blob([S],{type:"application/zip"}).size===0}catch{try{var _=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);_.append(S),B.blob=_.getBlob("application/zip").size===0}catch{B.blob=!1}}}try{B.nodestream=!!I("readable-stream").Readable}catch{B.nodestream=!1}},{"readable-stream":16}],31:[function(I,E,B){for(var S=I("./utils"),_=I("./support"),D=I("./nodejsUtils"),T=I("./stream/GenericWorker"),F=new Array(256),N=0;N<256;N++)F[N]=252<=N?6:248<=N?5:240<=N?4:224<=N?3:192<=N?2:1;function H(){T.call(this,"utf-8 decode"),this.leftOver=null}function W(){T.call(this,"utf-8 encode")}F[254]=F[254]=1,B.utf8encode=function(V){return _.nodebuffer?D.newBufferFrom(V,"utf-8"):function(te){var ue,fe,de,Ae,we,Z=te.length,ne=0;for(Ae=0;Ae<Z;Ae++)(64512&(fe=te.charCodeAt(Ae)))==55296&&Ae+1<Z&&(64512&(de=te.charCodeAt(Ae+1)))==56320&&(fe=65536+(fe-55296<<10)+(de-56320),Ae++),ne+=fe<128?1:fe<2048?2:fe<65536?3:4;for(ue=_.uint8array?new Uint8Array(ne):new Array(ne),Ae=we=0;we<ne;Ae++)(64512&(fe=te.charCodeAt(Ae)))==55296&&Ae+1<Z&&(64512&(de=te.charCodeAt(Ae+1)))==56320&&(fe=65536+(fe-55296<<10)+(de-56320),Ae++),fe<128?ue[we++]=fe:(fe<2048?ue[we++]=192|fe>>>6:(fe<65536?ue[we++]=224|fe>>>12:(ue[we++]=240|fe>>>18,ue[we++]=128|fe>>>12&63),ue[we++]=128|fe>>>6&63),ue[we++]=128|63&fe);return ue}(V)},B.utf8decode=function(V){return _.nodebuffer?S.transformTo("nodebuffer",V).toString("utf-8"):function(te){var ue,fe,de,Ae,we=te.length,Z=new Array(2*we);for(ue=fe=0;ue<we;)if((de=te[ue++])<128)Z[fe++]=de;else if(4<(Ae=F[de]))Z[fe++]=65533,ue+=Ae-1;else{for(de&=Ae===2?31:Ae===3?15:7;1<Ae&&ue<we;)de=de<<6|63&te[ue++],Ae--;1<Ae?Z[fe++]=65533:de<65536?Z[fe++]=de:(de-=65536,Z[fe++]=55296|de>>10&1023,Z[fe++]=56320|1023&de)}return Z.length!==fe&&(Z.subarray?Z=Z.subarray(0,fe):Z.length=fe),S.applyFromCharCode(Z)}(V=S.transformTo(_.uint8array?"uint8array":"array",V))},S.inherits(H,T),H.prototype.processChunk=function(V){var te=S.transformTo(_.uint8array?"uint8array":"array",V.data);if(this.leftOver&&this.leftOver.length){if(_.uint8array){var ue=te;(te=new Uint8Array(ue.length+this.leftOver.length)).set(this.leftOver,0),te.set(ue,this.leftOver.length)}else te=this.leftOver.concat(te);this.leftOver=null}var fe=function(Ae,we){var Z;for((we=we||Ae.length)>Ae.length&&(we=Ae.length),Z=we-1;0<=Z&&(192&Ae[Z])==128;)Z--;return Z<0||Z===0?we:Z+F[Ae[Z]]>we?Z:we}(te),de=te;fe!==te.length&&(_.uint8array?(de=te.subarray(0,fe),this.leftOver=te.subarray(fe,te.length)):(de=te.slice(0,fe),this.leftOver=te.slice(fe,te.length))),this.push({data:B.utf8decode(de),meta:V.meta})},H.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:B.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},B.Utf8DecodeWorker=H,S.inherits(W,T),W.prototype.processChunk=function(V){this.push({data:B.utf8encode(V.data),meta:V.meta})},B.Utf8EncodeWorker=W},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(I,E,B){var S=I("./support"),_=I("./base64"),D=I("./nodejsUtils"),T=I("./external");function F(ue){return ue}function N(ue,fe){for(var de=0;de<ue.length;++de)fe[de]=255&ue.charCodeAt(de);return fe}I("setimmediate"),B.newBlob=function(ue,fe){B.checkSupport("blob");try{return new Blob([ue],{type:fe})}catch{try{var de=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return de.append(ue),de.getBlob(fe)}catch{throw new Error("Bug : can't construct the Blob.")}}};var H={stringifyByChunk:function(ue,fe,de){var Ae=[],we=0,Z=ue.length;if(Z<=de)return String.fromCharCode.apply(null,ue);for(;we<Z;)fe==="array"||fe==="nodebuffer"?Ae.push(String.fromCharCode.apply(null,ue.slice(we,Math.min(we+de,Z)))):Ae.push(String.fromCharCode.apply(null,ue.subarray(we,Math.min(we+de,Z)))),we+=de;return Ae.join("")},stringifyByChar:function(ue){for(var fe="",de=0;de<ue.length;de++)fe+=String.fromCharCode(ue[de]);return fe},applyCanBeUsed:{uint8array:function(){try{return S.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return S.nodebuffer&&String.fromCharCode.apply(null,D.allocBuffer(1)).length===1}catch{return!1}}()}};function W(ue){var fe=65536,de=B.getTypeOf(ue),Ae=!0;if(de==="uint8array"?Ae=H.applyCanBeUsed.uint8array:de==="nodebuffer"&&(Ae=H.applyCanBeUsed.nodebuffer),Ae)for(;1<fe;)try{return H.stringifyByChunk(ue,de,fe)}catch{fe=Math.floor(fe/2)}return H.stringifyByChar(ue)}function V(ue,fe){for(var de=0;de<ue.length;de++)fe[de]=ue[de];return fe}B.applyFromCharCode=W;var te={};te.string={string:F,array:function(ue){return N(ue,new Array(ue.length))},arraybuffer:function(ue){return te.string.uint8array(ue).buffer},uint8array:function(ue){return N(ue,new Uint8Array(ue.length))},nodebuffer:function(ue){return N(ue,D.allocBuffer(ue.length))}},te.array={string:W,array:F,arraybuffer:function(ue){return new Uint8Array(ue).buffer},uint8array:function(ue){return new Uint8Array(ue)},nodebuffer:function(ue){return D.newBufferFrom(ue)}},te.arraybuffer={string:function(ue){return W(new Uint8Array(ue))},array:function(ue){return V(new Uint8Array(ue),new Array(ue.byteLength))},arraybuffer:F,uint8array:function(ue){return new Uint8Array(ue)},nodebuffer:function(ue){return D.newBufferFrom(new Uint8Array(ue))}},te.uint8array={string:W,array:function(ue){return V(ue,new Array(ue.length))},arraybuffer:function(ue){return ue.buffer},uint8array:F,nodebuffer:function(ue){return D.newBufferFrom(ue)}},te.nodebuffer={string:W,array:function(ue){return V(ue,new Array(ue.length))},arraybuffer:function(ue){return te.nodebuffer.uint8array(ue).buffer},uint8array:function(ue){return V(ue,new Uint8Array(ue.length))},nodebuffer:F},B.transformTo=function(ue,fe){if(fe=fe||"",!ue)return fe;B.checkSupport(ue);var de=B.getTypeOf(fe);return te[de][ue](fe)},B.resolve=function(ue){for(var fe=ue.split("/"),de=[],Ae=0;Ae<fe.length;Ae++){var we=fe[Ae];we==="."||we===""&&Ae!==0&&Ae!==fe.length-1||(we===".."?de.pop():de.push(we))}return de.join("/")},B.getTypeOf=function(ue){return typeof ue=="string"?"string":Object.prototype.toString.call(ue)==="[object Array]"?"array":S.nodebuffer&&D.isBuffer(ue)?"nodebuffer":S.uint8array&&ue instanceof Uint8Array?"uint8array":S.arraybuffer&&ue instanceof ArrayBuffer?"arraybuffer":void 0},B.checkSupport=function(ue){if(!S[ue.toLowerCase()])throw new Error(ue+" is not supported by this platform")},B.MAX_VALUE_16BITS=65535,B.MAX_VALUE_32BITS=-1,B.pretty=function(ue){var fe,de,Ae="";for(de=0;de<(ue||"").length;de++)Ae+="\\x"+((fe=ue.charCodeAt(de))<16?"0":"")+fe.toString(16).toUpperCase();return Ae},B.delay=function(ue,fe,de){b(function(){ue.apply(de||null,fe||[])})},B.inherits=function(ue,fe){function de(){}de.prototype=fe.prototype,ue.prototype=new de},B.extend=function(){var ue,fe,de={};for(ue=0;ue<arguments.length;ue++)for(fe in arguments[ue])Object.prototype.hasOwnProperty.call(arguments[ue],fe)&&de[fe]===void 0&&(de[fe]=arguments[ue][fe]);return de},B.prepareContent=function(ue,fe,de,Ae,we){return T.Promise.resolve(fe).then(function(Z){return S.blob&&(Z instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(Z))!==-1)&&typeof FileReader<"u"?new T.Promise(function(ne,j){var J=new FileReader;J.onload=function(q){ne(q.target.result)},J.onerror=function(q){j(q.target.error)},J.readAsArrayBuffer(Z)}):Z}).then(function(Z){var ne,j=B.getTypeOf(Z);return j?(j==="arraybuffer"?Z=B.transformTo("uint8array",Z):j==="string"&&(we?Z=_.decode(Z):de&&Ae!==!0&&(Z=N(ne=Z,S.uint8array?new Uint8Array(ne.length):new Array(ne.length)))),Z):T.Promise.reject(new Error("Can't read the data of '"+ue+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(I,E,B){var S=I("./reader/readerFor"),_=I("./utils"),D=I("./signature"),T=I("./zipEntry"),F=I("./support");function N(H){this.files=[],this.loadOptions=H}N.prototype={checkSignature:function(H){if(!this.reader.readAndCheckSignature(H)){this.reader.index-=4;var W=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+_.pretty(W)+", expected "+_.pretty(H)+")")}},isSignature:function(H,W){var V=this.reader.index;this.reader.setIndex(H);var te=this.reader.readString(4)===W;return this.reader.setIndex(V),te},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var H=this.reader.readData(this.zipCommentLength),W=F.uint8array?"uint8array":"array",V=_.transformTo(W,H);this.zipComment=this.loadOptions.decodeFileName(V)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var H,W,V,te=this.zip64EndOfCentralSize-44;0<te;)H=this.reader.readInt(2),W=this.reader.readInt(4),V=this.reader.readData(W),this.zip64ExtensibleData[H]={id:H,length:W,value:V}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var H,W;for(H=0;H<this.files.length;H++)W=this.files[H],this.reader.setIndex(W.localHeaderOffset),this.checkSignature(D.LOCAL_FILE_HEADER),W.readLocalPart(this.reader),W.handleUTF8(),W.processAttributes()},readCentralDir:function(){var H;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(D.CENTRAL_FILE_HEADER);)(H=new T({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(H);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var H=this.reader.lastIndexOfSignature(D.CENTRAL_DIRECTORY_END);if(H<0)throw this.isSignature(0,D.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(H);var W=H;if(this.checkSignature(D.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===_.MAX_VALUE_16BITS||this.diskWithCentralDirStart===_.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===_.MAX_VALUE_16BITS||this.centralDirRecords===_.MAX_VALUE_16BITS||this.centralDirSize===_.MAX_VALUE_32BITS||this.centralDirOffset===_.MAX_VALUE_32BITS){if(this.zip64=!0,(H=this.reader.lastIndexOfSignature(D.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(H),this.checkSignature(D.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,D.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(D.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(D.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var V=this.centralDirOffset+this.centralDirSize;this.zip64&&(V+=20,V+=12+this.zip64EndOfCentralSize);var te=W-V;if(0<te)this.isSignature(W,D.CENTRAL_FILE_HEADER)||(this.reader.zero=te);else if(te<0)throw new Error("Corrupted zip: missing "+Math.abs(te)+" bytes.")},prepareReader:function(H){this.reader=S(H)},load:function(H){this.prepareReader(H),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},E.exports=N},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(I,E,B){var S=I("./reader/readerFor"),_=I("./utils"),D=I("./compressedObject"),T=I("./crc32"),F=I("./utf8"),N=I("./compressions"),H=I("./support");function W(V,te){this.options=V,this.loadOptions=te}W.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(V){var te,ue;if(V.skip(22),this.fileNameLength=V.readInt(2),ue=V.readInt(2),this.fileName=V.readData(this.fileNameLength),V.skip(ue),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((te=function(fe){for(var de in N)if(Object.prototype.hasOwnProperty.call(N,de)&&N[de].magic===fe)return N[de];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+_.pretty(this.compressionMethod)+" unknown (inner file : "+_.transformTo("string",this.fileName)+")");this.decompressed=new D(this.compressedSize,this.uncompressedSize,this.crc32,te,V.readData(this.compressedSize))},readCentralPart:function(V){this.versionMadeBy=V.readInt(2),V.skip(2),this.bitFlag=V.readInt(2),this.compressionMethod=V.readString(2),this.date=V.readDate(),this.crc32=V.readInt(4),this.compressedSize=V.readInt(4),this.uncompressedSize=V.readInt(4);var te=V.readInt(2);if(this.extraFieldsLength=V.readInt(2),this.fileCommentLength=V.readInt(2),this.diskNumberStart=V.readInt(2),this.internalFileAttributes=V.readInt(2),this.externalFileAttributes=V.readInt(4),this.localHeaderOffset=V.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");V.skip(te),this.readExtraFields(V),this.parseZIP64ExtraField(V),this.fileComment=V.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var V=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),V==0&&(this.dosPermissions=63&this.externalFileAttributes),V==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var V=S(this.extraFields[1].value);this.uncompressedSize===_.MAX_VALUE_32BITS&&(this.uncompressedSize=V.readInt(8)),this.compressedSize===_.MAX_VALUE_32BITS&&(this.compressedSize=V.readInt(8)),this.localHeaderOffset===_.MAX_VALUE_32BITS&&(this.localHeaderOffset=V.readInt(8)),this.diskNumberStart===_.MAX_VALUE_32BITS&&(this.diskNumberStart=V.readInt(4))}},readExtraFields:function(V){var te,ue,fe,de=V.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});V.index+4<de;)te=V.readInt(2),ue=V.readInt(2),fe=V.readData(ue),this.extraFields[te]={id:te,length:ue,value:fe};V.setIndex(de)},handleUTF8:function(){var V=H.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=F.utf8decode(this.fileName),this.fileCommentStr=F.utf8decode(this.fileComment);else{var te=this.findExtraFieldUnicodePath();if(te!==null)this.fileNameStr=te;else{var ue=_.transformTo(V,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(ue)}var fe=this.findExtraFieldUnicodeComment();if(fe!==null)this.fileCommentStr=fe;else{var de=_.transformTo(V,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(de)}}},findExtraFieldUnicodePath:function(){var V=this.extraFields[28789];if(V){var te=S(V.value);return te.readInt(1)!==1||T(this.fileName)!==te.readInt(4)?null:F.utf8decode(te.readData(V.length-5))}return null},findExtraFieldUnicodeComment:function(){var V=this.extraFields[25461];if(V){var te=S(V.value);return te.readInt(1)!==1||T(this.fileComment)!==te.readInt(4)?null:F.utf8decode(te.readData(V.length-5))}return null}},E.exports=W},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(I,E,B){function S(te,ue,fe){this.name=te,this.dir=fe.dir,this.date=fe.date,this.comment=fe.comment,this.unixPermissions=fe.unixPermissions,this.dosPermissions=fe.dosPermissions,this._data=ue,this._dataBinary=fe.binary,this.options={compression:fe.compression,compressionOptions:fe.compressionOptions}}var _=I("./stream/StreamHelper"),D=I("./stream/DataWorker"),T=I("./utf8"),F=I("./compressedObject"),N=I("./stream/GenericWorker");S.prototype={internalStream:function(te){var ue=null,fe="string";try{if(!te)throw new Error("No output type specified.");var de=(fe=te.toLowerCase())==="string"||fe==="text";fe!=="binarystring"&&fe!=="text"||(fe="string"),ue=this._decompressWorker();var Ae=!this._dataBinary;Ae&&!de&&(ue=ue.pipe(new T.Utf8EncodeWorker)),!Ae&&de&&(ue=ue.pipe(new T.Utf8DecodeWorker))}catch(we){(ue=new N("error")).error(we)}return new _(ue,fe,"")},async:function(te,ue){return this.internalStream(te).accumulate(ue)},nodeStream:function(te,ue){return this.internalStream(te||"nodebuffer").toNodejsStream(ue)},_compressWorker:function(te,ue){if(this._data instanceof F&&this._data.compression.magic===te.magic)return this._data.getCompressedWorker();var fe=this._decompressWorker();return this._dataBinary||(fe=fe.pipe(new T.Utf8EncodeWorker)),F.createWorkerFrom(fe,te,ue)},_decompressWorker:function(){return this._data instanceof F?this._data.getContentWorker():this._data instanceof N?this._data:new D(this._data)}};for(var H=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],W=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},V=0;V<H.length;V++)S.prototype[H[V]]=W;E.exports=S},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(I,E,B){(function(S){var _,D,T=S.MutationObserver||S.WebKitMutationObserver;if(T){var F=0,N=new T(te),H=S.document.createTextNode("");N.observe(H,{characterData:!0}),_=function(){H.data=F=++F%2}}else if(S.setImmediate||S.MessageChannel===void 0)_="document"in S&&"onreadystatechange"in S.document.createElement("script")?function(){var ue=S.document.createElement("script");ue.onreadystatechange=function(){te(),ue.onreadystatechange=null,ue.parentNode.removeChild(ue),ue=null},S.document.documentElement.appendChild(ue)}:function(){setTimeout(te,0)};else{var W=new S.MessageChannel;W.port1.onmessage=te,_=function(){W.port2.postMessage(0)}}var V=[];function te(){var ue,fe;D=!0;for(var de=V.length;de;){for(fe=V,V=[],ue=-1;++ue<de;)fe[ue]();de=V.length}D=!1}E.exports=function(ue){V.push(ue)!==1||D||_()}}).call(this,d!==void 0?d:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(I,E,B){var S=I("immediate");function _(){}var D={},T=["REJECTED"],F=["FULFILLED"],N=["PENDING"];function H(de){if(typeof de!="function")throw new TypeError("resolver must be a function");this.state=N,this.queue=[],this.outcome=void 0,de!==_&&ue(this,de)}function W(de,Ae,we){this.promise=de,typeof Ae=="function"&&(this.onFulfilled=Ae,this.callFulfilled=this.otherCallFulfilled),typeof we=="function"&&(this.onRejected=we,this.callRejected=this.otherCallRejected)}function V(de,Ae,we){S(function(){var Z;try{Z=Ae(we)}catch(ne){return D.reject(de,ne)}Z===de?D.reject(de,new TypeError("Cannot resolve promise with itself")):D.resolve(de,Z)})}function te(de){var Ae=de&&de.then;if(de&&(typeof de=="object"||typeof de=="function")&&typeof Ae=="function")return function(){Ae.apply(de,arguments)}}function ue(de,Ae){var we=!1;function Z(J){we||(we=!0,D.reject(de,J))}function ne(J){we||(we=!0,D.resolve(de,J))}var j=fe(function(){Ae(ne,Z)});j.status==="error"&&Z(j.value)}function fe(de,Ae){var we={};try{we.value=de(Ae),we.status="success"}catch(Z){we.status="error",we.value=Z}return we}(E.exports=H).prototype.finally=function(de){if(typeof de!="function")return this;var Ae=this.constructor;return this.then(function(we){return Ae.resolve(de()).then(function(){return we})},function(we){return Ae.resolve(de()).then(function(){throw we})})},H.prototype.catch=function(de){return this.then(null,de)},H.prototype.then=function(de,Ae){if(typeof de!="function"&&this.state===F||typeof Ae!="function"&&this.state===T)return this;var we=new this.constructor(_);return this.state!==N?V(we,this.state===F?de:Ae,this.outcome):this.queue.push(new W(we,de,Ae)),we},W.prototype.callFulfilled=function(de){D.resolve(this.promise,de)},W.prototype.otherCallFulfilled=function(de){V(this.promise,this.onFulfilled,de)},W.prototype.callRejected=function(de){D.reject(this.promise,de)},W.prototype.otherCallRejected=function(de){V(this.promise,this.onRejected,de)},D.resolve=function(de,Ae){var we=fe(te,Ae);if(we.status==="error")return D.reject(de,we.value);var Z=we.value;if(Z)ue(de,Z);else{de.state=F,de.outcome=Ae;for(var ne=-1,j=de.queue.length;++ne<j;)de.queue[ne].callFulfilled(Ae)}return de},D.reject=function(de,Ae){de.state=T,de.outcome=Ae;for(var we=-1,Z=de.queue.length;++we<Z;)de.queue[we].callRejected(Ae);return de},H.resolve=function(de){return de instanceof this?de:D.resolve(new this(_),de)},H.reject=function(de){var Ae=new this(_);return D.reject(Ae,de)},H.all=function(de){var Ae=this;if(Object.prototype.toString.call(de)!=="[object Array]")return this.reject(new TypeError("must be an array"));var we=de.length,Z=!1;if(!we)return this.resolve([]);for(var ne=new Array(we),j=0,J=-1,q=new this(_);++J<we;)z(de[J],J);return q;function z(X,se){Ae.resolve(X).then(function(oe){ne[se]=oe,++j!==we||Z||(Z=!0,D.resolve(q,ne))},function(oe){Z||(Z=!0,D.reject(q,oe))})}},H.race=function(de){var Ae=this;if(Object.prototype.toString.call(de)!=="[object Array]")return this.reject(new TypeError("must be an array"));var we=de.length,Z=!1;if(!we)return this.resolve([]);for(var ne,j=-1,J=new this(_);++j<we;)ne=de[j],Ae.resolve(ne).then(function(q){Z||(Z=!0,D.resolve(J,q))},function(q){Z||(Z=!0,D.reject(J,q))});return J}},{immediate:36}],38:[function(I,E,B){var S={};(0,I("./lib/utils/common").assign)(S,I("./lib/deflate"),I("./lib/inflate"),I("./lib/zlib/constants")),E.exports=S},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(I,E,B){var S=I("./zlib/deflate"),_=I("./utils/common"),D=I("./utils/strings"),T=I("./zlib/messages"),F=I("./zlib/zstream"),N=Object.prototype.toString,H=0,W=-1,V=0,te=8;function ue(de){if(!(this instanceof ue))return new ue(de);this.options=_.assign({level:W,method:te,chunkSize:16384,windowBits:15,memLevel:8,strategy:V,to:""},de||{});var Ae=this.options;Ae.raw&&0<Ae.windowBits?Ae.windowBits=-Ae.windowBits:Ae.gzip&&0<Ae.windowBits&&Ae.windowBits<16&&(Ae.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new F,this.strm.avail_out=0;var we=S.deflateInit2(this.strm,Ae.level,Ae.method,Ae.windowBits,Ae.memLevel,Ae.strategy);if(we!==H)throw new Error(T[we]);if(Ae.header&&S.deflateSetHeader(this.strm,Ae.header),Ae.dictionary){var Z;if(Z=typeof Ae.dictionary=="string"?D.string2buf(Ae.dictionary):N.call(Ae.dictionary)==="[object ArrayBuffer]"?new Uint8Array(Ae.dictionary):Ae.dictionary,(we=S.deflateSetDictionary(this.strm,Z))!==H)throw new Error(T[we]);this._dict_set=!0}}function fe(de,Ae){var we=new ue(Ae);if(we.push(de,!0),we.err)throw we.msg||T[we.err];return we.result}ue.prototype.push=function(de,Ae){var we,Z,ne=this.strm,j=this.options.chunkSize;if(this.ended)return!1;Z=Ae===~~Ae?Ae:Ae===!0?4:0,typeof de=="string"?ne.input=D.string2buf(de):N.call(de)==="[object ArrayBuffer]"?ne.input=new Uint8Array(de):ne.input=de,ne.next_in=0,ne.avail_in=ne.input.length;do{if(ne.avail_out===0&&(ne.output=new _.Buf8(j),ne.next_out=0,ne.avail_out=j),(we=S.deflate(ne,Z))!==1&&we!==H)return this.onEnd(we),!(this.ended=!0);ne.avail_out!==0&&(ne.avail_in!==0||Z!==4&&Z!==2)||(this.options.to==="string"?this.onData(D.buf2binstring(_.shrinkBuf(ne.output,ne.next_out))):this.onData(_.shrinkBuf(ne.output,ne.next_out)))}while((0<ne.avail_in||ne.avail_out===0)&&we!==1);return Z===4?(we=S.deflateEnd(this.strm),this.onEnd(we),this.ended=!0,we===H):Z!==2||(this.onEnd(H),!(ne.avail_out=0))},ue.prototype.onData=function(de){this.chunks.push(de)},ue.prototype.onEnd=function(de){de===H&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=_.flattenChunks(this.chunks)),this.chunks=[],this.err=de,this.msg=this.strm.msg},B.Deflate=ue,B.deflate=fe,B.deflateRaw=function(de,Ae){return(Ae=Ae||{}).raw=!0,fe(de,Ae)},B.gzip=function(de,Ae){return(Ae=Ae||{}).gzip=!0,fe(de,Ae)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(I,E,B){var S=I("./zlib/inflate"),_=I("./utils/common"),D=I("./utils/strings"),T=I("./zlib/constants"),F=I("./zlib/messages"),N=I("./zlib/zstream"),H=I("./zlib/gzheader"),W=Object.prototype.toString;function V(ue){if(!(this instanceof V))return new V(ue);this.options=_.assign({chunkSize:16384,windowBits:0,to:""},ue||{});var fe=this.options;fe.raw&&0<=fe.windowBits&&fe.windowBits<16&&(fe.windowBits=-fe.windowBits,fe.windowBits===0&&(fe.windowBits=-15)),!(0<=fe.windowBits&&fe.windowBits<16)||ue&&ue.windowBits||(fe.windowBits+=32),15<fe.windowBits&&fe.windowBits<48&&!(15&fe.windowBits)&&(fe.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new N,this.strm.avail_out=0;var de=S.inflateInit2(this.strm,fe.windowBits);if(de!==T.Z_OK)throw new Error(F[de]);this.header=new H,S.inflateGetHeader(this.strm,this.header)}function te(ue,fe){var de=new V(fe);if(de.push(ue,!0),de.err)throw de.msg||F[de.err];return de.result}V.prototype.push=function(ue,fe){var de,Ae,we,Z,ne,j,J=this.strm,q=this.options.chunkSize,z=this.options.dictionary,X=!1;if(this.ended)return!1;Ae=fe===~~fe?fe:fe===!0?T.Z_FINISH:T.Z_NO_FLUSH,typeof ue=="string"?J.input=D.binstring2buf(ue):W.call(ue)==="[object ArrayBuffer]"?J.input=new Uint8Array(ue):J.input=ue,J.next_in=0,J.avail_in=J.input.length;do{if(J.avail_out===0&&(J.output=new _.Buf8(q),J.next_out=0,J.avail_out=q),(de=S.inflate(J,T.Z_NO_FLUSH))===T.Z_NEED_DICT&&z&&(j=typeof z=="string"?D.string2buf(z):W.call(z)==="[object ArrayBuffer]"?new Uint8Array(z):z,de=S.inflateSetDictionary(this.strm,j)),de===T.Z_BUF_ERROR&&X===!0&&(de=T.Z_OK,X=!1),de!==T.Z_STREAM_END&&de!==T.Z_OK)return this.onEnd(de),!(this.ended=!0);J.next_out&&(J.avail_out!==0&&de!==T.Z_STREAM_END&&(J.avail_in!==0||Ae!==T.Z_FINISH&&Ae!==T.Z_SYNC_FLUSH)||(this.options.to==="string"?(we=D.utf8border(J.output,J.next_out),Z=J.next_out-we,ne=D.buf2string(J.output,we),J.next_out=Z,J.avail_out=q-Z,Z&&_.arraySet(J.output,J.output,we,Z,0),this.onData(ne)):this.onData(_.shrinkBuf(J.output,J.next_out)))),J.avail_in===0&&J.avail_out===0&&(X=!0)}while((0<J.avail_in||J.avail_out===0)&&de!==T.Z_STREAM_END);return de===T.Z_STREAM_END&&(Ae=T.Z_FINISH),Ae===T.Z_FINISH?(de=S.inflateEnd(this.strm),this.onEnd(de),this.ended=!0,de===T.Z_OK):Ae!==T.Z_SYNC_FLUSH||(this.onEnd(T.Z_OK),!(J.avail_out=0))},V.prototype.onData=function(ue){this.chunks.push(ue)},V.prototype.onEnd=function(ue){ue===T.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=_.flattenChunks(this.chunks)),this.chunks=[],this.err=ue,this.msg=this.strm.msg},B.Inflate=V,B.inflate=te,B.inflateRaw=function(ue,fe){return(fe=fe||{}).raw=!0,te(ue,fe)},B.ungzip=te},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(I,E,B){var S=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";B.assign=function(T){for(var F=Array.prototype.slice.call(arguments,1);F.length;){var N=F.shift();if(N){if(typeof N!="object")throw new TypeError(N+"must be non-object");for(var H in N)N.hasOwnProperty(H)&&(T[H]=N[H])}}return T},B.shrinkBuf=function(T,F){return T.length===F?T:T.subarray?T.subarray(0,F):(T.length=F,T)};var _={arraySet:function(T,F,N,H,W){if(F.subarray&&T.subarray)T.set(F.subarray(N,N+H),W);else for(var V=0;V<H;V++)T[W+V]=F[N+V]},flattenChunks:function(T){var F,N,H,W,V,te;for(F=H=0,N=T.length;F<N;F++)H+=T[F].length;for(te=new Uint8Array(H),F=W=0,N=T.length;F<N;F++)V=T[F],te.set(V,W),W+=V.length;return te}},D={arraySet:function(T,F,N,H,W){for(var V=0;V<H;V++)T[W+V]=F[N+V]},flattenChunks:function(T){return[].concat.apply([],T)}};B.setTyped=function(T){T?(B.Buf8=Uint8Array,B.Buf16=Uint16Array,B.Buf32=Int32Array,B.assign(B,_)):(B.Buf8=Array,B.Buf16=Array,B.Buf32=Array,B.assign(B,D))},B.setTyped(S)},{}],42:[function(I,E,B){var S=I("./common"),_=!0,D=!0;try{String.fromCharCode.apply(null,[0])}catch{_=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{D=!1}for(var T=new S.Buf8(256),F=0;F<256;F++)T[F]=252<=F?6:248<=F?5:240<=F?4:224<=F?3:192<=F?2:1;function N(H,W){if(W<65537&&(H.subarray&&D||!H.subarray&&_))return String.fromCharCode.apply(null,S.shrinkBuf(H,W));for(var V="",te=0;te<W;te++)V+=String.fromCharCode(H[te]);return V}T[254]=T[254]=1,B.string2buf=function(H){var W,V,te,ue,fe,de=H.length,Ae=0;for(ue=0;ue<de;ue++)(64512&(V=H.charCodeAt(ue)))==55296&&ue+1<de&&(64512&(te=H.charCodeAt(ue+1)))==56320&&(V=65536+(V-55296<<10)+(te-56320),ue++),Ae+=V<128?1:V<2048?2:V<65536?3:4;for(W=new S.Buf8(Ae),ue=fe=0;fe<Ae;ue++)(64512&(V=H.charCodeAt(ue)))==55296&&ue+1<de&&(64512&(te=H.charCodeAt(ue+1)))==56320&&(V=65536+(V-55296<<10)+(te-56320),ue++),V<128?W[fe++]=V:(V<2048?W[fe++]=192|V>>>6:(V<65536?W[fe++]=224|V>>>12:(W[fe++]=240|V>>>18,W[fe++]=128|V>>>12&63),W[fe++]=128|V>>>6&63),W[fe++]=128|63&V);return W},B.buf2binstring=function(H){return N(H,H.length)},B.binstring2buf=function(H){for(var W=new S.Buf8(H.length),V=0,te=W.length;V<te;V++)W[V]=H.charCodeAt(V);return W},B.buf2string=function(H,W){var V,te,ue,fe,de=W||H.length,Ae=new Array(2*de);for(V=te=0;V<de;)if((ue=H[V++])<128)Ae[te++]=ue;else if(4<(fe=T[ue]))Ae[te++]=65533,V+=fe-1;else{for(ue&=fe===2?31:fe===3?15:7;1<fe&&V<de;)ue=ue<<6|63&H[V++],fe--;1<fe?Ae[te++]=65533:ue<65536?Ae[te++]=ue:(ue-=65536,Ae[te++]=55296|ue>>10&1023,Ae[te++]=56320|1023&ue)}return N(Ae,te)},B.utf8border=function(H,W){var V;for((W=W||H.length)>H.length&&(W=H.length),V=W-1;0<=V&&(192&H[V])==128;)V--;return V<0||V===0?W:V+T[H[V]]>W?V:W}},{"./common":41}],43:[function(I,E,B){E.exports=function(S,_,D,T){for(var F=65535&S,N=S>>>16&65535,H=0;D!==0;){for(D-=H=2e3<D?2e3:D;N=N+(F=F+_[T++]|0)|0,--H;);F%=65521,N%=65521}return F|N<<16}},{}],44:[function(I,E,B){E.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(I,E,B){var S=function(){for(var _,D=[],T=0;T<256;T++){_=T;for(var F=0;F<8;F++)_=1&_?3988292384^_>>>1:_>>>1;D[T]=_}return D}();E.exports=function(_,D,T,F){var N=S,H=F+T;_^=-1;for(var W=F;W<H;W++)_=_>>>8^N[255&(_^D[W])];return~_}},{}],46:[function(I,E,B){var S,_=I("../utils/common"),D=I("./trees"),T=I("./adler32"),F=I("./crc32"),N=I("./messages"),H=0,W=4,V=0,te=-2,ue=-1,fe=4,de=2,Ae=8,we=9,Z=286,ne=30,j=19,J=2*Z+1,q=15,z=3,X=258,se=X+z+1,oe=42,ye=113,ae=1,me=2,Fe=3,_e=4;function rt(Qe,_t){return Qe.msg=N[_t],_t}function et(Qe){return(Qe<<1)-(4<Qe?9:0)}function st(Qe){for(var _t=Qe.length;0<=--_t;)Qe[_t]=0}function Ge(Qe){var _t=Qe.state,Ft=_t.pending;Ft>Qe.avail_out&&(Ft=Qe.avail_out),Ft!==0&&(_.arraySet(Qe.output,_t.pending_buf,_t.pending_out,Ft,Qe.next_out),Qe.next_out+=Ft,_t.pending_out+=Ft,Qe.total_out+=Ft,Qe.avail_out-=Ft,_t.pending-=Ft,_t.pending===0&&(_t.pending_out=0))}function Be(Qe,_t){D._tr_flush_block(Qe,0<=Qe.block_start?Qe.block_start:-1,Qe.strstart-Qe.block_start,_t),Qe.block_start=Qe.strstart,Ge(Qe.strm)}function Te(Qe,_t){Qe.pending_buf[Qe.pending++]=_t}function je(Qe,_t){Qe.pending_buf[Qe.pending++]=_t>>>8&255,Qe.pending_buf[Qe.pending++]=255&_t}function lt(Qe,_t){var Ft,Ze,$e=Qe.max_chain_length,nt=Qe.strstart,Ot=Qe.prev_length,He=Qe.nice_match,Je=Qe.strstart>Qe.w_size-se?Qe.strstart-(Qe.w_size-se):0,tt=Qe.window,mt=Qe.w_mask,Xe=Qe.prev,Ye=Qe.strstart+X,ot=tt[nt+Ot-1],yt=tt[nt+Ot];Qe.prev_length>=Qe.good_match&&($e>>=2),He>Qe.lookahead&&(He=Qe.lookahead);do if(tt[(Ft=_t)+Ot]===yt&&tt[Ft+Ot-1]===ot&&tt[Ft]===tt[nt]&&tt[++Ft]===tt[nt+1]){nt+=2,Ft++;do;while(tt[++nt]===tt[++Ft]&&tt[++nt]===tt[++Ft]&&tt[++nt]===tt[++Ft]&&tt[++nt]===tt[++Ft]&&tt[++nt]===tt[++Ft]&&tt[++nt]===tt[++Ft]&&tt[++nt]===tt[++Ft]&&tt[++nt]===tt[++Ft]&&nt<Ye);if(Ze=X-(Ye-nt),nt=Ye-X,Ot<Ze){if(Qe.match_start=_t,He<=(Ot=Ze))break;ot=tt[nt+Ot-1],yt=tt[nt+Ot]}}while((_t=Xe[_t&mt])>Je&&--$e!=0);return Ot<=Qe.lookahead?Ot:Qe.lookahead}function Me(Qe){var _t,Ft,Ze,$e,nt,Ot,He,Je,tt,mt,Xe=Qe.w_size;do{if($e=Qe.window_size-Qe.lookahead-Qe.strstart,Qe.strstart>=Xe+(Xe-se)){for(_.arraySet(Qe.window,Qe.window,Xe,Xe,0),Qe.match_start-=Xe,Qe.strstart-=Xe,Qe.block_start-=Xe,_t=Ft=Qe.hash_size;Ze=Qe.head[--_t],Qe.head[_t]=Xe<=Ze?Ze-Xe:0,--Ft;);for(_t=Ft=Xe;Ze=Qe.prev[--_t],Qe.prev[_t]=Xe<=Ze?Ze-Xe:0,--Ft;);$e+=Xe}if(Qe.strm.avail_in===0)break;if(Ot=Qe.strm,He=Qe.window,Je=Qe.strstart+Qe.lookahead,mt=void 0,(tt=$e)<(mt=Ot.avail_in)&&(mt=tt),Ft=mt===0?0:(Ot.avail_in-=mt,_.arraySet(He,Ot.input,Ot.next_in,mt,Je),Ot.state.wrap===1?Ot.adler=T(Ot.adler,He,mt,Je):Ot.state.wrap===2&&(Ot.adler=F(Ot.adler,He,mt,Je)),Ot.next_in+=mt,Ot.total_in+=mt,mt),Qe.lookahead+=Ft,Qe.lookahead+Qe.insert>=z)for(nt=Qe.strstart-Qe.insert,Qe.ins_h=Qe.window[nt],Qe.ins_h=(Qe.ins_h<<Qe.hash_shift^Qe.window[nt+1])&Qe.hash_mask;Qe.insert&&(Qe.ins_h=(Qe.ins_h<<Qe.hash_shift^Qe.window[nt+z-1])&Qe.hash_mask,Qe.prev[nt&Qe.w_mask]=Qe.head[Qe.ins_h],Qe.head[Qe.ins_h]=nt,nt++,Qe.insert--,!(Qe.lookahead+Qe.insert<z)););}while(Qe.lookahead<se&&Qe.strm.avail_in!==0)}function Ke(Qe,_t){for(var Ft,Ze;;){if(Qe.lookahead<se){if(Me(Qe),Qe.lookahead<se&&_t===H)return ae;if(Qe.lookahead===0)break}if(Ft=0,Qe.lookahead>=z&&(Qe.ins_h=(Qe.ins_h<<Qe.hash_shift^Qe.window[Qe.strstart+z-1])&Qe.hash_mask,Ft=Qe.prev[Qe.strstart&Qe.w_mask]=Qe.head[Qe.ins_h],Qe.head[Qe.ins_h]=Qe.strstart),Ft!==0&&Qe.strstart-Ft<=Qe.w_size-se&&(Qe.match_length=lt(Qe,Ft)),Qe.match_length>=z)if(Ze=D._tr_tally(Qe,Qe.strstart-Qe.match_start,Qe.match_length-z),Qe.lookahead-=Qe.match_length,Qe.match_length<=Qe.max_lazy_match&&Qe.lookahead>=z){for(Qe.match_length--;Qe.strstart++,Qe.ins_h=(Qe.ins_h<<Qe.hash_shift^Qe.window[Qe.strstart+z-1])&Qe.hash_mask,Ft=Qe.prev[Qe.strstart&Qe.w_mask]=Qe.head[Qe.ins_h],Qe.head[Qe.ins_h]=Qe.strstart,--Qe.match_length!=0;);Qe.strstart++}else Qe.strstart+=Qe.match_length,Qe.match_length=0,Qe.ins_h=Qe.window[Qe.strstart],Qe.ins_h=(Qe.ins_h<<Qe.hash_shift^Qe.window[Qe.strstart+1])&Qe.hash_mask;else Ze=D._tr_tally(Qe,0,Qe.window[Qe.strstart]),Qe.lookahead--,Qe.strstart++;if(Ze&&(Be(Qe,!1),Qe.strm.avail_out===0))return ae}return Qe.insert=Qe.strstart<z-1?Qe.strstart:z-1,_t===W?(Be(Qe,!0),Qe.strm.avail_out===0?Fe:_e):Qe.last_lit&&(Be(Qe,!1),Qe.strm.avail_out===0)?ae:me}function Rt(Qe,_t){for(var Ft,Ze,$e;;){if(Qe.lookahead<se){if(Me(Qe),Qe.lookahead<se&&_t===H)return ae;if(Qe.lookahead===0)break}if(Ft=0,Qe.lookahead>=z&&(Qe.ins_h=(Qe.ins_h<<Qe.hash_shift^Qe.window[Qe.strstart+z-1])&Qe.hash_mask,Ft=Qe.prev[Qe.strstart&Qe.w_mask]=Qe.head[Qe.ins_h],Qe.head[Qe.ins_h]=Qe.strstart),Qe.prev_length=Qe.match_length,Qe.prev_match=Qe.match_start,Qe.match_length=z-1,Ft!==0&&Qe.prev_length<Qe.max_lazy_match&&Qe.strstart-Ft<=Qe.w_size-se&&(Qe.match_length=lt(Qe,Ft),Qe.match_length<=5&&(Qe.strategy===1||Qe.match_length===z&&4096<Qe.strstart-Qe.match_start)&&(Qe.match_length=z-1)),Qe.prev_length>=z&&Qe.match_length<=Qe.prev_length){for($e=Qe.strstart+Qe.lookahead-z,Ze=D._tr_tally(Qe,Qe.strstart-1-Qe.prev_match,Qe.prev_length-z),Qe.lookahead-=Qe.prev_length-1,Qe.prev_length-=2;++Qe.strstart<=$e&&(Qe.ins_h=(Qe.ins_h<<Qe.hash_shift^Qe.window[Qe.strstart+z-1])&Qe.hash_mask,Ft=Qe.prev[Qe.strstart&Qe.w_mask]=Qe.head[Qe.ins_h],Qe.head[Qe.ins_h]=Qe.strstart),--Qe.prev_length!=0;);if(Qe.match_available=0,Qe.match_length=z-1,Qe.strstart++,Ze&&(Be(Qe,!1),Qe.strm.avail_out===0))return ae}else if(Qe.match_available){if((Ze=D._tr_tally(Qe,0,Qe.window[Qe.strstart-1]))&&Be(Qe,!1),Qe.strstart++,Qe.lookahead--,Qe.strm.avail_out===0)return ae}else Qe.match_available=1,Qe.strstart++,Qe.lookahead--}return Qe.match_available&&(Ze=D._tr_tally(Qe,0,Qe.window[Qe.strstart-1]),Qe.match_available=0),Qe.insert=Qe.strstart<z-1?Qe.strstart:z-1,_t===W?(Be(Qe,!0),Qe.strm.avail_out===0?Fe:_e):Qe.last_lit&&(Be(Qe,!1),Qe.strm.avail_out===0)?ae:me}function Ie(Qe,_t,Ft,Ze,$e){this.good_length=Qe,this.max_lazy=_t,this.nice_length=Ft,this.max_chain=Ze,this.func=$e}function Re(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Ae,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new _.Buf16(2*J),this.dyn_dtree=new _.Buf16(2*(2*ne+1)),this.bl_tree=new _.Buf16(2*(2*j+1)),st(this.dyn_ltree),st(this.dyn_dtree),st(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new _.Buf16(q+1),this.heap=new _.Buf16(2*Z+1),st(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new _.Buf16(2*Z+1),st(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function qe(Qe){var _t;return Qe&&Qe.state?(Qe.total_in=Qe.total_out=0,Qe.data_type=de,(_t=Qe.state).pending=0,_t.pending_out=0,_t.wrap<0&&(_t.wrap=-_t.wrap),_t.status=_t.wrap?oe:ye,Qe.adler=_t.wrap===2?0:1,_t.last_flush=H,D._tr_init(_t),V):rt(Qe,te)}function pt(Qe){var _t,Ft=qe(Qe);return Ft===V&&((_t=Qe.state).window_size=2*_t.w_size,st(_t.head),_t.max_lazy_match=S[_t.level].max_lazy,_t.good_match=S[_t.level].good_length,_t.nice_match=S[_t.level].nice_length,_t.max_chain_length=S[_t.level].max_chain,_t.strstart=0,_t.block_start=0,_t.lookahead=0,_t.insert=0,_t.match_length=_t.prev_length=z-1,_t.match_available=0,_t.ins_h=0),Ft}function Lt(Qe,_t,Ft,Ze,$e,nt){if(!Qe)return te;var Ot=1;if(_t===ue&&(_t=6),Ze<0?(Ot=0,Ze=-Ze):15<Ze&&(Ot=2,Ze-=16),$e<1||we<$e||Ft!==Ae||Ze<8||15<Ze||_t<0||9<_t||nt<0||fe<nt)return rt(Qe,te);Ze===8&&(Ze=9);var He=new Re;return(Qe.state=He).strm=Qe,He.wrap=Ot,He.gzhead=null,He.w_bits=Ze,He.w_size=1<<He.w_bits,He.w_mask=He.w_size-1,He.hash_bits=$e+7,He.hash_size=1<<He.hash_bits,He.hash_mask=He.hash_size-1,He.hash_shift=~~((He.hash_bits+z-1)/z),He.window=new _.Buf8(2*He.w_size),He.head=new _.Buf16(He.hash_size),He.prev=new _.Buf16(He.w_size),He.lit_bufsize=1<<$e+6,He.pending_buf_size=4*He.lit_bufsize,He.pending_buf=new _.Buf8(He.pending_buf_size),He.d_buf=1*He.lit_bufsize,He.l_buf=3*He.lit_bufsize,He.level=_t,He.strategy=nt,He.method=Ft,pt(Qe)}S=[new Ie(0,0,0,0,function(Qe,_t){var Ft=65535;for(Ft>Qe.pending_buf_size-5&&(Ft=Qe.pending_buf_size-5);;){if(Qe.lookahead<=1){if(Me(Qe),Qe.lookahead===0&&_t===H)return ae;if(Qe.lookahead===0)break}Qe.strstart+=Qe.lookahead,Qe.lookahead=0;var Ze=Qe.block_start+Ft;if((Qe.strstart===0||Qe.strstart>=Ze)&&(Qe.lookahead=Qe.strstart-Ze,Qe.strstart=Ze,Be(Qe,!1),Qe.strm.avail_out===0)||Qe.strstart-Qe.block_start>=Qe.w_size-se&&(Be(Qe,!1),Qe.strm.avail_out===0))return ae}return Qe.insert=0,_t===W?(Be(Qe,!0),Qe.strm.avail_out===0?Fe:_e):(Qe.strstart>Qe.block_start&&(Be(Qe,!1),Qe.strm.avail_out),ae)}),new Ie(4,4,8,4,Ke),new Ie(4,5,16,8,Ke),new Ie(4,6,32,32,Ke),new Ie(4,4,16,16,Rt),new Ie(8,16,32,32,Rt),new Ie(8,16,128,128,Rt),new Ie(8,32,128,256,Rt),new Ie(32,128,258,1024,Rt),new Ie(32,258,258,4096,Rt)],B.deflateInit=function(Qe,_t){return Lt(Qe,_t,Ae,15,8,0)},B.deflateInit2=Lt,B.deflateReset=pt,B.deflateResetKeep=qe,B.deflateSetHeader=function(Qe,_t){return Qe&&Qe.state?Qe.state.wrap!==2?te:(Qe.state.gzhead=_t,V):te},B.deflate=function(Qe,_t){var Ft,Ze,$e,nt;if(!Qe||!Qe.state||5<_t||_t<0)return Qe?rt(Qe,te):te;if(Ze=Qe.state,!Qe.output||!Qe.input&&Qe.avail_in!==0||Ze.status===666&&_t!==W)return rt(Qe,Qe.avail_out===0?-5:te);if(Ze.strm=Qe,Ft=Ze.last_flush,Ze.last_flush=_t,Ze.status===oe)if(Ze.wrap===2)Qe.adler=0,Te(Ze,31),Te(Ze,139),Te(Ze,8),Ze.gzhead?(Te(Ze,(Ze.gzhead.text?1:0)+(Ze.gzhead.hcrc?2:0)+(Ze.gzhead.extra?4:0)+(Ze.gzhead.name?8:0)+(Ze.gzhead.comment?16:0)),Te(Ze,255&Ze.gzhead.time),Te(Ze,Ze.gzhead.time>>8&255),Te(Ze,Ze.gzhead.time>>16&255),Te(Ze,Ze.gzhead.time>>24&255),Te(Ze,Ze.level===9?2:2<=Ze.strategy||Ze.level<2?4:0),Te(Ze,255&Ze.gzhead.os),Ze.gzhead.extra&&Ze.gzhead.extra.length&&(Te(Ze,255&Ze.gzhead.extra.length),Te(Ze,Ze.gzhead.extra.length>>8&255)),Ze.gzhead.hcrc&&(Qe.adler=F(Qe.adler,Ze.pending_buf,Ze.pending,0)),Ze.gzindex=0,Ze.status=69):(Te(Ze,0),Te(Ze,0),Te(Ze,0),Te(Ze,0),Te(Ze,0),Te(Ze,Ze.level===9?2:2<=Ze.strategy||Ze.level<2?4:0),Te(Ze,3),Ze.status=ye);else{var Ot=Ae+(Ze.w_bits-8<<4)<<8;Ot|=(2<=Ze.strategy||Ze.level<2?0:Ze.level<6?1:Ze.level===6?2:3)<<6,Ze.strstart!==0&&(Ot|=32),Ot+=31-Ot%31,Ze.status=ye,je(Ze,Ot),Ze.strstart!==0&&(je(Ze,Qe.adler>>>16),je(Ze,65535&Qe.adler)),Qe.adler=1}if(Ze.status===69)if(Ze.gzhead.extra){for($e=Ze.pending;Ze.gzindex<(65535&Ze.gzhead.extra.length)&&(Ze.pending!==Ze.pending_buf_size||(Ze.gzhead.hcrc&&Ze.pending>$e&&(Qe.adler=F(Qe.adler,Ze.pending_buf,Ze.pending-$e,$e)),Ge(Qe),$e=Ze.pending,Ze.pending!==Ze.pending_buf_size));)Te(Ze,255&Ze.gzhead.extra[Ze.gzindex]),Ze.gzindex++;Ze.gzhead.hcrc&&Ze.pending>$e&&(Qe.adler=F(Qe.adler,Ze.pending_buf,Ze.pending-$e,$e)),Ze.gzindex===Ze.gzhead.extra.length&&(Ze.gzindex=0,Ze.status=73)}else Ze.status=73;if(Ze.status===73)if(Ze.gzhead.name){$e=Ze.pending;do{if(Ze.pending===Ze.pending_buf_size&&(Ze.gzhead.hcrc&&Ze.pending>$e&&(Qe.adler=F(Qe.adler,Ze.pending_buf,Ze.pending-$e,$e)),Ge(Qe),$e=Ze.pending,Ze.pending===Ze.pending_buf_size)){nt=1;break}nt=Ze.gzindex<Ze.gzhead.name.length?255&Ze.gzhead.name.charCodeAt(Ze.gzindex++):0,Te(Ze,nt)}while(nt!==0);Ze.gzhead.hcrc&&Ze.pending>$e&&(Qe.adler=F(Qe.adler,Ze.pending_buf,Ze.pending-$e,$e)),nt===0&&(Ze.gzindex=0,Ze.status=91)}else Ze.status=91;if(Ze.status===91)if(Ze.gzhead.comment){$e=Ze.pending;do{if(Ze.pending===Ze.pending_buf_size&&(Ze.gzhead.hcrc&&Ze.pending>$e&&(Qe.adler=F(Qe.adler,Ze.pending_buf,Ze.pending-$e,$e)),Ge(Qe),$e=Ze.pending,Ze.pending===Ze.pending_buf_size)){nt=1;break}nt=Ze.gzindex<Ze.gzhead.comment.length?255&Ze.gzhead.comment.charCodeAt(Ze.gzindex++):0,Te(Ze,nt)}while(nt!==0);Ze.gzhead.hcrc&&Ze.pending>$e&&(Qe.adler=F(Qe.adler,Ze.pending_buf,Ze.pending-$e,$e)),nt===0&&(Ze.status=103)}else Ze.status=103;if(Ze.status===103&&(Ze.gzhead.hcrc?(Ze.pending+2>Ze.pending_buf_size&&Ge(Qe),Ze.pending+2<=Ze.pending_buf_size&&(Te(Ze,255&Qe.adler),Te(Ze,Qe.adler>>8&255),Qe.adler=0,Ze.status=ye)):Ze.status=ye),Ze.pending!==0){if(Ge(Qe),Qe.avail_out===0)return Ze.last_flush=-1,V}else if(Qe.avail_in===0&&et(_t)<=et(Ft)&&_t!==W)return rt(Qe,-5);if(Ze.status===666&&Qe.avail_in!==0)return rt(Qe,-5);if(Qe.avail_in!==0||Ze.lookahead!==0||_t!==H&&Ze.status!==666){var He=Ze.strategy===2?function(Je,tt){for(var mt;;){if(Je.lookahead===0&&(Me(Je),Je.lookahead===0)){if(tt===H)return ae;break}if(Je.match_length=0,mt=D._tr_tally(Je,0,Je.window[Je.strstart]),Je.lookahead--,Je.strstart++,mt&&(Be(Je,!1),Je.strm.avail_out===0))return ae}return Je.insert=0,tt===W?(Be(Je,!0),Je.strm.avail_out===0?Fe:_e):Je.last_lit&&(Be(Je,!1),Je.strm.avail_out===0)?ae:me}(Ze,_t):Ze.strategy===3?function(Je,tt){for(var mt,Xe,Ye,ot,yt=Je.window;;){if(Je.lookahead<=X){if(Me(Je),Je.lookahead<=X&&tt===H)return ae;if(Je.lookahead===0)break}if(Je.match_length=0,Je.lookahead>=z&&0<Je.strstart&&(Xe=yt[Ye=Je.strstart-1])===yt[++Ye]&&Xe===yt[++Ye]&&Xe===yt[++Ye]){ot=Je.strstart+X;do;while(Xe===yt[++Ye]&&Xe===yt[++Ye]&&Xe===yt[++Ye]&&Xe===yt[++Ye]&&Xe===yt[++Ye]&&Xe===yt[++Ye]&&Xe===yt[++Ye]&&Xe===yt[++Ye]&&Ye<ot);Je.match_length=X-(ot-Ye),Je.match_length>Je.lookahead&&(Je.match_length=Je.lookahead)}if(Je.match_length>=z?(mt=D._tr_tally(Je,1,Je.match_length-z),Je.lookahead-=Je.match_length,Je.strstart+=Je.match_length,Je.match_length=0):(mt=D._tr_tally(Je,0,Je.window[Je.strstart]),Je.lookahead--,Je.strstart++),mt&&(Be(Je,!1),Je.strm.avail_out===0))return ae}return Je.insert=0,tt===W?(Be(Je,!0),Je.strm.avail_out===0?Fe:_e):Je.last_lit&&(Be(Je,!1),Je.strm.avail_out===0)?ae:me}(Ze,_t):S[Ze.level].func(Ze,_t);if(He!==Fe&&He!==_e||(Ze.status=666),He===ae||He===Fe)return Qe.avail_out===0&&(Ze.last_flush=-1),V;if(He===me&&(_t===1?D._tr_align(Ze):_t!==5&&(D._tr_stored_block(Ze,0,0,!1),_t===3&&(st(Ze.head),Ze.lookahead===0&&(Ze.strstart=0,Ze.block_start=0,Ze.insert=0))),Ge(Qe),Qe.avail_out===0))return Ze.last_flush=-1,V}return _t!==W?V:Ze.wrap<=0?1:(Ze.wrap===2?(Te(Ze,255&Qe.adler),Te(Ze,Qe.adler>>8&255),Te(Ze,Qe.adler>>16&255),Te(Ze,Qe.adler>>24&255),Te(Ze,255&Qe.total_in),Te(Ze,Qe.total_in>>8&255),Te(Ze,Qe.total_in>>16&255),Te(Ze,Qe.total_in>>24&255)):(je(Ze,Qe.adler>>>16),je(Ze,65535&Qe.adler)),Ge(Qe),0<Ze.wrap&&(Ze.wrap=-Ze.wrap),Ze.pending!==0?V:1)},B.deflateEnd=function(Qe){var _t;return Qe&&Qe.state?(_t=Qe.state.status)!==oe&&_t!==69&&_t!==73&&_t!==91&&_t!==103&&_t!==ye&&_t!==666?rt(Qe,te):(Qe.state=null,_t===ye?rt(Qe,-3):V):te},B.deflateSetDictionary=function(Qe,_t){var Ft,Ze,$e,nt,Ot,He,Je,tt,mt=_t.length;if(!Qe||!Qe.state||(nt=(Ft=Qe.state).wrap)===2||nt===1&&Ft.status!==oe||Ft.lookahead)return te;for(nt===1&&(Qe.adler=T(Qe.adler,_t,mt,0)),Ft.wrap=0,mt>=Ft.w_size&&(nt===0&&(st(Ft.head),Ft.strstart=0,Ft.block_start=0,Ft.insert=0),tt=new _.Buf8(Ft.w_size),_.arraySet(tt,_t,mt-Ft.w_size,Ft.w_size,0),_t=tt,mt=Ft.w_size),Ot=Qe.avail_in,He=Qe.next_in,Je=Qe.input,Qe.avail_in=mt,Qe.next_in=0,Qe.input=_t,Me(Ft);Ft.lookahead>=z;){for(Ze=Ft.strstart,$e=Ft.lookahead-(z-1);Ft.ins_h=(Ft.ins_h<<Ft.hash_shift^Ft.window[Ze+z-1])&Ft.hash_mask,Ft.prev[Ze&Ft.w_mask]=Ft.head[Ft.ins_h],Ft.head[Ft.ins_h]=Ze,Ze++,--$e;);Ft.strstart=Ze,Ft.lookahead=z-1,Me(Ft)}return Ft.strstart+=Ft.lookahead,Ft.block_start=Ft.strstart,Ft.insert=Ft.lookahead,Ft.lookahead=0,Ft.match_length=Ft.prev_length=z-1,Ft.match_available=0,Qe.next_in=He,Qe.input=Je,Qe.avail_in=Ot,Ft.wrap=nt,V},B.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(I,E,B){E.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(I,E,B){E.exports=function(S,_){var D,T,F,N,H,W,V,te,ue,fe,de,Ae,we,Z,ne,j,J,q,z,X,se,oe,ye,ae,me;D=S.state,T=S.next_in,ae=S.input,F=T+(S.avail_in-5),N=S.next_out,me=S.output,H=N-(_-S.avail_out),W=N+(S.avail_out-257),V=D.dmax,te=D.wsize,ue=D.whave,fe=D.wnext,de=D.window,Ae=D.hold,we=D.bits,Z=D.lencode,ne=D.distcode,j=(1<<D.lenbits)-1,J=(1<<D.distbits)-1;e:do{we<15&&(Ae+=ae[T++]<<we,we+=8,Ae+=ae[T++]<<we,we+=8),q=Z[Ae&j];t:for(;;){if(Ae>>>=z=q>>>24,we-=z,(z=q>>>16&255)==0)me[N++]=65535&q;else{if(!(16&z)){if(!(64&z)){q=Z[(65535&q)+(Ae&(1<<z)-1)];continue t}if(32&z){D.mode=12;break e}S.msg="invalid literal/length code",D.mode=30;break e}X=65535&q,(z&=15)&&(we<z&&(Ae+=ae[T++]<<we,we+=8),X+=Ae&(1<<z)-1,Ae>>>=z,we-=z),we<15&&(Ae+=ae[T++]<<we,we+=8,Ae+=ae[T++]<<we,we+=8),q=ne[Ae&J];r:for(;;){if(Ae>>>=z=q>>>24,we-=z,!(16&(z=q>>>16&255))){if(!(64&z)){q=ne[(65535&q)+(Ae&(1<<z)-1)];continue r}S.msg="invalid distance code",D.mode=30;break e}if(se=65535&q,we<(z&=15)&&(Ae+=ae[T++]<<we,(we+=8)<z&&(Ae+=ae[T++]<<we,we+=8)),V<(se+=Ae&(1<<z)-1)){S.msg="invalid distance too far back",D.mode=30;break e}if(Ae>>>=z,we-=z,(z=N-H)<se){if(ue<(z=se-z)&&D.sane){S.msg="invalid distance too far back",D.mode=30;break e}if(ye=de,(oe=0)===fe){if(oe+=te-z,z<X){for(X-=z;me[N++]=de[oe++],--z;);oe=N-se,ye=me}}else if(fe<z){if(oe+=te+fe-z,(z-=fe)<X){for(X-=z;me[N++]=de[oe++],--z;);if(oe=0,fe<X){for(X-=z=fe;me[N++]=de[oe++],--z;);oe=N-se,ye=me}}}else if(oe+=fe-z,z<X){for(X-=z;me[N++]=de[oe++],--z;);oe=N-se,ye=me}for(;2<X;)me[N++]=ye[oe++],me[N++]=ye[oe++],me[N++]=ye[oe++],X-=3;X&&(me[N++]=ye[oe++],1<X&&(me[N++]=ye[oe++]))}else{for(oe=N-se;me[N++]=me[oe++],me[N++]=me[oe++],me[N++]=me[oe++],2<(X-=3););X&&(me[N++]=me[oe++],1<X&&(me[N++]=me[oe++]))}break}}break}}while(T<F&&N<W);T-=X=we>>3,Ae&=(1<<(we-=X<<3))-1,S.next_in=T,S.next_out=N,S.avail_in=T<F?F-T+5:5-(T-F),S.avail_out=N<W?W-N+257:257-(N-W),D.hold=Ae,D.bits=we}},{}],49:[function(I,E,B){var S=I("../utils/common"),_=I("./adler32"),D=I("./crc32"),T=I("./inffast"),F=I("./inftrees"),N=1,H=2,W=0,V=-2,te=1,ue=852,fe=592;function de(oe){return(oe>>>24&255)+(oe>>>8&65280)+((65280&oe)<<8)+((255&oe)<<24)}function Ae(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new S.Buf16(320),this.work=new S.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function we(oe){var ye;return oe&&oe.state?(ye=oe.state,oe.total_in=oe.total_out=ye.total=0,oe.msg="",ye.wrap&&(oe.adler=1&ye.wrap),ye.mode=te,ye.last=0,ye.havedict=0,ye.dmax=32768,ye.head=null,ye.hold=0,ye.bits=0,ye.lencode=ye.lendyn=new S.Buf32(ue),ye.distcode=ye.distdyn=new S.Buf32(fe),ye.sane=1,ye.back=-1,W):V}function Z(oe){var ye;return oe&&oe.state?((ye=oe.state).wsize=0,ye.whave=0,ye.wnext=0,we(oe)):V}function ne(oe,ye){var ae,me;return oe&&oe.state?(me=oe.state,ye<0?(ae=0,ye=-ye):(ae=1+(ye>>4),ye<48&&(ye&=15)),ye&&(ye<8||15<ye)?V:(me.window!==null&&me.wbits!==ye&&(me.window=null),me.wrap=ae,me.wbits=ye,Z(oe))):V}function j(oe,ye){var ae,me;return oe?(me=new Ae,(oe.state=me).window=null,(ae=ne(oe,ye))!==W&&(oe.state=null),ae):V}var J,q,z=!0;function X(oe){if(z){var ye;for(J=new S.Buf32(512),q=new S.Buf32(32),ye=0;ye<144;)oe.lens[ye++]=8;for(;ye<256;)oe.lens[ye++]=9;for(;ye<280;)oe.lens[ye++]=7;for(;ye<288;)oe.lens[ye++]=8;for(F(N,oe.lens,0,288,J,0,oe.work,{bits:9}),ye=0;ye<32;)oe.lens[ye++]=5;F(H,oe.lens,0,32,q,0,oe.work,{bits:5}),z=!1}oe.lencode=J,oe.lenbits=9,oe.distcode=q,oe.distbits=5}function se(oe,ye,ae,me){var Fe,_e=oe.state;return _e.window===null&&(_e.wsize=1<<_e.wbits,_e.wnext=0,_e.whave=0,_e.window=new S.Buf8(_e.wsize)),me>=_e.wsize?(S.arraySet(_e.window,ye,ae-_e.wsize,_e.wsize,0),_e.wnext=0,_e.whave=_e.wsize):(me<(Fe=_e.wsize-_e.wnext)&&(Fe=me),S.arraySet(_e.window,ye,ae-me,Fe,_e.wnext),(me-=Fe)?(S.arraySet(_e.window,ye,ae-me,me,0),_e.wnext=me,_e.whave=_e.wsize):(_e.wnext+=Fe,_e.wnext===_e.wsize&&(_e.wnext=0),_e.whave<_e.wsize&&(_e.whave+=Fe))),0}B.inflateReset=Z,B.inflateReset2=ne,B.inflateResetKeep=we,B.inflateInit=function(oe){return j(oe,15)},B.inflateInit2=j,B.inflate=function(oe,ye){var ae,me,Fe,_e,rt,et,st,Ge,Be,Te,je,lt,Me,Ke,Rt,Ie,Re,qe,pt,Lt,Qe,_t,Ft,Ze,$e=0,nt=new S.Buf8(4),Ot=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!oe||!oe.state||!oe.output||!oe.input&&oe.avail_in!==0)return V;(ae=oe.state).mode===12&&(ae.mode=13),rt=oe.next_out,Fe=oe.output,st=oe.avail_out,_e=oe.next_in,me=oe.input,et=oe.avail_in,Ge=ae.hold,Be=ae.bits,Te=et,je=st,_t=W;e:for(;;)switch(ae.mode){case te:if(ae.wrap===0){ae.mode=13;break}for(;Be<16;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}if(2&ae.wrap&&Ge===35615){nt[ae.check=0]=255&Ge,nt[1]=Ge>>>8&255,ae.check=D(ae.check,nt,2,0),Be=Ge=0,ae.mode=2;break}if(ae.flags=0,ae.head&&(ae.head.done=!1),!(1&ae.wrap)||(((255&Ge)<<8)+(Ge>>8))%31){oe.msg="incorrect header check",ae.mode=30;break}if((15&Ge)!=8){oe.msg="unknown compression method",ae.mode=30;break}if(Be-=4,Qe=8+(15&(Ge>>>=4)),ae.wbits===0)ae.wbits=Qe;else if(Qe>ae.wbits){oe.msg="invalid window size",ae.mode=30;break}ae.dmax=1<<Qe,oe.adler=ae.check=1,ae.mode=512&Ge?10:12,Be=Ge=0;break;case 2:for(;Be<16;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}if(ae.flags=Ge,(255&ae.flags)!=8){oe.msg="unknown compression method",ae.mode=30;break}if(57344&ae.flags){oe.msg="unknown header flags set",ae.mode=30;break}ae.head&&(ae.head.text=Ge>>8&1),512&ae.flags&&(nt[0]=255&Ge,nt[1]=Ge>>>8&255,ae.check=D(ae.check,nt,2,0)),Be=Ge=0,ae.mode=3;case 3:for(;Be<32;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}ae.head&&(ae.head.time=Ge),512&ae.flags&&(nt[0]=255&Ge,nt[1]=Ge>>>8&255,nt[2]=Ge>>>16&255,nt[3]=Ge>>>24&255,ae.check=D(ae.check,nt,4,0)),Be=Ge=0,ae.mode=4;case 4:for(;Be<16;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}ae.head&&(ae.head.xflags=255&Ge,ae.head.os=Ge>>8),512&ae.flags&&(nt[0]=255&Ge,nt[1]=Ge>>>8&255,ae.check=D(ae.check,nt,2,0)),Be=Ge=0,ae.mode=5;case 5:if(1024&ae.flags){for(;Be<16;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}ae.length=Ge,ae.head&&(ae.head.extra_len=Ge),512&ae.flags&&(nt[0]=255&Ge,nt[1]=Ge>>>8&255,ae.check=D(ae.check,nt,2,0)),Be=Ge=0}else ae.head&&(ae.head.extra=null);ae.mode=6;case 6:if(1024&ae.flags&&(et<(lt=ae.length)&&(lt=et),lt&&(ae.head&&(Qe=ae.head.extra_len-ae.length,ae.head.extra||(ae.head.extra=new Array(ae.head.extra_len)),S.arraySet(ae.head.extra,me,_e,lt,Qe)),512&ae.flags&&(ae.check=D(ae.check,me,lt,_e)),et-=lt,_e+=lt,ae.length-=lt),ae.length))break e;ae.length=0,ae.mode=7;case 7:if(2048&ae.flags){if(et===0)break e;for(lt=0;Qe=me[_e+lt++],ae.head&&Qe&&ae.length<65536&&(ae.head.name+=String.fromCharCode(Qe)),Qe&&lt<et;);if(512&ae.flags&&(ae.check=D(ae.check,me,lt,_e)),et-=lt,_e+=lt,Qe)break e}else ae.head&&(ae.head.name=null);ae.length=0,ae.mode=8;case 8:if(4096&ae.flags){if(et===0)break e;for(lt=0;Qe=me[_e+lt++],ae.head&&Qe&&ae.length<65536&&(ae.head.comment+=String.fromCharCode(Qe)),Qe&&lt<et;);if(512&ae.flags&&(ae.check=D(ae.check,me,lt,_e)),et-=lt,_e+=lt,Qe)break e}else ae.head&&(ae.head.comment=null);ae.mode=9;case 9:if(512&ae.flags){for(;Be<16;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}if(Ge!==(65535&ae.check)){oe.msg="header crc mismatch",ae.mode=30;break}Be=Ge=0}ae.head&&(ae.head.hcrc=ae.flags>>9&1,ae.head.done=!0),oe.adler=ae.check=0,ae.mode=12;break;case 10:for(;Be<32;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}oe.adler=ae.check=de(Ge),Be=Ge=0,ae.mode=11;case 11:if(ae.havedict===0)return oe.next_out=rt,oe.avail_out=st,oe.next_in=_e,oe.avail_in=et,ae.hold=Ge,ae.bits=Be,2;oe.adler=ae.check=1,ae.mode=12;case 12:if(ye===5||ye===6)break e;case 13:if(ae.last){Ge>>>=7&Be,Be-=7&Be,ae.mode=27;break}for(;Be<3;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}switch(ae.last=1&Ge,Be-=1,3&(Ge>>>=1)){case 0:ae.mode=14;break;case 1:if(X(ae),ae.mode=20,ye!==6)break;Ge>>>=2,Be-=2;break e;case 2:ae.mode=17;break;case 3:oe.msg="invalid block type",ae.mode=30}Ge>>>=2,Be-=2;break;case 14:for(Ge>>>=7&Be,Be-=7&Be;Be<32;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}if((65535&Ge)!=(Ge>>>16^65535)){oe.msg="invalid stored block lengths",ae.mode=30;break}if(ae.length=65535&Ge,Be=Ge=0,ae.mode=15,ye===6)break e;case 15:ae.mode=16;case 16:if(lt=ae.length){if(et<lt&&(lt=et),st<lt&&(lt=st),lt===0)break e;S.arraySet(Fe,me,_e,lt,rt),et-=lt,_e+=lt,st-=lt,rt+=lt,ae.length-=lt;break}ae.mode=12;break;case 17:for(;Be<14;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}if(ae.nlen=257+(31&Ge),Ge>>>=5,Be-=5,ae.ndist=1+(31&Ge),Ge>>>=5,Be-=5,ae.ncode=4+(15&Ge),Ge>>>=4,Be-=4,286<ae.nlen||30<ae.ndist){oe.msg="too many length or distance symbols",ae.mode=30;break}ae.have=0,ae.mode=18;case 18:for(;ae.have<ae.ncode;){for(;Be<3;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}ae.lens[Ot[ae.have++]]=7&Ge,Ge>>>=3,Be-=3}for(;ae.have<19;)ae.lens[Ot[ae.have++]]=0;if(ae.lencode=ae.lendyn,ae.lenbits=7,Ft={bits:ae.lenbits},_t=F(0,ae.lens,0,19,ae.lencode,0,ae.work,Ft),ae.lenbits=Ft.bits,_t){oe.msg="invalid code lengths set",ae.mode=30;break}ae.have=0,ae.mode=19;case 19:for(;ae.have<ae.nlen+ae.ndist;){for(;Ie=($e=ae.lencode[Ge&(1<<ae.lenbits)-1])>>>16&255,Re=65535&$e,!((Rt=$e>>>24)<=Be);){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}if(Re<16)Ge>>>=Rt,Be-=Rt,ae.lens[ae.have++]=Re;else{if(Re===16){for(Ze=Rt+2;Be<Ze;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}if(Ge>>>=Rt,Be-=Rt,ae.have===0){oe.msg="invalid bit length repeat",ae.mode=30;break}Qe=ae.lens[ae.have-1],lt=3+(3&Ge),Ge>>>=2,Be-=2}else if(Re===17){for(Ze=Rt+3;Be<Ze;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}Be-=Rt,Qe=0,lt=3+(7&(Ge>>>=Rt)),Ge>>>=3,Be-=3}else{for(Ze=Rt+7;Be<Ze;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}Be-=Rt,Qe=0,lt=11+(127&(Ge>>>=Rt)),Ge>>>=7,Be-=7}if(ae.have+lt>ae.nlen+ae.ndist){oe.msg="invalid bit length repeat",ae.mode=30;break}for(;lt--;)ae.lens[ae.have++]=Qe}}if(ae.mode===30)break;if(ae.lens[256]===0){oe.msg="invalid code -- missing end-of-block",ae.mode=30;break}if(ae.lenbits=9,Ft={bits:ae.lenbits},_t=F(N,ae.lens,0,ae.nlen,ae.lencode,0,ae.work,Ft),ae.lenbits=Ft.bits,_t){oe.msg="invalid literal/lengths set",ae.mode=30;break}if(ae.distbits=6,ae.distcode=ae.distdyn,Ft={bits:ae.distbits},_t=F(H,ae.lens,ae.nlen,ae.ndist,ae.distcode,0,ae.work,Ft),ae.distbits=Ft.bits,_t){oe.msg="invalid distances set",ae.mode=30;break}if(ae.mode=20,ye===6)break e;case 20:ae.mode=21;case 21:if(6<=et&&258<=st){oe.next_out=rt,oe.avail_out=st,oe.next_in=_e,oe.avail_in=et,ae.hold=Ge,ae.bits=Be,T(oe,je),rt=oe.next_out,Fe=oe.output,st=oe.avail_out,_e=oe.next_in,me=oe.input,et=oe.avail_in,Ge=ae.hold,Be=ae.bits,ae.mode===12&&(ae.back=-1);break}for(ae.back=0;Ie=($e=ae.lencode[Ge&(1<<ae.lenbits)-1])>>>16&255,Re=65535&$e,!((Rt=$e>>>24)<=Be);){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}if(Ie&&!(240&Ie)){for(qe=Rt,pt=Ie,Lt=Re;Ie=($e=ae.lencode[Lt+((Ge&(1<<qe+pt)-1)>>qe)])>>>16&255,Re=65535&$e,!(qe+(Rt=$e>>>24)<=Be);){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}Ge>>>=qe,Be-=qe,ae.back+=qe}if(Ge>>>=Rt,Be-=Rt,ae.back+=Rt,ae.length=Re,Ie===0){ae.mode=26;break}if(32&Ie){ae.back=-1,ae.mode=12;break}if(64&Ie){oe.msg="invalid literal/length code",ae.mode=30;break}ae.extra=15&Ie,ae.mode=22;case 22:if(ae.extra){for(Ze=ae.extra;Be<Ze;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}ae.length+=Ge&(1<<ae.extra)-1,Ge>>>=ae.extra,Be-=ae.extra,ae.back+=ae.extra}ae.was=ae.length,ae.mode=23;case 23:for(;Ie=($e=ae.distcode[Ge&(1<<ae.distbits)-1])>>>16&255,Re=65535&$e,!((Rt=$e>>>24)<=Be);){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}if(!(240&Ie)){for(qe=Rt,pt=Ie,Lt=Re;Ie=($e=ae.distcode[Lt+((Ge&(1<<qe+pt)-1)>>qe)])>>>16&255,Re=65535&$e,!(qe+(Rt=$e>>>24)<=Be);){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}Ge>>>=qe,Be-=qe,ae.back+=qe}if(Ge>>>=Rt,Be-=Rt,ae.back+=Rt,64&Ie){oe.msg="invalid distance code",ae.mode=30;break}ae.offset=Re,ae.extra=15&Ie,ae.mode=24;case 24:if(ae.extra){for(Ze=ae.extra;Be<Ze;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}ae.offset+=Ge&(1<<ae.extra)-1,Ge>>>=ae.extra,Be-=ae.extra,ae.back+=ae.extra}if(ae.offset>ae.dmax){oe.msg="invalid distance too far back",ae.mode=30;break}ae.mode=25;case 25:if(st===0)break e;if(lt=je-st,ae.offset>lt){if((lt=ae.offset-lt)>ae.whave&&ae.sane){oe.msg="invalid distance too far back",ae.mode=30;break}Me=lt>ae.wnext?(lt-=ae.wnext,ae.wsize-lt):ae.wnext-lt,lt>ae.length&&(lt=ae.length),Ke=ae.window}else Ke=Fe,Me=rt-ae.offset,lt=ae.length;for(st<lt&&(lt=st),st-=lt,ae.length-=lt;Fe[rt++]=Ke[Me++],--lt;);ae.length===0&&(ae.mode=21);break;case 26:if(st===0)break e;Fe[rt++]=ae.length,st--,ae.mode=21;break;case 27:if(ae.wrap){for(;Be<32;){if(et===0)break e;et--,Ge|=me[_e++]<<Be,Be+=8}if(je-=st,oe.total_out+=je,ae.total+=je,je&&(oe.adler=ae.check=ae.flags?D(ae.check,Fe,je,rt-je):_(ae.check,Fe,je,rt-je)),je=st,(ae.flags?Ge:de(Ge))!==ae.check){oe.msg="incorrect data check",ae.mode=30;break}Be=Ge=0}ae.mode=28;case 28:if(ae.wrap&&ae.flags){for(;Be<32;){if(et===0)break e;et--,Ge+=me[_e++]<<Be,Be+=8}if(Ge!==(4294967295&ae.total)){oe.msg="incorrect length check",ae.mode=30;break}Be=Ge=0}ae.mode=29;case 29:_t=1;break e;case 30:_t=-3;break e;case 31:return-4;default:return V}return oe.next_out=rt,oe.avail_out=st,oe.next_in=_e,oe.avail_in=et,ae.hold=Ge,ae.bits=Be,(ae.wsize||je!==oe.avail_out&&ae.mode<30&&(ae.mode<27||ye!==4))&&se(oe,oe.output,oe.next_out,je-oe.avail_out)?(ae.mode=31,-4):(Te-=oe.avail_in,je-=oe.avail_out,oe.total_in+=Te,oe.total_out+=je,ae.total+=je,ae.wrap&&je&&(oe.adler=ae.check=ae.flags?D(ae.check,Fe,je,oe.next_out-je):_(ae.check,Fe,je,oe.next_out-je)),oe.data_type=ae.bits+(ae.last?64:0)+(ae.mode===12?128:0)+(ae.mode===20||ae.mode===15?256:0),(Te==0&&je===0||ye===4)&&_t===W&&(_t=-5),_t)},B.inflateEnd=function(oe){if(!oe||!oe.state)return V;var ye=oe.state;return ye.window&&(ye.window=null),oe.state=null,W},B.inflateGetHeader=function(oe,ye){var ae;return oe&&oe.state&&2&(ae=oe.state).wrap?((ae.head=ye).done=!1,W):V},B.inflateSetDictionary=function(oe,ye){var ae,me=ye.length;return oe&&oe.state?(ae=oe.state).wrap!==0&&ae.mode!==11?V:ae.mode===11&&_(1,ye,me,0)!==ae.check?-3:se(oe,ye,me,me)?(ae.mode=31,-4):(ae.havedict=1,W):V},B.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(I,E,B){var S=I("../utils/common"),_=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],D=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],T=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],F=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];E.exports=function(N,H,W,V,te,ue,fe,de){var Ae,we,Z,ne,j,J,q,z,X,se=de.bits,oe=0,ye=0,ae=0,me=0,Fe=0,_e=0,rt=0,et=0,st=0,Ge=0,Be=null,Te=0,je=new S.Buf16(16),lt=new S.Buf16(16),Me=null,Ke=0;for(oe=0;oe<=15;oe++)je[oe]=0;for(ye=0;ye<V;ye++)je[H[W+ye]]++;for(Fe=se,me=15;1<=me&&je[me]===0;me--);if(me<Fe&&(Fe=me),me===0)return te[ue++]=20971520,te[ue++]=20971520,de.bits=1,0;for(ae=1;ae<me&&je[ae]===0;ae++);for(Fe<ae&&(Fe=ae),oe=et=1;oe<=15;oe++)if(et<<=1,(et-=je[oe])<0)return-1;if(0<et&&(N===0||me!==1))return-1;for(lt[1]=0,oe=1;oe<15;oe++)lt[oe+1]=lt[oe]+je[oe];for(ye=0;ye<V;ye++)H[W+ye]!==0&&(fe[lt[H[W+ye]]++]=ye);if(J=N===0?(Be=Me=fe,19):N===1?(Be=_,Te-=257,Me=D,Ke-=257,256):(Be=T,Me=F,-1),oe=ae,j=ue,rt=ye=Ge=0,Z=-1,ne=(st=1<<(_e=Fe))-1,N===1&&852<st||N===2&&592<st)return 1;for(;;){for(q=oe-rt,X=fe[ye]<J?(z=0,fe[ye]):fe[ye]>J?(z=Me[Ke+fe[ye]],Be[Te+fe[ye]]):(z=96,0),Ae=1<<oe-rt,ae=we=1<<_e;te[j+(Ge>>rt)+(we-=Ae)]=q<<24|z<<16|X,we!==0;);for(Ae=1<<oe-1;Ge&Ae;)Ae>>=1;if(Ae!==0?(Ge&=Ae-1,Ge+=Ae):Ge=0,ye++,--je[oe]==0){if(oe===me)break;oe=H[W+fe[ye]]}if(Fe<oe&&(Ge&ne)!==Z){for(rt===0&&(rt=Fe),j+=ae,et=1<<(_e=oe-rt);_e+rt<me&&!((et-=je[_e+rt])<=0);)_e++,et<<=1;if(st+=1<<_e,N===1&&852<st||N===2&&592<st)return 1;te[Z=Ge&ne]=Fe<<24|_e<<16|j-ue}}return Ge!==0&&(te[j+Ge]=oe-rt<<24|64<<16),de.bits=Fe,0}},{"../utils/common":41}],51:[function(I,E,B){E.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(I,E,B){var S=I("../utils/common"),_=0,D=1;function T($e){for(var nt=$e.length;0<=--nt;)$e[nt]=0}var F=0,N=29,H=256,W=H+1+N,V=30,te=19,ue=2*W+1,fe=15,de=16,Ae=7,we=256,Z=16,ne=17,j=18,J=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],q=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],z=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],X=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],se=new Array(2*(W+2));T(se);var oe=new Array(2*V);T(oe);var ye=new Array(512);T(ye);var ae=new Array(256);T(ae);var me=new Array(N);T(me);var Fe,_e,rt,et=new Array(V);function st($e,nt,Ot,He,Je){this.static_tree=$e,this.extra_bits=nt,this.extra_base=Ot,this.elems=He,this.max_length=Je,this.has_stree=$e&&$e.length}function Ge($e,nt){this.dyn_tree=$e,this.max_code=0,this.stat_desc=nt}function Be($e){return $e<256?ye[$e]:ye[256+($e>>>7)]}function Te($e,nt){$e.pending_buf[$e.pending++]=255&nt,$e.pending_buf[$e.pending++]=nt>>>8&255}function je($e,nt,Ot){$e.bi_valid>de-Ot?($e.bi_buf|=nt<<$e.bi_valid&65535,Te($e,$e.bi_buf),$e.bi_buf=nt>>de-$e.bi_valid,$e.bi_valid+=Ot-de):($e.bi_buf|=nt<<$e.bi_valid&65535,$e.bi_valid+=Ot)}function lt($e,nt,Ot){je($e,Ot[2*nt],Ot[2*nt+1])}function Me($e,nt){for(var Ot=0;Ot|=1&$e,$e>>>=1,Ot<<=1,0<--nt;);return Ot>>>1}function Ke($e,nt,Ot){var He,Je,tt=new Array(fe+1),mt=0;for(He=1;He<=fe;He++)tt[He]=mt=mt+Ot[He-1]<<1;for(Je=0;Je<=nt;Je++){var Xe=$e[2*Je+1];Xe!==0&&($e[2*Je]=Me(tt[Xe]++,Xe))}}function Rt($e){var nt;for(nt=0;nt<W;nt++)$e.dyn_ltree[2*nt]=0;for(nt=0;nt<V;nt++)$e.dyn_dtree[2*nt]=0;for(nt=0;nt<te;nt++)$e.bl_tree[2*nt]=0;$e.dyn_ltree[2*we]=1,$e.opt_len=$e.static_len=0,$e.last_lit=$e.matches=0}function Ie($e){8<$e.bi_valid?Te($e,$e.bi_buf):0<$e.bi_valid&&($e.pending_buf[$e.pending++]=$e.bi_buf),$e.bi_buf=0,$e.bi_valid=0}function Re($e,nt,Ot,He){var Je=2*nt,tt=2*Ot;return $e[Je]<$e[tt]||$e[Je]===$e[tt]&&He[nt]<=He[Ot]}function qe($e,nt,Ot){for(var He=$e.heap[Ot],Je=Ot<<1;Je<=$e.heap_len&&(Je<$e.heap_len&&Re(nt,$e.heap[Je+1],$e.heap[Je],$e.depth)&&Je++,!Re(nt,He,$e.heap[Je],$e.depth));)$e.heap[Ot]=$e.heap[Je],Ot=Je,Je<<=1;$e.heap[Ot]=He}function pt($e,nt,Ot){var He,Je,tt,mt,Xe=0;if($e.last_lit!==0)for(;He=$e.pending_buf[$e.d_buf+2*Xe]<<8|$e.pending_buf[$e.d_buf+2*Xe+1],Je=$e.pending_buf[$e.l_buf+Xe],Xe++,He===0?lt($e,Je,nt):(lt($e,(tt=ae[Je])+H+1,nt),(mt=J[tt])!==0&&je($e,Je-=me[tt],mt),lt($e,tt=Be(--He),Ot),(mt=q[tt])!==0&&je($e,He-=et[tt],mt)),Xe<$e.last_lit;);lt($e,we,nt)}function Lt($e,nt){var Ot,He,Je,tt=nt.dyn_tree,mt=nt.stat_desc.static_tree,Xe=nt.stat_desc.has_stree,Ye=nt.stat_desc.elems,ot=-1;for($e.heap_len=0,$e.heap_max=ue,Ot=0;Ot<Ye;Ot++)tt[2*Ot]!==0?($e.heap[++$e.heap_len]=ot=Ot,$e.depth[Ot]=0):tt[2*Ot+1]=0;for(;$e.heap_len<2;)tt[2*(Je=$e.heap[++$e.heap_len]=ot<2?++ot:0)]=1,$e.depth[Je]=0,$e.opt_len--,Xe&&($e.static_len-=mt[2*Je+1]);for(nt.max_code=ot,Ot=$e.heap_len>>1;1<=Ot;Ot--)qe($e,tt,Ot);for(Je=Ye;Ot=$e.heap[1],$e.heap[1]=$e.heap[$e.heap_len--],qe($e,tt,1),He=$e.heap[1],$e.heap[--$e.heap_max]=Ot,$e.heap[--$e.heap_max]=He,tt[2*Je]=tt[2*Ot]+tt[2*He],$e.depth[Je]=($e.depth[Ot]>=$e.depth[He]?$e.depth[Ot]:$e.depth[He])+1,tt[2*Ot+1]=tt[2*He+1]=Je,$e.heap[1]=Je++,qe($e,tt,1),2<=$e.heap_len;);$e.heap[--$e.heap_max]=$e.heap[1],function(yt,Mt){var cr,$t,Hr,mr,sr,Yr,Mr=Mt.dyn_tree,Dr=Mt.max_code,nn=Mt.stat_desc.static_tree,Sr=Mt.stat_desc.has_stree,tn=Mt.stat_desc.extra_bits,Cn=Mt.stat_desc.extra_base,Jn=Mt.stat_desc.max_length,Rr=0;for(mr=0;mr<=fe;mr++)yt.bl_count[mr]=0;for(Mr[2*yt.heap[yt.heap_max]+1]=0,cr=yt.heap_max+1;cr<ue;cr++)Jn<(mr=Mr[2*Mr[2*($t=yt.heap[cr])+1]+1]+1)&&(mr=Jn,Rr++),Mr[2*$t+1]=mr,Dr<$t||(yt.bl_count[mr]++,sr=0,Cn<=$t&&(sr=tn[$t-Cn]),Yr=Mr[2*$t],yt.opt_len+=Yr*(mr+sr),Sr&&(yt.static_len+=Yr*(nn[2*$t+1]+sr)));if(Rr!==0){do{for(mr=Jn-1;yt.bl_count[mr]===0;)mr--;yt.bl_count[mr]--,yt.bl_count[mr+1]+=2,yt.bl_count[Jn]--,Rr-=2}while(0<Rr);for(mr=Jn;mr!==0;mr--)for($t=yt.bl_count[mr];$t!==0;)Dr<(Hr=yt.heap[--cr])||(Mr[2*Hr+1]!==mr&&(yt.opt_len+=(mr-Mr[2*Hr+1])*Mr[2*Hr],Mr[2*Hr+1]=mr),$t--)}}($e,nt),Ke(tt,ot,$e.bl_count)}function Qe($e,nt,Ot){var He,Je,tt=-1,mt=nt[1],Xe=0,Ye=7,ot=4;for(mt===0&&(Ye=138,ot=3),nt[2*(Ot+1)+1]=65535,He=0;He<=Ot;He++)Je=mt,mt=nt[2*(He+1)+1],++Xe<Ye&&Je===mt||(Xe<ot?$e.bl_tree[2*Je]+=Xe:Je!==0?(Je!==tt&&$e.bl_tree[2*Je]++,$e.bl_tree[2*Z]++):Xe<=10?$e.bl_tree[2*ne]++:$e.bl_tree[2*j]++,tt=Je,ot=(Xe=0)===mt?(Ye=138,3):Je===mt?(Ye=6,3):(Ye=7,4))}function _t($e,nt,Ot){var He,Je,tt=-1,mt=nt[1],Xe=0,Ye=7,ot=4;for(mt===0&&(Ye=138,ot=3),He=0;He<=Ot;He++)if(Je=mt,mt=nt[2*(He+1)+1],!(++Xe<Ye&&Je===mt)){if(Xe<ot)for(;lt($e,Je,$e.bl_tree),--Xe!=0;);else Je!==0?(Je!==tt&&(lt($e,Je,$e.bl_tree),Xe--),lt($e,Z,$e.bl_tree),je($e,Xe-3,2)):Xe<=10?(lt($e,ne,$e.bl_tree),je($e,Xe-3,3)):(lt($e,j,$e.bl_tree),je($e,Xe-11,7));tt=Je,ot=(Xe=0)===mt?(Ye=138,3):Je===mt?(Ye=6,3):(Ye=7,4)}}T(et);var Ft=!1;function Ze($e,nt,Ot,He){var Je,tt,mt,Xe;je($e,(F<<1)+(He?1:0),3),tt=nt,mt=Ot,Xe=!0,Ie(Je=$e),Xe&&(Te(Je,mt),Te(Je,~mt)),S.arraySet(Je.pending_buf,Je.window,tt,mt,Je.pending),Je.pending+=mt}B._tr_init=function($e){Ft||(function(){var nt,Ot,He,Je,tt,mt=new Array(fe+1);for(Je=He=0;Je<N-1;Je++)for(me[Je]=He,nt=0;nt<1<<J[Je];nt++)ae[He++]=Je;for(ae[He-1]=Je,Je=tt=0;Je<16;Je++)for(et[Je]=tt,nt=0;nt<1<<q[Je];nt++)ye[tt++]=Je;for(tt>>=7;Je<V;Je++)for(et[Je]=tt<<7,nt=0;nt<1<<q[Je]-7;nt++)ye[256+tt++]=Je;for(Ot=0;Ot<=fe;Ot++)mt[Ot]=0;for(nt=0;nt<=143;)se[2*nt+1]=8,nt++,mt[8]++;for(;nt<=255;)se[2*nt+1]=9,nt++,mt[9]++;for(;nt<=279;)se[2*nt+1]=7,nt++,mt[7]++;for(;nt<=287;)se[2*nt+1]=8,nt++,mt[8]++;for(Ke(se,W+1,mt),nt=0;nt<V;nt++)oe[2*nt+1]=5,oe[2*nt]=Me(nt,5);Fe=new st(se,J,H+1,W,fe),_e=new st(oe,q,0,V,fe),rt=new st(new Array(0),z,0,te,Ae)}(),Ft=!0),$e.l_desc=new Ge($e.dyn_ltree,Fe),$e.d_desc=new Ge($e.dyn_dtree,_e),$e.bl_desc=new Ge($e.bl_tree,rt),$e.bi_buf=0,$e.bi_valid=0,Rt($e)},B._tr_stored_block=Ze,B._tr_flush_block=function($e,nt,Ot,He){var Je,tt,mt=0;0<$e.level?($e.strm.data_type===2&&($e.strm.data_type=function(Xe){var Ye,ot=4093624447;for(Ye=0;Ye<=31;Ye++,ot>>>=1)if(1&ot&&Xe.dyn_ltree[2*Ye]!==0)return _;if(Xe.dyn_ltree[18]!==0||Xe.dyn_ltree[20]!==0||Xe.dyn_ltree[26]!==0)return D;for(Ye=32;Ye<H;Ye++)if(Xe.dyn_ltree[2*Ye]!==0)return D;return _}($e)),Lt($e,$e.l_desc),Lt($e,$e.d_desc),mt=function(Xe){var Ye;for(Qe(Xe,Xe.dyn_ltree,Xe.l_desc.max_code),Qe(Xe,Xe.dyn_dtree,Xe.d_desc.max_code),Lt(Xe,Xe.bl_desc),Ye=te-1;3<=Ye&&Xe.bl_tree[2*X[Ye]+1]===0;Ye--);return Xe.opt_len+=3*(Ye+1)+5+5+4,Ye}($e),Je=$e.opt_len+3+7>>>3,(tt=$e.static_len+3+7>>>3)<=Je&&(Je=tt)):Je=tt=Ot+5,Ot+4<=Je&&nt!==-1?Ze($e,nt,Ot,He):$e.strategy===4||tt===Je?(je($e,2+(He?1:0),3),pt($e,se,oe)):(je($e,4+(He?1:0),3),function(Xe,Ye,ot,yt){var Mt;for(je(Xe,Ye-257,5),je(Xe,ot-1,5),je(Xe,yt-4,4),Mt=0;Mt<yt;Mt++)je(Xe,Xe.bl_tree[2*X[Mt]+1],3);_t(Xe,Xe.dyn_ltree,Ye-1),_t(Xe,Xe.dyn_dtree,ot-1)}($e,$e.l_desc.max_code+1,$e.d_desc.max_code+1,mt+1),pt($e,$e.dyn_ltree,$e.dyn_dtree)),Rt($e),He&&Ie($e)},B._tr_tally=function($e,nt,Ot){return $e.pending_buf[$e.d_buf+2*$e.last_lit]=nt>>>8&255,$e.pending_buf[$e.d_buf+2*$e.last_lit+1]=255&nt,$e.pending_buf[$e.l_buf+$e.last_lit]=255&Ot,$e.last_lit++,nt===0?$e.dyn_ltree[2*Ot]++:($e.matches++,nt--,$e.dyn_ltree[2*(ae[Ot]+H+1)]++,$e.dyn_dtree[2*Be(nt)]++),$e.last_lit===$e.lit_bufsize-1},B._tr_align=function($e){var nt;je($e,2,3),lt($e,we,se),(nt=$e).bi_valid===16?(Te(nt,nt.bi_buf),nt.bi_buf=0,nt.bi_valid=0):8<=nt.bi_valid&&(nt.pending_buf[nt.pending++]=255&nt.bi_buf,nt.bi_buf>>=8,nt.bi_valid-=8)}},{"../utils/common":41}],53:[function(I,E,B){E.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(I,E,B){(function(S){(function(_,D){if(!_.setImmediate){var T,F,N,H,W=1,V={},te=!1,ue=_.document,fe=Object.getPrototypeOf&&Object.getPrototypeOf(_);fe=fe&&fe.setTimeout?fe:_,T={}.toString.call(_.process)==="[object process]"?function(Z){h.nextTick(function(){Ae(Z)})}:function(){if(_.postMessage&&!_.importScripts){var Z=!0,ne=_.onmessage;return _.onmessage=function(){Z=!1},_.postMessage("","*"),_.onmessage=ne,Z}}()?(H="setImmediate$"+Math.random()+"$",_.addEventListener?_.addEventListener("message",we,!1):_.attachEvent("onmessage",we),function(Z){_.postMessage(H+Z,"*")}):_.MessageChannel?((N=new MessageChannel).port1.onmessage=function(Z){Ae(Z.data)},function(Z){N.port2.postMessage(Z)}):ue&&"onreadystatechange"in ue.createElement("script")?(F=ue.documentElement,function(Z){var ne=ue.createElement("script");ne.onreadystatechange=function(){Ae(Z),ne.onreadystatechange=null,F.removeChild(ne),ne=null},F.appendChild(ne)}):function(Z){setTimeout(Ae,0,Z)},fe.setImmediate=function(Z){typeof Z!="function"&&(Z=new Function(""+Z));for(var ne=new Array(arguments.length-1),j=0;j<ne.length;j++)ne[j]=arguments[j+1];var J={callback:Z,args:ne};return V[W]=J,T(W),W++},fe.clearImmediate=de}function de(Z){delete V[Z]}function Ae(Z){if(te)setTimeout(Ae,0,Z);else{var ne=V[Z];if(ne){te=!0;try{(function(j){var J=j.callback,q=j.args;switch(q.length){case 0:J();break;case 1:J(q[0]);break;case 2:J(q[0],q[1]);break;case 3:J(q[0],q[1],q[2]);break;default:J.apply(D,q)}})(ne)}finally{de(Z),te=!1}}}}function we(Z){Z.source===_&&typeof Z.data=="string"&&Z.data.indexOf(H)===0&&Ae(+Z.data.slice(H.length))}})(typeof self>"u"?S===void 0?this:S:self)}).call(this,d!==void 0?d:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})}).call(this)}).call(this,a("_process"),Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{},a("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],a("timers").setImmediate)},{_process:467,buffer:220,timers:523}],442:[function(a,c,u){(function(h){(function(){var d="[object Symbol]",p=/[\\^$.*+?()[\]{}|]/g,g=RegExp(p.source),A=typeof h=="object"&&h&&h.Object===Object&&h,m=typeof self=="object"&&self&&self.Object===Object&&self,y=A||m||Function("return this")(),b=Object.prototype.toString,I=y.Symbol,E=I?I.prototype:void 0,B=E?E.toString:void 0;function S(N){if(typeof N=="string")return N;if(D(N))return B?B.call(N):"";var H=N+"";return H=="0"&&1/N==-1/0?"-0":H}function _(N){return!!N&&typeof N=="object"}function D(N){return typeof N=="symbol"||_(N)&&b.call(N)==d}function T(N){return N==null?"":S(N)}function F(N){return(N=T(N))&&g.test(N)?N.replace(p,"\\$&"):N}c.exports=F}).call(this)}).call(this,Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{}],443:[function(a,c,u){(function(h){(function(){var d=200,p="Expected a function",g="__lodash_hash_undefined__",A=1,m=2,y=9007199254740991,b="[object Arguments]",I="[object Array]",E="[object Boolean]",B="[object Date]",S="[object Error]",_="[object Function]",D="[object GeneratorFunction]",T="[object Map]",F="[object Number]",N="[object Object]",H="[object Promise]",W="[object RegExp]",V="[object Set]",te="[object String]",ue="[object Symbol]",fe="[object WeakMap]",de="[object ArrayBuffer]",Ae="[object DataView]",we="[object Float64Array]",Z="[object Int8Array]",ne="[object Int16Array]",j="[object Int32Array]",J="[object Uint8Array]",q="[object Uint8ClampedArray]",z="[object Uint16Array]",X="[object Uint32Array]",se=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,oe=/^\w*$/,ye=/^\./,ae=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,me=/[\\^$.*+?()[\]{}|]/g,Fe=/\\(\\)?/g,_e=/^\[object .+?Constructor\]$/,rt=/^(?:0|[1-9]\d*)$/,et={};et["[object Float32Array]"]=et[we]=et[Z]=et[ne]=et[j]=et[J]=et[q]=et[z]=et[X]=!0,et[b]=et[I]=et[de]=et[E]=et[Ae]=et[B]=et[S]=et[_]=et[T]=et[F]=et[N]=et[W]=et[V]=et[te]=et[fe]=!1;var st=typeof h=="object"&&h&&h.Object===Object&&h,Ge=typeof self=="object"&&self&&self.Object===Object&&self,Be=st||Ge||Function("return this")(),Te=typeof u=="object"&&u&&!u.nodeType&&u,je=Te&&typeof c=="object"&&c&&!c.nodeType&&c,lt=je&&je.exports===Te&&st.process,Me=function(){try{return lt&&lt.binding("util")}catch{}}(),Ke=Me&&Me.isTypedArray;function Rt(Ue,At,qt,Cr){for(var Sn=-1,Qr=Ue?Ue.length:0;++Sn<Qr;){var Zn=Ue[Sn];At(Cr,Zn,qt(Zn),Ue)}return Cr}function Ie(Ue,At){for(var qt=-1,Cr=Ue?Ue.length:0;++qt<Cr;)if(At(Ue[qt],qt,Ue))return!0;return!1}function Re(Ue){return function(At){return At==null?void 0:At[Ue]}}function qe(Ue,At){for(var qt=-1,Cr=Array(Ue);++qt<Ue;)Cr[qt]=At(qt);return Cr}function pt(Ue){return function(At){return Ue(At)}}function Lt(Ue,At){return Ue==null?void 0:Ue[At]}function Qe(Ue){var At=!1;if(Ue!=null&&typeof Ue.toString!="function")try{At=!!(Ue+"")}catch{}return At}function _t(Ue){var At=-1,qt=Array(Ue.size);return Ue.forEach(function(Cr,Sn){qt[++At]=[Sn,Cr]}),qt}function Ft(Ue,At){return function(qt){return Ue(At(qt))}}function Ze(Ue){var At=-1,qt=Array(Ue.size);return Ue.forEach(function(Cr){qt[++At]=Cr}),qt}var $e,nt=Array.prototype,Ot=Function.prototype,He=Object.prototype,Je=Be["__core-js_shared__"],tt=($e=/[^.]+$/.exec(Je&&Je.keys&&Je.keys.IE_PROTO||""))?"Symbol(src)_1."+$e:"",mt=Ot.toString,Xe=He.hasOwnProperty,Ye=He.toString,ot=RegExp("^"+mt.call(Xe).replace(me,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=Be.Symbol,Mt=Be.Uint8Array,cr=He.propertyIsEnumerable,$t=nt.splice,Hr=Ft(Object.keys,Object),mr=gu(Be,"DataView"),sr=gu(Be,"Map"),Yr=gu(Be,"Promise"),Mr=gu(Be,"Set"),Dr=gu(Be,"WeakMap"),nn=gu(Object,"create"),Sr=bt(mr),tn=bt(sr),Cn=bt(Yr),Jn=bt(Mr),Rr=bt(Dr),An=yt?yt.prototype:void 0,dn=An?An.valueOf:void 0,br=An?An.toString:void 0;function gn(Ue){var At=-1,qt=Ue?Ue.length:0;for(this.clear();++At<qt;){var Cr=Ue[At];this.set(Cr[0],Cr[1])}}function wn(){this.__data__=nn?nn(null):{}}function kn(Ue){return this.has(Ue)&&delete this.__data__[Ue]}function Dn(Ue){var At=this.__data__;if(nn){var qt=At[Ue];return qt===g?void 0:qt}return Xe.call(At,Ue)?At[Ue]:void 0}function oi(Ue){var At=this.__data__;return nn?At[Ue]!==void 0:Xe.call(At,Ue)}function Kr(Ue,At){return this.__data__[Ue]=nn&&At===void 0?g:At,this}function On(Ue){var At=-1,qt=Ue?Ue.length:0;for(this.clear();++At<qt;){var Cr=Ue[At];this.set(Cr[0],Cr[1])}}function Ci(){this.__data__=[]}function li(Ue){var At=this.__data__,qt=UA(At,Ue);return!(qt<0||(qt==At.length-1?At.pop():$t.call(At,qt,1),0))}function ia(Ue){var At=this.__data__,qt=UA(At,Ue);return qt<0?void 0:At[qt][1]}function ht(Ue){return UA(this.__data__,Ue)>-1}function Pt(Ue,At){var qt=this.__data__,Cr=UA(qt,Ue);return Cr<0?qt.push([Ue,At]):qt[Cr][1]=At,this}function Zt(Ue){var At=-1,qt=Ue?Ue.length:0;for(this.clear();++At<qt;){var Cr=Ue[At];this.set(Cr[0],Cr[1])}}function vn(){this.__data__={hash:new gn,map:new(sr||On),string:new gn}}function jn(Ue){return hh(this,Ue).delete(Ue)}function ba(Ue){return hh(this,Ue).get(Ue)}function aa(Ue){return hh(this,Ue).has(Ue)}function wo(Ue,At){return hh(this,Ue).set(Ue,At),this}function is(Ue){var At=-1,qt=Ue?Ue.length:0;for(this.__data__=new Zt;++At<qt;)this.add(Ue[At])}function as(Ue){return this.__data__.set(Ue,g),this}function vs(Ue){return this.__data__.has(Ue)}function lo(Ue){this.__data__=new On(Ue)}function ra(){this.__data__=new On}function pi(Ue){return this.__data__.delete(Ue)}function Ms(Ue){return this.__data__.get(Ue)}function Fs(Ue){return this.__data__.has(Ue)}function zu(Ue,At){var qt=this.__data__;if(qt instanceof On){var Cr=qt.__data__;if(!sr||Cr.length<d-1)return Cr.push([Ue,At]),this;qt=this.__data__=new Zt(Cr)}return qt.set(Ue,At),this}function Ul(Ue,At){var qt=Oe(Ue)||Ce(Ue)?qe(Ue.length,String):[],Cr=qt.length,Sn=!!Cr;for(var Qr in Ue)!Xe.call(Ue,Qr)||Sn&&(Qr=="length"||mg(Qr,Cr))||qt.push(Qr);return qt}function UA(Ue,At){for(var qt=Ue.length;qt--;)if(ce(Ue[qt][0],At))return qt;return-1}function os(Ue,At,qt,Cr){return Yh(Ue,function(Sn,Qr,Zn){At(Cr,Sn,qt(Sn),Zn)}),Cr}gn.prototype.clear=wn,gn.prototype.delete=kn,gn.prototype.get=Dn,gn.prototype.has=oi,gn.prototype.set=Kr,On.prototype.clear=Ci,On.prototype.delete=li,On.prototype.get=ia,On.prototype.has=ht,On.prototype.set=Pt,Zt.prototype.clear=vn,Zt.prototype.delete=jn,Zt.prototype.get=ba,Zt.prototype.has=aa,Zt.prototype.set=wo,is.prototype.add=is.prototype.push=as,is.prototype.has=vs,lo.prototype.clear=ra,lo.prototype.delete=pi,lo.prototype.get=Ms,lo.prototype.has=Fs,lo.prototype.set=zu;var Yh=yo(ch),ys=il();function ch(Ue,At){return Ue&&ys(Ue,At,Jt)}function _f(Ue,At){for(var qt=0,Cr=(At=fh(At,Ue)?[At]:Ku(At)).length;Ue!=null&&qt<Cr;)Ue=Ue[jo(At[qt++])];return qt&&qt==Cr?Ue:void 0}function Su(Ue){return Ye.call(Ue)}function Zp(Ue,At){return Ue!=null&&At in Object(Ue)}function jA(Ue,At,qt,Cr,Sn){return Ue===At||(Ue==null||At==null||!lr(Ue)&&!Or(At)?Ue!=Ue&&At!=At:Xp(Ue,At,jA,qt,Cr,Sn))}function Xp(Ue,At,qt,Cr,Sn,Qr){var Zn=Oe(Ue),Na=Oe(At),ka=I,To=I;Zn||(ka=(ka=pu(Ue))==b?N:ka),Na||(To=(To=pu(At))==b?N:To);var Lo=ka==N&&!Qe(Ue),Is=To==N&&!Qe(At),Ls=ka==To;if(Ls&&!Lo)return Qr||(Qr=new lo),Zn||hn(Ue)?HA(Ue,At,qt,Cr,Sn,Qr):Ts(Ue,At,ka,qt,Cr,Sn,Qr);if(!(Sn&m)){var $s=Lo&&Xe.call(Ue,"__wrapped__"),Xi=Is&&Xe.call(At,"__wrapped__");if($s||Xi){var ha=$s?Ue.value():Ue,fa=Xi?At.value():At;return Qr||(Qr=new lo),qt(ha,fa,Cr,Sn,Qr)}}return!!Ls&&(Qr||(Qr=new lo),Qo(Ue,At,qt,Cr,Sn,Qr))}function $p(Ue,At,qt,Cr){var Sn=qt.length,Qr=Sn;if(Ue==null)return!Qr;for(Ue=Object(Ue);Sn--;){var Zn=qt[Sn];if(Zn[2]?Zn[1]!==Ue[Zn[0]]:!(Zn[0]in Ue))return!1}for(;++Sn<Qr;){var Na=(Zn=qt[Sn])[0],ka=Ue[Na],To=Zn[1];if(Zn[2]){if(ka===void 0&&!(Na in Ue))return!1}else{var Lo=new lo,Is;if(!(Is===void 0?jA(To,ka,Cr,A|m,Lo):Is))return!1}}return!0}function gg(Ue){return!(!lr(Ue)||Rf(Ue))&&(Ht(Ue)||Qe(Ue)?ot:_e).test(bt(Ue))}function e0(Ue){return Or(Ue)&&fr(Ue.length)&&!!et[Ye.call(Ue)]}function du(Ue){return typeof Ue=="function"?Ue:Ue==null?gr:typeof Ue=="object"?Oe(Ue)?lh(Ue[0],Ue[1]):ms(Ue):Ar(Ue)}function t0(Ue){if(!Ah(Ue))return Hr(Ue);var At=[];for(var qt in Object(Ue))Xe.call(Ue,qt)&&qt!="constructor"&&At.push(qt);return At}function ms(Ue){var At=vg(Ue);return At.length==1&&At[0][2]?al(At[0][0],At[0][1]):function(qt){return qt===Ue||$p(qt,Ue,At)}}function lh(Ue,At){return fh(Ue)&&Jh(At)?al(jo(Ue),At):function(qt){var Cr=Xn(qt,Ue);return Cr===void 0&&Cr===At?ti(qt,Ue):jA(At,Cr,void 0,A|m)}}function r0(Ue){return function(At){return _f(At,Ue)}}function vc(Ue){if(typeof Ue=="string")return Ue;if(Xr(Ue))return br?br.call(Ue):"";var At=Ue+"";return At=="0"&&1/Ue==-1/0?"-0":At}function Ku(Ue){return Oe(Ue)?Ue:Mf(Ue)}function pg(Ue,At){return function(qt,Cr){var Sn=Oe(qt)?Rt:os,Qr={};return Sn(qt,Ue,du(Cr),Qr)}}function yo(Ue,At){return function(qt,Cr){if(qt==null)return qt;if(!gt(qt))return Ue(qt,Cr);for(var Sn=qt.length,Qr=-1,Zn=Object(qt);++Qr<Sn&&Cr(Zn[Qr],Qr,Zn)!==!1;);return qt}}function il(Ue){return function(At,qt,Cr){for(var Sn=-1,Qr=Object(At),Zn=Cr(At),Na=Zn.length;Na--;){var ka=Zn[++Sn];if(qt(Qr[ka],ka,Qr)===!1)break}return At}}function HA(Ue,At,qt,Cr,Sn,Qr){var Zn=Sn&m,Na=Ue.length,ka=At.length;if(Na!=ka&&!(Zn&&ka>Na))return!1;var To=Qr.get(Ue);if(To&&Qr.get(At))return To==At;var Lo=-1,Is=!0,Ls=Sn&A?new is:void 0;for(Qr.set(Ue,At),Qr.set(At,Ue);++Lo<Na;){var $s=Ue[Lo],Xi=At[Lo];if(Cr)var ha=Zn?Cr(Xi,$s,Lo,At,Ue,Qr):Cr($s,Xi,Lo,Ue,At,Qr);if(ha!==void 0){if(ha)continue;Is=!1;break}if(Ls){if(!Ie(At,function(fa,Oa){if(!Ls.has(Oa)&&($s===fa||qt($s,fa,Cr,Sn,Qr)))return Ls.add(Oa)})){Is=!1;break}}else if($s!==Xi&&!qt($s,Xi,Cr,Sn,Qr)){Is=!1;break}}return Qr.delete(Ue),Qr.delete(At),Is}function Ts(Ue,At,qt,Cr,Sn,Qr,Zn){switch(qt){case Ae:if(Ue.byteLength!=At.byteLength||Ue.byteOffset!=At.byteOffset)return!1;Ue=Ue.buffer,At=At.buffer;case de:return!(Ue.byteLength!=At.byteLength||!Cr(new Mt(Ue),new Mt(At)));case E:case B:case F:return ce(+Ue,+At);case S:return Ue.name==At.name&&Ue.message==At.message;case W:case te:return Ue==At+"";case T:var Na=_t;case V:var ka=Qr&m;if(Na||(Na=Ze),Ue.size!=At.size&&!ka)return!1;var To=Zn.get(Ue);if(To)return To==At;Qr|=A,Zn.set(Ue,At);var Lo=HA(Na(Ue),Na(At),Cr,Sn,Qr,Zn);return Zn.delete(Ue),Lo;case ue:if(dn)return dn.call(Ue)==dn.call(At)}return!1}function Qo(Ue,At,qt,Cr,Sn,Qr){var Zn=Sn&m,Na=Jt(Ue),ka=Na.length;if(ka!=Jt(At).length&&!Zn)return!1;for(var To=ka;To--;){var Lo=Na[To];if(!(Zn?Lo in At:Xe.call(At,Lo)))return!1}var Is=Qr.get(Ue);if(Is&&Qr.get(At))return Is==At;var Ls=!0;Qr.set(Ue,At),Qr.set(At,Ue);for(var $s=Zn;++To<ka;){var Xi=Ue[Lo=Na[To]],ha=At[Lo];if(Cr)var fa=Zn?Cr(ha,Xi,Lo,At,Ue,Qr):Cr(Xi,ha,Lo,Ue,At,Qr);if(!(fa===void 0?Xi===ha||qt(Xi,ha,Cr,Sn,Qr):fa)){Ls=!1;break}$s||($s=Lo=="constructor")}if(Ls&&!$s){var Oa=Ue.constructor,Qi=At.constructor;Oa==Qi||!("constructor"in Ue)||!("constructor"in At)||typeof Oa=="function"&&Oa instanceof Oa&&typeof Qi=="function"&&Qi instanceof Qi||(Ls=!1)}return Qr.delete(Ue),Qr.delete(At),Ls}function hh(Ue,At){var qt=Ue.__data__;return Df(At)?qt[typeof At=="string"?"string":"hash"]:qt.map}function vg(Ue){for(var At=Jt(Ue),qt=At.length;qt--;){var Cr=At[qt],Sn=Ue[Cr];At[qt]=[Cr,Sn,Jh(Sn)]}return At}function gu(Ue,At){var qt=Lt(Ue,At);return gg(qt)?qt:void 0}var pu=Su;function yg(Ue,At,qt){for(var Cr,Sn=-1,Qr=(At=fh(At,Ue)?[At]:Ku(At)).length;++Sn<Qr;){var Zn=jo(At[Sn]);if(!(Cr=Ue!=null&&qt(Ue,Zn)))break;Ue=Ue[Zn]}return Cr||!!(Qr=Ue?Ue.length:0)&&fr(Qr)&&mg(Zn,Qr)&&(Oe(Ue)||Ce(Ue))}function mg(Ue,At){return!!(At=At??y)&&(typeof Ue=="number"||rt.test(Ue))&&Ue>-1&&Ue%1==0&&Ue<At}function fh(Ue,At){if(Oe(Ue))return!1;var qt=typeof Ue;return!(qt!="number"&&qt!="symbol"&&qt!="boolean"&&Ue!=null&&!Xr(Ue))||oe.test(Ue)||!se.test(Ue)||At!=null&&Ue in Object(At)}function Df(Ue){var At=typeof Ue;return At=="string"||At=="number"||At=="symbol"||At=="boolean"?Ue!=="__proto__":Ue===null}function Rf(Ue){return!!tt&&tt in Ue}function Ah(Ue){var At=Ue&&Ue.constructor;return Ue===(typeof At=="function"&&At.prototype||He)}function Jh(Ue){return Ue==Ue&&!lr(Ue)}function al(Ue,At){return function(qt){return qt!=null&&qt[Ue]===At&&(At!==void 0||Ue in Object(qt))}}(mr&&pu(new mr(new ArrayBuffer(1)))!=Ae||sr&&pu(new sr)!=T||Yr&&pu(Yr.resolve())!=H||Mr&&pu(new Mr)!=V||Dr&&pu(new Dr)!=fe)&&(pu=function(Ue){var At=Ye.call(Ue),qt=At==N?Ue.constructor:void 0,Cr=qt?bt(qt):void 0;if(Cr)switch(Cr){case Sr:return Ae;case tn:return T;case Cn:return H;case Jn:return V;case Rr:return fe}return At});var Mf=_r(function(Ue){Ue=Pn(Ue);var At=[];return ye.test(Ue)&&At.push(""),Ue.replace(ae,function(qt,Cr,Sn,Qr){At.push(Sn?Qr.replace(Fe,"$1"):Cr||qt)}),At});function jo(Ue){if(typeof Ue=="string"||Xr(Ue))return Ue;var At=Ue+"";return At=="0"&&1/Ue==-1/0?"-0":At}function bt(Ue){if(Ue!=null){try{return mt.call(Ue)}catch{}try{return Ue+""}catch{}}return""}var Wt=pg(function(Ue,At,qt){Xe.call(Ue,qt)?Ue[qt].push(At):Ue[qt]=[At]});function _r(Ue,At){if(typeof Ue!="function"||At&&typeof At!="function")throw new TypeError(p);var qt=function(){var Cr=arguments,Sn=At?At.apply(this,Cr):Cr[0],Qr=qt.cache;if(Qr.has(Sn))return Qr.get(Sn);var Zn=Ue.apply(this,Cr);return qt.cache=Qr.set(Sn,Zn),Zn};return qt.cache=new(_r.Cache||Zt),qt}function ce(Ue,At){return Ue===At||Ue!=Ue&&At!=At}function Ce(Ue){return Nt(Ue)&&Xe.call(Ue,"callee")&&(!cr.call(Ue,"callee")||Ye.call(Ue)==b)}_r.Cache=Zt;var Oe=Array.isArray;function gt(Ue){return Ue!=null&&fr(Ue.length)&&!Ht(Ue)}function Nt(Ue){return Or(Ue)&&gt(Ue)}function Ht(Ue){var At=lr(Ue)?Ye.call(Ue):"";return At==_||At==D}function fr(Ue){return typeof Ue=="number"&&Ue>-1&&Ue%1==0&&Ue<=y}function lr(Ue){var At=typeof Ue;return!!Ue&&(At=="object"||At=="function")}function Or(Ue){return!!Ue&&typeof Ue=="object"}function Xr(Ue){return typeof Ue=="symbol"||Or(Ue)&&Ye.call(Ue)==ue}var hn=Ke?pt(Ke):e0;function Pn(Ue){return Ue==null?"":vc(Ue)}function Xn(Ue,At,qt){var Cr=Ue==null?void 0:_f(Ue,At);return Cr===void 0?qt:Cr}function ti(Ue,At){return Ue!=null&&yg(Ue,At,Zp)}function Jt(Ue){return gt(Ue)?Ul(Ue):t0(Ue)}function gr(Ue){return Ue}function Ar(Ue){return fh(Ue)?Re(jo(Ue)):r0(Ue)}c.exports=Wt}).call(this)}).call(this,Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{}],444:[function(a,c,u){var h="[object Boolean]",d=Object.prototype.toString;function p(A){return A===!0||A===!1||g(A)&&d.call(A)==h}function g(A){return!!A&&typeof A=="object"}c.exports=p},{}],445:[function(a,c,u){(function(h){(function(){var d=200,p="__lodash_hash_undefined__",g=1,A=2,m=9007199254740991,y="[object Arguments]",b="[object Array]",I="[object AsyncFunction]",E="[object Boolean]",B="[object Date]",S="[object Error]",_="[object Function]",D="[object GeneratorFunction]",T="[object Map]",F="[object Number]",N="[object Null]",H="[object Object]",W="[object Promise]",V="[object Proxy]",te="[object RegExp]",ue="[object Set]",fe="[object String]",de="[object Symbol]",Ae="[object Undefined]",we="[object WeakMap]",Z="[object ArrayBuffer]",ne="[object DataView]",j="[object Float64Array]",J="[object Int8Array]",q="[object Int16Array]",z="[object Int32Array]",X="[object Uint8Array]",se="[object Uint8ClampedArray]",oe="[object Uint16Array]",ye="[object Uint32Array]",ae=/[\\^$.*+?()[\]{}|]/g,me=/^\[object .+?Constructor\]$/,Fe=/^(?:0|[1-9]\d*)$/,_e={};_e["[object Float32Array]"]=_e[j]=_e[J]=_e[q]=_e[z]=_e[X]=_e[se]=_e[oe]=_e[ye]=!0,_e[y]=_e[b]=_e[Z]=_e[E]=_e[ne]=_e[B]=_e[S]=_e[_]=_e[T]=_e[F]=_e[H]=_e[te]=_e[ue]=_e[fe]=_e[we]=!1;var rt=typeof h=="object"&&h&&h.Object===Object&&h,et=typeof self=="object"&&self&&self.Object===Object&&self,st=rt||et||Function("return this")(),Ge=typeof u=="object"&&u&&!u.nodeType&&u,Be=Ge&&typeof c=="object"&&c&&!c.nodeType&&c,Te=Be&&Be.exports===Ge,je=Te&&rt.process,lt=function(){try{return je&&je.binding&&je.binding("util")}catch{}}(),Me=lt&&lt.isTypedArray;function Ke(bt,Wt){for(var _r=-1,ce=bt==null?0:bt.length,Ce=0,Oe=[];++_r<ce;){var gt=bt[_r];Wt(gt,_r,bt)&&(Oe[Ce++]=gt)}return Oe}function Rt(bt,Wt){for(var _r=-1,ce=Wt.length,Ce=bt.length;++_r<ce;)bt[Ce+_r]=Wt[_r];return bt}function Ie(bt,Wt){for(var _r=-1,ce=bt==null?0:bt.length;++_r<ce;)if(Wt(bt[_r],_r,bt))return!0;return!1}function Re(bt,Wt){for(var _r=-1,ce=Array(bt);++_r<bt;)ce[_r]=Wt(_r);return ce}function qe(bt){return function(Wt){return bt(Wt)}}function pt(bt,Wt){return bt.has(Wt)}function Lt(bt,Wt){return bt==null?void 0:bt[Wt]}function Qe(bt){var Wt=-1,_r=Array(bt.size);return bt.forEach(function(ce,Ce){_r[++Wt]=[Ce,ce]}),_r}function _t(bt,Wt){return function(_r){return bt(Wt(_r))}}function Ft(bt){var Wt=-1,_r=Array(bt.size);return bt.forEach(function(ce){_r[++Wt]=ce}),_r}var Ze,$e=Array.prototype,nt=Function.prototype,Ot=Object.prototype,He=st["__core-js_shared__"],Je=nt.toString,tt=Ot.hasOwnProperty,mt=(Ze=/[^.]+$/.exec(He&&He.keys&&He.keys.IE_PROTO||""))?"Symbol(src)_1."+Ze:"",Xe=Ot.toString,Ye=RegExp("^"+Je.call(tt).replace(ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ot=Te?st.Buffer:void 0,yt=st.Symbol,Mt=st.Uint8Array,cr=Ot.propertyIsEnumerable,$t=$e.splice,Hr=yt?yt.toStringTag:void 0,mr=Object.getOwnPropertySymbols,sr=ot?ot.isBuffer:void 0,Yr=_t(Object.keys,Object),Mr=lh(st,"DataView"),Dr=lh(st,"Map"),nn=lh(st,"Promise"),Sr=lh(st,"Set"),tn=lh(st,"WeakMap"),Cn=lh(Object,"create"),Jn=Qo(Mr),Rr=Qo(Dr),An=Qo(nn),dn=Qo(Sr),br=Qo(tn),gn=yt?yt.prototype:void 0,wn=gn?gn.valueOf:void 0;function kn(bt){var Wt=-1,_r=bt==null?0:bt.length;for(this.clear();++Wt<_r;){var ce=bt[Wt];this.set(ce[0],ce[1])}}function Dn(){this.__data__=Cn?Cn(null):{},this.size=0}function oi(bt){var Wt=this.has(bt)&&delete this.__data__[bt];return this.size-=Wt?1:0,Wt}function Kr(bt){var Wt=this.__data__;if(Cn){var _r=Wt[bt];return _r===p?void 0:_r}return tt.call(Wt,bt)?Wt[bt]:void 0}function On(bt){var Wt=this.__data__;return Cn?Wt[bt]!==void 0:tt.call(Wt,bt)}function Ci(bt,Wt){var _r=this.__data__;return this.size+=this.has(bt)?0:1,_r[bt]=Cn&&Wt===void 0?p:Wt,this}function li(bt){var Wt=-1,_r=bt==null?0:bt.length;for(this.clear();++Wt<_r;){var ce=bt[Wt];this.set(ce[0],ce[1])}}function ia(){this.__data__=[],this.size=0}function ht(bt){var Wt=this.__data__,_r=Yh(Wt,bt);return!(_r<0||(_r==Wt.length-1?Wt.pop():$t.call(Wt,_r,1),--this.size,0))}function Pt(bt){var Wt=this.__data__,_r=Yh(Wt,bt);return _r<0?void 0:Wt[_r][1]}function Zt(bt){return Yh(this.__data__,bt)>-1}function vn(bt,Wt){var _r=this.__data__,ce=Yh(_r,bt);return ce<0?(++this.size,_r.push([bt,Wt])):_r[ce][1]=Wt,this}function jn(bt){var Wt=-1,_r=bt==null?0:bt.length;for(this.clear();++Wt<_r;){var ce=bt[Wt];this.set(ce[0],ce[1])}}function ba(){this.size=0,this.__data__={hash:new kn,map:new(Dr||li),string:new kn}}function aa(bt){var Wt=ms(this,bt).delete(bt);return this.size-=Wt?1:0,Wt}function wo(bt){return ms(this,bt).get(bt)}function is(bt){return ms(this,bt).has(bt)}function as(bt,Wt){var _r=ms(this,bt),ce=_r.size;return _r.set(bt,Wt),this.size+=_r.size==ce?0:1,this}function vs(bt){var Wt=-1,_r=bt==null?0:bt.length;for(this.__data__=new jn;++Wt<_r;)this.add(bt[Wt])}function lo(bt){return this.__data__.set(bt,p),this}function ra(bt){return this.__data__.has(bt)}function pi(bt){var Wt=this.__data__=new li(bt);this.size=Wt.size}function Ms(){this.__data__=new li,this.size=0}function Fs(bt){var Wt=this.__data__,_r=Wt.delete(bt);return this.size=Wt.size,_r}function zu(bt){return this.__data__.get(bt)}function Ul(bt){return this.__data__.has(bt)}function UA(bt,Wt){var _r=this.__data__;if(_r instanceof li){var ce=_r.__data__;if(!Dr||ce.length<d-1)return ce.push([bt,Wt]),this.size=++_r.size,this;_r=this.__data__=new jn(ce)}return _r.set(bt,Wt),this.size=_r.size,this}function os(bt,Wt){var _r=gu(bt),ce=!_r&&vg(bt),Ce=!_r&&!ce&&yg(bt),Oe=!_r&&!ce&&!Ce&&Jh(bt),gt=_r||ce||Ce||Oe,Nt=gt?Re(bt.length,String):[],Ht=Nt.length;for(var fr in bt)!tt.call(bt,fr)||gt&&(fr=="length"||Ce&&(fr=="offset"||fr=="parent")||Oe&&(fr=="buffer"||fr=="byteLength"||fr=="byteOffset")||pg(fr,Ht))||Nt.push(fr);return Nt}function Yh(bt,Wt){for(var _r=bt.length;_r--;)if(hh(bt[_r][0],Wt))return _r;return-1}function ys(bt,Wt,_r){var ce=Wt(bt);return gu(bt)?ce:Rt(ce,_r(bt))}function ch(bt){return bt==null?bt===void 0?Ae:N:Hr&&Hr in Object(bt)?r0(bt):Ts(bt)}function _f(bt){return Ah(bt)&&ch(bt)==y}function Su(bt,Wt,_r,ce,Ce){return bt===Wt||(bt==null||Wt==null||!Ah(bt)&&!Ah(Wt)?bt!=bt&&Wt!=Wt:Zp(bt,Wt,_r,ce,Su,Ce))}function Zp(bt,Wt,_r,ce,Ce,Oe){var gt=gu(bt),Nt=gu(Wt),Ht=gt?b:Ku(bt),fr=Nt?b:Ku(Wt),lr=(Ht=Ht==y?H:Ht)==H,Or=(fr=fr==y?H:fr)==H,Xr=Ht==fr;if(Xr&&yg(bt)){if(!yg(Wt))return!1;gt=!0,lr=!1}if(Xr&&!lr)return Oe||(Oe=new pi),gt||Jh(bt)?gg(bt,Wt,_r,ce,Ce,Oe):e0(bt,Wt,Ht,_r,ce,Ce,Oe);if(!(_r&g)){var hn=lr&&tt.call(bt,"__wrapped__"),Pn=Or&&tt.call(Wt,"__wrapped__");if(hn||Pn){var Xn=hn?bt.value():bt,ti=Pn?Wt.value():Wt;return Oe||(Oe=new pi),Ce(Xn,ti,_r,ce,Oe)}}return!!Xr&&(Oe||(Oe=new pi),du(bt,Wt,_r,ce,Ce,Oe))}function jA(bt){return!(!Rf(bt)||il(bt))&&(fh(bt)?Ye:me).test(Qo(bt))}function Xp(bt){return Ah(bt)&&Df(bt.length)&&!!_e[ch(bt)]}function $p(bt){if(!HA(bt))return Yr(bt);var Wt=[];for(var _r in Object(bt))tt.call(bt,_r)&&_r!="constructor"&&Wt.push(_r);return Wt}function gg(bt,Wt,_r,ce,Ce,Oe){var gt=_r&g,Nt=bt.length,Ht=Wt.length;if(Nt!=Ht&&!(gt&&Ht>Nt))return!1;var fr=Oe.get(bt);if(fr&&Oe.get(Wt))return fr==Wt;var lr=-1,Or=!0,Xr=_r&A?new vs:void 0;for(Oe.set(bt,Wt),Oe.set(Wt,bt);++lr<Nt;){var hn=bt[lr],Pn=Wt[lr];if(ce)var Xn=gt?ce(Pn,hn,lr,Wt,bt,Oe):ce(hn,Pn,lr,bt,Wt,Oe);if(Xn!==void 0){if(Xn)continue;Or=!1;break}if(Xr){if(!Ie(Wt,function(ti,Jt){if(!pt(Xr,Jt)&&(hn===ti||Ce(hn,ti,_r,ce,Oe)))return Xr.push(Jt)})){Or=!1;break}}else if(hn!==Pn&&!Ce(hn,Pn,_r,ce,Oe)){Or=!1;break}}return Oe.delete(bt),Oe.delete(Wt),Or}function e0(bt,Wt,_r,ce,Ce,Oe,gt){switch(_r){case ne:if(bt.byteLength!=Wt.byteLength||bt.byteOffset!=Wt.byteOffset)return!1;bt=bt.buffer,Wt=Wt.buffer;case Z:return!(bt.byteLength!=Wt.byteLength||!Oe(new Mt(bt),new Mt(Wt)));case E:case B:case F:return hh(+bt,+Wt);case S:return bt.name==Wt.name&&bt.message==Wt.message;case te:case fe:return bt==Wt+"";case T:var Nt=Qe;case ue:var Ht=ce&g;if(Nt||(Nt=Ft),bt.size!=Wt.size&&!Ht)return!1;var fr=gt.get(bt);if(fr)return fr==Wt;ce|=A,gt.set(bt,Wt);var lr=gg(Nt(bt),Nt(Wt),ce,Ce,Oe,gt);return gt.delete(bt),lr;case de:if(wn)return wn.call(bt)==wn.call(Wt)}return!1}function du(bt,Wt,_r,ce,Ce,Oe){var gt=_r&g,Nt=t0(bt),Ht=Nt.length;if(Ht!=t0(Wt).length&&!gt)return!1;for(var fr=Ht;fr--;){var lr=Nt[fr];if(!(gt?lr in Wt:tt.call(Wt,lr)))return!1}var Or=Oe.get(bt);if(Or&&Oe.get(Wt))return Or==Wt;var Xr=!0;Oe.set(bt,Wt),Oe.set(Wt,bt);for(var hn=gt;++fr<Ht;){var Pn=bt[lr=Nt[fr]],Xn=Wt[lr];if(ce)var ti=gt?ce(Xn,Pn,lr,Wt,bt,Oe):ce(Pn,Xn,lr,bt,Wt,Oe);if(!(ti===void 0?Pn===Xn||Ce(Pn,Xn,_r,ce,Oe):ti)){Xr=!1;break}hn||(hn=lr=="constructor")}if(Xr&&!hn){var Jt=bt.constructor,gr=Wt.constructor;Jt==gr||!("constructor"in bt)||!("constructor"in Wt)||typeof Jt=="function"&&Jt instanceof Jt&&typeof gr=="function"&&gr instanceof gr||(Xr=!1)}return Oe.delete(bt),Oe.delete(Wt),Xr}function t0(bt){return ys(bt,al,vc)}function ms(bt,Wt){var _r=bt.__data__;return yo(Wt)?_r[typeof Wt=="string"?"string":"hash"]:_r.map}function lh(bt,Wt){var _r=Lt(bt,Wt);return jA(_r)?_r:void 0}function r0(bt){var Wt=tt.call(bt,Hr),_r=bt[Hr];try{bt[Hr]=void 0;var ce=!0}catch{}var Ce=Xe.call(bt);return ce&&(Wt?bt[Hr]=_r:delete bt[Hr]),Ce}kn.prototype.clear=Dn,kn.prototype.delete=oi,kn.prototype.get=Kr,kn.prototype.has=On,kn.prototype.set=Ci,li.prototype.clear=ia,li.prototype.delete=ht,li.prototype.get=Pt,li.prototype.has=Zt,li.prototype.set=vn,jn.prototype.clear=ba,jn.prototype.delete=aa,jn.prototype.get=wo,jn.prototype.has=is,jn.prototype.set=as,vs.prototype.add=vs.prototype.push=lo,vs.prototype.has=ra,pi.prototype.clear=Ms,pi.prototype.delete=Fs,pi.prototype.get=zu,pi.prototype.has=Ul,pi.prototype.set=UA;var vc=mr?function(bt){return bt==null?[]:(bt=Object(bt),Ke(mr(bt),function(Wt){return cr.call(bt,Wt)}))}:Mf,Ku=ch;function pg(bt,Wt){return!!(Wt=Wt??m)&&(typeof bt=="number"||Fe.test(bt))&&bt>-1&&bt%1==0&&bt<Wt}function yo(bt){var Wt=typeof bt;return Wt=="string"||Wt=="number"||Wt=="symbol"||Wt=="boolean"?bt!=="__proto__":bt===null}function il(bt){return!!mt&&mt in bt}function HA(bt){var Wt=bt&&bt.constructor;return bt===(typeof Wt=="function"&&Wt.prototype||Ot)}function Ts(bt){return Xe.call(bt)}function Qo(bt){if(bt!=null){try{return Je.call(bt)}catch{}try{return bt+""}catch{}}return""}function hh(bt,Wt){return bt===Wt||bt!=bt&&Wt!=Wt}(Mr&&Ku(new Mr(new ArrayBuffer(1)))!=ne||Dr&&Ku(new Dr)!=T||nn&&Ku(nn.resolve())!=W||Sr&&Ku(new Sr)!=ue||tn&&Ku(new tn)!=we)&&(Ku=function(bt){var Wt=ch(bt),_r=Wt==H?bt.constructor:void 0,ce=_r?Qo(_r):"";if(ce)switch(ce){case Jn:return ne;case Rr:return T;case An:return W;case dn:return ue;case br:return we}return Wt});var vg=_f(function(){return arguments}())?_f:function(bt){return Ah(bt)&&tt.call(bt,"callee")&&!cr.call(bt,"callee")},gu=Array.isArray;function pu(bt){return bt!=null&&Df(bt.length)&&!fh(bt)}var yg=sr||jo;function mg(bt,Wt){return Su(bt,Wt)}function fh(bt){if(!Rf(bt))return!1;var Wt=ch(bt);return Wt==_||Wt==D||Wt==I||Wt==V}function Df(bt){return typeof bt=="number"&&bt>-1&&bt%1==0&&bt<=m}function Rf(bt){var Wt=typeof bt;return bt!=null&&(Wt=="object"||Wt=="function")}function Ah(bt){return bt!=null&&typeof bt=="object"}var Jh=Me?qe(Me):Xp;function al(bt){return pu(bt)?os(bt):$p(bt)}function Mf(){return[]}function jo(){return!1}c.exports=mg}).call(this)}).call(this,Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{}],446:[function(a,c,u){(function(h){(function(){var d="[object AsyncFunction]",p="[object Function]",g="[object GeneratorFunction]",A="[object Null]",m="[object Proxy]",y="[object Undefined]",b=typeof h=="object"&&h&&h.Object===Object&&h,I=typeof self=="object"&&self&&self.Object===Object&&self,E=b||I||Function("return this")(),B=Object.prototype,S=B.hasOwnProperty,_=B.toString,D=E.Symbol,T=D?D.toStringTag:void 0;function F(te){return te==null?te===void 0?y:A:T&&T in Object(te)?N(te):H(te)}function N(te){var ue=S.call(te,T),fe=te[T];try{te[T]=void 0;var de=!0}catch{}var Ae=_.call(te);return de&&(ue?te[T]=fe:delete te[T]),Ae}function H(te){return _.call(te)}function W(te){if(!V(te))return!1;var ue=F(te);return ue==p||ue==g||ue==d||ue==m}function V(te){var ue=typeof te;return te!=null&&(ue=="object"||ue=="function")}c.exports=W}).call(this)}).call(this,Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{}],447:[function(a,c,u){function h(d){return d==null}c.exports=h},{}],448:[function(a,c,u){function h(d){return d===void 0}c.exports=h},{}],449:[function(a,c,u){(function(h){(function(){var d=200,p="__lodash_hash_undefined__",g=1/0,A="[object Function]",m="[object GeneratorFunction]",y=/[\\^$.*+?()[\]{}|]/g,b=/^\[object .+?Constructor\]$/,I=typeof h=="object"&&h&&h.Object===Object&&h,E=typeof self=="object"&&self&&self.Object===Object&&self,B=I||E||Function("return this")();function S(Ye,ot){return!(!Ye||!Ye.length)&&D(Ye,ot,0)>-1}function _(Ye,ot,yt,Mt){for(var cr=Ye.length,$t=yt+-1;++$t<cr;)if(ot(Ye[$t],$t,Ye))return $t;return-1}function D(Ye,ot,yt){if(ot!=ot)return _(Ye,T,yt);for(var Mt=yt-1,cr=Ye.length;++Mt<cr;)if(Ye[Mt]===ot)return Mt;return-1}function T(Ye){return Ye!=Ye}function F(Ye,ot){return Ye.has(ot)}function N(Ye,ot){return Ye==null?void 0:Ye[ot]}function H(Ye){var ot=!1;if(Ye!=null&&typeof Ye.toString!="function")try{ot=!!(Ye+"")}catch{}return ot}function W(Ye){var ot=-1,yt=Array(Ye.size);return Ye.forEach(function(Mt){yt[++ot]=Mt}),yt}var V,te=Array.prototype,ue=Function.prototype,fe=Object.prototype,de=B["__core-js_shared__"],Ae=(V=/[^.]+$/.exec(de&&de.keys&&de.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"",we=ue.toString,Z=fe.hasOwnProperty,ne=fe.toString,j=RegExp("^"+we.call(Z).replace(y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),J=te.splice,q=Ze(B,"Map"),z=Ze(B,"Set"),X=Ze(Object,"create");function se(Ye){var ot=-1,yt=Ye?Ye.length:0;for(this.clear();++ot<yt;){var Mt=Ye[ot];this.set(Mt[0],Mt[1])}}function oe(){this.__data__=X?X(null):{}}function ye(Ye){return this.has(Ye)&&delete this.__data__[Ye]}function ae(Ye){var ot=this.__data__;if(X){var yt=ot[Ye];return yt===p?void 0:yt}return Z.call(ot,Ye)?ot[Ye]:void 0}function me(Ye){var ot=this.__data__;return X?ot[Ye]!==void 0:Z.call(ot,Ye)}function Fe(Ye,ot){return this.__data__[Ye]=X&&ot===void 0?p:ot,this}function _e(Ye){var ot=-1,yt=Ye?Ye.length:0;for(this.clear();++ot<yt;){var Mt=Ye[ot];this.set(Mt[0],Mt[1])}}function rt(){this.__data__=[]}function et(Ye){var ot=this.__data__,yt=pt(ot,Ye);return!(yt<0||(yt==ot.length-1?ot.pop():J.call(ot,yt,1),0))}function st(Ye){var ot=this.__data__,yt=pt(ot,Ye);return yt<0?void 0:ot[yt][1]}function Ge(Ye){return pt(this.__data__,Ye)>-1}function Be(Ye,ot){var yt=this.__data__,Mt=pt(yt,Ye);return Mt<0?yt.push([Ye,ot]):yt[Mt][1]=ot,this}function Te(Ye){var ot=-1,yt=Ye?Ye.length:0;for(this.clear();++ot<yt;){var Mt=Ye[ot];this.set(Mt[0],Mt[1])}}function je(){this.__data__={hash:new se,map:new(q||_e),string:new se}}function lt(Ye){return Ft(this,Ye).delete(Ye)}function Me(Ye){return Ft(this,Ye).get(Ye)}function Ke(Ye){return Ft(this,Ye).has(Ye)}function Rt(Ye,ot){return Ft(this,Ye).set(Ye,ot),this}function Ie(Ye){var ot=-1,yt=Ye?Ye.length:0;for(this.__data__=new Te;++ot<yt;)this.add(Ye[ot])}function Re(Ye){return this.__data__.set(Ye,p),this}function qe(Ye){return this.__data__.has(Ye)}function pt(Ye,ot){for(var yt=Ye.length;yt--;)if(Je(Ye[yt][0],ot))return yt;return-1}function Lt(Ye){return!(!mt(Ye)||nt(Ye))&&(tt(Ye)||H(Ye)?j:b).test(Ot(Ye))}function Qe(Ye,ot,yt){var Mt=-1,cr=S,$t=Ye.length,Hr=!0,mr=[],sr=mr;if($t>=d){var Yr=_t(Ye);if(Yr)return W(Yr);Hr=!1,cr=F,sr=new Ie}else sr=mr;e:for(;++Mt<$t;){var Mr=Ye[Mt],Dr=Mr;if(Mr=Mr!==0?Mr:0,Hr&&Dr==Dr){for(var nn=sr.length;nn--;)if(sr[nn]===Dr)continue e;mr.push(Mr)}else cr(sr,Dr,yt)||(sr!==mr&&sr.push(Dr),mr.push(Mr))}return mr}se.prototype.clear=oe,se.prototype.delete=ye,se.prototype.get=ae,se.prototype.has=me,se.prototype.set=Fe,_e.prototype.clear=rt,_e.prototype.delete=et,_e.prototype.get=st,_e.prototype.has=Ge,_e.prototype.set=Be,Te.prototype.clear=je,Te.prototype.delete=lt,Te.prototype.get=Me,Te.prototype.has=Ke,Te.prototype.set=Rt,Ie.prototype.add=Ie.prototype.push=Re,Ie.prototype.has=qe;var _t=z&&1/W(new z([,-0]))[1]==g?function(Ye){return new z(Ye)}:Xe;function Ft(Ye,ot){var yt=Ye.__data__;return $e(ot)?yt[typeof ot=="string"?"string":"hash"]:yt.map}function Ze(Ye,ot){var yt=N(Ye,ot);return Lt(yt)?yt:void 0}function $e(Ye){var ot=typeof Ye;return ot=="string"||ot=="number"||ot=="symbol"||ot=="boolean"?Ye!=="__proto__":Ye===null}function nt(Ye){return!!Ae&&Ae in Ye}function Ot(Ye){if(Ye!=null){try{return we.call(Ye)}catch{}try{return Ye+""}catch{}}return""}function He(Ye){return Ye&&Ye.length?Qe(Ye):[]}function Je(Ye,ot){return Ye===ot||Ye!=Ye&&ot!=ot}function tt(Ye){var ot=mt(Ye)?ne.call(Ye):"";return ot==A||ot==m}function mt(Ye){var ot=typeof Ye;return!!Ye&&(ot=="object"||ot=="function")}function Xe(){}c.exports=He}).call(this)}).call(this,Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{}],450:[function(a,c,u){var h=a("inherits"),d=a("hash-base"),p=a("safe-buffer").Buffer,g=new Array(16);function A(){d.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function m(B,S){return B<<S|B>>>32-S}function y(B,S,_,D,T,F,N){return m(B+(S&_|~S&D)+T+F|0,N)+S|0}function b(B,S,_,D,T,F,N){return m(B+(S&D|_&~D)+T+F|0,N)+S|0}function I(B,S,_,D,T,F,N){return m(B+(S^_^D)+T+F|0,N)+S|0}function E(B,S,_,D,T,F,N){return m(B+(_^(S|~D))+T+F|0,N)+S|0}h(A,d),A.prototype._update=function(){for(var B=g,S=0;S<16;++S)B[S]=this._block.readInt32LE(4*S);var _=this._a,D=this._b,T=this._c,F=this._d;_=y(_,D,T,F,B[0],3614090360,7),F=y(F,_,D,T,B[1],3905402710,12),T=y(T,F,_,D,B[2],606105819,17),D=y(D,T,F,_,B[3],3250441966,22),_=y(_,D,T,F,B[4],4118548399,7),F=y(F,_,D,T,B[5],1200080426,12),T=y(T,F,_,D,B[6],2821735955,17),D=y(D,T,F,_,B[7],4249261313,22),_=y(_,D,T,F,B[8],1770035416,7),F=y(F,_,D,T,B[9],2336552879,12),T=y(T,F,_,D,B[10],4294925233,17),D=y(D,T,F,_,B[11],2304563134,22),_=y(_,D,T,F,B[12],1804603682,7),F=y(F,_,D,T,B[13],4254626195,12),T=y(T,F,_,D,B[14],2792965006,17),_=b(_,D=y(D,T,F,_,B[15],1236535329,22),T,F,B[1],4129170786,5),F=b(F,_,D,T,B[6],3225465664,9),T=b(T,F,_,D,B[11],643717713,14),D=b(D,T,F,_,B[0],3921069994,20),_=b(_,D,T,F,B[5],3593408605,5),F=b(F,_,D,T,B[10],38016083,9),T=b(T,F,_,D,B[15],3634488961,14),D=b(D,T,F,_,B[4],3889429448,20),_=b(_,D,T,F,B[9],568446438,5),F=b(F,_,D,T,B[14],3275163606,9),T=b(T,F,_,D,B[3],4107603335,14),D=b(D,T,F,_,B[8],1163531501,20),_=b(_,D,T,F,B[13],2850285829,5),F=b(F,_,D,T,B[2],4243563512,9),T=b(T,F,_,D,B[7],1735328473,14),_=I(_,D=b(D,T,F,_,B[12],2368359562,20),T,F,B[5],4294588738,4),F=I(F,_,D,T,B[8],2272392833,11),T=I(T,F,_,D,B[11],1839030562,16),D=I(D,T,F,_,B[14],4259657740,23),_=I(_,D,T,F,B[1],2763975236,4),F=I(F,_,D,T,B[4],1272893353,11),T=I(T,F,_,D,B[7],4139469664,16),D=I(D,T,F,_,B[10],3200236656,23),_=I(_,D,T,F,B[13],681279174,4),F=I(F,_,D,T,B[0],3936430074,11),T=I(T,F,_,D,B[3],3572445317,16),D=I(D,T,F,_,B[6],76029189,23),_=I(_,D,T,F,B[9],3654602809,4),F=I(F,_,D,T,B[12],3873151461,11),T=I(T,F,_,D,B[15],530742520,16),_=E(_,D=I(D,T,F,_,B[2],3299628645,23),T,F,B[0],4096336452,6),F=E(F,_,D,T,B[7],1126891415,10),T=E(T,F,_,D,B[14],2878612391,15),D=E(D,T,F,_,B[5],4237533241,21),_=E(_,D,T,F,B[12],1700485571,6),F=E(F,_,D,T,B[3],2399980690,10),T=E(T,F,_,D,B[10],4293915773,15),D=E(D,T,F,_,B[1],2240044497,21),_=E(_,D,T,F,B[8],1873313359,6),F=E(F,_,D,T,B[15],4264355552,10),T=E(T,F,_,D,B[6],2734768916,15),D=E(D,T,F,_,B[13],1309151649,21),_=E(_,D,T,F,B[4],4149444226,6),F=E(F,_,D,T,B[11],3174756917,10),T=E(T,F,_,D,B[2],718787259,15),D=E(D,T,F,_,B[9],3951481745,21),this._a=this._a+_|0,this._b=this._b+D|0,this._c=this._c+T|0,this._d=this._d+F|0},A.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var B=p.allocUnsafe(16);return B.writeInt32LE(this._a,0),B.writeInt32LE(this._b,4),B.writeInt32LE(this._c,8),B.writeInt32LE(this._d,12),B},c.exports=A},{"hash-base":425,inherits:440,"safe-buffer":494}],451:[function(a,c,u){var h=a("bn.js"),d=a("brorand");function p(g){this.rand=g||new d.Rand}c.exports=p,p.create=function(g){return new p(g)},p.prototype._randbelow=function(g){var A=g.bitLength(),m=Math.ceil(A/8);do var y=new h(this.rand.generate(m));while(y.cmp(g)>=0);return y},p.prototype._randrange=function(g,A){var m=A.sub(g);return g.add(this._randbelow(m))},p.prototype.test=function(g,A,m){var y=g.bitLength(),b=h.mont(g),I=new h(1).toRed(b);A||(A=Math.max(1,y/48|0));for(var E=g.subn(1),B=0;!E.testn(B);B++);for(var S=g.shrn(B),_=E.toRed(b),D=!0;A>0;A--){var T=this._randrange(new h(2),E);m&&m(T);var F=T.toRed(b).redPow(S);if(F.cmp(I)!==0&&F.cmp(_)!==0){for(var N=1;N<B;N++){if((F=F.redSqr()).cmp(I)===0)return!1;if(F.cmp(_)===0)break}if(N===B)return!1}}return D},p.prototype.getDivisor=function(g,A){var m=g.bitLength(),y=h.mont(g),b=new h(1).toRed(y);A||(A=Math.max(1,m/48|0));for(var I=g.subn(1),E=0;!I.testn(E);E++);for(var B=g.shrn(E),S=I.toRed(y);A>0;A--){var _=this._randrange(new h(2),I),D=g.gcd(_);if(D.cmpn(1)!==0)return D;var T=_.toRed(y).redPow(B);if(T.cmp(b)!==0&&T.cmp(S)!==0){for(var F=1;F<E;F++){if((T=T.redSqr()).cmp(b)===0)return T.fromRed().subn(1).gcd(g);if(T.cmp(S)===0)break}if(F===E)return(T=T.redSqr()).fromRed().subn(1).gcd(g)}}return!1}},{"bn.js":452,brorand:187}],452:[function(a,c,u){arguments[4][184][0].apply(u,arguments)},{buffer:188,dup:184}],453:[function(a,c,u){function h(d,p){if(!d)throw new Error(p||"Assertion failed")}c.exports=h,h.equal=function(d,p,g){if(d!=p)throw new Error(g||"Assertion failed: "+d+" != "+p)}},{}],454:[function(a,c,u){var h=u;function d(A,m){if(Array.isArray(A))return A.slice();if(!A)return[];var y=[];if(typeof A!="string"){for(var b=0;b<A.length;b++)y[b]=0|A[b];return y}if(m==="hex")for((A=A.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(A="0"+A),b=0;b<A.length;b+=2)y.push(parseInt(A[b]+A[b+1],16));else for(b=0;b<A.length;b++){var I=A.charCodeAt(b),E=I>>8,B=255&I;E?y.push(E,B):y.push(B)}return y}function p(A){return A.length===1?"0"+A:A}function g(A){for(var m="",y=0;y<A.length;y++)m+=p(A[y].toString(16));return m}h.toArray=d,h.zero2=p,h.toHex=g,h.encode=function(A,m){return m==="hex"?g(A):A}},{}],455:[function(a,c,u){c.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],456:[function(a,c,u){var h=a("asn1.js");u.certificate=a("./certificate");var d=h.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});u.RSAPrivateKey=d;var p=h.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});u.RSAPublicKey=p;var g=h.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(A),this.key("subjectPublicKey").bitstr())});u.PublicKey=g;var A=h.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),m=h.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(A),this.key("subjectPrivateKey").octstr())});u.PrivateKey=m;var y=h.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});u.EncryptedPrivateKey=y;var b=h.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});u.DSAPrivateKey=b,u.DSAparam=h.define("DSAparam",function(){this.int()});var I=h.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(E),this.key("publicKey").optional().explicit(1).bitstr())});u.ECPrivateKey=I;var E=h.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});u.signature=h.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":457,"asn1.js":170}],457:[function(a,c,u){var h=a("asn1.js"),d=h.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),p=h.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),g=h.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),A=h.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(g),this.key("subjectPublicKey").bitstr())}),m=h.define("RelativeDistinguishedName",function(){this.setof(p)}),y=h.define("RDNSequence",function(){this.seqof(m)}),b=h.define("Name",function(){this.choice({rdnSequence:this.use(y)})}),I=h.define("Validity",function(){this.seq().obj(this.key("notBefore").use(d),this.key("notAfter").use(d))}),E=h.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),B=h.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(g),this.key("issuer").use(b),this.key("validity").use(I),this.key("subject").use(b),this.key("subjectPublicKeyInfo").use(A),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(E).optional())}),S=h.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(B),this.key("signatureAlgorithm").use(g),this.key("signatureValue").bitstr())});c.exports=S},{"asn1.js":170}],458:[function(a,c,u){var h=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,d=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,p=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,g=a("evp_bytestokey"),A=a("browserify-aes"),m=a("safe-buffer").Buffer;c.exports=function(y,b){var I,E=y.toString(),B=E.match(h);if(B){var S="aes"+B[1],_=m.from(B[2],"hex"),D=m.from(B[3].replace(/[\r\n]/g,""),"base64"),T=g(b,_.slice(0,8),parseInt(B[1],10)).key,F=[],N=A.createDecipheriv(S,T,_);F.push(N.update(D)),F.push(N.final()),I=m.concat(F)}else{var H=E.match(p);I=m.from(H[2].replace(/[\r\n]/g,""),"base64")}return{tag:E.match(d)[1],data:I}}},{"browserify-aes":191,evp_bytestokey:423,"safe-buffer":494}],459:[function(a,c,u){var h=a("./asn1"),d=a("./aesid.json"),p=a("./fixProc"),g=a("browserify-aes"),A=a("pbkdf2"),m=a("safe-buffer").Buffer;function y(I){var E;typeof I!="object"||m.isBuffer(I)||(E=I.passphrase,I=I.key),typeof I=="string"&&(I=m.from(I));var B,S,_=p(I,E),D=_.tag,T=_.data;switch(D){case"CERTIFICATE":S=h.certificate.decode(T,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(S||(S=h.PublicKey.decode(T,"der")),B=S.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return h.RSAPublicKey.decode(S.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return S.subjectPrivateKey=S.subjectPublicKey,{type:"ec",data:S};case"1.2.840.10040.4.1":return S.algorithm.params.pub_key=h.DSAparam.decode(S.subjectPublicKey.data,"der"),{type:"dsa",data:S.algorithm.params};default:throw new Error("unknown key id "+B)}case"ENCRYPTED PRIVATE KEY":T=b(T=h.EncryptedPrivateKey.decode(T,"der"),E);case"PRIVATE KEY":switch(B=(S=h.PrivateKey.decode(T,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return h.RSAPrivateKey.decode(S.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:S.algorithm.curve,privateKey:h.ECPrivateKey.decode(S.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return S.algorithm.params.priv_key=h.DSAparam.decode(S.subjectPrivateKey,"der"),{type:"dsa",params:S.algorithm.params};default:throw new Error("unknown key id "+B)}case"RSA PUBLIC KEY":return h.RSAPublicKey.decode(T,"der");case"RSA PRIVATE KEY":return h.RSAPrivateKey.decode(T,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:h.DSAPrivateKey.decode(T,"der")};case"EC PRIVATE KEY":return{curve:(T=h.ECPrivateKey.decode(T,"der")).parameters.value,privateKey:T.privateKey};default:throw new Error("unknown key type "+D)}}function b(I,E){var B=I.algorithm.decrypt.kde.kdeparams.salt,S=parseInt(I.algorithm.decrypt.kde.kdeparams.iters.toString(),10),_=d[I.algorithm.decrypt.cipher.algo.join(".")],D=I.algorithm.decrypt.cipher.iv,T=I.subjectPrivateKey,F=parseInt(_.split("-")[1],10)/8,N=A.pbkdf2Sync(E,B,S,F,"sha1"),H=g.createDecipheriv(_,N,D),W=[];return W.push(H.update(T)),W.push(H.final()),m.concat(W)}c.exports=y,y.signature=h.signature},{"./aesid.json":455,"./asn1":456,"./fixProc":458,"browserify-aes":191,pbkdf2:460,"safe-buffer":494}],460:[function(a,c,u){u.pbkdf2=a("./lib/async"),u.pbkdf2Sync=a("./lib/sync")},{"./lib/async":461,"./lib/sync":464}],461:[function(a,c,u){(function(h){(function(){var d,p,g=a("safe-buffer").Buffer,A=a("./precondition"),m=a("./default-encoding"),y=a("./sync"),b=a("./to-buffer"),I=h.crypto&&h.crypto.subtle,E={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},B=[];function S(F){if(h.process&&!h.process.browser||!I||!I.importKey||!I.deriveBits)return Promise.resolve(!1);if(B[F]!==void 0)return B[F];var N=D(d=d||g.alloc(8),d,10,128,F).then(function(){return!0}).catch(function(){return!1});return B[F]=N,N}function _(){return p||(p=h.process&&h.process.nextTick?h.process.nextTick:h.queueMicrotask?h.queueMicrotask:h.setImmediate?h.setImmediate:h.setTimeout)}function D(F,N,H,W,V){return I.importKey("raw",F,{name:"PBKDF2"},!1,["deriveBits"]).then(function(te){return I.deriveBits({name:"PBKDF2",salt:N,iterations:H,hash:{name:V}},te,W<<3)}).then(function(te){return g.from(te)})}function T(F,N){F.then(function(H){_()(function(){N(null,H)})},function(H){_()(function(){N(H)})})}c.exports=function(F,N,H,W,V,te){typeof V=="function"&&(te=V,V=void 0);var ue=E[(V=V||"sha1").toLowerCase()];if(ue&&typeof h.Promise=="function"){if(A(H,W),F=b(F,m,"Password"),N=b(N,m,"Salt"),typeof te!="function")throw new Error("No callback provided to pbkdf2");T(S(ue).then(function(fe){return fe?D(F,N,H,W,ue):y(F,N,H,W,V)}),te)}else _()(function(){var fe;try{fe=y(F,N,H,W,V)}catch(de){return te(de)}te(null,fe)})}}).call(this)}).call(this,Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{"./default-encoding":462,"./precondition":463,"./sync":464,"./to-buffer":465,"safe-buffer":494}],462:[function(a,c,u){(function(h,d){(function(){var p;p=d.process&&d.process.browser?"utf-8":d.process&&d.process.version?parseInt(h.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",c.exports=p}).call(this)}).call(this,a("_process"),Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{_process:467}],463:[function(a,c,u){var h=Math.pow(2,30)-1;c.exports=function(d,p){if(typeof d!="number")throw new TypeError("Iterations not a number");if(d<0)throw new TypeError("Bad iterations");if(typeof p!="number")throw new TypeError("Key length not a number");if(p<0||p>h||p!=p)throw new TypeError("Bad key length")}},{}],464:[function(a,c,u){var h=a("create-hash/md5"),d=a("ripemd160"),p=a("sha.js"),g=a("safe-buffer").Buffer,A=a("./precondition"),m=a("./default-encoding"),y=a("./to-buffer"),b=g.alloc(128),I={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function E(_,D,T){var F=B(_),N=_==="sha512"||_==="sha384"?128:64;D.length>N?D=F(D):D.length<N&&(D=g.concat([D,b],N));for(var H=g.allocUnsafe(N+I[_]),W=g.allocUnsafe(N+I[_]),V=0;V<N;V++)H[V]=54^D[V],W[V]=92^D[V];var te=g.allocUnsafe(N+T+4);H.copy(te,0,0,N),this.ipad1=te,this.ipad2=H,this.opad=W,this.alg=_,this.blocksize=N,this.hash=F,this.size=I[_]}function B(_){function D(F){return p(_).update(F).digest()}function T(F){return new d().update(F).digest()}return _==="rmd160"||_==="ripemd160"?T:_==="md5"?h:D}function S(_,D,T,F,N){A(T,F);var H=new E(N=N||"sha1",_=y(_,m,"Password"),(D=y(D,m,"Salt")).length),W=g.allocUnsafe(F),V=g.allocUnsafe(D.length+4);D.copy(V,0,0,D.length);for(var te=0,ue=I[N],fe=Math.ceil(F/ue),de=1;de<=fe;de++){V.writeUInt32BE(de,D.length);for(var Ae=H.run(V,H.ipad1),we=Ae,Z=1;Z<T;Z++){we=H.run(we,H.ipad2);for(var ne=0;ne<ue;ne++)Ae[ne]^=we[ne]}Ae.copy(W,te),te+=ue}return W}E.prototype.run=function(_,D){return _.copy(D,this.blocksize),this.hash(D).copy(this.opad,this.blocksize),this.hash(this.opad)},c.exports=S},{"./default-encoding":462,"./precondition":463,"./to-buffer":465,"create-hash/md5":387,ripemd160:493,"safe-buffer":494,"sha.js":498}],465:[function(a,c,u){var h=a("safe-buffer").Buffer;c.exports=function(d,p,g){if(h.isBuffer(d))return d;if(typeof d=="string")return h.from(d,p);if(ArrayBuffer.isView(d))return h.from(d.buffer);throw new TypeError(g+" must be a string, a Buffer, a typed array or a DataView")}},{"safe-buffer":494}],466:[function(a,c,u){(function(h){(function(){function d(p,g,A,m){if(typeof p!="function")throw new TypeError('"callback" argument must be a function');var y,b,I=arguments.length;switch(I){case 0:case 1:return h.nextTick(p);case 2:return h.nextTick(function(){p.call(null,g)});case 3:return h.nextTick(function(){p.call(null,g,A)});case 4:return h.nextTick(function(){p.call(null,g,A,m)});default:for(y=new Array(I-1),b=0;b<y.length;)y[b++]=arguments[b];return h.nextTick(function(){p.apply(null,y)})}}h===void 0||!h.version||h.version.indexOf("v0.")===0||h.version.indexOf("v1.")===0&&h.version.indexOf("v1.8.")!==0?c.exports={nextTick:d}:c.exports=h}).call(this)}).call(this,a("_process"))},{_process:467}],467:[function(a,c,u){var h,d,p=c.exports={};function g(){throw new Error("setTimeout has not been defined")}function A(){throw new Error("clearTimeout has not been defined")}function m(F){if(h===setTimeout)return setTimeout(F,0);if((h===g||!h)&&setTimeout)return h=setTimeout,setTimeout(F,0);try{return h(F,0)}catch{try{return h.call(null,F,0)}catch{return h.call(this,F,0)}}}function y(F){if(d===clearTimeout)return clearTimeout(F);if((d===A||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(F);try{return d(F)}catch{try{return d.call(null,F)}catch{return d.call(this,F)}}}(function(){try{h=typeof setTimeout=="function"?setTimeout:g}catch{h=g}try{d=typeof clearTimeout=="function"?clearTimeout:A}catch{d=A}})();var b,I=[],E=!1,B=-1;function S(){E&&b&&(E=!1,b.length?I=b.concat(I):B=-1,I.length&&_())}function _(){if(!E){var F=m(S);E=!0;for(var N=I.length;N;){for(b=I,I=[];++B<N;)b&&b[B].run();B=-1,N=I.length}b=null,E=!1,y(F)}}function D(F,N){this.fun=F,this.array=N}function T(){}p.nextTick=function(F){var N=new Array(arguments.length-1);if(arguments.length>1)for(var H=1;H<arguments.length;H++)N[H-1]=arguments[H];I.push(new D(F,N)),I.length!==1||E||m(_)},D.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=T,p.addListener=T,p.once=T,p.off=T,p.removeListener=T,p.removeAllListeners=T,p.emit=T,p.prependListener=T,p.prependOnceListener=T,p.listeners=function(F){return[]},p.binding=function(F){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(F){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],468:[function(a,c,u){u.publicEncrypt=a("./publicEncrypt"),u.privateDecrypt=a("./privateDecrypt"),u.privateEncrypt=function(h,d){return u.publicEncrypt(h,d,!0)},u.publicDecrypt=function(h,d){return u.privateDecrypt(h,d,!0)}},{"./privateDecrypt":471,"./publicEncrypt":472}],469:[function(a,c,u){var h=a("create-hash"),d=a("safe-buffer").Buffer;function p(g){var A=d.allocUnsafe(4);return A.writeUInt32BE(g,0),A}c.exports=function(g,A){for(var m,y=d.alloc(0),b=0;y.length<A;)m=p(b++),y=d.concat([y,h("sha1").update(g).update(m).digest()]);return y.slice(0,A)}},{"create-hash":386,"safe-buffer":494}],470:[function(a,c,u){arguments[4][184][0].apply(u,arguments)},{buffer:188,dup:184}],471:[function(a,c,u){var h=a("parse-asn1"),d=a("./mgf"),p=a("./xor"),g=a("bn.js"),A=a("browserify-rsa"),m=a("create-hash"),y=a("./withPublic"),b=a("safe-buffer").Buffer;function I(S,_){var D=S.modulus.byteLength(),T=m("sha1").update(b.alloc(0)).digest(),F=T.length;if(_[0]!==0)throw new Error("decryption error");var N=_.slice(1,F+1),H=_.slice(F+1),W=p(N,d(H,F)),V=p(H,d(W,D-F-1));if(B(T,V.slice(0,F)))throw new Error("decryption error");for(var te=F;V[te]===0;)te++;if(V[te++]!==1)throw new Error("decryption error");return V.slice(te)}function E(S,_,D){for(var T=_.slice(0,2),F=2,N=0;_[F++]!==0;)if(F>=_.length){N++;break}var H=_.slice(2,F-1);if((T.toString("hex")!=="0002"&&!D||T.toString("hex")!=="0001"&&D)&&N++,H.length<8&&N++,N)throw new Error("decryption error");return _.slice(F)}function B(S,_){S=b.from(S),_=b.from(_);var D=0,T=S.length;S.length!==_.length&&(D++,T=Math.min(S.length,_.length));for(var F=-1;++F<T;)D+=S[F]^_[F];return D}c.exports=function(S,_,D){var T;T=S.padding?S.padding:D?1:4;var F,N=h(S),H=N.modulus.byteLength();if(_.length>H||new g(_).cmp(N.modulus)>=0)throw new Error("decryption error");F=D?y(new g(_),N):A(_,N);var W=b.alloc(H-F.length);if(F=b.concat([W,F],H),T===4)return I(N,F);if(T===1)return E(N,F,D);if(T===3)return F;throw new Error("unknown padding")}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":209,"create-hash":386,"parse-asn1":459,"safe-buffer":494}],472:[function(a,c,u){var h=a("parse-asn1"),d=a("randombytes"),p=a("create-hash"),g=a("./mgf"),A=a("./xor"),m=a("bn.js"),y=a("./withPublic"),b=a("browserify-rsa"),I=a("safe-buffer").Buffer;function E(_,D){var T=_.modulus.byteLength(),F=D.length,N=p("sha1").update(I.alloc(0)).digest(),H=N.length,W=2*H;if(F>T-W-2)throw new Error("message too long");var V=I.alloc(T-F-W-2),te=T-H-1,ue=d(H),fe=A(I.concat([N,V,I.alloc(1,1),D],te),g(ue,te)),de=A(ue,g(fe,H));return new m(I.concat([I.alloc(1),de,fe],T))}function B(_,D,T){var F,N=D.length,H=_.modulus.byteLength();if(N>H-11)throw new Error("message too long");return F=T?I.alloc(H-N-3,255):S(H-N-3),new m(I.concat([I.from([0,T?1:2]),F,I.alloc(1),D],H))}function S(_){for(var D,T=I.allocUnsafe(_),F=0,N=d(2*_),H=0;F<_;)H===N.length&&(N=d(2*_),H=0),(D=N[H++])&&(T[F++]=D);return T}c.exports=function(_,D,T){var F;F=_.padding?_.padding:T?1:4;var N,H=h(_);if(F===4)N=E(H,D);else if(F===1)N=B(H,D,T);else{if(F!==3)throw new Error("unknown padding");if((N=new m(D)).cmp(H.modulus)>=0)throw new Error("data too long for modulus")}return T?b(N,H):y(N,H)}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":209,"create-hash":386,"parse-asn1":459,randombytes:475,"safe-buffer":494}],473:[function(a,c,u){var h=a("bn.js"),d=a("safe-buffer").Buffer;function p(g,A){return d.from(g.toRed(h.mont(A.modulus)).redPow(new h(A.publicExponent)).fromRed().toArray())}c.exports=p},{"bn.js":470,"safe-buffer":494}],474:[function(a,c,u){c.exports=function(h,d){for(var p=h.length,g=-1;++g<p;)h[g]^=d[g];return h}},{}],475:[function(a,c,u){(function(h,d){(function(){var p=65536,g=4294967295;function A(){throw new Error(`Secure random number generation is not supported by this browser.
  37. Use Chrome, Firefox or Internet Explorer 11`)}var m=a("safe-buffer").Buffer,y=d.crypto||d.msCrypto;function b(I,E){if(I>g)throw new RangeError("requested too many random bytes");var B=m.allocUnsafe(I);if(I>0)if(I>p)for(var S=0;S<I;S+=p)y.getRandomValues(B.slice(S,S+p));else y.getRandomValues(B);return typeof E=="function"?h.nextTick(function(){E(null,B)}):B}y&&y.getRandomValues?c.exports=b:c.exports=A}).call(this)}).call(this,a("_process"),Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{_process:467,"safe-buffer":494}],476:[function(a,c,u){(function(h,d){(function(){function p(){throw new Error(`secure random number generation not supported by this browser
  38. use chrome, FireFox or Internet Explorer 11`)}var g=a("safe-buffer"),A=a("randombytes"),m=g.Buffer,y=g.kMaxLength,b=d.crypto||d.msCrypto,I=Math.pow(2,32)-1;function E(T,F){if(typeof T!="number"||T!=T)throw new TypeError("offset must be a number");if(T>I||T<0)throw new TypeError("offset must be a uint32");if(T>y||T>F)throw new RangeError("offset out of range")}function B(T,F,N){if(typeof T!="number"||T!=T)throw new TypeError("size must be a number");if(T>I||T<0)throw new TypeError("size must be a uint32");if(T+F>N||T>y)throw new RangeError("buffer too small")}function S(T,F,N,H){if(!(m.isBuffer(T)||T instanceof d.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof F=="function")H=F,F=0,N=T.length;else if(typeof N=="function")H=N,N=T.length-F;else if(typeof H!="function")throw new TypeError('"cb" argument must be a function');return E(F,T.length),B(N,F,T.length),_(T,F,N,H)}function _(T,F,N,H){if(h.browser){var W=T.buffer,V=new Uint8Array(W,F,N);return b.getRandomValues(V),H?void h.nextTick(function(){H(null,T)}):T}if(!H)return A(N).copy(T,F),T;A(N,function(te,ue){if(te)return H(te);ue.copy(T,F),H(null,T)})}function D(T,F,N){if(F===void 0&&(F=0),!(m.isBuffer(T)||T instanceof d.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return E(F,T.length),N===void 0&&(N=T.length-F),B(N,F,T.length),_(T,F,N)}b&&b.getRandomValues||!h.browser?(u.randomFill=S,u.randomFillSync=D):(u.randomFill=p,u.randomFillSync=p)}).call(this)}).call(this,a("_process"),Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(a,c,u){function h(b,I){b.prototype=Object.create(I.prototype),b.prototype.constructor=b,b.__proto__=I}var d={};function p(b,I,E){function B(_,D,T){return typeof I=="string"?I:I(_,D,T)}E||(E=Error);var S=function(_){function D(T,F,N){return _.call(this,B(T,F,N))||this}return h(D,_),D}(E);S.prototype.name=E.name,S.prototype.code=b,d[b]=S}function g(b,I){if(Array.isArray(b)){var E=b.length;return b=b.map(function(B){return String(B)}),E>2?"one of ".concat(I," ").concat(b.slice(0,E-1).join(", "),", or ")+b[E-1]:E===2?"one of ".concat(I," ").concat(b[0]," or ").concat(b[1]):"of ".concat(I," ").concat(b[0])}return"of ".concat(I," ").concat(String(b))}function A(b,I,E){return b.substr(0,I.length)===I}function m(b,I,E){return(E===void 0||E>b.length)&&(E=b.length),b.substring(E-I.length,E)===I}function y(b,I,E){return typeof E!="number"&&(E=0),!(E+I.length>b.length)&&b.indexOf(I,E)!==-1}p("ERR_INVALID_OPT_VALUE",function(b,I){return'The value "'+I+'" is invalid for option "'+b+'"'},TypeError),p("ERR_INVALID_ARG_TYPE",function(b,I,E){var B,S;if(typeof I=="string"&&A(I,"not ")?(B="must not be",I=I.replace(/^not /,"")):B="must be",m(b," argument"))S="The ".concat(b," ").concat(B," ").concat(g(I,"type"));else{var _=y(b,".")?"property":"argument";S='The "'.concat(b,'" ').concat(_," ").concat(B," ").concat(g(I,"type"))}return S+=". Received type ".concat(typeof E)},TypeError),p("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),p("ERR_METHOD_NOT_IMPLEMENTED",function(b){return"The "+b+" method is not implemented"}),p("ERR_STREAM_PREMATURE_CLOSE","Premature close"),p("ERR_STREAM_DESTROYED",function(b){return"Cannot call "+b+" after a stream was destroyed"}),p("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),p("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),p("ERR_STREAM_WRITE_AFTER_END","write after end"),p("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),p("ERR_UNKNOWN_ENCODING",function(b){return"Unknown encoding: "+b},TypeError),p("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),c.exports.codes=d},{}],478:[function(a,c,u){(function(h){(function(){var d=Object.keys||function(B){var S=[];for(var _ in B)S.push(_);return S};c.exports=b;var p=a("./_stream_readable"),g=a("./_stream_writable");a("inherits")(b,p);for(var A=d(g.prototype),m=0;m<A.length;m++){var y=A[m];b.prototype[y]||(b.prototype[y]=g.prototype[y])}function b(B){if(!(this instanceof b))return new b(B);p.call(this,B),g.call(this,B),this.allowHalfOpen=!0,B&&(B.readable===!1&&(this.readable=!1),B.writable===!1&&(this.writable=!1),B.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",I)))}function I(){this._writableState.ended||h.nextTick(E,this)}function E(B){B.end()}Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(b.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(b.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(b.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(B){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=B,this._writableState.destroyed=B)}})}).call(this)}).call(this,a("_process"))},{"./_stream_readable":480,"./_stream_writable":482,_process:467,inherits:440}],479:[function(a,c,u){c.exports=d;var h=a("./_stream_transform");function d(p){if(!(this instanceof d))return new d(p);h.call(this,p)}a("inherits")(d,h),d.prototype._transform=function(p,g,A){A(null,p)}},{"./_stream_transform":481,inherits:440}],480:[function(a,c,u){(function(h,d){(function(){var p;c.exports=Z,Z.ReadableState=we,a("events").EventEmitter;var g=function(Me,Ke){return Me.listeners(Ke).length},A=a("./internal/streams/stream"),m=a("buffer").Buffer,y=(d!==void 0?d:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function b(Me){return m.from(Me)}function I(Me){return m.isBuffer(Me)||Me instanceof y}var E,B=a("util");E=B&&B.debuglog?B.debuglog("stream"):function(){};var S,_,D,T=a("./internal/streams/buffer_list"),F=a("./internal/streams/destroy"),N=a("./internal/streams/state").getHighWaterMark,H=a("../errors").codes,W=H.ERR_INVALID_ARG_TYPE,V=H.ERR_STREAM_PUSH_AFTER_EOF,te=H.ERR_METHOD_NOT_IMPLEMENTED,ue=H.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;a("inherits")(Z,A);var fe=F.errorOrDestroy,de=["error","close","destroy","pause","resume"];function Ae(Me,Ke,Rt){if(typeof Me.prependListener=="function")return Me.prependListener(Ke,Rt);Me._events&&Me._events[Ke]?Array.isArray(Me._events[Ke])?Me._events[Ke].unshift(Rt):Me._events[Ke]=[Rt,Me._events[Ke]]:Me.on(Ke,Rt)}function we(Me,Ke,Rt){p=p||a("./_stream_duplex"),Me=Me||{},typeof Rt!="boolean"&&(Rt=Ke instanceof p),this.objectMode=!!Me.objectMode,Rt&&(this.objectMode=this.objectMode||!!Me.readableObjectMode),this.highWaterMark=N(this,Me,"readableHighWaterMark",Rt),this.buffer=new T,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=Me.emitClose!==!1,this.autoDestroy=!!Me.autoDestroy,this.destroyed=!1,this.defaultEncoding=Me.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Me.encoding&&(S||(S=a("string_decoder/").StringDecoder),this.decoder=new S(Me.encoding),this.encoding=Me.encoding)}function Z(Me){if(p=p||a("./_stream_duplex"),!(this instanceof Z))return new Z(Me);var Ke=this instanceof p;this._readableState=new we(Me,this,Ke),this.readable=!0,Me&&(typeof Me.read=="function"&&(this._read=Me.read),typeof Me.destroy=="function"&&(this._destroy=Me.destroy)),A.call(this)}function ne(Me,Ke,Rt,Ie,Re){E("readableAddChunk",Ke);var qe,pt=Me._readableState;if(Ke===null)pt.reading=!1,se(Me,pt);else if(Re||(qe=J(pt,Ke)),qe)fe(Me,qe);else if(pt.objectMode||Ke&&Ke.length>0)if(typeof Ke=="string"||pt.objectMode||Object.getPrototypeOf(Ke)===m.prototype||(Ke=b(Ke)),Ie)pt.endEmitted?fe(Me,new ue):j(Me,pt,Ke,!0);else if(pt.ended)fe(Me,new V);else{if(pt.destroyed)return!1;pt.reading=!1,pt.decoder&&!Rt?(Ke=pt.decoder.write(Ke),pt.objectMode||Ke.length!==0?j(Me,pt,Ke,!1):ae(Me,pt)):j(Me,pt,Ke,!1)}else Ie||(pt.reading=!1,ae(Me,pt));return!pt.ended&&(pt.length<pt.highWaterMark||pt.length===0)}function j(Me,Ke,Rt,Ie){Ke.flowing&&Ke.length===0&&!Ke.sync?(Ke.awaitDrain=0,Me.emit("data",Rt)):(Ke.length+=Ke.objectMode?1:Rt.length,Ie?Ke.buffer.unshift(Rt):Ke.buffer.push(Rt),Ke.needReadable&&oe(Me)),ae(Me,Ke)}function J(Me,Ke){var Rt;return I(Ke)||typeof Ke=="string"||Ke===void 0||Me.objectMode||(Rt=new W("chunk",["string","Buffer","Uint8Array"],Ke)),Rt}Object.defineProperty(Z.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(Me){this._readableState&&(this._readableState.destroyed=Me)}}),Z.prototype.destroy=F.destroy,Z.prototype._undestroy=F.undestroy,Z.prototype._destroy=function(Me,Ke){Ke(Me)},Z.prototype.push=function(Me,Ke){var Rt,Ie=this._readableState;return Ie.objectMode?Rt=!0:typeof Me=="string"&&((Ke=Ke||Ie.defaultEncoding)!==Ie.encoding&&(Me=m.from(Me,Ke),Ke=""),Rt=!0),ne(this,Me,Ke,!1,Rt)},Z.prototype.unshift=function(Me){return ne(this,Me,null,!0,!1)},Z.prototype.isPaused=function(){return this._readableState.flowing===!1},Z.prototype.setEncoding=function(Me){S||(S=a("string_decoder/").StringDecoder);var Ke=new S(Me);this._readableState.decoder=Ke,this._readableState.encoding=this._readableState.decoder.encoding;for(var Rt=this._readableState.buffer.head,Ie="";Rt!==null;)Ie+=Ke.write(Rt.data),Rt=Rt.next;return this._readableState.buffer.clear(),Ie!==""&&this._readableState.buffer.push(Ie),this._readableState.length=Ie.length,this};var q=1073741824;function z(Me){return Me>=q?Me=q:(Me--,Me|=Me>>>1,Me|=Me>>>2,Me|=Me>>>4,Me|=Me>>>8,Me|=Me>>>16,Me++),Me}function X(Me,Ke){return Me<=0||Ke.length===0&&Ke.ended?0:Ke.objectMode?1:Me!=Me?Ke.flowing&&Ke.length?Ke.buffer.head.data.length:Ke.length:(Me>Ke.highWaterMark&&(Ke.highWaterMark=z(Me)),Me<=Ke.length?Me:Ke.ended?Ke.length:(Ke.needReadable=!0,0))}function se(Me,Ke){if(E("onEofChunk"),!Ke.ended){if(Ke.decoder){var Rt=Ke.decoder.end();Rt&&Rt.length&&(Ke.buffer.push(Rt),Ke.length+=Ke.objectMode?1:Rt.length)}Ke.ended=!0,Ke.sync?oe(Me):(Ke.needReadable=!1,Ke.emittedReadable||(Ke.emittedReadable=!0,ye(Me)))}}function oe(Me){var Ke=Me._readableState;E("emitReadable",Ke.needReadable,Ke.emittedReadable),Ke.needReadable=!1,Ke.emittedReadable||(E("emitReadable",Ke.flowing),Ke.emittedReadable=!0,h.nextTick(ye,Me))}function ye(Me){var Ke=Me._readableState;E("emitReadable_",Ke.destroyed,Ke.length,Ke.ended),Ke.destroyed||!Ke.length&&!Ke.ended||(Me.emit("readable"),Ke.emittedReadable=!1),Ke.needReadable=!Ke.flowing&&!Ke.ended&&Ke.length<=Ke.highWaterMark,Ge(Me)}function ae(Me,Ke){Ke.readingMore||(Ke.readingMore=!0,h.nextTick(me,Me,Ke))}function me(Me,Ke){for(;!Ke.reading&&!Ke.ended&&(Ke.length<Ke.highWaterMark||Ke.flowing&&Ke.length===0);){var Rt=Ke.length;if(E("maybeReadMore read 0"),Me.read(0),Rt===Ke.length)break}Ke.readingMore=!1}function Fe(Me){return function(){var Ke=Me._readableState;E("pipeOnDrain",Ke.awaitDrain),Ke.awaitDrain&&Ke.awaitDrain--,Ke.awaitDrain===0&&g(Me,"data")&&(Ke.flowing=!0,Ge(Me))}}function _e(Me){var Ke=Me._readableState;Ke.readableListening=Me.listenerCount("readable")>0,Ke.resumeScheduled&&!Ke.paused?Ke.flowing=!0:Me.listenerCount("data")>0&&Me.resume()}function rt(Me){E("readable nexttick read 0"),Me.read(0)}function et(Me,Ke){Ke.resumeScheduled||(Ke.resumeScheduled=!0,h.nextTick(st,Me,Ke))}function st(Me,Ke){E("resume",Ke.reading),Ke.reading||Me.read(0),Ke.resumeScheduled=!1,Me.emit("resume"),Ge(Me),Ke.flowing&&!Ke.reading&&Me.read(0)}function Ge(Me){var Ke=Me._readableState;for(E("flow",Ke.flowing);Ke.flowing&&Me.read()!==null;);}function Be(Me,Ke){return Ke.length===0?null:(Ke.objectMode?Rt=Ke.buffer.shift():!Me||Me>=Ke.length?(Rt=Ke.decoder?Ke.buffer.join(""):Ke.buffer.length===1?Ke.buffer.first():Ke.buffer.concat(Ke.length),Ke.buffer.clear()):Rt=Ke.buffer.consume(Me,Ke.decoder),Rt);var Rt}function Te(Me){var Ke=Me._readableState;E("endReadable",Ke.endEmitted),Ke.endEmitted||(Ke.ended=!0,h.nextTick(je,Ke,Me))}function je(Me,Ke){if(E("endReadableNT",Me.endEmitted,Me.length),!Me.endEmitted&&Me.length===0&&(Me.endEmitted=!0,Ke.readable=!1,Ke.emit("end"),Me.autoDestroy)){var Rt=Ke._writableState;(!Rt||Rt.autoDestroy&&Rt.finished)&&Ke.destroy()}}function lt(Me,Ke){for(var Rt=0,Ie=Me.length;Rt<Ie;Rt++)if(Me[Rt]===Ke)return Rt;return-1}Z.prototype.read=function(Me){E("read",Me),Me=parseInt(Me,10);var Ke=this._readableState,Rt=Me;if(Me!==0&&(Ke.emittedReadable=!1),Me===0&&Ke.needReadable&&((Ke.highWaterMark!==0?Ke.length>=Ke.highWaterMark:Ke.length>0)||Ke.ended))return E("read: emitReadable",Ke.length,Ke.ended),Ke.length===0&&Ke.ended?Te(this):oe(this),null;if((Me=X(Me,Ke))===0&&Ke.ended)return Ke.length===0&&Te(this),null;var Ie,Re=Ke.needReadable;return E("need readable",Re),(Ke.length===0||Ke.length-Me<Ke.highWaterMark)&&E("length less than watermark",Re=!0),Ke.ended||Ke.reading?E("reading or ended",Re=!1):Re&&(E("do read"),Ke.reading=!0,Ke.sync=!0,Ke.length===0&&(Ke.needReadable=!0),this._read(Ke.highWaterMark),Ke.sync=!1,Ke.reading||(Me=X(Rt,Ke))),(Ie=Me>0?Be(Me,Ke):null)===null?(Ke.needReadable=Ke.length<=Ke.highWaterMark,Me=0):(Ke.length-=Me,Ke.awaitDrain=0),Ke.length===0&&(Ke.ended||(Ke.needReadable=!0),Rt!==Me&&Ke.ended&&Te(this)),Ie!==null&&this.emit("data",Ie),Ie},Z.prototype._read=function(Me){fe(this,new te("_read()"))},Z.prototype.pipe=function(Me,Ke){var Rt=this,Ie=this._readableState;switch(Ie.pipesCount){case 0:Ie.pipes=Me;break;case 1:Ie.pipes=[Ie.pipes,Me];break;default:Ie.pipes.push(Me)}Ie.pipesCount+=1,E("pipe count=%d opts=%j",Ie.pipesCount,Ke);var Re=Ke&&Ke.end===!1||Me===h.stdout||Me===h.stderr?Ot:pt;function qe(He,Je){E("onunpipe"),He===Rt&&Je&&Je.hasUnpiped===!1&&(Je.hasUnpiped=!0,_t())}function pt(){E("onend"),Me.end()}Ie.endEmitted?h.nextTick(Re):Rt.once("end",Re),Me.on("unpipe",qe);var Lt=Fe(Rt);Me.on("drain",Lt);var Qe=!1;function _t(){E("cleanup"),Me.removeListener("close",$e),Me.removeListener("finish",nt),Me.removeListener("drain",Lt),Me.removeListener("error",Ze),Me.removeListener("unpipe",qe),Rt.removeListener("end",pt),Rt.removeListener("end",Ot),Rt.removeListener("data",Ft),Qe=!0,!Ie.awaitDrain||Me._writableState&&!Me._writableState.needDrain||Lt()}function Ft(He){E("ondata");var Je=Me.write(He);E("dest.write",Je),Je===!1&&((Ie.pipesCount===1&&Ie.pipes===Me||Ie.pipesCount>1&&lt(Ie.pipes,Me)!==-1)&&!Qe&&(E("false write response, pause",Ie.awaitDrain),Ie.awaitDrain++),Rt.pause())}function Ze(He){E("onerror",He),Ot(),Me.removeListener("error",Ze),g(Me,"error")===0&&fe(Me,He)}function $e(){Me.removeListener("finish",nt),Ot()}function nt(){E("onfinish"),Me.removeListener("close",$e),Ot()}function Ot(){E("unpipe"),Rt.unpipe(Me)}return Rt.on("data",Ft),Ae(Me,"error",Ze),Me.once("close",$e),Me.once("finish",nt),Me.emit("pipe",Rt),Ie.flowing||(E("pipe resume"),Rt.resume()),Me},Z.prototype.unpipe=function(Me){var Ke=this._readableState,Rt={hasUnpiped:!1};if(Ke.pipesCount===0)return this;if(Ke.pipesCount===1)return Me&&Me!==Ke.pipes||(Me||(Me=Ke.pipes),Ke.pipes=null,Ke.pipesCount=0,Ke.flowing=!1,Me&&Me.emit("unpipe",this,Rt)),this;if(!Me){var Ie=Ke.pipes,Re=Ke.pipesCount;Ke.pipes=null,Ke.pipesCount=0,Ke.flowing=!1;for(var qe=0;qe<Re;qe++)Ie[qe].emit("unpipe",this,{hasUnpiped:!1});return this}var pt=lt(Ke.pipes,Me);return pt===-1||(Ke.pipes.splice(pt,1),Ke.pipesCount-=1,Ke.pipesCount===1&&(Ke.pipes=Ke.pipes[0]),Me.emit("unpipe",this,Rt)),this},Z.prototype.on=function(Me,Ke){var Rt=A.prototype.on.call(this,Me,Ke),Ie=this._readableState;return Me==="data"?(Ie.readableListening=this.listenerCount("readable")>0,Ie.flowing!==!1&&this.resume()):Me==="readable"&&(Ie.endEmitted||Ie.readableListening||(Ie.readableListening=Ie.needReadable=!0,Ie.flowing=!1,Ie.emittedReadable=!1,E("on readable",Ie.length,Ie.reading),Ie.length?oe(this):Ie.reading||h.nextTick(rt,this))),Rt},Z.prototype.addListener=Z.prototype.on,Z.prototype.removeListener=function(Me,Ke){var Rt=A.prototype.removeListener.call(this,Me,Ke);return Me==="readable"&&h.nextTick(_e,this),Rt},Z.prototype.removeAllListeners=function(Me){var Ke=A.prototype.removeAllListeners.apply(this,arguments);return Me!=="readable"&&Me!==void 0||h.nextTick(_e,this),Ke},Z.prototype.resume=function(){var Me=this._readableState;return Me.flowing||(E("resume"),Me.flowing=!Me.readableListening,et(this,Me)),Me.paused=!1,this},Z.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},Z.prototype.wrap=function(Me){var Ke=this,Rt=this._readableState,Ie=!1;for(var Re in Me.on("end",function(){if(E("wrapped end"),Rt.decoder&&!Rt.ended){var pt=Rt.decoder.end();pt&&pt.length&&Ke.push(pt)}Ke.push(null)}),Me.on("data",function(pt){E("wrapped data"),Rt.decoder&&(pt=Rt.decoder.write(pt)),Rt.objectMode&&pt==null||(Rt.objectMode||pt&&pt.length)&&(Ke.push(pt)||(Ie=!0,Me.pause()))}),Me)this[Re]===void 0&&typeof Me[Re]=="function"&&(this[Re]=function(pt){return function(){return Me[pt].apply(Me,arguments)}}(Re));for(var qe=0;qe<de.length;qe++)Me.on(de[qe],this.emit.bind(this,de[qe]));return this._read=function(pt){E("wrapped _read",pt),Ie&&(Ie=!1,Me.resume())},this},typeof Symbol=="function"&&(Z.prototype[Symbol.asyncIterator]=function(){return _===void 0&&(_=a("./internal/streams/async_iterator")),_(this)}),Object.defineProperty(Z.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Z.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Z.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Me){this._readableState&&(this._readableState.flowing=Me)}}),Z._fromList=Be,Object.defineProperty(Z.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(Z.from=function(Me,Ke){return D===void 0&&(D=a("./internal/streams/from")),D(Z,Me,Ke)})}).call(this)}).call(this,a("_process"),Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/async_iterator":483,"./internal/streams/buffer_list":484,"./internal/streams/destroy":485,"./internal/streams/from":487,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:220,events:422,inherits:440,"string_decoder/":522,util:188}],481:[function(a,c,u){c.exports=b;var h=a("../errors").codes,d=h.ERR_METHOD_NOT_IMPLEMENTED,p=h.ERR_MULTIPLE_CALLBACK,g=h.ERR_TRANSFORM_ALREADY_TRANSFORMING,A=h.ERR_TRANSFORM_WITH_LENGTH_0,m=a("./_stream_duplex");function y(B,S){var _=this._transformState;_.transforming=!1;var D=_.writecb;if(D===null)return this.emit("error",new p);_.writechunk=null,_.writecb=null,S!=null&&this.push(S),D(B);var T=this._readableState;T.reading=!1,(T.needReadable||T.length<T.highWaterMark)&&this._read(T.highWaterMark)}function b(B){if(!(this instanceof b))return new b(B);m.call(this,B),this._transformState={afterTransform:y.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,B&&(typeof B.transform=="function"&&(this._transform=B.transform),typeof B.flush=="function"&&(this._flush=B.flush)),this.on("prefinish",I)}function I(){var B=this;typeof this._flush!="function"||this._readableState.destroyed?E(this,null,null):this._flush(function(S,_){E(B,S,_)})}function E(B,S,_){if(S)return B.emit("error",S);if(_!=null&&B.push(_),B._writableState.length)throw new A;if(B._transformState.transforming)throw new g;return B.push(null)}a("inherits")(b,m),b.prototype.push=function(B,S){return this._transformState.needTransform=!1,m.prototype.push.call(this,B,S)},b.prototype._transform=function(B,S,_){_(new d("_transform()"))},b.prototype._write=function(B,S,_){var D=this._transformState;if(D.writecb=_,D.writechunk=B,D.writeencoding=S,!D.transforming){var T=this._readableState;(D.needTransform||T.needReadable||T.length<T.highWaterMark)&&this._read(T.highWaterMark)}},b.prototype._read=function(B){var S=this._transformState;S.writechunk===null||S.transforming?S.needTransform=!0:(S.transforming=!0,this._transform(S.writechunk,S.writeencoding,S.afterTransform))},b.prototype._destroy=function(B,S){m.prototype._destroy.call(this,B,function(_){S(_)})}},{"../errors":477,"./_stream_duplex":478,inherits:440}],482:[function(a,c,u){(function(h,d){(function(){function p(Ge){var Be=this;this.next=null,this.entry=null,this.finish=function(){st(Be,Ge)}}var g;c.exports=we,we.WritableState=Ae;var A={deprecate:a("util-deprecate")},m=a("./internal/streams/stream"),y=a("buffer").Buffer,b=(d!==void 0?d:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function I(Ge){return y.from(Ge)}function E(Ge){return y.isBuffer(Ge)||Ge instanceof b}var B,S=a("./internal/streams/destroy"),_=a("./internal/streams/state").getHighWaterMark,D=a("../errors").codes,T=D.ERR_INVALID_ARG_TYPE,F=D.ERR_METHOD_NOT_IMPLEMENTED,N=D.ERR_MULTIPLE_CALLBACK,H=D.ERR_STREAM_CANNOT_PIPE,W=D.ERR_STREAM_DESTROYED,V=D.ERR_STREAM_NULL_VALUES,te=D.ERR_STREAM_WRITE_AFTER_END,ue=D.ERR_UNKNOWN_ENCODING,fe=S.errorOrDestroy;function de(){}function Ae(Ge,Be,Te){g=g||a("./_stream_duplex"),Ge=Ge||{},typeof Te!="boolean"&&(Te=Be instanceof g),this.objectMode=!!Ge.objectMode,Te&&(this.objectMode=this.objectMode||!!Ge.writableObjectMode),this.highWaterMark=_(this,Ge,"writableHighWaterMark",Te),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var je=Ge.decodeStrings===!1;this.decodeStrings=!je,this.defaultEncoding=Ge.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(lt){se(Be,lt)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Ge.emitClose!==!1,this.autoDestroy=!!Ge.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new p(this)}function we(Ge){var Be=this instanceof(g=g||a("./_stream_duplex"));if(!Be&&!B.call(we,this))return new we(Ge);this._writableState=new Ae(Ge,this,Be),this.writable=!0,Ge&&(typeof Ge.write=="function"&&(this._write=Ge.write),typeof Ge.writev=="function"&&(this._writev=Ge.writev),typeof Ge.destroy=="function"&&(this._destroy=Ge.destroy),typeof Ge.final=="function"&&(this._final=Ge.final)),m.call(this)}function Z(Ge,Be){var Te=new te;fe(Ge,Te),h.nextTick(Be,Te)}function ne(Ge,Be,Te,je){var lt;return Te===null?lt=new V:typeof Te=="string"||Be.objectMode||(lt=new T("chunk",["string","Buffer"],Te)),!lt||(fe(Ge,lt),h.nextTick(je,lt),!1)}function j(Ge,Be,Te){return Ge.objectMode||Ge.decodeStrings===!1||typeof Be!="string"||(Be=y.from(Be,Te)),Be}function J(Ge,Be,Te,je,lt,Me){if(!Te){var Ke=j(Be,je,lt);je!==Ke&&(Te=!0,lt="buffer",je=Ke)}var Rt=Be.objectMode?1:je.length;Be.length+=Rt;var Ie=Be.length<Be.highWaterMark;if(Ie||(Be.needDrain=!0),Be.writing||Be.corked){var Re=Be.lastBufferedRequest;Be.lastBufferedRequest={chunk:je,encoding:lt,isBuf:Te,callback:Me,next:null},Re?Re.next=Be.lastBufferedRequest:Be.bufferedRequest=Be.lastBufferedRequest,Be.bufferedRequestCount+=1}else q(Ge,Be,!1,Rt,je,lt,Me);return Ie}function q(Ge,Be,Te,je,lt,Me,Ke){Be.writelen=je,Be.writecb=Ke,Be.writing=!0,Be.sync=!0,Be.destroyed?Be.onwrite(new W("write")):Te?Ge._writev(lt,Be.onwrite):Ge._write(lt,Me,Be.onwrite),Be.sync=!1}function z(Ge,Be,Te,je,lt){--Be.pendingcb,Te?(h.nextTick(lt,je),h.nextTick(rt,Ge,Be),Ge._writableState.errorEmitted=!0,fe(Ge,je)):(lt(je),Ge._writableState.errorEmitted=!0,fe(Ge,je),rt(Ge,Be))}function X(Ge){Ge.writing=!1,Ge.writecb=null,Ge.length-=Ge.writelen,Ge.writelen=0}function se(Ge,Be){var Te=Ge._writableState,je=Te.sync,lt=Te.writecb;if(typeof lt!="function")throw new N;if(X(Te),Be)z(Ge,Te,je,Be,lt);else{var Me=me(Te)||Ge.destroyed;Me||Te.corked||Te.bufferProcessing||!Te.bufferedRequest||ae(Ge,Te),je?h.nextTick(oe,Ge,Te,Me,lt):oe(Ge,Te,Me,lt)}}function oe(Ge,Be,Te,je){Te||ye(Ge,Be),Be.pendingcb--,je(),rt(Ge,Be)}function ye(Ge,Be){Be.length===0&&Be.needDrain&&(Be.needDrain=!1,Ge.emit("drain"))}function ae(Ge,Be){Be.bufferProcessing=!0;var Te=Be.bufferedRequest;if(Ge._writev&&Te&&Te.next){var je=Be.bufferedRequestCount,lt=new Array(je),Me=Be.corkedRequestsFree;Me.entry=Te;for(var Ke=0,Rt=!0;Te;)lt[Ke]=Te,Te.isBuf||(Rt=!1),Te=Te.next,Ke+=1;lt.allBuffers=Rt,q(Ge,Be,!0,Be.length,lt,"",Me.finish),Be.pendingcb++,Be.lastBufferedRequest=null,Me.next?(Be.corkedRequestsFree=Me.next,Me.next=null):Be.corkedRequestsFree=new p(Be),Be.bufferedRequestCount=0}else{for(;Te;){var Ie=Te.chunk,Re=Te.encoding,qe=Te.callback;if(q(Ge,Be,!1,Be.objectMode?1:Ie.length,Ie,Re,qe),Te=Te.next,Be.bufferedRequestCount--,Be.writing)break}Te===null&&(Be.lastBufferedRequest=null)}Be.bufferedRequest=Te,Be.bufferProcessing=!1}function me(Ge){return Ge.ending&&Ge.length===0&&Ge.bufferedRequest===null&&!Ge.finished&&!Ge.writing}function Fe(Ge,Be){Ge._final(function(Te){Be.pendingcb--,Te&&fe(Ge,Te),Be.prefinished=!0,Ge.emit("prefinish"),rt(Ge,Be)})}function _e(Ge,Be){Be.prefinished||Be.finalCalled||(typeof Ge._final!="function"||Be.destroyed?(Be.prefinished=!0,Ge.emit("prefinish")):(Be.pendingcb++,Be.finalCalled=!0,h.nextTick(Fe,Ge,Be)))}function rt(Ge,Be){var Te=me(Be);if(Te&&(_e(Ge,Be),Be.pendingcb===0&&(Be.finished=!0,Ge.emit("finish"),Be.autoDestroy))){var je=Ge._readableState;(!je||je.autoDestroy&&je.endEmitted)&&Ge.destroy()}return Te}function et(Ge,Be,Te){Be.ending=!0,rt(Ge,Be),Te&&(Be.finished?h.nextTick(Te):Ge.once("finish",Te)),Be.ended=!0,Ge.writable=!1}function st(Ge,Be,Te){var je=Ge.entry;for(Ge.entry=null;je;){var lt=je.callback;Be.pendingcb--,lt(Te),je=je.next}Be.corkedRequestsFree.next=Ge}a("inherits")(we,m),Ae.prototype.getBuffer=function(){for(var Ge=this.bufferedRequest,Be=[];Ge;)Be.push(Ge),Ge=Ge.next;return Be},function(){try{Object.defineProperty(Ae.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(B=Function.prototype[Symbol.hasInstance],Object.defineProperty(we,Symbol.hasInstance,{value:function(Ge){return!!B.call(this,Ge)||this===we&&Ge&&Ge._writableState instanceof Ae}})):B=function(Ge){return Ge instanceof this},we.prototype.pipe=function(){fe(this,new H)},we.prototype.write=function(Ge,Be,Te){var je=this._writableState,lt=!1,Me=!je.objectMode&&E(Ge);return Me&&!y.isBuffer(Ge)&&(Ge=I(Ge)),typeof Be=="function"&&(Te=Be,Be=null),Me?Be="buffer":Be||(Be=je.defaultEncoding),typeof Te!="function"&&(Te=de),je.ending?Z(this,Te):(Me||ne(this,je,Ge,Te))&&(je.pendingcb++,lt=J(this,je,Me,Ge,Be,Te)),lt},we.prototype.cork=function(){this._writableState.corked++},we.prototype.uncork=function(){var Ge=this._writableState;Ge.corked&&(Ge.corked--,Ge.writing||Ge.corked||Ge.bufferProcessing||!Ge.bufferedRequest||ae(this,Ge))},we.prototype.setDefaultEncoding=function(Ge){if(typeof Ge=="string"&&(Ge=Ge.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ge+"").toLowerCase())>-1))throw new ue(Ge);return this._writableState.defaultEncoding=Ge,this},Object.defineProperty(we.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(we.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),we.prototype._write=function(Ge,Be,Te){Te(new F("_write()"))},we.prototype._writev=null,we.prototype.end=function(Ge,Be,Te){var je=this._writableState;return typeof Ge=="function"?(Te=Ge,Ge=null,Be=null):typeof Be=="function"&&(Te=Be,Be=null),Ge!=null&&this.write(Ge,Be),je.corked&&(je.corked=1,this.uncork()),je.ending||et(this,je,Te),this},Object.defineProperty(we.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(we.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(Ge){this._writableState&&(this._writableState.destroyed=Ge)}}),we.prototype.destroy=S.destroy,we.prototype._undestroy=S.undestroy,we.prototype._destroy=function(Ge,Be){Be(Ge)}}).call(this)}).call(this,a("_process"),Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/destroy":485,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:220,inherits:440,"util-deprecate":524}],483:[function(a,c,u){(function(h){(function(){var d;function p(te,ue,fe){return(ue=g(ue))in te?Object.defineProperty(te,ue,{value:fe,enumerable:!0,configurable:!0,writable:!0}):te[ue]=fe,te}function g(te){var ue=A(te,"string");return typeof ue=="symbol"?ue:String(ue)}function A(te,ue){if(typeof te!="object"||te===null)return te;var fe=te[Symbol.toPrimitive];if(fe!==void 0){var de=fe.call(te,ue);if(typeof de!="object")return de;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ue==="string"?String:Number)(te)}var m=a("./end-of-stream"),y=Symbol("lastResolve"),b=Symbol("lastReject"),I=Symbol("error"),E=Symbol("ended"),B=Symbol("lastPromise"),S=Symbol("handlePromise"),_=Symbol("stream");function D(te,ue){return{value:te,done:ue}}function T(te){var ue=te[y];if(ue!==null){var fe=te[_].read();fe!==null&&(te[B]=null,te[y]=null,te[b]=null,ue(D(fe,!1)))}}function F(te){h.nextTick(T,te)}function N(te,ue){return function(fe,de){te.then(function(){ue[E]?fe(D(void 0,!0)):ue[S](fe,de)},de)}}var H=Object.getPrototypeOf(function(){}),W=Object.setPrototypeOf((p(d={get stream(){return this[_]},next:function(){var te=this,ue=this[I];if(ue!==null)return Promise.reject(ue);if(this[E])return Promise.resolve(D(void 0,!0));if(this[_].destroyed)return new Promise(function(we,Z){h.nextTick(function(){te[I]?Z(te[I]):we(D(void 0,!0))})});var fe,de=this[B];if(de)fe=new Promise(N(de,this));else{var Ae=this[_].read();if(Ae!==null)return Promise.resolve(D(Ae,!1));fe=new Promise(this[S])}return this[B]=fe,fe}},Symbol.asyncIterator,function(){return this}),p(d,"return",function(){var te=this;return new Promise(function(ue,fe){te[_].destroy(null,function(de){de?fe(de):ue(D(void 0,!0))})})}),d),H),V=function(te){var ue,fe=Object.create(W,(p(ue={},_,{value:te,writable:!0}),p(ue,y,{value:null,writable:!0}),p(ue,b,{value:null,writable:!0}),p(ue,I,{value:null,writable:!0}),p(ue,E,{value:te._readableState.endEmitted,writable:!0}),p(ue,S,{value:function(de,Ae){var we=fe[_].read();we?(fe[B]=null,fe[y]=null,fe[b]=null,de(D(we,!1))):(fe[y]=de,fe[b]=Ae)},writable:!0}),ue));return fe[B]=null,m(te,function(de){if(de&&de.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Ae=fe[b];return Ae!==null&&(fe[B]=null,fe[y]=null,fe[b]=null,Ae(de)),void(fe[I]=de)}var we=fe[y];we!==null&&(fe[B]=null,fe[y]=null,fe[b]=null,we(D(void 0,!0))),fe[E]=!0}),te.on("readable",F.bind(null,fe)),fe};c.exports=V}).call(this)}).call(this,a("_process"))},{"./end-of-stream":486,_process:467}],484:[function(a,c,u){function h(_,D){var T=Object.keys(_);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(_);D&&(F=F.filter(function(N){return Object.getOwnPropertyDescriptor(_,N).enumerable})),T.push.apply(T,F)}return T}function d(_){for(var D=1;D<arguments.length;D++){var T=arguments[D]!=null?arguments[D]:{};D%2?h(Object(T),!0).forEach(function(F){p(_,F,T[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(T)):h(Object(T)).forEach(function(F){Object.defineProperty(_,F,Object.getOwnPropertyDescriptor(T,F))})}return _}function p(_,D,T){return(D=y(D))in _?Object.defineProperty(_,D,{value:T,enumerable:!0,configurable:!0,writable:!0}):_[D]=T,_}function g(_,D){if(!(_ instanceof D))throw new TypeError("Cannot call a class as a function")}function A(_,D){for(var T=0;T<D.length;T++){var F=D[T];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(_,y(F.key),F)}}function m(_,D,T){return D&&A(_.prototype,D),Object.defineProperty(_,"prototype",{writable:!1}),_}function y(_){var D=b(_,"string");return typeof D=="symbol"?D:String(D)}function b(_,D){if(typeof _!="object"||_===null)return _;var T=_[Symbol.toPrimitive];if(T!==void 0){var F=T.call(_,D);if(typeof F!="object")return F;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}var I=a("buffer").Buffer,E=a("util").inspect,B=E&&E.custom||"inspect";function S(_,D,T){I.prototype.copy.call(_,D,T)}c.exports=function(){function _(){g(this,_),this.head=null,this.tail=null,this.length=0}return m(_,[{key:"push",value:function(D){var T={data:D,next:null};this.length>0?this.tail.next=T:this.head=T,this.tail=T,++this.length}},{key:"unshift",value:function(D){var T={data:D,next:this.head};this.length===0&&(this.tail=T),this.head=T,++this.length}},{key:"shift",value:function(){if(this.length!==0){var D=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,D}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(D){if(this.length===0)return"";for(var T=this.head,F=""+T.data;T=T.next;)F+=D+T.data;return F}},{key:"concat",value:function(D){if(this.length===0)return I.alloc(0);for(var T=I.allocUnsafe(D>>>0),F=this.head,N=0;F;)S(F.data,T,N),N+=F.data.length,F=F.next;return T}},{key:"consume",value:function(D,T){var F;return D<this.head.data.length?(F=this.head.data.slice(0,D),this.head.data=this.head.data.slice(D)):F=D===this.head.data.length?this.shift():T?this._getString(D):this._getBuffer(D),F}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(D){var T=this.head,F=1,N=T.data;for(D-=N.length;T=T.next;){var H=T.data,W=D>H.length?H.length:D;if(W===H.length?N+=H:N+=H.slice(0,D),(D-=W)==0){W===H.length?(++F,T.next?this.head=T.next:this.head=this.tail=null):(this.head=T,T.data=H.slice(W));break}++F}return this.length-=F,N}},{key:"_getBuffer",value:function(D){var T=I.allocUnsafe(D),F=this.head,N=1;for(F.data.copy(T),D-=F.data.length;F=F.next;){var H=F.data,W=D>H.length?H.length:D;if(H.copy(T,T.length-D,0,W),(D-=W)==0){W===H.length?(++N,F.next?this.head=F.next:this.head=this.tail=null):(this.head=F,F.data=H.slice(W));break}++N}return this.length-=N,T}},{key:B,value:function(D,T){return E(this,d(d({},T),{},{depth:0,customInspect:!1}))}}]),_}()},{buffer:220,util:188}],485:[function(a,c,u){(function(h){(function(){function d(b,I){var E=this,B=this._readableState&&this._readableState.destroyed,S=this._writableState&&this._writableState.destroyed;return B||S?(I?I(b):b&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,h.nextTick(m,this,b)):h.nextTick(m,this,b)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(b||null,function(_){!I&&_?E._writableState?E._writableState.errorEmitted?h.nextTick(g,E):(E._writableState.errorEmitted=!0,h.nextTick(p,E,_)):h.nextTick(p,E,_):I?(h.nextTick(g,E),I(_)):h.nextTick(g,E)}),this)}function p(b,I){m(b,I),g(b)}function g(b){b._writableState&&!b._writableState.emitClose||b._readableState&&!b._readableState.emitClose||b.emit("close")}function A(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function m(b,I){b.emit("error",I)}function y(b,I){var E=b._readableState,B=b._writableState;E&&E.autoDestroy||B&&B.autoDestroy?b.destroy(I):b.emit("error",I)}c.exports={destroy:d,undestroy:A,errorOrDestroy:y}}).call(this)}).call(this,a("_process"))},{_process:467}],486:[function(a,c,u){var h=a("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function d(m){var y=!1;return function(){if(!y){y=!0;for(var b=arguments.length,I=new Array(b),E=0;E<b;E++)I[E]=arguments[E];m.apply(this,I)}}}function p(){}function g(m){return m.setHeader&&typeof m.abort=="function"}function A(m,y,b){if(typeof y=="function")return A(m,null,y);y||(y={}),b=d(b||p);var I=y.readable||y.readable!==!1&&m.readable,E=y.writable||y.writable!==!1&&m.writable,B=function(){m.writable||_()},S=m._writableState&&m._writableState.finished,_=function(){E=!1,S=!0,I||b.call(m)},D=m._readableState&&m._readableState.endEmitted,T=function(){I=!1,D=!0,E||b.call(m)},F=function(W){b.call(m,W)},N=function(){var W;return I&&!D?(m._readableState&&m._readableState.ended||(W=new h),b.call(m,W)):E&&!S?(m._writableState&&m._writableState.ended||(W=new h),b.call(m,W)):void 0},H=function(){m.req.on("finish",_)};return g(m)?(m.on("complete",_),m.on("abort",N),m.req?H():m.on("request",H)):E&&!m._writableState&&(m.on("end",B),m.on("close",B)),m.on("end",T),m.on("finish",_),y.error!==!1&&m.on("error",F),m.on("close",N),function(){m.removeListener("complete",_),m.removeListener("abort",N),m.removeListener("request",H),m.req&&m.req.removeListener("finish",_),m.removeListener("end",B),m.removeListener("close",B),m.removeListener("finish",_),m.removeListener("end",T),m.removeListener("error",F),m.removeListener("close",N)}}c.exports=A},{"../../../errors":477}],487:[function(a,c,u){c.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],488:[function(a,c,u){var h;function d(_){var D=!1;return function(){D||(D=!0,_.apply(void 0,arguments))}}var p=a("../../../errors").codes,g=p.ERR_MISSING_ARGS,A=p.ERR_STREAM_DESTROYED;function m(_){if(_)throw _}function y(_){return _.setHeader&&typeof _.abort=="function"}function b(_,D,T,F){F=d(F);var N=!1;_.on("close",function(){N=!0}),h===void 0&&(h=a("./end-of-stream")),h(_,{readable:D,writable:T},function(W){if(W)return F(W);N=!0,F()});var H=!1;return function(W){if(!N&&!H)return H=!0,y(_)?_.abort():typeof _.destroy=="function"?_.destroy():void F(W||new A("pipe"))}}function I(_){_()}function E(_,D){return _.pipe(D)}function B(_){return _.length?typeof _[_.length-1]!="function"?m:_.pop():m}function S(){for(var _=arguments.length,D=new Array(_),T=0;T<_;T++)D[T]=arguments[T];var F,N=B(D);if(Array.isArray(D[0])&&(D=D[0]),D.length<2)throw new g("streams");var H=D.map(function(W,V){var te=V<D.length-1;return b(W,te,V>0,function(ue){F||(F=ue),ue&&H.forEach(I),te||(H.forEach(I),N(F))})});return D.reduce(E)}c.exports=S},{"../../../errors":477,"./end-of-stream":486}],489:[function(a,c,u){var h=a("../../../errors").codes.ERR_INVALID_OPT_VALUE;function d(g,A,m){return g.highWaterMark!=null?g.highWaterMark:A?g[m]:null}function p(g,A,m,y){var b=d(A,y,m);if(b!=null){if(!isFinite(b)||Math.floor(b)!==b||b<0)throw new h(y?m:"highWaterMark",b);return Math.floor(b)}return g.objectMode?16:16384}c.exports={getHighWaterMark:p}},{"../../../errors":477}],490:[function(a,c,u){c.exports=a("events").EventEmitter},{events:422}],491:[function(a,c,u){(u=c.exports=a("./lib/_stream_readable.js")).Stream=u,u.Readable=u,u.Writable=a("./lib/_stream_writable.js"),u.Duplex=a("./lib/_stream_duplex.js"),u.Transform=a("./lib/_stream_transform.js"),u.PassThrough=a("./lib/_stream_passthrough.js"),u.finished=a("./lib/internal/streams/end-of-stream.js"),u.pipeline=a("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":478,"./lib/_stream_passthrough.js":479,"./lib/_stream_readable.js":480,"./lib/_stream_transform.js":481,"./lib/_stream_writable.js":482,"./lib/internal/streams/end-of-stream.js":486,"./lib/internal/streams/pipeline.js":488}],492:[function(a,c,u){var h=function(d){var p,g=Object.prototype,A=g.hasOwnProperty,m=Object.defineProperty||function(oe,ye,ae){oe[ye]=ae.value},y=typeof Symbol=="function"?Symbol:{},b=y.iterator||"@@iterator",I=y.asyncIterator||"@@asyncIterator",E=y.toStringTag||"@@toStringTag";function B(oe,ye,ae){return Object.defineProperty(oe,ye,{value:ae,enumerable:!0,configurable:!0,writable:!0}),oe[ye]}try{B({},"")}catch{B=function(ye,ae,me){return ye[ae]=me}}function S(oe,ye,ae,me){var Fe=ye&&ye.prototype instanceof W?ye:W,_e=Object.create(Fe.prototype),rt=new z(me||[]);return m(_e,"_invoke",{value:ne(oe,ae,rt)}),_e}function _(oe,ye,ae){try{return{type:"normal",arg:oe.call(ye,ae)}}catch(me){return{type:"throw",arg:me}}}d.wrap=S;var D="suspendedStart",T="suspendedYield",F="executing",N="completed",H={};function W(){}function V(){}function te(){}var ue={};B(ue,b,function(){return this});var fe=Object.getPrototypeOf,de=fe&&fe(fe(X([])));de&&de!==g&&A.call(de,b)&&(ue=de);var Ae=te.prototype=W.prototype=Object.create(ue);function we(oe){["next","throw","return"].forEach(function(ye){B(oe,ye,function(ae){return this._invoke(ye,ae)})})}function Z(oe,ye){function ae(_e,rt,et,st){var Ge=_(oe[_e],oe,rt);if(Ge.type!=="throw"){var Be=Ge.arg,Te=Be.value;return Te&&typeof Te=="object"&&A.call(Te,"__await")?ye.resolve(Te.__await).then(function(je){ae("next",je,et,st)},function(je){ae("throw",je,et,st)}):ye.resolve(Te).then(function(je){Be.value=je,et(Be)},function(je){return ae("throw",je,et,st)})}st(Ge.arg)}var me;function Fe(_e,rt){function et(){return new ye(function(st,Ge){ae(_e,rt,st,Ge)})}return me=me?me.then(et,et):et()}m(this,"_invoke",{value:Fe})}function ne(oe,ye,ae){var me=D;return function(Fe,_e){if(me===F)throw new Error("Generator is already running");if(me===N){if(Fe==="throw")throw _e;return se()}for(ae.method=Fe,ae.arg=_e;;){var rt=ae.delegate;if(rt){var et=j(rt,ae);if(et){if(et===H)continue;return et}}if(ae.method==="next")ae.sent=ae._sent=ae.arg;else if(ae.method==="throw"){if(me===D)throw me=N,ae.arg;ae.dispatchException(ae.arg)}else ae.method==="return"&&ae.abrupt("return",ae.arg);me=F;var st=_(oe,ye,ae);if(st.type==="normal"){if(me=ae.done?N:T,st.arg===H)continue;return{value:st.arg,done:ae.done}}st.type==="throw"&&(me=N,ae.method="throw",ae.arg=st.arg)}}}function j(oe,ye){var ae=ye.method,me=oe.iterator[ae];if(me===p)return ye.delegate=null,ae==="throw"&&oe.iterator.return&&(ye.method="return",ye.arg=p,j(oe,ye),ye.method==="throw")||ae!=="return"&&(ye.method="throw",ye.arg=new TypeError("The iterator does not provide a '"+ae+"' method")),H;var Fe=_(me,oe.iterator,ye.arg);if(Fe.type==="throw")return ye.method="throw",ye.arg=Fe.arg,ye.delegate=null,H;var _e=Fe.arg;return _e?_e.done?(ye[oe.resultName]=_e.value,ye.next=oe.nextLoc,ye.method!=="return"&&(ye.method="next",ye.arg=p),ye.delegate=null,H):_e:(ye.method="throw",ye.arg=new TypeError("iterator result is not an object"),ye.delegate=null,H)}function J(oe){var ye={tryLoc:oe[0]};1 in oe&&(ye.catchLoc=oe[1]),2 in oe&&(ye.finallyLoc=oe[2],ye.afterLoc=oe[3]),this.tryEntries.push(ye)}function q(oe){var ye=oe.completion||{};ye.type="normal",delete ye.arg,oe.completion=ye}function z(oe){this.tryEntries=[{tryLoc:"root"}],oe.forEach(J,this),this.reset(!0)}function X(oe){if(oe){var ye=oe[b];if(ye)return ye.call(oe);if(typeof oe.next=="function")return oe;if(!isNaN(oe.length)){var ae=-1,me=function Fe(){for(;++ae<oe.length;)if(A.call(oe,ae))return Fe.value=oe[ae],Fe.done=!1,Fe;return Fe.value=p,Fe.done=!0,Fe};return me.next=me}}return{next:se}}function se(){return{value:p,done:!0}}return V.prototype=te,m(Ae,"constructor",{value:te,configurable:!0}),m(te,"constructor",{value:V,configurable:!0}),V.displayName=B(te,E,"GeneratorFunction"),d.isGeneratorFunction=function(oe){var ye=typeof oe=="function"&&oe.constructor;return!!ye&&(ye===V||(ye.displayName||ye.name)==="GeneratorFunction")},d.mark=function(oe){return Object.setPrototypeOf?Object.setPrototypeOf(oe,te):(oe.__proto__=te,B(oe,E,"GeneratorFunction")),oe.prototype=Object.create(Ae),oe},d.awrap=function(oe){return{__await:oe}},we(Z.prototype),B(Z.prototype,I,function(){return this}),d.AsyncIterator=Z,d.async=function(oe,ye,ae,me,Fe){Fe===void 0&&(Fe=Promise);var _e=new Z(S(oe,ye,ae,me),Fe);return d.isGeneratorFunction(ye)?_e:_e.next().then(function(rt){return rt.done?rt.value:_e.next()})},we(Ae),B(Ae,E,"Generator"),B(Ae,b,function(){return this}),B(Ae,"toString",function(){return"[object Generator]"}),d.keys=function(oe){var ye=Object(oe),ae=[];for(var me in ye)ae.push(me);return ae.reverse(),function Fe(){for(;ae.length;){var _e=ae.pop();if(_e in ye)return Fe.value=_e,Fe.done=!1,Fe}return Fe.done=!0,Fe}},d.values=X,z.prototype={constructor:z,reset:function(oe){if(this.prev=0,this.next=0,this.sent=this._sent=p,this.done=!1,this.delegate=null,this.method="next",this.arg=p,this.tryEntries.forEach(q),!oe)for(var ye in this)ye.charAt(0)==="t"&&A.call(this,ye)&&!isNaN(+ye.slice(1))&&(this[ye]=p)},stop:function(){this.done=!0;var oe=this.tryEntries[0].completion;if(oe.type==="throw")throw oe.arg;return this.rval},dispatchException:function(oe){if(this.done)throw oe;var ye=this;function ae(st,Ge){return _e.type="throw",_e.arg=oe,ye.next=st,Ge&&(ye.method="next",ye.arg=p),!!Ge}for(var me=this.tryEntries.length-1;me>=0;--me){var Fe=this.tryEntries[me],_e=Fe.completion;if(Fe.tryLoc==="root")return ae("end");if(Fe.tryLoc<=this.prev){var rt=A.call(Fe,"catchLoc"),et=A.call(Fe,"finallyLoc");if(rt&&et){if(this.prev<Fe.catchLoc)return ae(Fe.catchLoc,!0);if(this.prev<Fe.finallyLoc)return ae(Fe.finallyLoc)}else if(rt){if(this.prev<Fe.catchLoc)return ae(Fe.catchLoc,!0)}else{if(!et)throw new Error("try statement without catch or finally");if(this.prev<Fe.finallyLoc)return ae(Fe.finallyLoc)}}}},abrupt:function(oe,ye){for(var ae=this.tryEntries.length-1;ae>=0;--ae){var me=this.tryEntries[ae];if(me.tryLoc<=this.prev&&A.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var Fe=me;break}}Fe&&(oe==="break"||oe==="continue")&&Fe.tryLoc<=ye&&ye<=Fe.finallyLoc&&(Fe=null);var _e=Fe?Fe.completion:{};return _e.type=oe,_e.arg=ye,Fe?(this.method="next",this.next=Fe.finallyLoc,H):this.complete(_e)},complete:function(oe,ye){if(oe.type==="throw")throw oe.arg;return oe.type==="break"||oe.type==="continue"?this.next=oe.arg:oe.type==="return"?(this.rval=this.arg=oe.arg,this.method="return",this.next="end"):oe.type==="normal"&&ye&&(this.next=ye),H},finish:function(oe){for(var ye=this.tryEntries.length-1;ye>=0;--ye){var ae=this.tryEntries[ye];if(ae.finallyLoc===oe)return this.complete(ae.completion,ae.afterLoc),q(ae),H}},catch:function(oe){for(var ye=this.tryEntries.length-1;ye>=0;--ye){var ae=this.tryEntries[ye];if(ae.tryLoc===oe){var me=ae.completion;if(me.type==="throw"){var Fe=me.arg;q(ae)}return Fe}}throw new Error("illegal catch attempt")},delegateYield:function(oe,ye,ae){return this.delegate={iterator:X(oe),resultName:ye,nextLoc:ae},this.method==="next"&&(this.arg=p),H}},d}(typeof c=="object"?c.exports:{});try{regeneratorRuntime=h}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=h:Function("r","regeneratorRuntime = r")(h)}},{}],493:[function(a,c,u){var h=a("buffer").Buffer,d=a("inherits"),p=a("hash-base"),g=new Array(16),A=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],y=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],I=[0,1518500249,1859775393,2400959708,2840853838],E=[1352829926,1548603684,1836072691,2053994217,0];function B(){p.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function S(H,W){return H<<W|H>>>32-W}function _(H,W,V,te,ue,fe,de,Ae){return S(H+(W^V^te)+fe+de|0,Ae)+ue|0}function D(H,W,V,te,ue,fe,de,Ae){return S(H+(W&V|~W&te)+fe+de|0,Ae)+ue|0}function T(H,W,V,te,ue,fe,de,Ae){return S(H+((W|~V)^te)+fe+de|0,Ae)+ue|0}function F(H,W,V,te,ue,fe,de,Ae){return S(H+(W&te|V&~te)+fe+de|0,Ae)+ue|0}function N(H,W,V,te,ue,fe,de,Ae){return S(H+(W^(V|~te))+fe+de|0,Ae)+ue|0}d(B,p),B.prototype._update=function(){for(var H=g,W=0;W<16;++W)H[W]=this._block.readInt32LE(4*W);for(var V=0|this._a,te=0|this._b,ue=0|this._c,fe=0|this._d,de=0|this._e,Ae=0|this._a,we=0|this._b,Z=0|this._c,ne=0|this._d,j=0|this._e,J=0;J<80;J+=1){var q,z;J<16?(q=_(V,te,ue,fe,de,H[A[J]],I[0],y[J]),z=N(Ae,we,Z,ne,j,H[m[J]],E[0],b[J])):J<32?(q=D(V,te,ue,fe,de,H[A[J]],I[1],y[J]),z=F(Ae,we,Z,ne,j,H[m[J]],E[1],b[J])):J<48?(q=T(V,te,ue,fe,de,H[A[J]],I[2],y[J]),z=T(Ae,we,Z,ne,j,H[m[J]],E[2],b[J])):J<64?(q=F(V,te,ue,fe,de,H[A[J]],I[3],y[J]),z=D(Ae,we,Z,ne,j,H[m[J]],E[3],b[J])):(q=N(V,te,ue,fe,de,H[A[J]],I[4],y[J]),z=_(Ae,we,Z,ne,j,H[m[J]],E[4],b[J])),V=de,de=fe,fe=S(ue,10),ue=te,te=q,Ae=j,j=ne,ne=S(Z,10),Z=we,we=z}var X=this._b+ue+ne|0;this._b=this._c+fe+j|0,this._c=this._d+de+Ae|0,this._d=this._e+V+we|0,this._e=this._a+te+Z|0,this._a=X},B.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var H=h.alloc?h.alloc(20):new h(20);return H.writeInt32LE(this._a,0),H.writeInt32LE(this._b,4),H.writeInt32LE(this._c,8),H.writeInt32LE(this._d,12),H.writeInt32LE(this._e,16),H},c.exports=B},{buffer:220,"hash-base":425,inherits:440}],494:[function(a,c,u){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var h=a("buffer"),d=h.Buffer;function p(A,m){for(var y in A)m[y]=A[y]}function g(A,m,y){return d(A,m,y)}d.from&&d.alloc&&d.allocUnsafe&&d.allocUnsafeSlow?c.exports=h:(p(h,u),u.Buffer=g),g.prototype=Object.create(d.prototype),p(d,g),g.from=function(A,m,y){if(typeof A=="number")throw new TypeError("Argument must not be a number");return d(A,m,y)},g.alloc=function(A,m,y){if(typeof A!="number")throw new TypeError("Argument must be a number");var b=d(A);return m!==void 0?typeof y=="string"?b.fill(m,y):b.fill(m):b.fill(0),b},g.allocUnsafe=function(A){if(typeof A!="number")throw new TypeError("Argument must be a number");return d(A)},g.allocUnsafeSlow=function(A){if(typeof A!="number")throw new TypeError("Argument must be a number");return h.SlowBuffer(A)}},{buffer:220}],495:[function(a,c,u){(function(h){(function(){var d,p=a("buffer"),g=p.Buffer,A={};for(d in p)p.hasOwnProperty(d)&&d!=="SlowBuffer"&&d!=="Buffer"&&(A[d]=p[d]);var m=A.Buffer={};for(d in g)g.hasOwnProperty(d)&&d!=="allocUnsafe"&&d!=="allocUnsafeSlow"&&(m[d]=g[d]);if(A.Buffer.prototype=g.prototype,m.from&&m.from!==Uint8Array.from||(m.from=function(y,b,I){if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof y);if(y&&y.length===void 0)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);return g(y,b,I)}),m.alloc||(m.alloc=function(y,b,I){if(typeof y!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof y);if(y<0||y>=2*(1<<30))throw new RangeError('The value "'+y+'" is invalid for option "size"');var E=g(y);return b&&b.length!==0?typeof I=="string"?E.fill(b,I):E.fill(b):E.fill(0),E}),!A.kStringMaxLength)try{A.kStringMaxLength=h.binding("buffer").kStringMaxLength}catch{}A.constants||(A.constants={MAX_LENGTH:A.kMaxLength},A.kStringMaxLength&&(A.constants.MAX_STRING_LENGTH=A.kStringMaxLength)),c.exports=A}).call(this)}).call(this,a("_process"))},{_process:467,buffer:220}],496:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0});var h=a("xmlchars/xml/1.0/ed5"),d=a("xmlchars/xml/1.1/ed2"),p=a("xmlchars/xmlns/1.0/ed3"),g=h.isS,A=h.isChar,m=h.isNameStartChar,y=h.isNameChar,b=h.S_LIST,I=h.NAME_RE,E=d.isChar,B=p.isNCNameStartChar,S=p.isNCNameChar,_=p.NC_NAME_RE,D="http://www.w3.org/XML/1998/namespace",T="http://www.w3.org/2000/xmlns/",F={__proto__:null,xml:D,xmlns:T},N={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},H=-1,W=-2,V=0,te=1,ue=2,fe=3,de=4,Ae=5,we=6,Z=7,ne=8,j=9,J=10,q=11,z=12,X=13,se=14,oe=15,ye=16,ae=17,me=18,Fe=19,_e=20,rt=21,et=22,st=23,Ge=24,Be=25,Te=26,je=27,lt=28,Me=29,Ke=30,Rt=31,Ie=32,Re=33,qe=34,pt=35,Lt=36,Qe=37,_t=38,Ft=39,Ze=40,$e=41,nt=42,Ot=43,He=44,Je=9,tt=10,mt=13,Xe=32,Ye=33,ot=34,yt=38,Mt=39,cr=45,$t=47,Hr=59,mr=60,sr=61,Yr=62,Mr=63,Dr=91,nn=93,Sr=133,tn=8232,Cn=function(ia){return ia===ot||ia===Mt},Jn=[ot,Mt],Rr=[].concat(Jn,[Dr,Yr]),An=[].concat(Jn,[mr,nn]),dn=[sr,Mr].concat(Ni(b)),br=[].concat(Ni(b),[Yr,yt,mr]);function gn(ia,ht,Pt){switch(ht){case"xml":Pt!==D&&ia.fail("xml prefix must be bound to ".concat(D,"."));break;case"xmlns":Pt!==T&&ia.fail("xmlns prefix must be bound to ".concat(T,"."))}switch(Pt){case T:ia.fail(ht===""?"the default namespace may not be set to ".concat(Pt,"."):'may not assign a prefix (even "xmlns") to the URI '.concat(T,"."));break;case D:switch(ht){case"xml":break;case"":ia.fail("the default namespace may not be set to ".concat(Pt,"."));break;default:ia.fail("may not assign the xml namespace to another prefix.")}}}function wn(ia,ht){for(var Pt=0,Zt=Object.keys(ht);Pt<Zt.length;Pt++){var vn=Zt[Pt];gn(ia,vn,ht[vn])}}var kn=function(ia){return _.test(ia)},Dn=function(ia){return I.test(ia)},oi=0,Kr=1,On=2;u.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var Ci={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"},li=function(){function ia(ht){Et(this,ia),this.opt=ht??{},this.fragmentOpt=!!this.opt.fragment;var Pt=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,Pt){this.nameStartCheck=B,this.nameCheck=S,this.isName=kn,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},F);var Zt=this.opt.additionalNamespaces;Zt!=null&&(wn(this,Zt),Object.assign(this.ns,Zt))}else this.nameStartCheck=m,this.nameCheck=y,this.isName=Dn,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}return xt(ia,[{key:"closed",get:function(){return this._closed}},{key:"_init",value:function(){var ht;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=oi,this.attribList=[];var Pt=this.fragmentOpt;this.state=Pt?X:V,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=Pt,this.xmlDeclPossible=!Pt,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;var Zt=this.opt.defaultXMLVersion;if(Zt===void 0){if(this.opt.forceXMLVersion===!0)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");Zt="1.0"}this.setXMLVersion(Zt),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(N),(ht=this.readyHandler)===null||ht===void 0||ht.call(this)}},{key:"position",get:function(){return this.chunkPosition+this.i}},{key:"columnIndex",get:function(){return this.position-this.positionAtNewLine}},{key:"on",value:function(ht,Pt){this[Ci[ht]]=Pt}},{key:"off",value:function(ht){this[Ci[ht]]=void 0}},{key:"makeError",value:function(ht){var Pt,Zt=(Pt=this.fileName)!==null&&Pt!==void 0?Pt:"";return this.trackPosition&&(Zt.length>0&&(Zt+=":"),Zt+="".concat(this.line,":").concat(this.column)),Zt.length>0&&(Zt+=": "),new Error(Zt+ht)}},{key:"fail",value:function(ht){var Pt=this.makeError(ht),Zt=this.errorHandler;if(Zt===void 0)throw Pt;return Zt(Pt),this}},{key:"write",value:function(ht){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");var Pt=!1;ht===null?(Pt=!0,ht=""):typeof ht=="object"&&(ht=ht.toString()),this.carriedFromPrevious!==void 0&&(ht="".concat(this.carriedFromPrevious).concat(ht),this.carriedFromPrevious=void 0);var Zt=ht.length,vn=ht.charCodeAt(Zt-1);!Pt&&(vn===mt||vn>=55296&&vn<=56319)&&(this.carriedFromPrevious=ht[Zt-1],Zt--,ht=ht.slice(0,Zt));var jn=this.stateTable;for(this.chunk=ht,this.i=0;this.i<Zt;)jn[this.state].call(this);return this.chunkPosition+=Zt,Pt?this.end():this}},{key:"close",value:function(){return this.write(null)}},{key:"getCode10",value:function(){var ht=this.chunk,Pt=this.i;if(this.prevI=Pt,this.i=Pt+1,Pt>=ht.length)return H;var Zt=ht.charCodeAt(Pt);if(this.column++,Zt<55296){if(Zt>=Xe||Zt===Je)return Zt;switch(Zt){case tt:return this.line++,this.column=0,this.positionAtNewLine=this.position,tt;case mt:return ht.charCodeAt(Pt+1)===tt&&(this.i=Pt+2),this.line++,this.column=0,this.positionAtNewLine=this.position,W;default:return this.fail("disallowed character."),Zt}}if(Zt>56319)return Zt>=57344&&Zt<=65533||this.fail("disallowed character."),Zt;var vn=65536+1024*(Zt-55296)+(ht.charCodeAt(Pt+1)-56320);return this.i=Pt+2,vn>1114111&&this.fail("disallowed character."),vn}},{key:"getCode11",value:function(){var ht=this.chunk,Pt=this.i;if(this.prevI=Pt,this.i=Pt+1,Pt>=ht.length)return H;var Zt=ht.charCodeAt(Pt);if(this.column++,Zt<55296){if(Zt>31&&Zt<127||Zt>159&&Zt!==tn||Zt===Je)return Zt;switch(Zt){case tt:return this.line++,this.column=0,this.positionAtNewLine=this.position,tt;case mt:var vn=ht.charCodeAt(Pt+1);vn!==tt&&vn!==Sr||(this.i=Pt+2);case Sr:case tn:return this.line++,this.column=0,this.positionAtNewLine=this.position,W;default:return this.fail("disallowed character."),Zt}}if(Zt>56319)return Zt>=57344&&Zt<=65533||this.fail("disallowed character."),Zt;var jn=65536+1024*(Zt-55296)+(ht.charCodeAt(Pt+1)-56320);return this.i=Pt+2,jn>1114111&&this.fail("disallowed character."),jn}},{key:"getCodeNorm",value:function(){var ht=this.getCode();return ht===W?tt:ht}},{key:"unget",value:function(){this.i=this.prevI,this.column--}},{key:"captureTo",value:function(ht){for(var Pt=this.i,Zt=this.chunk;;){var vn=this.getCode(),jn=vn===W,ba=jn?tt:vn;if(ba===H||ht.includes(ba))return this.text+=Zt.slice(Pt,this.prevI),ba;jn&&(this.text+="".concat(Zt.slice(Pt,this.prevI),`
  39. `),Pt=this.i)}}},{key:"captureToChar",value:function(ht){for(var Pt=this.i,Zt=this.chunk;;){var vn=this.getCode();switch(vn){case W:this.text+="".concat(Zt.slice(Pt,this.prevI),`
  40. `),Pt=this.i,vn=tt;break;case H:return this.text+=Zt.slice(Pt),!1}if(vn===ht)return this.text+=Zt.slice(Pt,this.prevI),!0}}},{key:"captureNameChars",value:function(){for(var ht=this.chunk,Pt=this.i;;){var Zt=this.getCode();if(Zt===H)return this.name+=ht.slice(Pt),H;if(!y(Zt))return this.name+=ht.slice(Pt,this.prevI),Zt===W?tt:Zt}}},{key:"skipSpaces",value:function(){for(;;){var ht=this.getCodeNorm();if(ht===H||!g(ht))return ht}}},{key:"setXMLVersion",value:function(ht){this.currentXMLVersion=ht,ht==="1.0"?(this.isChar=A,this.getCode=this.getCode10):(this.isChar=E,this.getCode=this.getCode11)}},{key:"sBegin",value:function(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=te}},{key:"sBeginWhitespace",value:function(){var ht=this.i,Pt=this.skipSpaces();switch(this.prevI!==ht&&(this.xmlDeclPossible=!1),Pt){case mr:if(this.state=oe,this.text.length!==0)throw new Error("no-empty text at start");break;case H:break;default:this.unget(),this.state=X,this.xmlDeclPossible=!1}}},{key:"sDoctype",value:function(){var ht,Pt=this.captureTo(Rr);switch(Pt){case Yr:(ht=this.doctypeHandler)===null||ht===void 0||ht.call(this,this.text),this.text="",this.state=X,this.doctype=!0;break;case H:break;default:this.text+=String.fromCodePoint(Pt),Pt===Dr?this.state=de:Cn(Pt)&&(this.state=fe,this.q=Pt)}}},{key:"sDoctypeQuote",value:function(){var ht=this.q;this.captureToChar(ht)&&(this.text+=String.fromCodePoint(ht),this.q=null,this.state=ue)}},{key:"sDTD",value:function(){var ht=this.captureTo(An);ht!==H&&(this.text+=String.fromCodePoint(ht),ht===nn?this.state=ue:ht===mr?this.state=we:Cn(ht)&&(this.state=Ae,this.q=ht))}},{key:"sDTDQuoted",value:function(){var ht=this.q;this.captureToChar(ht)&&(this.text+=String.fromCodePoint(ht),this.state=de,this.q=null)}},{key:"sDTDOpenWaka",value:function(){var ht=this.getCodeNorm();switch(this.text+=String.fromCodePoint(ht),ht){case Ye:this.state=Z,this.openWakaBang="";break;case Mr:this.state=q;break;default:this.state=de}}},{key:"sDTDOpenWakaBang",value:function(){var ht=String.fromCodePoint(this.getCodeNorm()),Pt=this.openWakaBang+=ht;this.text+=ht,Pt!=="-"&&(this.state=Pt==="--"?ne:de,this.openWakaBang="")}},{key:"sDTDComment",value:function(){this.captureToChar(cr)&&(this.text+="-",this.state=j)}},{key:"sDTDCommentEnding",value:function(){var ht=this.getCodeNorm();this.text+=String.fromCodePoint(ht),this.state=ht===cr?J:ne}},{key:"sDTDCommentEnded",value:function(){var ht=this.getCodeNorm();this.text+=String.fromCodePoint(ht),ht===Yr?this.state=de:(this.fail("malformed comment."),this.state=ne)}},{key:"sDTDPI",value:function(){this.captureToChar(Mr)&&(this.text+="?",this.state=z)}},{key:"sDTDPIEnding",value:function(){var ht=this.getCodeNorm();this.text+=String.fromCodePoint(ht),ht===Yr&&(this.state=de)}},{key:"sText",value:function(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}},{key:"sEntity",value:function(){var ht=this.i,Pt=this.chunk;e:for(;;)switch(this.getCode()){case W:this.entity+="".concat(Pt.slice(ht,this.prevI),`
  41. `),ht=this.i;break;case Hr:var Zt=this.entityReturnState,vn=this.entity+Pt.slice(ht,this.prevI);this.state=Zt;var jn=void 0;vn===""?(this.fail("empty entity name."),jn="&;"):(jn=this.parseEntity(vn),this.entity=""),Zt===X&&this.textHandler===void 0||(this.text+=jn);break e;case H:this.entity+=Pt.slice(ht);break e}}},{key:"sOpenWaka",value:function(){var ht=this.getCode();if(m(ht))this.state=qe,this.unget(),this.xmlDeclPossible=!1;else switch(ht){case $t:this.state=Ot,this.xmlDeclPossible=!1;break;case Ye:this.state=ye,this.openWakaBang="",this.xmlDeclPossible=!1;break;case Mr:this.state=st;break;default:this.fail("disallowed character in tag name"),this.state=X,this.xmlDeclPossible=!1}}},{key:"sOpenWakaBang",value:function(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=_e,this.openWakaBang="";break;case"--":this.state=ae,this.openWakaBang="";break;case"DOCTYPE":this.state=ue,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}},{key:"sComment",value:function(){this.captureToChar(cr)&&(this.state=me)}},{key:"sCommentEnding",value:function(){var ht,Pt=this.getCodeNorm();Pt===cr?(this.state=Fe,(ht=this.commentHandler)===null||ht===void 0||ht.call(this,this.text),this.text=""):(this.text+="-".concat(String.fromCodePoint(Pt)),this.state=ae)}},{key:"sCommentEnded",value:function(){var ht=this.getCodeNorm();ht!==Yr?(this.fail("malformed comment."),this.text+="--".concat(String.fromCodePoint(ht)),this.state=ae):this.state=X}},{key:"sCData",value:function(){this.captureToChar(nn)&&(this.state=rt)}},{key:"sCDataEnding",value:function(){var ht=this.getCodeNorm();ht===nn?this.state=et:(this.text+="]".concat(String.fromCodePoint(ht)),this.state=_e)}},{key:"sCDataEnding2",value:function(){var ht,Pt=this.getCodeNorm();switch(Pt){case Yr:(ht=this.cdataHandler)===null||ht===void 0||ht.call(this,this.text),this.text="",this.state=X;break;case nn:this.text+="]";break;default:this.text+="]]".concat(String.fromCodePoint(Pt)),this.state=_e}}},{key:"sPIFirstChar",value:function(){var ht=this.getCodeNorm();this.nameStartCheck(ht)?(this.piTarget+=String.fromCodePoint(ht),this.state=Ge):ht===Mr||g(ht)?(this.fail("processing instruction without a target."),this.state=ht===Mr?Te:Be):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(ht),this.state=Ge)}},{key:"sPIRest",value:function(){for(var ht=this.chunk,Pt=this.i;;){var Zt=this.getCodeNorm();if(Zt===H)return void(this.piTarget+=ht.slice(Pt));if(!this.nameCheck(Zt)){this.piTarget+=ht.slice(Pt,this.prevI);var vn=Zt===Mr;vn||g(Zt)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=vn?Re:je):this.state=vn?Te:Be:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(Zt));break}}}},{key:"sPIBody",value:function(){if(this.text.length===0){var ht=this.getCodeNorm();ht===Mr?this.state=Te:g(ht)||(this.text=String.fromCodePoint(ht))}else this.captureToChar(Mr)&&(this.state=Te)}},{key:"sPIEnding",value:function(){var ht,Pt=this.getCodeNorm();if(Pt===Yr){var Zt=this.piTarget;Zt.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),(ht=this.piHandler)===null||ht===void 0||ht.call(this,{target:Zt,body:this.text}),this.piTarget=this.text="",this.state=X}else Pt===Mr?this.text+="?":(this.text+="?".concat(String.fromCodePoint(Pt)),this.state=Be);this.xmlDeclPossible=!1}},{key:"sXMLDeclNameStart",value:function(){var ht=this.skipSpaces();ht!==Mr?ht!==H&&(this.state=lt,this.name=String.fromCodePoint(ht)):this.state=Re}},{key:"sXMLDeclName",value:function(){var ht=this.captureTo(dn);if(ht===Mr)return this.state=Re,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(g(ht)||ht===sr){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail("expected the name ".concat(this.xmlDeclExpects[0],"."));break;default:this.fail("expected one of ".concat(this.xmlDeclExpects.join(", ")))}this.state=ht===sr?Ke:Me}}},{key:"sXMLDeclEq",value:function(){var ht=this.getCodeNorm();if(ht===Mr)return this.state=Re,void this.fail("XML declaration is incomplete.");g(ht)||(ht!==sr&&this.fail("value required."),this.state=Ke)}},{key:"sXMLDeclValueStart",value:function(){var ht=this.getCodeNorm();if(ht===Mr)return this.state=Re,void this.fail("XML declaration is incomplete.");g(ht)||(Cn(ht)?this.q=ht:(this.fail("value must be quoted."),this.q=Xe),this.state=Rt)}},{key:"sXMLDeclValue",value:function(){var ht=this.captureTo([this.q,Mr]);if(ht===Mr)return this.state=Re,this.text="",void this.fail("XML declaration is incomplete.");if(ht!==H){var Pt=this.text;switch(this.text="",this.name){case"version":this.xmlDeclExpects=["encoding","standalone"];var Zt=Pt;this.xmlDecl.version=Zt,/^1\.[0-9]+$/.test(Zt)?this.opt.forceXMLVersion||this.setXMLVersion(Zt):this.fail("version number must match /^1\\.[0-9]+$/.");break;case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(Pt)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=Pt;break;case"standalone":Pt!=="yes"&&Pt!=="no"&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=Pt}this.name="",this.state=Ie}}},{key:"sXMLDeclSeparator",value:function(){var ht=this.getCodeNorm();ht!==Mr?(g(ht)||(this.fail("whitespace required."),this.unget()),this.state=je):this.state=Re}},{key:"sXMLDeclEnding",value:function(){var ht;this.getCodeNorm()===Yr?(this.piTarget!=="xml"?this.fail("processing instructions are not allowed before root."):this.name!=="version"&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),(ht=this.xmldeclHandler)===null||ht===void 0||ht.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=X):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}},{key:"sOpenTag",value:function(){var ht,Pt=this.captureNameChars();if(Pt!==H){var Zt=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=Zt.ns=Object.create(null)),(ht=this.openTagStartHandler)===null||ht===void 0||ht.call(this,Zt),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),Pt){case Yr:this.openTag();break;case $t:this.state=pt;break;default:g(Pt)||this.fail("disallowed character in tag name."),this.state=Lt}}}},{key:"sOpenTagSlash",value:function(){this.getCode()===Yr?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=Lt)}},{key:"sAttrib",value:function(){var ht=this.skipSpaces();ht!==H&&(m(ht)?(this.unget(),this.state=Qe):ht===Yr?this.openTag():ht===$t?this.state=pt:this.fail("disallowed character in attribute name."))}},{key:"sAttribName",value:function(){var ht=this.captureNameChars();ht===sr?this.state=Ft:g(ht)?this.state=_t:ht===Yr?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):ht!==H&&this.fail("disallowed character in attribute name.")}},{key:"sAttribNameSawWhite",value:function(){var ht=this.skipSpaces();switch(ht){case H:return;case sr:this.state=Ft;break;default:this.fail("attribute without value."),this.text="",this.name="",ht===Yr?this.openTag():m(ht)?(this.unget(),this.state=Qe):(this.fail("disallowed character in attribute name."),this.state=Lt)}}},{key:"sAttribValue",value:function(){var ht=this.getCodeNorm();Cn(ht)?(this.q=ht,this.state=Ze):g(ht)||(this.fail("unquoted attribute value."),this.state=nt,this.unget())}},{key:"sAttribValueQuoted",value:function(){for(var ht=this.q,Pt=this.chunk,Zt=this.i;;)switch(this.getCode()){case ht:return this.pushAttrib(this.name,this.text+Pt.slice(Zt,this.prevI)),this.name=this.text="",this.q=null,void(this.state=$e);case yt:return this.text+=Pt.slice(Zt,this.prevI),this.state=se,void(this.entityReturnState=Ze);case tt:case W:case Je:this.text+="".concat(Pt.slice(Zt,this.prevI)," "),Zt=this.i;break;case mr:return this.text+=Pt.slice(Zt,this.prevI),void this.fail("disallowed character.");case H:return void(this.text+=Pt.slice(Zt))}}},{key:"sAttribValueClosed",value:function(){var ht=this.getCodeNorm();g(ht)?this.state=Lt:ht===Yr?this.openTag():ht===$t?this.state=pt:m(ht)?(this.fail("no whitespace between attributes."),this.unget(),this.state=Qe):this.fail("disallowed character in attribute name.")}},{key:"sAttribValueUnquoted",value:function(){var ht=this.captureTo(br);switch(ht){case yt:this.state=se,this.entityReturnState=nt;break;case mr:this.fail("disallowed character.");break;case H:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",ht===Yr?this.openTag():this.state=Lt}}},{key:"sCloseTag",value:function(){var ht=this.captureNameChars();ht===Yr?this.closeTag():g(ht)?this.state=He:ht!==H&&this.fail("disallowed character in closing tag.")}},{key:"sCloseTagSawWhite",value:function(){switch(this.skipSpaces()){case Yr:this.closeTag();break;case H:break;default:this.fail("disallowed character in closing tag.")}}},{key:"handleTextInRoot",value:function(){var ht=this.i,Pt=this.forbiddenState,Zt=this.chunk,vn=this.textHandler;e:for(;;)switch(this.getCode()){case mr:if(this.state=oe,vn!==void 0){var jn=this.text,ba=Zt.slice(ht,this.prevI);jn.length!==0?(vn(jn+ba),this.text=""):ba.length!==0&&vn(ba)}Pt=oi;break e;case yt:this.state=se,this.entityReturnState=X,vn!==void 0&&(this.text+=Zt.slice(ht,this.prevI)),Pt=oi;break e;case nn:switch(Pt){case oi:Pt=Kr;break;case Kr:Pt=On;break;case On:break;default:throw new Error("impossible state")}break;case Yr:Pt===On&&this.fail('the string "]]>" is disallowed in char data.'),Pt=oi;break;case W:vn!==void 0&&(this.text+="".concat(Zt.slice(ht,this.prevI),`
  42. `)),ht=this.i,Pt=oi;break;case H:vn!==void 0&&(this.text+=Zt.slice(ht));break e;default:Pt=oi}this.forbiddenState=Pt}},{key:"handleTextOutsideRoot",value:function(){var ht=this.i,Pt=this.chunk,Zt=this.textHandler,vn=!1;e:for(;;){var jn=this.getCode();switch(jn){case mr:if(this.state=oe,Zt!==void 0){var ba=this.text,aa=Pt.slice(ht,this.prevI);ba.length!==0?(Zt(ba+aa),this.text=""):aa.length!==0&&Zt(aa)}break e;case yt:this.state=se,this.entityReturnState=X,Zt!==void 0&&(this.text+=Pt.slice(ht,this.prevI)),vn=!0;break e;case W:Zt!==void 0&&(this.text+="".concat(Pt.slice(ht,this.prevI),`
  43. `)),ht=this.i;break;case H:Zt!==void 0&&(this.text+=Pt.slice(ht));break e;default:g(jn)||(vn=!0)}}vn&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}},{key:"pushAttribNS",value:function(ht,Pt){var Zt,vn=this.qname(ht),jn=vn.prefix,ba=vn.local,aa={name:ht,prefix:jn,local:ba,value:Pt};if(this.attribList.push(aa),(Zt=this.attributeHandler)===null||Zt===void 0||Zt.call(this,aa),jn==="xmlns"){var wo=Pt.trim();this.currentXMLVersion==="1.0"&&wo===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[ba]=wo,gn(this,ba,wo)}else if(ht==="xmlns"){var is=Pt.trim();this.topNS[""]=is,gn(this,"",is)}}},{key:"pushAttribPlain",value:function(ht,Pt){var Zt,vn={name:ht,value:Pt};this.attribList.push(vn),(Zt=this.attributeHandler)===null||Zt===void 0||Zt.call(this,vn)}},{key:"end",value:function(){var ht,Pt;this.sawRoot||this.fail("document must contain a root element.");for(var Zt=this.tags;Zt.length>0;){var vn=Zt.pop();this.fail("unclosed tag: ".concat(vn.name))}this.state!==V&&this.state!==X&&this.fail("unexpected end.");var jn=this.text;return jn.length!==0&&((ht=this.textHandler)===null||ht===void 0||ht.call(this,jn),this.text=""),this._closed=!0,(Pt=this.endHandler)===null||Pt===void 0||Pt.call(this),this._init(),this}},{key:"resolve",value:function(ht){var Pt,Zt,vn=this.topNS[ht];if(vn!==void 0)return vn;for(var jn=this.tags,ba=jn.length-1;ba>=0;ba--)if((vn=jn[ba].ns[ht])!==void 0)return vn;return(vn=this.ns[ht])!==void 0?vn:(Zt=(Pt=this.opt).resolvePrefix)===null||Zt===void 0?void 0:Zt.call(Pt,ht)}},{key:"qname",value:function(ht){var Pt=ht.indexOf(":");if(Pt===-1)return{prefix:"",local:ht};var Zt=ht.slice(Pt+1),vn=ht.slice(0,Pt);return(vn===""||Zt===""||Zt.includes(":"))&&this.fail("malformed name: ".concat(ht,".")),{prefix:vn,local:Zt}}},{key:"processAttribsNS",value:function(){var ht,Pt=this.attribList,Zt=this.tag,vn=this.qname(Zt.name),jn=vn.prefix,ba=vn.local;Zt.prefix=jn,Zt.local=ba;var aa=Zt.uri=(ht=this.resolve(jn))!==null&&ht!==void 0?ht:"";if(jn!==""&&(jn==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),aa===""&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify(jn),".")),Zt.uri=jn)),Pt.length!==0){var wo,is=Zt.attributes,as=new Set,vs=ny(Pt);try{for(vs.s();!(wo=vs.n()).done;){var lo=wo.value,ra=lo.name,pi=lo.prefix,Ms=lo.local,Fs=void 0,zu=void 0;pi===""?(Fs=ra==="xmlns"?T:"",zu=ra):((Fs=this.resolve(pi))===void 0&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify(pi),".")),Fs=pi),zu="{".concat(Fs,"}").concat(Ms)),as.has(zu)&&this.fail("duplicate attribute: ".concat(zu,".")),as.add(zu),lo.uri=Fs,is[ra]=lo}}catch(Ul){vs.e(Ul)}finally{vs.f()}this.attribList=[]}}},{key:"processAttribsPlain",value:function(){var ht,Pt=this.attribList,Zt=this.tag.attributes,vn=ny(Pt);try{for(vn.s();!(ht=vn.n()).done;){var jn=ht.value,ba=jn.name,aa=jn.value;Zt[ba]!==void 0&&this.fail("duplicate attribute: ".concat(ba,".")),Zt[ba]=aa}}catch(wo){vn.e(wo)}finally{vn.f()}this.attribList=[]}},{key:"openTag",value:function(){var ht;this.processAttribs();var Pt=this.tags,Zt=this.tag;Zt.isSelfClosing=!1,(ht=this.openTagHandler)===null||ht===void 0||ht.call(this,Zt),Pt.push(Zt),this.state=X,this.name=""}},{key:"openSelfClosingTag",value:function(){var ht,Pt,Zt;this.processAttribs();var vn=this.tags,jn=this.tag;jn.isSelfClosing=!0,(ht=this.openTagHandler)===null||ht===void 0||ht.call(this,jn),(Pt=this.closeTagHandler)===null||Pt===void 0||Pt.call(this,jn),(this.tag=(Zt=vn[vn.length-1])!==null&&Zt!==void 0?Zt:null)===null&&(this.closedRoot=!0),this.state=X,this.name=""}},{key:"closeTag",value:function(){var ht=this.tags,Pt=this.name;if(this.state=X,this.name="",Pt==="")return this.fail("weird empty close tag."),void(this.text+="</>");for(var Zt=this.closeTagHandler,vn=ht.length;vn-- >0;){var jn=this.tag=ht.pop();if(this.topNS=jn.ns,Zt==null||Zt(jn),jn.name===Pt)break;this.fail("unexpected close tag.")}vn===0?this.closedRoot=!0:vn<0&&(this.fail("unmatched closing tag: ".concat(Pt,".")),this.text+="</".concat(Pt,">"))}},{key:"parseEntity",value:function(ht){if(ht[0]!=="#"){var Pt=this.ENTITIES[ht];return Pt!==void 0?Pt:(this.fail(this.isName(ht)?"undefined entity.":"disallowed character in entity name."),"&".concat(ht,";"))}var Zt=NaN;return ht[1]==="x"&&/^#x[0-9a-f]+$/i.test(ht)?Zt=parseInt(ht.slice(2),16):/^#[0-9]+$/.test(ht)&&(Zt=parseInt(ht.slice(1),10)),this.isChar(Zt)?String.fromCodePoint(Zt):(this.fail("malformed character entity."),"&".concat(ht,";"))}}])}();u.SaxesParser=li},{"xmlchars/xml/1.0/ed5":543,"xmlchars/xml/1.1/ed2":544,"xmlchars/xmlns/1.0/ed3":545}],497:[function(a,c,u){var h=a("safe-buffer").Buffer;function d(p,g){this._block=h.alloc(p),this._finalSize=g,this._blockSize=p,this._len=0}d.prototype.update=function(p,g){typeof p=="string"&&(g=g||"utf8",p=h.from(p,g));for(var A=this._block,m=this._blockSize,y=p.length,b=this._len,I=0;I<y;){for(var E=b%m,B=Math.min(y-I,m-E),S=0;S<B;S++)A[E+S]=p[I+S];I+=B,(b+=B)%m==0&&this._update(A)}return this._len+=y,this},d.prototype.digest=function(p){var g=this._len%this._blockSize;this._block[g]=128,this._block.fill(0,g+1),g>=this._finalSize&&(this._update(this._block),this._block.fill(0));var A=8*this._len;if(A<=4294967295)this._block.writeUInt32BE(A,this._blockSize-4);else{var m=(4294967295&A)>>>0,y=(A-m)/4294967296;this._block.writeUInt32BE(y,this._blockSize-8),this._block.writeUInt32BE(m,this._blockSize-4)}this._update(this._block);var b=this._hash();return p?b.toString(p):b},d.prototype._update=function(){throw new Error("_update must be implemented by subclass")},c.exports=d},{"safe-buffer":494}],498:[function(a,c,u){var h=c.exports=function(d){d=d.toLowerCase();var p=h[d];if(!p)throw new Error(d+" is not supported (we accept pull requests)");return new p};h.sha=a("./sha"),h.sha1=a("./sha1"),h.sha224=a("./sha224"),h.sha256=a("./sha256"),h.sha384=a("./sha384"),h.sha512=a("./sha512")},{"./sha":499,"./sha1":500,"./sha224":501,"./sha256":502,"./sha384":503,"./sha512":504}],499:[function(a,c,u){var h=a("inherits"),d=a("./hash"),p=a("safe-buffer").Buffer,g=[1518500249,1859775393,-1894007588,-899497514],A=new Array(80);function m(){this.init(),this._w=A,d.call(this,64,56)}function y(E){return E<<5|E>>>27}function b(E){return E<<30|E>>>2}function I(E,B,S,_){return E===0?B&S|~B&_:E===2?B&S|B&_|S&_:B^S^_}h(m,d),m.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},m.prototype._update=function(E){for(var B=this._w,S=0|this._a,_=0|this._b,D=0|this._c,T=0|this._d,F=0|this._e,N=0;N<16;++N)B[N]=E.readInt32BE(4*N);for(;N<80;++N)B[N]=B[N-3]^B[N-8]^B[N-14]^B[N-16];for(var H=0;H<80;++H){var W=~~(H/20),V=y(S)+I(W,_,D,T)+F+B[H]+g[W]|0;F=T,T=D,D=b(_),_=S,S=V}this._a=S+this._a|0,this._b=_+this._b|0,this._c=D+this._c|0,this._d=T+this._d|0,this._e=F+this._e|0},m.prototype._hash=function(){var E=p.allocUnsafe(20);return E.writeInt32BE(0|this._a,0),E.writeInt32BE(0|this._b,4),E.writeInt32BE(0|this._c,8),E.writeInt32BE(0|this._d,12),E.writeInt32BE(0|this._e,16),E},c.exports=m},{"./hash":497,inherits:440,"safe-buffer":494}],500:[function(a,c,u){var h=a("inherits"),d=a("./hash"),p=a("safe-buffer").Buffer,g=[1518500249,1859775393,-1894007588,-899497514],A=new Array(80);function m(){this.init(),this._w=A,d.call(this,64,56)}function y(B){return B<<1|B>>>31}function b(B){return B<<5|B>>>27}function I(B){return B<<30|B>>>2}function E(B,S,_,D){return B===0?S&_|~S&D:B===2?S&_|S&D|_&D:S^_^D}h(m,d),m.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},m.prototype._update=function(B){for(var S=this._w,_=0|this._a,D=0|this._b,T=0|this._c,F=0|this._d,N=0|this._e,H=0;H<16;++H)S[H]=B.readInt32BE(4*H);for(;H<80;++H)S[H]=y(S[H-3]^S[H-8]^S[H-14]^S[H-16]);for(var W=0;W<80;++W){var V=~~(W/20),te=b(_)+E(V,D,T,F)+N+S[W]+g[V]|0;N=F,F=T,T=I(D),D=_,_=te}this._a=_+this._a|0,this._b=D+this._b|0,this._c=T+this._c|0,this._d=F+this._d|0,this._e=N+this._e|0},m.prototype._hash=function(){var B=p.allocUnsafe(20);return B.writeInt32BE(0|this._a,0),B.writeInt32BE(0|this._b,4),B.writeInt32BE(0|this._c,8),B.writeInt32BE(0|this._d,12),B.writeInt32BE(0|this._e,16),B},c.exports=m},{"./hash":497,inherits:440,"safe-buffer":494}],501:[function(a,c,u){var h=a("inherits"),d=a("./sha256"),p=a("./hash"),g=a("safe-buffer").Buffer,A=new Array(64);function m(){this.init(),this._w=A,p.call(this,64,56)}h(m,d),m.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},m.prototype._hash=function(){var y=g.allocUnsafe(28);return y.writeInt32BE(this._a,0),y.writeInt32BE(this._b,4),y.writeInt32BE(this._c,8),y.writeInt32BE(this._d,12),y.writeInt32BE(this._e,16),y.writeInt32BE(this._f,20),y.writeInt32BE(this._g,24),y},c.exports=m},{"./hash":497,"./sha256":502,inherits:440,"safe-buffer":494}],502:[function(a,c,u){var h=a("inherits"),d=a("./hash"),p=a("safe-buffer").Buffer,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],A=new Array(64);function m(){this.init(),this._w=A,d.call(this,64,56)}function y(_,D,T){return T^_&(D^T)}function b(_,D,T){return _&D|T&(_|D)}function I(_){return(_>>>2|_<<30)^(_>>>13|_<<19)^(_>>>22|_<<10)}function E(_){return(_>>>6|_<<26)^(_>>>11|_<<21)^(_>>>25|_<<7)}function B(_){return(_>>>7|_<<25)^(_>>>18|_<<14)^_>>>3}function S(_){return(_>>>17|_<<15)^(_>>>19|_<<13)^_>>>10}h(m,d),m.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},m.prototype._update=function(_){for(var D=this._w,T=0|this._a,F=0|this._b,N=0|this._c,H=0|this._d,W=0|this._e,V=0|this._f,te=0|this._g,ue=0|this._h,fe=0;fe<16;++fe)D[fe]=_.readInt32BE(4*fe);for(;fe<64;++fe)D[fe]=S(D[fe-2])+D[fe-7]+B(D[fe-15])+D[fe-16]|0;for(var de=0;de<64;++de){var Ae=ue+E(W)+y(W,V,te)+g[de]+D[de]|0,we=I(T)+b(T,F,N)|0;ue=te,te=V,V=W,W=H+Ae|0,H=N,N=F,F=T,T=Ae+we|0}this._a=T+this._a|0,this._b=F+this._b|0,this._c=N+this._c|0,this._d=H+this._d|0,this._e=W+this._e|0,this._f=V+this._f|0,this._g=te+this._g|0,this._h=ue+this._h|0},m.prototype._hash=function(){var _=p.allocUnsafe(32);return _.writeInt32BE(this._a,0),_.writeInt32BE(this._b,4),_.writeInt32BE(this._c,8),_.writeInt32BE(this._d,12),_.writeInt32BE(this._e,16),_.writeInt32BE(this._f,20),_.writeInt32BE(this._g,24),_.writeInt32BE(this._h,28),_},c.exports=m},{"./hash":497,inherits:440,"safe-buffer":494}],503:[function(a,c,u){var h=a("inherits"),d=a("./sha512"),p=a("./hash"),g=a("safe-buffer").Buffer,A=new Array(160);function m(){this.init(),this._w=A,p.call(this,128,112)}h(m,d),m.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},m.prototype._hash=function(){var y=g.allocUnsafe(48);function b(I,E,B){y.writeInt32BE(I,B),y.writeInt32BE(E,B+4)}return b(this._ah,this._al,0),b(this._bh,this._bl,8),b(this._ch,this._cl,16),b(this._dh,this._dl,24),b(this._eh,this._el,32),b(this._fh,this._fl,40),y},c.exports=m},{"./hash":497,"./sha512":504,inherits:440,"safe-buffer":494}],504:[function(a,c,u){var h=a("inherits"),d=a("./hash"),p=a("safe-buffer").Buffer,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],A=new Array(160);function m(){this.init(),this._w=A,d.call(this,128,112)}function y(F,N,H){return H^F&(N^H)}function b(F,N,H){return F&N|H&(F|N)}function I(F,N){return(F>>>28|N<<4)^(N>>>2|F<<30)^(N>>>7|F<<25)}function E(F,N){return(F>>>14|N<<18)^(F>>>18|N<<14)^(N>>>9|F<<23)}function B(F,N){return(F>>>1|N<<31)^(F>>>8|N<<24)^F>>>7}function S(F,N){return(F>>>1|N<<31)^(F>>>8|N<<24)^(F>>>7|N<<25)}function _(F,N){return(F>>>19|N<<13)^(N>>>29|F<<3)^F>>>6}function D(F,N){return(F>>>19|N<<13)^(N>>>29|F<<3)^(F>>>6|N<<26)}function T(F,N){return F>>>0<N>>>0?1:0}h(m,d),m.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},m.prototype._update=function(F){for(var N=this._w,H=0|this._ah,W=0|this._bh,V=0|this._ch,te=0|this._dh,ue=0|this._eh,fe=0|this._fh,de=0|this._gh,Ae=0|this._hh,we=0|this._al,Z=0|this._bl,ne=0|this._cl,j=0|this._dl,J=0|this._el,q=0|this._fl,z=0|this._gl,X=0|this._hl,se=0;se<32;se+=2)N[se]=F.readInt32BE(4*se),N[se+1]=F.readInt32BE(4*se+4);for(;se<160;se+=2){var oe=N[se-30],ye=N[se-30+1],ae=B(oe,ye),me=S(ye,oe),Fe=_(oe=N[se-4],ye=N[se-4+1]),_e=D(ye,oe),rt=N[se-14],et=N[se-14+1],st=N[se-32],Ge=N[se-32+1],Be=me+et|0,Te=ae+rt+T(Be,me)|0;Te=(Te=Te+Fe+T(Be=Be+_e|0,_e)|0)+st+T(Be=Be+Ge|0,Ge)|0,N[se]=Te,N[se+1]=Be}for(var je=0;je<160;je+=2){Te=N[je],Be=N[je+1];var lt=b(H,W,V),Me=b(we,Z,ne),Ke=I(H,we),Rt=I(we,H),Ie=E(ue,J),Re=E(J,ue),qe=g[je],pt=g[je+1],Lt=y(ue,fe,de),Qe=y(J,q,z),_t=X+Re|0,Ft=Ae+Ie+T(_t,X)|0;Ft=(Ft=(Ft=Ft+Lt+T(_t=_t+Qe|0,Qe)|0)+qe+T(_t=_t+pt|0,pt)|0)+Te+T(_t=_t+Be|0,Be)|0;var Ze=Rt+Me|0,$e=Ke+lt+T(Ze,Rt)|0;Ae=de,X=z,de=fe,z=q,fe=ue,q=J,ue=te+Ft+T(J=j+_t|0,j)|0,te=V,j=ne,V=W,ne=Z,W=H,Z=we,H=Ft+$e+T(we=_t+Ze|0,_t)|0}this._al=this._al+we|0,this._bl=this._bl+Z|0,this._cl=this._cl+ne|0,this._dl=this._dl+j|0,this._el=this._el+J|0,this._fl=this._fl+q|0,this._gl=this._gl+z|0,this._hl=this._hl+X|0,this._ah=this._ah+H+T(this._al,we)|0,this._bh=this._bh+W+T(this._bl,Z)|0,this._ch=this._ch+V+T(this._cl,ne)|0,this._dh=this._dh+te+T(this._dl,j)|0,this._eh=this._eh+ue+T(this._el,J)|0,this._fh=this._fh+fe+T(this._fl,q)|0,this._gh=this._gh+de+T(this._gl,z)|0,this._hh=this._hh+Ae+T(this._hl,X)|0},m.prototype._hash=function(){var F=p.allocUnsafe(64);function N(H,W,V){F.writeInt32BE(H,V),F.writeInt32BE(W,V+4)}return N(this._ah,this._al,0),N(this._bh,this._bl,8),N(this._ch,this._cl,16),N(this._dh,this._dl,24),N(this._eh,this._el,32),N(this._fh,this._fl,40),N(this._gh,this._gl,48),N(this._hh,this._hl,56),F},c.exports=m},{"./hash":497,inherits:440,"safe-buffer":494}],505:[function(a,c,u){c.exports=d;var h=a("events").EventEmitter;function d(){h.call(this)}a("inherits")(d,h),d.Readable=a("readable-stream/readable.js"),d.Writable=a("readable-stream/writable.js"),d.Duplex=a("readable-stream/duplex.js"),d.Transform=a("readable-stream/transform.js"),d.PassThrough=a("readable-stream/passthrough.js"),d.Stream=d,d.prototype.pipe=function(p,g){var A=this;function m(_){p.writable&&p.write(_)===!1&&A.pause&&A.pause()}function y(){A.readable&&A.resume&&A.resume()}A.on("data",m),p.on("drain",y),p._isStdio||g&&g.end===!1||(A.on("end",I),A.on("close",E));var b=!1;function I(){b||(b=!0,p.end())}function E(){b||(b=!0,typeof p.destroy=="function"&&p.destroy())}function B(_){if(S(),h.listenerCount(this,"error")===0)throw _}function S(){A.removeListener("data",m),p.removeListener("drain",y),A.removeListener("end",I),A.removeListener("close",E),A.removeListener("error",B),p.removeListener("error",B),A.removeListener("end",S),A.removeListener("close",S),p.removeListener("close",S)}return A.on("error",B),p.on("error",B),A.on("end",S),A.on("close",S),p.on("close",S),p.emit("pipe",A),p}},{events:422,inherits:440,"readable-stream/duplex.js":507,"readable-stream/passthrough.js":516,"readable-stream/readable.js":517,"readable-stream/transform.js":518,"readable-stream/writable.js":519}],506:[function(a,c,u){var h={}.toString;c.exports=Array.isArray||function(d){return h.call(d)=="[object Array]"}},{}],507:[function(a,c,u){c.exports=a("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":508}],508:[function(a,c,u){var h=a("process-nextick-args"),d=Object.keys||function(S){var _=[];for(var D in S)_.push(D);return _};c.exports=I;var p=Object.create(a("core-util-is"));p.inherits=a("inherits");var g=a("./_stream_readable"),A=a("./_stream_writable");p.inherits(I,g);for(var m=d(A.prototype),y=0;y<m.length;y++){var b=m[y];I.prototype[b]||(I.prototype[b]=A.prototype[b])}function I(S){if(!(this instanceof I))return new I(S);g.call(this,S),A.call(this,S),S&&S.readable===!1&&(this.readable=!1),S&&S.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,S&&S.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",E)}function E(){this.allowHalfOpen||this._writableState.ended||h.nextTick(B,this)}function B(S){S.end()}Object.defineProperty(I.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(I.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(S){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=S,this._writableState.destroyed=S)}}),I.prototype._destroy=function(S,_){this.push(null),this.end(),h.nextTick(_,S)}},{"./_stream_readable":510,"./_stream_writable":512,"core-util-is":383,inherits:440,"process-nextick-args":466}],509:[function(a,c,u){c.exports=p;var h=a("./_stream_transform"),d=Object.create(a("core-util-is"));function p(g){if(!(this instanceof p))return new p(g);h.call(this,g)}d.inherits=a("inherits"),d.inherits(p,h),p.prototype._transform=function(g,A,m){m(null,g)}},{"./_stream_transform":511,"core-util-is":383,inherits:440}],510:[function(a,c,u){(function(h,d){(function(){var p=a("process-nextick-args");c.exports=te;var g,A=a("isarray");te.ReadableState=V,a("events").EventEmitter;var m=function(Te,je){return Te.listeners(je).length},y=a("./internal/streams/stream"),b=a("safe-buffer").Buffer,I=(d!==void 0?d:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function E(Te){return b.from(Te)}function B(Te){return b.isBuffer(Te)||Te instanceof I}var S=Object.create(a("core-util-is"));S.inherits=a("inherits");var _=a("util"),D=void 0;D=_&&_.debuglog?_.debuglog("stream"):function(){};var T,F=a("./internal/streams/BufferList"),N=a("./internal/streams/destroy");S.inherits(te,y);var H=["error","close","destroy","pause","resume"];function W(Te,je,lt){if(typeof Te.prependListener=="function")return Te.prependListener(je,lt);Te._events&&Te._events[je]?A(Te._events[je])?Te._events[je].unshift(lt):Te._events[je]=[lt,Te._events[je]]:Te.on(je,lt)}function V(Te,je){Te=Te||{};var lt=je instanceof(g=g||a("./_stream_duplex"));this.objectMode=!!Te.objectMode,lt&&(this.objectMode=this.objectMode||!!Te.readableObjectMode);var Me=Te.highWaterMark,Ke=Te.readableHighWaterMark,Rt=this.objectMode?16:16384;this.highWaterMark=Me||Me===0?Me:lt&&(Ke||Ke===0)?Ke:Rt,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new F,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=Te.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Te.encoding&&(T||(T=a("string_decoder/").StringDecoder),this.decoder=new T(Te.encoding),this.encoding=Te.encoding)}function te(Te){if(g=g||a("./_stream_duplex"),!(this instanceof te))return new te(Te);this._readableState=new V(Te,this),this.readable=!0,Te&&(typeof Te.read=="function"&&(this._read=Te.read),typeof Te.destroy=="function"&&(this._destroy=Te.destroy)),y.call(this)}function ue(Te,je,lt,Me,Ke){var Rt,Ie=Te._readableState;return je===null?(Ie.reading=!1,j(Te,Ie)):(Ke||(Rt=de(Ie,je)),Rt?Te.emit("error",Rt):Ie.objectMode||je&&je.length>0?(typeof je=="string"||Ie.objectMode||Object.getPrototypeOf(je)===b.prototype||(je=E(je)),Me?Ie.endEmitted?Te.emit("error",new Error("stream.unshift() after end event")):fe(Te,Ie,je,!0):Ie.ended?Te.emit("error",new Error("stream.push() after EOF")):(Ie.reading=!1,Ie.decoder&&!lt?(je=Ie.decoder.write(je),Ie.objectMode||je.length!==0?fe(Te,Ie,je,!1):z(Te,Ie)):fe(Te,Ie,je,!1))):Me||(Ie.reading=!1)),Ae(Ie)}function fe(Te,je,lt,Me){je.flowing&&je.length===0&&!je.sync?(Te.emit("data",lt),Te.read(0)):(je.length+=je.objectMode?1:lt.length,Me?je.buffer.unshift(lt):je.buffer.push(lt),je.needReadable&&J(Te)),z(Te,je)}function de(Te,je){var lt;return B(je)||typeof je=="string"||je===void 0||Te.objectMode||(lt=new TypeError("Invalid non-string/buffer chunk")),lt}function Ae(Te){return!Te.ended&&(Te.needReadable||Te.length<Te.highWaterMark||Te.length===0)}Object.defineProperty(te.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(Te){this._readableState&&(this._readableState.destroyed=Te)}}),te.prototype.destroy=N.destroy,te.prototype._undestroy=N.undestroy,te.prototype._destroy=function(Te,je){this.push(null),je(Te)},te.prototype.push=function(Te,je){var lt,Me=this._readableState;return Me.objectMode?lt=!0:typeof Te=="string"&&((je=je||Me.defaultEncoding)!==Me.encoding&&(Te=b.from(Te,je),je=""),lt=!0),ue(this,Te,je,!1,lt)},te.prototype.unshift=function(Te){return ue(this,Te,null,!0,!1)},te.prototype.isPaused=function(){return this._readableState.flowing===!1},te.prototype.setEncoding=function(Te){return T||(T=a("string_decoder/").StringDecoder),this._readableState.decoder=new T(Te),this._readableState.encoding=Te,this};var we=8388608;function Z(Te){return Te>=we?Te=we:(Te--,Te|=Te>>>1,Te|=Te>>>2,Te|=Te>>>4,Te|=Te>>>8,Te|=Te>>>16,Te++),Te}function ne(Te,je){return Te<=0||je.length===0&&je.ended?0:je.objectMode?1:Te!=Te?je.flowing&&je.length?je.buffer.head.data.length:je.length:(Te>je.highWaterMark&&(je.highWaterMark=Z(Te)),Te<=je.length?Te:je.ended?je.length:(je.needReadable=!0,0))}function j(Te,je){if(!je.ended){if(je.decoder){var lt=je.decoder.end();lt&&lt.length&&(je.buffer.push(lt),je.length+=je.objectMode?1:lt.length)}je.ended=!0,J(Te)}}function J(Te){var je=Te._readableState;je.needReadable=!1,je.emittedReadable||(D("emitReadable",je.flowing),je.emittedReadable=!0,je.sync?p.nextTick(q,Te):q(Te))}function q(Te){D("emit readable"),Te.emit("readable"),me(Te)}function z(Te,je){je.readingMore||(je.readingMore=!0,p.nextTick(X,Te,je))}function X(Te,je){for(var lt=je.length;!je.reading&&!je.flowing&&!je.ended&&je.length<je.highWaterMark&&(D("maybeReadMore read 0"),Te.read(0),lt!==je.length);)lt=je.length;je.readingMore=!1}function se(Te){return function(){var je=Te._readableState;D("pipeOnDrain",je.awaitDrain),je.awaitDrain&&je.awaitDrain--,je.awaitDrain===0&&m(Te,"data")&&(je.flowing=!0,me(Te))}}function oe(Te){D("readable nexttick read 0"),Te.read(0)}function ye(Te,je){je.resumeScheduled||(je.resumeScheduled=!0,p.nextTick(ae,Te,je))}function ae(Te,je){je.reading||(D("resume read 0"),Te.read(0)),je.resumeScheduled=!1,je.awaitDrain=0,Te.emit("resume"),me(Te),je.flowing&&!je.reading&&Te.read(0)}function me(Te){var je=Te._readableState;for(D("flow",je.flowing);je.flowing&&Te.read()!==null;);}function Fe(Te,je){return je.length===0?null:(je.objectMode?lt=je.buffer.shift():!Te||Te>=je.length?(lt=je.decoder?je.buffer.join(""):je.buffer.length===1?je.buffer.head.data:je.buffer.concat(je.length),je.buffer.clear()):lt=_e(Te,je.buffer,je.decoder),lt);var lt}function _e(Te,je,lt){var Me;return Te<je.head.data.length?(Me=je.head.data.slice(0,Te),je.head.data=je.head.data.slice(Te)):Me=Te===je.head.data.length?je.shift():lt?rt(Te,je):et(Te,je),Me}function rt(Te,je){var lt=je.head,Me=1,Ke=lt.data;for(Te-=Ke.length;lt=lt.next;){var Rt=lt.data,Ie=Te>Rt.length?Rt.length:Te;if(Ie===Rt.length?Ke+=Rt:Ke+=Rt.slice(0,Te),(Te-=Ie)==0){Ie===Rt.length?(++Me,lt.next?je.head=lt.next:je.head=je.tail=null):(je.head=lt,lt.data=Rt.slice(Ie));break}++Me}return je.length-=Me,Ke}function et(Te,je){var lt=b.allocUnsafe(Te),Me=je.head,Ke=1;for(Me.data.copy(lt),Te-=Me.data.length;Me=Me.next;){var Rt=Me.data,Ie=Te>Rt.length?Rt.length:Te;if(Rt.copy(lt,lt.length-Te,0,Ie),(Te-=Ie)==0){Ie===Rt.length?(++Ke,Me.next?je.head=Me.next:je.head=je.tail=null):(je.head=Me,Me.data=Rt.slice(Ie));break}++Ke}return je.length-=Ke,lt}function st(Te){var je=Te._readableState;if(je.length>0)throw new Error('"endReadable()" called on non-empty stream');je.endEmitted||(je.ended=!0,p.nextTick(Ge,je,Te))}function Ge(Te,je){Te.endEmitted||Te.length!==0||(Te.endEmitted=!0,je.readable=!1,je.emit("end"))}function Be(Te,je){for(var lt=0,Me=Te.length;lt<Me;lt++)if(Te[lt]===je)return lt;return-1}te.prototype.read=function(Te){D("read",Te),Te=parseInt(Te,10);var je=this._readableState,lt=Te;if(Te!==0&&(je.emittedReadable=!1),Te===0&&je.needReadable&&(je.length>=je.highWaterMark||je.ended))return D("read: emitReadable",je.length,je.ended),je.length===0&&je.ended?st(this):J(this),null;if((Te=ne(Te,je))===0&&je.ended)return je.length===0&&st(this),null;var Me,Ke=je.needReadable;return D("need readable",Ke),(je.length===0||je.length-Te<je.highWaterMark)&&D("length less than watermark",Ke=!0),je.ended||je.reading?D("reading or ended",Ke=!1):Ke&&(D("do read"),je.reading=!0,je.sync=!0,je.length===0&&(je.needReadable=!0),this._read(je.highWaterMark),je.sync=!1,je.reading||(Te=ne(lt,je))),(Me=Te>0?Fe(Te,je):null)===null?(je.needReadable=!0,Te=0):je.length-=Te,je.length===0&&(je.ended||(je.needReadable=!0),lt!==Te&&je.ended&&st(this)),Me!==null&&this.emit("data",Me),Me},te.prototype._read=function(Te){this.emit("error",new Error("_read() is not implemented"))},te.prototype.pipe=function(Te,je){var lt=this,Me=this._readableState;switch(Me.pipesCount){case 0:Me.pipes=Te;break;case 1:Me.pipes=[Me.pipes,Te];break;default:Me.pipes.push(Te)}Me.pipesCount+=1,D("pipe count=%d opts=%j",Me.pipesCount,je);var Ke=je&&je.end===!1||Te===h.stdout||Te===h.stderr?$e:Ie;function Rt(nt,Ot){D("onunpipe"),nt===lt&&Ot&&Ot.hasUnpiped===!1&&(Ot.hasUnpiped=!0,pt())}function Ie(){D("onend"),Te.end()}Me.endEmitted?p.nextTick(Ke):lt.once("end",Ke),Te.on("unpipe",Rt);var Re=se(lt);Te.on("drain",Re);var qe=!1;function pt(){D("cleanup"),Te.removeListener("close",Ft),Te.removeListener("finish",Ze),Te.removeListener("drain",Re),Te.removeListener("error",_t),Te.removeListener("unpipe",Rt),lt.removeListener("end",Ie),lt.removeListener("end",$e),lt.removeListener("data",Qe),qe=!0,!Me.awaitDrain||Te._writableState&&!Te._writableState.needDrain||Re()}var Lt=!1;function Qe(nt){D("ondata"),Lt=!1,Te.write(nt)!==!1||Lt||((Me.pipesCount===1&&Me.pipes===Te||Me.pipesCount>1&&Be(Me.pipes,Te)!==-1)&&!qe&&(D("false write response, pause",Me.awaitDrain),Me.awaitDrain++,Lt=!0),lt.pause())}function _t(nt){D("onerror",nt),$e(),Te.removeListener("error",_t),m(Te,"error")===0&&Te.emit("error",nt)}function Ft(){Te.removeListener("finish",Ze),$e()}function Ze(){D("onfinish"),Te.removeListener("close",Ft),$e()}function $e(){D("unpipe"),lt.unpipe(Te)}return lt.on("data",Qe),W(Te,"error",_t),Te.once("close",Ft),Te.once("finish",Ze),Te.emit("pipe",lt),Me.flowing||(D("pipe resume"),lt.resume()),Te},te.prototype.unpipe=function(Te){var je=this._readableState,lt={hasUnpiped:!1};if(je.pipesCount===0)return this;if(je.pipesCount===1)return Te&&Te!==je.pipes||(Te||(Te=je.pipes),je.pipes=null,je.pipesCount=0,je.flowing=!1,Te&&Te.emit("unpipe",this,lt)),this;if(!Te){var Me=je.pipes,Ke=je.pipesCount;je.pipes=null,je.pipesCount=0,je.flowing=!1;for(var Rt=0;Rt<Ke;Rt++)Me[Rt].emit("unpipe",this,{hasUnpiped:!1});return this}var Ie=Be(je.pipes,Te);return Ie===-1||(je.pipes.splice(Ie,1),je.pipesCount-=1,je.pipesCount===1&&(je.pipes=je.pipes[0]),Te.emit("unpipe",this,lt)),this},te.prototype.on=function(Te,je){var lt=y.prototype.on.call(this,Te,je);if(Te==="data")this._readableState.flowing!==!1&&this.resume();else if(Te==="readable"){var Me=this._readableState;Me.endEmitted||Me.readableListening||(Me.readableListening=Me.needReadable=!0,Me.emittedReadable=!1,Me.reading?Me.length&&J(this):p.nextTick(oe,this))}return lt},te.prototype.addListener=te.prototype.on,te.prototype.resume=function(){var Te=this._readableState;return Te.flowing||(D("resume"),Te.flowing=!0,ye(this,Te)),this},te.prototype.pause=function(){return D("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(D("pause"),this._readableState.flowing=!1,this.emit("pause")),this},te.prototype.wrap=function(Te){var je=this,lt=this._readableState,Me=!1;for(var Ke in Te.on("end",function(){if(D("wrapped end"),lt.decoder&&!lt.ended){var Ie=lt.decoder.end();Ie&&Ie.length&&je.push(Ie)}je.push(null)}),Te.on("data",function(Ie){D("wrapped data"),lt.decoder&&(Ie=lt.decoder.write(Ie)),lt.objectMode&&Ie==null||(lt.objectMode||Ie&&Ie.length)&&(je.push(Ie)||(Me=!0,Te.pause()))}),Te)this[Ke]===void 0&&typeof Te[Ke]=="function"&&(this[Ke]=function(Ie){return function(){return Te[Ie].apply(Te,arguments)}}(Ke));for(var Rt=0;Rt<H.length;Rt++)Te.on(H[Rt],this.emit.bind(this,H[Rt]));return this._read=function(Ie){D("wrapped _read",Ie),Me&&(Me=!1,Te.resume())},this},Object.defineProperty(te.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),te._fromList=Fe}).call(this)}).call(this,a("_process"),Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{"./_stream_duplex":508,"./internal/streams/BufferList":513,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":383,events:422,inherits:440,isarray:506,"process-nextick-args":466,"safe-buffer":520,"string_decoder/":521,util:188}],511:[function(a,c,u){c.exports=g;var h=a("./_stream_duplex"),d=Object.create(a("core-util-is"));function p(y,b){var I=this._transformState;I.transforming=!1;var E=I.writecb;if(!E)return this.emit("error",new Error("write callback called multiple times"));I.writechunk=null,I.writecb=null,b!=null&&this.push(b),E(y);var B=this._readableState;B.reading=!1,(B.needReadable||B.length<B.highWaterMark)&&this._read(B.highWaterMark)}function g(y){if(!(this instanceof g))return new g(y);h.call(this,y),this._transformState={afterTransform:p.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,y&&(typeof y.transform=="function"&&(this._transform=y.transform),typeof y.flush=="function"&&(this._flush=y.flush)),this.on("prefinish",A)}function A(){var y=this;typeof this._flush=="function"?this._flush(function(b,I){m(y,b,I)}):m(this,null,null)}function m(y,b,I){if(b)return y.emit("error",b);if(I!=null&&y.push(I),y._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(y._transformState.transforming)throw new Error("Calling transform done when still transforming");return y.push(null)}d.inherits=a("inherits"),d.inherits(g,h),g.prototype.push=function(y,b){return this._transformState.needTransform=!1,h.prototype.push.call(this,y,b)},g.prototype._transform=function(y,b,I){throw new Error("_transform() is not implemented")},g.prototype._write=function(y,b,I){var E=this._transformState;if(E.writecb=I,E.writechunk=y,E.writeencoding=b,!E.transforming){var B=this._readableState;(E.needTransform||B.needReadable||B.length<B.highWaterMark)&&this._read(B.highWaterMark)}},g.prototype._read=function(y){var b=this._transformState;b.writechunk!==null&&b.writecb&&!b.transforming?(b.transforming=!0,this._transform(b.writechunk,b.writeencoding,b.afterTransform)):b.needTransform=!0},g.prototype._destroy=function(y,b){var I=this;h.prototype._destroy.call(this,y,function(E){b(E),I.emit("close")})}},{"./_stream_duplex":508,"core-util-is":383,inherits:440}],512:[function(a,c,u){(function(h,d,p){(function(){var g=a("process-nextick-args");function A(ae){var me=this;this.next=null,this.entry=null,this.finish=function(){ye(me,ae)}}c.exports=W;var m,y=!h.browser&&["v0.10","v0.9."].indexOf(h.version.slice(0,5))>-1?p:g.nextTick;W.WritableState=H;var b=Object.create(a("core-util-is"));b.inherits=a("inherits");var I={deprecate:a("util-deprecate")},E=a("./internal/streams/stream"),B=a("safe-buffer").Buffer,S=(d!==void 0?d:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _(ae){return B.from(ae)}function D(ae){return B.isBuffer(ae)||ae instanceof S}var T,F=a("./internal/streams/destroy");function N(){}function H(ae,me){m=m||a("./_stream_duplex"),ae=ae||{};var Fe=me instanceof m;this.objectMode=!!ae.objectMode,Fe&&(this.objectMode=this.objectMode||!!ae.writableObjectMode);var _e=ae.highWaterMark,rt=ae.writableHighWaterMark,et=this.objectMode?16:16384;this.highWaterMark=_e||_e===0?_e:Fe&&(rt||rt===0)?rt:et,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var st=ae.decodeStrings===!1;this.decodeStrings=!st,this.defaultEncoding=ae.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ge){Z(me,Ge)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new A(this)}function W(ae){if(m=m||a("./_stream_duplex"),!(T.call(W,this)||this instanceof m))return new W(ae);this._writableState=new H(ae,this),this.writable=!0,ae&&(typeof ae.write=="function"&&(this._write=ae.write),typeof ae.writev=="function"&&(this._writev=ae.writev),typeof ae.destroy=="function"&&(this._destroy=ae.destroy),typeof ae.final=="function"&&(this._final=ae.final)),E.call(this)}function V(ae,me){var Fe=new Error("write after end");ae.emit("error",Fe),g.nextTick(me,Fe)}function te(ae,me,Fe,_e){var rt=!0,et=!1;return Fe===null?et=new TypeError("May not write null values to stream"):typeof Fe=="string"||Fe===void 0||me.objectMode||(et=new TypeError("Invalid non-string/buffer chunk")),et&&(ae.emit("error",et),g.nextTick(_e,et),rt=!1),rt}function ue(ae,me,Fe){return ae.objectMode||ae.decodeStrings===!1||typeof me!="string"||(me=B.from(me,Fe)),me}function fe(ae,me,Fe,_e,rt,et){if(!Fe){var st=ue(me,_e,rt);_e!==st&&(Fe=!0,rt="buffer",_e=st)}var Ge=me.objectMode?1:_e.length;me.length+=Ge;var Be=me.length<me.highWaterMark;if(Be||(me.needDrain=!0),me.writing||me.corked){var Te=me.lastBufferedRequest;me.lastBufferedRequest={chunk:_e,encoding:rt,isBuf:Fe,callback:et,next:null},Te?Te.next=me.lastBufferedRequest:me.bufferedRequest=me.lastBufferedRequest,me.bufferedRequestCount+=1}else de(ae,me,!1,Ge,_e,rt,et);return Be}function de(ae,me,Fe,_e,rt,et,st){me.writelen=_e,me.writecb=st,me.writing=!0,me.sync=!0,Fe?ae._writev(rt,me.onwrite):ae._write(rt,et,me.onwrite),me.sync=!1}function Ae(ae,me,Fe,_e,rt){--me.pendingcb,Fe?(g.nextTick(rt,_e),g.nextTick(se,ae,me),ae._writableState.errorEmitted=!0,ae.emit("error",_e)):(rt(_e),ae._writableState.errorEmitted=!0,ae.emit("error",_e),se(ae,me))}function we(ae){ae.writing=!1,ae.writecb=null,ae.length-=ae.writelen,ae.writelen=0}function Z(ae,me){var Fe=ae._writableState,_e=Fe.sync,rt=Fe.writecb;if(we(Fe),me)Ae(ae,Fe,_e,me,rt);else{var et=q(Fe);et||Fe.corked||Fe.bufferProcessing||!Fe.bufferedRequest||J(ae,Fe),_e?y(ne,ae,Fe,et,rt):ne(ae,Fe,et,rt)}}function ne(ae,me,Fe,_e){Fe||j(ae,me),me.pendingcb--,_e(),se(ae,me)}function j(ae,me){me.length===0&&me.needDrain&&(me.needDrain=!1,ae.emit("drain"))}function J(ae,me){me.bufferProcessing=!0;var Fe=me.bufferedRequest;if(ae._writev&&Fe&&Fe.next){var _e=me.bufferedRequestCount,rt=new Array(_e),et=me.corkedRequestsFree;et.entry=Fe;for(var st=0,Ge=!0;Fe;)rt[st]=Fe,Fe.isBuf||(Ge=!1),Fe=Fe.next,st+=1;rt.allBuffers=Ge,de(ae,me,!0,me.length,rt,"",et.finish),me.pendingcb++,me.lastBufferedRequest=null,et.next?(me.corkedRequestsFree=et.next,et.next=null):me.corkedRequestsFree=new A(me),me.bufferedRequestCount=0}else{for(;Fe;){var Be=Fe.chunk,Te=Fe.encoding,je=Fe.callback;if(de(ae,me,!1,me.objectMode?1:Be.length,Be,Te,je),Fe=Fe.next,me.bufferedRequestCount--,me.writing)break}Fe===null&&(me.lastBufferedRequest=null)}me.bufferedRequest=Fe,me.bufferProcessing=!1}function q(ae){return ae.ending&&ae.length===0&&ae.bufferedRequest===null&&!ae.finished&&!ae.writing}function z(ae,me){ae._final(function(Fe){me.pendingcb--,Fe&&ae.emit("error",Fe),me.prefinished=!0,ae.emit("prefinish"),se(ae,me)})}function X(ae,me){me.prefinished||me.finalCalled||(typeof ae._final=="function"?(me.pendingcb++,me.finalCalled=!0,g.nextTick(z,ae,me)):(me.prefinished=!0,ae.emit("prefinish")))}function se(ae,me){var Fe=q(me);return Fe&&(X(ae,me),me.pendingcb===0&&(me.finished=!0,ae.emit("finish"))),Fe}function oe(ae,me,Fe){me.ending=!0,se(ae,me),Fe&&(me.finished?g.nextTick(Fe):ae.once("finish",Fe)),me.ended=!0,ae.writable=!1}function ye(ae,me,Fe){var _e=ae.entry;for(ae.entry=null;_e;){var rt=_e.callback;me.pendingcb--,rt(Fe),_e=_e.next}me.corkedRequestsFree.next=ae}b.inherits(W,E),H.prototype.getBuffer=function(){for(var ae=this.bufferedRequest,me=[];ae;)me.push(ae),ae=ae.next;return me},function(){try{Object.defineProperty(H.prototype,"buffer",{get:I.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(T=Function.prototype[Symbol.hasInstance],Object.defineProperty(W,Symbol.hasInstance,{value:function(ae){return!!T.call(this,ae)||this===W&&ae&&ae._writableState instanceof H}})):T=function(ae){return ae instanceof this},W.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},W.prototype.write=function(ae,me,Fe){var _e=this._writableState,rt=!1,et=!_e.objectMode&&D(ae);return et&&!B.isBuffer(ae)&&(ae=_(ae)),typeof me=="function"&&(Fe=me,me=null),et?me="buffer":me||(me=_e.defaultEncoding),typeof Fe!="function"&&(Fe=N),_e.ended?V(this,Fe):(et||te(this,_e,ae,Fe))&&(_e.pendingcb++,rt=fe(this,_e,et,ae,me,Fe)),rt},W.prototype.cork=function(){this._writableState.corked++},W.prototype.uncork=function(){var ae=this._writableState;ae.corked&&(ae.corked--,ae.writing||ae.corked||ae.bufferProcessing||!ae.bufferedRequest||J(this,ae))},W.prototype.setDefaultEncoding=function(ae){if(typeof ae=="string"&&(ae=ae.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ae+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+ae);return this._writableState.defaultEncoding=ae,this},Object.defineProperty(W.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),W.prototype._write=function(ae,me,Fe){Fe(new Error("_write() is not implemented"))},W.prototype._writev=null,W.prototype.end=function(ae,me,Fe){var _e=this._writableState;typeof ae=="function"?(Fe=ae,ae=null,me=null):typeof me=="function"&&(Fe=me,me=null),ae!=null&&this.write(ae,me),_e.corked&&(_e.corked=1,this.uncork()),_e.ending||oe(this,_e,Fe)},Object.defineProperty(W.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(ae){this._writableState&&(this._writableState.destroyed=ae)}}),W.prototype.destroy=F.destroy,W.prototype._undestroy=F.undestroy,W.prototype._destroy=function(ae,me){this.end(),me(ae)}}).call(this)}).call(this,a("_process"),Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{},a("timers").setImmediate)},{"./_stream_duplex":508,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":383,inherits:440,"process-nextick-args":466,"safe-buffer":520,timers:523,"util-deprecate":524}],513:[function(a,c,u){function h(A,m){if(!(A instanceof m))throw new TypeError("Cannot call a class as a function")}var d=a("safe-buffer").Buffer,p=a("util");function g(A,m,y){A.copy(m,y)}c.exports=function(){function A(){h(this,A),this.head=null,this.tail=null,this.length=0}return A.prototype.push=function(m){var y={data:m,next:null};this.length>0?this.tail.next=y:this.head=y,this.tail=y,++this.length},A.prototype.unshift=function(m){var y={data:m,next:this.head};this.length===0&&(this.tail=y),this.head=y,++this.length},A.prototype.shift=function(){if(this.length!==0){var m=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,m}},A.prototype.clear=function(){this.head=this.tail=null,this.length=0},A.prototype.join=function(m){if(this.length===0)return"";for(var y=this.head,b=""+y.data;y=y.next;)b+=m+y.data;return b},A.prototype.concat=function(m){if(this.length===0)return d.alloc(0);for(var y=d.allocUnsafe(m>>>0),b=this.head,I=0;b;)g(b.data,y,I),I+=b.data.length,b=b.next;return y},A}(),p&&p.inspect&&p.inspect.custom&&(c.exports.prototype[p.inspect.custom]=function(){var A=p.inspect({length:this.length});return this.constructor.name+" "+A})},{"safe-buffer":520,util:188}],514:[function(a,c,u){var h=a("process-nextick-args");function d(A,m){var y=this,b=this._readableState&&this._readableState.destroyed,I=this._writableState&&this._writableState.destroyed;return b||I?(m?m(A):A&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,h.nextTick(g,this,A)):h.nextTick(g,this,A)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(A||null,function(E){!m&&E?y._writableState?y._writableState.errorEmitted||(y._writableState.errorEmitted=!0,h.nextTick(g,y,E)):h.nextTick(g,y,E):m&&m(E)}),this)}function p(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function g(A,m){A.emit("error",m)}c.exports={destroy:d,undestroy:p}},{"process-nextick-args":466}],515:[function(a,c,u){arguments[4][490][0].apply(u,arguments)},{dup:490,events:422}],516:[function(a,c,u){c.exports=a("./readable").PassThrough},{"./readable":517}],517:[function(a,c,u){(u=c.exports=a("./lib/_stream_readable.js")).Stream=u,u.Readable=u,u.Writable=a("./lib/_stream_writable.js"),u.Duplex=a("./lib/_stream_duplex.js"),u.Transform=a("./lib/_stream_transform.js"),u.PassThrough=a("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":508,"./lib/_stream_passthrough.js":509,"./lib/_stream_readable.js":510,"./lib/_stream_transform.js":511,"./lib/_stream_writable.js":512}],518:[function(a,c,u){c.exports=a("./readable").Transform},{"./readable":517}],519:[function(a,c,u){c.exports=a("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":512}],520:[function(a,c,u){arguments[4][217][0].apply(u,arguments)},{buffer:220,dup:217}],521:[function(a,c,u){arguments[4][218][0].apply(u,arguments)},{dup:218,"safe-buffer":520}],522:[function(a,c,u){arguments[4][218][0].apply(u,arguments)},{dup:218,"safe-buffer":494}],523:[function(a,c,u){(function(h,d){(function(){var p=a("process/browser.js").nextTick,g=Function.prototype.apply,A=Array.prototype.slice,m={},y=0;function b(I,E){this._id=I,this._clearFn=E}u.setTimeout=function(){return new b(g.call(setTimeout,window,arguments),clearTimeout)},u.setInterval=function(){return new b(g.call(setInterval,window,arguments),clearInterval)},u.clearTimeout=u.clearInterval=function(I){I.close()},b.prototype.unref=b.prototype.ref=function(){},b.prototype.close=function(){this._clearFn.call(window,this._id)},u.enroll=function(I,E){clearTimeout(I._idleTimeoutId),I._idleTimeout=E},u.unenroll=function(I){clearTimeout(I._idleTimeoutId),I._idleTimeout=-1},u._unrefActive=u.active=function(I){clearTimeout(I._idleTimeoutId);var E=I._idleTimeout;E>=0&&(I._idleTimeoutId=setTimeout(function(){I._onTimeout&&I._onTimeout()},E))},u.setImmediate=typeof h=="function"?h:function(I){var E=y++,B=!(arguments.length<2)&&A.call(arguments,1);return m[E]=!0,p(function(){m[E]&&(B?I.apply(null,B):I.call(null),u.clearImmediate(E))}),E},u.clearImmediate=typeof d=="function"?d:function(I){delete m[I]}}).call(this)}).call(this,a("timers").setImmediate,a("timers").clearImmediate)},{"process/browser.js":467,timers:523}],524:[function(a,c,u){(function(h){(function(){function d(g,A){if(p("noDeprecation"))return g;var m=!1;function y(){if(!m){if(p("throwDeprecation"))throw new Error(A);p("traceDeprecation")?console.trace(A):console.warn(A),m=!0}return g.apply(this,arguments)}return y}function p(g){try{if(!h.localStorage)return!1}catch{return!1}var A=h.localStorage[g];return A!=null&&String(A).toLowerCase()==="true"}c.exports=d}).call(this)}).call(this,Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{}],525:[function(a,c,u){typeof Object.create=="function"?c.exports=function(h,d){h.super_=d,h.prototype=Object.create(d.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}})}:c.exports=function(h,d){h.super_=d;var p=function(){};p.prototype=d.prototype,h.prototype=new p,h.prototype.constructor=h}},{}],526:[function(a,c,u){c.exports=function(h){return h&&typeof h=="object"&&typeof h.copy=="function"&&typeof h.fill=="function"&&typeof h.readUInt8=="function"}},{}],527:[function(a,c,u){(function(h,d){(function(){var p=/%[sdj%]/g;u.format=function(oe){if(!te(oe)){for(var ye=[],ae=0;ae<arguments.length;ae++)ye.push(m(arguments[ae]));return ye.join(" ")}ae=1;for(var me=arguments,Fe=me.length,_e=String(oe).replace(p,function(et){if(et==="%%")return"%";if(ae>=Fe)return et;switch(et){case"%s":return String(me[ae++]);case"%d":return Number(me[ae++]);case"%j":try{return JSON.stringify(me[ae++])}catch{return"[Circular]"}default:return et}}),rt=me[ae];ae<Fe;rt=me[++ae])H(rt)||!Ae(rt)?_e+=" "+rt:_e+=" "+m(rt);return _e},u.deprecate=function(oe,ye){if(fe(d.process))return function(){return u.deprecate(oe,ye).apply(this,arguments)};if(h.noDeprecation===!0)return oe;var ae=!1;function me(){if(!ae){if(h.throwDeprecation)throw new Error(ye);h.traceDeprecation?console.trace(ye):console.error(ye),ae=!0}return oe.apply(this,arguments)}return me};var g,A={};function m(oe,ye){var ae={seen:[],stylize:b};return arguments.length>=3&&(ae.depth=arguments[2]),arguments.length>=4&&(ae.colors=arguments[3]),N(ye)?ae.showHidden=ye:ye&&u._extend(ae,ye),fe(ae.showHidden)&&(ae.showHidden=!1),fe(ae.depth)&&(ae.depth=2),fe(ae.colors)&&(ae.colors=!1),fe(ae.customInspect)&&(ae.customInspect=!0),ae.colors&&(ae.stylize=y),E(ae,oe,ae.depth)}function y(oe,ye){var ae=m.styles[ye];return ae?"\x1B["+m.colors[ae][0]+"m"+oe+"\x1B["+m.colors[ae][1]+"m":oe}function b(oe,ye){return oe}function I(oe){var ye={};return oe.forEach(function(ae,me){ye[ae]=!0}),ye}function E(oe,ye,ae){if(oe.customInspect&&ye&&ne(ye.inspect)&&ye.inspect!==u.inspect&&(!ye.constructor||ye.constructor.prototype!==ye)){var me=ye.inspect(ae,oe);return te(me)||(me=E(oe,me,ae)),me}var Fe=B(oe,ye);if(Fe)return Fe;var _e=Object.keys(ye),rt=I(_e);if(oe.showHidden&&(_e=Object.getOwnPropertyNames(ye)),Z(ye)&&(_e.indexOf("message")>=0||_e.indexOf("description")>=0))return S(ye);if(_e.length===0){if(ne(ye)){var et=ye.name?": "+ye.name:"";return oe.stylize("[Function"+et+"]","special")}if(de(ye))return oe.stylize(RegExp.prototype.toString.call(ye),"regexp");if(we(ye))return oe.stylize(Date.prototype.toString.call(ye),"date");if(Z(ye))return S(ye)}var st,Ge="",Be=!1,Te=["{","}"];return F(ye)&&(Be=!0,Te=["[","]"]),ne(ye)&&(Ge=" [Function"+(ye.name?": "+ye.name:"")+"]"),de(ye)&&(Ge=" "+RegExp.prototype.toString.call(ye)),we(ye)&&(Ge=" "+Date.prototype.toUTCString.call(ye)),Z(ye)&&(Ge=" "+S(ye)),_e.length!==0||Be&&ye.length!=0?ae<0?de(ye)?oe.stylize(RegExp.prototype.toString.call(ye),"regexp"):oe.stylize("[Object]","special"):(oe.seen.push(ye),st=Be?_(oe,ye,ae,rt,_e):_e.map(function(je){return D(oe,ye,ae,rt,je,Be)}),oe.seen.pop(),T(st,Ge,Te)):Te[0]+Ge+Te[1]}function B(oe,ye){if(fe(ye))return oe.stylize("undefined","undefined");if(te(ye)){var ae="'"+JSON.stringify(ye).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return oe.stylize(ae,"string")}return V(ye)?oe.stylize(""+ye,"number"):N(ye)?oe.stylize(""+ye,"boolean"):H(ye)?oe.stylize("null","null"):void 0}function S(oe){return"["+Error.prototype.toString.call(oe)+"]"}function _(oe,ye,ae,me,Fe){for(var _e=[],rt=0,et=ye.length;rt<et;++rt)se(ye,String(rt))?_e.push(D(oe,ye,ae,me,String(rt),!0)):_e.push("");return Fe.forEach(function(st){st.match(/^\d+$/)||_e.push(D(oe,ye,ae,me,st,!0))}),_e}function D(oe,ye,ae,me,Fe,_e){var rt,et,st;if((st=Object.getOwnPropertyDescriptor(ye,Fe)||{value:ye[Fe]}).get?et=st.set?oe.stylize("[Getter/Setter]","special"):oe.stylize("[Getter]","special"):st.set&&(et=oe.stylize("[Setter]","special")),se(me,Fe)||(rt="["+Fe+"]"),et||(oe.seen.indexOf(st.value)<0?(et=H(ae)?E(oe,st.value,null):E(oe,st.value,ae-1)).indexOf(`
  44. `)>-1&&(et=_e?et.split(`
  45. `).map(function(Ge){return" "+Ge}).join(`
  46. `).substr(2):`
  47. `+et.split(`
  48. `).map(function(Ge){return" "+Ge}).join(`
  49. `)):et=oe.stylize("[Circular]","special")),fe(rt)){if(_e&&Fe.match(/^\d+$/))return et;(rt=JSON.stringify(""+Fe)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(rt=rt.substr(1,rt.length-2),rt=oe.stylize(rt,"name")):(rt=rt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),rt=oe.stylize(rt,"string"))}return rt+": "+et}function T(oe,ye,ae){return oe.reduce(function(me,Fe){return Fe.indexOf(`
  50. `),me+Fe.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?ae[0]+(ye===""?"":ye+`
  51. `)+" "+oe.join(`,
  52. `)+" "+ae[1]:ae[0]+ye+" "+oe.join(", ")+" "+ae[1]}function F(oe){return Array.isArray(oe)}function N(oe){return typeof oe=="boolean"}function H(oe){return oe===null}function W(oe){return oe==null}function V(oe){return typeof oe=="number"}function te(oe){return typeof oe=="string"}function ue(oe){return typeof oe=="symbol"}function fe(oe){return oe===void 0}function de(oe){return Ae(oe)&&J(oe)==="[object RegExp]"}function Ae(oe){return typeof oe=="object"&&oe!==null}function we(oe){return Ae(oe)&&J(oe)==="[object Date]"}function Z(oe){return Ae(oe)&&(J(oe)==="[object Error]"||oe instanceof Error)}function ne(oe){return typeof oe=="function"}function j(oe){return oe===null||typeof oe=="boolean"||typeof oe=="number"||typeof oe=="string"||typeof oe=="symbol"||oe===void 0}function J(oe){return Object.prototype.toString.call(oe)}function q(oe){return oe<10?"0"+oe.toString(10):oe.toString(10)}u.debuglog=function(oe){if(fe(g)&&(g=h.env.NODE_DEBUG||""),oe=oe.toUpperCase(),!A[oe])if(new RegExp("\\b"+oe+"\\b","i").test(g)){var ye=h.pid;A[oe]=function(){var ae=u.format.apply(u,arguments);console.error("%s %d: %s",oe,ye,ae)}}else A[oe]=function(){};return A[oe]},u.inspect=m,m.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},m.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},u.isArray=F,u.isBoolean=N,u.isNull=H,u.isNullOrUndefined=W,u.isNumber=V,u.isString=te,u.isSymbol=ue,u.isUndefined=fe,u.isRegExp=de,u.isObject=Ae,u.isDate=we,u.isError=Z,u.isFunction=ne,u.isPrimitive=j,u.isBuffer=a("./support/isBuffer");var z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function X(){var oe=new Date,ye=[q(oe.getHours()),q(oe.getMinutes()),q(oe.getSeconds())].join(":");return[oe.getDate(),z[oe.getMonth()],ye].join(" ")}function se(oe,ye){return Object.prototype.hasOwnProperty.call(oe,ye)}u.log=function(){console.log("%s - %s",X(),u.format.apply(u,arguments))},u.inherits=a("inherits"),u._extend=function(oe,ye){if(!ye||!Ae(ye))return oe;for(var ae=Object.keys(ye),me=ae.length;me--;)oe[ae[me]]=ye[ae[me]];return oe}}).call(this)}).call(this,a("_process"),Ui!==void 0?Ui:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":526,_process:467,inherits:525}],528:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),Object.defineProperty(u,"v1",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(u,"v3",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(u,"v4",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(u,"v5",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(u,"NIL",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(u,"version",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(u,"validate",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(u,"stringify",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(u,"parse",{enumerable:!0,get:function(){return I.default}});var h=E(a("./v1.js")),d=E(a("./v3.js")),p=E(a("./v4.js")),g=E(a("./v5.js")),A=E(a("./nil.js")),m=E(a("./version.js")),y=E(a("./validate.js")),b=E(a("./stringify.js")),I=E(a("./parse.js"));function E(B){return B&&B.__esModule?B:{default:B}}},{"./nil.js":530,"./parse.js":531,"./stringify.js":535,"./v1.js":536,"./v3.js":537,"./v4.js":539,"./v5.js":540,"./validate.js":541,"./version.js":542}],529:[function(a,c,u){function h(D){if(typeof D=="string"){var T=unescape(encodeURIComponent(D));D=new Uint8Array(T.length);for(var F=0;F<T.length;++F)D[F]=T.charCodeAt(F)}return d(g(A(D),8*D.length))}function d(D){for(var T=[],F=32*D.length,N="0123456789abcdef",H=0;H<F;H+=8){var W=D[H>>5]>>>H%32&255,V=parseInt(N.charAt(W>>>4&15)+N.charAt(15&W),16);T.push(V)}return T}function p(D){return 14+(D+64>>>9<<4)+1}function g(D,T){D[T>>5]|=128<<T%32,D[p(T)-1]=T;for(var F=1732584193,N=-271733879,H=-1732584194,W=271733878,V=0;V<D.length;V+=16){var te=F,ue=N,fe=H,de=W;F=I(F,N,H,W,D[V],7,-680876936),W=I(W,F,N,H,D[V+1],12,-389564586),H=I(H,W,F,N,D[V+2],17,606105819),N=I(N,H,W,F,D[V+3],22,-1044525330),F=I(F,N,H,W,D[V+4],7,-176418897),W=I(W,F,N,H,D[V+5],12,1200080426),H=I(H,W,F,N,D[V+6],17,-1473231341),N=I(N,H,W,F,D[V+7],22,-45705983),F=I(F,N,H,W,D[V+8],7,1770035416),W=I(W,F,N,H,D[V+9],12,-1958414417),H=I(H,W,F,N,D[V+10],17,-42063),N=I(N,H,W,F,D[V+11],22,-1990404162),F=I(F,N,H,W,D[V+12],7,1804603682),W=I(W,F,N,H,D[V+13],12,-40341101),H=I(H,W,F,N,D[V+14],17,-1502002290),F=E(F,N=I(N,H,W,F,D[V+15],22,1236535329),H,W,D[V+1],5,-165796510),W=E(W,F,N,H,D[V+6],9,-1069501632),H=E(H,W,F,N,D[V+11],14,643717713),N=E(N,H,W,F,D[V],20,-373897302),F=E(F,N,H,W,D[V+5],5,-701558691),W=E(W,F,N,H,D[V+10],9,38016083),H=E(H,W,F,N,D[V+15],14,-660478335),N=E(N,H,W,F,D[V+4],20,-405537848),F=E(F,N,H,W,D[V+9],5,568446438),W=E(W,F,N,H,D[V+14],9,-1019803690),H=E(H,W,F,N,D[V+3],14,-187363961),N=E(N,H,W,F,D[V+8],20,1163531501),F=E(F,N,H,W,D[V+13],5,-1444681467),W=E(W,F,N,H,D[V+2],9,-51403784),H=E(H,W,F,N,D[V+7],14,1735328473),F=B(F,N=E(N,H,W,F,D[V+12],20,-1926607734),H,W,D[V+5],4,-378558),W=B(W,F,N,H,D[V+8],11,-2022574463),H=B(H,W,F,N,D[V+11],16,1839030562),N=B(N,H,W,F,D[V+14],23,-35309556),F=B(F,N,H,W,D[V+1],4,-1530992060),W=B(W,F,N,H,D[V+4],11,1272893353),H=B(H,W,F,N,D[V+7],16,-155497632),N=B(N,H,W,F,D[V+10],23,-1094730640),F=B(F,N,H,W,D[V+13],4,681279174),W=B(W,F,N,H,D[V],11,-358537222),H=B(H,W,F,N,D[V+3],16,-722521979),N=B(N,H,W,F,D[V+6],23,76029189),F=B(F,N,H,W,D[V+9],4,-640364487),W=B(W,F,N,H,D[V+12],11,-421815835),H=B(H,W,F,N,D[V+15],16,530742520),F=S(F,N=B(N,H,W,F,D[V+2],23,-995338651),H,W,D[V],6,-198630844),W=S(W,F,N,H,D[V+7],10,1126891415),H=S(H,W,F,N,D[V+14],15,-1416354905),N=S(N,H,W,F,D[V+5],21,-57434055),F=S(F,N,H,W,D[V+12],6,1700485571),W=S(W,F,N,H,D[V+3],10,-1894986606),H=S(H,W,F,N,D[V+10],15,-1051523),N=S(N,H,W,F,D[V+1],21,-2054922799),F=S(F,N,H,W,D[V+8],6,1873313359),W=S(W,F,N,H,D[V+15],10,-30611744),H=S(H,W,F,N,D[V+6],15,-1560198380),N=S(N,H,W,F,D[V+13],21,1309151649),F=S(F,N,H,W,D[V+4],6,-145523070),W=S(W,F,N,H,D[V+11],10,-1120210379),H=S(H,W,F,N,D[V+2],15,718787259),N=S(N,H,W,F,D[V+9],21,-343485551),F=m(F,te),N=m(N,ue),H=m(H,fe),W=m(W,de)}return[F,N,H,W]}function A(D){if(D.length===0)return[];for(var T=8*D.length,F=new Uint32Array(p(T)),N=0;N<T;N+=8)F[N>>5]|=(255&D[N/8])<<N%32;return F}function m(D,T){var F=(65535&D)+(65535&T);return(D>>16)+(T>>16)+(F>>16)<<16|65535&F}function y(D,T){return D<<T|D>>>32-T}function b(D,T,F,N,H,W){return m(y(m(m(T,D),m(N,W)),H),F)}function I(D,T,F,N,H,W,V){return b(T&F|~T&N,D,T,H,W,V)}function E(D,T,F,N,H,W,V){return b(T&N|F&~N,D,T,H,W,V)}function B(D,T,F,N,H,W,V){return b(T^F^N,D,T,H,W,V)}function S(D,T,F,N,H,W,V){return b(F^(T|~N),D,T,H,W,V)}Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var _=h;u.default=_},{}],530:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var h="00000000-0000-0000-0000-000000000000";u.default=h},{}],531:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var h=d(a("./validate.js"));function d(A){return A&&A.__esModule?A:{default:A}}function p(A){if(!(0,h.default)(A))throw TypeError("Invalid UUID");var m,y=new Uint8Array(16);return y[0]=(m=parseInt(A.slice(0,8),16))>>>24,y[1]=m>>>16&255,y[2]=m>>>8&255,y[3]=255&m,y[4]=(m=parseInt(A.slice(9,13),16))>>>8,y[5]=255&m,y[6]=(m=parseInt(A.slice(14,18),16))>>>8,y[7]=255&m,y[8]=(m=parseInt(A.slice(19,23),16))>>>8,y[9]=255&m,y[10]=(m=parseInt(A.slice(24,36),16))/1099511627776&255,y[11]=m/4294967296&255,y[12]=m>>>24&255,y[13]=m>>>16&255,y[14]=m>>>8&255,y[15]=255&m,y}var g=p;u.default=g},{"./validate.js":541}],532:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var h=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;u.default=h},{}],533:[function(a,c,u){var h;Object.defineProperty(u,"__esModule",{value:!0}),u.default=p;var d=new Uint8Array(16);function p(){if(!h&&!(h=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return h(d)}},{}],534:[function(a,c,u){function h(A,m,y,b){switch(A){case 0:return m&y^~m&b;case 1:case 3:return m^y^b;case 2:return m&y^m&b^y&b}}function d(A,m){return A<<m|A>>>32-m}function p(A){var m=[1518500249,1859775393,2400959708,3395469782],y=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof A=="string"){var b=unescape(encodeURIComponent(A));A=[];for(var I=0;I<b.length;++I)A.push(b.charCodeAt(I))}else Array.isArray(A)||(A=Array.prototype.slice.call(A));A.push(128);for(var E=A.length/4+2,B=Math.ceil(E/16),S=new Array(B),_=0;_<B;++_){for(var D=new Uint32Array(16),T=0;T<16;++T)D[T]=A[64*_+4*T]<<24|A[64*_+4*T+1]<<16|A[64*_+4*T+2]<<8|A[64*_+4*T+3];S[_]=D}S[B-1][14]=8*(A.length-1)/Math.pow(2,32),S[B-1][14]=Math.floor(S[B-1][14]),S[B-1][15]=8*(A.length-1)&4294967295;for(var F=0;F<B;++F){for(var N=new Uint32Array(80),H=0;H<16;++H)N[H]=S[F][H];for(var W=16;W<80;++W)N[W]=d(N[W-3]^N[W-8]^N[W-14]^N[W-16],1);for(var V=y[0],te=y[1],ue=y[2],fe=y[3],de=y[4],Ae=0;Ae<80;++Ae){var we=Math.floor(Ae/20),Z=d(V,5)+h(we,te,ue,fe)+de+m[we]+N[Ae]>>>0;de=fe,fe=ue,ue=d(te,30)>>>0,te=V,V=Z}y[0]=y[0]+V>>>0,y[1]=y[1]+te>>>0,y[2]=y[2]+ue>>>0,y[3]=y[3]+fe>>>0,y[4]=y[4]+de>>>0}return[y[0]>>24&255,y[0]>>16&255,y[0]>>8&255,255&y[0],y[1]>>24&255,y[1]>>16&255,y[1]>>8&255,255&y[1],y[2]>>24&255,y[2]>>16&255,y[2]>>8&255,255&y[2],y[3]>>24&255,y[3]>>16&255,y[3]>>8&255,255&y[3],y[4]>>24&255,y[4]>>16&255,y[4]>>8&255,255&y[4]]}Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var g=p;u.default=g},{}],535:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var h=d(a("./validate.js"));function d(y){return y&&y.__esModule?y:{default:y}}for(var p=[],g=0;g<256;++g)p.push((g+256).toString(16).substr(1));function A(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,I=(p[y[b+0]]+p[y[b+1]]+p[y[b+2]]+p[y[b+3]]+"-"+p[y[b+4]]+p[y[b+5]]+"-"+p[y[b+6]]+p[y[b+7]]+"-"+p[y[b+8]]+p[y[b+9]]+"-"+p[y[b+10]]+p[y[b+11]]+p[y[b+12]]+p[y[b+13]]+p[y[b+14]]+p[y[b+15]]).toLowerCase();if(!(0,h.default)(I))throw TypeError("Stringified UUID is invalid");return I}var m=A;u.default=m},{"./validate.js":541}],536:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var h,d,p=A(a("./rng.js")),g=A(a("./stringify.js"));function A(E){return E&&E.__esModule?E:{default:E}}var m=0,y=0;function b(E,B,S){var _=B&&S||0,D=B||new Array(16),T=(E=E||{}).node||h,F=E.clockseq!==void 0?E.clockseq:d;if(T==null||F==null){var N=E.random||(E.rng||p.default)();T==null&&(T=h=[1|N[0],N[1],N[2],N[3],N[4],N[5]]),F==null&&(F=d=16383&(N[6]<<8|N[7]))}var H=E.msecs!==void 0?E.msecs:Date.now(),W=E.nsecs!==void 0?E.nsecs:y+1,V=H-m+(W-y)/1e4;if(V<0&&E.clockseq===void 0&&(F=F+1&16383),(V<0||H>m)&&E.nsecs===void 0&&(W=0),W>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");m=H,y=W,d=F;var te=(1e4*(268435455&(H+=122192928e5))+W)%4294967296;D[_++]=te>>>24&255,D[_++]=te>>>16&255,D[_++]=te>>>8&255,D[_++]=255&te;var ue=H/4294967296*1e4&268435455;D[_++]=ue>>>8&255,D[_++]=255&ue,D[_++]=ue>>>24&15|16,D[_++]=ue>>>16&255,D[_++]=F>>>8|128,D[_++]=255&F;for(var fe=0;fe<6;++fe)D[_+fe]=T[fe];return B||(0,g.default)(D)}var I=b;u.default=I},{"./rng.js":533,"./stringify.js":535}],537:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var h=p(a("./v35.js")),d=p(a("./md5.js"));function p(A){return A&&A.__esModule?A:{default:A}}var g=(0,h.default)("v3",48,d.default);u.default=g},{"./md5.js":529,"./v35.js":538}],538:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=y,u.URL=u.DNS=void 0;var h=p(a("./stringify.js")),d=p(a("./parse.js"));function p(b){return b&&b.__esModule?b:{default:b}}function g(b){b=unescape(encodeURIComponent(b));for(var I=[],E=0;E<b.length;++E)I.push(b.charCodeAt(E));return I}var A="6ba7b810-9dad-11d1-80b4-00c04fd430c8";u.DNS=A;var m="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function y(b,I,E){function B(S,_,D,T){if(typeof S=="string"&&(S=g(S)),typeof _=="string"&&(_=(0,d.default)(_)),_.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var F=new Uint8Array(16+S.length);if(F.set(_),F.set(S,_.length),(F=E(F))[6]=15&F[6]|I,F[8]=63&F[8]|128,D){T=T||0;for(var N=0;N<16;++N)D[T+N]=F[N];return D}return(0,h.default)(F)}try{B.name=b}catch{}return B.DNS=A,B.URL=m,B}u.URL=m},{"./parse.js":531,"./stringify.js":535}],539:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var h=p(a("./rng.js")),d=p(a("./stringify.js"));function p(m){return m&&m.__esModule?m:{default:m}}function g(m,y,b){var I=(m=m||{}).random||(m.rng||h.default)();if(I[6]=15&I[6]|64,I[8]=63&I[8]|128,y){b=b||0;for(var E=0;E<16;++E)y[b+E]=I[E];return y}return(0,d.default)(I)}var A=g;u.default=A},{"./rng.js":533,"./stringify.js":535}],540:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var h=p(a("./v35.js")),d=p(a("./sha1.js"));function p(A){return A&&A.__esModule?A:{default:A}}var g=(0,h.default)("v5",80,d.default);u.default=g},{"./sha1.js":534,"./v35.js":538}],541:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var h=d(a("./regex.js"));function d(A){return A&&A.__esModule?A:{default:A}}function p(A){return typeof A=="string"&&h.default.test(A)}var g=p;u.default=g},{"./regex.js":532}],542:[function(a,c,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var h=d(a("./validate.js"));function d(A){return A&&A.__esModule?A:{default:A}}function p(A){if(!(0,h.default)(A))throw TypeError("Invalid UUID");return parseInt(A.substr(14,1),16)}var g=p;u.default=g},{"./validate.js":541}],543:[function(a,c,u){/**
  53. * Character classes and associated utilities for the 5th edition of XML 1.0.
  54. *
  55. * @author Louis-Dominique Dubeau
  56. * @license MIT
  57. * @copyright Louis-Dominique Dubeau
  58. */Object.defineProperty(u,"__esModule",{value:!0}),u.CHAR=`
  59. \r -퟿-�𐀀-􏿿`,u.S=` \r
  60. `,u.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",u.NAME_CHAR="-"+u.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",u.CHAR_RE=new RegExp("^["+u.CHAR+"]$","u"),u.S_RE=new RegExp("^["+u.S+"]+$","u"),u.NAME_START_CHAR_RE=new RegExp("^["+u.NAME_START_CHAR+"]$","u"),u.NAME_CHAR_RE=new RegExp("^["+u.NAME_CHAR+"]$","u"),u.NAME_RE=new RegExp("^["+u.NAME_START_CHAR+"]["+u.NAME_CHAR+"]*$","u"),u.NMTOKEN_RE=new RegExp("^["+u.NAME_CHAR+"]+$","u");var h=9,d=10,p=13,g=32;function A(I){return I>=g&&I<=55295||I===d||I===p||I===h||I>=57344&&I<=65533||I>=65536&&I<=1114111}function m(I){return I===g||I===d||I===p||I===h}function y(I){return I>=65&&I<=90||I>=97&&I<=122||I===58||I===95||I===8204||I===8205||I>=192&&I<=214||I>=216&&I<=246||I>=248&&I<=767||I>=880&&I<=893||I>=895&&I<=8191||I>=8304&&I<=8591||I>=11264&&I<=12271||I>=12289&&I<=55295||I>=63744&&I<=64975||I>=65008&&I<=65533||I>=65536&&I<=983039}function b(I){return y(I)||I>=48&&I<=57||I===45||I===46||I===183||I>=768&&I<=879||I>=8255&&I<=8256}u.S_LIST=[g,d,p,h],u.isChar=A,u.isS=m,u.isNameStartChar=y,u.isNameChar=b},{}],544:[function(a,c,u){/**
  61. * Character classes and associated utilities for the 2nd edition of XML 1.1.
  62. *
  63. * @author Louis-Dominique Dubeau
  64. * @license MIT
  65. * @copyright Louis-Dominique Dubeau
  66. */Object.defineProperty(u,"__esModule",{value:!0}),u.CHAR="-퟿-�𐀀-􏿿",u.RESTRICTED_CHAR="-\b\v\f--„†-Ÿ",u.S=` \r
  67. `,u.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",u.NAME_CHAR="-"+u.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",u.CHAR_RE=new RegExp("^["+u.CHAR+"]$","u"),u.RESTRICTED_CHAR_RE=new RegExp("^["+u.RESTRICTED_CHAR+"]$","u"),u.S_RE=new RegExp("^["+u.S+"]+$","u"),u.NAME_START_CHAR_RE=new RegExp("^["+u.NAME_START_CHAR+"]$","u"),u.NAME_CHAR_RE=new RegExp("^["+u.NAME_CHAR+"]$","u"),u.NAME_RE=new RegExp("^["+u.NAME_START_CHAR+"]["+u.NAME_CHAR+"]*$","u"),u.NMTOKEN_RE=new RegExp("^["+u.NAME_CHAR+"]+$","u");var h=9,d=10,p=13,g=32;function A(B){return B>=1&&B<=55295||B>=57344&&B<=65533||B>=65536&&B<=1114111}function m(B){return B>=1&&B<=8||B===11||B===12||B>=14&&B<=31||B>=127&&B<=132||B>=134&&B<=159}function y(B){return B===9||B===10||B===13||B>31&&B<127||B===133||B>159&&B<=55295||B>=57344&&B<=65533||B>=65536&&B<=1114111}function b(B){return B===g||B===d||B===p||B===h}function I(B){return B>=65&&B<=90||B>=97&&B<=122||B===58||B===95||B===8204||B===8205||B>=192&&B<=214||B>=216&&B<=246||B>=248&&B<=767||B>=880&&B<=893||B>=895&&B<=8191||B>=8304&&B<=8591||B>=11264&&B<=12271||B>=12289&&B<=55295||B>=63744&&B<=64975||B>=65008&&B<=65533||B>=65536&&B<=983039}function E(B){return I(B)||B>=48&&B<=57||B===45||B===46||B===183||B>=768&&B<=879||B>=8255&&B<=8256}u.S_LIST=[g,d,p,h],u.isChar=A,u.isRestrictedChar=m,u.isCharAndNotRestricted=y,u.isS=b,u.isNameStartChar=I,u.isNameChar=E},{}],545:[function(a,c,u){function h(p){return p>=65&&p<=90||p===95||p>=97&&p<=122||p>=192&&p<=214||p>=216&&p<=246||p>=248&&p<=767||p>=880&&p<=893||p>=895&&p<=8191||p>=8204&&p<=8205||p>=8304&&p<=8591||p>=11264&&p<=12271||p>=12289&&p<=55295||p>=63744&&p<=64975||p>=65008&&p<=65533||p>=65536&&p<=983039}function d(p){return h(p)||p===45||p===46||p>=48&&p<=57||p===183||p>=768&&p<=879||p>=8255&&p<=8256}/**
  68. * Character class utilities for XML NS 1.0 edition 3.
  69. *
  70. * @author Louis-Dominique Dubeau
  71. * @license MIT
  72. * @copyright Louis-Dominique Dubeau
  73. */Object.defineProperty(u,"__esModule",{value:!0}),u.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",u.NC_NAME_CHAR="-"+u.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",u.NC_NAME_START_CHAR_RE=new RegExp("^["+u.NC_NAME_START_CHAR+"]$","u"),u.NC_NAME_CHAR_RE=new RegExp("^["+u.NC_NAME_CHAR+"]$","u"),u.NC_NAME_RE=new RegExp("^["+u.NC_NAME_START_CHAR+"]["+u.NC_NAME_CHAR+"]*$","u"),u.isNCNameStartChar=h,u.isNCNameChar=d},{}]},{},[15])(15);var g5=U2.exports;function K0(){return(K0=Sa(_n.mark(function a(c,u){return _n.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(u){h.next=2;break}return h.abrupt("return");case 2:u instanceof ArrayBuffer&&(u=new Blob([u])),rp(c,URL.createObjectURL(u));case 4:case"end":return h.stop()}},a)}))).apply(this,arguments)}function rp(a,c){var u=document.createElement("a");u.download=a,u.style.display="none",u.href=c,document.body.appendChild(u),u.click(),document.body.removeChild(u)}function iy(a){return(iy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c})(a)}var p5=/^\s+/,vw=/\s+$/;function ei(a,c){if(c=c||{},(a=a||"")instanceof ei)return a;if(!(this instanceof ei))return new ei(a,c);var u=function(h){var d={r:0,g:0,b:0},p=1,g=null,A=null,m=null,y=!1,b=!1;typeof h=="string"&&(h=function(S){S=S.replace(p5,"").replace(vw,"").toLowerCase();var _,D=!1;if(cy[S])S=cy[S],D=!0;else if(S=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(_=Vc.rgb.exec(S))?{r:_[1],g:_[2],b:_[3]}:(_=Vc.rgba.exec(S))?{r:_[1],g:_[2],b:_[3],a:_[4]}:(_=Vc.hsl.exec(S))?{h:_[1],s:_[2],l:_[3]}:(_=Vc.hsla.exec(S))?{h:_[1],s:_[2],l:_[3],a:_[4]}:(_=Vc.hsv.exec(S))?{h:_[1],s:_[2],v:_[3]}:(_=Vc.hsva.exec(S))?{h:_[1],s:_[2],v:_[3],a:_[4]}:(_=Vc.hex8.exec(S))?{r:Do(_[1]),g:Do(_[2]),b:Do(_[3]),a:W2(_[4]),format:D?"name":"hex8"}:(_=Vc.hex6.exec(S))?{r:Do(_[1]),g:Do(_[2]),b:Do(_[3]),format:D?"name":"hex"}:(_=Vc.hex4.exec(S))?{r:Do(_[1]+""+_[1]),g:Do(_[2]+""+_[2]),b:Do(_[3]+""+_[3]),a:W2(_[4]+""+_[4]),format:D?"name":"hex8"}:(_=Vc.hex3.exec(S))?{r:Do(_[1]+""+_[1]),g:Do(_[2]+""+_[2]),b:Do(_[3]+""+_[3]),format:D?"name":"hex"}:!1}(h)),iy(h)=="object"&&(Il(h.r)&&Il(h.g)&&Il(h.b)?(I=h.r,E=h.g,B=h.b,d={r:255*so(I,255),g:255*so(E,255),b:255*so(B,255)},y=!0,b=String(h.r).substr(-1)==="%"?"prgb":"rgb"):Il(h.h)&&Il(h.s)&&Il(h.v)?(g=kd(h.s),A=kd(h.v),d=function(S,_,D){S=6*so(S,360),_=so(_,100),D=so(D,100);var T=Math.floor(S),F=S-T,N=D*(1-_),H=D*(1-F*_),W=D*(1-(1-F)*_),V=T%6,te=[D,H,N,N,W,D][V],ue=[W,D,D,H,N,N][V],fe=[N,N,W,D,D,H][V];return{r:255*te,g:255*ue,b:255*fe}}(h.h,g,A),y=!0,b="hsv"):Il(h.h)&&Il(h.s)&&Il(h.l)&&(g=kd(h.s),m=kd(h.l),d=function(S,_,D){var T,F,N;function H(te,ue,fe){return fe<0&&(fe+=1),fe>1&&(fe-=1),fe<1/6?te+6*(ue-te)*fe:fe<.5?ue:fe<2/3?te+(ue-te)*(2/3-fe)*6:te}if(S=so(S,360),_=so(_,100),D=so(D,100),_===0)T=F=N=D;else{var W=D<.5?D*(1+_):D+_-D*_,V=2*D-W;T=H(V,W,S+1/3),F=H(V,W,S),N=H(V,W,S-1/3)}return{r:255*T,g:255*F,b:255*N}}(h.h,g,m),y=!0,b="hsl"),h.hasOwnProperty("a")&&(p=h.a));var I,E,B;return p=ff(p),{ok:y,format:h.format||b,r:Math.min(255,Math.max(d.r,0)),g:Math.min(255,Math.max(d.g,0)),b:Math.min(255,Math.max(d.b,0)),a:p}}(a);this._originalInput=a,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=Math.round(100*this._a)/100,this._format=c.format||u.format,this._gradientType=c.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=u.ok}function ay(a,c,u){a=so(a,255),c=so(c,255),u=so(u,255);var h,d,p=Math.max(a,c,u),g=Math.min(a,c,u),A=(p+g)/2;if(p==g)h=d=0;else{var m=p-g;switch(d=A>.5?m/(2-p-g):m/(p+g),p){case a:h=(c-u)/m+(c<u?6:0);break;case c:h=(u-a)/m+2;break;case u:h=(a-c)/m+4}h/=6}return{h,s:d,l:A}}function oy(a,c,u){a=so(a,255),c=so(c,255),u=so(u,255);var h,d,p=Math.max(a,c,u),g=Math.min(a,c,u),A=p,m=p-g;if(d=p===0?0:m/p,p==g)h=0;else{switch(p){case a:h=(c-u)/m+(c<u?6:0);break;case c:h=(u-a)/m+2;break;case u:h=(a-c)/m+4}h/=6}return{h,s:d,v:A}}function sy(a,c,u,h){var d=[Ec(Math.round(a).toString(16)),Ec(Math.round(c).toString(16)),Ec(Math.round(u).toString(16))];return h&&d[0].charAt(0)==d[0].charAt(1)&&d[1].charAt(0)==d[1].charAt(1)&&d[2].charAt(0)==d[2].charAt(1)?d[0].charAt(0)+d[1].charAt(0)+d[2].charAt(0):d.join("")}function yw(a,c,u,h){return[Ec(ly(h)),Ec(Math.round(a).toString(16)),Ec(Math.round(c).toString(16)),Ec(Math.round(u).toString(16))].join("")}function mw(a,c){c=c===0?0:c||10;var u=ei(a).toHsl();return u.s-=c/100,u.s=Bd(u.s),ei(u)}function v5(a,c){c=c===0?0:c||10;var u=ei(a).toHsl();return u.s+=c/100,u.s=Bd(u.s),ei(u)}function wd(a){return ei(a).desaturate(100)}function Ed(a,c){c=c===0?0:c||10;var u=ei(a).toHsl();return u.l+=c/100,u.l=Bd(u.l),ei(u)}function np(a,c){c=c===0?0:c||10;var u=ei(a).toRgb();return u.r=Math.max(0,Math.min(255,u.r-Math.round(-c/100*255))),u.g=Math.max(0,Math.min(255,u.g-Math.round(-c/100*255))),u.b=Math.max(0,Math.min(255,u.b-Math.round(-c/100*255))),ei(u)}function Y2(a,c){c=c===0?0:c||10;var u=ei(a).toHsl();return u.l-=c/100,u.l=Bd(u.l),ei(u)}function J2(a,c){var u=ei(a).toHsl(),h=(u.h+c)%360;return u.h=h<0?360+h:h,ei(u)}function hf(a){var c=ei(a).toHsl();return c.h=(c.h+180)%360,ei(c)}function Zl(a,c){if(isNaN(c)||c<=0)throw new Error("Argument to polyad must be a positive number");for(var u=ei(a).toHsl(),h=[ei(a)],d=360/c,p=1;p<c;p++)h.push(ei({h:(u.h+p*d)%360,s:u.s,l:u.l}));return h}function uy(a){var c=ei(a).toHsl(),u=c.h;return[ei(a),ei({h:(u+72)%360,s:c.s,l:c.l}),ei({h:(u+216)%360,s:c.s,l:c.l})]}function Iw(a,c,u){c=c||6,u=u||30;var h=ei(a).toHsl(),d=360/u,p=[ei(a)];for(h.h=(h.h-(d*c>>1)+720)%360;--c;)h.h=(h.h+d)%360,p.push(ei(h));return p}function zc(a,c){c=c||6;for(var u=ei(a).toHsv(),h=u.h,d=u.s,p=u.v,g=[],A=1/c;c--;)g.push(ei({h,s:d,v:p})),p=(p+A)%1;return g}ei.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var a=this.toRgb();return(299*a.r+587*a.g+114*a.b)/1e3},getLuminance:function(){var a,c,u,h=this.toRgb();return a=h.r/255,c=h.g/255,u=h.b/255,.2126*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.7152*(c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4))+.0722*(u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4))},setAlpha:function(a){return this._a=ff(a),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var a=oy(this._r,this._g,this._b);return{h:360*a.h,s:a.s,v:a.v,a:this._a}},toHsvString:function(){var a=oy(this._r,this._g,this._b),c=Math.round(360*a.h),u=Math.round(100*a.s),h=Math.round(100*a.v);return this._a==1?"hsv("+c+", "+u+"%, "+h+"%)":"hsva("+c+", "+u+"%, "+h+"%, "+this._roundA+")"},toHsl:function(){var a=ay(this._r,this._g,this._b);return{h:360*a.h,s:a.s,l:a.l,a:this._a}},toHslString:function(){var a=ay(this._r,this._g,this._b),c=Math.round(360*a.h),u=Math.round(100*a.s),h=Math.round(100*a.l);return this._a==1?"hsl("+c+", "+u+"%, "+h+"%)":"hsla("+c+", "+u+"%, "+h+"%, "+this._roundA+")"},toHex:function(a){return sy(this._r,this._g,this._b,a)},toHexString:function(a){return"#"+this.toHex(a)},toHex8:function(a){return function(c,u,h,d,p){var g=[Ec(Math.round(c).toString(16)),Ec(Math.round(u).toString(16)),Ec(Math.round(h).toString(16)),Ec(ly(d))];return p&&g[0].charAt(0)==g[0].charAt(1)&&g[1].charAt(0)==g[1].charAt(1)&&g[2].charAt(0)==g[2].charAt(1)&&g[3].charAt(0)==g[3].charAt(1)?g[0].charAt(0)+g[1].charAt(0)+g[2].charAt(0)+g[3].charAt(0):g.join("")}(this._r,this._g,this._b,this._a,a)},toHex8String:function(a){return"#"+this.toHex8(a)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*so(this._r,255))+"%",g:Math.round(100*so(this._g,255))+"%",b:Math.round(100*so(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(100*so(this._r,255))+"%, "+Math.round(100*so(this._g,255))+"%, "+Math.round(100*so(this._b,255))+"%)":"rgba("+Math.round(100*so(this._r,255))+"%, "+Math.round(100*so(this._g,255))+"%, "+Math.round(100*so(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(V0[sy(this._r,this._g,this._b,!0)]||!1)},toFilter:function(a){var c="#"+yw(this._r,this._g,this._b,this._a),u=c,h=this._gradientType?"GradientType = 1, ":"";if(a){var d=ei(a);u="#"+yw(d._r,d._g,d._b,d._a)}return"progid:DXImageTransform.Microsoft.gradient("+h+"startColorstr="+c+",endColorstr="+u+")"},toString:function(a){var c=!!a;a=a||this._format;var u=!1,h=this._a<1&&this._a>=0;return c||!h||a!=="hex"&&a!=="hex6"&&a!=="hex3"&&a!=="hex4"&&a!=="hex8"&&a!=="name"?(a==="rgb"&&(u=this.toRgbString()),a==="prgb"&&(u=this.toPercentageRgbString()),a!=="hex"&&a!=="hex6"||(u=this.toHexString()),a==="hex3"&&(u=this.toHexString(!0)),a==="hex4"&&(u=this.toHex8String(!0)),a==="hex8"&&(u=this.toHex8String()),a==="name"&&(u=this.toName()),a==="hsl"&&(u=this.toHslString()),a==="hsv"&&(u=this.toHsvString()),u||this.toHexString()):a==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return ei(this.toString())},_applyModification:function(a,c){var u=a.apply(null,[this].concat([].slice.call(c)));return this._r=u._r,this._g=u._g,this._b=u._b,this.setAlpha(u._a),this},lighten:function(){return this._applyModification(Ed,arguments)},brighten:function(){return this._applyModification(np,arguments)},darken:function(){return this._applyModification(Y2,arguments)},desaturate:function(){return this._applyModification(mw,arguments)},saturate:function(){return this._applyModification(v5,arguments)},greyscale:function(){return this._applyModification(wd,arguments)},spin:function(){return this._applyModification(J2,arguments)},_applyCombination:function(a,c){return a.apply(null,[this].concat([].slice.call(c)))},analogous:function(){return this._applyCombination(Iw,arguments)},complement:function(){return this._applyCombination(hf,arguments)},monochromatic:function(){return this._applyCombination(zc,arguments)},splitcomplement:function(){return this._applyCombination(uy,arguments)},triad:function(){return this._applyCombination(Zl,[3])},tetrad:function(){return this._applyCombination(Zl,[4])}},ei.fromRatio=function(a,c){if(iy(a)=="object"){var u={};for(var h in a)a.hasOwnProperty(h)&&(u[h]=h==="a"?a[h]:kd(a[h]));a=u}return ei(a,c)},ei.equals=function(a,c){return!(!a||!c)&&ei(a).toRgbString()==ei(c).toRgbString()},ei.random=function(){return ei.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},ei.mix=function(a,c,u){u=u===0?0:u||50;var h=ei(a).toRgb(),d=ei(c).toRgb(),p=u/100;return ei({r:(d.r-h.r)*p+h.r,g:(d.g-h.g)*p+h.g,b:(d.b-h.b)*p+h.b,a:(d.a-h.a)*p+h.a})},ei.readability=function(a,c){var u=ei(a),h=ei(c);return(Math.max(u.getLuminance(),h.getLuminance())+.05)/(Math.min(u.getLuminance(),h.getLuminance())+.05)},ei.isReadable=function(a,c,u){var h,d,p=ei.readability(a,c);switch(d=!1,(h=function(g){var A,m;return A=((g=g||{level:"AA",size:"small"}).level||"AA").toUpperCase(),m=(g.size||"small").toLowerCase(),A!=="AA"&&A!=="AAA"&&(A="AA"),m!=="small"&&m!=="large"&&(m="small"),{level:A,size:m}}(u)).level+h.size){case"AAsmall":case"AAAlarge":d=p>=4.5;break;case"AAlarge":d=p>=3;break;case"AAAsmall":d=p>=7}return d},ei.mostReadable=function(a,c,u){var h,d,p,g,A=null,m=0;d=(u=u||{}).includeFallbackColors,p=u.level,g=u.size;for(var y=0;y<c.length;y++)(h=ei.readability(a,c[y]))>m&&(m=h,A=ei(c[y]));return ei.isReadable(a,A,{level:p,size:g})||!d?A:(u.includeFallbackColors=!1,ei.mostReadable(a,["#fff","#000"],u))};var cy=ei.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},V0=ei.hexNames=function(a){var c={};for(var u in a)a.hasOwnProperty(u)&&(c[a[u]]=u);return c}(cy);function ff(a){return a=parseFloat(a),(isNaN(a)||a<0||a>1)&&(a=1),a}function so(a,c){(function(h){return typeof h=="string"&&h.indexOf(".")!=-1&&parseFloat(h)===1})(a)&&(a="100%");var u=function(h){return typeof h=="string"&&h.indexOf("%")!=-1}(a);return a=Math.min(c,Math.max(0,parseFloat(a))),u&&(a=parseInt(a*c,10)/100),Math.abs(a-c)<1e-6?1:a%c/parseFloat(c)}function Bd(a){return Math.min(1,Math.max(0,a))}function Do(a){return parseInt(a,16)}function Ec(a){return a.length==1?"0"+a:""+a}function kd(a){return a<=1&&(a=100*a+"%"),a}function ly(a){return Math.round(255*parseFloat(a)).toString(16)}function W2(a){return Do(a)/255}var Kc,hy,Qd,Vc=(hy="[\\s|\\(]+("+(Kc="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+Kc+")[,|\\s]+("+Kc+")\\s*\\)?",Qd="[\\s|\\(]+("+Kc+")[,|\\s]+("+Kc+")[,|\\s]+("+Kc+")[,|\\s]+("+Kc+")\\s*\\)?",{CSS_UNIT:new RegExp(Kc),rgb:new RegExp("rgb"+hy),rgba:new RegExp("rgba"+Qd),hsl:new RegExp("hsl"+hy),hsla:new RegExp("hsla"+Qd),hsv:new RegExp("hsv"+hy),hsva:new RegExp("hsva"+Qd),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Il(a){return!!Vc.CSS_UNIT.exec(a)}var q2={exports:{}};(function(a,c){(function(){var u,h="Expected a function",d="__lodash_hash_undefined__",p="__lodash_placeholder__",g=16,A=32,m=64,y=128,b=256,I=1/0,E=9007199254740991,B=NaN,S=4294967295,_=[["ary",y],["bind",1],["bindKey",2],["curry",8],["curryRight",g],["flip",512],["partial",A],["partialRight",m],["rearg",b]],D="[object Arguments]",T="[object Array]",F="[object Boolean]",N="[object Date]",H="[object Error]",W="[object Function]",V="[object GeneratorFunction]",te="[object Map]",ue="[object Number]",fe="[object Object]",de="[object Promise]",Ae="[object RegExp]",we="[object Set]",Z="[object String]",ne="[object Symbol]",j="[object WeakMap]",J="[object ArrayBuffer]",q="[object DataView]",z="[object Float32Array]",X="[object Float64Array]",se="[object Int8Array]",oe="[object Int16Array]",ye="[object Int32Array]",ae="[object Uint8Array]",me="[object Uint8ClampedArray]",Fe="[object Uint16Array]",_e="[object Uint32Array]",rt=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,st=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ge=/&(?:amp|lt|gt|quot|#39);/g,Be=/[&<>"']/g,Te=RegExp(Ge.source),je=RegExp(Be.source),lt=/<%-([\s\S]+?)%>/g,Me=/<%([\s\S]+?)%>/g,Ke=/<%=([\s\S]+?)%>/g,Rt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ie=/^\w*$/,Re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qe=/[\\^$.*+?()[\]{}|]/g,pt=RegExp(qe.source),Lt=/^\s+/,Qe=/\s/,_t=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ft=/\{\n\/\* \[wrapped with (.+)\] \*/,Ze=/,? & /,$e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,nt=/[()=,{}\[\]\/\s]/,Ot=/\\(\\)?/g,He=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Je=/\w*$/,tt=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,Xe=/^\[object .+?Constructor\]$/,Ye=/^0o[0-7]+$/i,ot=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Mt=/($^)/,cr=/['\n\r\u2028\u2029\\]/g,$t="\\ud800-\\udfff",Hr="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",mr="\\u2700-\\u27bf",sr="a-z\\xdf-\\xf6\\xf8-\\xff",Yr="A-Z\\xc0-\\xd6\\xd8-\\xde",Mr="\\ufe0e\\ufe0f",Dr="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nn="['’]",Sr="["+$t+"]",tn="["+Dr+"]",Cn="["+Hr+"]",Jn="\\d+",Rr="["+mr+"]",An="["+sr+"]",dn="[^"+$t+Dr+Jn+mr+sr+Yr+"]",br="\\ud83c[\\udffb-\\udfff]",gn="[^"+$t+"]",wn="(?:\\ud83c[\\udde6-\\uddff]){2}",kn="[\\ud800-\\udbff][\\udc00-\\udfff]",Dn="["+Yr+"]",oi="\\u200d",Kr="(?:"+An+"|"+dn+")",On="(?:"+Dn+"|"+dn+")",Ci="(?:['’](?:d|ll|m|re|s|t|ve))?",li="(?:['’](?:D|LL|M|RE|S|T|VE))?",ia="(?:"+Cn+"|"+br+")?",ht="["+Mr+"]?",Pt=ht+ia+("(?:"+oi+"(?:"+[gn,wn,kn].join("|")+")"+ht+ia+")*"),Zt="(?:"+[Rr,wn,kn].join("|")+")"+Pt,vn="(?:"+[gn+Cn+"?",Cn,wn,kn,Sr].join("|")+")",jn=RegExp(nn,"g"),ba=RegExp(Cn,"g"),aa=RegExp(br+"(?="+br+")|"+vn+Pt,"g"),wo=RegExp([Dn+"?"+An+"+"+Ci+"(?="+[tn,Dn,"$"].join("|")+")",On+"+"+li+"(?="+[tn,Dn+Kr,"$"].join("|")+")",Dn+"?"+Kr+"+"+Ci,Dn+"+"+li,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Jn,Zt].join("|"),"g"),is=RegExp("["+oi+$t+Hr+Mr+"]"),as=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],lo=-1,ra={};ra[z]=ra[X]=ra[se]=ra[oe]=ra[ye]=ra[ae]=ra[me]=ra[Fe]=ra[_e]=!0,ra[D]=ra[T]=ra[J]=ra[F]=ra[q]=ra[N]=ra[H]=ra[W]=ra[te]=ra[ue]=ra[fe]=ra[Ae]=ra[we]=ra[Z]=ra[j]=!1;var pi={};pi[D]=pi[T]=pi[J]=pi[q]=pi[F]=pi[N]=pi[z]=pi[X]=pi[se]=pi[oe]=pi[ye]=pi[te]=pi[ue]=pi[fe]=pi[Ae]=pi[we]=pi[Z]=pi[ne]=pi[ae]=pi[me]=pi[Fe]=pi[_e]=!0,pi[H]=pi[W]=pi[j]=!1;var Ms={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fs=parseFloat,zu=parseInt,Ul=typeof Ui=="object"&&Ui&&Ui.Object===Object&&Ui,UA=typeof self=="object"&&self&&self.Object===Object&&self,os=Ul||UA||Function("return this")(),Yh=c&&!c.nodeType&&c,ys=Yh&&a&&!a.nodeType&&a,ch=ys&&ys.exports===Yh,_f=ch&&Ul.process,Su=function(){try{var Jt=ys&&ys.require&&ys.require("util").types;return Jt||_f&&_f.binding&&_f.binding("util")}catch{}}(),Zp=Su&&Su.isArrayBuffer,jA=Su&&Su.isDate,Xp=Su&&Su.isMap,$p=Su&&Su.isRegExp,gg=Su&&Su.isSet,e0=Su&&Su.isTypedArray;function du(Jt,gr,Ar){switch(Ar.length){case 0:return Jt.call(gr);case 1:return Jt.call(gr,Ar[0]);case 2:return Jt.call(gr,Ar[0],Ar[1]);case 3:return Jt.call(gr,Ar[0],Ar[1],Ar[2])}return Jt.apply(gr,Ar)}function t0(Jt,gr,Ar,Ue){for(var At=-1,qt=Jt==null?0:Jt.length;++At<qt;){var Cr=Jt[At];gr(Ue,Cr,Ar(Cr),Jt)}return Ue}function ms(Jt,gr){for(var Ar=-1,Ue=Jt==null?0:Jt.length;++Ar<Ue&&gr(Jt[Ar],Ar,Jt)!==!1;);return Jt}function lh(Jt,gr){for(var Ar=Jt==null?0:Jt.length;Ar--&&gr(Jt[Ar],Ar,Jt)!==!1;);return Jt}function r0(Jt,gr){for(var Ar=-1,Ue=Jt==null?0:Jt.length;++Ar<Ue;)if(!gr(Jt[Ar],Ar,Jt))return!1;return!0}function vc(Jt,gr){for(var Ar=-1,Ue=Jt==null?0:Jt.length,At=0,qt=[];++Ar<Ue;){var Cr=Jt[Ar];gr(Cr,Ar,Jt)&&(qt[At++]=Cr)}return qt}function Ku(Jt,gr){return!!(Jt!=null&&Jt.length)&&pu(Jt,gr,0)>-1}function pg(Jt,gr,Ar){for(var Ue=-1,At=Jt==null?0:Jt.length;++Ue<At;)if(Ar(gr,Jt[Ue]))return!0;return!1}function yo(Jt,gr){for(var Ar=-1,Ue=Jt==null?0:Jt.length,At=Array(Ue);++Ar<Ue;)At[Ar]=gr(Jt[Ar],Ar,Jt);return At}function il(Jt,gr){for(var Ar=-1,Ue=gr.length,At=Jt.length;++Ar<Ue;)Jt[At+Ar]=gr[Ar];return Jt}function HA(Jt,gr,Ar,Ue){var At=-1,qt=Jt==null?0:Jt.length;for(Ue&&qt&&(Ar=Jt[++At]);++At<qt;)Ar=gr(Ar,Jt[At],At,Jt);return Ar}function Ts(Jt,gr,Ar,Ue){var At=Jt==null?0:Jt.length;for(Ue&&At&&(Ar=Jt[--At]);At--;)Ar=gr(Ar,Jt[At],At,Jt);return Ar}function Qo(Jt,gr){for(var Ar=-1,Ue=Jt==null?0:Jt.length;++Ar<Ue;)if(gr(Jt[Ar],Ar,Jt))return!0;return!1}var hh=Df("length");function vg(Jt,gr,Ar){var Ue;return Ar(Jt,function(At,qt,Cr){if(gr(At,qt,Cr))return Ue=qt,!1}),Ue}function gu(Jt,gr,Ar,Ue){for(var At=Jt.length,qt=Ar+(Ue?1:-1);Ue?qt--:++qt<At;)if(gr(Jt[qt],qt,Jt))return qt;return-1}function pu(Jt,gr,Ar){return gr==gr?function(Ue,At,qt){for(var Cr=qt-1,Sn=Ue.length;++Cr<Sn;)if(Ue[Cr]===At)return Cr;return-1}(Jt,gr,Ar):gu(Jt,mg,Ar)}function yg(Jt,gr,Ar,Ue){for(var At=Ar-1,qt=Jt.length;++At<qt;)if(Ue(Jt[At],gr))return At;return-1}function mg(Jt){return Jt!=Jt}function fh(Jt,gr){var Ar=Jt==null?0:Jt.length;return Ar?Jh(Jt,gr)/Ar:B}function Df(Jt){return function(gr){return gr==null?u:gr[Jt]}}function Rf(Jt){return function(gr){return Jt==null?u:Jt[gr]}}function Ah(Jt,gr,Ar,Ue,At){return At(Jt,function(qt,Cr,Sn){Ar=Ue?(Ue=!1,qt):gr(Ar,qt,Cr,Sn)}),Ar}function Jh(Jt,gr){for(var Ar,Ue=-1,At=Jt.length;++Ue<At;){var qt=gr(Jt[Ue]);qt!==u&&(Ar=Ar===u?qt:Ar+qt)}return Ar}function al(Jt,gr){for(var Ar=-1,Ue=Array(Jt);++Ar<Jt;)Ue[Ar]=gr(Ar);return Ue}function Mf(Jt){return Jt&&Jt.slice(0,Pn(Jt)+1).replace(Lt,"")}function jo(Jt){return function(gr){return Jt(gr)}}function bt(Jt,gr){return yo(gr,function(Ar){return Jt[Ar]})}function Wt(Jt,gr){return Jt.has(gr)}function _r(Jt,gr){for(var Ar=-1,Ue=Jt.length;++Ar<Ue&&pu(gr,Jt[Ar],0)>-1;);return Ar}function ce(Jt,gr){for(var Ar=Jt.length;Ar--&&pu(gr,Jt[Ar],0)>-1;);return Ar}var Ce=Rf({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),Oe=Rf({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function gt(Jt){return"\\"+Ms[Jt]}function Nt(Jt){return is.test(Jt)}function Ht(Jt){var gr=-1,Ar=Array(Jt.size);return Jt.forEach(function(Ue,At){Ar[++gr]=[At,Ue]}),Ar}function fr(Jt,gr){return function(Ar){return Jt(gr(Ar))}}function lr(Jt,gr){for(var Ar=-1,Ue=Jt.length,At=0,qt=[];++Ar<Ue;){var Cr=Jt[Ar];Cr!==gr&&Cr!==p||(Jt[Ar]=p,qt[At++]=Ar)}return qt}function Or(Jt){var gr=-1,Ar=Array(Jt.size);return Jt.forEach(function(Ue){Ar[++gr]=Ue}),Ar}function Xr(Jt){return Nt(Jt)?function(gr){for(var Ar=aa.lastIndex=0;aa.test(gr);)++Ar;return Ar}(Jt):hh(Jt)}function hn(Jt){return Nt(Jt)?function(gr){return gr.match(aa)||[]}(Jt):function(gr){return gr.split("")}(Jt)}function Pn(Jt){for(var gr=Jt.length;gr--&&Qe.test(Jt.charAt(gr)););return gr}var Xn=Rf({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),ti=function Jt(gr){var Ar,Ue=(gr=gr==null?os:ti.defaults(os.Object(),gr,ti.pick(os,vs))).Array,At=gr.Date,qt=gr.Error,Cr=gr.Function,Sn=gr.Math,Qr=gr.Object,Zn=gr.RegExp,Na=gr.String,ka=gr.TypeError,To=Ue.prototype,Lo=Cr.prototype,Is=Qr.prototype,Ls=gr["__core-js_shared__"],$s=Lo.toString,Xi=Is.hasOwnProperty,ha=0,fa=(Ar=/[^.]+$/.exec(Ls&&Ls.keys&&Ls.keys.IE_PROTO||""))?"Symbol(src)_1."+Ar:"",Oa=Is.toString,Qi=$s.call(Qr),eu=os._,tu=Zn("^"+$s.call(Xi).replace(qe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bs=ch?gr.Buffer:u,Pa=gr.Symbol,xo=gr.Uint8Array,ol=bs?bs.allocUnsafe:u,n0=fr(Qr.getPrototypeOf,Qr),TQ=Qr.create,kk=Is.propertyIsEnumerable,wB=To.splice,Fi=Pa?Pa.isConcatSpreadable:u,Ig=Pa?Pa.iterator:u,i0=Pa?Pa.toStringTag:u,Wh=function(){try{var U=Ha(Qr,"defineProperty");return U({},"",{}),U}catch{}}(),Wx=gr.clearTimeout!==os.clearTimeout&&gr.clearTimeout,qx=At&&At.now!==os.Date.now&&At.now,Qk=gr.setTimeout!==os.setTimeout&&gr.setTimeout,W1=Sn.ceil,EB=Sn.floor,Cm=Qr.getOwnPropertySymbols,zx=bs?bs.isBuffer:u,LQ=gr.isFinite,NQ=To.join,OQ=fr(Qr.keys,Qr),vu=Sn.max,yc=Sn.min,PQ=At.now,Gb=gr.parseInt,bg=Sn.random,Kx=To.reverse,xk=Ha(gr,"DataView"),wm=Ha(gr,"Map"),Sk=Ha(gr,"Promise"),Em=Ha(gr,"Set"),Bm=Ha(gr,"WeakMap"),a0=Ha(Qr,"create"),o0=Bm&&new Bm,YA={},_k=Bg(xk),Ub=Bg(wm),Dk=Bg(Sk),sl=Bg(Em),jb=Bg(Bm),BB=Pa?Pa.prototype:u,Hb=BB?BB.valueOf:u,GQ=BB?BB.toString:u;function it(U){if(ho(U)&&!na(U)&&!(U instanceof Ga)){if(U instanceof mc)return U;if(Xi.call(U,"__wrapped__"))return YB(U)}return new mc(U)}var km=function(){function U(){}return function(ee){if(!Ko(ee))return{};if(TQ)return TQ(ee);U.prototype=ee;var ge=new U;return U.prototype=u,ge}}();function kB(){}function mc(U,ee){this.__wrapped__=U,this.__actions__=[],this.__chain__=!!ee,this.__index__=0,this.__values__=u}function Ga(U){this.__wrapped__=U,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=S,this.__views__=[]}function q1(U){var ee=-1,ge=U==null?0:U.length;for(this.clear();++ee<ge;){var De=U[ee];this.set(De[0],De[1])}}function Tc(U){var ee=-1,ge=U==null?0:U.length;for(this.clear();++ee<ge;){var De=U[ee];this.set(De[0],De[1])}}function JA(U){var ee=-1,ge=U==null?0:U.length;for(this.clear();++ee<ge;){var De=U[ee];this.set(De[0],De[1])}}function z1(U){var ee=-1,ge=U==null?0:U.length;for(this.__data__=new JA;++ee<ge;)this.add(U[ee])}function Ff(U){var ee=this.__data__=new Tc(U);this.size=ee.size}function WA(U,ee){var ge=na(U),De=!ge&&rv(U),We=!ge&&!De&&kg(U),dt=!ge&&!De&&!We&&Pf(U),Tt=ge||De||We||dt,jt=Tt?al(U.length,Na):[],or=jt.length;for(var Fr in U)!ee&&!Xi.call(U,Fr)||Tt&&(Fr=="length"||We&&(Fr=="offset"||Fr=="parent")||dt&&(Fr=="buffer"||Fr=="byteLength"||Fr=="byteOffset")||VA(Fr,or))||jt.push(Fr);return jt}function UQ(U){var ee=U.length;return ee?U[Sm(0,ee-1)]:u}function Vx(U,ee){return jB(jl(U),s0(ee,0,U.length))}function qA(U){return jB(jl(U))}function Rk(U,ee,ge){(ge!==u&&!Of(U[ee],ge)||ge===u&&!(ee in U))&&Tf(U,ee,ge)}function K1(U,ee,ge){var De=U[ee];Xi.call(U,ee)&&Of(De,ge)&&(ge!==u||ee in U)||Tf(U,ee,ge)}function QB(U,ee){for(var ge=U.length;ge--;)if(Of(U[ge][0],ee))return ge;return-1}function Mk(U,ee,ge,De){return Lf(U,function(We,dt,Tt){ee(De,We,ge(We),Tt)}),De}function jQ(U,ee){return U&&KA(ee,yu(ee),U)}function Tf(U,ee,ge){ee=="__proto__"&&Wh?Wh(U,ee,{configurable:!0,enumerable:!0,value:ge,writable:!0}):U[ee]=ge}function xB(U,ee){for(var ge=-1,De=ee.length,We=Ue(De),dt=U==null;++ge<De;)We[ge]=dt?u:E4(U,ee[ge]);return We}function s0(U,ee,ge){return U==U&&(ge!==u&&(U=U<=ge?U:ge),ee!==u&&(U=U>=ee?U:ee)),U}function qh(U,ee,ge,De,We,dt){var Tt,jt=1&ee,or=2&ee,Fr=4&ee;if(ge&&(Tt=We?ge(U,De,We,dt):ge(U)),Tt!==u)return Tt;if(!Ko(U))return U;var Lr=na(U);if(Lr){if(Tt=function(Jr){var yn=Jr.length,wi=new Jr.constructor(yn);return yn&&typeof Jr[0]=="string"&&Xi.call(Jr,"index")&&(wi.index=Jr.index,wi.input=Jr.input),wi}(U),!jt)return jl(U,Tt)}else{var cn=zo(U),qn=cn==W||cn==V;if(kg(U))return Wk(U,jt);if(cn==fe||cn==D||qn&&!We){if(Tt=or||qn?{}:aC(U),!jt)return or?function(Jr,yn){return KA(Jr,Nf(Jr),yn)}(U,function(Jr,yn){return Jr&&KA(yn,fl(yn),Jr)}(Tt,U)):function(Jr,yn){return KA(Jr,ss(Jr),yn)}(U,jQ(Tt,U))}else{if(!pi[cn])return We?U:{};Tt=function(Jr,yn,wi){var xn=Jr.constructor;switch(yn){case J:return qk(Jr);case F:case N:return new xn(+Jr);case q:return function(Hi,io){var Ai=io?qk(Hi.buffer):Hi.buffer;return new Hi.constructor(Ai,Hi.byteOffset,Hi.byteLength)}(Jr,wi);case z:case X:case se:case oe:case ye:case ae:case me:case Fe:case _e:return zk(Jr,wi);case te:return new xn;case ue:case Z:return new xn(Jr);case Ae:return function(Hi){var io=new Hi.constructor(Hi.source,Je.exec(Hi));return io.lastIndex=Hi.lastIndex,io}(Jr);case we:return new xn;case ne:return oa=Jr,Hb?Qr(Hb.call(oa)):{}}var oa}(U,cn,jt)}}dt||(dt=new Ff);var ri=dt.get(U);if(ri)return ri;dt.set(U,Tt),lC(U)?U.forEach(function(Jr){Tt.add(qh(Jr,ee,ge,Jr,U,dt))}):L6(U)&&U.forEach(function(Jr,yn){Tt.set(yn,qh(Jr,ee,ge,yn,U,dt))});var yi=Lr?u:(Fr?or?n4:r4:or?fl:yu)(U);return ms(yi||U,function(Jr,yn){yi&&(Jr=U[yn=Jr]),K1(Tt,yn,qh(Jr,ee,ge,yn,U,dt))}),Tt}function Yb(U,ee,ge){var De=ge.length;if(U==null)return!De;for(U=Qr(U);De--;){var We=ge[De],dt=ee[We],Tt=U[We];if(Tt===u&&!(We in U)||!dt(Tt))return!1}return!0}function Jb(U,ee,ge){if(typeof U!="function")throw new ka(h);return sC(function(){U.apply(u,ge)},ee)}function u0(U,ee,ge,De){var We=-1,dt=Ku,Tt=!0,jt=U.length,or=[],Fr=ee.length;if(!jt)return or;ge&&(ee=yo(ee,jo(ge))),De?(dt=pg,Tt=!1):ee.length>=200&&(dt=Wt,Tt=!1,ee=new z1(ee));e:for(;++We<jt;){var Lr=U[We],cn=ge==null?Lr:ge(Lr);if(Lr=De||Lr!==0?Lr:0,Tt&&cn==cn){for(var qn=Fr;qn--;)if(ee[qn]===cn)continue e;or.push(Lr)}else dt(ee,cn,De)||or.push(Lr)}return or}it.templateSettings={escape:lt,evaluate:Me,interpolate:Ke,variable:"",imports:{_:it}},it.prototype=kB.prototype,it.prototype.constructor=it,mc.prototype=km(kB.prototype),mc.prototype.constructor=mc,Ga.prototype=km(kB.prototype),Ga.prototype.constructor=Ga,q1.prototype.clear=function(){this.__data__=a0?a0(null):{},this.size=0},q1.prototype.delete=function(U){var ee=this.has(U)&&delete this.__data__[U];return this.size-=ee?1:0,ee},q1.prototype.get=function(U){var ee=this.__data__;if(a0){var ge=ee[U];return ge===d?u:ge}return Xi.call(ee,U)?ee[U]:u},q1.prototype.has=function(U){var ee=this.__data__;return a0?ee[U]!==u:Xi.call(ee,U)},q1.prototype.set=function(U,ee){var ge=this.__data__;return this.size+=this.has(U)?0:1,ge[U]=a0&&ee===u?d:ee,this},Tc.prototype.clear=function(){this.__data__=[],this.size=0},Tc.prototype.delete=function(U){var ee=this.__data__,ge=QB(ee,U);return!(ge<0)&&(ge==ee.length-1?ee.pop():wB.call(ee,ge,1),--this.size,!0)},Tc.prototype.get=function(U){var ee=this.__data__,ge=QB(ee,U);return ge<0?u:ee[ge][1]},Tc.prototype.has=function(U){return QB(this.__data__,U)>-1},Tc.prototype.set=function(U,ee){var ge=this.__data__,De=QB(ge,U);return De<0?(++this.size,ge.push([U,ee])):ge[De][1]=ee,this},JA.prototype.clear=function(){this.size=0,this.__data__={hash:new q1,map:new(wm||Tc),string:new q1}},JA.prototype.delete=function(U){var ee=OB(this,U).delete(U);return this.size-=ee?1:0,ee},JA.prototype.get=function(U){return OB(this,U).get(U)},JA.prototype.has=function(U){return OB(this,U).has(U)},JA.prototype.set=function(U,ee){var ge=OB(this,U),De=ge.size;return ge.set(U,ee),this.size+=ge.size==De?0:1,this},z1.prototype.add=z1.prototype.push=function(U){return this.__data__.set(U,d),this},z1.prototype.has=function(U){return this.__data__.has(U)},Ff.prototype.clear=function(){this.__data__=new Tc,this.size=0},Ff.prototype.delete=function(U){var ee=this.__data__,ge=ee.delete(U);return this.size=ee.size,ge},Ff.prototype.get=function(U){return this.__data__.get(U)},Ff.prototype.has=function(U){return this.__data__.has(U)},Ff.prototype.set=function(U,ee){var ge=this.__data__;if(ge instanceof Tc){var De=ge.__data__;if(!wm||De.length<199)return De.push([U,ee]),this.size=++ge.size,this;ge=this.__data__=new JA(De)}return ge.set(U,ee),this.size=ge.size,this};var Lf=a6(zh),c0=a6(Tk,!0);function Cg(U,ee){var ge=!0;return Lf(U,function(De,We,dt){return ge=!!ee(De,We,dt)}),ge}function Wb(U,ee,ge){for(var De=-1,We=U.length;++De<We;){var dt=U[De],Tt=ee(dt);if(Tt!=null&&(jt===u?Tt==Tt&&!ph(Tt):ge(Tt,jt)))var jt=Tt,or=dt}return or}function HQ(U,ee){var ge=[];return Lf(U,function(De,We,dt){ee(De,We,dt)&&ge.push(De)}),ge}function Ho(U,ee,ge,De,We){var dt=-1,Tt=U.length;for(ge||(ge=cl),We||(We=[]);++dt<Tt;){var jt=U[dt];ee>0&&ge(jt)?ee>1?Ho(jt,ee-1,ge,De,We):il(We,jt):De||(We[We.length]=jt)}return We}var qb=Mm(),Fk=Mm(!0);function zh(U,ee){return U&&qb(U,ee,yu)}function Tk(U,ee){return U&&Fk(U,ee,yu)}function zb(U,ee){return vc(ee,function(ge){return $A(U[ge])})}function V1(U,ee){for(var ge=0,De=(ee=wg(ee,U)).length;U!=null&&ge<De;)U=U[ZA(ee[ge++])];return ge&&ge==De?U:u}function Lk(U,ee,ge){var De=ee(U);return na(U)?De:il(De,ge(U))}function Lc(U){return U==null?U===u?"[object Undefined]":"[object Null]":i0&&i0 in Qr(U)?function(ee){var ge=Xi.call(ee,i0),De=ee[i0];try{ee[i0]=u;var We=!0}catch{}var dt=Oa.call(ee);return We&&(ge?ee[i0]=De:delete ee[i0]),dt}(U):function(ee){return Oa.call(ee)}(U)}function Nk(U,ee){return U>ee}function YQ(U,ee){return U!=null&&Xi.call(U,ee)}function JQ(U,ee){return U!=null&&ee in Qr(U)}function SB(U,ee,ge){for(var De=ge?pg:Ku,We=U[0].length,dt=U.length,Tt=dt,jt=Ue(dt),or=1/0,Fr=[];Tt--;){var Lr=U[Tt];Tt&&ee&&(Lr=yo(Lr,jo(ee))),or=yc(Lr.length,or),jt[Tt]=!ge&&(ee||We>=120&&Lr.length>=120)?new z1(Tt&&Lr):u}Lr=U[0];var cn=-1,qn=jt[0];e:for(;++cn<We&&Fr.length<or;){var ri=Lr[cn],yi=ee?ee(ri):ri;if(ri=ge||ri!==0?ri:0,!(qn?Wt(qn,yi):De(Fr,yi,ge))){for(Tt=dt;--Tt;){var Jr=jt[Tt];if(!(Jr?Wt(Jr,yi):De(U[Tt],yi,ge)))continue e}qn&&qn.push(yi),Fr.push(ri)}}return Fr}function Qm(U,ee,ge){var De=(U=c4(U,ee=wg(ee,U)))==null?U:U[ZA(Kh(ee))];return De==null?u:du(De,U,ge)}function WQ(U){return ho(U)&&Lc(U)==D}function Kb(U,ee,ge,De,We){return U===ee||(U==null||ee==null||!ho(U)&&!ho(ee)?U!=U&&ee!=ee:function(dt,Tt,jt,or,Fr,Lr){var cn=na(dt),qn=na(Tt),ri=cn?T:zo(dt),yi=qn?T:zo(Tt),Jr=(ri=ri==D?fe:ri)==fe,yn=(yi=yi==D?fe:yi)==fe,wi=ri==yi;if(wi&&kg(dt)){if(!kg(Tt))return!1;cn=!0,Jr=!1}if(wi&&!Jr)return Lr||(Lr=new Ff),cn||Pf(dt)?f0(dt,Tt,jt,or,Fr,Lr):function(Ai,Di,mu,Os,Al,Yo,Pc){switch(mu){case q:if(Ai.byteLength!=Di.byteLength||Ai.byteOffset!=Di.byteOffset)return!1;Ai=Ai.buffer,Di=Di.buffer;case J:return!(Ai.byteLength!=Di.byteLength||!Yo(new xo(Ai),new xo(Di)));case F:case N:case ue:return Of(+Ai,+Di);case H:return Ai.name==Di.name&&Ai.message==Di.message;case Ae:case Z:return Ai==Di+"";case te:var td=Ht;case we:var xg=1&Os;if(td||(td=Or),Ai.size!=Di.size&&!xg)return!1;var uv=Pc.get(Ai);if(uv)return uv==Di;Os|=2,Pc.set(Ai,Di);var i3=f0(td(Ai),td(Di),Os,Al,Yo,Pc);return Pc.delete(Ai),i3;case ne:if(Hb)return Hb.call(Ai)==Hb.call(Di)}return!1}(dt,Tt,ri,jt,or,Fr,Lr);if(!(1&jt)){var xn=Jr&&Xi.call(dt,"__wrapped__"),oa=yn&&Xi.call(Tt,"__wrapped__");if(xn||oa){var Hi=xn?dt.value():dt,io=oa?Tt.value():Tt;return Lr||(Lr=new Ff),Fr(Hi,io,jt,or,Lr)}}return wi?(Lr||(Lr=new Ff),function(Ai,Di,mu,Os,Al,Yo){var Pc=1&mu,td=r4(Ai),xg=td.length,uv=r4(Di),i3=uv.length;if(xg!=i3&&!Pc)return!1;for(var AC=xg;AC--;){var cv=td[AC];if(!(Pc?cv in Di:Xi.call(Di,cv)))return!1}var M4=Yo.get(Ai),Um=Yo.get(Di);if(M4&&Um)return M4==Di&&Um==Ai;var a3=!0;Yo.set(Ai,Di),Yo.set(Di,Ai);for(var o3=Pc;++AC<xg;){var s3=Ai[cv=td[AC]],dC=Di[cv];if(Os)var u3=Pc?Os(dC,s3,cv,Di,Ai,Yo):Os(s3,dC,cv,Ai,Di,Yo);if(!(u3===u?s3===dC||Al(s3,dC,mu,Os,Yo):u3)){a3=!1;break}o3||(o3=cv=="constructor")}if(a3&&!o3){var c3=Ai.constructor,l3=Di.constructor;c3==l3||!("constructor"in Ai)||!("constructor"in Di)||typeof c3=="function"&&c3 instanceof c3&&typeof l3=="function"&&l3 instanceof l3||(a3=!1)}return Yo.delete(Ai),Yo.delete(Di),a3}(dt,Tt,jt,or,Fr,Lr)):!1}(U,ee,ge,De,Kb,We))}function Vb(U,ee,ge,De){var We=ge.length,dt=We,Tt=!De;if(U==null)return!dt;for(U=Qr(U);We--;){var jt=ge[We];if(Tt&&jt[2]?jt[1]!==U[jt[0]]:!(jt[0]in U))return!1}for(;++We<dt;){var or=(jt=ge[We])[0],Fr=U[or],Lr=jt[1];if(Tt&&jt[2]){if(Fr===u&&!(or in U))return!1}else{var cn=new Ff;if(De)var qn=De(Fr,Lr,or,U,ee,cn);if(!(qn===u?Kb(Lr,Fr,3,De,cn):qn))return!1}}return!0}function Zb(U){return!(!Ko(U)||(ee=U,fa&&fa in ee))&&($A(U)?tu:Xe).test(Bg(U));var ee}function qQ(U){return typeof U=="function"?U:U==null?ru:typeof U=="object"?na(U)?KQ(U[0],U[1]):zQ(U):_4(U)}function Ok(U){if(!ev(U))return OQ(U);var ee=[];for(var ge in Qr(U))Xi.call(U,ge)&&ge!="constructor"&&ee.push(ge);return ee}function Zx(U){if(!Ko(U))return function(We){var dt=[];if(We!=null)for(var Tt in Qr(We))dt.push(Tt);return dt}(U);var ee=ev(U),ge=[];for(var De in U)(De!="constructor"||!ee&&Xi.call(U,De))&&ge.push(De);return ge}function Pk(U,ee){return U<ee}function Gk(U,ee){var ge=-1,De=hl(U)?Ue(U.length):[];return Lf(U,function(We,dt,Tt){De[++ge]=ee(We,dt,Tt)}),De}function zQ(U){var ee=gh(U);return ee.length==1&&ee[0][2]?u4(ee[0][0],ee[0][1]):function(ge){return ge===U||Vb(ge,U,ee)}}function KQ(U,ee){return oC(U)&&s4(ee)?u4(ZA(U),ee):function(ge){var De=E4(ge,U);return De===u&&De===ee?d0(ge,U):Kb(ee,De,3)}}function _B(U,ee,ge,De,We){U!==ee&&qb(ee,function(dt,Tt){if(We||(We=new Ff),Ko(dt))(function(or,Fr,Lr,cn,qn,ri,yi){var Jr=PB(or,Lr),yn=PB(Fr,Lr),wi=yi.get(yn);if(wi)return void Rk(or,Lr,wi);var xn=ri?ri(Jr,yn,Lr+"",or,Fr,yi):u,oa=xn===u;if(oa){var Hi=na(yn),io=!Hi&&kg(yn),Ai=!Hi&&!io&&Pf(yn);xn=yn,Hi||io||Ai?na(Jr)?xn=Jr:Ns(Jr)?xn=jl(Jr):io?(oa=!1,xn=Wk(yn,!0)):Ai?(oa=!1,xn=zk(yn,!0)):xn=[]:Qg(yn)||rv(yn)?(xn=Jr,rv(Jr)?xn=$B(Jr):Ko(Jr)&&!$A(Jr)||(xn=aC(yn))):oa=!1}oa&&(yi.set(yn,xn),qn(xn,yn,cn,ri,yi),yi.delete(yn)),Rk(or,Lr,xn)})(U,ee,Tt,ge,_B,De,We);else{var jt=De?De(PB(U,Tt),dt,Tt+"",U,ee,We):u;jt===u&&(jt=dt),Rk(U,Tt,jt)}},fl)}function Uk(U,ee){var ge=U.length;if(ge)return VA(ee+=ee<0?ge:0,ge)?U[ee]:u}function xm(U,ee,ge){ee=ee.length?yo(ee,function(We){return na(We)?function(dt){return V1(dt,We.length===1?We[0]:We)}:We}):[ru];var De=-1;return ee=yo(ee,jo(_i())),function(We,dt){var Tt=We.length;for(We.sort(dt);Tt--;)We[Tt]=We[Tt].value;return We}(Gk(U,function(We,dt,Tt){return{criteria:yo(ee,function(jt){return jt(We)}),index:++De,value:We}}),function(We,dt){return function(Tt,jt,or){for(var Fr=-1,Lr=Tt.criteria,cn=jt.criteria,qn=Lr.length,ri=or.length;++Fr<qn;){var yi=Kk(Lr[Fr],cn[Fr]);if(yi)return Fr>=ri?yi:yi*(or[Fr]=="desc"?-1:1)}return Tt.index-jt.index}(We,dt,ge)})}function VQ(U,ee,ge){for(var De=-1,We=ee.length,dt={};++De<We;){var Tt=ee[De],jt=V1(U,Tt);ge(jt,Tt)&&Xb(dt,wg(Tt,U),jt)}return dt}function jk(U,ee,ge,De){var We=De?yg:pu,dt=-1,Tt=ee.length,jt=U;for(U===ee&&(ee=jl(ee)),ge&&(jt=yo(U,jo(ge)));++dt<Tt;)for(var or=0,Fr=ee[dt],Lr=ge?ge(Fr):Fr;(or=We(jt,Lr,or,De))>-1;)jt!==U&&wB.call(jt,or,1),wB.call(U,or,1);return U}function ZQ(U,ee){for(var ge=U?ee.length:0,De=ge-1;ge--;){var We=ee[ge];if(ge==De||We!==dt){var dt=We;VA(We)?wB.call(U,We,1):Hk(U,We)}}return U}function Sm(U,ee){return U+EB(bg()*(ee-U+1))}function dh(U,ee){var ge="";if(!U||ee<1||ee>E)return ge;do ee%2&&(ge+=U),(ee=EB(ee/2))&&(U+=U);while(ee);return ge}function pa(U,ee){return GB(f6(U,ee,ru),U+"")}function XQ(U){return UQ(yh(U))}function DB(U,ee){var ge=yh(U);return jB(ge,s0(ee,0,ge.length))}function Xb(U,ee,ge,De){if(!Ko(U))return U;for(var We=-1,dt=(ee=wg(ee,U)).length,Tt=dt-1,jt=U;jt!=null&&++We<dt;){var or=ZA(ee[We]),Fr=ge;if(or==="__proto__"||or==="constructor"||or==="prototype")return U;if(We!=Tt){var Lr=jt[or];(Fr=De?De(Lr,or,jt):u)===u&&(Fr=Ko(Lr)?Lr:VA(ee[We+1])?[]:{})}K1(jt,or,Fr),jt=jt[or]}return U}var $Q=o0?function(U,ee){return o0.set(U,ee),U}:ru,Xx=Wh?function(U,ee){return Wh(U,"toString",{configurable:!0,enumerable:!1,value:r3(ee),writable:!0})}:ru;function e6(U){return jB(yh(U))}function ul(U,ee,ge){var De=-1,We=U.length;ee<0&&(ee=-ee>We?0:We+ee),(ge=ge>We?We:ge)<0&&(ge+=We),We=ee>ge?0:ge-ee>>>0,ee>>>=0;for(var dt=Ue(We);++De<We;)dt[De]=U[De+ee];return dt}function t6(U,ee){var ge;return Lf(U,function(De,We,dt){return!(ge=ee(De,We,dt))}),!!ge}function RB(U,ee,ge){var De=0,We=U==null?De:U.length;if(typeof ee=="number"&&ee==ee&&We<=2147483647){for(;De<We;){var dt=De+We>>>1,Tt=U[dt];Tt!==null&&!ph(Tt)&&(ge?Tt<=ee:Tt<ee)?De=dt+1:We=dt}return We}return l0(U,ee,ru,ge)}function l0(U,ee,ge,De){var We=0,dt=U==null?0:U.length;if(dt===0)return 0;for(var Tt=(ee=ge(ee))!=ee,jt=ee===null,or=ph(ee),Fr=ee===u;We<dt;){var Lr=EB((We+dt)/2),cn=ge(U[Lr]),qn=cn!==u,ri=cn===null,yi=cn==cn,Jr=ph(cn);if(Tt)var yn=De||yi;else yn=Fr?yi&&(De||qn):jt?yi&&qn&&(De||!ri):or?yi&&qn&&!ri&&(De||!Jr):!ri&&!Jr&&(De?cn<=ee:cn<ee);yn?We=Lr+1:dt=Lr}return yc(dt,4294967294)}function $b(U,ee){for(var ge=-1,De=U.length,We=0,dt=[];++ge<De;){var Tt=U[ge],jt=ee?ee(Tt):Tt;if(!ge||!Of(jt,or)){var or=jt;dt[We++]=Tt===0?0:Tt}}return dt}function r6(U){return typeof U=="number"?U:ph(U)?B:+U}function Vu(U){if(typeof U=="string")return U;if(na(U))return yo(U,Vu)+"";if(ph(U))return GQ?GQ.call(U):"";var ee=U+"";return ee=="0"&&1/U==-1/0?"-0":ee}function zA(U,ee,ge){var De=-1,We=Ku,dt=U.length,Tt=!0,jt=[],or=jt;if(ge)Tt=!1,We=pg;else if(dt>=200){var Fr=ee?null:l6(U);if(Fr)return Or(Fr);Tt=!1,We=Wt,or=new z1}else or=ee?[]:jt;e:for(;++De<dt;){var Lr=U[De],cn=ee?ee(Lr):Lr;if(Lr=ge||Lr!==0?Lr:0,Tt&&cn==cn){for(var qn=or.length;qn--;)if(or[qn]===cn)continue e;ee&&or.push(cn),jt.push(Lr)}else We(or,cn,ge)||(or!==jt&&or.push(cn),jt.push(Lr))}return jt}function Hk(U,ee){return(U=c4(U,ee=wg(ee,U)))==null||delete U[ZA(Kh(ee))]}function n6(U,ee,ge,De){return Xb(U,ee,ge(V1(U,ee)),De)}function _m(U,ee,ge,De){for(var We=U.length,dt=De?We:-1;(De?dt--:++dt<We)&&ee(U[dt],dt,U););return ge?ul(U,De?0:dt,De?dt+1:We):ul(U,De?dt+1:0,De?We:dt)}function Yk(U,ee){var ge=U;return ge instanceof Ga&&(ge=ge.value()),HA(ee,function(De,We){return We.func.apply(We.thisArg,il([De],We.args))},ge)}function Dm(U,ee,ge){var De=U.length;if(De<2)return De?zA(U[0]):[];for(var We=-1,dt=Ue(De);++We<De;)for(var Tt=U[We],jt=-1;++jt<De;)jt!=We&&(dt[We]=u0(dt[We]||Tt,U[jt],ee,ge));return zA(Ho(dt,1),ee,ge)}function i6(U,ee,ge){for(var De=-1,We=U.length,dt=ee.length,Tt={};++De<We;){var jt=De<dt?ee[De]:u;ge(Tt,U[De],jt)}return Tt}function Z1(U){return Ns(U)?U:[]}function Jk(U){return typeof U=="function"?U:ru}function wg(U,ee){return na(U)?U:oC(U,ee)?[U]:HB(fo(U))}var X1=pa;function h0(U,ee,ge){var De=U.length;return ge=ge===u?De:ge,!ee&&ge>=De?U:ul(U,ee,ge)}var MB=Wx||function(U){return os.clearTimeout(U)};function Wk(U,ee){if(ee)return U.slice();var ge=U.length,De=ol?ol(ge):new U.constructor(ge);return U.copy(De),De}function qk(U){var ee=new U.constructor(U.byteLength);return new xo(ee).set(new xo(U)),ee}function zk(U,ee){var ge=ee?qk(U.buffer):U.buffer;return new U.constructor(ge,U.byteOffset,U.length)}function Kk(U,ee){if(U!==ee){var ge=U!==u,De=U===null,We=U==U,dt=ph(U),Tt=ee!==u,jt=ee===null,or=ee==ee,Fr=ph(ee);if(!jt&&!Fr&&!dt&&U>ee||dt&&Tt&&or&&!jt&&!Fr||De&&Tt&&or||!ge&&or||!We)return 1;if(!De&&!dt&&!Fr&&U<ee||Fr&&ge&&We&&!De&&!dt||jt&&ge&&We||!Tt&&We||!or)return-1}return 0}function Vk(U,ee,ge,De){for(var We=-1,dt=U.length,Tt=ge.length,jt=-1,or=ee.length,Fr=vu(dt-Tt,0),Lr=Ue(or+Fr),cn=!De;++jt<or;)Lr[jt]=ee[jt];for(;++We<Tt;)(cn||We<dt)&&(Lr[ge[We]]=U[We]);for(;Fr--;)Lr[jt++]=U[We++];return Lr}function Zk(U,ee,ge,De){for(var We=-1,dt=U.length,Tt=-1,jt=ge.length,or=-1,Fr=ee.length,Lr=vu(dt-jt,0),cn=Ue(Lr+Fr),qn=!De;++We<Lr;)cn[We]=U[We];for(var ri=We;++or<Fr;)cn[ri+or]=ee[or];for(;++Tt<jt;)(qn||We<dt)&&(cn[ri+ge[Tt]]=U[We++]);return cn}function jl(U,ee){var ge=-1,De=U.length;for(ee||(ee=Ue(De));++ge<De;)ee[ge]=U[ge];return ee}function KA(U,ee,ge,De){var We=!ge;ge||(ge={});for(var dt=-1,Tt=ee.length;++dt<Tt;){var jt=ee[dt],or=De?De(ge[jt],U[jt],jt,ge,U):u;or===u&&(or=U[jt]),We?Tf(ge,jt,or):K1(ge,jt,or)}return ge}function Rm(U,ee){return function(ge,De){var We=na(ge)?t0:Mk,dt=ee?ee():{};return We(ge,U,_i(De,2),dt)}}function $1(U){return pa(function(ee,ge){var De=-1,We=ge.length,dt=We>1?ge[We-1]:u,Tt=We>2?ge[2]:u;for(dt=U.length>3&&typeof dt=="function"?(We--,dt):u,Tt&&ll(ge[0],ge[1],Tt)&&(dt=We<3?u:dt,We=1),ee=Qr(ee);++De<We;){var jt=ge[De];jt&&U(ee,jt,De,dt)}return ee})}function a6(U,ee){return function(ge,De){if(ge==null)return ge;if(!hl(ge))return U(ge,De);for(var We=ge.length,dt=ee?We:-1,Tt=Qr(ge);(ee?dt--:++dt<We)&&De(Tt[dt],dt,Tt)!==!1;);return ge}}function Mm(U){return function(ee,ge,De){for(var We=-1,dt=Qr(ee),Tt=De(ee),jt=Tt.length;jt--;){var or=Tt[U?jt:++We];if(ge(dt[or],or,dt)===!1)break}return ee}}function Xk(U){return function(ee){var ge=Nt(ee=fo(ee))?hn(ee):u,De=ge?ge[0]:ee.charAt(0),We=ge?h0(ge,1).join(""):ee.slice(1);return De[U]()+We}}function Fm(U){return function(ee){return HA(v0(t3(ee).replace(jn,"")),U,"")}}function eC(U){return function(){var ee=arguments;switch(ee.length){case 0:return new U;case 1:return new U(ee[0]);case 2:return new U(ee[0],ee[1]);case 3:return new U(ee[0],ee[1],ee[2]);case 4:return new U(ee[0],ee[1],ee[2],ee[3]);case 5:return new U(ee[0],ee[1],ee[2],ee[3],ee[4]);case 6:return new U(ee[0],ee[1],ee[2],ee[3],ee[4],ee[5]);case 7:return new U(ee[0],ee[1],ee[2],ee[3],ee[4],ee[5],ee[6])}var ge=km(U.prototype),De=U.apply(ge,ee);return Ko(De)?De:ge}}function o6(U){return function(ee,ge,De){var We=Qr(ee);if(!hl(ee)){var dt=_i(ge,3);ee=yu(ee),ge=function(jt){return dt(We[jt],jt,We)}}var Tt=U(ee,ge,De);return Tt>-1?We[dt?ee[Tt]:Tt]:u}}function $k(U){return Eg(function(ee){var ge=ee.length,De=ge,We=mc.prototype.thru;for(U&&ee.reverse();De--;){var dt=ee[De];if(typeof dt!="function")throw new ka(h);if(We&&!Tt&&iC(dt)=="wrapper")var Tt=new mc([],!0)}for(De=Tt?De:ge;++De<ge;){var jt=iC(dt=ee[De]),or=jt=="wrapper"?Tm(dt):u;Tt=or&&a4(or[0])&&or[1]==424&&!or[4].length&&or[9]==1?Tt[iC(or[0])].apply(Tt,or[3]):dt.length==1&&a4(dt)?Tt[jt]():Tt.thru(dt)}return function(){var Fr=arguments,Lr=Fr[0];if(Tt&&Fr.length==1&&na(Lr))return Tt.plant(Lr).value();for(var cn=0,qn=ge?ee[cn].apply(this,Fr):Lr;++cn<ge;)qn=ee[cn].call(this,qn);return qn}})}function FB(U,ee,ge,De,We,dt,Tt,jt,or,Fr){var Lr=ee&y,cn=1&ee,qn=2&ee,ri=24&ee,yi=512&ee,Jr=qn?u:eC(U);return function yn(){for(var wi=arguments.length,xn=Ue(wi),oa=wi;oa--;)xn[oa]=arguments[oa];if(ri)var Hi=Nc(yn),io=function(Os,Al){for(var Yo=Os.length,Pc=0;Yo--;)Os[Yo]===Al&&++Pc;return Pc}(xn,Hi);if(De&&(xn=Vk(xn,De,We,ri)),dt&&(xn=Zk(xn,dt,Tt,ri)),wi-=io,ri&&wi<Fr){var Ai=lr(xn,Hi);return c6(U,ee,FB,yn.placeholder,ge,xn,Ai,jt,or,Fr-wi)}var Di=cn?ge:this,mu=qn?Di[U]:U;return wi=xn.length,jt?xn=function(Os,Al){for(var Yo=Os.length,Pc=yc(Al.length,Yo),td=jl(Os);Pc--;){var xg=Al[Pc];Os[Pc]=VA(xg,Yo)?td[xg]:u}return Os}(xn,jt):yi&&wi>1&&xn.reverse(),Lr&&or<wi&&(xn.length=or),this&&this!==os&&this instanceof yn&&(mu=Jr||eC(mu)),mu.apply(Di,xn)}}function s6(U,ee){return function(ge,De){return function(We,dt,Tt,jt){return zh(We,function(or,Fr,Lr){dt(jt,Tt(or),Fr,Lr)}),jt}(ge,U,ee(De),{})}}function tC(U,ee){return function(ge,De){var We;if(ge===u&&De===u)return ee;if(ge!==u&&(We=ge),De!==u){if(We===u)return De;typeof ge=="string"||typeof De=="string"?(ge=Vu(ge),De=Vu(De)):(ge=r6(ge),De=r6(De)),We=U(ge,De)}return We}}function TB(U){return Eg(function(ee){return ee=yo(ee,jo(_i())),pa(function(ge){var De=this;return U(ee,function(We){return du(We,De,ge)})})})}function rC(U,ee){var ge=(ee=ee===u?" ":Vu(ee)).length;if(ge<2)return ge?dh(ee,U):ee;var De=dh(ee,W1(U/Xr(ee)));return Nt(ee)?h0(hn(De),0,U).join(""):De.slice(0,U)}function u6(U){return function(ee,ge,De){return De&&typeof De!="number"&&ll(ee,ge,De)&&(ge=De=u),ee=ed(ee),ge===u?(ge=ee,ee=0):ge=ed(ge),function(We,dt,Tt,jt){for(var or=-1,Fr=vu(W1((dt-We)/(Tt||1)),0),Lr=Ue(Fr);Fr--;)Lr[jt?Fr:++or]=We,We+=Tt;return Lr}(ee,ge,De=De===u?ee<ge?1:-1:ed(De),U)}}function LB(U){return function(ee,ge){return typeof ee=="string"&&typeof ge=="string"||(ee=vh(ee),ge=vh(ge)),U(ee,ge)}}function c6(U,ee,ge,De,We,dt,Tt,jt,or,Fr){var Lr=8&ee;ee|=Lr?A:m,4&(ee&=~(Lr?m:A))||(ee&=-4);var cn=[U,ee,We,Lr?dt:u,Lr?Tt:u,Lr?u:dt,Lr?u:Tt,jt,or,Fr],qn=ge.apply(u,cn);return a4(U)&&A6(qn,cn),qn.placeholder=De,Oc(qn,U,ee)}function NB(U){var ee=Sn[U];return function(ge,De){if(ge=vh(ge),(De=De==null?0:yc(va(De),292))&&LQ(ge)){var We=(fo(ge)+"e").split("e");return+((We=(fo(ee(We[0]+"e"+(+We[1]+De)))+"e").split("e"))[0]+"e"+(+We[1]-De))}return ee(ge)}}var l6=Em&&1/Or(new Em([,-0]))[1]==I?function(U){return new Em(U)}:S4;function e4(U){return function(ee){var ge=zo(ee);return ge==te?Ht(ee):ge==we?function(De){var We=-1,dt=Array(De.size);return De.forEach(function(Tt){dt[++We]=[Tt,Tt]}),dt}(ee):function(De,We){return yo(We,function(dt){return[dt,De[dt]]})}(ee,U(ee))}}function _u(U,ee,ge,De,We,dt,Tt,jt){var or=2&ee;if(!or&&typeof U!="function")throw new ka(h);var Fr=De?De.length:0;if(Fr||(ee&=-97,De=We=u),Tt=Tt===u?Tt:vu(va(Tt),0),jt=jt===u?jt:va(jt),Fr-=We?We.length:0,ee&m){var Lr=De,cn=We;De=We=u}var qn=or?u:Tm(U),ri=[U,ee,ge,De,We,Lr,cn,dt,Tt,jt];if(qn&&function(Jr,yn){var wi=Jr[1],xn=yn[1],oa=wi|xn,Hi=oa<131,io=xn==y&&wi==8||xn==y&&wi==b&&Jr[7].length<=yn[8]||xn==384&&yn[7].length<=yn[8]&&wi==8;if(!Hi&&!io)return Jr;1&xn&&(Jr[2]=yn[2],oa|=1&wi?0:4);var Ai=yn[3];if(Ai){var Di=Jr[3];Jr[3]=Di?Vk(Di,Ai,yn[4]):Ai,Jr[4]=Di?lr(Jr[3],p):yn[4]}(Ai=yn[5])&&(Di=Jr[5],Jr[5]=Di?Zk(Di,Ai,yn[6]):Ai,Jr[6]=Di?lr(Jr[5],p):yn[6]),(Ai=yn[7])&&(Jr[7]=Ai),xn&y&&(Jr[8]=Jr[8]==null?yn[8]:yc(Jr[8],yn[8])),Jr[9]==null&&(Jr[9]=yn[9]),Jr[0]=yn[0],Jr[1]=oa}(ri,qn),U=ri[0],ee=ri[1],ge=ri[2],De=ri[3],We=ri[4],!(jt=ri[9]=ri[9]===u?or?0:U.length:vu(ri[9]-Fr,0))&&24&ee&&(ee&=-25),ee&&ee!=1)yi=ee==8||ee==g?function(Jr,yn,wi){var xn=eC(Jr);return function oa(){for(var Hi=arguments.length,io=Ue(Hi),Ai=Hi,Di=Nc(oa);Ai--;)io[Ai]=arguments[Ai];var mu=Hi<3&&io[0]!==Di&&io[Hi-1]!==Di?[]:lr(io,Di);return(Hi-=mu.length)<wi?c6(Jr,yn,FB,oa.placeholder,u,io,mu,u,u,wi-Hi):du(this&&this!==os&&this instanceof oa?xn:Jr,this,io)}}(U,ee,jt):ee!=A&&ee!=33||We.length?FB.apply(u,ri):function(Jr,yn,wi,xn){var oa=1&yn,Hi=eC(Jr);return function io(){for(var Ai=-1,Di=arguments.length,mu=-1,Os=xn.length,Al=Ue(Os+Di),Yo=this&&this!==os&&this instanceof io?Hi:Jr;++mu<Os;)Al[mu]=xn[mu];for(;Di--;)Al[mu++]=arguments[++Ai];return du(Yo,oa?wi:this,Al)}}(U,ee,ge,De);else var yi=function(Jr,yn,wi){var xn=1&yn,oa=eC(Jr);return function Hi(){return(this&&this!==os&&this instanceof Hi?oa:Jr).apply(xn?wi:this,arguments)}}(U,ee,ge);return Oc((qn?$Q:A6)(yi,ri),U,ee)}function t4(U,ee,ge,De){return U===u||Of(U,Is[ge])&&!Xi.call(De,ge)?ee:U}function h6(U,ee,ge,De,We,dt){return Ko(U)&&Ko(ee)&&(dt.set(ee,U),_B(U,ee,u,h6,dt),dt.delete(ee)),U}function nC(U){return Qg(U)?u:U}function f0(U,ee,ge,De,We,dt){var Tt=1&ge,jt=U.length,or=ee.length;if(jt!=or&&!(Tt&&or>jt))return!1;var Fr=dt.get(U),Lr=dt.get(ee);if(Fr&&Lr)return Fr==ee&&Lr==U;var cn=-1,qn=!0,ri=2&ge?new z1:u;for(dt.set(U,ee),dt.set(ee,U);++cn<jt;){var yi=U[cn],Jr=ee[cn];if(De)var yn=Tt?De(Jr,yi,cn,ee,U,dt):De(yi,Jr,cn,U,ee,dt);if(yn!==u){if(yn)continue;qn=!1;break}if(ri){if(!Qo(ee,function(wi,xn){if(!Wt(ri,xn)&&(yi===wi||We(yi,wi,ge,De,dt)))return ri.push(xn)})){qn=!1;break}}else if(yi!==Jr&&!We(yi,Jr,ge,De,dt)){qn=!1;break}}return dt.delete(U),dt.delete(ee),qn}function Eg(U){return GB(f6(U,u,g6),U+"")}function r4(U){return Lk(U,yu,ss)}function n4(U){return Lk(U,fl,Nf)}var Tm=o0?function(U){return o0.get(U)}:S4;function iC(U){for(var ee=U.name+"",ge=YA[ee],De=Xi.call(YA,ee)?ge.length:0;De--;){var We=ge[De],dt=We.func;if(dt==null||dt==U)return We.name}return ee}function Nc(U){return(Xi.call(it,"placeholder")?it:U).placeholder}function _i(){var U=it.iteratee||Q4;return U=U===Q4?qQ:U,arguments.length?U(arguments[0],arguments[1]):U}function OB(U,ee){var ge,De,We=U.__data__;return((De=typeof(ge=ee))=="string"||De=="number"||De=="symbol"||De=="boolean"?ge!=="__proto__":ge===null)?We[typeof ee=="string"?"string":"hash"]:We.map}function gh(U){for(var ee=yu(U),ge=ee.length;ge--;){var De=ee[ge],We=U[De];ee[ge]=[De,We,s4(We)]}return ee}function Ha(U,ee){var ge=function(De,We){return De==null?u:De[We]}(U,ee);return Zb(ge)?ge:u}var ss=Cm?function(U){return U==null?[]:(U=Qr(U),vc(Cm(U),function(ee){return kk.call(U,ee)}))}:R4,Nf=Cm?function(U){for(var ee=[];U;)il(ee,ss(U)),U=n0(U);return ee}:R4,zo=Lc;function i4(U,ee,ge){for(var De=-1,We=(ee=wg(ee,U)).length,dt=!1;++De<We;){var Tt=ZA(ee[De]);if(!(dt=U!=null&&ge(U,Tt)))break;U=U[Tt]}return dt||++De!=We?dt:!!(We=U==null?0:U.length)&&ZB(We)&&VA(Tt,We)&&(na(U)||rv(U))}function aC(U){return typeof U.constructor!="function"||ev(U)?{}:km(n0(U))}function cl(U){return na(U)||rv(U)||!!(Fi&&U&&U[Fi])}function VA(U,ee){var ge=typeof U;return!!(ee=ee??E)&&(ge=="number"||ge!="symbol"&&ot.test(U))&&U>-1&&U%1==0&&U<ee}function ll(U,ee,ge){if(!Ko(ge))return!1;var De=typeof ee;return!!(De=="number"?hl(ge)&&VA(ee,ge.length):De=="string"&&ee in ge)&&Of(ge[ee],U)}function oC(U,ee){if(na(U))return!1;var ge=typeof U;return!(ge!="number"&&ge!="symbol"&&ge!="boolean"&&U!=null&&!ph(U))||Ie.test(U)||!Rt.test(U)||ee!=null&&U in Qr(ee)}function a4(U){var ee=iC(U),ge=it[ee];if(typeof ge!="function"||!(ee in Ga.prototype))return!1;if(U===ge)return!0;var De=Tm(ge);return!!De&&U===De[0]}(xk&&zo(new xk(new ArrayBuffer(1)))!=q||wm&&zo(new wm)!=te||Sk&&zo(Sk.resolve())!=de||Em&&zo(new Em)!=we||Bm&&zo(new Bm)!=j)&&(zo=function(U){var ee=Lc(U),ge=ee==fe?U.constructor:u,De=ge?Bg(ge):"";if(De)switch(De){case _k:return q;case Ub:return te;case Dk:return de;case sl:return we;case jb:return j}return ee});var o4=Ls?$A:ov;function ev(U){var ee=U&&U.constructor;return U===(typeof ee=="function"&&ee.prototype||Is)}function s4(U){return U==U&&!Ko(U)}function u4(U,ee){return function(ge){return ge!=null&&ge[U]===ee&&(ee!==u||U in Qr(ge))}}function f6(U,ee,ge){return ee=vu(ee===u?U.length-1:ee,0),function(){for(var De=arguments,We=-1,dt=vu(De.length-ee,0),Tt=Ue(dt);++We<dt;)Tt[We]=De[ee+We];We=-1;for(var jt=Ue(ee+1);++We<ee;)jt[We]=De[We];return jt[ee]=ge(Tt),du(U,this,jt)}}function c4(U,ee){return ee.length<2?U:V1(U,ul(ee,0,-1))}function PB(U,ee){if((ee!=="constructor"||typeof U[ee]!="function")&&ee!="__proto__")return U[ee]}var A6=UB($Q),sC=Qk||function(U,ee){return os.setTimeout(U,ee)},GB=UB(Xx);function Oc(U,ee,ge){var De=ee+"";return GB(U,function(We,dt){var Tt=dt.length;if(!Tt)return We;var jt=Tt-1;return dt[jt]=(Tt>1?"& ":"")+dt[jt],dt=dt.join(Tt>2?", ":" "),We.replace(_t,`{
  74. /* [wrapped with `+dt+`] */
  75. `)}(De,function(We,dt){return ms(_,function(Tt){var jt="_."+Tt[0];dt&Tt[1]&&!Ku(We,jt)&&We.push(jt)}),We.sort()}(function(We){var dt=We.match(Ft);return dt?dt[1].split(Ze):[]}(De),ge)))}function UB(U){var ee=0,ge=0;return function(){var De=PQ(),We=16-(De-ge);if(ge=De,We>0){if(++ee>=800)return arguments[0]}else ee=0;return U.apply(u,arguments)}}function jB(U,ee){var ge=-1,De=U.length,We=De-1;for(ee=ee===u?De:ee;++ge<ee;){var dt=Sm(ge,We),Tt=U[dt];U[dt]=U[ge],U[ge]=Tt}return U.length=ee,U}var uC,Lm,l4,HB=(uC=function(U){var ee=[];return U.charCodeAt(0)===46&&ee.push(""),U.replace(Re,function(ge,De,We,dt){ee.push(We?dt.replace(Ot,"$1"):De||ge)}),ee},Lm=KB(uC,function(U){return l4.size===500&&l4.clear(),U}),l4=Lm.cache,Lm);function ZA(U){if(typeof U=="string"||ph(U))return U;var ee=U+"";return ee=="0"&&1/U==-1/0?"-0":ee}function Bg(U){if(U!=null){try{return $s.call(U)}catch{}try{return U+""}catch{}}return""}function YB(U){if(U instanceof Ga)return U.clone();var ee=new mc(U.__wrapped__,U.__chain__);return ee.__actions__=jl(U.__actions__),ee.__index__=U.__index__,ee.__values__=U.__values__,ee}var d6=pa(function(U,ee){return Ns(U)?u0(U,Ho(ee,1,Ns,!0)):[]}),tv=pa(function(U,ee){var ge=Kh(ee);return Ns(ge)&&(ge=u),Ns(U)?u0(U,Ho(ee,1,Ns,!0),_i(ge,2)):[]}),$x=pa(function(U,ee){var ge=Kh(ee);return Ns(ge)&&(ge=u),Ns(U)?u0(U,Ho(ee,1,Ns,!0),u,ge):[]});function h4(U,ee,ge){var De=U==null?0:U.length;if(!De)return-1;var We=ge==null?0:va(ge);return We<0&&(We=vu(De+We,0)),gu(U,_i(ee,3),We)}function JB(U,ee,ge){var De=U==null?0:U.length;if(!De)return-1;var We=De-1;return ge!==u&&(We=va(ge),We=ge<0?vu(De+We,0):yc(We,De-1)),gu(U,_i(ee,3),We,!0)}function g6(U){return U!=null&&U.length?Ho(U,1):[]}function p6(U){return U&&U.length?U[0]:u}var e8=pa(function(U){var ee=yo(U,Z1);return ee.length&&ee[0]===U[0]?SB(ee):[]}),f4=pa(function(U){var ee=Kh(U),ge=yo(U,Z1);return ee===Kh(ge)?ee=u:ge.pop(),ge.length&&ge[0]===U[0]?SB(ge,_i(ee,2)):[]}),t8=pa(function(U){var ee=Kh(U),ge=yo(U,Z1);return(ee=typeof ee=="function"?ee:u)&&ge.pop(),ge.length&&ge[0]===U[0]?SB(ge,u,ee):[]});function Kh(U){var ee=U==null?0:U.length;return ee?U[ee-1]:u}var v6=pa(A4);function A4(U,ee){return U&&U.length&&ee&&ee.length?jk(U,ee):U}var r8=Eg(function(U,ee){var ge=U==null?0:U.length,De=xB(U,ee);return ZQ(U,yo(ee,function(We){return VA(We,ge)?+We:We}).sort(Kk)),De});function d4(U){return U==null?U:Kx.call(U)}var y6=pa(function(U){return zA(Ho(U,1,Ns,!0))}),m6=pa(function(U){var ee=Kh(U);return Ns(ee)&&(ee=u),zA(Ho(U,1,Ns,!0),_i(ee,2))}),Du=pa(function(U){var ee=Kh(U);return ee=typeof ee=="function"?ee:u,zA(Ho(U,1,Ns,!0),u,ee)});function g4(U){if(!U||!U.length)return[];var ee=0;return U=vc(U,function(ge){if(Ns(ge))return ee=vu(ge.length,ee),!0}),al(ee,function(ge){return yo(U,Df(ge))})}function I6(U,ee){if(!U||!U.length)return[];var ge=g4(U);return ee==null?ge:yo(ge,function(De){return du(ee,u,De)})}var p4=pa(function(U,ee){return Ns(U)?u0(U,ee):[]}),n8=pa(function(U){return Dm(vc(U,Ns))}),v4=pa(function(U){var ee=Kh(U);return Ns(ee)&&(ee=u),Dm(vc(U,Ns),_i(ee,2))}),b6=pa(function(U){var ee=Kh(U);return ee=typeof ee=="function"?ee:u,Dm(vc(U,Ns),u,ee)}),i8=pa(g4),C6=pa(function(U){var ee=U.length,ge=ee>1?U[ee-1]:u;return ge=typeof ge=="function"?(U.pop(),ge):u,I6(U,ge)});function y4(U){var ee=it(U);return ee.__chain__=!0,ee}function XA(U,ee){return ee(U)}var a8=Eg(function(U){var ee=U.length,ge=ee?U[0]:0,De=this.__wrapped__,We=function(dt){return xB(dt,U)};return!(ee>1||this.__actions__.length)&&De instanceof Ga&&VA(ge)?((De=De.slice(ge,+ge+(ee?1:0))).__actions__.push({func:XA,args:[We],thisArg:u}),new mc(De,this.__chain__).thru(function(dt){return ee&&!dt.length&&dt.push(u),dt})):this.thru(We)}),o8=Rm(function(U,ee,ge){Xi.call(U,ge)?++U[ge]:Tf(U,ge,1)}),s8=o6(h4),w6=o6(JB);function E6(U,ee){return(na(U)?ms:Lf)(U,_i(ee,3))}function m4(U,ee){return(na(U)?lh:c0)(U,_i(ee,3))}var WB=Rm(function(U,ee,ge){Xi.call(U,ge)?U[ge].push(ee):Tf(U,ge,[ee])}),u8=pa(function(U,ee,ge){var De=-1,We=typeof ee=="function",dt=hl(U)?Ue(U.length):[];return Lf(U,function(Tt){dt[++De]=We?du(ee,Tt,ge):Qm(Tt,ee,ge)}),dt}),B6=Rm(function(U,ee,ge){Tf(U,ge,ee)});function A0(U,ee){return(na(U)?yo:Gk)(U,_i(ee,3))}var k6=Rm(function(U,ee,ge){U[ge?0:1].push(ee)},function(){return[[],[]]}),Q6=pa(function(U,ee){if(U==null)return[];var ge=ee.length;return ge>1&&ll(U,ee[0],ee[1])?ee=[]:ge>2&&ll(ee[0],ee[1],ee[2])&&(ee=[ee[0]]),xm(U,Ho(ee,1),[])}),Nm=qx||function(){return os.Date.now()};function qB(U,ee,ge){return ee=ge?u:ee,ee=U&&ee==null?U.length:ee,_u(U,y,u,u,u,u,ee)}function I4(U,ee){var ge;if(typeof ee!="function")throw new ka(h);return U=va(U),function(){return--U>0&&(ge=ee.apply(this,arguments)),U<=1&&(ee=u),ge}}var b4=pa(function(U,ee,ge){var De=1;if(ge.length){var We=lr(ge,Nc(b4));De|=A}return _u(U,De,ee,ge,We)}),zB=pa(function(U,ee,ge){var De=3;if(ge.length){var We=lr(ge,Nc(zB));De|=A}return _u(ee,De,U,ge,We)});function C4(U,ee,ge){var De,We,dt,Tt,jt,or,Fr=0,Lr=!1,cn=!1,qn=!0;if(typeof U!="function")throw new ka(h);function ri(xn){var oa=De,Hi=We;return De=We=u,Fr=xn,Tt=U.apply(Hi,oa)}function yi(xn){var oa=xn-or;return or===u||oa>=ee||oa<0||cn&&xn-Fr>=dt}function Jr(){var xn=Nm();if(yi(xn))return yn(xn);jt=sC(Jr,function(oa){var Hi=ee-(oa-or);return cn?yc(Hi,dt-(oa-Fr)):Hi}(xn))}function yn(xn){return jt=u,qn&&De?ri(xn):(De=We=u,Tt)}function wi(){var xn=Nm(),oa=yi(xn);if(De=arguments,We=this,or=xn,oa){if(jt===u)return function(Hi){return Fr=Hi,jt=sC(Jr,ee),Lr?ri(Hi):Tt}(or);if(cn)return MB(jt),jt=sC(Jr,ee),ri(or)}return jt===u&&(jt=sC(Jr,ee)),Tt}return ee=vh(ee)||0,Ko(ge)&&(Lr=!!ge.leading,dt=(cn="maxWait"in ge)?vu(vh(ge.maxWait)||0,ee):dt,qn="trailing"in ge?!!ge.trailing:qn),wi.cancel=function(){jt!==u&&MB(jt),Fr=0,De=or=We=jt=u},wi.flush=function(){return jt===u?Tt:yn(Nm())},wi}var x6=pa(function(U,ee){return Jb(U,1,ee)}),c8=pa(function(U,ee,ge){return Jb(U,vh(ee)||0,ge)});function KB(U,ee){if(typeof U!="function"||ee!=null&&typeof ee!="function")throw new ka(h);var ge=function(){var De=arguments,We=ee?ee.apply(this,De):De[0],dt=ge.cache;if(dt.has(We))return dt.get(We);var Tt=U.apply(this,De);return ge.cache=dt.set(We,Tt)||dt,Tt};return ge.cache=new(KB.Cache||JA),ge}function VB(U){if(typeof U!="function")throw new ka(h);return function(){var ee=arguments;switch(ee.length){case 0:return!U.call(this);case 1:return!U.call(this,ee[0]);case 2:return!U.call(this,ee[0],ee[1]);case 3:return!U.call(this,ee[0],ee[1],ee[2])}return!U.apply(this,ee)}}KB.Cache=JA;var S6=X1(function(U,ee){var ge=(ee=ee.length==1&&na(ee[0])?yo(ee[0],jo(_i())):yo(Ho(ee,1),jo(_i()))).length;return pa(function(De){for(var We=-1,dt=yc(De.length,ge);++We<dt;)De[We]=ee[We].call(this,De[We]);return du(U,this,De)})}),w4=pa(function(U,ee){var ge=lr(ee,Nc(w4));return _u(U,A,u,ee,ge)}),_6=pa(function(U,ee){var ge=lr(ee,Nc(_6));return _u(U,m,u,ee,ge)}),D6=Eg(function(U,ee){return _u(U,b,u,u,u,ee)});function Of(U,ee){return U===ee||U!=U&&ee!=ee}var R6=LB(Nk),M6=LB(function(U,ee){return U>=ee}),rv=WQ(function(){return arguments}())?WQ:function(U){return ho(U)&&Xi.call(U,"callee")&&!kk.call(U,"callee")},na=Ue.isArray,nv=Zp?jo(Zp):function(U){return ho(U)&&Lc(U)==J};function hl(U){return U!=null&&ZB(U.length)&&!$A(U)}function Ns(U){return ho(U)&&hl(U)}var kg=zx||ov,F6=jA?jo(jA):function(U){return ho(U)&&Lc(U)==N};function cC(U){if(!ho(U))return!1;var ee=Lc(U);return ee==H||ee=="[object DOMException]"||typeof U.message=="string"&&typeof U.name=="string"&&!Qg(U)}function $A(U){if(!Ko(U))return!1;var ee=Lc(U);return ee==W||ee==V||ee=="[object AsyncFunction]"||ee=="[object Proxy]"}function T6(U){return typeof U=="number"&&U==va(U)}function ZB(U){return typeof U=="number"&&U>-1&&U%1==0&&U<=E}function Ko(U){var ee=typeof U;return U!=null&&(ee=="object"||ee=="function")}function ho(U){return U!=null&&typeof U=="object"}var L6=Xp?jo(Xp):function(U){return ho(U)&&zo(U)==te};function Om(U){return typeof U=="number"||ho(U)&&Lc(U)==ue}function Qg(U){if(!ho(U)||Lc(U)!=fe)return!1;var ee=n0(U);if(ee===null)return!0;var ge=Xi.call(ee,"constructor")&&ee.constructor;return typeof ge=="function"&&ge instanceof ge&&$s.call(ge)==Qi}var XB=$p?jo($p):function(U){return ho(U)&&Lc(U)==Ae},lC=gg?jo(gg):function(U){return ho(U)&&zo(U)==we};function Pm(U){return typeof U=="string"||!na(U)&&ho(U)&&Lc(U)==Z}function ph(U){return typeof U=="symbol"||ho(U)&&Lc(U)==ne}var Pf=e0?jo(e0):function(U){return ho(U)&&ZB(U.length)&&!!ra[Lc(U)]},l8=LB(Pk),h8=LB(function(U,ee){return U<=ee});function N6(U){if(!U)return[];if(hl(U))return Pm(U)?hn(U):jl(U);if(Ig&&U[Ig])return function(ge){for(var De,We=[];!(De=ge.next()).done;)We.push(De.value);return We}(U[Ig]());var ee=zo(U);return(ee==te?Ht:ee==we?Or:yh)(U)}function ed(U){return U?(U=vh(U))===I||U===-1/0?17976931348623157e292*(U<0?-1:1):U==U?U:0:U===0?U:0}function va(U){var ee=ed(U),ge=ee%1;return ee==ee?ge?ee-ge:ee:0}function O6(U){return U?s0(va(U),0,S):0}function vh(U){if(typeof U=="number")return U;if(ph(U))return B;if(Ko(U)){var ee=typeof U.valueOf=="function"?U.valueOf():U;U=Ko(ee)?ee+"":ee}if(typeof U!="string")return U===0?U:+U;U=Mf(U);var ge=mt.test(U);return ge||Ye.test(U)?zu(U.slice(2),ge?2:8):tt.test(U)?B:+U}function $B(U){return KA(U,fl(U))}function fo(U){return U==null?"":Vu(U)}var iv=$1(function(U,ee){if(ev(ee)||hl(ee))KA(ee,yu(ee),U);else for(var ge in ee)Xi.call(ee,ge)&&K1(U,ge,ee[ge])}),hC=$1(function(U,ee){KA(ee,fl(ee),U)}),e3=$1(function(U,ee,ge,De){KA(ee,fl(ee),U,De)}),f8=$1(function(U,ee,ge,De){KA(ee,yu(ee),U,De)}),A8=Eg(xB),d8=pa(function(U,ee){U=Qr(U);var ge=-1,De=ee.length,We=De>2?ee[2]:u;for(We&&ll(ee[0],ee[1],We)&&(De=1);++ge<De;)for(var dt=ee[ge],Tt=fl(dt),jt=-1,or=Tt.length;++jt<or;){var Fr=Tt[jt],Lr=U[Fr];(Lr===u||Of(Lr,Is[Fr])&&!Xi.call(U,Fr))&&(U[Fr]=dt[Fr])}return U}),g8=pa(function(U){return U.push(u,h6),du(Gm,u,U)});function E4(U,ee,ge){var De=U==null?u:V1(U,ee);return De===u?ge:De}function d0(U,ee){return U!=null&&i4(U,ee,JQ)}var P6=s6(function(U,ee,ge){ee!=null&&typeof ee.toString!="function"&&(ee=Oa.call(ee)),U[ee]=ge},r3(ru)),fC=s6(function(U,ee,ge){ee!=null&&typeof ee.toString!="function"&&(ee=Oa.call(ee)),Xi.call(U,ee)?U[ee].push(ge):U[ee]=[ge]},_i),p8=pa(Qm);function yu(U){return hl(U)?WA(U):Ok(U)}function fl(U){return hl(U)?WA(U,!0):Zx(U)}var G6=$1(function(U,ee,ge){_B(U,ee,ge)}),Gm=$1(function(U,ee,ge,De){_B(U,ee,ge,De)}),U6=Eg(function(U,ee){var ge={};if(U==null)return ge;var De=!1;ee=yo(ee,function(dt){return dt=wg(dt,U),De||(De=dt.length>1),dt}),KA(U,n4(U),ge),De&&(ge=qh(ge,7,nC));for(var We=ee.length;We--;)Hk(ge,ee[We]);return ge}),v8=Eg(function(U,ee){return U==null?{}:function(ge,De){return VQ(ge,De,function(We,dt){return d0(ge,dt)})}(U,ee)});function B4(U,ee){if(U==null)return{};var ge=yo(n4(U),function(De){return[De]});return ee=_i(ee),VQ(U,ge,function(De,We){return ee(De,We[0])})}var j6=e4(yu),H6=e4(fl);function yh(U){return U==null?[]:bt(U,yu(U))}var g0=Fm(function(U,ee,ge){return ee=ee.toLowerCase(),U+(ge?p0(ee):ee)});function p0(U){return av(fo(U).toLowerCase())}function t3(U){return(U=fo(U))&&U.replace(yt,Ce).replace(ba,"")}var Y6=Fm(function(U,ee,ge){return U+(ge?"-":"")+ee.toLowerCase()}),y8=Fm(function(U,ee,ge){return U+(ge?" ":"")+ee.toLowerCase()}),m8=Xk("toLowerCase"),J6=Fm(function(U,ee,ge){return U+(ge?"_":"")+ee.toLowerCase()}),W6=Fm(function(U,ee,ge){return U+(ge?" ":"")+av(ee)}),q6=Fm(function(U,ee,ge){return U+(ge?" ":"")+ee.toUpperCase()}),av=Xk("toUpperCase");function v0(U,ee,ge){return U=fo(U),(ee=ge?u:ee)===u?function(De){return as.test(De)}(U)?function(De){return De.match(wo)||[]}(U):function(De){return De.match($e)||[]}(U):U.match(ee)||[]}var k4=pa(function(U,ee){try{return du(U,u,ee)}catch(ge){return cC(ge)?ge:new qt(ge)}}),z6=Eg(function(U,ee){return ms(ee,function(ge){ge=ZA(ge),Tf(U,ge,b4(U[ge],U))}),U});function r3(U){return function(){return U}}var K6=$k(),I8=$k(!0);function ru(U){return U}function Q4(U){return qQ(typeof U=="function"?U:qh(U,1))}var b8=pa(function(U,ee){return function(ge){return Qm(ge,U,ee)}}),C8=pa(function(U,ee){return function(ge){return Qm(U,ge,ee)}});function x4(U,ee,ge){var De=yu(ee),We=zb(ee,De);ge!=null||Ko(ee)&&(We.length||!De.length)||(ge=ee,ee=U,U=this,We=zb(ee,yu(ee)));var dt=!(Ko(ge)&&"chain"in ge&&!ge.chain),Tt=$A(U);return ms(We,function(jt){var or=ee[jt];U[jt]=or,Tt&&(U.prototype[jt]=function(){var Fr=this.__chain__;if(dt||Fr){var Lr=U(this.__wrapped__);return(Lr.__actions__=jl(this.__actions__)).push({func:or,args:arguments,thisArg:U}),Lr.__chain__=Fr,Lr}return or.apply(U,il([this.value()],arguments))})}),U}function S4(){}var w8=TB(yo),V6=TB(r0),E8=TB(Qo);function _4(U){return oC(U)?Df(ZA(U)):function(ee){return function(ge){return V1(ge,ee)}}(U)}var D4=u6(),B8=u6(!0);function R4(){return[]}function ov(){return!1}var k8=tC(function(U,ee){return U+ee},0),Q8=NB("ceil"),Z6=tC(function(U,ee){return U/ee},1),x8=NB("floor"),sv,S8=tC(function(U,ee){return U*ee},1),_8=NB("round"),n3=tC(function(U,ee){return U-ee},0);return it.after=function(U,ee){if(typeof ee!="function")throw new ka(h);return U=va(U),function(){if(--U<1)return ee.apply(this,arguments)}},it.ary=qB,it.assign=iv,it.assignIn=hC,it.assignInWith=e3,it.assignWith=f8,it.at=A8,it.before=I4,it.bind=b4,it.bindAll=z6,it.bindKey=zB,it.castArray=function(){if(!arguments.length)return[];var U=arguments[0];return na(U)?U:[U]},it.chain=y4,it.chunk=function(U,ee,ge){ee=(ge?ll(U,ee,ge):ee===u)?1:vu(va(ee),0);var De=U==null?0:U.length;if(!De||ee<1)return[];for(var We=0,dt=0,Tt=Ue(W1(De/ee));We<De;)Tt[dt++]=ul(U,We,We+=ee);return Tt},it.compact=function(U){for(var ee=-1,ge=U==null?0:U.length,De=0,We=[];++ee<ge;){var dt=U[ee];dt&&(We[De++]=dt)}return We},it.concat=function(){var U=arguments.length;if(!U)return[];for(var ee=Ue(U-1),ge=arguments[0],De=U;De--;)ee[De-1]=arguments[De];return il(na(ge)?jl(ge):[ge],Ho(ee,1))},it.cond=function(U){var ee=U==null?0:U.length,ge=_i();return U=ee?yo(U,function(De){if(typeof De[1]!="function")throw new ka(h);return[ge(De[0]),De[1]]}):[],pa(function(De){for(var We=-1;++We<ee;){var dt=U[We];if(du(dt[0],this,De))return du(dt[1],this,De)}})},it.conforms=function(U){return function(ee){var ge=yu(ee);return function(De){return Yb(De,ee,ge)}}(qh(U,1))},it.constant=r3,it.countBy=o8,it.create=function(U,ee){var ge=km(U);return ee==null?ge:jQ(ge,ee)},it.curry=function U(ee,ge,De){var We=_u(ee,8,u,u,u,u,u,ge=De?u:ge);return We.placeholder=U.placeholder,We},it.curryRight=function U(ee,ge,De){var We=_u(ee,g,u,u,u,u,u,ge=De?u:ge);return We.placeholder=U.placeholder,We},it.debounce=C4,it.defaults=d8,it.defaultsDeep=g8,it.defer=x6,it.delay=c8,it.difference=d6,it.differenceBy=tv,it.differenceWith=$x,it.drop=function(U,ee,ge){var De=U==null?0:U.length;return De?ul(U,(ee=ge||ee===u?1:va(ee))<0?0:ee,De):[]},it.dropRight=function(U,ee,ge){var De=U==null?0:U.length;return De?ul(U,0,(ee=De-(ee=ge||ee===u?1:va(ee)))<0?0:ee):[]},it.dropRightWhile=function(U,ee){return U&&U.length?_m(U,_i(ee,3),!0,!0):[]},it.dropWhile=function(U,ee){return U&&U.length?_m(U,_i(ee,3),!0):[]},it.fill=function(U,ee,ge,De){var We=U==null?0:U.length;return We?(ge&&typeof ge!="number"&&ll(U,ee,ge)&&(ge=0,De=We),function(dt,Tt,jt,or){var Fr=dt.length;for((jt=va(jt))<0&&(jt=-jt>Fr?0:Fr+jt),(or=or===u||or>Fr?Fr:va(or))<0&&(or+=Fr),or=jt>or?0:O6(or);jt<or;)dt[jt++]=Tt;return dt}(U,ee,ge,De)):[]},it.filter=function(U,ee){return(na(U)?vc:HQ)(U,_i(ee,3))},it.flatMap=function(U,ee){return Ho(A0(U,ee),1)},it.flatMapDeep=function(U,ee){return Ho(A0(U,ee),I)},it.flatMapDepth=function(U,ee,ge){return ge=ge===u?1:va(ge),Ho(A0(U,ee),ge)},it.flatten=g6,it.flattenDeep=function(U){return U!=null&&U.length?Ho(U,I):[]},it.flattenDepth=function(U,ee){return U!=null&&U.length?Ho(U,ee=ee===u?1:va(ee)):[]},it.flip=function(U){return _u(U,512)},it.flow=K6,it.flowRight=I8,it.fromPairs=function(U){for(var ee=-1,ge=U==null?0:U.length,De={};++ee<ge;){var We=U[ee];De[We[0]]=We[1]}return De},it.functions=function(U){return U==null?[]:zb(U,yu(U))},it.functionsIn=function(U){return U==null?[]:zb(U,fl(U))},it.groupBy=WB,it.initial=function(U){return U!=null&&U.length?ul(U,0,-1):[]},it.intersection=e8,it.intersectionBy=f4,it.intersectionWith=t8,it.invert=P6,it.invertBy=fC,it.invokeMap=u8,it.iteratee=Q4,it.keyBy=B6,it.keys=yu,it.keysIn=fl,it.map=A0,it.mapKeys=function(U,ee){var ge={};return ee=_i(ee,3),zh(U,function(De,We,dt){Tf(ge,ee(De,We,dt),De)}),ge},it.mapValues=function(U,ee){var ge={};return ee=_i(ee,3),zh(U,function(De,We,dt){Tf(ge,We,ee(De,We,dt))}),ge},it.matches=function(U){return zQ(qh(U,1))},it.matchesProperty=function(U,ee){return KQ(U,qh(ee,1))},it.memoize=KB,it.merge=G6,it.mergeWith=Gm,it.method=b8,it.methodOf=C8,it.mixin=x4,it.negate=VB,it.nthArg=function(U){return U=va(U),pa(function(ee){return Uk(ee,U)})},it.omit=U6,it.omitBy=function(U,ee){return B4(U,VB(_i(ee)))},it.once=function(U){return I4(2,U)},it.orderBy=function(U,ee,ge,De){return U==null?[]:(na(ee)||(ee=ee==null?[]:[ee]),na(ge=De?u:ge)||(ge=ge==null?[]:[ge]),xm(U,ee,ge))},it.over=w8,it.overArgs=S6,it.overEvery=V6,it.overSome=E8,it.partial=w4,it.partialRight=_6,it.partition=k6,it.pick=v8,it.pickBy=B4,it.property=_4,it.propertyOf=function(U){return function(ee){return U==null?u:V1(U,ee)}},it.pull=v6,it.pullAll=A4,it.pullAllBy=function(U,ee,ge){return U&&U.length&&ee&&ee.length?jk(U,ee,_i(ge,2)):U},it.pullAllWith=function(U,ee,ge){return U&&U.length&&ee&&ee.length?jk(U,ee,u,ge):U},it.pullAt=r8,it.range=D4,it.rangeRight=B8,it.rearg=D6,it.reject=function(U,ee){return(na(U)?vc:HQ)(U,VB(_i(ee,3)))},it.remove=function(U,ee){var ge=[];if(!U||!U.length)return ge;var De=-1,We=[],dt=U.length;for(ee=_i(ee,3);++De<dt;){var Tt=U[De];ee(Tt,De,U)&&(ge.push(Tt),We.push(De))}return ZQ(U,We),ge},it.rest=function(U,ee){if(typeof U!="function")throw new ka(h);return pa(U,ee=ee===u?ee:va(ee))},it.reverse=d4,it.sampleSize=function(U,ee,ge){return ee=(ge?ll(U,ee,ge):ee===u)?1:va(ee),(na(U)?Vx:DB)(U,ee)},it.set=function(U,ee,ge){return U==null?U:Xb(U,ee,ge)},it.setWith=function(U,ee,ge,De){return De=typeof De=="function"?De:u,U==null?U:Xb(U,ee,ge,De)},it.shuffle=function(U){return(na(U)?qA:e6)(U)},it.slice=function(U,ee,ge){var De=U==null?0:U.length;return De?(ge&&typeof ge!="number"&&ll(U,ee,ge)?(ee=0,ge=De):(ee=ee==null?0:va(ee),ge=ge===u?De:va(ge)),ul(U,ee,ge)):[]},it.sortBy=Q6,it.sortedUniq=function(U){return U&&U.length?$b(U):[]},it.sortedUniqBy=function(U,ee){return U&&U.length?$b(U,_i(ee,2)):[]},it.split=function(U,ee,ge){return ge&&typeof ge!="number"&&ll(U,ee,ge)&&(ee=ge=u),(ge=ge===u?S:ge>>>0)?(U=fo(U))&&(typeof ee=="string"||ee!=null&&!XB(ee))&&!(ee=Vu(ee))&&Nt(U)?h0(hn(U),0,ge):U.split(ee,ge):[]},it.spread=function(U,ee){if(typeof U!="function")throw new ka(h);return ee=ee==null?0:vu(va(ee),0),pa(function(ge){var De=ge[ee],We=h0(ge,0,ee);return De&&il(We,De),du(U,this,We)})},it.tail=function(U){var ee=U==null?0:U.length;return ee?ul(U,1,ee):[]},it.take=function(U,ee,ge){return U&&U.length?ul(U,0,(ee=ge||ee===u?1:va(ee))<0?0:ee):[]},it.takeRight=function(U,ee,ge){var De=U==null?0:U.length;return De?ul(U,(ee=De-(ee=ge||ee===u?1:va(ee)))<0?0:ee,De):[]},it.takeRightWhile=function(U,ee){return U&&U.length?_m(U,_i(ee,3),!1,!0):[]},it.takeWhile=function(U,ee){return U&&U.length?_m(U,_i(ee,3)):[]},it.tap=function(U,ee){return ee(U),U},it.throttle=function(U,ee,ge){var De=!0,We=!0;if(typeof U!="function")throw new ka(h);return Ko(ge)&&(De="leading"in ge?!!ge.leading:De,We="trailing"in ge?!!ge.trailing:We),C4(U,ee,{leading:De,maxWait:ee,trailing:We})},it.thru=XA,it.toArray=N6,it.toPairs=j6,it.toPairsIn=H6,it.toPath=function(U){return na(U)?yo(U,ZA):ph(U)?[U]:jl(HB(fo(U)))},it.toPlainObject=$B,it.transform=function(U,ee,ge){var De=na(U),We=De||kg(U)||Pf(U);if(ee=_i(ee,4),ge==null){var dt=U&&U.constructor;ge=We?De?new dt:[]:Ko(U)&&$A(dt)?km(n0(U)):{}}return(We?ms:zh)(U,function(Tt,jt,or){return ee(ge,Tt,jt,or)}),ge},it.unary=function(U){return qB(U,1)},it.union=y6,it.unionBy=m6,it.unionWith=Du,it.uniq=function(U){return U&&U.length?zA(U):[]},it.uniqBy=function(U,ee){return U&&U.length?zA(U,_i(ee,2)):[]},it.uniqWith=function(U,ee){return ee=typeof ee=="function"?ee:u,U&&U.length?zA(U,u,ee):[]},it.unset=function(U,ee){return U==null||Hk(U,ee)},it.unzip=g4,it.unzipWith=I6,it.update=function(U,ee,ge){return U==null?U:n6(U,ee,Jk(ge))},it.updateWith=function(U,ee,ge,De){return De=typeof De=="function"?De:u,U==null?U:n6(U,ee,Jk(ge),De)},it.values=yh,it.valuesIn=function(U){return U==null?[]:bt(U,fl(U))},it.without=p4,it.words=v0,it.wrap=function(U,ee){return w4(Jk(ee),U)},it.xor=n8,it.xorBy=v4,it.xorWith=b6,it.zip=i8,it.zipObject=function(U,ee){return i6(U||[],ee||[],K1)},it.zipObjectDeep=function(U,ee){return i6(U||[],ee||[],Xb)},it.zipWith=C6,it.entries=j6,it.entriesIn=H6,it.extend=hC,it.extendWith=e3,x4(it,it),it.add=k8,it.attempt=k4,it.camelCase=g0,it.capitalize=p0,it.ceil=Q8,it.clamp=function(U,ee,ge){return ge===u&&(ge=ee,ee=u),ge!==u&&(ge=(ge=vh(ge))==ge?ge:0),ee!==u&&(ee=(ee=vh(ee))==ee?ee:0),s0(vh(U),ee,ge)},it.clone=function(U){return qh(U,4)},it.cloneDeep=function(U){return qh(U,5)},it.cloneDeepWith=function(U,ee){return qh(U,5,ee=typeof ee=="function"?ee:u)},it.cloneWith=function(U,ee){return qh(U,4,ee=typeof ee=="function"?ee:u)},it.conformsTo=function(U,ee){return ee==null||Yb(U,ee,yu(ee))},it.deburr=t3,it.defaultTo=function(U,ee){return U==null||U!=U?ee:U},it.divide=Z6,it.endsWith=function(U,ee,ge){U=fo(U),ee=Vu(ee);var De=U.length,We=ge=ge===u?De:s0(va(ge),0,De);return(ge-=ee.length)>=0&&U.slice(ge,We)==ee},it.eq=Of,it.escape=function(U){return(U=fo(U))&&je.test(U)?U.replace(Be,Oe):U},it.escapeRegExp=function(U){return(U=fo(U))&&pt.test(U)?U.replace(qe,"\\$&"):U},it.every=function(U,ee,ge){var De=na(U)?r0:Cg;return ge&&ll(U,ee,ge)&&(ee=u),De(U,_i(ee,3))},it.find=s8,it.findIndex=h4,it.findKey=function(U,ee){return vg(U,_i(ee,3),zh)},it.findLast=w6,it.findLastIndex=JB,it.findLastKey=function(U,ee){return vg(U,_i(ee,3),Tk)},it.floor=x8,it.forEach=E6,it.forEachRight=m4,it.forIn=function(U,ee){return U==null?U:qb(U,_i(ee,3),fl)},it.forInRight=function(U,ee){return U==null?U:Fk(U,_i(ee,3),fl)},it.forOwn=function(U,ee){return U&&zh(U,_i(ee,3))},it.forOwnRight=function(U,ee){return U&&Tk(U,_i(ee,3))},it.get=E4,it.gt=R6,it.gte=M6,it.has=function(U,ee){return U!=null&&i4(U,ee,YQ)},it.hasIn=d0,it.head=p6,it.identity=ru,it.includes=function(U,ee,ge,De){U=hl(U)?U:yh(U),ge=ge&&!De?va(ge):0;var We=U.length;return ge<0&&(ge=vu(We+ge,0)),Pm(U)?ge<=We&&U.indexOf(ee,ge)>-1:!!We&&pu(U,ee,ge)>-1},it.indexOf=function(U,ee,ge){var De=U==null?0:U.length;if(!De)return-1;var We=ge==null?0:va(ge);return We<0&&(We=vu(De+We,0)),pu(U,ee,We)},it.inRange=function(U,ee,ge){return ee=ed(ee),ge===u?(ge=ee,ee=0):ge=ed(ge),function(De,We,dt){return De>=yc(We,dt)&&De<vu(We,dt)}(U=vh(U),ee,ge)},it.invoke=p8,it.isArguments=rv,it.isArray=na,it.isArrayBuffer=nv,it.isArrayLike=hl,it.isArrayLikeObject=Ns,it.isBoolean=function(U){return U===!0||U===!1||ho(U)&&Lc(U)==F},it.isBuffer=kg,it.isDate=F6,it.isElement=function(U){return ho(U)&&U.nodeType===1&&!Qg(U)},it.isEmpty=function(U){if(U==null)return!0;if(hl(U)&&(na(U)||typeof U=="string"||typeof U.splice=="function"||kg(U)||Pf(U)||rv(U)))return!U.length;var ee=zo(U);if(ee==te||ee==we)return!U.size;if(ev(U))return!Ok(U).length;for(var ge in U)if(Xi.call(U,ge))return!1;return!0},it.isEqual=function(U,ee){return Kb(U,ee)},it.isEqualWith=function(U,ee,ge){var De=(ge=typeof ge=="function"?ge:u)?ge(U,ee):u;return De===u?Kb(U,ee,u,ge):!!De},it.isError=cC,it.isFinite=function(U){return typeof U=="number"&&LQ(U)},it.isFunction=$A,it.isInteger=T6,it.isLength=ZB,it.isMap=L6,it.isMatch=function(U,ee){return U===ee||Vb(U,ee,gh(ee))},it.isMatchWith=function(U,ee,ge){return ge=typeof ge=="function"?ge:u,Vb(U,ee,gh(ee),ge)},it.isNaN=function(U){return Om(U)&&U!=+U},it.isNative=function(U){if(o4(U))throw new qt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Zb(U)},it.isNil=function(U){return U==null},it.isNull=function(U){return U===null},it.isNumber=Om,it.isObject=Ko,it.isObjectLike=ho,it.isPlainObject=Qg,it.isRegExp=XB,it.isSafeInteger=function(U){return T6(U)&&U>=-9007199254740991&&U<=E},it.isSet=lC,it.isString=Pm,it.isSymbol=ph,it.isTypedArray=Pf,it.isUndefined=function(U){return U===u},it.isWeakMap=function(U){return ho(U)&&zo(U)==j},it.isWeakSet=function(U){return ho(U)&&Lc(U)=="[object WeakSet]"},it.join=function(U,ee){return U==null?"":NQ.call(U,ee)},it.kebabCase=Y6,it.last=Kh,it.lastIndexOf=function(U,ee,ge){var De=U==null?0:U.length;if(!De)return-1;var We=De;return ge!==u&&(We=(We=va(ge))<0?vu(De+We,0):yc(We,De-1)),ee==ee?function(dt,Tt,jt){for(var or=jt+1;or--;)if(dt[or]===Tt)return or;return or}(U,ee,We):gu(U,mg,We,!0)},it.lowerCase=y8,it.lowerFirst=m8,it.lt=l8,it.lte=h8,it.max=function(U){return U&&U.length?Wb(U,ru,Nk):u},it.maxBy=function(U,ee){return U&&U.length?Wb(U,_i(ee,2),Nk):u},it.mean=function(U){return fh(U,ru)},it.meanBy=function(U,ee){return fh(U,_i(ee,2))},it.min=function(U){return U&&U.length?Wb(U,ru,Pk):u},it.minBy=function(U,ee){return U&&U.length?Wb(U,_i(ee,2),Pk):u},it.stubArray=R4,it.stubFalse=ov,it.stubObject=function(){return{}},it.stubString=function(){return""},it.stubTrue=function(){return!0},it.multiply=S8,it.nth=function(U,ee){return U&&U.length?Uk(U,va(ee)):u},it.noConflict=function(){return os._===this&&(os._=eu),this},it.noop=S4,it.now=Nm,it.pad=function(U,ee,ge){U=fo(U);var De=(ee=va(ee))?Xr(U):0;if(!ee||De>=ee)return U;var We=(ee-De)/2;return rC(EB(We),ge)+U+rC(W1(We),ge)},it.padEnd=function(U,ee,ge){U=fo(U);var De=(ee=va(ee))?Xr(U):0;return ee&&De<ee?U+rC(ee-De,ge):U},it.padStart=function(U,ee,ge){U=fo(U);var De=(ee=va(ee))?Xr(U):0;return ee&&De<ee?rC(ee-De,ge)+U:U},it.parseInt=function(U,ee,ge){return ge||ee==null?ee=0:ee&&(ee=+ee),Gb(fo(U).replace(Lt,""),ee||0)},it.random=function(U,ee,ge){if(ge&&typeof ge!="boolean"&&ll(U,ee,ge)&&(ee=ge=u),ge===u&&(typeof ee=="boolean"?(ge=ee,ee=u):typeof U=="boolean"&&(ge=U,U=u)),U===u&&ee===u?(U=0,ee=1):(U=ed(U),ee===u?(ee=U,U=0):ee=ed(ee)),U>ee){var De=U;U=ee,ee=De}if(ge||U%1||ee%1){var We=bg();return yc(U+We*(ee-U+Fs("1e-"+((We+"").length-1))),ee)}return Sm(U,ee)},it.reduce=function(U,ee,ge){var De=na(U)?HA:Ah,We=arguments.length<3;return De(U,_i(ee,4),ge,We,Lf)},it.reduceRight=function(U,ee,ge){var De=na(U)?Ts:Ah,We=arguments.length<3;return De(U,_i(ee,4),ge,We,c0)},it.repeat=function(U,ee,ge){return ee=(ge?ll(U,ee,ge):ee===u)?1:va(ee),dh(fo(U),ee)},it.replace=function(){var U=arguments,ee=fo(U[0]);return U.length<3?ee:ee.replace(U[1],U[2])},it.result=function(U,ee,ge){var De=-1,We=(ee=wg(ee,U)).length;for(We||(We=1,U=u);++De<We;){var dt=U==null?u:U[ZA(ee[De])];dt===u&&(De=We,dt=ge),U=$A(dt)?dt.call(U):dt}return U},it.round=_8,it.runInContext=Jt,it.sample=function(U){return(na(U)?UQ:XQ)(U)},it.size=function(U){if(U==null)return 0;if(hl(U))return Pm(U)?Xr(U):U.length;var ee=zo(U);return ee==te||ee==we?U.size:Ok(U).length},it.snakeCase=J6,it.some=function(U,ee,ge){var De=na(U)?Qo:t6;return ge&&ll(U,ee,ge)&&(ee=u),De(U,_i(ee,3))},it.sortedIndex=function(U,ee){return RB(U,ee)},it.sortedIndexBy=function(U,ee,ge){return l0(U,ee,_i(ge,2))},it.sortedIndexOf=function(U,ee){var ge=U==null?0:U.length;if(ge){var De=RB(U,ee);if(De<ge&&Of(U[De],ee))return De}return-1},it.sortedLastIndex=function(U,ee){return RB(U,ee,!0)},it.sortedLastIndexBy=function(U,ee,ge){return l0(U,ee,_i(ge,2),!0)},it.sortedLastIndexOf=function(U,ee){if(U!=null&&U.length){var ge=RB(U,ee,!0)-1;if(Of(U[ge],ee))return ge}return-1},it.startCase=W6,it.startsWith=function(U,ee,ge){return U=fo(U),ge=ge==null?0:s0(va(ge),0,U.length),ee=Vu(ee),U.slice(ge,ge+ee.length)==ee},it.subtract=n3,it.sum=function(U){return U&&U.length?Jh(U,ru):0},it.sumBy=function(U,ee){return U&&U.length?Jh(U,_i(ee,2)):0},it.template=function(U,ee,ge){var De=it.templateSettings;ge&&ll(U,ee,ge)&&(ee=u),U=fo(U),ee=e3({},ee,De,t4);var We,dt,Tt=e3({},ee.imports,De.imports,t4),jt=yu(Tt),or=bt(Tt,jt),Fr=0,Lr=ee.interpolate||Mt,cn="__p += '",qn=Zn((ee.escape||Mt).source+"|"+Lr.source+"|"+(Lr===Ke?He:Mt).source+"|"+(ee.evaluate||Mt).source+"|$","g"),ri="//# sourceURL="+(Xi.call(ee,"sourceURL")?(ee.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++lo+"]")+`
  76. `;U.replace(qn,function(yn,wi,xn,oa,Hi,io){return xn||(xn=oa),cn+=U.slice(Fr,io).replace(cr,gt),wi&&(We=!0,cn+=`' +
  77. __e(`+wi+`) +
  78. '`),Hi&&(dt=!0,cn+=`';
  79. `+Hi+`;
  80. __p += '`),xn&&(cn+=`' +
  81. ((__t = (`+xn+`)) == null ? '' : __t) +
  82. '`),Fr=io+yn.length,yn}),cn+=`';
  83. `;var yi=Xi.call(ee,"variable")&&ee.variable;if(yi){if(nt.test(yi))throw new qt("Invalid `variable` option passed into `_.template`")}else cn=`with (obj) {
  84. `+cn+`
  85. }
  86. `;cn=(dt?cn.replace(rt,""):cn).replace(et,"$1").replace(st,"$1;"),cn="function("+(yi||"obj")+`) {
  87. `+(yi?"":`obj || (obj = {});
  88. `)+"var __t, __p = ''"+(We?", __e = _.escape":"")+(dt?`, __j = Array.prototype.join;
  89. function print() { __p += __j.call(arguments, '') }
  90. `:`;
  91. `)+cn+`return __p
  92. }`;var Jr=k4(function(){return Cr(jt,ri+"return "+cn).apply(u,or)});if(Jr.source=cn,cC(Jr))throw Jr;return Jr},it.times=function(U,ee){if((U=va(U))<1||U>E)return[];var ge=S,De=yc(U,S);ee=_i(ee),U-=S;for(var We=al(De,ee);++ge<U;)ee(ge);return We},it.toFinite=ed,it.toInteger=va,it.toLength=O6,it.toLower=function(U){return fo(U).toLowerCase()},it.toNumber=vh,it.toSafeInteger=function(U){return U?s0(va(U),-9007199254740991,E):U===0?U:0},it.toString=fo,it.toUpper=function(U){return fo(U).toUpperCase()},it.trim=function(U,ee,ge){if((U=fo(U))&&(ge||ee===u))return Mf(U);if(!U||!(ee=Vu(ee)))return U;var De=hn(U),We=hn(ee);return h0(De,_r(De,We),ce(De,We)+1).join("")},it.trimEnd=function(U,ee,ge){if((U=fo(U))&&(ge||ee===u))return U.slice(0,Pn(U)+1);if(!U||!(ee=Vu(ee)))return U;var De=hn(U);return h0(De,0,ce(De,hn(ee))+1).join("")},it.trimStart=function(U,ee,ge){if((U=fo(U))&&(ge||ee===u))return U.replace(Lt,"");if(!U||!(ee=Vu(ee)))return U;var De=hn(U);return h0(De,_r(De,hn(ee))).join("")},it.truncate=function(U,ee){var ge=30,De="...";if(Ko(ee)){var We="separator"in ee?ee.separator:We;ge="length"in ee?va(ee.length):ge,De="omission"in ee?Vu(ee.omission):De}var dt=(U=fo(U)).length;if(Nt(U)){var Tt=hn(U);dt=Tt.length}if(ge>=dt)return U;var jt=ge-Xr(De);if(jt<1)return De;var or=Tt?h0(Tt,0,jt).join(""):U.slice(0,jt);if(We===u)return or+De;if(Tt&&(jt+=or.length-jt),XB(We)){if(U.slice(jt).search(We)){var Fr,Lr=or;for(We.global||(We=Zn(We.source,fo(Je.exec(We))+"g")),We.lastIndex=0;Fr=We.exec(Lr);)var cn=Fr.index;or=or.slice(0,cn===u?jt:cn)}}else if(U.indexOf(Vu(We),jt)!=jt){var qn=or.lastIndexOf(We);qn>-1&&(or=or.slice(0,qn))}return or+De},it.unescape=function(U){return(U=fo(U))&&Te.test(U)?U.replace(Ge,Xn):U},it.uniqueId=function(U){var ee=++ha;return fo(U)+ee},it.upperCase=q6,it.upperFirst=av,it.each=E6,it.eachRight=m4,it.first=p6,x4(it,(sv={},zh(it,function(U,ee){Xi.call(it.prototype,ee)||(sv[ee]=U)}),sv),{chain:!1}),it.VERSION="4.17.21",ms(["bind","bindKey","curry","curryRight","partial","partialRight"],function(U){it[U].placeholder=it}),ms(["drop","take"],function(U,ee){Ga.prototype[U]=function(ge){ge=ge===u?1:vu(va(ge),0);var De=this.__filtered__&&!ee?new Ga(this):this.clone();return De.__filtered__?De.__takeCount__=yc(ge,De.__takeCount__):De.__views__.push({size:yc(ge,S),type:U+(De.__dir__<0?"Right":"")}),De},Ga.prototype[U+"Right"]=function(ge){return this.reverse()[U](ge).reverse()}}),ms(["filter","map","takeWhile"],function(U,ee){var ge=ee+1,De=ge==1||ge==3;Ga.prototype[U]=function(We){var dt=this.clone();return dt.__iteratees__.push({iteratee:_i(We,3),type:ge}),dt.__filtered__=dt.__filtered__||De,dt}}),ms(["head","last"],function(U,ee){var ge="take"+(ee?"Right":"");Ga.prototype[U]=function(){return this[ge](1).value()[0]}}),ms(["initial","tail"],function(U,ee){var ge="drop"+(ee?"":"Right");Ga.prototype[U]=function(){return this.__filtered__?new Ga(this):this[ge](1)}}),Ga.prototype.compact=function(){return this.filter(ru)},Ga.prototype.find=function(U){return this.filter(U).head()},Ga.prototype.findLast=function(U){return this.reverse().find(U)},Ga.prototype.invokeMap=pa(function(U,ee){return typeof U=="function"?new Ga(this):this.map(function(ge){return Qm(ge,U,ee)})}),Ga.prototype.reject=function(U){return this.filter(VB(_i(U)))},Ga.prototype.slice=function(U,ee){U=va(U);var ge=this;return ge.__filtered__&&(U>0||ee<0)?new Ga(ge):(U<0?ge=ge.takeRight(-U):U&&(ge=ge.drop(U)),ee!==u&&(ge=(ee=va(ee))<0?ge.dropRight(-ee):ge.take(ee-U)),ge)},Ga.prototype.takeRightWhile=function(U){return this.reverse().takeWhile(U).reverse()},Ga.prototype.toArray=function(){return this.take(S)},zh(Ga.prototype,function(U,ee){var ge=/^(?:filter|find|map|reject)|While$/.test(ee),De=/^(?:head|last)$/.test(ee),We=it[De?"take"+(ee=="last"?"Right":""):ee],dt=De||/^find/.test(ee);We&&(it.prototype[ee]=function(){var Tt=this.__wrapped__,jt=De?[1]:arguments,or=Tt instanceof Ga,Fr=jt[0],Lr=or||na(Tt),cn=function(wi){var xn=We.apply(it,il([wi],jt));return De&&qn?xn[0]:xn};Lr&&ge&&typeof Fr=="function"&&Fr.length!=1&&(or=Lr=!1);var qn=this.__chain__,ri=!!this.__actions__.length,yi=dt&&!qn,Jr=or&&!ri;if(!dt&&Lr){Tt=Jr?Tt:new Ga(this);var yn=U.apply(Tt,jt);return yn.__actions__.push({func:XA,args:[cn],thisArg:u}),new mc(yn,qn)}return yi&&Jr?U.apply(this,jt):(yn=this.thru(cn),yi?De?yn.value()[0]:yn.value():yn)})}),ms(["pop","push","shift","sort","splice","unshift"],function(U){var ee=To[U],ge=/^(?:push|sort|unshift)$/.test(U)?"tap":"thru",De=/^(?:pop|shift)$/.test(U);it.prototype[U]=function(){var We=arguments;if(De&&!this.__chain__){var dt=this.value();return ee.apply(na(dt)?dt:[],We)}return this[ge](function(Tt){return ee.apply(na(Tt)?Tt:[],We)})}}),zh(Ga.prototype,function(U,ee){var ge=it[ee];if(ge){var De=ge.name+"";Xi.call(YA,De)||(YA[De]=[]),YA[De].push({name:ee,func:ge})}}),YA[FB(u,2).name]=[{name:"wrapper",func:u}],Ga.prototype.clone=function(){var U=new Ga(this.__wrapped__);return U.__actions__=jl(this.__actions__),U.__dir__=this.__dir__,U.__filtered__=this.__filtered__,U.__iteratees__=jl(this.__iteratees__),U.__takeCount__=this.__takeCount__,U.__views__=jl(this.__views__),U},Ga.prototype.reverse=function(){if(this.__filtered__){var U=new Ga(this);U.__dir__=-1,U.__filtered__=!0}else(U=this.clone()).__dir__*=-1;return U},Ga.prototype.value=function(){var U=this.__wrapped__.value(),ee=this.__dir__,ge=na(U),De=ee<0,We=ge?U.length:0,dt=function(io,Ai,Di){for(var mu=-1,Os=Di.length;++mu<Os;){var Al=Di[mu],Yo=Al.size;switch(Al.type){case"drop":io+=Yo;break;case"dropRight":Ai-=Yo;break;case"take":Ai=yc(Ai,io+Yo);break;case"takeRight":io=vu(io,Ai-Yo)}}return{start:io,end:Ai}}(0,We,this.__views__),Tt=dt.start,jt=dt.end,or=jt-Tt,Fr=De?jt:Tt-1,Lr=this.__iteratees__,cn=Lr.length,qn=0,ri=yc(or,this.__takeCount__);if(!ge||!De&&We==or&&ri==or)return Yk(U,this.__actions__);var yi=[];e:for(;or--&&qn<ri;){for(var Jr=-1,yn=U[Fr+=ee];++Jr<cn;){var wi=Lr[Jr],xn=wi.iteratee,oa=wi.type,Hi=xn(yn);if(oa==2)yn=Hi;else if(!Hi){if(oa==1)continue e;break e}}yi[qn++]=yn}return yi},it.prototype.at=a8,it.prototype.chain=function(){return y4(this)},it.prototype.commit=function(){return new mc(this.value(),this.__chain__)},it.prototype.next=function(){this.__values__===u&&(this.__values__=N6(this.value()));var U=this.__index__>=this.__values__.length;return{done:U,value:U?u:this.__values__[this.__index__++]}},it.prototype.plant=function(U){for(var ee,ge=this;ge instanceof kB;){var De=YB(ge);De.__index__=0,De.__values__=u,ee?We.__wrapped__=De:ee=De;var We=De;ge=ge.__wrapped__}return We.__wrapped__=U,ee},it.prototype.reverse=function(){var U=this.__wrapped__;if(U instanceof Ga){var ee=U;return this.__actions__.length&&(ee=new Ga(this)),(ee=ee.reverse()).__actions__.push({func:XA,args:[d4],thisArg:u}),new mc(ee,this.__chain__)}return this.thru(d4)},it.prototype.toJSON=it.prototype.valueOf=it.prototype.value=function(){return Yk(this.__wrapped__,this.__actions__)},it.prototype.first=it.prototype.head,Ig&&(it.prototype[Ig]=function(){return this}),it}();ys?((ys.exports=ti)._=ti,Yh._=ti):os._=ti}).call(Ui)})(q2,q2.exports);var ip=q2.exports;function bw(a){for(var c=(a=a.replace("#","")).match(/../g),u=0;u<3;u++)c[u]=parseInt(c[u],16);return c}function Cw(a,c,u){for(var h=[a.toString(16),c.toString(16),u.toString(16)],d=0;d<3;d++)h[d].length==1&&(h[d]="0"+h[d]);return"#"+h.join("")}var z2={exports:{}};(function(a){a.exports=function(){var c=1e3,u=6e4,h=36e5,d="millisecond",p="second",g="minute",A="hour",m="day",y="week",b="month",I="quarter",E="year",B="date",S="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,D=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Z){var ne=["th","st","nd","rd"],j=Z%100;return"["+Z+(ne[(j-20)%10]||ne[j]||ne[0])+"]"}},F=function(Z,ne,j){var J=String(Z);return!J||J.length>=ne?Z:""+Array(ne+1-J.length).join(j)+Z},N={s:F,z:function(Z){var ne=-Z.utcOffset(),j=Math.abs(ne),J=Math.floor(j/60),q=j%60;return(ne<=0?"+":"-")+F(J,2,"0")+":"+F(q,2,"0")},m:function Z(ne,j){if(ne.date()<j.date())return-Z(j,ne);var J=12*(j.year()-ne.year())+(j.month()-ne.month()),q=ne.clone().add(J,b),z=j-q<0,X=ne.clone().add(J+(z?-1:1),b);return+(-(J+(j-q)/(z?q-X:X-q))||0)},a:function(Z){return Z<0?Math.ceil(Z)||0:Math.floor(Z)},p:function(Z){return{M:b,y:E,w:y,d:m,D:B,h:A,m:g,s:p,ms:d,Q:I}[Z]||String(Z||"").toLowerCase().replace(/s$/,"")},u:function(Z){return Z===void 0}},H="en",W={};W[H]=T;var V="$isDayjsObject",te=function(Z){return Z instanceof Ae||!(!Z||!Z[V])},ue=function Z(ne,j,J){var q;if(!ne)return H;if(typeof ne=="string"){var z=ne.toLowerCase();W[z]&&(q=z),j&&(W[z]=j,q=z);var X=ne.split("-");if(!q&&X.length>1)return Z(X[0])}else{var se=ne.name;W[se]=ne,q=se}return!J&&q&&(H=q),q||!J&&H},fe=function(Z,ne){if(te(Z))return Z.clone();var j=typeof ne=="object"?ne:{};return j.date=Z,j.args=arguments,new Ae(j)},de=N;de.l=ue,de.i=te,de.w=function(Z,ne){return fe(Z,{locale:ne.$L,utc:ne.$u,x:ne.$x,$offset:ne.$offset})};var Ae=function(){function Z(j){this.$L=ue(j.locale,null,!0),this.parse(j),this.$x=this.$x||j.x||{},this[V]=!0}var ne=Z.prototype;return ne.parse=function(j){this.$d=function(J){var q=J.date,z=J.utc;if(q===null)return new Date(NaN);if(de.u(q))return new Date;if(q instanceof Date)return new Date(q);if(typeof q=="string"&&!/Z$/i.test(q)){var X=q.match(_);if(X){var se=X[2]-1||0,oe=(X[7]||"0").substring(0,3);return z?new Date(Date.UTC(X[1],se,X[3]||1,X[4]||0,X[5]||0,X[6]||0,oe)):new Date(X[1],se,X[3]||1,X[4]||0,X[5]||0,X[6]||0,oe)}}return new Date(q)}(j),this.init()},ne.init=function(){var j=this.$d;this.$y=j.getFullYear(),this.$M=j.getMonth(),this.$D=j.getDate(),this.$W=j.getDay(),this.$H=j.getHours(),this.$m=j.getMinutes(),this.$s=j.getSeconds(),this.$ms=j.getMilliseconds()},ne.$utils=function(){return de},ne.isValid=function(){return this.$d.toString()!==S},ne.isSame=function(j,J){var q=fe(j);return this.startOf(J)<=q&&q<=this.endOf(J)},ne.isAfter=function(j,J){return fe(j)<this.startOf(J)},ne.isBefore=function(j,J){return this.endOf(J)<fe(j)},ne.$g=function(j,J,q){return de.u(j)?this[J]:this.set(q,j)},ne.unix=function(){return Math.floor(this.valueOf()/1e3)},ne.valueOf=function(){return this.$d.getTime()},ne.startOf=function(j,J){var q=this,z=!!de.u(J)||J,X=de.p(j),se=function(et,st){var Ge=de.w(q.$u?Date.UTC(q.$y,st,et):new Date(q.$y,st,et),q);return z?Ge:Ge.endOf(m)},oe=function(et,st){return de.w(q.toDate()[et].apply(q.toDate("s"),(z?[0,0,0,0]:[23,59,59,999]).slice(st)),q)},ye=this.$W,ae=this.$M,me=this.$D,Fe="set"+(this.$u?"UTC":"");switch(X){case E:return z?se(1,0):se(31,11);case b:return z?se(1,ae):se(0,ae+1);case y:var _e=this.$locale().weekStart||0,rt=(ye<_e?ye+7:ye)-_e;return se(z?me-rt:me+(6-rt),ae);case m:case B:return oe(Fe+"Hours",0);case A:return oe(Fe+"Minutes",1);case g:return oe(Fe+"Seconds",2);case p:return oe(Fe+"Milliseconds",3);default:return this.clone()}},ne.endOf=function(j){return this.startOf(j,!1)},ne.$set=function(j,J){var q,z=de.p(j),X="set"+(this.$u?"UTC":""),se=(q={},q[m]=X+"Date",q[B]=X+"Date",q[b]=X+"Month",q[E]=X+"FullYear",q[A]=X+"Hours",q[g]=X+"Minutes",q[p]=X+"Seconds",q[d]=X+"Milliseconds",q)[z],oe=z===m?this.$D+(J-this.$W):J;if(z===b||z===E){var ye=this.clone().set(B,1);ye.$d[se](oe),ye.init(),this.$d=ye.set(B,Math.min(this.$D,ye.daysInMonth())).$d}else se&&this.$d[se](oe);return this.init(),this},ne.set=function(j,J){return this.clone().$set(j,J)},ne.get=function(j){return this[de.p(j)]()},ne.add=function(j,J){var q,z=this;j=Number(j);var X=de.p(J),se=function(ae){var me=fe(z);return de.w(me.date(me.date()+Math.round(ae*j)),z)};if(X===b)return this.set(b,this.$M+j);if(X===E)return this.set(E,this.$y+j);if(X===m)return se(1);if(X===y)return se(7);var oe=(q={},q[g]=u,q[A]=h,q[p]=c,q)[X]||1,ye=this.$d.getTime()+j*oe;return de.w(ye,this)},ne.subtract=function(j,J){return this.add(-1*j,J)},ne.format=function(j){var J=this,q=this.$locale();if(!this.isValid())return q.invalidDate||S;var z=j||"YYYY-MM-DDTHH:mm:ssZ",X=de.z(this),se=this.$H,oe=this.$m,ye=this.$M,ae=q.weekdays,me=q.months,Fe=q.meridiem,_e=function(st,Ge,Be,Te){return st&&(st[Ge]||st(J,z))||Be[Ge].slice(0,Te)},rt=function(st){return de.s(se%12||12,st,"0")},et=Fe||function(st,Ge,Be){var Te=st<12?"AM":"PM";return Be?Te.toLowerCase():Te};return z.replace(D,function(st,Ge){return Ge||function(Be){switch(Be){case"YY":return String(J.$y).slice(-2);case"YYYY":return de.s(J.$y,4,"0");case"M":return ye+1;case"MM":return de.s(ye+1,2,"0");case"MMM":return _e(q.monthsShort,ye,me,3);case"MMMM":return _e(me,ye);case"D":return J.$D;case"DD":return de.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return _e(q.weekdaysMin,J.$W,ae,2);case"ddd":return _e(q.weekdaysShort,J.$W,ae,3);case"dddd":return ae[J.$W];case"H":return String(se);case"HH":return de.s(se,2,"0");case"h":return rt(1);case"hh":return rt(2);case"a":return et(se,oe,!0);case"A":return et(se,oe,!1);case"m":return String(oe);case"mm":return de.s(oe,2,"0");case"s":return String(J.$s);case"ss":return de.s(J.$s,2,"0");case"SSS":return de.s(J.$ms,3,"0");case"Z":return X}return null}(st)||X.replace(":","")})},ne.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ne.diff=function(j,J,q){var z,X=this,se=de.p(J),oe=fe(j),ye=(oe.utcOffset()-this.utcOffset())*u,ae=this-oe,me=function(){return de.m(X,oe)};switch(se){case E:z=me()/12;break;case b:z=me();break;case I:z=me()/3;break;case y:z=(ae-ye)/6048e5;break;case m:z=(ae-ye)/864e5;break;case A:z=ae/h;break;case g:z=ae/u;break;case p:z=ae/c;break;default:z=ae}return q?z:de.a(z)},ne.daysInMonth=function(){return this.endOf(b).$D},ne.$locale=function(){return W[this.$L]},ne.locale=function(j,J){if(!j)return this.$L;var q=this.clone(),z=ue(j,J,!0);return z&&(q.$L=z),q},ne.clone=function(){return de.w(this.$d,this)},ne.toDate=function(){return new Date(this.valueOf())},ne.toJSON=function(){return this.isValid()?this.toISOString():null},ne.toISOString=function(){return this.$d.toISOString()},ne.toString=function(){return this.$d.toUTCString()},Z}(),we=Ae.prototype;return fe.prototype=we,[["$ms",d],["$s",p],["$m",g],["$H",A],["$W",m],["$M",b],["$y",E],["$D",B]].forEach(function(Z){we[Z[1]]=function(ne){return this.$g(ne,Z[0],Z[1])}}),fe.extend=function(Z,ne){return Z.$i||(Z(ne,Ae,fe),Z.$i=!0),fe},fe.locale=ue,fe.isDayjs=te,fe.unix=function(Z){return fe(1e3*Z)},fe.en=W[H],fe.Ls=W,fe.p={},fe}()})(z2);const Nn=Zv(z2.exports);/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var ap={version:"0.18.5"},op=1252,y5=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],K2={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},Z0=function(a){y5.indexOf(a)!=-1&&(op=K2[0]=a)},bl=function(a){Z0(a)};function V2(){bl(1200),Z0(1252)}function fy(a){for(var c=[],u=0,h=a.length;u<h;++u)c[u]=a.charCodeAt(u);return c}function ww(a){for(var c=[],u=0;u<a.length>>1;++u)c[u]=String.fromCharCode(a.charCodeAt(2*u+1)+(a.charCodeAt(2*u)<<8));return c.join("")}var Z2,X0=function(a){var c=a.charCodeAt(0),u=a.charCodeAt(1);return c==255&&u==254?function(h){for(var d=[],p=0;p<h.length>>1;++p)d[p]=String.fromCharCode(h.charCodeAt(2*p)+(h.charCodeAt(2*p+1)<<8));return d.join("")}(a.slice(2)):c==254&&u==255?ww(a.slice(2)):c==65279?a.slice(1):a},sp=function(a){return String.fromCharCode(a)},Ew=function(a){return String.fromCharCode(a)},ea="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function jr(a){for(var c="",u=0,h=0,d=0,p=0,g=0,A=0,m=0,y=0;y<a.length;)p=(u=a.charCodeAt(y++))>>2,g=(3&u)<<4|(h=a.charCodeAt(y++))>>4,A=(15&h)<<2|(d=a.charCodeAt(y++))>>6,m=63&d,isNaN(h)?A=m=64:isNaN(d)&&(m=64),c+=ea.charAt(p)+ea.charAt(g)+ea.charAt(A)+ea.charAt(m);return c}function Ra(a){var c="",u=0,h=0,d=0,p=0,g=0,A=0;a=a.replace(/[^\w\+\/\=]/g,"");for(var m=0;m<a.length;)u=ea.indexOf(a.charAt(m++))<<2|(p=ea.indexOf(a.charAt(m++)))>>4,c+=String.fromCharCode(u),h=(15&p)<<4|(g=ea.indexOf(a.charAt(m++)))>>2,g!==64&&(c+=String.fromCharCode(h)),d=(3&g)<<6|(A=ea.indexOf(a.charAt(m++))),A!==64&&(c+=String.fromCharCode(d));return c}var ki=function(){return typeof Buffer<"u"&&typeof process<"u"&&process.versions!==void 0&&!!process.versions.node}(),uu=function(){if(typeof Buffer<"u"){var a=!Buffer.from;if(!a)try{Buffer.from("foo","utf8")}catch{a=!0}return a?function(c,u){return u?new Buffer(c,u):new Buffer(c)}:Buffer.from.bind(Buffer)}return function(){}}();function AA(a){return ki?Buffer.alloc?Buffer.alloc(a):new Buffer(a):typeof Uint8Array<"u"?new Uint8Array(a):new Array(a)}function Ay(a){return ki?Buffer.allocUnsafe?Buffer.allocUnsafe(a):new Buffer(a):typeof Uint8Array<"u"?new Uint8Array(a):new Array(a)}var Zc=function(a){return ki?uu(a,"binary"):a.split("").map(function(c){return 255&c.charCodeAt(0)})};function dy(a){if(typeof ArrayBuffer>"u")return Zc(a);for(var c=new ArrayBuffer(a.length),u=new Uint8Array(c),h=0;h!=a.length;++h)u[h]=255&a.charCodeAt(h);return c}function Af(a){if(Array.isArray(a))return a.map(function(h){return String.fromCharCode(h)}).join("");for(var c=[],u=0;u<a.length;++u)c[u]=String.fromCharCode(a[u]);return c.join("")}function gy(a){if(typeof ArrayBuffer>"u")throw new Error("Unsupported");if(a instanceof ArrayBuffer)return gy(new Uint8Array(a));for(var c=new Array(a.length),u=0;u<a.length;++u)c[u]=a[u];return c}var Jo=ki?function(a){return Buffer.concat(a.map(function(c){return Buffer.isBuffer(c)?c:uu(c)}))}:function(a){if(typeof Uint8Array<"u"){var c=0,u=0;for(c=0;c<a.length;++c)u+=a[c].length;var h=new Uint8Array(u),d=0;for(c=0,u=0;c<a.length;u+=d,++c)if(d=a[c].length,a[c]instanceof Uint8Array)h.set(a[c],u);else{if(typeof a[c]=="string")throw"wtf";h.set(new Uint8Array(a[c]),u)}return h}return[].concat.apply([],a.map(function(p){return Array.isArray(p)?p:[].slice.call(p)}))},sc=/\u0000/g,Bc=/[\u0001-\u0006]/g;function up(a){for(var c="",u=a.length-1;u>=0;)c+=a.charAt(u--);return c}function Xc(a,c){var u=""+a;return u.length>=c?u:Go("0",c-u.length)+u}function $0(a,c){var u=""+a;return u.length>=c?u:Go(" ",c-u.length)+u}function cp(a,c){var u=""+a;return u.length>=c?u:u+Go(" ",c-u.length)}var X2=Math.pow(2,32);function kc(a,c){return a>X2||a<-X2?function(u,h){var d=""+Math.round(u);return d.length>=h?d:Go("0",h-d.length)+d}(a,c):function(u,h){var d=""+u;return d.length>=h?d:Go("0",h-d.length)+d}(Math.round(a),c)}function e1(a,c){return c=c||0,a.length>=7+c&&(32|a.charCodeAt(c))==103&&(32|a.charCodeAt(c+1))==101&&(32|a.charCodeAt(c+2))==110&&(32|a.charCodeAt(c+3))==101&&(32|a.charCodeAt(c+4))==114&&(32|a.charCodeAt(c+5))==97&&(32|a.charCodeAt(c+6))==108}var $2=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],py=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]],xi={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},Ba={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},Bw={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function t1(a,c,u){for(var h=a<0?-1:1,d=a*h,p=0,g=1,A=0,m=1,y=0,b=0,I=Math.floor(d);y<c&&(A=(I=Math.floor(d))*g+p,b=I*y+m,!(d-I<5e-8));)d=1/(d-I),p=g,g=A,m=y,y=b;if(b>c&&(y>c?(b=m,A=p):(b=y,A=g)),!u)return[0,h*A,b];var E=Math.floor(h*A/b);return[E,h*A-E*b,b]}function dA(a,c,u){if(a>2958465||a<0)return null;var h=0|a,d=Math.floor(86400*(a-h)),p=0,g=[],A={D:h,T:d,u:86400*(a-h)-d,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(A.u)<1e-6&&(A.u=0),c&&c.date1904&&(h+=1462),A.u>.9999&&(A.u=0,++d==86400&&(A.T=d=0,++h,++A.D)),h===60)g=u?[1317,10,29]:[1900,2,29],p=3;else if(h===0)g=u?[1317,8,29]:[1900,1,0],p=6;else{h>60&&--h;var m=new Date(1900,0,1);m.setDate(m.getDate()+h-1),g=[m.getFullYear(),m.getMonth()+1,m.getDate()],p=m.getDay(),h<60&&(p=(p+6)%7),u&&(p=function(y,b){b[0]-=581;var I=y.getDay();return y<60&&(I=(I+6)%7),I}(m,g))}return A.y=g[0],A.m=g[1],A.d=g[2],A.S=d%60,d=Math.floor(d/60),A.M=d%60,d=Math.floor(d/60),A.H=d,A.q=p,A}var ja=new Date(1899,11,31,0,0,0),xd=ja.getTime(),kw=new Date(1900,2,1,0,0,0);function Sd(a,c){var u=a.getTime();return c?u-=1262304e5:a>=kw&&(u+=864e5),(u-(xd+6e4*(a.getTimezoneOffset()-ja.getTimezoneOffset())))/864e5}function vy(a){return a.indexOf(".")==-1?a:a.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function gA(a){var c,u=Math.floor(Math.log(Math.abs(a))*Math.LOG10E);return c=u>=-4&&u<=-1?a.toPrecision(10+u):Math.abs(u)<=9?function(h){var d=h<0?12:11,p=vy(h.toFixed(12));return p.length<=d||(p=h.toPrecision(10)).length<=d?p:h.toExponential(5)}(a):u===10?a.toFixed(10).substr(0,12):function(h){var d=vy(h.toFixed(11));return d.length>(h<0?12:11)||d==="0"||d==="-0"?h.toPrecision(6):d}(a),vy(function(h){return h.indexOf("E")==-1?h:h.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(c.toUpperCase()))}function df(a,c){switch(typeof a){case"string":return a;case"boolean":return a?"TRUE":"FALSE";case"number":return(0|a)===a?a.toString(10):gA(a);case"undefined":return"";case"object":if(a==null)return"";if(a instanceof Date)return El(14,Sd(a,c&&c.date1904),c)}throw new Error("unsupported value in General format: "+a)}function eI(a,c,u,h){var d,p="",g=0,A=0,m=u.y,y=0;switch(a){case 98:m=u.y+543;case 121:switch(c.length){case 1:case 2:d=m%100,y=2;break;default:d=m%1e4,y=4}break;case 109:switch(c.length){case 1:case 2:d=u.m,y=c.length;break;case 3:return py[u.m-1][1];case 5:return py[u.m-1][0];default:return py[u.m-1][2]}break;case 100:switch(c.length){case 1:case 2:d=u.d,y=c.length;break;case 3:return $2[u.q][0];default:return $2[u.q][1]}break;case 104:switch(c.length){case 1:case 2:d=1+(u.H+11)%12,y=c.length;break;default:throw"bad hour format: "+c}break;case 72:switch(c.length){case 1:case 2:d=u.H,y=c.length;break;default:throw"bad hour format: "+c}break;case 77:switch(c.length){case 1:case 2:d=u.M,y=c.length;break;default:throw"bad minute format: "+c}break;case 115:if(c!="s"&&c!="ss"&&c!=".0"&&c!=".00"&&c!=".000")throw"bad second format: "+c;return u.u!==0||c!="s"&&c!="ss"?(A=h>=2?h===3?1e3:100:h===1?10:1,(g=Math.round(A*(u.S+u.u)))>=60*A&&(g=0),c==="s"?g===0?"0":""+g/A:(p=Xc(g,2+h),c==="ss"?p.substr(0,2):"."+p.substr(2,c.length-1))):Xc(u.S,c.length);case 90:switch(c){case"[h]":case"[hh]":d=24*u.D+u.H;break;case"[m]":case"[mm]":d=60*(24*u.D+u.H)+u.M;break;case"[s]":case"[ss]":d=60*(60*(24*u.D+u.H)+u.M)+Math.round(u.S+u.u);break;default:throw"bad abstime format: "+c}y=c.length===3?1:2;break;case 101:d=m,y=1}return y>0?Xc(d,y):""}function xh(a){if(a.length<=3)return a;for(var c=a.length%3,u=a.substr(0,c);c!=a.length;c+=3)u+=(u.length>0?",":"")+a.substr(c,3);return u}var yy=/%/g;function tI(a,c){var u,h=a.indexOf("E")-a.indexOf(".")-1;if(a.match(/^#+0.0E\+0$/)){if(c==0)return"0.0E+0";if(c<0)return"-"+tI(a,-c);var d=a.indexOf(".");d===-1&&(d=a.indexOf("E"));var p=Math.floor(Math.log(c)*Math.LOG10E)%d;if(p<0&&(p+=d),(u=(c/Math.pow(10,p)).toPrecision(h+1+(d+p)%d)).indexOf("e")===-1){var g=Math.floor(Math.log(c)*Math.LOG10E);for(u.indexOf(".")===-1?u=u.charAt(0)+"."+u.substr(1)+"E+"+(g-u.length+p):u+="E+"+(g-p);u.substr(0,2)==="0.";)u=(u=u.charAt(0)+u.substr(2,d)+"."+u.substr(2+d)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");u=u.replace(/\+-/,"-")}u=u.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(A,m,y,b){return m+y+b.substr(0,(d+p)%d)+"."+b.substr(p)+"E"})}else u=c.toExponential(h);return a.match(/E\+00$/)&&u.match(/e[+-]\d$/)&&(u=u.substr(0,u.length-1)+"0"+u.charAt(u.length-1)),a.match(/E\-/)&&u.match(/e\+/)&&(u=u.replace(/e\+/,"e")),u.replace("e","E")}var _d=/# (\?+)( ?)\/( ?)(\d+)/,my=/^#*0*\.([0#]+)/,lp=/\).*[0#]/,es=/\(###\) ###\\?-####/;function cu(a){for(var c,u="",h=0;h!=a.length;++h)switch(c=a.charCodeAt(h)){case 35:break;case 63:u+=" ";break;case 48:u+="0";break;default:u+=String.fromCharCode(c)}return u}function Dd(a,c){var u=Math.pow(10,c);return""+Math.round(a*u)/u}function rI(a,c){var u=a-Math.floor(a),h=Math.pow(10,c);return c<(""+Math.round(u*h)).length?0:Math.round(u*h)}function Cl(a,c,u){if(a.charCodeAt(0)===40&&!c.match(lp)){var h=c.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return u>=0?Cl("n",h,u):"("+Cl("n",h,-u)+")"}if(c.charCodeAt(c.length-1)===44)return function(S,_,D){for(var T=_.length-1;_.charCodeAt(T-1)===44;)--T;return uc(S,_.substr(0,T),D/Math.pow(10,3*(_.length-T)))}(a,c,u);if(c.indexOf("%")!==-1)return function(S,_,D){var T=_.replace(yy,""),F=_.length-T.length;return uc(S,T,D*Math.pow(10,2*F))+Go("%",F)}(a,c,u);if(c.indexOf("E")!==-1)return tI(c,u);if(c.charCodeAt(0)===36)return"$"+Cl(a,c.substr(c.charAt(1)==" "?2:1),u);var d,p,g,A,m=Math.abs(u),y=u<0?"-":"";if(c.match(/^00+$/))return y+kc(m,c.length);if(c.match(/^[#?]+$/))return(d=kc(u,0))==="0"&&(d=""),d.length>c.length?d:cu(c.substr(0,c.length-d.length))+d;if(p=c.match(_d))return function(S,_,D){var T=parseInt(S[4],10),F=Math.round(_*T),N=Math.floor(F/T),H=F-N*T,W=T;return D+(N===0?"":""+N)+" "+(H===0?Go(" ",S[1].length+1+S[4].length):$0(H,S[1].length)+S[2]+"/"+S[3]+Xc(W,S[4].length))}(p,m,y);if(c.match(/^#+0+$/))return y+kc(m,c.length-c.indexOf("0"));if(p=c.match(my))return d=Dd(u,p[1].length).replace(/^([^\.]+)$/,"$1."+cu(p[1])).replace(/\.$/,"."+cu(p[1])).replace(/\.(\d*)$/,function(S,_){return"."+_+Go("0",cu(p[1]).length-_.length)}),c.indexOf("0.")!==-1?d:d.replace(/^0\./,".");if(c=c.replace(/^#+([0.])/,"$1"),p=c.match(/^(0*)\.(#*)$/))return y+Dd(m,p[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,p[1].length?"0.":".");if(p=c.match(/^#{1,3},##0(\.?)$/))return y+xh(kc(m,0));if(p=c.match(/^#,##0\.([#0]*0)$/))return u<0?"-"+Cl(a,c,-u):xh(""+(Math.floor(u)+function(S,_){return _<(""+Math.round((S-Math.floor(S))*Math.pow(10,_))).length?1:0}(u,p[1].length)))+"."+Xc(rI(u,p[1].length),p[1].length);if(p=c.match(/^#,#*,#0/))return Cl(a,c.replace(/^#,#*,/,""),u);if(p=c.match(/^([0#]+)(\\?-([0#]+))+$/))return d=up(Cl(a,c.replace(/[\\-]/g,""),u)),g=0,up(up(c.replace(/\\/g,"")).replace(/[0#]/g,function(S){return g<d.length?d.charAt(g++):S==="0"?"0":""}));if(c.match(es))return"("+(d=Cl(a,"##########",u)).substr(0,3)+") "+d.substr(3,3)+"-"+d.substr(6);var b="";if(p=c.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return g=Math.min(p[4].length,7),A=t1(m,Math.pow(10,g)-1,!1),d=""+y,(b=uc("n",p[1],A[1])).charAt(b.length-1)==" "&&(b=b.substr(0,b.length-1)+"0"),d+=b+p[2]+"/"+p[3],(b=cp(A[2],g)).length<p[4].length&&(b=cu(p[4].substr(p[4].length-b.length))+b),d+=b;if(p=c.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return g=Math.min(Math.max(p[1].length,p[4].length),7),y+((A=t1(m,Math.pow(10,g)-1,!0))[0]||(A[1]?"":"0"))+" "+(A[1]?$0(A[1],g)+p[2]+"/"+p[3]+cp(A[2],g):Go(" ",2*g+1+p[2].length+p[3].length));if(p=c.match(/^[#0?]+$/))return d=kc(u,0),c.length<=d.length?d:cu(c.substr(0,c.length-d.length))+d;if(p=c.match(/^([#0?]+)\.([#0]+)$/)){d=""+u.toFixed(Math.min(p[2].length,10)).replace(/([^0])0+$/,"$1"),g=d.indexOf(".");var I=c.indexOf(".")-g,E=c.length-d.length-I;return cu(c.substr(0,I)+d+c.substr(c.length-E))}if(p=c.match(/^00,000\.([#0]*0)$/))return g=rI(u,p[1].length),u<0?"-"+Cl(a,c,-u):xh(function(S){return S<2147483647&&S>-2147483648?""+(S>=0?0|S:S-1|0):""+Math.floor(S)}(u)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(S){return"00,"+(S.length<3?Xc(0,3-S.length):"")+S})+"."+Xc(g,p[1].length);switch(c){case"###,##0.00":return Cl(a,"#,##0.00",u);case"###,###":case"##,###":case"#,###":var B=xh(kc(m,0));return B!=="0"?y+B:"";case"###,###.00":return Cl(a,"###,##0.00",u).replace(/^0\./,".");case"#,###.00":return Cl(a,"#,##0.00",u).replace(/^0\./,".")}throw new Error("unsupported format |"+c+"|")}function Qw(a,c){var u,h=a.indexOf("E")-a.indexOf(".")-1;if(a.match(/^#+0.0E\+0$/)){if(c==0)return"0.0E+0";if(c<0)return"-"+Qw(a,-c);var d=a.indexOf(".");d===-1&&(d=a.indexOf("E"));var p=Math.floor(Math.log(c)*Math.LOG10E)%d;if(p<0&&(p+=d),!(u=(c/Math.pow(10,p)).toPrecision(h+1+(d+p)%d)).match(/[Ee]/)){var g=Math.floor(Math.log(c)*Math.LOG10E);u.indexOf(".")===-1?u=u.charAt(0)+"."+u.substr(1)+"E+"+(g-u.length+p):u+="E+"+(g-p),u=u.replace(/\+-/,"-")}u=u.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(A,m,y,b){return m+y+b.substr(0,(d+p)%d)+"."+b.substr(p)+"E"})}else u=c.toExponential(h);return a.match(/E\+00$/)&&u.match(/e[+-]\d$/)&&(u=u.substr(0,u.length-1)+"0"+u.charAt(u.length-1)),a.match(/E\-/)&&u.match(/e\+/)&&(u=u.replace(/e\+/,"e")),u.replace("e","E")}function Sh(a,c,u){if(a.charCodeAt(0)===40&&!c.match(lp)){var h=c.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return u>=0?Sh("n",h,u):"("+Sh("n",h,-u)+")"}if(c.charCodeAt(c.length-1)===44)return function(S,_,D){for(var T=_.length-1;_.charCodeAt(T-1)===44;)--T;return uc(S,_.substr(0,T),D/Math.pow(10,3*(_.length-T)))}(a,c,u);if(c.indexOf("%")!==-1)return function(S,_,D){var T=_.replace(yy,""),F=_.length-T.length;return uc(S,T,D*Math.pow(10,2*F))+Go("%",F)}(a,c,u);if(c.indexOf("E")!==-1)return Qw(c,u);if(c.charCodeAt(0)===36)return"$"+Sh(a,c.substr(c.charAt(1)==" "?2:1),u);var d,p,g,A,m=Math.abs(u),y=u<0?"-":"";if(c.match(/^00+$/))return y+Xc(m,c.length);if(c.match(/^[#?]+$/))return d=""+u,u===0&&(d=""),d.length>c.length?d:cu(c.substr(0,c.length-d.length))+d;if(p=c.match(_d))return function(S,_,D){return D+(_===0?"":""+_)+Go(" ",S[1].length+2+S[4].length)}(p,m,y);if(c.match(/^#+0+$/))return y+Xc(m,c.length-c.indexOf("0"));if(p=c.match(my))return d=(d=(""+u).replace(/^([^\.]+)$/,"$1."+cu(p[1])).replace(/\.$/,"."+cu(p[1]))).replace(/\.(\d*)$/,function(S,_){return"."+_+Go("0",cu(p[1]).length-_.length)}),c.indexOf("0.")!==-1?d:d.replace(/^0\./,".");if(c=c.replace(/^#+([0.])/,"$1"),p=c.match(/^(0*)\.(#*)$/))return y+(""+m).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,p[1].length?"0.":".");if(p=c.match(/^#{1,3},##0(\.?)$/))return y+xh(""+m);if(p=c.match(/^#,##0\.([#0]*0)$/))return u<0?"-"+Sh(a,c,-u):xh(""+u)+"."+Go("0",p[1].length);if(p=c.match(/^#,#*,#0/))return Sh(a,c.replace(/^#,#*,/,""),u);if(p=c.match(/^([0#]+)(\\?-([0#]+))+$/))return d=up(Sh(a,c.replace(/[\\-]/g,""),u)),g=0,up(up(c.replace(/\\/g,"")).replace(/[0#]/g,function(S){return g<d.length?d.charAt(g++):S==="0"?"0":""}));if(c.match(es))return"("+(d=Sh(a,"##########",u)).substr(0,3)+") "+d.substr(3,3)+"-"+d.substr(6);var b="";if(p=c.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return g=Math.min(p[4].length,7),A=t1(m,Math.pow(10,g)-1,!1),d=""+y,(b=uc("n",p[1],A[1])).charAt(b.length-1)==" "&&(b=b.substr(0,b.length-1)+"0"),d+=b+p[2]+"/"+p[3],(b=cp(A[2],g)).length<p[4].length&&(b=cu(p[4].substr(p[4].length-b.length))+b),d+=b;if(p=c.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return g=Math.min(Math.max(p[1].length,p[4].length),7),y+((A=t1(m,Math.pow(10,g)-1,!0))[0]||(A[1]?"":"0"))+" "+(A[1]?$0(A[1],g)+p[2]+"/"+p[3]+cp(A[2],g):Go(" ",2*g+1+p[2].length+p[3].length));if(p=c.match(/^[#0?]+$/))return d=""+u,c.length<=d.length?d:cu(c.substr(0,c.length-d.length))+d;if(p=c.match(/^([#0]+)\.([#0]+)$/)){d=""+u.toFixed(Math.min(p[2].length,10)).replace(/([^0])0+$/,"$1"),g=d.indexOf(".");var I=c.indexOf(".")-g,E=c.length-d.length-I;return cu(c.substr(0,I)+d+c.substr(c.length-E))}if(p=c.match(/^00,000\.([#0]*0)$/))return u<0?"-"+Sh(a,c,-u):xh(""+u).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(S){return"00,"+(S.length<3?Xc(0,3-S.length):"")+S})+"."+Xc(0,p[1].length);switch(c){case"###,###":case"##,###":case"#,###":var B=xh(""+m);return B!=="0"?y+B:"";default:if(c.match(/\.[0#?]*$/))return Sh(a,c.slice(0,c.lastIndexOf(".")),u)+cu(c.slice(c.lastIndexOf(".")))}throw new Error("unsupported format |"+c+"|")}function uc(a,c,u){return(0|u)===u?Sh(a,c,u):Cl(a,c,u)}var Vi=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function wl(a){for(var c=0,u="",h="";c<a.length;)switch(u=a.charAt(c)){case"G":e1(a,c)&&(c+=6),c++;break;case'"':for(;a.charCodeAt(++c)!==34&&c<a.length;);++c;break;case"\\":case"_":c+=2;break;case"@":++c;break;case"B":case"b":if(a.charAt(c+1)==="1"||a.charAt(c+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if(a.substr(c,3).toUpperCase()==="A/P"||a.substr(c,5).toUpperCase()==="AM/PM"||a.substr(c,5).toUpperCase()==="上午/下午")return!0;++c;break;case"[":for(h=u;a.charAt(c++)!=="]"&&c<a.length;)h+=a.charAt(c);if(h.match(Vi))return!0;break;case".":case"0":case"#":for(;c<a.length&&("0#?.,E+-%".indexOf(u=a.charAt(++c))>-1||u=="\\"&&a.charAt(c+1)=="-"&&"0#".indexOf(a.charAt(c+2))>-1););break;case"?":for(;a.charAt(++c)===u;);break;case"*":++c,a.charAt(c)!=" "&&a.charAt(c)!="*"||++c;break;case"(":case")":++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;c<a.length&&"0123456789".indexOf(a.charAt(++c))>-1;);break;default:++c}return!1}var gf=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Iy(a,c){if(c==null)return!1;var u=parseFloat(c[2]);switch(c[1]){case"=":if(a==u)return!0;break;case">":if(a>u)return!0;break;case"<":if(a<u)return!0;break;case"<>":if(a!=u)return!0;break;case">=":if(a>=u)return!0;break;case"<=":if(a<=u)return!0}return!1}function fs(a,c){var u=function(m){for(var y=[],b=!1,I=0,E=0;I<m.length;++I)switch(m.charCodeAt(I)){case 34:b=!b;break;case 95:case 42:case 92:++I;break;case 59:y[y.length]=m.substr(E,I-E),E=I+1}if(y[y.length]=m.substr(E),b===!0)throw new Error("Format |"+m+"| unterminated string ");return y}(a),h=u.length,d=u[h-1].indexOf("@");if(h<4&&d>-1&&--h,u.length>4)throw new Error("cannot find right format for |"+u.join("|")+"|");if(typeof c!="number")return[4,u.length===4||d>-1?u[u.length-1]:"@"];switch(u.length){case 1:u=d>-1?["General","General","General",u[0]]:[u[0],u[0],u[0],"@"];break;case 2:u=d>-1?[u[0],u[0],u[0],u[1]]:[u[0],u[1],u[0],"@"];break;case 3:u=d>-1?[u[0],u[1],u[0],u[2]]:[u[0],u[1],u[2],"@"]}var p=c>0?u[0]:c<0?u[1]:u[2];if(u[0].indexOf("[")===-1&&u[1].indexOf("[")===-1)return[h,p];if(u[0].match(/\[[=<>]/)!=null||u[1].match(/\[[=<>]/)!=null){var g=u[0].match(gf),A=u[1].match(gf);return Iy(c,g)?[h,u[0]]:Iy(c,A)?[h,u[1]]:[h,u[g!=null&&A!=null?2:1]]}return[h,p]}function El(a,c,u){u==null&&(u={});var h="";switch(typeof a){case"string":h=a=="m/d/yy"&&u.dateNF?u.dateNF:a;break;case"number":(h=a==14&&u.dateNF?u.dateNF:(u.table!=null?u.table:xi)[a])==null&&(h=u.table&&u.table[Ba[a]]||xi[Ba[a]]),h==null&&(h=Bw[a]||"General")}if(e1(h,0))return df(c,u);c instanceof Date&&(c=Sd(c,u.date1904));var d=fs(h,c);if(e1(d[1]))return df(c,u);if(c===!0)c="TRUE";else if(c===!1)c="FALSE";else if(c===""||c==null)return"";return function(p,g,A,m){for(var y,b,I,E=[],B="",S=0,_="",D="t",T="H";S<p.length;)switch(_=p.charAt(S)){case"G":if(!e1(p,S))throw new Error("unrecognized character "+_+" in "+p);E[E.length]={t:"G",v:"General"},S+=7;break;case'"':for(B="";(I=p.charCodeAt(++S))!==34&&S<p.length;)B+=String.fromCharCode(I);E[E.length]={t:"t",v:B},++S;break;case"\\":var F=p.charAt(++S),N=F==="("||F===")"?F:"t";E[E.length]={t:N,v:F},++S;break;case"_":E[E.length]={t:"t",v:" "},S+=2;break;case"@":E[E.length]={t:"T",v:g},++S;break;case"B":case"b":if(p.charAt(S+1)==="1"||p.charAt(S+1)==="2"){if(y==null&&(y=dA(g,A,p.charAt(S+1)==="2"))==null)return"";E[E.length]={t:"X",v:p.substr(S,2)},D=_,S+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":_=_.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(g<0||y==null&&(y=dA(g,A))==null)return"";for(B=_;++S<p.length&&p.charAt(S).toLowerCase()===_;)B+=_;_==="m"&&D.toLowerCase()==="h"&&(_="M"),_==="h"&&(_=T),E[E.length]={t:_,v:B},D=_;break;case"A":case"a":case"上":var H={t:_,v:_};if(y==null&&(y=dA(g,A)),p.substr(S,3).toUpperCase()==="A/P"?(y!=null&&(H.v=y.H>=12?"P":"A"),H.t="T",T="h",S+=3):p.substr(S,5).toUpperCase()==="AM/PM"?(y!=null&&(H.v=y.H>=12?"PM":"AM"),H.t="T",S+=5,T="h"):p.substr(S,5).toUpperCase()==="上午/下午"?(y!=null&&(H.v=y.H>=12?"下午":"上午"),H.t="T",S+=5,T="h"):(H.t="t",++S),y==null&&H.t==="T")return"";E[E.length]=H,D=_;break;case"[":for(B=_;p.charAt(S++)!=="]"&&S<p.length;)B+=p.charAt(S);if(B.slice(-1)!=="]")throw'unterminated "[" block: |'+B+"|";if(B.match(Vi)){if(y==null&&(y=dA(g,A))==null)return"";E[E.length]={t:"Z",v:B.toLowerCase()},D=B.charAt(1)}else B.indexOf("$")>-1&&(B=(B.match(/\$([^-\[\]]*)/)||[])[1]||"$",wl(p)||(E[E.length]={t:"t",v:B}));break;case".":if(y!=null){for(B=_;++S<p.length&&(_=p.charAt(S))==="0";)B+=_;E[E.length]={t:"s",v:B};break}case"0":case"#":for(B=_;++S<p.length&&"0#?.,E+-%".indexOf(_=p.charAt(S))>-1;)B+=_;E[E.length]={t:"n",v:B};break;case"?":for(B=_;p.charAt(++S)===_;)B+=_;E[E.length]={t:_,v:B},D=_;break;case"*":++S,p.charAt(S)!=" "&&p.charAt(S)!="*"||++S;break;case"(":case")":E[E.length]={t:m===1?"t":_,v:_},++S;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(B=_;S<p.length&&"0123456789".indexOf(p.charAt(++S))>-1;)B+=p.charAt(S);E[E.length]={t:"D",v:B};break;case" ":E[E.length]={t:_,v:_},++S;break;case"$":E[E.length]={t:"t",v:"$"},++S;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(_)===-1)throw new Error("unrecognized character "+_+" in "+p);E[E.length]={t:"t",v:_},++S}var W,V=0,te=0;for(S=E.length-1,D="t";S>=0;--S)switch(E[S].t){case"h":case"H":E[S].t=T,D="h",V<1&&(V=1);break;case"s":(W=E[S].v.match(/\.0+$/))&&(te=Math.max(te,W[0].length-1)),V<3&&(V=3);case"d":case"y":case"M":case"e":D=E[S].t;break;case"m":D==="s"&&(E[S].t="M",V<2&&(V=2));break;case"X":break;case"Z":V<1&&E[S].v.match(/[Hh]/)&&(V=1),V<2&&E[S].v.match(/[Mm]/)&&(V=2),V<3&&E[S].v.match(/[Ss]/)&&(V=3)}switch(V){case 0:break;case 1:y.u>=.5&&(y.u=0,++y.S),y.S>=60&&(y.S=0,++y.M),y.M>=60&&(y.M=0,++y.H);break;case 2:y.u>=.5&&(y.u=0,++y.S),y.S>=60&&(y.S=0,++y.M)}var ue,fe="";for(S=0;S<E.length;++S)switch(E[S].t){case"t":case"T":case" ":case"D":break;case"X":E[S].v="",E[S].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":E[S].v=eI(E[S].t.charCodeAt(0),E[S].v,y,te),E[S].t="t";break;case"n":case"?":for(ue=S+1;E[ue]!=null&&((_=E[ue].t)==="?"||_==="D"||(_===" "||_==="t")&&E[ue+1]!=null&&(E[ue+1].t==="?"||E[ue+1].t==="t"&&E[ue+1].v==="/")||E[S].t==="("&&(_===" "||_==="n"||_===")")||_==="t"&&(E[ue].v==="/"||E[ue].v===" "&&E[ue+1]!=null&&E[ue+1].t=="?"));)E[S].v+=E[ue].v,E[ue]={v:"",t:";"},++ue;fe+=E[S].v,S=ue-1;break;case"G":E[S].t="t",E[S].v=df(g,A)}var de,Ae,we="";if(fe.length>0){fe.charCodeAt(0)==40?(de=g<0&&fe.charCodeAt(0)===45?-g:g,Ae=uc("n",fe,de)):(Ae=uc("n",fe,de=g<0&&m>1?-g:g),de<0&&E[0]&&E[0].t=="t"&&(Ae=Ae.substr(1),E[0].v="-"+E[0].v)),ue=Ae.length-1;var Z=E.length;for(S=0;S<E.length;++S)if(E[S]!=null&&E[S].t!="t"&&E[S].v.indexOf(".")>-1){Z=S;break}var ne=E.length;if(Z===E.length&&Ae.indexOf("E")===-1){for(S=E.length-1;S>=0;--S)E[S]!=null&&"n?".indexOf(E[S].t)!==-1&&(ue>=E[S].v.length-1?(ue-=E[S].v.length,E[S].v=Ae.substr(ue+1,E[S].v.length)):ue<0?E[S].v="":(E[S].v=Ae.substr(0,ue+1),ue=-1),E[S].t="t",ne=S);ue>=0&&ne<E.length&&(E[ne].v=Ae.substr(0,ue+1)+E[ne].v)}else if(Z!==E.length&&Ae.indexOf("E")===-1){for(ue=Ae.indexOf(".")-1,S=Z;S>=0;--S)if(E[S]!=null&&"n?".indexOf(E[S].t)!==-1){for(b=E[S].v.indexOf(".")>-1&&S===Z?E[S].v.indexOf(".")-1:E[S].v.length-1,we=E[S].v.substr(b+1);b>=0;--b)ue>=0&&(E[S].v.charAt(b)==="0"||E[S].v.charAt(b)==="#")&&(we=Ae.charAt(ue--)+we);E[S].v=we,E[S].t="t",ne=S}for(ue>=0&&ne<E.length&&(E[ne].v=Ae.substr(0,ue+1)+E[ne].v),ue=Ae.indexOf(".")+1,S=Z;S<E.length;++S)if(E[S]!=null&&("n?(".indexOf(E[S].t)!==-1||S===Z)){for(b=E[S].v.indexOf(".")>-1&&S===Z?E[S].v.indexOf(".")+1:0,we=E[S].v.substr(0,b);b<E[S].v.length;++b)ue<Ae.length&&(we+=Ae.charAt(ue++));E[S].v=we,E[S].t="t",ne=S}}}for(S=0;S<E.length;++S)E[S]!=null&&"n?".indexOf(E[S].t)>-1&&(de=m>1&&g<0&&S>0&&E[S-1].v==="-"?-g:g,E[S].v=uc(E[S].t,E[S].v,de),E[S].t="t");var j="";for(S=0;S!==E.length;++S)E[S]!=null&&(j+=E[S].v);return j}(d[1],c,u,d[0])}function $c(a,c){if(typeof c!="number"){c=+c||-1;for(var u=0;u<392;++u)if(xi[u]!=null){if(xi[u]==a){c=u;break}}else c<0&&(c=u);c<0&&(c=391)}return xi[c]=a,c}function r1(a){for(var c=0;c!=392;++c)a[c]!==void 0&&$c(a[c],c)}function hp(){var a;a||(a={}),a[0]="General",a[1]="0",a[2]="0.00",a[3]="#,##0",a[4]="#,##0.00",a[9]="0%",a[10]="0.00%",a[11]="0.00E+00",a[12]="# ?/?",a[13]="# ??/??",a[14]="m/d/yy",a[15]="d-mmm-yy",a[16]="d-mmm",a[17]="mmm-yy",a[18]="h:mm AM/PM",a[19]="h:mm:ss AM/PM",a[20]="h:mm",a[21]="h:mm:ss",a[22]="m/d/yy h:mm",a[37]="#,##0 ;(#,##0)",a[38]="#,##0 ;[Red](#,##0)",a[39]="#,##0.00;(#,##0.00)",a[40]="#,##0.00;[Red](#,##0.00)",a[45]="mm:ss",a[46]="[h]:mm:ss",a[47]="mmss.0",a[48]="##0.0E+0",a[49]="@",a[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',xi=a}var xw={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},n1=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g,Sw=function(){var a={};a.version="1.2.0";var c=function(){for(var F=0,N=new Array(256),H=0;H!=256;++H)F=1&(F=1&(F=1&(F=1&(F=1&(F=1&(F=1&(F=1&(F=H)?-306674912^F>>>1:F>>>1)?-306674912^F>>>1:F>>>1)?-306674912^F>>>1:F>>>1)?-306674912^F>>>1:F>>>1)?-306674912^F>>>1:F>>>1)?-306674912^F>>>1:F>>>1)?-306674912^F>>>1:F>>>1)?-306674912^F>>>1:F>>>1,N[H]=F;return typeof Int32Array<"u"?new Int32Array(N):N}(),u=function(F){var N=0,H=0,W=0,V=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(W=0;W!=256;++W)V[W]=F[W];for(W=0;W!=256;++W)for(H=F[W],N=256+W;N<4096;N+=256)H=V[N]=H>>>8^F[255&H];var te=[];for(W=1;W!=16;++W)te[W-1]=typeof Int32Array<"u"?V.subarray(256*W,256*W+256):V.slice(256*W,256*W+256);return te}(c),h=u[0],d=u[1],p=u[2],g=u[3],A=u[4],m=u[5],y=u[6],b=u[7],I=u[8],E=u[9],B=u[10],S=u[11],_=u[12],D=u[13],T=u[14];return a.table=c,a.bstr=function(F,N){for(var H=~N,W=0,V=F.length;W<V;)H=H>>>8^c[255&(H^F.charCodeAt(W++))];return~H},a.buf=function(F,N){for(var H=~N,W=F.length-15,V=0;V<W;)H=T[F[V++]^255&H]^D[F[V++]^H>>8&255]^_[F[V++]^H>>16&255]^S[F[V++]^H>>>24]^B[F[V++]]^E[F[V++]]^I[F[V++]]^b[F[V++]]^y[F[V++]]^m[F[V++]]^A[F[V++]]^g[F[V++]]^p[F[V++]]^d[F[V++]]^h[F[V++]]^c[F[V++]];for(W+=15;V<W;)H=H>>>8^c[255&(H^F[V++])];return~H},a.str=function(F,N){for(var H=~N,W=0,V=F.length,te=0,ue=0;W<V;)(te=F.charCodeAt(W++))<128?H=H>>>8^c[255&(H^te)]:te<2048?H=(H=H>>>8^c[255&(H^(192|te>>6&31))])>>>8^c[255&(H^(128|63&te))]:te>=55296&&te<57344?(te=64+(1023&te),ue=1023&F.charCodeAt(W++),H=(H=(H=(H=H>>>8^c[255&(H^(240|te>>8&7))])>>>8^c[255&(H^(128|te>>2&63))])>>>8^c[255&(H^(128|ue>>6&15|(3&te)<<4))])>>>8^c[255&(H^(128|63&ue))]):H=(H=(H=H>>>8^c[255&(H^(224|te>>12&15))])>>>8^c[255&(H^(128|te>>6&63))])>>>8^c[255&(H^(128|63&te))];return~H},a}(),ai=function(){var a,c={};function u(He){if(He.charAt(He.length-1)=="/")return He.slice(0,-1).indexOf("/")===-1?He:u(He.slice(0,-1));var Je=He.lastIndexOf("/");return Je===-1?He:He.slice(0,Je+1)}function h(He){if(He.charAt(He.length-1)=="/")return h(He.slice(0,-1));var Je=He.lastIndexOf("/");return Je===-1?He:He.slice(Je+1)}function d(He,Je){typeof Je=="string"&&(Je=new Date(Je));var tt=Je.getHours();tt=(tt=tt<<6|Je.getMinutes())<<5|Je.getSeconds()>>>1,He.write_shift(2,tt);var mt=Je.getFullYear()-1980;mt=(mt=mt<<4|Je.getMonth()+1)<<5|Je.getDate(),He.write_shift(2,mt)}function p(He){lu(He,0);for(var Je={},tt=0;He.l<=He.length-4;){var mt=He.read_shift(2),Xe=He.read_shift(2),Ye=He.l+Xe,ot={};mt===21589&&(1&(tt=He.read_shift(1))&&(ot.mtime=He.read_shift(4)),Xe>5&&(2&tt&&(ot.atime=He.read_shift(4)),4&tt&&(ot.ctime=He.read_shift(4))),ot.mtime&&(ot.mt=new Date(1e3*ot.mtime))),He.l=Ye,Je[mt]=ot}return Je}function g(){return a||(a={})}function A(He,Je){if(He[0]==80&&He[1]==75)return Lt(He,Je);if((32|He[0])==109&&(32|He[1])==105)return function(Rr,An){if(V(Rr.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var dn=An&&An.root||"",br=(ki&&Buffer.isBuffer(Rr)?Rr.toString("binary"):V(Rr)).split(`\r
  93. `),gn=0,wn="";for(gn=0;gn<br.length;++gn)if(wn=br[gn],/^Content-Location:/i.test(wn)&&(wn=wn.slice(wn.indexOf("file")),dn||(dn=wn.slice(0,wn.lastIndexOf("/")+1)),wn.slice(0,dn.length)!=dn))for(;dn.length>0&&(dn=(dn=dn.slice(0,dn.length-1)).slice(0,dn.lastIndexOf("/")+1),wn.slice(0,dn.length)!=dn););var kn=(br[1]||"").match(/boundary="(.*?)"/);if(!kn)throw new Error("MAD cannot find boundary");var Dn="--"+(kn[1]||""),oi=[],Kr=[],On={FileIndex:oi,FullPaths:Kr};E(On);var Ci,li=0;for(gn=0;gn<br.length;++gn){var ia=br[gn];ia!==Dn&&ia!==Dn+"--"||(li++&&nt(On,br.slice(Ci,gn),dn),Ci=gn)}return On}(He,Je);if(He.length<512)throw new Error("CFB file size "+He.length+" < 512");var tt,mt,Xe,Ye,ot,yt,Mt=512,cr=[],$t=He.slice(0,512);lu($t,0);var Hr=function(Rr){if(Rr[Rr.l]==80&&Rr[Rr.l+1]==75)return[0,0];Rr.chk(F,"Header Signature: "),Rr.l+=16;var An=Rr.read_shift(2,"u");return[Rr.read_shift(2,"u"),An]}($t);switch(tt=Hr[0]){case 3:Mt=512;break;case 4:Mt=4096;break;case 0:if(Hr[1]==0)return Lt(He,Je);default:throw new Error("Major Version: Expected 3 or 4 saw "+tt)}Mt!==512&&lu($t=He.slice(0,Mt),28);var mr=He.slice(0,Mt);(function(Rr,An){var dn=9;switch(Rr.l+=2,dn=Rr.read_shift(2)){case 9:if(An!=3)throw new Error("Sector Shift: Expected 9 saw "+dn);break;case 12:if(An!=4)throw new Error("Sector Shift: Expected 12 saw "+dn);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+dn)}Rr.chk("0600","Mini Sector Shift: "),Rr.chk("000000000000","Reserved: ")})($t,tt);var sr=$t.read_shift(4,"i");if(tt===3&&sr!==0)throw new Error("# Directory Sectors: Expected 0 saw "+sr);$t.l+=4,Ye=$t.read_shift(4,"i"),$t.l+=4,$t.chk("00100000","Mini Stream Cutoff Size: "),ot=$t.read_shift(4,"i"),mt=$t.read_shift(4,"i"),yt=$t.read_shift(4,"i"),Xe=$t.read_shift(4,"i");for(var Yr=-1,Mr=0;Mr<109&&!((Yr=$t.read_shift(4,"i"))<0);++Mr)cr[Mr]=Yr;var Dr=function(Rr,An){for(var dn=Math.ceil(Rr.length/An)-1,br=[],gn=1;gn<dn;++gn)br[gn-1]=Rr.slice(gn*An,(gn+1)*An);return br[dn-1]=Rr.slice(dn*An),br}(He,Mt);y(yt,Xe,Dr,Mt,cr);var nn=function(Rr,An,dn,br){var gn=Rr.length,wn=[],kn=[],Dn=[],oi=[],Kr=br-1,On=0,Ci=0,li=0,ia=0;for(On=0;On<gn;++On)if(Dn=[],(li=On+An)>=gn&&(li-=gn),!kn[li]){oi=[];var ht=[];for(Ci=li;Ci>=0;){ht[Ci]=!0,kn[Ci]=!0,Dn[Dn.length]=Ci,oi.push(Rr[Ci]);var Pt=dn[Math.floor(4*Ci/br)];if(br<4+(ia=4*Ci&Kr))throw new Error("FAT boundary crossed: "+Ci+" 4 "+br);if(!Rr[Pt]||ht[Ci=CA(Rr[Pt],ia)])break}wn[li]={nodes:Dn,data:dI([oi])}}return wn}(Dr,Ye,cr,Mt);nn[Ye].name="!Directory",mt>0&&ot!==T&&(nn[ot].name="!MiniFAT"),nn[cr[0]].name="!FAT",nn.fat_addrs=cr,nn.ssz=Mt;var Sr=[],tn=[],Cn=[];(function(Rr,An,dn,br,gn,wn,kn,Dn){for(var oi,Kr=0,On=br.length?2:0,Ci=An[Rr].data,li=0,ia=0;li<Ci.length;li+=128){var ht=Ci.slice(li,li+128);lu(ht,64),ia=ht.read_shift(2),oi=Dy(ht,0,ia-On),br.push(oi);var Pt={name:oi,type:ht.read_shift(1),color:ht.read_shift(1),L:ht.read_shift(4,"i"),R:ht.read_shift(4,"i"),C:ht.read_shift(4,"i"),clsid:ht.read_shift(16),state:ht.read_shift(4,"i"),start:0,size:0};ht.read_shift(2)+ht.read_shift(2)+ht.read_shift(2)+ht.read_shift(2)!==0&&(Pt.ct=I(ht,ht.l-8)),ht.read_shift(2)+ht.read_shift(2)+ht.read_shift(2)+ht.read_shift(2)!==0&&(Pt.mt=I(ht,ht.l-8)),Pt.start=ht.read_shift(4,"i"),Pt.size=ht.read_shift(4,"i"),Pt.size<0&&Pt.start<0&&(Pt.size=Pt.type=0,Pt.start=T,Pt.name=""),Pt.type===5?(Kr=Pt.start,gn>0&&Kr!==T&&(An[Kr].name="!StreamData")):Pt.size>=4096?(Pt.storage="fat",An[Pt.start]===void 0&&(An[Pt.start]=b(dn,Pt.start,An.fat_addrs,An.ssz)),An[Pt.start].name=Pt.name,Pt.content=An[Pt.start].data.slice(0,Pt.size)):(Pt.storage="minifat",Pt.size<0?Pt.size=0:Kr!==T&&Pt.start!==T&&An[Kr]&&(Pt.content=m(Pt,An[Kr].data,(An[Dn]||{}).data))),Pt.content&&lu(Pt.content,0),wn[oi]=Pt,kn.push(Pt)}})(Ye,nn,Dr,Sr,mt,{},tn,ot),function(Rr,An,dn){for(var br=0,gn=0,wn=0,kn=0,Dn=0,oi=dn.length,Kr=[],On=[];br<oi;++br)Kr[br]=On[br]=br,An[br]=dn[br];for(;Dn<On.length;++Dn)gn=Rr[br=On[Dn]].L,wn=Rr[br].R,kn=Rr[br].C,Kr[br]===br&&(gn!==-1&&Kr[gn]!==gn&&(Kr[br]=Kr[gn]),wn!==-1&&Kr[wn]!==wn&&(Kr[br]=Kr[wn])),kn!==-1&&(Kr[kn]=br),gn!==-1&&br!=Kr[br]&&(Kr[gn]=Kr[br],On.lastIndexOf(gn)<Dn&&On.push(gn)),wn!==-1&&br!=Kr[br]&&(Kr[wn]=Kr[br],On.lastIndexOf(wn)<Dn&&On.push(wn));for(br=1;br<oi;++br)Kr[br]===br&&(wn!==-1&&Kr[wn]!==wn?Kr[br]=Kr[wn]:gn!==-1&&Kr[gn]!==gn&&(Kr[br]=Kr[gn]));for(br=1;br<oi;++br)if(Rr[br].type!==0){if((Dn=br)!=Kr[Dn])do Dn=Kr[Dn],An[br]=An[Dn]+"/"+An[br];while(Dn!==0&&Kr[Dn]!==-1&&Dn!=Kr[Dn]);Kr[br]=-1}for(An[0]+="/",br=1;br<oi;++br)Rr[br].type!==2&&(An[br]+="/")}(tn,Cn,Sr),Sr.shift();var Jn={FileIndex:tn,FullPaths:Cn};return Je&&Je.raw&&(Jn.raw={header:mr,sectors:Dr}),Jn}function m(He,Je,tt){for(var mt=He.start,Xe=He.size,Ye=[],ot=mt;tt&&Xe>0&&ot>=0;)Ye.push(Je.slice(ot*D,ot*D+D)),Xe-=D,ot=CA(tt,4*ot);return Ye.length===0?Ir(0):Jo(Ye).slice(0,He.size)}function y(He,Je,tt,mt,Xe){var Ye=T;if(He===T){if(Je!==0)throw new Error("DIFAT chain shorter than expected")}else if(He!==-1){var ot=tt[He],yt=(mt>>>2)-1;if(!ot)return;for(var Mt=0;Mt<yt&&(Ye=CA(ot,4*Mt))!==T;++Mt)Xe.push(Ye);y(CA(ot,mt-4),Je-1,tt,mt,Xe)}}function b(He,Je,tt,mt,Xe){var Ye=[],ot=[];Xe||(Xe=[]);var yt=mt-1,Mt=0,cr=0;for(Mt=Je;Mt>=0;){Xe[Mt]=!0,Ye[Ye.length]=Mt,ot.push(He[Mt]);var $t=tt[Math.floor(4*Mt/mt)];if(mt<4+(cr=4*Mt&yt))throw new Error("FAT boundary crossed: "+Mt+" 4 "+mt);if(!He[$t])break;Mt=CA(He[$t],cr)}return{nodes:Ye,data:dI([ot])}}function I(He,Je){return new Date(1e3*(xc(He,Je+4)/1e7*Math.pow(2,32)+xc(He,Je)/1e7-11644473600))}function E(He,Je){var tt=Je||{},mt=tt.root||"Root Entry";if(He.FullPaths||(He.FullPaths=[]),He.FileIndex||(He.FileIndex=[]),He.FullPaths.length!==He.FileIndex.length)throw new Error("inconsistent CFB structure");He.FullPaths.length===0&&(He.FullPaths[0]=mt+"/",He.FileIndex[0]={name:mt,type:5}),tt.CLSID&&(He.FileIndex[0].clsid=tt.CLSID),function(Xe){var Ye="Sh33tJ5";if(!ai.find(Xe,"/"+Ye)){var ot=Ir(4);ot[0]=55,ot[1]=ot[3]=50,ot[2]=54,Xe.FileIndex.push({name:Ye,type:2,content:ot,size:4,L:69,R:69,C:69}),Xe.FullPaths.push(Xe.FullPaths[0]+Ye),B(Xe)}}(He)}function B(He,Je){E(He);for(var tt=!1,mt=!1,Xe=He.FullPaths.length-1;Xe>=0;--Xe){var Ye=He.FileIndex[Xe];switch(Ye.type){case 0:mt?tt=!0:(He.FileIndex.pop(),He.FullPaths.pop());break;case 1:case 2:case 5:mt=!0,isNaN(Ye.R*Ye.L*Ye.C)&&(tt=!0),Ye.R>-1&&Ye.L>-1&&Ye.R==Ye.L&&(tt=!0);break;default:tt=!0}}if(tt||Je){var ot=new Date(1987,1,19),yt=0,Mt=Object.create?Object.create(null):{},cr=[];for(Xe=0;Xe<He.FullPaths.length;++Xe)Mt[He.FullPaths[Xe]]=!0,He.FileIndex[Xe].type!==0&&cr.push([He.FullPaths[Xe],He.FileIndex[Xe]]);for(Xe=0;Xe<cr.length;++Xe){var $t=u(cr[Xe][0]);(mt=Mt[$t])||(cr.push([$t,{name:h($t).replace("/",""),type:1,clsid:H,ct:ot,mt:ot,content:null}]),Mt[$t]=!0)}for(cr.sort(function(sr,Yr){return function(Mr,Dr){for(var nn=Mr.split("/"),Sr=Dr.split("/"),tn=0,Cn=0,Jn=Math.min(nn.length,Sr.length);tn<Jn;++tn){if(Cn=nn[tn].length-Sr[tn].length)return Cn;if(nn[tn]!=Sr[tn])return nn[tn]<Sr[tn]?-1:1}return nn.length-Sr.length}(sr[0],Yr[0])}),He.FullPaths=[],He.FileIndex=[],Xe=0;Xe<cr.length;++Xe)He.FullPaths[Xe]=cr[Xe][0],He.FileIndex[Xe]=cr[Xe][1];for(Xe=0;Xe<cr.length;++Xe){var Hr=He.FileIndex[Xe],mr=He.FullPaths[Xe];if(Hr.name=h(mr).replace("/",""),Hr.L=Hr.R=Hr.C=-(Hr.color=1),Hr.size=Hr.content?Hr.content.length:0,Hr.start=0,Hr.clsid=Hr.clsid||H,Xe===0)Hr.C=cr.length>1?1:-1,Hr.size=0,Hr.type=5;else if(mr.slice(-1)=="/"){for(yt=Xe+1;yt<cr.length&&u(He.FullPaths[yt])!=mr;++yt);for(Hr.C=yt>=cr.length?-1:yt,yt=Xe+1;yt<cr.length&&u(He.FullPaths[yt])!=u(mr);++yt);Hr.R=yt>=cr.length?-1:yt,Hr.type=1}else u(He.FullPaths[Xe+1]||"")==u(mr)&&(Hr.R=Xe+1),Hr.type=2}}}function S(He,Je){var tt=Je||{};if(tt.fileType=="mad")return function(sr,Yr){for(var Mr=Yr||{},Dr=Mr.boundary||"SheetJS",nn=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(Dr="------="+Dr).slice(2)+'"',"","",""],Sr=sr.FullPaths[0],tn=Sr,Cn=sr.FileIndex[0],Jn=1;Jn<sr.FullPaths.length;++Jn)if(tn=sr.FullPaths[Jn].slice(Sr.length),(Cn=sr.FileIndex[Jn]).size&&Cn.content&&tn!="Sh33tJ5"){tn=tn.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(Dn){return"_x"+Dn.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(Dn){return"_u"+Dn.charCodeAt(0).toString(16)+"_"});for(var Rr=Cn.content,An=ki&&Buffer.isBuffer(Rr)?Rr.toString("binary"):V(Rr),dn=0,br=Math.min(1024,An.length),gn=0,wn=0;wn<=br;++wn)(gn=An.charCodeAt(wn))>=32&&gn<128&&++dn;var kn=dn>=4*br/5;nn.push(Dr),nn.push("Content-Location: "+(Mr.root||"file:///C:/SheetJS/")+tn),nn.push("Content-Transfer-Encoding: "+(kn?"quoted-printable":"base64")),nn.push("Content-Type: "+Ft(Cn,tn)),nn.push(""),nn.push(kn?$e(An):Ze(An))}return nn.push(Dr+`--\r
  94. `),nn.join(`\r
  95. `)}(He,tt);if(B(He),tt.fileType==="zip")return function(sr,Yr){var Mr=Yr||{},Dr=[],nn=[],Sr=Ir(1),tn=Mr.compression?8:0,Cn=0,Jn=0,Rr=0,An=0,dn=0,br=sr.FullPaths[0],gn=br,wn=sr.FileIndex[0],kn=[],Dn=0;for(Jn=1;Jn<sr.FullPaths.length;++Jn)if(gn=sr.FullPaths[Jn].slice(br.length),(wn=sr.FileIndex[Jn]).size&&wn.content&&gn!="Sh33tJ5"){var oi=An,Kr=Ir(gn.length);for(Rr=0;Rr<gn.length;++Rr)Kr.write_shift(1,127&gn.charCodeAt(Rr));Kr=Kr.slice(0,Kr.l),kn[dn]=Sw.buf(wn.content,0);var On=wn.content;tn==8&&(On=te(On)),(Sr=Ir(30)).write_shift(4,67324752),Sr.write_shift(2,20),Sr.write_shift(2,Cn),Sr.write_shift(2,tn),wn.mt?d(Sr,wn.mt):Sr.write_shift(4,0),Sr.write_shift(-4,kn[dn]),Sr.write_shift(4,On.length),Sr.write_shift(4,wn.content.length),Sr.write_shift(2,Kr.length),Sr.write_shift(2,0),An+=Sr.length,Dr.push(Sr),An+=Kr.length,Dr.push(Kr),An+=On.length,Dr.push(On),(Sr=Ir(46)).write_shift(4,33639248),Sr.write_shift(2,0),Sr.write_shift(2,20),Sr.write_shift(2,Cn),Sr.write_shift(2,tn),Sr.write_shift(4,0),Sr.write_shift(-4,kn[dn]),Sr.write_shift(4,On.length),Sr.write_shift(4,wn.content.length),Sr.write_shift(2,Kr.length),Sr.write_shift(2,0),Sr.write_shift(2,0),Sr.write_shift(2,0),Sr.write_shift(2,0),Sr.write_shift(4,0),Sr.write_shift(4,oi),Dn+=Sr.l,nn.push(Sr),Dn+=Kr.length,nn.push(Kr),++dn}return Sr=Ir(22),Sr.write_shift(4,101010256),Sr.write_shift(2,0),Sr.write_shift(2,0),Sr.write_shift(2,dn),Sr.write_shift(2,dn),Sr.write_shift(4,Dn),Sr.write_shift(4,An),Sr.write_shift(2,0),Jo([Jo(Dr),Jo(nn),Sr])}(He,tt);var mt=function(sr){for(var Yr=0,Mr=0,Dr=0;Dr<sr.FileIndex.length;++Dr){var nn=sr.FileIndex[Dr];if(nn.content){var Sr=nn.content.length;Sr>0&&(Sr<4096?Yr+=Sr+63>>6:Mr+=Sr+511>>9)}}for(var tn=sr.FullPaths.length+3>>2,Cn=Yr+127>>7,Jn=(Yr+7>>3)+Mr+tn+Cn,Rr=Jn+127>>7,An=Rr<=109?0:Math.ceil((Rr-109)/127);Jn+Rr+An+127>>7>Rr;)An=++Rr<=109?0:Math.ceil((Rr-109)/127);var dn=[1,An,Rr,Cn,tn,Mr,Yr,0];return sr.FileIndex[0].size=Yr<<6,dn[7]=(sr.FileIndex[0].start=dn[0]+dn[1]+dn[2]+dn[3]+dn[4]+dn[5])+(dn[6]+7>>3),dn}(He),Xe=Ir(mt[7]<<9),Ye=0,ot=0;for(Ye=0;Ye<8;++Ye)Xe.write_shift(1,N[Ye]);for(Ye=0;Ye<8;++Ye)Xe.write_shift(2,0);for(Xe.write_shift(2,62),Xe.write_shift(2,3),Xe.write_shift(2,65534),Xe.write_shift(2,9),Xe.write_shift(2,6),Ye=0;Ye<3;++Ye)Xe.write_shift(2,0);for(Xe.write_shift(4,0),Xe.write_shift(4,mt[2]),Xe.write_shift(4,mt[0]+mt[1]+mt[2]+mt[3]-1),Xe.write_shift(4,0),Xe.write_shift(4,4096),Xe.write_shift(4,mt[3]?mt[0]+mt[1]+mt[2]-1:T),Xe.write_shift(4,mt[3]),Xe.write_shift(-4,mt[1]?mt[0]-1:T),Xe.write_shift(4,mt[1]),Ye=0;Ye<109;++Ye)Xe.write_shift(-4,Ye<mt[2]?mt[1]+Ye:-1);if(mt[1])for(ot=0;ot<mt[1];++ot){for(;Ye<236+127*ot;++Ye)Xe.write_shift(-4,Ye<mt[2]?mt[1]+Ye:-1);Xe.write_shift(-4,ot===mt[1]-1?T:ot+1)}var yt=function(sr){for(ot+=sr;Ye<ot-1;++Ye)Xe.write_shift(-4,Ye+1);sr&&(++Ye,Xe.write_shift(-4,T))};for(ot=Ye=0,ot+=mt[1];Ye<ot;++Ye)Xe.write_shift(-4,W.DIFSECT);for(ot+=mt[2];Ye<ot;++Ye)Xe.write_shift(-4,W.FATSECT);yt(mt[3]),yt(mt[4]);for(var Mt=0,cr=0,$t=He.FileIndex[0];Mt<He.FileIndex.length;++Mt)($t=He.FileIndex[Mt]).content&&((cr=$t.content.length)<4096||($t.start=ot,yt(cr+511>>9)));for(yt(mt[6]+7>>3);511&Xe.l;)Xe.write_shift(-4,W.ENDOFCHAIN);for(ot=Ye=0,Mt=0;Mt<He.FileIndex.length;++Mt)($t=He.FileIndex[Mt]).content&&(!(cr=$t.content.length)||cr>=4096||($t.start=ot,yt(cr+63>>6)));for(;511&Xe.l;)Xe.write_shift(-4,W.ENDOFCHAIN);for(Ye=0;Ye<mt[4]<<2;++Ye){var Hr=He.FullPaths[Ye];if(Hr&&Hr.length!==0){$t=He.FileIndex[Ye],Ye===0&&($t.start=$t.size?$t.start-1:T);var mr=Ye===0&&tt.root||$t.name;if(cr=2*(mr.length+1),Xe.write_shift(64,mr,"utf16le"),Xe.write_shift(2,cr),Xe.write_shift(1,$t.type),Xe.write_shift(1,$t.color),Xe.write_shift(-4,$t.L),Xe.write_shift(-4,$t.R),Xe.write_shift(-4,$t.C),$t.clsid)Xe.write_shift(16,$t.clsid,"hex");else for(Mt=0;Mt<4;++Mt)Xe.write_shift(4,0);Xe.write_shift(4,$t.state||0),Xe.write_shift(4,0),Xe.write_shift(4,0),Xe.write_shift(4,0),Xe.write_shift(4,0),Xe.write_shift(4,$t.start),Xe.write_shift(4,$t.size),Xe.write_shift(4,0)}else{for(Mt=0;Mt<17;++Mt)Xe.write_shift(4,0);for(Mt=0;Mt<3;++Mt)Xe.write_shift(4,-1);for(Mt=0;Mt<12;++Mt)Xe.write_shift(4,0)}}for(Ye=1;Ye<He.FileIndex.length;++Ye)if(($t=He.FileIndex[Ye]).size>=4096)if(Xe.l=$t.start+1<<9,ki&&Buffer.isBuffer($t.content))$t.content.copy(Xe,Xe.l,0,$t.size),Xe.l+=$t.size+511&-512;else{for(Mt=0;Mt<$t.size;++Mt)Xe.write_shift(1,$t.content[Mt]);for(;511&Mt;++Mt)Xe.write_shift(1,0)}for(Ye=1;Ye<He.FileIndex.length;++Ye)if(($t=He.FileIndex[Ye]).size>0&&$t.size<4096)if(ki&&Buffer.isBuffer($t.content))$t.content.copy(Xe,Xe.l,0,$t.size),Xe.l+=$t.size+63&-64;else{for(Mt=0;Mt<$t.size;++Mt)Xe.write_shift(1,$t.content[Mt]);for(;63&Mt;++Mt)Xe.write_shift(1,0)}if(ki)Xe.l=Xe.length;else for(;Xe.l<Xe.length;)Xe.write_shift(1,0);return Xe}c.version="1.2.1";var _,D=64,T=-2,F="d0cf11e0a1b11ae1",N=[208,207,17,224,161,177,26,225],H="00000000000000000000000000000000",W={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:T,FREESECT:-1,HEADER_SIGNATURE:F,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:H,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function V(He){for(var Je=new Array(He.length),tt=0;tt<He.length;++tt)Je[tt]=String.fromCharCode(He[tt]);return Je.join("")}function te(He){return _?_.deflateRawSync(He):je(He)}for(var ue=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],fe=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],de=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],Ae,we,Z=typeof Uint8Array<"u",ne=Z?new Uint8Array(256):[],j=0;j<256;++j)ne[j]=(we=void 0,255&((we=139536&((Ae=j)<<1|Ae<<11)|558144&(Ae<<5|Ae<<15))>>16|we>>8|we));function J(He,Je){var tt=ne[255&He];return Je<=8?tt>>>8-Je:(tt=tt<<8|ne[He>>8&255],Je<=16?tt>>>16-Je:(tt=tt<<8|ne[He>>16&255])>>>24-Je)}function q(He,Je){var tt=7&Je,mt=Je>>>3;return(He[mt]|(tt<=6?0:He[mt+1]<<8))>>>tt&3}function z(He,Je){var tt=7&Je,mt=Je>>>3;return(He[mt]|(tt<=5?0:He[mt+1]<<8))>>>tt&7}function X(He,Je){var tt=7&Je,mt=Je>>>3;return(He[mt]|(tt<=3?0:He[mt+1]<<8))>>>tt&31}function se(He,Je){var tt=7&Je,mt=Je>>>3;return(He[mt]|(tt<=1?0:He[mt+1]<<8))>>>tt&127}function oe(He,Je,tt){var mt=7&Je,Xe=Je>>>3,Ye=(1<<tt)-1,ot=He[Xe]>>>mt;return tt<8-mt?ot&Ye:(ot|=He[Xe+1]<<8-mt,tt<16-mt?ot&Ye:(ot|=He[Xe+2]<<16-mt,tt<24-mt?ot&Ye:(ot|=He[Xe+3]<<24-mt)&Ye))}function ye(He,Je,tt){var mt=7&Je,Xe=Je>>>3;return mt<=5?He[Xe]|=(7&tt)<<mt:(He[Xe]|=tt<<mt&255,He[Xe+1]=(7&tt)>>8-mt),Je+3}function ae(He,Je,tt){return tt=(1&tt)<<(7&Je),He[Je>>>3]|=tt,Je+1}function me(He,Je,tt){var mt=Je>>>3;return tt<<=7&Je,He[mt]|=255&tt,tt>>>=8,He[mt+1]=tt,Je+8}function Fe(He,Je,tt){var mt=Je>>>3;return tt<<=7&Je,He[mt]|=255&tt,tt>>>=8,He[mt+1]=255&tt,He[mt+2]=tt>>>8,Je+16}function _e(He,Je){var tt=He.length,mt=2*tt>Je?2*tt:Je+5,Xe=0;if(tt>=Je)return He;if(ki){var Ye=Ay(mt);if(He.copy)He.copy(Ye);else for(;Xe<He.length;++Xe)Ye[Xe]=He[Xe];return Ye}if(Z){var ot=new Uint8Array(mt);if(ot.set)ot.set(He);else for(;Xe<tt;++Xe)ot[Xe]=He[Xe];return ot}return He.length=mt,He}function rt(He){for(var Je=new Array(He),tt=0;tt<He;++tt)Je[tt]=0;return Je}function et(He,Je,tt){var mt=1,Xe=0,Ye=0,ot=0,yt=0,Mt=He.length,cr=Z?new Uint16Array(32):rt(32);for(Ye=0;Ye<32;++Ye)cr[Ye]=0;for(Ye=Mt;Ye<tt;++Ye)He[Ye]=0;Mt=He.length;var $t=Z?new Uint16Array(Mt):rt(Mt);for(Ye=0;Ye<Mt;++Ye)cr[Xe=He[Ye]]++,mt<Xe&&(mt=Xe),$t[Ye]=0;for(cr[0]=0,Ye=1;Ye<=mt;++Ye)cr[Ye+16]=yt=yt+cr[Ye-1]<<1;for(Ye=0;Ye<Mt;++Ye)(yt=He[Ye])!=0&&($t[Ye]=cr[yt+16]++);var Hr=0;for(Ye=0;Ye<Mt;++Ye)if((Hr=He[Ye])!=0)for(yt=J($t[Ye],mt)>>mt-Hr,ot=(1<<mt+4-Hr)-1;ot>=0;--ot)Je[yt|ot<<Hr]=15&Hr|Ye<<4;return mt}var st=Z?new Uint16Array(512):rt(512),Ge=Z?new Uint16Array(32):rt(32);if(!Z){for(var Be=0;Be<512;++Be)st[Be]=0;for(Be=0;Be<32;++Be)Ge[Be]=0}(function(){for(var He=[],Je=0;Je<32;Je++)He.push(5);et(He,Ge,32);var tt=[];for(Je=0;Je<=143;Je++)tt.push(8);for(;Je<=255;Je++)tt.push(9);for(;Je<=279;Je++)tt.push(7);for(;Je<=287;Je++)tt.push(8);et(tt,st,288)})();var Te=function(){for(var He=Z?new Uint8Array(32768):[],Je=0,tt=0;Je<de.length-1;++Je)for(;tt<de[Je+1];++tt)He[tt]=Je;for(;tt<32768;++tt)He[tt]=29;var mt=Z?new Uint8Array(259):[];for(Je=0,tt=0;Je<fe.length-1;++Je)for(;tt<fe[Je+1];++tt)mt[tt]=Je;return function(Xe,Ye){return Xe.length<8?function(ot,yt){for(var Mt=0;Mt<ot.length;){var cr=Math.min(65535,ot.length-Mt),$t=Mt+cr==ot.length;for(yt.write_shift(1,+$t),yt.write_shift(2,cr),yt.write_shift(2,65535&~cr);cr-- >0;)yt[yt.l++]=ot[Mt++]}return yt.l}(Xe,Ye):function(ot,yt){for(var Mt=0,cr=0,$t=Z?new Uint16Array(32768):[];cr<ot.length;){var Hr=Math.min(65535,ot.length-cr);if(Hr<10){for(7&(Mt=ye(yt,Mt,+(cr+Hr==ot.length)))&&(Mt+=8-(7&Mt)),yt.l=Mt/8|0,yt.write_shift(2,Hr),yt.write_shift(2,65535&~Hr);Hr-- >0;)yt[yt.l++]=ot[cr++];Mt=8*yt.l}else{Mt=ye(yt,Mt,+(cr+Hr==ot.length)+2);for(var mr=0;Hr-- >0;){var sr=ot[cr],Yr=-1,Mr=0;if((Yr=$t[mr=32767&(mr<<5^sr)])&&((Yr|=-32768&cr)>cr&&(Yr-=32768),Yr<cr))for(;ot[Yr+Mr]==ot[cr+Mr]&&Mr<250;)++Mr;if(Mr>2){(sr=mt[Mr])<=22?Mt=me(yt,Mt,ne[sr+1]>>1)-1:(me(yt,Mt,3),me(yt,Mt+=5,ne[sr-23]>>5),Mt+=3);var Dr=sr<8?0:sr-4>>2;Dr>0&&(Fe(yt,Mt,Mr-fe[sr]),Mt+=Dr),sr=He[cr-Yr],Mt=me(yt,Mt,ne[sr]>>3),Mt-=3;var nn=sr<4?0:sr-2>>1;nn>0&&(Fe(yt,Mt,cr-Yr-de[sr]),Mt+=nn);for(var Sr=0;Sr<Mr;++Sr)$t[mr]=32767&cr,mr=32767&(mr<<5^ot[cr]),++cr;Hr-=Mr-1}else sr<=143?sr+=48:Mt=ae(yt,Mt,1),Mt=me(yt,Mt,ne[sr]),$t[mr]=32767&cr,++cr}Mt=me(yt,Mt,0)-1}}return yt.l=(Mt+7)/8|0,yt.l}(Xe,Ye)}}();function je(He){var Je=Ir(50+Math.floor(1.1*He.length)),tt=Te(He,Je);return Je.slice(0,tt)}var lt=Z?new Uint16Array(32768):rt(32768),Me=Z?new Uint16Array(32768):rt(32768),Ke=Z?new Uint16Array(128):rt(128),Rt=1,Ie=1;function Re(He,Je){var tt=X(He,Je)+257,mt=X(He,Je+=5)+1,Xe=function(tn,Cn){var Jn=7&Cn,Rr=Cn>>>3;return(tn[Rr]|(Jn<=4?0:tn[Rr+1]<<8))>>>Jn&15}(He,Je+=5)+4;Je+=4;for(var Ye=0,ot=Z?new Uint8Array(19):rt(19),yt=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Mt=1,cr=Z?new Uint8Array(8):rt(8),$t=Z?new Uint8Array(8):rt(8),Hr=ot.length,mr=0;mr<Xe;++mr)ot[ue[mr]]=Ye=z(He,Je),Mt<Ye&&(Mt=Ye),cr[Ye]++,Je+=3;var sr=0;for(cr[0]=0,mr=1;mr<=Mt;++mr)$t[mr]=sr=sr+cr[mr-1]<<1;for(mr=0;mr<Hr;++mr)(sr=ot[mr])!=0&&(yt[mr]=$t[sr]++);var Yr=0;for(mr=0;mr<Hr;++mr)if((Yr=ot[mr])!=0){sr=ne[yt[mr]]>>8-Yr;for(var Mr=(1<<7-Yr)-1;Mr>=0;--Mr)Ke[sr|Mr<<Yr]=7&Yr|mr<<3}var Dr=[];for(Mt=1;Dr.length<tt+mt;)switch(Je+=7&(sr=Ke[se(He,Je)]),sr>>>=3){case 16:for(Ye=3+q(He,Je),Je+=2,sr=Dr[Dr.length-1];Ye-- >0;)Dr.push(sr);break;case 17:for(Ye=3+z(He,Je),Je+=3;Ye-- >0;)Dr.push(0);break;case 18:for(Ye=11+se(He,Je),Je+=7;Ye-- >0;)Dr.push(0);break;default:Dr.push(sr),Mt<sr&&(Mt=sr)}var nn=Dr.slice(0,tt),Sr=Dr.slice(tt);for(mr=tt;mr<286;++mr)nn[mr]=0;for(mr=mt;mr<30;++mr)Sr[mr]=0;return Rt=et(nn,lt,286),Ie=et(Sr,Me,30),Je}function qe(He,Je){var tt=function(mt,Xe){if(mt[0]==3&&!(3&mt[1]))return[AA(Xe),2];for(var Ye=0,ot=0,yt=Ay(Xe||262144),Mt=0,cr=yt.length>>>0,$t=0,Hr=0;!(1&ot);)if(ot=z(mt,Ye),Ye+=3,ot>>>1!=0)for(ot>>1==1?($t=9,Hr=5):(Ye=Re(mt,Ye),$t=Rt,Hr=Ie);;){!Xe&&cr<Mt+32767&&(cr=(yt=_e(yt,Mt+32767)).length);var mr=oe(mt,Ye,$t),sr=ot>>>1==1?st[mr]:lt[mr];if(Ye+=15&sr,(sr>>>=4)>>>8&255){if(sr==256)break;var Yr=(sr-=257)<8?0:sr-4>>2;Yr>5&&(Yr=0);var Mr=Mt+fe[sr];Yr>0&&(Mr+=oe(mt,Ye,Yr),Ye+=Yr),mr=oe(mt,Ye,Hr),Ye+=15&(sr=ot>>>1==1?Ge[mr]:Me[mr]);var Dr=(sr>>>=4)<4?0:sr-2>>1,nn=de[sr];for(Dr>0&&(nn+=oe(mt,Ye,Dr),Ye+=Dr),!Xe&&cr<Mr&&(cr=(yt=_e(yt,Mr+100)).length);Mt<Mr;)yt[Mt]=yt[Mt-nn],++Mt}else yt[Mt++]=sr}else{7&Ye&&(Ye+=8-(7&Ye));var Sr=mt[Ye>>>3]|mt[1+(Ye>>>3)]<<8;if(Ye+=32,Sr>0)for(!Xe&&cr<Mt+Sr&&(cr=(yt=_e(yt,Mt+Sr)).length);Sr-- >0;)yt[Mt++]=mt[Ye>>>3],Ye+=8}return Xe?[yt,Ye+7>>>3]:[yt.slice(0,Mt),Ye+7>>>3]}(He.slice(He.l||0),Je);return He.l+=tt[1],tt[0]}function pt(He,Je){if(!He)throw new Error(Je);typeof console<"u"&&console.error(Je)}function Lt(He,Je){var tt=He;lu(tt,0);var mt={FileIndex:[],FullPaths:[]};E(mt,{root:Je.root});for(var Xe=tt.length-4;(tt[Xe]!=80||tt[Xe+1]!=75||tt[Xe+2]!=5||tt[Xe+3]!=6)&&Xe>=0;)--Xe;tt.l=Xe+4,tt.l+=4;var Ye=tt.read_shift(2);tt.l+=6;var ot=tt.read_shift(4);for(tt.l=ot,Xe=0;Xe<Ye;++Xe){tt.l+=20;var yt=tt.read_shift(4),Mt=tt.read_shift(4),cr=tt.read_shift(2),$t=tt.read_shift(2),Hr=tt.read_shift(2);tt.l+=8;var mr=tt.read_shift(4),sr=p(tt.slice(tt.l+cr,tt.l+cr+$t));tt.l+=cr+$t+Hr;var Yr=tt.l;tt.l=mr+4,Qe(tt,yt,Mt,mt,sr),tt.l=Yr}return mt}function Qe(He,Je,tt,mt,Xe){He.l+=2;var Ye=He.read_shift(2),ot=He.read_shift(2),yt=function(nn){var Sr=65535&nn.read_shift(2),tn=65535&nn.read_shift(2),Cn=new Date,Jn=31&tn,Rr=15&(tn>>>=5);tn>>>=4,Cn.setMilliseconds(0),Cn.setFullYear(tn+1980),Cn.setMonth(Rr-1),Cn.setDate(Jn);var An=31&Sr,dn=63&(Sr>>>=5);return Sr>>>=6,Cn.setHours(Sr),Cn.setMinutes(dn),Cn.setSeconds(An<<1),Cn}(He);if(8257&Ye)throw new Error("Unsupported ZIP encryption");He.read_shift(4);for(var Mt=He.read_shift(4),cr=He.read_shift(4),$t=He.read_shift(2),Hr=He.read_shift(2),mr="",sr=0;sr<$t;++sr)mr+=String.fromCharCode(He[He.l++]);if(Hr){var Yr=p(He.slice(He.l,He.l+Hr));(Yr[21589]||{}).mt&&(yt=Yr[21589].mt),((Xe||{})[21589]||{}).mt&&(yt=Xe[21589].mt)}He.l+=Hr;var Mr=He.slice(He.l,He.l+Mt);switch(ot){case 8:Mr=function(nn,Sr){if(!_)return qe(nn,Sr);var tn=new _.InflateRaw,Cn=tn._processChunk(nn.slice(nn.l),tn._finishFlushFlag);return nn.l+=tn.bytesRead,Cn}(He,cr);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+ot)}var Dr=!1;8&Ye&&(He.read_shift(4)==134695760&&(He.read_shift(4),Dr=!0),Mt=He.read_shift(4),cr=He.read_shift(4)),Mt!=Je&&pt(Dr,"Bad compressed size: "+Je+" != "+Mt),cr!=tt&&pt(Dr,"Bad uncompressed size: "+tt+" != "+cr),Ot(mt,mr,Mr,{unsafe:!0,mt:yt})}var _t={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Ft(He,Je){if(He.ctype)return He.ctype;var tt=He.name||"",mt=tt.match(/\.([^\.]+)$/);return mt&&_t[mt[1]]||Je&&(mt=(tt=Je).match(/[\.\\]([^\.\\])+$/))&&_t[mt[1]]?_t[mt[1]]:"application/octet-stream"}function Ze(He){for(var Je=jr(He),tt=[],mt=0;mt<Je.length;mt+=76)tt.push(Je.slice(mt,mt+76));return tt.join(`\r
  96. `)+`\r
  97. `}function $e(He){var Je=He.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(cr){var $t=cr.charCodeAt(0).toString(16).toUpperCase();return"="+($t.length==1?"0"+$t:$t)});(Je=Je.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)==`
  98. `&&(Je="=0D"+Je.slice(1));for(var tt=[],mt=(Je=Je.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,`
  99. =0A`).replace(/([^\r\n])\n/gm,"$1=0A")).split(`\r
  100. `),Xe=0;Xe<mt.length;++Xe){var Ye=mt[Xe];if(Ye.length!=0)for(var ot=0;ot<Ye.length;){var yt=76,Mt=Ye.slice(ot,ot+yt);Mt.charAt(yt-1)=="="?yt--:Mt.charAt(yt-2)=="="?yt-=2:Mt.charAt(yt-3)=="="&&(yt-=3),Mt=Ye.slice(ot,ot+yt),(ot+=yt)<Ye.length&&(Mt+="="),tt.push(Mt)}else tt.push("")}return tt.join(`\r
  101. `)}function nt(He,Je,tt){for(var mt,Xe="",Ye="",ot="",yt=0;yt<10;++yt){var Mt=Je[yt];if(!Mt||Mt.match(/^\s*$/))break;var cr=Mt.match(/^(.*?):\s*([^\s].*)$/);if(cr)switch(cr[1].toLowerCase()){case"content-location":Xe=cr[2].trim();break;case"content-type":ot=cr[2].trim();break;case"content-transfer-encoding":Ye=cr[2].trim()}}switch(++yt,Ye.toLowerCase()){case"base64":mt=Zc(Ra(Je.slice(yt).join("")));break;case"quoted-printable":mt=function(Hr){for(var mr=[],sr=0;sr<Hr.length;++sr){for(var Yr=Hr[sr];sr<=Hr.length&&Yr.charAt(Yr.length-1)=="=";)Yr=Yr.slice(0,Yr.length-1)+Hr[++sr];mr.push(Yr)}for(var Mr=0;Mr<mr.length;++Mr)mr[Mr]=mr[Mr].replace(/[=][0-9A-Fa-f]{2}/g,function(Dr){return String.fromCharCode(parseInt(Dr.slice(1),16))});return Zc(mr.join(`\r
  102. `))}(Je.slice(yt));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+Ye)}var $t=Ot(He,Xe.slice(tt.length),mt,{unsafe:!0});ot&&($t.ctype=ot)}function Ot(He,Je,tt,mt){var Xe=mt&&mt.unsafe;Xe||E(He);var Ye=!Xe&&ai.find(He,Je);if(!Ye){var ot=He.FullPaths[0];Je.slice(0,ot.length)==ot?ot=Je:(ot.slice(-1)!="/"&&(ot+="/"),ot=(ot+Je).replace("//","/")),Ye={name:h(Je),type:2},He.FileIndex.push(Ye),He.FullPaths.push(ot),Xe||ai.utils.cfb_gc(He)}return Ye.content=tt,Ye.size=tt?tt.length:0,mt&&(mt.CLSID&&(Ye.clsid=mt.CLSID),mt.mt&&(Ye.mt=mt.mt),mt.ct&&(Ye.ct=mt.ct)),Ye}return c.find=function(He,Je){var tt=He.FullPaths.map(function(Mt){return Mt.toUpperCase()}),mt=tt.map(function(Mt){var cr=Mt.split("/");return cr[cr.length-(Mt.slice(-1)=="/"?2:1)]}),Xe=!1;Je.charCodeAt(0)===47?(Xe=!0,Je=tt[0].slice(0,-1)+Je):Xe=Je.indexOf("/")!==-1;var Ye=Je.toUpperCase(),ot=Xe===!0?tt.indexOf(Ye):mt.indexOf(Ye);if(ot!==-1)return He.FileIndex[ot];var yt=!Ye.match(Bc);for(Ye=Ye.replace(sc,""),yt&&(Ye=Ye.replace(Bc,"!")),ot=0;ot<tt.length;++ot)if((yt?tt[ot].replace(Bc,"!"):tt[ot]).replace(sc,"")==Ye||(yt?mt[ot].replace(Bc,"!"):mt[ot]).replace(sc,"")==Ye)return He.FileIndex[ot];return null},c.read=function(He,Je){var tt=Je&&Je.type;switch(tt||ki&&Buffer.isBuffer(He)&&(tt="buffer"),tt||"base64"){case"file":return function(mt,Xe){return g(),A(a.readFileSync(mt),Xe)}(He,Je);case"base64":return A(Zc(Ra(He)),Je);case"binary":return A(Zc(He),Je)}return A(He,Je)},c.parse=A,c.write=function(He,Je){var tt=S(He,Je);switch(Je&&Je.type||"buffer"){case"file":return g(),a.writeFileSync(Je.filename,tt),tt;case"binary":return typeof tt=="string"?tt:V(tt);case"base64":return jr(typeof tt=="string"?tt:V(tt));case"buffer":if(ki)return Buffer.isBuffer(tt)?tt:uu(tt);case"array":return typeof tt=="string"?Zc(tt):tt}return tt},c.writeFile=function(He,Je,tt){g();var mt=S(He,tt);a.writeFileSync(Je,mt)},c.utils={cfb_new:function(He){var Je={};return E(Je,He),Je},cfb_add:Ot,cfb_del:function(He,Je){E(He);var tt=ai.find(He,Je);if(tt){for(var mt=0;mt<He.FileIndex.length;++mt)if(He.FileIndex[mt]==tt)return He.FileIndex.splice(mt,1),He.FullPaths.splice(mt,1),!0}return!1},cfb_mov:function(He,Je,tt){E(He);var mt=ai.find(He,Je);if(mt){for(var Xe=0;Xe<He.FileIndex.length;++Xe)if(He.FileIndex[Xe]==mt)return He.FileIndex[Xe].name=h(tt),He.FullPaths[Xe]=tt,!0}return!1},cfb_gc:function(He){B(He,!0)},ReadShift:Mn,CheckField:vI,prep_blob:lu,bconcat:Jo,use_zlib:function(He){try{var Je=new He.InflateRaw;if(Je._processChunk(new Uint8Array([3,0]),Je._finishFlushFlag),!Je.bytesRead)throw new Error("zlib does not expose bytesRead");_=He}catch(tt){console.error("cannot use native zlib: "+(tt.message||tt))}},_deflateRaw:je,_inflateRaw:qe,consts:W},c}();function Rd(a){return typeof a=="string"?dy(a):Array.isArray(a)?function(c){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(c)}(a):a}function fp(a,c,u){if(typeof Deno<"u"){if(u&&typeof c=="string")switch(u){case"utf8":c=new TextEncoder(u).encode(c);break;case"binary":c=dy(c);break;default:throw new Error("Unsupported encoding "+u)}return Deno.writeFileSync(a,c)}var h=u=="utf8"?Dh(c):c;if(typeof IE_SaveFile<"u")return IE_SaveFile(h,a);if(typeof Blob<"u"){var d=new Blob([Rd(h)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(d,a);if(typeof saveAs<"u")return saveAs(d,a);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var p=URL.createObjectURL(d);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(p)},6e4),chrome.downloads.download({url:p,filename:a,saveAs:!0});var g=document.createElement("a");if(g.download!=null)return g.download=a,g.href=p,document.body.appendChild(g),g.click(),document.body.removeChild(g),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(p)},6e4),p}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var A=File(a);return A.open("w"),A.encoding="binary",Array.isArray(c)&&(c=Af(c)),A.write(c),A.close(),c}catch(m){if(!m.message||!m.message.match(/onstruct/))throw m}throw new Error("cannot save file "+a)}function to(a){for(var c=Object.keys(a),u=[],h=0;h<c.length;++h)Object.prototype.hasOwnProperty.call(a,c[h])&&u.push(c[h]);return u}function _w(a,c){for(var u=[],h=to(a),d=0;d!==h.length;++d)u[a[h[d]][c]]==null&&(u[a[h[d]][c]]=h[d]);return u}function by(a){for(var c=[],u=to(a),h=0;h!==u.length;++h)c[a[u[h]]]=u[h];return c}function Ap(a){for(var c=[],u=to(a),h=0;h!==u.length;++h)c[a[u[h]]]=parseInt(u[h],10);return c}var i1=new Date(1899,11,30,0,0,0);function Ys(a,c){var u=a.getTime();return(u-(i1.getTime()+6e4*(a.getTimezoneOffset()-i1.getTimezoneOffset())))/864e5}var nI=new Date,m5=i1.getTime()+6e4*(nI.getTimezoneOffset()-i1.getTimezoneOffset()),Dw=nI.getTimezoneOffset();function Cy(a){var c=new Date;return c.setTime(24*a*60*60*1e3+m5),c.getTimezoneOffset()!==Dw&&c.setTime(c.getTime()+6e4*(c.getTimezoneOffset()-Dw)),c}function wy(a){var c=0,u=0,h=!1,d=a.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!d)throw new Error("|"+a+"| is not an ISO8601 Duration");for(var p=1;p!=d.length;++p)if(d[p]){switch(u=1,p>3&&(h=!0),d[p].slice(d[p].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+d[p].slice(d[p].length-1));case"D":u*=24;case"H":u*=60;case"M":if(!h)throw new Error("Unsupported ISO Duration Field: M");u*=60}c+=u*parseInt(d[p],10)}return c}var pA=new Date("2017-02-19T19:06:09.000Z"),Rw=isNaN(pA.getFullYear())?new Date("2/19/17"):pA,I5=Rw.getFullYear()==2017;function Po(a,c){var u=new Date(a);if(I5)return c>0?u.setTime(u.getTime()+60*u.getTimezoneOffset()*1e3):c<0&&u.setTime(u.getTime()-60*u.getTimezoneOffset()*1e3),u;if(a instanceof Date)return a;if(Rw.getFullYear()==1917&&!isNaN(u.getFullYear())){var h=u.getFullYear();return a.indexOf(""+h)>-1||u.setFullYear(u.getFullYear()+100),u}var d=a.match(/\d+/g)||["2017","2","19","0","0","0"],p=new Date(+d[0],+d[1]-1,+d[2],+d[3]||0,+d[4]||0,+d[5]||0);return a.indexOf("Z")>-1&&(p=new Date(p.getTime()-60*p.getTimezoneOffset()*1e3)),p}function pf(a,c){if(ki&&Buffer.isBuffer(a)){if(c){if(a[0]==255&&a[1]==254)return Dh(a.slice(2).toString("utf16le"));if(a[1]==254&&a[2]==255)return Dh(ww(a.slice(2).toString("binary")))}return a.toString("binary")}if(typeof TextDecoder<"u")try{if(c){if(a[0]==255&&a[1]==254)return Dh(new TextDecoder("utf-16le").decode(a.slice(2)));if(a[0]==254&&a[1]==255)return Dh(new TextDecoder("utf-16be").decode(a.slice(2)))}var u={"€":"€","‚":"‚",ƒ:"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰",Š:"Š","‹":"‹",Œ:"Œ",Ž:"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™",š:"š","›":"›",œ:"œ",ž:"ž",Ÿ:"Ÿ"};return Array.isArray(a)&&(a=new Uint8Array(a)),new TextDecoder("latin1").decode(a).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(p){return u[p]||p})}catch{}for(var h=[],d=0;d!=a.length;++d)h.push(String.fromCharCode(a[d]));return h.join("")}function Ro(a){if(typeof JSON<"u"&&!Array.isArray(a))return JSON.parse(JSON.stringify(a));if(typeof a!="object"||a==null)return a;if(a instanceof Date)return new Date(a.getTime());var c={};for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(c[u]=Ro(a[u]));return c}function Go(a,c){for(var u="";u.length<c;)u+=a;return u}function _h(a){var c=Number(a);if(!isNaN(c))return isFinite(c)?c:NaN;if(!/\d/.test(a))return c;var u=1,h=a.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return u*=100,""});return isNaN(c=Number(h))?(h=h.replace(/[(](.*)[)]/,function(d,p){return u=-u,p}),isNaN(c=Number(h))?c:c/u):c/u}var Ey=["january","february","march","april","may","june","july","august","september","october","november","december"];function Md(a){var c=new Date(a),u=new Date(NaN),h=c.getYear(),d=c.getMonth(),p=c.getDate();if(isNaN(p))return u;var g=a.toLowerCase();if(g.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((g=g.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&Ey.indexOf(g)==-1)return u}else if(g.match(/[a-z]/))return u;return h<0||h>8099?u:(d>0||p>1)&&h!=101?c:a.match(/[^-0-9:,\/\\]/)?u:c}var b5=function(){var a="abacaba".split(/(:?b)/i).length==5;return function(c,u,h){if(a||typeof u=="string")return c.split(u);for(var d=c.split(u),p=[d[0]],g=1;g<d.length;++g)p.push(h),p.push(d[g]);return p}}();function iI(a){return a?a.content&&a.type?pf(a.content,!0):a.data?X0(a.data):a.asNodeBuffer&&ki?X0(a.asNodeBuffer().toString("binary")):a.asBinary?X0(a.asBinary()):a._data&&a._data.getContent?X0(pf(Array.prototype.slice.call(a._data.getContent(),0))):null:null}function aI(a){if(!a)return null;if(a.data)return fy(a.data);if(a.asNodeBuffer&&ki)return a.asNodeBuffer();if(a._data&&a._data.getContent){var c=a._data.getContent();return typeof c=="string"?fy(c):Array.prototype.slice.call(c)}return a.content&&a.type?a.content:null}function Bl(a,c){for(var u=a.FullPaths||to(a.files),h=c.toLowerCase().replace(/[\/]/g,"\\"),d=h.replace(/\\/g,"/"),p=0;p<u.length;++p){var g=u[p].replace(/^Root Entry[\/]/,"").toLowerCase();if(h==g||d==g)return a.files?a.files[u[p]]:a.FileIndex[p]}return null}function oI(a,c){var u=Bl(a,c);if(u==null)throw new Error("Cannot find file "+c+" in zip");return u}function Qs(a,c,u){if(!u)return(h=oI(a,c))&&h.name.slice(-4)===".bin"?aI(h):iI(h);var h;if(!c)return null;try{return Qs(a,c)}catch{return null}}function Qc(a,c,u){if(!u)return iI(oI(a,c));if(!c)return null;try{return Qc(a,c)}catch{return null}}function C5(a,c,u){return aI(oI(a,c))}function Mw(a){for(var c=a.FullPaths||to(a.files),u=[],h=0;h<c.length;++h)c[h].slice(-1)!="/"&&u.push(c[h].replace(/^Root Entry[\/]/,""));return u.sort()}function Zi(a,c,u){if(a.FullPaths){var h;if(typeof u=="string")return h=ki?uu(u):function(d){for(var p=[],g=0,A=d.length+250,m=AA(d.length+255),y=0;y<d.length;++y){var b=d.charCodeAt(y);if(b<128)m[g++]=b;else if(b<2048)m[g++]=192|b>>6&31,m[g++]=128|63&b;else if(b>=55296&&b<57344){b=64+(1023&b);var I=1023&d.charCodeAt(++y);m[g++]=240|b>>8&7,m[g++]=128|b>>2&63,m[g++]=128|I>>6&15|(3&b)<<4,m[g++]=128|63&I}else m[g++]=224|b>>12&15,m[g++]=128|b>>6&63,m[g++]=128|63&b;g>A&&(p.push(m.slice(0,g)),g=0,m=AA(65535),A=65530)}return p.push(m.slice(0,g)),Jo(p)}(u),ai.utils.cfb_add(a,c,h);ai.utils.cfb_add(a,c,u)}else a.file(c,u)}function sI(){return ai.utils.cfb_new()}function Fw(a,c){switch(c.type){case"base64":return ai.read(a,{type:"base64"});case"binary":return ai.read(a,{type:"binary"});case"buffer":case"array":return ai.read(a,{type:"buffer"})}throw new Error("Unrecognized type "+c.type)}function a1(a,c){if(a.charAt(0)=="/")return a.slice(1);var u=c.split("/");c.slice(-1)!="/"&&u.pop();for(var h=a.split("/");h.length!==0;){var d=h.shift();d===".."?u.pop():d!=="."&&u.push(d)}return u.join("/")}var ts=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
  103. `,uI=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,vA=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Js=ts.match(vA)?vA:/<[^>]*>/g,Tw=/<\w*:/,Lw=/<(\/?)\w+:/;function ii(a,c,u){for(var h={},d=0,p=0;d!==a.length&&(p=a.charCodeAt(d))!==32&&p!==10&&p!==13;++d);if(c||(h[0]=a.slice(0,d)),d===a.length)return h;var g=a.match(uI),A=0,m="",y=0,b="",I="",E=1;if(g)for(y=0;y!=g.length;++y){for(I=g[y],p=0;p!=I.length&&I.charCodeAt(p)!==61;++p);for(b=I.slice(0,p).trim();I.charCodeAt(p+1)==32;)++p;for(E=(d=I.charCodeAt(p+1))==34||d==39?1:0,m=I.slice(p+1+E,I.length-E),A=0;A!=b.length&&b.charCodeAt(A)!==58;++A);if(A===b.length)b.indexOf("_")>0&&(b=b.slice(0,b.indexOf("_"))),h[b]=m,h[b.toLowerCase()]=m;else{var B=(A===5&&b.slice(0,5)==="xmlns"?"xmlns":"")+b.slice(A+1);if(h[B]&&b.slice(A-3,A)=="ext")continue;h[B]=m,h[B.toLowerCase()]=m}}return h}function cc(a){return a.replace(Lw,"<$1")}var By={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},cI=by(By),ji=function(){var a=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,c=/_x([\da-fA-F]{4})_/gi;return function u(h){var d=h+"",p=d.indexOf("<![CDATA[");if(p==-1)return d.replace(a,function(A,m){return By[A]||String.fromCharCode(parseInt(m,A.indexOf("x")>-1?16:10))||A}).replace(c,function(A,m){return String.fromCharCode(parseInt(m,16))});var g=d.indexOf("]]>");return u(d.slice(0,p))+d.slice(p+9,g)+u(d.slice(g+3))}}(),Ou=/[&<>'"]/g,lI=/[\u0000-\u0008\u000b-\u001f]/g;function Xa(a){return(a+"").replace(Ou,function(c){return cI[c]}).replace(lI,function(c){return"_x"+("000"+c.charCodeAt(0).toString(16)).slice(-4)+"_"})}function yA(a){return Xa(a).replace(/ /g,"_x0020_")}var o1=/[\u0000-\u001f]/g;function dp(a){return(a+"").replace(Ou,function(c){return cI[c]}).replace(/\n/g,"<br/>").replace(o1,function(c){return"&#x"+("000"+c.charCodeAt(0).toString(16)).slice(-4)+";"})}var s1=function(){var a=/&#(\d+);/g;function c(u,h){return String.fromCharCode(parseInt(h,10))}return function(u){return u.replace(a,c)}}();function po(a){switch(a){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function ky(a){for(var c="",u=0,h=0,d=0,p=0,g=0,A=0;u<a.length;)(h=a.charCodeAt(u++))<128?c+=String.fromCharCode(h):(d=a.charCodeAt(u++),h>191&&h<224?(g=(31&h)<<6,g|=63&d,c+=String.fromCharCode(g)):(p=a.charCodeAt(u++),h<240?c+=String.fromCharCode((15&h)<<12|(63&d)<<6|63&p):(A=((7&h)<<18|(63&d)<<12|(63&p)<<6|63&(g=a.charCodeAt(u++)))-65536,c+=String.fromCharCode(55296+(A>>>10&1023)),c+=String.fromCharCode(56320+(1023&A)))));return c}function Qy(a){var c,u,h,d=AA(2*a.length),p=1,g=0,A=0;for(u=0;u<a.length;u+=p)p=1,(h=a.charCodeAt(u))<128?c=h:h<224?(c=64*(31&h)+(63&a.charCodeAt(u+1)),p=2):h<240?(c=4096*(15&h)+64*(63&a.charCodeAt(u+1))+(63&a.charCodeAt(u+2)),p=3):(p=4,c=262144*(7&h)+4096*(63&a.charCodeAt(u+1))+64*(63&a.charCodeAt(u+2))+(63&a.charCodeAt(u+3)),A=55296+((c-=65536)>>>10&1023),c=56320+(1023&c)),A!==0&&(d[g++]=255&A,d[g++]=A>>>8,A=0),d[g++]=c%256,d[g++]=c>>>8;return d.slice(0,g).toString("ucs2")}function xy(a){return uu(a,"binary").toString("utf8")}var Sy="foo bar baz☃🍣",vo=ki&&(xy(Sy)==ky(Sy)&&xy||Qy(Sy)==ky(Sy)&&Qy)||ky,Dh=ki?function(a){return uu(a,"utf8").toString("binary")}:function(a){for(var c=[],u=0,h=0,d=0;u<a.length;)switch(h=a.charCodeAt(u++),!0){case h<128:c.push(String.fromCharCode(h));break;case h<2048:c.push(String.fromCharCode(192+(h>>6))),c.push(String.fromCharCode(128+(63&h)));break;case(h>=55296&&h<57344):h-=55296,d=a.charCodeAt(u++)-56320+(h<<10),c.push(String.fromCharCode(240+(d>>18&7))),c.push(String.fromCharCode(144+(d>>12&63))),c.push(String.fromCharCode(128+(d>>6&63))),c.push(String.fromCharCode(128+(63&d)));break;default:c.push(String.fromCharCode(224+(h>>12))),c.push(String.fromCharCode(128+(h>>6&63))),c.push(String.fromCharCode(128+(63&h)))}return c.join("")},Fa=function(){var a={};return function(c,u){var h=c+"|"+(u||"");return a[h]?a[h]:a[h]=new RegExp("<(?:\\w+:)?"+c+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+c+">",u||"")}}(),Fd=function(){var a=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(c){return[new RegExp("&"+c[0]+";","ig"),c[1]]});return function(c){for(var u=c.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,`
  104. `).replace(/<[^>]*>/g,""),h=0;h<a.length;++h)u=u.replace(a[h][0],a[h][1]);return u}}(),Td=function(){var a={};return function(c){return a[c]!==void 0?a[c]:a[c]=new RegExp("<(?:vt:)?"+c+">([\\s\\S]*?)</(?:vt:)?"+c+">","g")}}(),Rh=/<\/?(?:vt:)?variant>/g,mA=/<(?:vt:)([^>]*)>([\s\S]*)</;function Xl(a,c){var u=ii(a),h=a.match(Td(u.baseType))||[],d=[];if(h.length!=u.size){if(c.WTF)throw new Error("unexpected vector length "+h.length+" != "+u.size);return d}return h.forEach(function(p){var g=p.replace(Rh,"").match(mA);g&&d.push({v:vo(g[2]),t:g[1]})}),d}var kl=/(^\s|\s$|\n)/;function xs(a,c){return"<"+a+(c.match(kl)?' xml:space="preserve"':"")+">"+c+"</"+a+">"}function Ld(a){return to(a).map(function(c){return" "+c+'="'+a[c]+'"'}).join("")}function on(a,c,u){return"<"+a+(u!=null?Ld(u):"")+(c!=null?(c.match(kl)?' xml:space="preserve"':"")+">"+c+"</"+a:"/")+">"}function vf(a,c){try{return a.toISOString().replace(/\.\d*/,"")}catch(u){if(c)throw u}return""}function $l(a){if(ki&&Buffer.isBuffer(a))return a.toString("utf8");if(typeof a=="string")return a;if(typeof Uint8Array<"u"&&a instanceof Uint8Array)return vo(Af(gy(a)));throw new Error("Bad input format: expected Buffer or string")}var Nd=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,IA="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",hI="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",u1="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",_y="http://schemas.openxmlformats.org/package/2006/content-types",fI="http://schemas.openxmlformats.org/package/2006/relationships",eh="http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",bA="http://purl.org/dc/elements/1.1/",w5="http://purl.org/dc/terms/",Nw="http://purl.org/dc/dcmitype/",AI="http://schemas.openxmlformats.org/officeDocument/2006/relationships",lc="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",gp="http://www.w3.org/2001/XMLSchema-instance",E5="http://www.w3.org/2001/XMLSchema",hc=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],th="urn:schemas-microsoft-com:office:office",yf="urn:schemas-microsoft-com:office:excel",Ow="urn:schemas-microsoft-com:office:spreadsheet",B5="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",fc="http://macVmlSchemaUri",Ql="urn:schemas-microsoft-com:vml",k5="http://www.w3.org/TR/REC-html40",Pw=function(a){for(var c=[],u=0;u<a[0].length;++u)if(a[0][u])for(var h=0,d=a[0][u].length;h<d;h+=10240)c.push.apply(c,a[0][u].slice(h,h+10240));return c},dI=ki?function(a){return a[0].length>0&&Buffer.isBuffer(a[0][0])?Buffer.concat(a[0].map(function(c){return Buffer.isBuffer(c)?c:uu(c)})):Pw(a)}:Pw,Gw=function(a,c,u){for(var h=[],d=c;d<u;d+=2)h.push(String.fromCharCode(If(a,d)));return h.join("").replace(sc,"")},Dy=ki?function(a,c,u){return Buffer.isBuffer(a)?a.toString("utf16le",c,u).replace(sc,""):Gw(a,c,u)}:Gw,Uw=function(a,c,u){for(var h=[],d=c;d<c+u;++d)h.push(("0"+a[d].toString(16)).slice(-2));return h.join("")},jw=ki?function(a,c,u){return Buffer.isBuffer(a)?a.toString("hex",c,c+u):Uw(a,c,u)}:Uw,pp=function(a,c,u){for(var h=[],d=c;d<u;d++)h.push(String.fromCharCode(vp(a,d)));return h.join("")},c1=ki?function(a,c,u){return Buffer.isBuffer(a)?a.toString("utf8",c,u):pp(a,c,u)}:pp,Ry=function(a,c){var u=xc(a,c);return u>0?c1(a,c+4,c+4+u-1):""},Si=Ry,gI=function(a,c){var u=xc(a,c);return u>0?c1(a,c+4,c+4+u-1):""},Od=gI,Hw=function(a,c){var u=2*xc(a,c);return u>0?c1(a,c+4,c+4+u-1):""},Yw=Hw,Jw=function(a,c){var u=xc(a,c);return u>0?Dy(a,c+4,c+4+u):""},Ws=Jw,Ww=function(a,c){var u=xc(a,c);return u>0?c1(a,c+4,c+4+u):""},Pd=Ww,pI=function(a,c){return function(u,h){for(var d=1-2*(u[h+7]>>>7),p=((127&u[h+7])<<4)+(u[h+6]>>>4&15),g=15&u[h+6],A=5;A>=0;--A)g=256*g+u[h+A];return p==2047?g==0?d*(1/0):NaN:(p==0?p=-1022:(p-=1023,g+=Math.pow(2,52)),d*Math.pow(2,p-52)*g)}(a,c)},l1=pI,mf=function(a){return Array.isArray(a)||typeof Uint8Array<"u"&&a instanceof Uint8Array};ki&&(Si=function(a,c){if(!Buffer.isBuffer(a))return Ry(a,c);var u=a.readUInt32LE(c);return u>0?a.toString("utf8",c+4,c+4+u-1):""},Od=function(a,c){if(!Buffer.isBuffer(a))return gI(a,c);var u=a.readUInt32LE(c);return u>0?a.toString("utf8",c+4,c+4+u-1):""},Yw=function(a,c){if(!Buffer.isBuffer(a))return Hw(a,c);var u=2*a.readUInt32LE(c);return a.toString("utf16le",c+4,c+4+u-1)},Ws=function(a,c){if(!Buffer.isBuffer(a))return Jw(a,c);var u=a.readUInt32LE(c);return a.toString("utf16le",c+4,c+4+u)},Pd=function(a,c){if(!Buffer.isBuffer(a))return Ww(a,c);var u=a.readUInt32LE(c);return a.toString("utf8",c+4,c+4+u)},l1=function(a,c){return Buffer.isBuffer(a)?a.readDoubleLE(c):pI(a,c)},mf=function(a){return Buffer.isBuffer(a)||Array.isArray(a)||typeof Uint8Array<"u"&&a instanceof Uint8Array});var vp=function(a,c){return a[c]},If=function(a,c){return 256*a[c+1]+a[c]},ta=function(a,c){var u=256*a[c+1]+a[c];return u<32768?u:-1*(65535-u+1)},xc=function(a,c){return a[c+3]*(1<<24)+(a[c+2]<<16)+(a[c+1]<<8)+a[c]},CA=function(a,c){return a[c+3]<<24|a[c+2]<<16|a[c+1]<<8|a[c]},Q5=function(a,c){return a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3]};function Mn(a,c){var u,h,d,p,g,A,m="",y=[];switch(c){case"dbcs":if(A=this.l,ki&&Buffer.isBuffer(this))m=this.slice(this.l,this.l+2*a).toString("utf16le");else for(g=0;g<a;++g)m+=String.fromCharCode(If(this,A)),A+=2;a*=2;break;case"utf8":m=c1(this,this.l,this.l+a);break;case"utf16le":a*=2,m=Dy(this,this.l,this.l+a);break;case"wstr":return Mn.call(this,a,"dbcs");case"lpstr-ansi":m=Si(this,this.l),a=4+xc(this,this.l);break;case"lpstr-cp":m=Od(this,this.l),a=4+xc(this,this.l);break;case"lpwstr":m=Yw(this,this.l),a=4+2*xc(this,this.l);break;case"lpp4":a=4+xc(this,this.l),m=Ws(this,this.l),2&a&&(a+=2);break;case"8lpp4":a=4+xc(this,this.l),m=Pd(this,this.l),3&a&&(a+=4-(3&a));break;case"cstr":for(a=0,m="";(d=vp(this,this.l+a++))!==0;)y.push(sp(d));m=y.join("");break;case"_wstr":for(a=0,m="";(d=If(this,this.l+a))!==0;)y.push(sp(d)),a+=2;a+=2,m=y.join("");break;case"dbcs-cont":for(m="",A=this.l,g=0;g<a;++g){if(this.lens&&this.lens.indexOf(A)!==-1)return d=vp(this,A),this.l=A+1,p=Mn.call(this,a-g,d?"dbcs-cont":"sbcs-cont"),y.join("")+p;y.push(sp(If(this,A))),A+=2}m=y.join(""),a*=2;break;case"cpstr":case"sbcs-cont":for(m="",A=this.l,g=0;g!=a;++g){if(this.lens&&this.lens.indexOf(A)!==-1)return d=vp(this,A),this.l=A+1,p=Mn.call(this,a-g,d?"dbcs-cont":"sbcs-cont"),y.join("")+p;y.push(sp(vp(this,A))),A+=1}m=y.join("");break;default:switch(a){case 1:return u=vp(this,this.l),this.l++,u;case 2:return u=(c==="i"?ta:If)(this,this.l),this.l+=2,u;case 4:case-4:return c!=="i"&&128&this[this.l+3]?(h=xc(this,this.l),this.l+=4,h):(u=(a>0?CA:Q5)(this,this.l),this.l+=4,u);case 8:case-8:if(c==="f")return h=a==8?l1(this,this.l):l1([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,h;a=8;case 16:m=jw(this,this.l,a)}}return this.l+=a,m}var My=function(a,c,u){a[u]=255&c,a[u+1]=c>>>8&255,a[u+2]=c>>>16&255,a[u+3]=c>>>24&255},x5=function(a,c,u){a[u]=255&c,a[u+1]=c>>8&255,a[u+2]=c>>16&255,a[u+3]=c>>24&255},qw=function(a,c,u){a[u]=255&c,a[u+1]=c>>>8&255};function zw(a,c,u){var h=0,d=0;if(u==="dbcs"){for(d=0;d!=c.length;++d)qw(this,c.charCodeAt(d),this.l+2*d);h=2*c.length}else if(u==="sbcs"){for(c=c.replace(/[^\x00-\x7F]/g,"_"),d=0;d!=c.length;++d)this[this.l+d]=255&c.charCodeAt(d);h=c.length}else{if(u==="hex"){for(;d<a;++d)this[this.l++]=parseInt(c.slice(2*d,2*d+2),16)||0;return this}if(u==="utf16le"){var p=Math.min(this.l+a,this.length);for(d=0;d<Math.min(c.length,a);++d){var g=c.charCodeAt(d);this[this.l++]=255&g,this[this.l++]=g>>8}for(;this.l<p;)this[this.l++]=0;return this}switch(a){case 1:h=1,this[this.l]=255&c;break;case 2:h=2,this[this.l]=255&c,c>>>=8,this[this.l+1]=255&c;break;case 3:h=3,this[this.l]=255&c,c>>>=8,this[this.l+1]=255&c,c>>>=8,this[this.l+2]=255&c;break;case 4:h=4,My(this,c,this.l);break;case 8:if(h=8,u==="f"){(function(A,m,y){var b=(m<0||1/m==-1/0?1:0)<<7,I=0,E=0,B=b?-m:m;isFinite(B)?B==0?I=E=0:(I=Math.floor(Math.log(B)/Math.LN2),E=B*Math.pow(2,52-I),I<=-1023&&(!isFinite(E)||E<Math.pow(2,52))?I=-1022:(E-=Math.pow(2,52),I+=1023)):(I=2047,E=isNaN(m)?26985:0);for(var S=0;S<=5;++S,E/=256)A[y+S]=255&E;A[y+6]=(15&I)<<4|15&E,A[y+7]=I>>4|b})(this,c,this.l);break}case 16:break;case-4:h=4,x5(this,c,this.l)}}return this.l+=h,this}function vI(a,c){var u=jw(this,this.l,a.length>>1);if(u!==a)throw new Error(c+"Expected "+a+" saw "+u);this.l+=a.length>>1}function lu(a,c){a.l=c,a.read_shift=Mn,a.chk=vI,a.write_shift=zw}function qs(a,c){a.l+=c}function Ir(a){var c=AA(a);return lu(c,0),c}function Mh(a,c,u){if(a){var h,d,p;lu(a,a.l||0);for(var g=a.length,A=0,m=0;a.l<g;){128&(A=a.read_shift(1))&&(A=(127&A)+((127&a.read_shift(1))<<7));var y=jp[A]||jp[65535];for(p=127&(h=a.read_shift(1)),d=1;d<4&&128&h;++d)p+=(127&(h=a.read_shift(1)))<<7*d;m=a.l+p;var b=y.f&&y.f(a,p,u);if(a.l=m,c(b,y,A))return}}}function Ac(){var a=[],c=ki?256:2048,u=function(g){var A=Ir(g);return lu(A,0),A},h=u(c),d=function(){h&&(h.length>h.l&&((h=h.slice(0,h.l)).l=h.length),h.length>0&&a.push(h),h=null)},p=function(g){return h&&g<h.length-h.l?h:(d(),h=u(Math.max(g+1,c)))};return{next:p,push:function(g){d(),(h=g).l==null&&(h.l=h.length),p(c)},end:function(){return d(),Jo(a)},_bufs:a}}function Ur(a,c,u,h){var d,p=+c;if(!isNaN(p)){h||(h=jp[p].p||(u||[]).length||0),d=1+(p>=128?1:0)+1,h>=128&&++d,h>=16384&&++d,h>=2097152&&++d;var g=a.next(d);p<=127?g.write_shift(1,p):(g.write_shift(1,128+(127&p)),g.write_shift(1,p>>7));for(var A=0;A!=4;++A){if(!(h>=128)){g.write_shift(1,h);break}g.write_shift(1,128+(127&h)),h>>=7}h>0&&mf(u)&&a.push(u)}}function yp(a,c,u){var h=Ro(a);if(c.s?(h.cRel&&(h.c+=c.s.c),h.rRel&&(h.r+=c.s.r)):(h.cRel&&(h.c+=c.c),h.rRel&&(h.r+=c.r)),!u||u.biff<12){for(;h.c>=256;)h.c-=256;for(;h.r>=65536;)h.r-=65536}return h}function mp(a,c,u){var h=Ro(a);return h.s=yp(h.s,c.s,u),h.e=yp(h.e,c.s,u),h}function Un(a,c){if(a.cRel&&a.c<0)for(a=Ro(a);a.c<0;)a.c+=c>8?16384:256;if(a.rRel&&a.r<0)for(a=Ro(a);a.r<0;)a.r+=c>8?1048576:c>5?65536:16384;var u=Mi(a);return a.cRel||a.cRel==null||(u=u.replace(/^([A-Z])/,"$$$1")),a.rRel||a.rRel==null||(u=function(h){return h.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(u)),u}function h1(a,c){return a.s.r!=0||a.s.rRel||a.e.r!=(c.biff>=12?1048575:c.biff>=8?65536:16384)||a.e.rRel?a.s.c!=0||a.s.cRel||a.e.c!=(c.biff>=12?16383:255)||a.e.cRel?Un(a.s,c.biff)+":"+Un(a.e,c.biff):(a.s.rRel?"":"$")+Ss(a.s.r)+":"+(a.e.rRel?"":"$")+Ss(a.e.r):(a.s.cRel?"":"$")+rs(a.s.c)+":"+(a.e.cRel?"":"$")+rs(a.e.c)}function f1(a){return parseInt(a.replace(/\$(\d+)$/,"$1"),10)-1}function Ss(a){return""+(a+1)}function yI(a){for(var c=a.replace(/^\$([A-Z])/,"$1"),u=0,h=0;h!==c.length;++h)u=26*u+c.charCodeAt(h)-64;return u-1}function rs(a){if(a<0)throw new Error("invalid column "+a);var c="";for(++a;a;a=Math.floor((a-1)/26))c=String.fromCharCode((a-1)%26+65)+c;return c}function As(a){for(var c=0,u=0,h=0;h<a.length;++h){var d=a.charCodeAt(h);d>=48&&d<=57?c=10*c+(d-48):d>=65&&d<=90&&(u=26*u+(d-64))}return{c:u-1,r:c-1}}function Mi(a){for(var c=a.c+1,u="";c;c=(c-1)/26|0)u=String.fromCharCode((c-1)%26+65)+u;return u+(a.r+1)}function dc(a){var c=a.indexOf(":");return c==-1?{s:As(a),e:As(a)}:{s:As(a.slice(0,c)),e:As(a.slice(c+1))}}function bi(a,c){return c===void 0||typeof c=="number"?bi(a.s,a.e):(typeof a!="string"&&(a=Mi(a)),typeof c!="string"&&(c=Mi(c)),a==c?a:a+":"+c)}function Ta(a){var c={s:{c:0,r:0},e:{c:0,r:0}},u=0,h=0,d=0,p=a.length;for(u=0;h<p&&!((d=a.charCodeAt(h)-64)<1||d>26);++h)u=26*u+d;for(c.s.c=--u,u=0;h<p&&!((d=a.charCodeAt(h)-48)<0||d>9);++h)u=10*u+d;if(c.s.r=--u,h===p||d!=10)return c.e.c=c.s.c,c.e.r=c.s.r,c;for(++h,u=0;h!=p&&!((d=a.charCodeAt(h)-64)<1||d>26);++h)u=26*u+d;for(c.e.c=--u,u=0;h!=p&&!((d=a.charCodeAt(h)-48)<0||d>9);++h)u=10*u+d;return c.e.r=--u,c}function Ip(a,c){var u=a.t=="d"&&c instanceof Date;if(a.z!=null)try{return a.w=El(a.z,u?Ys(c):c)}catch{}try{return a.w=El((a.XF||{}).numFmtId||(u?14:0),u?Ys(c):c)}catch{return""+c}}function wA(a,c,u){return a==null||a.t==null||a.t=="z"?"":a.w!==void 0?a.w:(a.t=="d"&&!a.z&&u&&u.dateNF&&(a.z=u.dateNF),a.t=="e"?bf[a.v]||a.v:Ip(a,c??a.v))}function Sc(a,c){var u=c&&c.sheet?c.sheet:"Sheet1",h={};return h[u]=a,{SheetNames:[u],Sheets:h}}function EA(a,c){return function(u,h,d){var p=d||{},g=u?Array.isArray(u):p.dense,A=u||(g?[]:{}),m=0,y=0;if(A&&p.origin!=null){if(typeof p.origin=="number")m=p.origin;else{var b=typeof p.origin=="string"?As(p.origin):p.origin;m=b.r,y=b.c}A["!ref"]||(A["!ref"]="A1:A1")}var I={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(A["!ref"]){var E=Ta(A["!ref"]);I.s.c=E.s.c,I.s.r=E.s.r,I.e.c=Math.max(I.e.c,E.e.c),I.e.r=Math.max(I.e.r,E.e.r),m==-1&&(I.e.r=m=E.e.r+1)}for(var B=0;B!=h.length;++B)if(h[B]){if(!Array.isArray(h[B]))throw new Error("aoa_to_sheet expects an array of arrays");for(var S=0;S!=h[B].length;++S)if(h[B][S]!==void 0){var _={v:h[B][S]},D=m+B,T=y+S;if(I.s.r>D&&(I.s.r=D),I.s.c>T&&(I.s.c=T),I.e.r<D&&(I.e.r=D),I.e.c<T&&(I.e.c=T),!h[B][S]||typeof h[B][S]!="object"||Array.isArray(h[B][S])||h[B][S]instanceof Date)if(Array.isArray(_.v)&&(_.f=h[B][S][1],_.v=_.v[0]),_.v===null)if(_.f)_.t="n";else if(p.nullError)_.t="e",_.v=0;else{if(!p.sheetStubs)continue;_.t="z"}else typeof _.v=="number"?_.t="n":typeof _.v=="boolean"?_.t="b":_.v instanceof Date?(_.z=p.dateNF||xi[14],p.cellDates?(_.t="d",_.w=El(_.z,Ys(_.v))):(_.t="n",_.v=Ys(_.v),_.w=El(_.z,_.v))):_.t="s";else _=h[B][S];if(g)A[D]||(A[D]=[]),A[D][T]&&A[D][T].z&&(_.z=A[D][T].z),A[D][T]=_;else{var F=Mi({c:T,r:D});A[F]&&A[F].z&&(_.z=A[F].z),A[F]=_}}}return I.s.c<1e7&&(A["!ref"]=bi(I)),A}(null,a,c)}function gc(a,c){return c||(c=Ir(4)),c.write_shift(4,a),c}function zs(a){var c=a.read_shift(4);return c===0?"":a.read_shift(c,"dbcs")}function Wo(a,c){var u=!1;return c==null&&(u=!0,c=Ir(4+2*a.length)),c.write_shift(4,a.length),a.length>0&&c.write_shift(0,a,"dbcs"),u?c.slice(0,c.l):c}function Gd(a){return{ich:a.read_shift(2),ifnt:a.read_shift(2)}}function Ud(a,c){var u=a.l,h=a.read_shift(1),d=zs(a),p=[],g={t:d,h:d};if(1&h){for(var A=a.read_shift(4),m=0;m!=A;++m)p.push(Gd(a));g.r=p}else g.r=[{ich:0,ifnt:0}];return a.l=u+c,g}var Kw=Ud;function Vw(a,c){var u=!1;return c==null&&(u=!0,c=Ir(23+4*a.t.length)),c.write_shift(1,1),Wo(a.t,c),c.write_shift(4,1),function(h,d){d||(d=Ir(4)),d.write_shift(2,0),d.write_shift(2,0)}({},c),u?c.slice(0,c.l):c}function _c(a){var c=a.read_shift(4),u=a.read_shift(2);return u+=a.read_shift(1)<<16,a.l++,{c,iStyleRef:u}}function BA(a,c){return c==null&&(c=Ir(8)),c.write_shift(-4,a.c),c.write_shift(3,a.iStyleRef||a.s),c.write_shift(1,0),c}function jd(a){var c=a.read_shift(2);return c+=a.read_shift(1)<<16,a.l++,{c:-1,iStyleRef:c}}function Hd(a,c){return c==null&&(c=Ir(4)),c.write_shift(3,a.iStyleRef||a.s),c.write_shift(1,0),c}var Zw=zs,Fh=Wo;function bp(a){var c=a.read_shift(4);return c===0||c===4294967295?"":a.read_shift(c,"dbcs")}function Yd(a,c){var u=!1;return c==null&&(u=!0,c=Ir(127)),c.write_shift(4,a.length>0?a.length:4294967295),a.length>0&&c.write_shift(0,a,"dbcs"),u?c.slice(0,c.l):c}var S5=zs,mI=bp,II=Yd;function A1(a){var c=a.slice(a.l,a.l+4),u=1&c[0],h=2&c[0];a.l+=4;var d=h===0?l1([0,0,0,0,252&c[0],c[1],c[2],c[3]],0):CA(c,0)>>2;return u?d/100:d}function xl(a,c){c==null&&(c=Ir(4));var u=0,h=0,d=100*a;if(a==(0|a)&&a>=-536870912&&a<1<<29?h=1:d==(0|d)&&d>=-536870912&&d<1<<29&&(h=1,u=1),!h)throw new Error("unsupported RkNumber "+a);c.write_shift(-4,((u?d:a)<<2)+(u+2))}function bI(a){var c={s:{},e:{}};return c.s.r=a.read_shift(4),c.e.r=a.read_shift(4),c.s.c=a.read_shift(4),c.e.c=a.read_shift(4),c}var kA=bI,Dc=function(a,c){return c||(c=Ir(16)),c.write_shift(4,a.s.r),c.write_shift(4,a.e.r),c.write_shift(4,a.s.c),c.write_shift(4,a.e.c),c};function ko(a){if(a.length-a.l<8)throw"XLS Xnum Buffer underflow";return a.read_shift(8,"f")}function Jd(a,c){return(c||Ir(8)).write_shift(8,a,"f")}function Wd(a,c){if(c||(c=Ir(8)),!a||a.auto)return c.write_shift(4,0),c.write_shift(4,0),c;a.index!=null?(c.write_shift(1,2),c.write_shift(1,a.index)):a.theme!=null?(c.write_shift(1,6),c.write_shift(1,a.theme)):(c.write_shift(1,5),c.write_shift(1,0));var u=a.tint||0;if(u>0?u*=32767:u<0&&(u*=32768),c.write_shift(2,u),a.rgb&&a.theme==null){var h=a.rgb||"FFFFFF";typeof h=="number"&&(h=("000000"+h.toString(16)).slice(-6)),c.write_shift(1,parseInt(h.slice(0,2),16)),c.write_shift(1,parseInt(h.slice(2,4),16)),c.write_shift(1,parseInt(h.slice(4,6),16)),c.write_shift(1,255)}else c.write_shift(2,0),c.write_shift(1,0),c.write_shift(1,0);return c}function CI(a,c){var u=a.read_shift(4);switch(u){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[a.read_shift(4)]||""}if(u>400)throw new Error("Unsupported Clipboard: "+u.toString(16));return a.l-=4,a.read_shift(0,c==1?"lpstr":"lpwstr")}var Ks=80,Xw=[Ks,81],Fy={1:{n:"CodePage",t:2},2:{n:"Category",t:Ks},3:{n:"PresentationFormat",t:Ks},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:Ks},15:{n:"Company",t:Ks},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:Ks},27:{n:"ContentStatus",t:Ks},28:{n:"Language",t:Ks},29:{n:"Version",t:Ks},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},d1={1:{n:"CodePage",t:2},2:{n:"Title",t:Ks},3:{n:"Subject",t:Ks},4:{n:"Author",t:Ks},5:{n:"Keywords",t:Ks},6:{n:"Comments",t:Ks},7:{n:"Template",t:Ks},8:{n:"LastAuthor",t:Ks},9:{n:"RevNumber",t:Ks},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:Ks},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Ty={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},_5=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function wI(a){return a.map(function(c){return[c>>16&255,c>>8&255,255&c]})}var Cp=Ro(wI([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),bf={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},$w={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Ly={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Ny={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function QA(a,c){var u,h=function(m){for(var y=[],b=to(m),I=0;I!==b.length;++I)y[m[b[I]]]==null&&(y[m[b[I]]]=[]),y[m[b[I]]].push(b[I]);return y}(Ly),d=[];d[d.length]=ts,d[d.length]=on("Types",null,{xmlns:_y,"xmlns:xsd":E5,"xmlns:xsi":gp}),d=d.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(m){return on("Default",null,{Extension:m[0],ContentType:m[1]})}));var p=function(m){a[m]&&a[m].length>0&&(u=a[m][0],d[d.length]=on("Override",null,{PartName:(u[0]=="/"?"":"/")+u,ContentType:Ny[m][c.bookType]||Ny[m].xlsx}))},g=function(m){(a[m]||[]).forEach(function(y){d[d.length]=on("Override",null,{PartName:(y[0]=="/"?"":"/")+y,ContentType:Ny[m][c.bookType]||Ny[m].xlsx})})},A=function(m){(a[m]||[]).forEach(function(y){d[d.length]=on("Override",null,{PartName:(y[0]=="/"?"":"/")+y,ContentType:h[m][0]})})};return p("workbooks"),g("sheets"),g("charts"),A("themes"),["strs","styles"].forEach(p),["coreprops","extprops","custprops"].forEach(A),A("vba"),A("comments"),A("threadedcomments"),A("drawings"),g("metadata"),A("people"),d.length>2&&(d[d.length]="</Types>",d[1]=d[1].replace("/>",">")),d.join("")}var ma={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function uo(a){var c=a.lastIndexOf("/");return a.slice(0,c+1)+"_rels/"+a.slice(c+1)+".rels"}function xA(a,c){var u={"!id":{}};if(!a)return u;c.charAt(0)!=="/"&&(c="/"+c);var h={};return(a.match(Js)||[]).forEach(function(d){var p=ii(d);if(p[0]==="<Relationship"){var g={};g.Type=p.Type,g.Target=p.Target,g.Id=p.Id,p.TargetMode&&(g.TargetMode=p.TargetMode);var A=p.TargetMode==="External"?p.Target:a1(p.Target,c);u[A]=g,h[p.Id]=g}}),u["!id"]=h,u}function qd(a){var c=[ts,on("Relationships",null,{xmlns:fI})];return to(a["!id"]).forEach(function(u){c[c.length]=on("Relationship",null,a["!id"][u])}),c.length>2&&(c[c.length]="</Relationships>",c[1]=c[1].replace("/>",">")),c.join("")}function co(a,c,u,h,d,p){if(d||(d={}),a["!id"]||(a["!id"]={}),a["!idx"]||(a["!idx"]=1),c<0)for(c=a["!idx"];a["!id"]["rId"+c];++c);if(a["!idx"]=c+1,d.Id="rId"+c,d.Type=h,d.Target=u,[ma.HLINK,ma.XPATH,ma.XMISS].indexOf(d.Type)>-1&&(d.TargetMode="External"),a["!id"][d.Id])throw new Error("Cannot rewrite rId "+c);return a["!id"][d.Id]=d,a[("/"+d.Target).replace("//","/")]=d,c}function hu(a,c,u){return[' <rdf:Description rdf:about="'+a+`">
  105. `,' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(u||"odf")+"#"+c+`"/>
  106. `,` </rdf:Description>
  107. `].join("")}function SA(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+ap.version+"</meta:generator></office:meta></office:document-meta>"}var Pu=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],D5=function(){for(var a=new Array(Pu.length),c=0;c<Pu.length;++c){var u=Pu[c],h="(?:"+u[0].slice(0,u[0].indexOf(":"))+":)"+u[0].slice(u[0].indexOf(":")+1);a[c]=new RegExp("<"+h+"[^>]*>([\\s\\S]*?)</"+h+">")}return a}();function eE(a){var c={};a=vo(a);for(var u=0;u<Pu.length;++u){var h=Pu[u],d=a.match(D5[u]);d!=null&&d.length>0&&(c[h[1]]=ji(d[1])),h[2]==="date"&&c[h[1]]&&(c[h[1]]=Po(c[h[1]]))}return c}function wp(a,c,u,h,d){d[a]==null&&c!=null&&c!==""&&(d[a]=c,c=Xa(c),h[h.length]=u?on(a,c,u):xs(a,c))}function EI(a,c){var u=c||{},h=[ts,on("cp:coreProperties",null,{"xmlns:cp":IA,"xmlns:dc":bA,"xmlns:dcterms":w5,"xmlns:dcmitype":Nw,"xmlns:xsi":gp})],d={};if(!a&&!u.Props)return h.join("");a&&(a.CreatedDate!=null&&wp("dcterms:created",typeof a.CreatedDate=="string"?a.CreatedDate:vf(a.CreatedDate,u.WTF),{"xsi:type":"dcterms:W3CDTF"},h,d),a.ModifiedDate!=null&&wp("dcterms:modified",typeof a.ModifiedDate=="string"?a.ModifiedDate:vf(a.ModifiedDate,u.WTF),{"xsi:type":"dcterms:W3CDTF"},h,d));for(var p=0;p!=Pu.length;++p){var g=Pu[p],A=u.Props&&u.Props[g[1]]!=null?u.Props[g[1]]:a?a[g[1]]:null;A===!0?A="1":A===!1?A="0":typeof A=="number"&&(A=String(A)),A!=null&&wp(g[0],A,null,h,d)}return h.length>2&&(h[h.length]="</cp:coreProperties>",h[1]=h[1].replace("/>",">")),h.join("")}var zd=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],_A=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function tE(a,c,u,h){var d=[];if(typeof a=="string")d=Xl(a,h);else for(var p=0;p<a.length;++p)d=d.concat(a[p].map(function(b){return{v:b}}));var g=typeof c=="string"?Xl(c,h).map(function(b){return b.v}):c,A=0,m=0;if(g.length>0)for(var y=0;y!==d.length;y+=2){switch(m=+d[y+1].v,d[y].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":u.Worksheets=m,u.SheetNames=g.slice(A,A+m);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":u.NamedRanges=m,u.DefinedNames=g.slice(A,A+m);break;case"Charts":case"Diagramme":u.Chartsheets=m,u.ChartNames=g.slice(A,A+m)}A+=m}}function BI(a){var c=[],u=on;return a||(a={}),a.Application="SheetJS",c[c.length]=ts,c[c.length]=on("Properties",null,{xmlns:u1,"xmlns:vt":lc}),zd.forEach(function(h){if(a[h[1]]!==void 0){var d;switch(h[2]){case"string":d=Xa(String(a[h[1]]));break;case"bool":d=a[h[1]]?"true":"false"}d!==void 0&&(c[c.length]=u(h[0],d))}}),c[c.length]=u("HeadingPairs",u("vt:vector",u("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+u("vt:variant",u("vt:i4",String(a.Worksheets))),{size:2,baseType:"variant"})),c[c.length]=u("TitlesOfParts",u("vt:vector",a.SheetNames.map(function(h){return"<vt:lpstr>"+Xa(h)+"</vt:lpstr>"}).join(""),{size:a.Worksheets,baseType:"lpstr"})),c.length>2&&(c[c.length]="</Properties>",c[1]=c[1].replace("/>",">")),c.join("")}var R5=/<[^>]+>[^<]*/g;function kI(a){var c=[ts,on("Properties",null,{xmlns:hI,"xmlns:vt":lc})];if(!a)return c.join("");var u=1;return to(a).forEach(function(h){++u,c[c.length]=on("property",function(d,p){switch(typeof d){case"string":var g=on("vt:lpwstr",Xa(d));return g=g.replace(/&quot;/g,"_x0022_"),g;case"number":return on((0|d)==d?"vt:i4":"vt:r8",Xa(String(d)));case"boolean":return on("vt:bool",d?"true":"false")}if(d instanceof Date)return on("vt:filetime",vf(d));throw new Error("Unable to serialize "+d)}(a[h]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:u,name:Xa(h)})}),c.length>2&&(c[c.length]="</Properties>",c[1]=c[1].replace("/>",">")),c.join("")}var Ep,Kd={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function Oy(a,c,u){Ep||(Ep=by(Kd)),a[c=Ep[c]||c]=u}function Vd(a){var c=a.read_shift(4),u=a.read_shift(4);return new Date(1e3*(u/1e7*Math.pow(2,32)+c/1e7-11644473600)).toISOString().replace(/\.000/,"")}function QI(a,c,u){var h=a.l,d=a.read_shift(0,"lpstr-cp");if(u)for(;a.l-h&3;)++a.l;return d}function Py(a,c,u){var h=a.read_shift(0,"lpwstr");return h}function Zd(a,c,u){return c===31?Py(a):QI(a,0,u)}function xI(a,c,u){return Zd(a,c,u===!1?0:4)}function rE(a){var c=a.l,u=g1(a,81);return a[a.l]==0&&a[a.l+1]==0&&a.l-c&2&&(a.l+=2),[u,g1(a,3)]}function nE(a,c){for(var u=a.read_shift(4),h={},d=0;d!=u;++d){var p=a.read_shift(4),g=a.read_shift(4);h[p]=a.read_shift(g,c===1200?"utf16le":"utf8").replace(sc,"").replace(Bc,"!"),c===1200&&g%2&&(a.l+=2)}return 3&a.l&&(a.l=a.l>>3<<2),h}function SI(a){var c=a.read_shift(4),u=a.slice(a.l,a.l+c);return a.l+=c,(3&c)>0&&(a.l+=4-(3&c)&3),u}function g1(a,c,u){var h,d=a.read_shift(2),p=u||{};if(a.l+=2,c!==12&&d!==c&&Xw.indexOf(c)===-1&&((65534&c)!=4126||(65534&d)!=4126))throw new Error("Expected type "+c+" saw "+d);switch(c===12?d:c){case 2:return h=a.read_shift(2,"i"),p.raw||(a.l+=2),h;case 3:return h=a.read_shift(4,"i");case 11:return a.read_shift(4)!==0;case 19:return h=a.read_shift(4);case 30:return QI(a,0,4).replace(sc,"");case 31:return Py(a);case 64:return Vd(a);case 65:return SI(a);case 71:return function(g){var A={};return A.Size=g.read_shift(4),g.l+=A.Size+3-(A.Size-1)%4,A}(a);case 80:return xI(a,d,!p.raw).replace(sc,"");case 81:return function(g,A){if(!A)throw new Error("VtUnalignedString must have positive length");return Zd(g,A,0)}(a,d).replace(sc,"");case 4108:return function(g){for(var A=g.read_shift(4),m=[],y=0;y<A/2;++y)m.push(rE(g));return m}(a);case 4126:case 4127:return d==4127?function(g){for(var A=g.read_shift(4),m=[],y=0;y!=A;++y){var b=g.l;m[y]=g.read_shift(0,"lpwstr").replace(sc,""),g.l-b&2&&(g.l+=2)}return m}(a):function(g){for(var A=g.read_shift(4),m=[],y=0;y!=A;++y)m[y]=g.read_shift(0,"lpstr-cp").replace(sc,"");return m}(a);default:throw new Error("TypedPropertyValue unrecognized type "+c+" "+d)}}function _I(a,c){var u=Ir(4),h=Ir(4);switch(u.write_shift(4,a==80?31:a),a){case 3:h.write_shift(-4,c);break;case 5:(h=Ir(8)).write_shift(8,c,"f");break;case 11:h.write_shift(4,c?1:0);break;case 64:h=function(d){var p=(typeof d=="string"?new Date(Date.parse(d)):d).getTime()/1e3+11644473600,g=p%Math.pow(2,32),A=(p-g)/Math.pow(2,32);A*=1e7;var m=(g*=1e7)/Math.pow(2,32)|0;m>0&&(g%=Math.pow(2,32),A+=m);var y=Ir(8);return y.write_shift(4,g),y.write_shift(4,A),y}(c);break;case 31:case 80:for((h=Ir(4+2*(c.length+1)+(c.length%2?0:2))).write_shift(4,c.length+1),h.write_shift(0,c,"dbcs");h.l!=h.length;)h.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+a+" "+c)}return Jo([u,h])}function DI(a,c){var u=a.l,h=a.read_shift(4),d=a.read_shift(4),p=[],g=0,A=0,m=-1,y={};for(g=0;g!=d;++g){var b=a.read_shift(4),I=a.read_shift(4);p[g]=[b,I+u]}p.sort(function(F,N){return F[1]-N[1]});var E={};for(g=0;g!=d;++g){if(a.l!==p[g][1]){var B=!0;if(g>0&&c)switch(c[p[g-1][0]].t){case 2:a.l+2===p[g][1]&&(a.l+=2,B=!1);break;case 80:case 4108:a.l<=p[g][1]&&(a.l=p[g][1],B=!1)}if((!c||g==0)&&a.l<=p[g][1]&&(B=!1,a.l=p[g][1]),B)throw new Error("Read Error: Expected address "+p[g][1]+" at "+a.l+" :"+g)}if(c){var S=c[p[g][0]];if(E[S.n]=g1(a,S.t,{raw:!0}),S.p==="version"&&(E[S.n]=String(E[S.n]>>16)+"."+("0000"+String(65535&E[S.n])).slice(-4)),S.n=="CodePage")switch(E[S.n]){case 0:E[S.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:bl(A=E[S.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+E[S.n])}}else if(p[g][0]===1){if(A=E.CodePage=g1(a,2),bl(A),m!==-1){var _=a.l;a.l=p[m][1],y=nE(a,A),a.l=_}}else if(p[g][0]===0){if(A===0){m=g,a.l=p[g+1][1];continue}y=nE(a,A)}else{var D,T=y[p[g][0]];switch(a[a.l]){case 65:a.l+=4,D=SI(a);break;case 30:case 31:a.l+=4,D=xI(a,a[a.l-4]).replace(/\u0000+$/,"");break;case 3:a.l+=4,D=a.read_shift(4,"i");break;case 19:a.l+=4,D=a.read_shift(4);break;case 5:a.l+=4,D=a.read_shift(8,"f");break;case 11:a.l+=4,D=ds(a,4);break;case 64:a.l+=4,D=Po(Vd(a));break;default:throw new Error("unparsed value: "+a[a.l])}E[T]=D}}return a.l=u+h,E}var Xd=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function M5(a){switch(typeof a){case"boolean":return 11;case"number":return(0|a)==a?3:5;case"string":return 31;case"object":if(a instanceof Date)return 64}return-1}function RI(a,c,u){var h=Ir(8),d=[],p=[],g=8,A=0,m=Ir(8),y=Ir(8);if(m.write_shift(4,2),m.write_shift(4,1200),y.write_shift(4,1),p.push(m),d.push(y),g+=8+m.length,!c){(y=Ir(8)).write_shift(4,0),d.unshift(y);var b=[Ir(4)];for(b[0].write_shift(4,a.length),A=0;A<a.length;++A){var I=a[A][0];for((m=Ir(8+2*(I.length+1)+(I.length%2?0:2))).write_shift(4,A+2),m.write_shift(4,I.length+1),m.write_shift(0,I,"dbcs");m.l!=m.length;)m.write_shift(1,0);b.push(m)}m=Jo(b),p.unshift(m),g+=8+m.length}for(A=0;A<a.length;++A)if((!c||c[a[A][0]])&&!(Xd.indexOf(a[A][0])>-1||_A.indexOf(a[A][0])>-1)&&a[A][1]!=null){var E=a[A][1],B=0;if(c){var S=u[B=+c[a[A][0]]];if(S.p=="version"&&typeof E=="string"){var _=E.split(".");E=(+_[0]<<16)+(+_[1]||0)}m=_I(S.t,E)}else{var D=M5(E);D==-1&&(D=31,E=String(E)),m=_I(D,E)}p.push(m),(y=Ir(8)).write_shift(4,c?B:2+A),d.push(y),g+=8+m.length}var T=8*(p.length+1);for(A=0;A<p.length;++A)d[A].write_shift(4,T),T+=p[A].length;return h.write_shift(4,g),h.write_shift(4,p.length),Jo([h].concat(d).concat(p))}function Gy(a,c,u){var h=a.content;if(!h)return{};lu(h,0);var d,p,g,A,m=0;h.chk("feff","Byte Order: "),h.read_shift(2);var y=h.read_shift(4),b=h.read_shift(16);if(b!==ai.utils.consts.HEADER_CLSID&&b!==u)throw new Error("Bad PropertySet CLSID "+b);if((d=h.read_shift(4))!==1&&d!==2)throw new Error("Unrecognized #Sets: "+d);if(p=h.read_shift(16),A=h.read_shift(4),d===1&&A!==h.l)throw new Error("Length mismatch: "+A+" !== "+h.l);d===2&&(g=h.read_shift(16),m=h.read_shift(4));var I,E=DI(h,c),B={SystemIdentifier:y};for(var S in E)B[S]=E[S];if(B.FMTID=p,d===1)return B;if(m-h.l==2&&(h.l+=2),h.l!==m)throw new Error("Length mismatch 2: "+h.l+" !== "+m);try{I=DI(h,null)}catch{}for(S in I)B[S]=I[S];return B.FMTID=[p,g],B}function iE(a,c,u,h,d,p){var g=Ir(d?68:48),A=[g];g.write_shift(2,65534),g.write_shift(2,0),g.write_shift(4,842412599),g.write_shift(16,ai.utils.consts.HEADER_CLSID,"hex"),g.write_shift(4,d?2:1),g.write_shift(16,c,"hex"),g.write_shift(4,d?68:48);var m=RI(a,u,h);if(A.push(m),d){var y=RI(d,null,null);g.write_shift(16,p,"hex"),g.write_shift(4,68+m.length),A.push(y)}return Jo(A)}function Gu(a,c){return a.read_shift(c),null}function ds(a,c){return a.read_shift(c)===1}function fu(a,c){return c||(c=Ir(2)),c.write_shift(2,+!!a),c}function gs(a){return a.read_shift(2,"u")}function Rc(a,c){return c||(c=Ir(2)),c.write_shift(2,a),c}function Cf(a,c){return function(u,h,d){for(var p=[],g=u.l+h;u.l<g;)p.push(d(u,g-u.l));if(g!==u.l)throw new Error("Slurp error");return p}(a,c,gs)}function $d(a,c,u){return u||(u=Ir(2)),u.write_shift(1,c=="e"?+a:+!!a),u.write_shift(1,c=="e"?1:0),u}function p1(a,c,u){var h=a.read_shift(u&&u.biff>=12?2:1),d="sbcs-cont";return u&&u.biff,u&&u.biff!=8?u.biff==12&&(d="wstr"):a.read_shift(1)&&(d="dbcs-cont"),u.biff>=2&&u.biff<=5&&(d="cpstr"),h?a.read_shift(h,d):""}function Uu(a){var c,u=a.read_shift(2),h=a.read_shift(1),d=4&h,p=8&h,g=1+(1&h),A=0,m={};p&&(A=a.read_shift(2)),d&&(c=a.read_shift(4));var y=g==2?"dbcs-cont":"sbcs-cont",b=u===0?"":a.read_shift(u,y);return p&&(a.l+=4*A),d&&(a.l+=c),m.t=b,p||(m.raw="<t>"+m.t+"</t>",m.r=m.t),m}function Uy(a){var c=a.t||"",u=Ir(3);u.write_shift(2,c.length),u.write_shift(1,1);var h=Ir(2*c.length);return h.write_shift(2*c.length,c,"utf16le"),Jo([u,h])}function rh(a,c,u){if(u){if(u.biff>=2&&u.biff<=5)return a.read_shift(c,"cpstr");if(u.biff>=12)return a.read_shift(c,"dbcs-cont")}return a.read_shift(1)===0?a.read_shift(c,"sbcs-cont"):a.read_shift(c,"dbcs-cont")}function wf(a,c,u){var h=a.read_shift(u&&u.biff==2?1:2);return h===0?(a.l++,""):rh(a,h,u)}function ju(a,c,u){if(u.biff>5)return wf(a,0,u);var h=a.read_shift(1);return h===0?(a.l++,""):a.read_shift(h,u.biff<=4||!a.lens?"cpstr":"sbcs-cont")}function Sl(a,c,u){return u||(u=Ir(3+2*a.length)),u.write_shift(2,a.length),u.write_shift(1,1),u.write_shift(31,a,"utf16le"),u}function aE(a,c){var u=a.read_shift(16);switch(u){case"e0c9ea79f9bace118c8200aa004ba90b":return function(h){var d=h.read_shift(4),p=h.l,g=!1;d>24&&(h.l+=d-24,h.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(g=!0),h.l=p);var A=h.read_shift((g?d-24:d)>>1,"utf16le").replace(sc,"");return g&&(h.l+=24),A}(a);case"0303000000000000c000000000000046":return function(h){for(var d=h.read_shift(2),p="";d-- >0;)p+="../";var g=h.read_shift(0,"lpstr-ansi");if(h.l+=2,h.read_shift(2)!=57005)throw new Error("Bad FileMoniker");if(h.read_shift(4)===0)return p+g.replace(/\\/g,"/");var A=h.read_shift(4);if(h.read_shift(2)!=3)throw new Error("Bad FileMoniker");return p+h.read_shift(A>>1,"utf16le").replace(sc,"")}(a);default:throw new Error("Unsupported Moniker "+u)}}function eg(a){var c=a.read_shift(4);return c>0?a.read_shift(c,"utf16le").replace(sc,""):""}function oE(a,c){c||(c=Ir(6+2*a.length)),c.write_shift(4,1+a.length);for(var u=0;u<a.length;++u)c.write_shift(2,a.charCodeAt(u));return c.write_shift(2,0),c}function F5(a){var c=Ir(512),u=0,h=a.Target;h.slice(0,7)=="file://"&&(h=h.slice(7));var d=h.indexOf("#"),p=d>-1?31:23;switch(h.charAt(0)){case"#":p=28;break;case".":p&=-3}c.write_shift(4,2),c.write_shift(4,p);var g=[8,6815827,6619237,4849780,83];for(u=0;u<g.length;++u)c.write_shift(4,g[u]);if(p==28)oE(h=h.slice(1),c);else if(2&p){for(g="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),u=0;u<g.length;++u)c.write_shift(1,parseInt(g[u],16));var A=d>-1?h.slice(0,d):h;for(c.write_shift(4,2*(A.length+1)),u=0;u<A.length;++u)c.write_shift(2,A.charCodeAt(u));c.write_shift(2,0),8&p&&oE(d>-1?h.slice(d+1):"",c)}else{for(g="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),u=0;u<g.length;++u)c.write_shift(1,parseInt(g[u],16));for(var m=0;h.slice(3*m,3*m+3)=="../"||h.slice(3*m,3*m+3)=="..\\";)++m;for(c.write_shift(2,m),c.write_shift(4,h.length-3*m+1),u=0;u<h.length-3*m;++u)c.write_shift(1,255&h.charCodeAt(u+3*m));for(c.write_shift(1,0),c.write_shift(2,65535),c.write_shift(2,57005),u=0;u<6;++u)c.write_shift(4,0)}return c.slice(0,c.l)}function sE(a){return[a.read_shift(1),a.read_shift(1),a.read_shift(1),a.read_shift(1)]}function Hu(a,c){var u=sE(a);return u[3]=0,u}function Th(a){return{r:a.read_shift(2),c:a.read_shift(2),ixfe:a.read_shift(2)}}function nh(a,c,u,h){return h||(h=Ir(6)),h.write_shift(2,a),h.write_shift(2,c),h.write_shift(2,u||0),h}function T5(a,c,u){var h=u.biff>8?4:2;return[a.read_shift(h),a.read_shift(h,"i"),a.read_shift(h,"i")]}function MI(a){return[a.read_shift(2),A1(a)]}function jy(a){var c=a.read_shift(2),u=a.read_shift(2);return{s:{c:a.read_shift(2),r:c},e:{c:a.read_shift(2),r:u}}}function Yu(a,c){return c||(c=Ir(8)),c.write_shift(2,a.s.r),c.write_shift(2,a.e.r),c.write_shift(2,a.s.c),c.write_shift(2,a.e.c),c}function uE(a){var c=a.read_shift(2),u=a.read_shift(2);return{s:{c:a.read_shift(1),r:c},e:{c:a.read_shift(1),r:u}}}var pc=uE;function cE(a){a.l+=4;var c=a.read_shift(2),u=a.read_shift(2),h=a.read_shift(2);return a.l+=12,[u,c,h]}function Ju(a){a.l+=2,a.l+=a.read_shift(2)}var Vs={0:Ju,4:Ju,5:Ju,6:Ju,7:function(a){return a.l+=4,a.cf=a.read_shift(2),{}},8:Ju,9:Ju,10:Ju,11:Ju,12:Ju,13:function(a){var c={};return a.l+=4,a.l+=16,c.fSharedNote=a.read_shift(2),a.l+=4,c},14:Ju,15:Ju,16:Ju,17:Ju,18:Ju,19:Ju,20:Ju,21:cE};function Eu(a,c){var u={BIFFVer:0,dt:0};switch(u.BIFFVer=a.read_shift(2),(c-=2)>=2&&(u.dt=a.read_shift(2),a.l-=2),u.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(c>6)throw new Error("Unexpected BIFF Ver "+u.BIFFVer)}return a.read_shift(c),u}function FI(a,c,u){var h=1536,d=16;switch(u.bookType){case"biff8":case"xla":break;case"biff5":h=1280,d=8;break;case"biff4":h=4,d=6;break;case"biff3":h=3,d=6;break;case"biff2":h=2,d=4;break;default:throw new Error("unsupported BIFF version")}var p=Ir(d);return p.write_shift(2,h),p.write_shift(2,c),d>4&&p.write_shift(2,29282),d>6&&p.write_shift(2,1997),d>8&&(p.write_shift(2,49161),p.write_shift(2,1),p.write_shift(2,1798),p.write_shift(2,0)),p}function lE(a,c){var u=!c||c.biff>=8?2:1,h=Ir(8+u*a.name.length);h.write_shift(4,a.pos),h.write_shift(1,a.hs||0),h.write_shift(1,a.dt),h.write_shift(1,a.name.length),c.biff>=8&&h.write_shift(1,1),h.write_shift(u*a.name.length,a.name,c.biff<8?"sbcs":"utf16le");var d=h.slice(0,h.l);return d.l=h.l,d}function Bp(a,c,u){var h=0;u&&u.biff==2||(h=a.read_shift(2));var d=a.read_shift(2);return u&&u.biff==2&&(h=1-(d>>15),d&=32767),[{Unsynced:1&h,DyZero:(2&h)>>1,ExAsc:(4&h)>>2,ExDsc:(8&h)>>3},d]}function L5(a,c,u,h){var d=u&&u.biff==5;h||(h=Ir(d?3+c.length:5+2*c.length)),h.write_shift(2,a),h.write_shift(d?1:2,c.length),d||h.write_shift(1,1),h.write_shift((d?1:2)*c.length,c,d?"sbcs":"utf16le");var p=h.length>h.l?h.slice(0,h.l):h;return p.l==null&&(p.l=p.length),p}var Hy=ju;function v1(a,c,u){var h=a.l+c,d=u.biff!=8&&u.biff?2:4,p=a.read_shift(d),g=a.read_shift(d),A=a.read_shift(2),m=a.read_shift(2);return a.l=h,{s:{r:p,c:A},e:{r:g,c:m}}}function TI(a,c,u,h){var d=u&&u.biff==5;h||(h=Ir(d?16:20)),h.write_shift(2,0),a.style?(h.write_shift(2,a.numFmtId||0),h.write_shift(2,65524)):(h.write_shift(2,a.numFmtId||0),h.write_shift(2,c<<4));var p=0;return a.numFmtId>0&&d&&(p|=1024),h.write_shift(4,p),h.write_shift(4,0),d||h.write_shift(4,0),h.write_shift(2,0),h}function tg(a,c,u){var h=Th(a);u.biff!=2&&c!=9||++a.l;var d=function(p){var g=p.read_shift(1);return p.read_shift(1)===1?g:g===1}(a);return h.val=d,h.t=d===!0||d===!1?"b":"e",h}var LI=function(a,c,u){return c===0?"":ju(a,0,u)};function DA(a,c,u){var h,d=a.read_shift(2),p={fBuiltIn:1&d,fWantAdvise:d>>>1&1,fWantPict:d>>>2&1,fOle:d>>>3&1,fOleLink:d>>>4&1,cf:d>>>5&1023,fIcon:d>>>15&1};return u.sbcch===14849&&(h=function(g,A,m){g.l+=4,A-=4;var y=g.l+A,b=p1(g,0,m),I=g.read_shift(2);if(I!==(y-=g.l))throw new Error("Malformed AddinUdf: padding = "+y+" != "+I);return g.l+=I,b}(a,c-2,u)),p.body=h||a.read_shift(c-2),typeof h=="string"&&(p.Name=h),p}var rg=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function y1(a,c,u){var h=a.l+c,d=a.read_shift(2),p=a.read_shift(1),g=a.read_shift(1),A=a.read_shift(u&&u.biff==2?1:2),m=0;(!u||u.biff>=5)&&(u.biff!=5&&(a.l+=2),m=a.read_shift(2),u.biff==5&&(a.l+=2),a.l+=4);var y=rh(a,g,u);32&d&&(y=rg[y.charCodeAt(0)]);var b=h-a.l;u&&u.biff==2&&--b;var I=h!=a.l&&A!==0&&b>0?function(E,B,S,_){var D,T=E.l+B,F=Lp(E,_,S);return T!==E.l&&(D=Tp(E,T-E.l,F,S)),[F,D]}(a,b,u,A):[];return{chKey:p,Name:y,itab:m,rgce:I}}function m1(a,c,u){if(u.biff<8)return function(g,A,m){g[g.l+1]==3&&g[g.l]++;var y=p1(g,0,m);return y.charCodeAt(0)==3?y.slice(1):y}(a,0,u);for(var h=[],d=a.l+c,p=a.read_shift(u.biff>8?4:2);p--!=0;)h.push(T5(a,u.biff,u));if(a.l!=d)throw new Error("Bad ExternSheet: "+a.l+" != "+d);return h}function ng(a,c,u){var h=pc(a);switch(u.biff){case 2:a.l++,c-=7;break;case 3:case 4:a.l+=2,c-=8;break;default:a.l+=6,c-=12}return[h,lg(a,c,u)]}var N5={8:function(a,c){var u=a.l+c;a.l+=10;var h=a.read_shift(2);a.l+=4,a.l+=2,a.l+=2,a.l+=2,a.l+=4;var d=a.read_shift(1);return a.l+=d,a.l=u,{fmt:h}}};function O5(a){var c=Ir(24),u=As(a[0]);c.write_shift(2,u.r),c.write_shift(2,u.r),c.write_shift(2,u.c),c.write_shift(2,u.c);for(var h="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),d=0;d<16;++d)c.write_shift(1,parseInt(h[d],16));return Jo([c,F5(a[1])])}function hE(a){var c=a[1].Tooltip,u=Ir(10+2*(c.length+1));u.write_shift(2,2048);var h=As(a[0]);u.write_shift(2,h.r),u.write_shift(2,h.r),u.write_shift(2,h.c),u.write_shift(2,h.c);for(var d=0;d<c.length;++d)u.write_shift(2,c.charCodeAt(d));return u.write_shift(2,0),u}function ig(a,c,u){if(!u.cellStyles)return qs(a,c);var h=u&&u.biff>=12?4:2,d=a.read_shift(h),p=a.read_shift(h),g=a.read_shift(h),A=a.read_shift(h),m=a.read_shift(2);h==2&&(a.l+=2);var y={s:d,e:p,w:g,ixfe:A,flags:m};return(u.biff>=5||!u.biff)&&(y.level=m>>8&7),y}var NI=Th,ga=Cf,Co=wf,Lh=[2,3,48,49,131,139,140,245],Nh=function(){var a={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},c=by({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function u(d,p){var g=p||{};g.dateNF||(g.dateNF="yyyymmdd");var A=EA(function(m,y){var b=[],I=AA(1);switch(y.type){case"base64":I=Zc(Ra(m));break;case"binary":I=Zc(m);break;case"buffer":case"array":I=m}lu(I,0);var E=I.read_shift(1),B=!!(136&E),S=!1,_=!1;switch(E){case 2:case 3:case 131:case 139:case 245:break;case 48:case 49:S=!0,B=!0;break;case 140:_=!0;break;default:throw new Error("DBF Unsupported Version: "+E.toString(16))}var D=0,T=521;E==2&&(D=I.read_shift(2)),I.l+=3,E!=2&&(D=I.read_shift(4)),D>1048576&&(D=1e6),E!=2&&(T=I.read_shift(2));var F=I.read_shift(2),N=y.codepage||1252;E!=2&&(I.l+=16,I.read_shift(1),I[I.l]!==0&&(N=a[I[I.l]]),I.l+=1,I.l+=2),_&&(I.l+=36);for(var H=[],W={},V=Math.min(I.length,E==2?521:T-10-(S?264:0)),te=_?32:11;I.l<V&&I[I.l]!=13;)switch((W={}).name=Z2.utils.decode(N,I.slice(I.l,I.l+te)).replace(/[\u0000\r\n].*$/g,""),I.l+=te,W.type=String.fromCharCode(I.read_shift(1)),E==2||_||(W.offset=I.read_shift(4)),W.len=I.read_shift(1),E==2&&(W.offset=I.read_shift(2)),W.dec=I.read_shift(1),W.name.length&&H.push(W),E!=2&&(I.l+=_?13:14),W.type){case"B":S&&W.len==8||!y.WTF||console.log("Skipping "+W.name+":"+W.type);break;case"G":case"P":y.WTF&&console.log("Skipping "+W.name+":"+W.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+W.type)}if(I[I.l]!==13&&(I.l=T-1),I.read_shift(1)!==13)throw new Error("DBF Terminator not found "+I.l+" "+I[I.l]);I.l=T;var ue=0,fe=0;for(b[0]=[],fe=0;fe!=H.length;++fe)b[0][fe]=H[fe].name;for(;D-- >0;)if(I[I.l]!==42)for(++I.l,b[++ue]=[],fe=0,fe=0;fe!=H.length;++fe){var de=I.slice(I.l,I.l+H[fe].len);I.l+=H[fe].len,lu(de,0);var Ae=Z2.utils.decode(N,de);switch(H[fe].type){case"C":Ae.trim().length&&(b[ue][fe]=Ae.replace(/\s+$/,""));break;case"D":Ae.length===8?b[ue][fe]=new Date(+Ae.slice(0,4),+Ae.slice(4,6)-1,+Ae.slice(6,8)):b[ue][fe]=Ae;break;case"F":b[ue][fe]=parseFloat(Ae.trim());break;case"+":case"I":b[ue][fe]=_?2147483648^de.read_shift(-4,"i"):de.read_shift(4,"i");break;case"L":switch(Ae.trim().toUpperCase()){case"Y":case"T":b[ue][fe]=!0;break;case"N":case"F":b[ue][fe]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+Ae+"|")}break;case"M":if(!B)throw new Error("DBF Unexpected MEMO for type "+E.toString(16));b[ue][fe]="##MEMO##"+(_?parseInt(Ae.trim(),10):de.read_shift(4));break;case"N":(Ae=Ae.replace(/\u0000/g,"").trim())&&Ae!="."&&(b[ue][fe]=+Ae||0);break;case"@":b[ue][fe]=new Date(de.read_shift(-8,"f")-621356832e5);break;case"T":b[ue][fe]=new Date(864e5*(de.read_shift(4)-2440588)+de.read_shift(4));break;case"Y":b[ue][fe]=de.read_shift(4,"i")/1e4+de.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":b[ue][fe]=-de.read_shift(-8,"f");break;case"B":if(S&&H[fe].len==8){b[ue][fe]=de.read_shift(8,"f");break}case"G":case"P":de.l+=H[fe].len;break;case"0":if(H[fe].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+H[fe].type)}}else I.l+=F;if(E!=2&&I.l<I.length&&I[I.l++]!=26)throw new Error("DBF EOF Marker missing "+(I.l-1)+" of "+I.length+" "+I[I.l-1].toString(16));return y&&y.sheetRows&&(b=b.slice(0,y.sheetRows)),y.DBF=H,b}(d,g),g);return A["!cols"]=g.DBF.map(function(m){return{wch:m.len,DBF:m}}),delete g.DBF,A}var h={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function(d,p){try{return Sc(u(d,p),p)}catch(g){if(p&&p.WTF)throw g}return{SheetNames:[],Sheets:{}}},to_sheet:u,from_sheet:function(d,p){var g=p||{};if(+g.codepage>=0&&bl(+g.codepage),g.type=="string")throw new Error("Cannot write DBF to JS string");var A=Ac(),m=mm(d,{header:1,raw:!0,cellDates:!0}),y=m[0],b=m.slice(1),I=d["!cols"]||[],E=0,B=0,S=0,_=1;for(E=0;E<y.length;++E)if(((I[E]||{}).DBF||{}).name)y[E]=I[E].DBF.name,++S;else if(y[E]!=null){if(++S,typeof y[E]=="number"&&(y[E]=y[E].toString(10)),typeof y[E]!="string")throw new Error("DBF Invalid column name "+y[E]+" |"+typeof y[E]+"|");if(y.indexOf(y[E])!==E){for(B=0;B<1024;++B)if(y.indexOf(y[E]+"_"+B)==-1){y[E]+="_"+B;break}}}var D=Ta(d["!ref"]),T=[],F=[],N=[];for(E=0;E<=D.e.c-D.s.c;++E){var H="",W="",V=0,te=[];for(B=0;B<b.length;++B)b[B][E]!=null&&te.push(b[B][E]);if(te.length!=0&&y[E]!=null){for(B=0;B<te.length;++B){switch(typeof te[B]){case"number":W="B";break;case"string":default:W="C";break;case"boolean":W="L";break;case"object":W=te[B]instanceof Date?"D":"C"}V=Math.max(V,String(te[B]).length),H=H&&H!=W?"C":W}V>250&&(V=250),(W=((I[E]||{}).DBF||{}).type)=="C"&&I[E].DBF.len>V&&(V=I[E].DBF.len),H=="B"&&W=="N"&&(H="N",N[E]=I[E].DBF.dec,V=I[E].DBF.len),F[E]=H=="C"||W=="N"?V:h[H]||0,_+=F[E],T[E]=H}else T[E]="?"}var ue=A.next(32);for(ue.write_shift(4,318902576),ue.write_shift(4,b.length),ue.write_shift(2,296+32*S),ue.write_shift(2,_),E=0;E<4;++E)ue.write_shift(4,0);for(ue.write_shift(4,(+c[op]||3)<<8),E=0,B=0;E<y.length;++E)if(y[E]!=null){var fe=A.next(32),de=(y[E].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);fe.write_shift(1,de,"sbcs"),fe.write_shift(1,T[E]=="?"?"C":T[E],"sbcs"),fe.write_shift(4,B),fe.write_shift(1,F[E]||h[T[E]]||0),fe.write_shift(1,N[E]||0),fe.write_shift(1,2),fe.write_shift(4,0),fe.write_shift(1,0),fe.write_shift(4,0),fe.write_shift(4,0),B+=F[E]||h[T[E]]||0}var Ae=A.next(264);for(Ae.write_shift(4,13),E=0;E<65;++E)Ae.write_shift(4,0);for(E=0;E<b.length;++E){var we=A.next(_);for(we.write_shift(1,0),B=0;B<y.length;++B)if(y[B]!=null)switch(T[B]){case"L":we.write_shift(1,b[E][B]==null?63:b[E][B]?84:70);break;case"B":we.write_shift(8,b[E][B]||0,"f");break;case"N":var Z="0";for(typeof b[E][B]=="number"&&(Z=b[E][B].toFixed(N[B]||0)),S=0;S<F[B]-Z.length;++S)we.write_shift(1,32);we.write_shift(1,Z,"sbcs");break;case"D":b[E][B]?(we.write_shift(4,("0000"+b[E][B].getFullYear()).slice(-4),"sbcs"),we.write_shift(2,("00"+(b[E][B].getMonth()+1)).slice(-2),"sbcs"),we.write_shift(2,("00"+b[E][B].getDate()).slice(-2),"sbcs")):we.write_shift(8,"00000000","sbcs");break;case"C":var ne=String(b[E][B]!=null?b[E][B]:"").slice(0,F[B]);for(we.write_shift(1,ne,"sbcs"),S=0;S<F[B]-ne.length;++S)we.write_shift(1,32)}}return A.next(1).write_shift(1,26),A.end()}}}(),OI=function(){var a={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},c=new RegExp("\x1BN("+to(a).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),u=function(A,m){var y=a[m];return typeof y=="number"?Ew(y):y},h=function(A,m,y){var b=m.charCodeAt(0)-32<<4|y.charCodeAt(0)-48;return b==59?A:Ew(b)};function d(A,m){var y,b=A.split(/[\n\r]+/),I=-1,E=-1,B=0,S=0,_=[],D=[],T=null,F={},N=[],H=[],W=[],V=0;for(+m.codepage>=0&&bl(+m.codepage);B!==b.length;++B){V=0;var te,ue=b[B].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,h).replace(c,u),fe=ue.replace(/;;/g,"\0").split(";").map(function(se){return se.replace(/\u0000/g,";")}),de=fe[0];if(ue.length>0)switch(de){case"ID":case"E":case"B":case"O":case"W":break;case"P":fe[1].charAt(0)=="P"&&D.push(ue.slice(3).replace(/;;/g,";"));break;case"C":var Ae=!1,we=!1,Z=!1,ne=!1,j=-1,J=-1;for(S=1;S<fe.length;++S)switch(fe[S].charAt(0)){case"A":case"G":break;case"X":E=parseInt(fe[S].slice(1))-1,we=!0;break;case"Y":for(I=parseInt(fe[S].slice(1))-1,we||(E=0),y=_.length;y<=I;++y)_[y]=[];break;case"K":(te=fe[S].slice(1)).charAt(0)==='"'?te=te.slice(1,te.length-1):te==="TRUE"?te=!0:te==="FALSE"?te=!1:isNaN(_h(te))?isNaN(Md(te).getDate())||(te=Po(te)):(te=_h(te),T!==null&&wl(T)&&(te=Cy(te))),Ae=!0;break;case"E":ne=!0;var q=Ph(fe[S].slice(1),{r:I,c:E});_[I][E]=[_[I][E],q];break;case"S":Z=!0,_[I][E]=[_[I][E],"S5S"];break;case"R":j=parseInt(fe[S].slice(1))-1;break;case"C":J=parseInt(fe[S].slice(1))-1;break;default:if(m&&m.WTF)throw new Error("SYLK bad record "+ue)}if(Ae&&(_[I][E]&&_[I][E].length==2?_[I][E][0]=te:_[I][E]=te,T=null),Z){if(ne)throw new Error("SYLK shared formula cannot have own formula");var z=j>-1&&_[j][J];if(!z||!z[1])throw new Error("SYLK shared formula cannot find base");_[I][E][1]=Rp(z[1],{r:I-j,c:E-J})}break;case"F":var X=0;for(S=1;S<fe.length;++S)switch(fe[S].charAt(0)){case"X":E=parseInt(fe[S].slice(1))-1,++X;break;case"Y":for(I=parseInt(fe[S].slice(1))-1,y=_.length;y<=I;++y)_[y]=[];break;case"M":V=parseInt(fe[S].slice(1))/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":T=D[parseInt(fe[S].slice(1))];break;case"W":for(W=fe[S].slice(1).split(" "),y=parseInt(W[0],10);y<=parseInt(W[1],10);++y)V=parseInt(W[2],10),H[y-1]=V===0?{hidden:!0}:{wch:V},Uo(H[y-1]);break;case"C":H[E=parseInt(fe[S].slice(1))-1]||(H[E]={});break;case"R":N[I=parseInt(fe[S].slice(1))-1]||(N[I]={}),V>0?(N[I].hpt=V,N[I].hpx=Ef(V)):V===0&&(N[I].hidden=!0);break;default:if(m&&m.WTF)throw new Error("SYLK bad record "+ue)}X<1&&(T=null);break;default:if(m&&m.WTF)throw new Error("SYLK bad record "+ue)}}return N.length>0&&(F["!rows"]=N),H.length>0&&(F["!cols"]=H),m&&m.sheetRows&&(_=_.slice(0,m.sheetRows)),[_,F]}function p(A,m){var y=function(B,S){switch(S.type){case"base64":return d(Ra(B),S);case"binary":return d(B,S);case"buffer":return d(ki&&Buffer.isBuffer(B)?B.toString("binary"):Af(B),S);case"array":return d(pf(B),S)}throw new Error("Unrecognized type "+S.type)}(A,m),b=y[0],I=y[1],E=EA(b,m);return to(I).forEach(function(B){E[B]=I[B]}),E}function g(A,m,y,b){var I="C;Y"+(y+1)+";X"+(b+1)+";K";switch(A.t){case"n":I+=A.v||0,A.f&&!A.F&&(I+=";E"+Xy(A.f,{r:y,c:b}));break;case"b":I+=A.v?"TRUE":"FALSE";break;case"e":I+=A.w||A.v;break;case"d":I+='"'+(A.w||A.v)+'"';break;case"s":I+='"'+A.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return I}return a["|"]=254,{to_workbook:function(A,m){return Sc(p(A,m),m)},to_sheet:p,from_sheet:function(A,m){var y,b,I=["ID;PWXL;N;E"],E=[],B=Ta(A["!ref"]),S=Array.isArray(A),_=`\r
  108. `;I.push("P;PGeneral"),I.push("F;P0;DG0G8;M255"),A["!cols"]&&(b=I,A["!cols"].forEach(function(N,H){var W="F;W"+(H+1)+" "+(H+1)+" ";N.hidden?W+="0":(typeof N.width!="number"||N.wpx||(N.wpx=Fl(N.width)),typeof N.wpx!="number"||N.wch||(N.wch=Tl(N.wpx)),typeof N.wch=="number"&&(W+=Math.round(N.wch))),W.charAt(W.length-1)!=" "&&b.push(W)})),A["!rows"]&&function(N,H){H.forEach(function(W,V){var te="F;";W.hidden?te+="M0;":W.hpt?te+="M"+20*W.hpt+";":W.hpx&&(te+="M"+20*La(W.hpx)+";"),te.length>2&&N.push(te+"R"+(V+1))})}(I,A["!rows"]),I.push("B;Y"+(B.e.r-B.s.r+1)+";X"+(B.e.c-B.s.c+1)+";D"+[B.s.c,B.s.r,B.e.c,B.e.r].join(" "));for(var D=B.s.r;D<=B.e.r;++D)for(var T=B.s.c;T<=B.e.c;++T){var F=Mi({r:D,c:T});(y=S?(A[D]||[])[T]:A[F])&&(y.v!=null||y.f&&!y.F)&&E.push(g(y,0,D,T))}return I.join(_)+_+E.join(_)+_+"E"+_}}}(),kp=function(){function a(u,h){for(var d=u.split(`
  109. `),p=-1,g=-1,A=0,m=[];A!==d.length;++A)if(d[A].trim()!=="BOT"){if(!(p<0)){for(var y=d[A].trim().split(","),b=y[0],I=y[1],E=d[++A]||"";1&(E.match(/["]/g)||[]).length&&A<d.length-1;)E+=`
  110. `+d[++A];switch(E=E.trim(),+b){case-1:if(E==="BOT"){m[++p]=[],g=0;continue}if(E!=="EOD")throw new Error("Unrecognized DIF special command "+E);break;case 0:E==="TRUE"?m[p][g]=!0:E==="FALSE"?m[p][g]=!1:isNaN(_h(I))?isNaN(Md(I).getDate())?m[p][g]=I:m[p][g]=Po(I):m[p][g]=_h(I),++g;break;case 1:(E=(E=E.slice(1,E.length-1)).replace(/""/g,'"'))&&E.match(/^=".*"$/)&&(E=E.slice(2,-1)),m[p][g++]=E!==""?E:null}if(E==="EOD")break}}else m[++p]=[],g=0;return h&&h.sheetRows&&(m=m.slice(0,h.sheetRows)),m}function c(u,h){return EA(function(d,p){switch(p.type){case"base64":return a(Ra(d),p);case"binary":return a(d,p);case"buffer":return a(ki&&Buffer.isBuffer(d)?d.toString("binary"):Af(d),p);case"array":return a(pf(d),p)}throw new Error("Unrecognized type "+p.type)}(u,h),h)}return{to_workbook:function(u,h){return Sc(c(u,h),h)},to_sheet:c,from_sheet:function(){var u=function(d,p,g,A,m){d.push(p),d.push(g+","+A),d.push('"'+m.replace(/"/g,'""')+'"')},h=function(d,p,g,A){d.push(p+","+g),d.push(p==1?'"'+A.replace(/"/g,'""')+'"':A)};return function(d){var p,g=[],A=Ta(d["!ref"]),m=Array.isArray(d);u(g,"TABLE",0,1,"sheetjs"),u(g,"VECTORS",0,A.e.r-A.s.r+1,""),u(g,"TUPLES",0,A.e.c-A.s.c+1,""),u(g,"DATA",0,0,"");for(var y=A.s.r;y<=A.e.r;++y){h(g,-1,0,"BOT");for(var b=A.s.c;b<=A.e.c;++b){var I=Mi({r:y,c:b});if(p=m?(d[y]||[])[b]:d[I])switch(p.t){case"n":var E=p.w;E||p.v==null||(E=p.v),E==null?p.f&&!p.F?h(g,1,0,"="+p.f):h(g,1,0,""):h(g,0,E,"V");break;case"b":h(g,0,p.v?1:0,p.v?"TRUE":"FALSE");break;case"s":h(g,1,0,isNaN(p.v)?p.v:'="'+p.v+'"');break;case"d":p.w||(p.w=El(p.z||xi[14],Ys(Po(p.v)))),h(g,0,p.w,"V");break;default:h(g,1,0,"")}else h(g,1,0,"")}}return h(g,-1,0,"EOD"),g.join(`\r
  111. `)}}()}}(),_l=function(){function a(A){return A.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function c(A,m){return EA(function(y,b){for(var I=y.split(`
  112. `),E=-1,B=-1,S=0,_=[];S!==I.length;++S){var D=I[S].trim().split(":");if(D[0]==="cell"){var T=As(D[1]);if(_.length<=T.r)for(E=_.length;E<=T.r;++E)_[E]||(_[E]=[]);switch(E=T.r,B=T.c,D[2]){case"t":_[E][B]=D[3].replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
  113. `);break;case"v":_[E][B]=+D[3];break;case"vtf":var F=D[D.length-1];case"vtc":D[3]==="nl"?_[E][B]=!!+D[4]:_[E][B]=+D[4],D[2]=="vtf"&&(_[E][B]=[_[E][B],F])}}}return b&&b.sheetRows&&(_=_.slice(0,b.sheetRows)),_}(A,m),m)}var u=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(`
  114. `),h=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(`
  115. `)+`
  116. `,d=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
  117. `),p="--SocialCalcSpreadsheetControlSave--";function g(A){if(!A||!A["!ref"])return"";for(var m,y=[],b=[],I="",E=dc(A["!ref"]),B=Array.isArray(A),S=E.s.r;S<=E.e.r;++S)for(var _=E.s.c;_<=E.e.c;++_)if(I=Mi({r:S,c:_}),(m=B?(A[S]||[])[_]:A[I])&&m.v!=null&&m.t!=="z"){switch(b=["cell",I,"t"],m.t){case"s":case"str":b.push(a(m.v));break;case"n":m.f?(b[2]="vtf",b[3]="n",b[4]=m.v,b[5]=a(m.f)):(b[2]="v",b[3]=m.v);break;case"b":b[2]="vt"+(m.f?"f":"c"),b[3]="nl",b[4]=m.v?"1":"0",b[5]=a(m.f||(m.v?"TRUE":"FALSE"));break;case"d":var D=Ys(Po(m.v));b[2]="vtc",b[3]="nd",b[4]=""+D,b[5]=m.w||El(m.z||xi[14],D);break;case"e":continue}y.push(b.join(":"))}return y.push("sheet:c:"+(E.e.c-E.s.c+1)+":r:"+(E.e.r-E.s.r+1)+":tvf:1"),y.push("valueformat:1:text-wiki"),y.join(`
  118. `)}return{to_workbook:function(A,m){return Sc(c(A,m),m)},to_sheet:c,from_sheet:function(A){return[u,h,d,h,g(A),p].join(`
  119. `)}}}(),ag=function(){function a(A,m,y,b,I){I.raw?m[y][b]=A:A===""||(A==="TRUE"?m[y][b]=!0:A==="FALSE"?m[y][b]=!1:isNaN(_h(A))?isNaN(Md(A).getDate())?m[y][b]=A:m[y][b]=Po(A):m[y][b]=_h(A))}var c={44:",",9:" ",59:";",124:"|"},u={44:3,9:2,59:1,124:0};function h(A){for(var m={},y=!1,b=0,I=0;b<A.length;++b)(I=A.charCodeAt(b))==34?y=!y:!y&&I in c&&(m[I]=(m[I]||0)+1);for(b in I=[],m)Object.prototype.hasOwnProperty.call(m,b)&&I.push([m[b],b]);if(!I.length)for(b in m=u)Object.prototype.hasOwnProperty.call(m,b)&&I.push([m[b],b]);return I.sort(function(E,B){return E[0]-B[0]||u[E[1]]-u[B[1]]}),c[I.pop()[1]]||44}function d(A,m){var y=m||{},b="",I=y.dense?[]:{},E={s:{c:0,r:0},e:{c:0,r:0}};A.slice(0,4)=="sep="?A.charCodeAt(5)==13&&A.charCodeAt(6)==10?(b=A.charAt(4),A=A.slice(7)):A.charCodeAt(5)==13||A.charCodeAt(5)==10?(b=A.charAt(4),A=A.slice(6)):b=h(A.slice(0,1024)):b=y&&y.FS?y.FS:h(A.slice(0,1024));var B=0,S=0,_=0,D=0,T=0,F=b.charCodeAt(0),N=!1,H=0,W=A.charCodeAt(0);A=A.replace(/\r\n/gm,`
  120. `);var V,te,ue=y.dateNF!=null?(V=y.dateNF,te=(te=typeof V=="number"?xi[V]:V).replace(n1,"(\\d+)"),new RegExp("^"+te+"$")):null;function fe(){var de=A.slice(D,T),Ae={};if(de.charAt(0)=='"'&&de.charAt(de.length-1)=='"'&&(de=de.slice(1,-1).replace(/""/g,'"')),de.length===0)Ae.t="z";else if(y.raw)Ae.t="s",Ae.v=de;else if(de.trim().length===0)Ae.t="s",Ae.v=de;else if(de.charCodeAt(0)==61)de.charCodeAt(1)==34&&de.charCodeAt(de.length-1)==34?(Ae.t="s",Ae.v=de.slice(2,-1).replace(/""/g,'"')):de.length!=1?(Ae.t="n",Ae.f=de.slice(1)):(Ae.t="s",Ae.v=de);else if(de=="TRUE")Ae.t="b",Ae.v=!0;else if(de=="FALSE")Ae.t="b",Ae.v=!1;else if(isNaN(_=_h(de)))if(!isNaN(Md(de).getDate())||ue&&de.match(ue)){Ae.z=y.dateNF||xi[14];var we=0;ue&&de.match(ue)&&(de=function(Z,ne,j){var J=-1,q=-1,z=-1,X=-1,se=-1,oe=-1;(ne.match(n1)||[]).forEach(function(me,Fe){var _e=parseInt(j[Fe+1],10);switch(me.toLowerCase().charAt(0)){case"y":J=_e;break;case"d":z=_e;break;case"h":X=_e;break;case"s":oe=_e;break;case"m":X>=0?se=_e:q=_e}}),oe>=0&&se==-1&&q>=0&&(se=q,q=-1);var ye=(""+(J>=0?J:new Date().getFullYear())).slice(-4)+"-"+("00"+(q>=1?q:1)).slice(-2)+"-"+("00"+(z>=1?z:1)).slice(-2);ye.length==7&&(ye="0"+ye),ye.length==8&&(ye="20"+ye);var ae=("00"+(X>=0?X:0)).slice(-2)+":"+("00"+(se>=0?se:0)).slice(-2)+":"+("00"+(oe>=0?oe:0)).slice(-2);return X==-1&&se==-1&&oe==-1?ye:J==-1&&q==-1&&z==-1?ae:ye+"T"+ae}(0,y.dateNF,de.match(ue)||[]),we=1),y.cellDates?(Ae.t="d",Ae.v=Po(de,we)):(Ae.t="n",Ae.v=Ys(Po(de,we))),y.cellText!==!1&&(Ae.w=El(Ae.z,Ae.v instanceof Date?Ys(Ae.v):Ae.v)),y.cellNF||delete Ae.z}else Ae.t="s",Ae.v=de;else Ae.t="n",y.cellText!==!1&&(Ae.w=de),Ae.v=_;if(Ae.t=="z"||(y.dense?(I[B]||(I[B]=[]),I[B][S]=Ae):I[Mi({c:S,r:B})]=Ae),D=T+1,W=A.charCodeAt(D),E.e.c<S&&(E.e.c=S),E.e.r<B&&(E.e.r=B),H==F)++S;else if(S=0,++B,y.sheetRows&&y.sheetRows<=B)return!0}e:for(;T<A.length;++T)switch(H=A.charCodeAt(T)){case 34:W===34&&(N=!N);break;case F:case 10:case 13:if(!N&&fe())break e}return T-D>0&&fe(),I["!ref"]=bi(E),I}function p(A,m){return m&&m.PRN?m.FS||A.slice(0,4)=="sep="||A.indexOf(" ")>=0||A.indexOf(",")>=0||A.indexOf(";")>=0?d(A,m):EA(function(y,b){var I=b||{},E=[];if(!y||y.length===0)return E;for(var B=y.split(/[\r\n]/),S=B.length-1;S>=0&&B[S].length===0;)--S;for(var _=10,D=0,T=0;T<=S;++T)(D=B[T].indexOf(" "))==-1?D=B[T].length:D++,_=Math.max(_,D);for(T=0;T<=S;++T){E[T]=[];var F=0;for(a(B[T].slice(0,_).trim(),E,T,F,I),F=1;F<=(B[T].length-_)/10+1;++F)a(B[T].slice(_+10*(F-1),_+10*F).trim(),E,T,F,I)}return I.sheetRows&&(E=E.slice(0,I.sheetRows)),E}(A,m),m):d(A,m)}function g(A,m){var y="",b=m.type=="string"?[0,0,0,0]:pm(A,m);switch(m.type){case"base64":y=Ra(A);break;case"binary":case"string":y=A;break;case"buffer":m.codepage==65001?y=A.toString("utf8"):(m.codepage,y=ki&&Buffer.isBuffer(A)?A.toString("binary"):Af(A));break;case"array":y=pf(A);break;default:throw new Error("Unrecognized type "+m.type)}return b[0]==239&&b[1]==187&&b[2]==191?y=vo(y.slice(3)):m.type!="string"&&m.type!="buffer"&&m.codepage==65001?y=vo(y):m.type,y.slice(0,19)=="socialcalc:version:"?_l.to_sheet(m.type=="string"?y:vo(y),m):p(y,m)}return{to_workbook:function(A,m){return Sc(g(A,m),m)},to_sheet:g,from_sheet:function(A){for(var m,y=[],b=Ta(A["!ref"]),I=Array.isArray(A),E=b.s.r;E<=b.e.r;++E){for(var B=[],S=b.s.c;S<=b.e.c;++S){var _=Mi({r:E,c:S});if((m=I?(A[E]||[])[S]:A[_])&&m.v!=null){for(var D=(m.w||(wA(m),m.w)||"").slice(0,10);D.length<10;)D+=" ";B.push(D+(S===0?" ":""))}else B.push(" ")}y.push(B.join(""))}return y.join(`
  121. `)}}}(),Oh=function(){function a(N,H,W){if(N){lu(N,N.l||0);for(var V=W.Enum||T;N.l<N.length;){var te=N.read_shift(2),ue=V[te]||V[65535],fe=N.read_shift(2),de=N.l+fe,Ae=ue.f&&ue.f(N,fe,W);if(N.l=de,H(Ae,ue,te))return}}}function c(N,H){if(!N)return N;var W=H||{},V=W.dense?[]:{},te="Sheet1",ue="",fe=0,de={},Ae=[],we=[],Z={s:{r:0,c:0},e:{r:0,c:0}},ne=W.sheetRows||0;if(N[2]==0&&(N[3]==8||N[3]==9)&&N.length>=16&&N[14]==5&&N[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(N[2]==2)W.Enum=T,a(N,function(z,X,se){switch(se){case 0:W.vers=z,z>=4096&&(W.qpro=!0);break;case 6:Z=z;break;case 204:z&&(ue=z);break;case 222:ue=z;break;case 15:case 51:W.qpro||(z[1].v=z[1].v.slice(1));case 13:case 14:case 16:se==14&&!(112&~z[2])&&(15&z[2])>1&&(15&z[2])<15&&(z[1].z=W.dateNF||xi[14],W.cellDates&&(z[1].t="d",z[1].v=Cy(z[1].v))),W.qpro&&z[3]>fe&&(V["!ref"]=bi(Z),de[te]=V,Ae.push(te),V=W.dense?[]:{},Z={s:{r:0,c:0},e:{r:0,c:0}},fe=z[3],te=ue||"Sheet"+(fe+1),ue="");var oe=W.dense?(V[z[0].r]||[])[z[0].c]:V[Mi(z[0])];if(oe){oe.t=z[1].t,oe.v=z[1].v,z[1].z!=null&&(oe.z=z[1].z),z[1].f!=null&&(oe.f=z[1].f);break}W.dense?(V[z[0].r]||(V[z[0].r]=[]),V[z[0].r][z[0].c]=z[1]):V[Mi(z[0])]=z[1]}},W);else{if(N[2]!=26&&N[2]!=14)throw new Error("Unrecognized LOTUS BOF "+N[2]);W.Enum=F,N[2]==14&&(W.qpro=!0,N.l=0),a(N,function(z,X,se){switch(se){case 204:te=z;break;case 22:z[1].v=z[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(z[3]>fe&&(V["!ref"]=bi(Z),de[te]=V,Ae.push(te),V=W.dense?[]:{},Z={s:{r:0,c:0},e:{r:0,c:0}},fe=z[3],te="Sheet"+(fe+1)),ne>0&&z[0].r>=ne)break;W.dense?(V[z[0].r]||(V[z[0].r]=[]),V[z[0].r][z[0].c]=z[1]):V[Mi(z[0])]=z[1],Z.e.c<z[0].c&&(Z.e.c=z[0].c),Z.e.r<z[0].r&&(Z.e.r=z[0].r);break;case 27:z[14e3]&&(we[z[14e3][0]]=z[14e3][1]);break;case 1537:we[z[0]]=z[1],z[0]==fe&&(te=z[1])}},W)}if(V["!ref"]=bi(Z),de[ue||te]=V,Ae.push(ue||te),!we.length)return{SheetNames:Ae,Sheets:de};for(var j={},J=[],q=0;q<we.length;++q)de[Ae[q]]?(J.push(we[q]||Ae[q]),j[we[q]]=de[we[q]]||de[Ae[q]]):(J.push(we[q]),j[we[q]]={"!ref":"A1"});return{SheetNames:J,Sheets:j}}function u(N,H,W){var V=[{c:0,r:0},{t:"n",v:0},0,0];return W.qpro&&W.vers!=20768?(V[0].c=N.read_shift(1),V[3]=N.read_shift(1),V[0].r=N.read_shift(2),N.l+=2):(V[2]=N.read_shift(1),V[0].c=N.read_shift(2),V[0].r=N.read_shift(2)),V}function h(N,H,W){var V=N.l+H,te=u(N,0,W);if(te[1].t="s",W.vers==20768){N.l++;var ue=N.read_shift(1);return te[1].v=N.read_shift(ue,"utf8"),te}return W.qpro&&N.l++,te[1].v=N.read_shift(V-N.l,"cstr"),te}function d(N,H,W){var V=Ir(7+W.length);V.write_shift(1,255),V.write_shift(2,H),V.write_shift(2,N),V.write_shift(1,39);for(var te=0;te<V.length;++te){var ue=W.charCodeAt(te);V.write_shift(1,ue>=128?95:ue)}return V.write_shift(1,0),V}function p(N,H,W){var V=Ir(7);return V.write_shift(1,255),V.write_shift(2,H),V.write_shift(2,N),V.write_shift(2,W,"i"),V}function g(N,H,W){var V=Ir(13);return V.write_shift(1,255),V.write_shift(2,H),V.write_shift(2,N),V.write_shift(8,W,"f"),V}function A(N,H,W){var V=32768&H;return H=(V?N:0)+((H&=-32769)>=8192?H-16384:H),(V?"":"$")+(W?rs(H):Ss(H))}var m={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},y=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function b(N){var H=[{c:0,r:0},{t:"n",v:0},0];return H[0].r=N.read_shift(2),H[3]=N[N.l++],H[0].c=N[N.l++],H}function I(N,H,W,V){var te=Ir(6+V.length);te.write_shift(2,N),te.write_shift(1,W),te.write_shift(1,H),te.write_shift(1,39);for(var ue=0;ue<V.length;++ue){var fe=V.charCodeAt(ue);te.write_shift(1,fe>=128?95:fe)}return te.write_shift(1,0),te}function E(N,H){var W=b(N),V=N.read_shift(4),te=N.read_shift(4),ue=N.read_shift(2);if(ue==65535)return V===0&&te===3221225472?(W[1].t="e",W[1].v=15):V===0&&te===3489660928?(W[1].t="e",W[1].v=42):W[1].v=0,W;var fe=32768&ue;return ue=(32767&ue)-16446,W[1].v=(1-2*fe)*(te*Math.pow(2,ue+32)+V*Math.pow(2,ue)),W}function B(N,H,W,V){var te=Ir(14);if(te.write_shift(2,N),te.write_shift(1,W),te.write_shift(1,H),V==0)return te.write_shift(4,0),te.write_shift(4,0),te.write_shift(2,65535),te;var ue,fe=0,de=0,Ae=0;return V<0&&(fe=1,V=-V),de=0|Math.log2(V),2147483648&(Ae=(V/=Math.pow(2,de-31))>>>0)||(++de,Ae=(V/=2)>>>0),V-=Ae,Ae|=2147483648,Ae>>>=0,ue=(V*=Math.pow(2,32))>>>0,te.write_shift(4,ue),te.write_shift(4,Ae),de+=16383+(fe?32768:0),te.write_shift(2,de),te}function S(N,H){var W=b(N),V=N.read_shift(8,"f");return W[1].v=V,W}function _(N,H){return N[N.l+H-1]==0?N.read_shift(H,"cstr"):""}function D(N,H){var W=Ir(5+N.length);W.write_shift(2,14e3),W.write_shift(2,H);for(var V=0;V<N.length;++V){var te=N.charCodeAt(V);W[W.l++]=te>127?95:te}return W[W.l++]=0,W}var T={0:{n:"BOF",f:gs},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(N,H,W){var V={s:{c:0,r:0},e:{c:0,r:0}};return H==8&&W.qpro?(V.s.c=N.read_shift(1),N.l++,V.s.r=N.read_shift(2),V.e.c=N.read_shift(1),N.l++,V.e.r=N.read_shift(2),V):(V.s.c=N.read_shift(2),V.s.r=N.read_shift(2),H==12&&W.qpro&&(N.l+=2),V.e.c=N.read_shift(2),V.e.r=N.read_shift(2),H==12&&W.qpro&&(N.l+=2),V.s.c==65535&&(V.s.c=V.e.c=V.s.r=V.e.r=0),V)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(N,H,W){var V=u(N,0,W);return V[1].v=N.read_shift(2,"i"),V}},14:{n:"NUMBER",f:function(N,H,W){var V=u(N,0,W);return V[1].v=N.read_shift(8,"f"),V}},15:{n:"LABEL",f:h},16:{n:"FORMULA",f:function(N,H,W){var V=N.l+H,te=u(N,0,W);if(te[1].v=N.read_shift(8,"f"),W.qpro)N.l=V;else{var ue=N.read_shift(2);(function(fe,de){lu(fe,0);for(var Ae=[],we=0,Z="",ne="",j="",J="";fe.l<fe.length;){var q=fe[fe.l++];switch(q){case 0:Ae.push(fe.read_shift(8,"f"));break;case 1:ne=A(de[0].c,fe.read_shift(2),!0),Z=A(de[0].r,fe.read_shift(2),!1),Ae.push(ne+Z);break;case 2:var z=A(de[0].c,fe.read_shift(2),!0),X=A(de[0].r,fe.read_shift(2),!1);ne=A(de[0].c,fe.read_shift(2),!0),Z=A(de[0].r,fe.read_shift(2),!1),Ae.push(z+X+":"+ne+Z);break;case 3:if(fe.l<fe.length)return void console.error("WK1 premature formula end");break;case 4:Ae.push("("+Ae.pop()+")");break;case 5:Ae.push(fe.read_shift(2));break;case 6:for(var se="";q=fe[fe.l++];)se+=String.fromCharCode(q);Ae.push('"'+se.replace(/"/g,'""')+'"');break;case 8:Ae.push("-"+Ae.pop());break;case 23:Ae.push("+"+Ae.pop());break;case 22:Ae.push("NOT("+Ae.pop()+")");break;case 20:case 21:J=Ae.pop(),j=Ae.pop(),Ae.push(["AND","OR"][q-20]+"("+j+","+J+")");break;default:if(q<32&&y[q])J=Ae.pop(),j=Ae.pop(),Ae.push(j+y[q]+J);else{if(!m[q])return q<=7?console.error("WK1 invalid opcode "+q.toString(16)):q<=24?console.error("WK1 unsupported op "+q.toString(16)):q<=30?console.error("WK1 invalid opcode "+q.toString(16)):q<=115?console.error("WK1 unsupported function opcode "+q.toString(16)):console.error("WK1 unrecognized opcode "+q.toString(16));if((we=m[q][1])==69&&(we=fe[fe.l++]),we>Ae.length)return void console.error("WK1 bad formula parse 0x"+q.toString(16)+":|"+Ae.join("|")+"|");var oe=Ae.slice(-we);Ae.length-=we,Ae.push(m[q][0]+"("+oe.join(",")+")")}}}Ae.length==1?de[1].f=""+Ae[0]:console.error("WK1 bad formula parse |"+Ae.join("|")+"|")})(N.slice(N.l,N.l+ue),te),N.l+=ue}return te}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:h},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:_},222:{n:"SHEETNAMELP",f:function(N,H){var W=N[N.l++];W>H-1&&(W=H-1);for(var V="";V.length<W;)V+=String.fromCharCode(N[N.l++]);return V}},65535:{n:""}},F={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function(N,H){var W=b(N);return W[1].t="s",W[1].v=N.read_shift(H-4,"cstr"),W}},23:{n:"NUMBER17",f:E},24:{n:"NUMBER18",f:function(N,H){var W=b(N);W[1].v=N.read_shift(2);var V=W[1].v>>1;if(1&W[1].v)switch(7&V){case 0:V=5e3*(V>>3);break;case 1:V=500*(V>>3);break;case 2:V=(V>>3)/20;break;case 3:V=(V>>3)/200;break;case 4:V=(V>>3)/2e3;break;case 5:V=(V>>3)/2e4;break;case 6:V=(V>>3)/16;break;case 7:V=(V>>3)/64}return W[1].v=V,W}},25:{n:"FORMULA19",f:function(N,H){var W=E(N);return N.l+=H-14,W}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(N,H){for(var W={},V=N.l+H;N.l<V;){var te=N.read_shift(2);if(te==14e3){for(W[te]=[0,""],W[te][0]=N.read_shift(2);N[N.l];)W[te][1]+=String.fromCharCode(N[N.l]),N.l++;N.l++}}return W}},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:function(N,H){var W=b(N),V=N.read_shift(4);return W[1].v=V>>6,W}},38:{n:"??"},39:{n:"NUMBER27",f:S},40:{n:"FORMULA28",f:function(N,H){var W=S(N);return N.l+=H-10,W}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:_},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(N,H,W){if(W.qpro&&!(H<21)){var V=N.read_shift(1);return N.l+=17,N.l+=1,N.l+=2,[V,N.read_shift(H-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(N,H){var W=H||{};if(+W.codepage>=0&&bl(+W.codepage),W.type=="string")throw new Error("Cannot write WK1 to JS string");var V,te,ue=Ac(),fe=Ta(N["!ref"]),de=Array.isArray(N),Ae=[];un(ue,0,(V=1030,(te=Ir(2)).write_shift(2,V),te)),un(ue,6,function(z){var X=Ir(8);return X.write_shift(2,z.s.c),X.write_shift(2,z.s.r),X.write_shift(2,z.e.c),X.write_shift(2,z.e.r),X}(fe));for(var we=Math.min(fe.e.r,8191),Z=fe.s.r;Z<=we;++Z)for(var ne=Ss(Z),j=fe.s.c;j<=fe.e.c;++j){Z===fe.s.r&&(Ae[j]=rs(j));var J=Ae[j]+ne,q=de?(N[Z]||[])[j]:N[J];q&&q.t!="z"&&(q.t=="n"?(0|q.v)==q.v&&q.v>=-32768&&q.v<=32767?un(ue,13,p(Z,j,q.v)):un(ue,14,g(Z,j,q.v)):un(ue,15,d(Z,j,wA(q).slice(0,239))))}return un(ue,1),ue.end()},book_to_wk3:function(N,H){var W=H||{};if(+W.codepage>=0&&bl(+W.codepage),W.type=="string")throw new Error("Cannot write WK3 to JS string");var V=Ac();un(V,0,function(se){var oe=Ir(26);oe.write_shift(2,4096),oe.write_shift(2,4),oe.write_shift(4,0);for(var ye=0,ae=0,me=0,Fe=0;Fe<se.SheetNames.length;++Fe){var _e=se.SheetNames[Fe],rt=se.Sheets[_e];if(rt&&rt["!ref"]){++me;var et=dc(rt["!ref"]);ye<et.e.r&&(ye=et.e.r),ae<et.e.c&&(ae=et.e.c)}}return ye>8191&&(ye=8191),oe.write_shift(2,ye),oe.write_shift(1,me),oe.write_shift(1,ae),oe.write_shift(2,0),oe.write_shift(2,0),oe.write_shift(1,1),oe.write_shift(1,2),oe.write_shift(4,0),oe.write_shift(4,0),oe}(N));for(var te=0,ue=0;te<N.SheetNames.length;++te)(N.Sheets[N.SheetNames[te]]||{})["!ref"]&&un(V,27,D(N.SheetNames[te],ue++));var fe=0;for(te=0;te<N.SheetNames.length;++te){var de=N.Sheets[N.SheetNames[te]];if(de&&de["!ref"]){for(var Ae=Ta(de["!ref"]),we=Array.isArray(de),Z=[],ne=Math.min(Ae.e.r,8191),j=Ae.s.r;j<=ne;++j)for(var J=Ss(j),q=Ae.s.c;q<=Ae.e.c;++q){j===Ae.s.r&&(Z[q]=rs(q));var z=Z[q]+J,X=we?(de[j]||[])[q]:de[z];X&&X.t!="z"&&(X.t=="n"?un(V,23,B(j,q,fe,X.v)):un(V,22,I(j,q,fe,wA(X).slice(0,239))))}++fe}}return un(V,1),V.end()},to_workbook:function(N,H){switch(H.type){case"base64":return c(Zc(Ra(N)),H);case"binary":return c(Zc(N),H);case"buffer":case"array":return c(N,H)}throw"Unsupported type "+H.type}}}(),I1=function(){var a=Fa("t"),c=Fa("rPr");function u(p){var g=p.match(a);if(!g)return{t:"s",v:""};var A={t:"s",v:ji(g[1])},m=p.match(c);return m&&(A.s=function(y){var b={},I=y.match(Js),E=0,B=!1;if(I)for(;E!=I.length;++E){var S=ii(I[E]);switch(S[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!S.val)break;case"<shadow>":case"<shadow/>":b.shadow=1;break;case"</shadow>":break;case"<charset":if(S.val=="1")break;b.cp=K2[parseInt(S.val,10)];break;case"<outline":if(!S.val)break;case"<outline>":case"<outline/>":b.outline=1;break;case"</outline>":break;case"<rFont":b.name=S.val;break;case"<sz":b.sz=S.val;break;case"<strike":if(!S.val)break;case"<strike>":case"<strike/>":b.strike=1;break;case"</strike>":break;case"<u":if(!S.val)break;switch(S.val){case"double":b.uval="double";break;case"singleAccounting":b.uval="single-accounting";break;case"doubleAccounting":b.uval="double-accounting"}case"<u>":case"<u/>":b.u=1;break;case"</u>":break;case"<b":if(S.val=="0")break;case"<b>":case"<b/>":b.b=1;break;case"</b>":break;case"<i":if(S.val=="0")break;case"<i>":case"<i/>":b.i=1;break;case"</i>":break;case"<color":S.rgb&&(b.color=S.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":b.family=S.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":b.valign=S.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":case"<scheme":case"<scheme>":case"<scheme/>":case"</scheme>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":B=!0;break;case"</ext>":B=!1;break;default:if(S[0].charCodeAt(1)!==47&&!B)throw new Error("Unrecognized rich format "+S[0])}}return b}(m[1])),A}var h=/<(?:\w+:)?r>/g,d=/<\/(?:\w+:)?r>/;return function(p){return p.replace(h,"").split(d).map(u).filter(function(g){return g.v})}}(),PI=function(){var a=/(\r\n|\n)/g;function c(u){var h=[[],u.v,[]];return u.v?(u.s&&function(d,p,g){var A=[];d.u&&A.push("text-decoration: underline;"),d.uval&&A.push("text-underline-style:"+d.uval+";"),d.sz&&A.push("font-size:"+d.sz+"pt;"),d.outline&&A.push("text-effect: outline;"),d.shadow&&A.push("text-shadow: auto;"),p.push('<span style="'+A.join("")+'">'),d.b&&(p.push("<b>"),g.push("</b>")),d.i&&(p.push("<i>"),g.push("</i>")),d.strike&&(p.push("<s>"),g.push("</s>"));var m=d.valign||"";m=="superscript"||m=="super"?m="sup":m=="subscript"&&(m="sub"),m!=""&&(p.push("<"+m+">"),g.push("</"+m+">")),g.push("</span>")}(u.s,h[0],h[2]),h[0].join("")+h[1].replace(a,"<br/>")+h[2].join("")):""}return function(u){return u.map(c).join("")}}(),fE=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,P5=/<(?:\w+:)?r>/,AE=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function el(a,c){var u=!c||c.cellHTML,h={};return a?(a.match(/^\s*<(?:\w+:)?t[^>]*>/)?(h.t=ji(vo(a.slice(a.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),h.r=vo(a),u&&(h.h=dp(h.t))):a.match(P5)&&(h.r=vo(a),h.t=ji(vo((a.replace(AE,"").match(fE)||[]).join("").replace(Js,""))),u&&(h.h=PI(I1(h.r)))),h):{t:""}}var GI=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Yy=/<(?:\w+:)?(?:si|sstItem)>/g,b1=/<\/(?:\w+:)?(?:si|sstItem)>/,dE=/^\s|\s$|[\t\n\r]/;function tl(a,c){if(!c.bookSST)return"";var u=[ts];u[u.length]=on("sst",null,{xmlns:hc[0],count:a.Count,uniqueCount:a.Unique});for(var h=0;h!=a.length;++h)if(a[h]!=null){var d=a[h],p="<si>";d.r?p+=d.r:(p+="<t",d.t||(d.t=""),d.t.match(dE)&&(p+=' xml:space="preserve"'),p+=">"+Xa(d.t)+"</t>"),p+="</si>",u[u.length]=p}return u.length>2&&(u[u.length]="</sst>",u[1]=u[1].replace("/>",">")),u.join("")}var gE=function(a,c){var u=!1;return c==null&&(u=!0,c=Ir(15+4*a.t.length)),c.write_shift(1,0),Wo(a.t,c),u?c.slice(0,c.l):c};function Qp(a){var c=Ac();Ur(c,159,function(h,d){return d||(d=Ir(8)),d.write_shift(4,h.Count),d.write_shift(4,h.Unique),d}(a));for(var u=0;u<a.length;++u)Ur(c,19,gE(a[u]));return Ur(c,160),c.end()}function pE(a){for(var c=[],u=a.split(""),h=0;h<u.length;++h)c[h]=u[h].charCodeAt(0);return c}function Dl(a,c){var u={};return u.Major=a.read_shift(2),u.Minor=a.read_shift(2),c>=4&&(a.l+=c-4),u}function og(a){for(var c=a.read_shift(4),u=a.l+c-4,h={},d=a.read_shift(4),p=[];d-- >0;)p.push({t:a.read_shift(4),v:a.read_shift(0,"lpp4")});if(h.name=a.read_shift(0,"lpp4"),h.comps=p,a.l!=u)throw new Error("Bad DataSpaceMapEntry: "+a.l+" != "+u);return h}function Rl(a){var c=function(u){var h={};return u.read_shift(4),u.l+=4,h.id=u.read_shift(0,"lpp4"),h.name=u.read_shift(0,"lpp4"),h.R=Dl(u,4),h.U=Dl(u,4),h.W=Dl(u,4),h}(a);if(c.ename=a.read_shift(0,"8lpp4"),c.blksz=a.read_shift(4),c.cmode=a.read_shift(4),a.read_shift(4)!=4)throw new Error("Bad !Primary record");return c}function C1(a,c){var u=a.l+c,h={};h.Flags=63&a.read_shift(4),a.l+=4,h.AlgID=a.read_shift(4);var d=!1;switch(h.AlgID){case 26126:case 26127:case 26128:d=h.Flags==36;break;case 26625:d=h.Flags==4;break;case 0:d=h.Flags==16||h.Flags==4||h.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+h.AlgID}if(!d)throw new Error("Encryption Flags/AlgID mismatch");return h.AlgIDHash=a.read_shift(4),h.KeySize=a.read_shift(4),h.ProviderType=a.read_shift(4),a.l+=8,h.CSPName=a.read_shift(u-a.l>>1,"utf16le"),a.l=u,h}function UI(a,c){var u={},h=a.l+c;return a.l+=4,u.Salt=a.slice(a.l,a.l+16),a.l+=16,u.Verifier=a.slice(a.l,a.l+16),a.l+=16,a.read_shift(4),u.VerifierHash=a.slice(a.l,h),a.l=h,u}function vE(a){if((63&a.read_shift(4))!=36)throw new Error("EncryptionInfo mismatch");var c=a.read_shift(4);return{t:"Std",h:C1(a,c),v:UI(a,a.length-a.l)}}function w1(){throw new Error("File is password-protected: ECMA-376 Extensible")}function yE(a){var c=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];a.l+=4;var u=a.read_shift(a.length-a.l,"utf8"),h={};return u.replace(Js,function(d){var p=ii(d);switch(cc(p[0])){case"<?xml":case"<encryption":case"</encryption>":case"</keyEncryptors>":case"</keyEncryptor>":break;case"<keyData":c.forEach(function(g){h[g]=p[g]});break;case"<dataIntegrity":h.encryptedHmacKey=p.encryptedHmacKey,h.encryptedHmacValue=p.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":h.encs=[];break;case"<keyEncryptor":h.uri=p.uri;break;case"<encryptedKey":h.encs.push(p);break;default:throw p[0]}}),h}function jI(a){var c,u,h=0,d=pE(a),p=d.length+1;for((c=AA(p))[0]=d.length,u=1;u!=p;++u)c[u]=d[u-1];for(u=p-1;u>=0;--u)h=((16384&h?1:0)|h<<1&32767)^c[u];return 52811^h}var RA=function(){var a=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],c=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],u=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],h=function(d,p){return 255&((g=d^p)/2|128*g);var g};return function(d){for(var p,g,A,m=pE(d),y=function(B){for(var S=c[B.length-1],_=104,D=B.length-1;D>=0;--D)for(var T=B[D],F=0;F!=7;++F)64&T&&(S^=u[_]),T*=2,--_;return S}(m),b=m.length,I=AA(16),E=0;E!=16;++E)I[E]=0;for(1&~b||(p=y>>8,I[b]=h(a[0],p),--b,p=255&y,g=m[m.length-1],I[b]=h(g,p));b>0;)p=y>>8,I[--b]=h(m[b],p),p=255&y,I[--b]=h(m[b],p);for(b=15,A=15-m.length;A>0;)p=y>>8,I[b]=h(a[A],p),--A,p=255&y,I[--b]=h(m[b],p),--b,--A;return I}}(),E1=function(a){var c=0,u=RA(a);return function(h){var d=function(p,g,A,m,y){var b,I;for(y||(y=g),m||(m=RA(p)),b=0;b!=g.length;++b)I=g[b],I=255&((I^=m[A])>>5|I<<3),y[b]=I,++A;return[y,A,m]}("",h,c,u);return c=d[1],d[0]}};function mE(a,c,u){var h=u||{};return h.Info=a.read_shift(2),a.l-=2,h.Info===1?h.Data=function(d){var p={},g=p.EncryptionVersionInfo=Dl(d,4);if(g.Major!=1||g.Minor!=1)throw"unrecognized version code "+g.Major+" : "+g.Minor;return p.Salt=d.read_shift(16),p.EncryptedVerifier=d.read_shift(16),p.EncryptedVerifierHash=d.read_shift(16),p}(a):h.Data=function(d,p){var g={},A=g.EncryptionVersionInfo=Dl(d,4);if(p-=4,A.Minor!=2)throw new Error("unrecognized minor version code: "+A.Minor);if(A.Major>4||A.Major<2)throw new Error("unrecognized major version code: "+A.Major);g.Flags=d.read_shift(4),p-=4;var m=d.read_shift(4);return p-=4,g.EncryptionHeader=C1(d,m),p-=m,g.EncryptionVerifier=UI(d,p),g}(a,c),h}var Jy=function(){function a(u,h){switch(h.type){case"base64":return c(Ra(u),h);case"binary":return c(u,h);case"buffer":return c(ki&&Buffer.isBuffer(u)?u.toString("binary"):Af(u),h);case"array":return c(pf(u),h)}throw new Error("Unrecognized type "+h.type)}function c(u,h){var d=(h||{}).dense?[]:{},p=u.match(/\\trowd.*?\\row\b/g);if(!p.length)throw new Error("RTF missing table");var g={s:{c:0,r:0},e:{c:0,r:p.length-1}};return p.forEach(function(A,m){Array.isArray(d)&&(d[m]=[]);for(var y,b=/\\\w+\b/g,I=0,E=-1;y=b.exec(A);){if(y[0]==="\\cell"){var B=A.slice(I,b.lastIndex-y[0].length);if(B[0]==" "&&(B=B.slice(1)),++E,B.length){var S={v:B,t:"s"};Array.isArray(d)?d[m][E]=S:d[Mi({r:m,c:E})]=S}}I=b.lastIndex}E>g.e.c&&(g.e.c=E)}),d["!ref"]=bi(g),d}return{to_workbook:function(u,h){return Sc(a(u,h),h)},to_sheet:a,from_sheet:function(u){for(var h,d=["{\\rtf1\\ansi"],p=Ta(u["!ref"]),g=Array.isArray(u),A=p.s.r;A<=p.e.r;++A){d.push("\\trowd\\trautofit1");for(var m=p.s.c;m<=p.e.c;++m)d.push("\\cellx"+(m+1));for(d.push("\\pard\\intbl"),m=p.s.c;m<=p.e.c;++m){var y=Mi({r:A,c:m});(h=g?(u[A]||[])[m]:u[y])&&(h.v!=null||h.f&&!h.F)&&(d.push(" "+(h.w||(wA(h),h.w))),d.push("\\cell"))}d.push("\\pard\\intbl\\row")}return d.join("")+"}"}}}();function MA(a){for(var c=0,u=1;c!=3;++c)u=256*u+(a[c]>255?255:a[c]<0?0:a[c]);return u.toString(16).toUpperCase().slice(1)}function Ml(a,c){if(c===0)return a;var u,h,d=function(p){var g=p[0]/255,A=p[1]/255,m=p[2]/255,y=Math.max(g,A,m),b=Math.min(g,A,m),I=y-b;if(I===0)return[0,0,g];var E,B=0,S=y+b;switch(E=I/(S>1?2-S:S),y){case g:B=((A-m)/I+6)%6;break;case A:B=(m-g)/I+2;break;case m:B=(g-A)/I+4}return[B/6,E,S/2]}((h=(u=a).slice(u[0]==="#"?1:0).slice(0,6),[parseInt(h.slice(0,2),16),parseInt(h.slice(2,4),16),parseInt(h.slice(4,6),16)]));return d[2]=c<0?d[2]*(1+c):1-(1-d[2])*(1-c),MA(function(p){var g,A=p[0],m=p[1],y=p[2],b=2*m*(y<.5?y:1-y),I=y-b/2,E=[I,I,I],B=6*A;if(m!==0)switch(0|B){case 0:case 6:g=b*B,E[0]+=b,E[1]+=g;break;case 1:g=b*(2-B),E[0]+=g,E[1]+=b;break;case 2:g=b*(B-2),E[1]+=b,E[2]+=g;break;case 3:g=b*(4-B),E[1]+=g,E[2]+=b;break;case 4:g=b*(B-4),E[2]+=b,E[0]+=g;break;case 5:g=b*(6-B),E[2]+=g,E[0]+=b}for(var S=0;S!=3;++S)E[S]=Math.round(255*E[S]);return E}(d))}var Bu=6;function Fl(a){return Math.floor((a+Math.round(128/Bu)/256)*Bu)}function Tl(a){return Math.floor((a-5)/Bu*100+.5)/100}function sg(a){return Math.round((a*Bu+5)/Bu*256)/256}function Wy(a){return sg(Tl(Fl(a)))}function xp(a){var c=Math.abs(a-Wy(a)),u=Bu;if(c>.005)for(Bu=1;Bu<15;++Bu)Math.abs(a-Wy(a))<=c&&(c=Math.abs(a-Wy(a)),u=Bu);Bu=u}function Uo(a){a.width?(a.wpx=Fl(a.width),a.wch=Tl(a.wpx),a.MDW=Bu):a.wpx?(a.wch=Tl(a.wpx),a.width=sg(a.wch),a.MDW=Bu):typeof a.wch=="number"&&(a.width=sg(a.wch),a.wpx=Fl(a.width),a.MDW=Bu),a.customWidth&&delete a.customWidth}var _s=96;function La(a){return 96*a/_s}function Ef(a){return a*_s/96}var G5={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"},qy=["numFmtId","fillId","fontId","borderId","xfId"],B1=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"],IE=function(){var a=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,c=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,u=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,h=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,d=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(p,g,A){var m,y={};return p&&((m=(p=p.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(a))&&function(b,I,E){I.NumberFmt=[];for(var B=to(xi),S=0;S<B.length;++S)I.NumberFmt[B[S]]=xi[B[S]];var _=b[0].match(Js);if(_)for(S=0;S<_.length;++S){var D=ii(_[S]);switch(cc(D[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":case"</numFmt>":break;case"<numFmt":var T=ji(vo(D.formatCode)),F=parseInt(D.numFmtId,10);if(I.NumberFmt[F]=T,F>0){if(F>392){for(F=392;F>60&&I.NumberFmt[F]!=null;--F);I.NumberFmt[F]=T}$c(T,F)}break;default:if(E.WTF)throw new Error("unrecognized "+D[0]+" in numFmts")}}}(m,y,A),(m=p.match(h))&&function(b,I,E,B){I.Fonts=[];var S={},_=!1;(b[0].match(Js)||[]).forEach(function(D){var T=ii(D);switch(cc(T[0])){case"<fonts":case"<fonts>":case"</fonts>":case"<font":case"<font>":case"<name/>":case"</name>":case"<sz/>":case"</sz>":case"<vertAlign/>":case"</vertAlign>":case"<family/>":case"</family>":case"<scheme/>":case"</scheme>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"</font>":case"<font/>":I.Fonts.push(S),S={};break;case"<name":T.val&&(S.name=vo(T.val));break;case"<b":S.bold=T.val?po(T.val):1;break;case"<b/>":S.bold=1;break;case"<i":S.italic=T.val?po(T.val):1;break;case"<i/>":S.italic=1;break;case"<u":switch(T.val){case"none":S.underline=0;break;case"single":S.underline=1;break;case"double":S.underline=2;break;case"singleAccounting":S.underline=33;break;case"doubleAccounting":S.underline=34}break;case"<u/>":S.underline=1;break;case"<strike":S.strike=T.val?po(T.val):1;break;case"<strike/>":S.strike=1;break;case"<outline":S.outline=T.val?po(T.val):1;break;case"<outline/>":S.outline=1;break;case"<shadow":S.shadow=T.val?po(T.val):1;break;case"<shadow/>":S.shadow=1;break;case"<condense":S.condense=T.val?po(T.val):1;break;case"<condense/>":S.condense=1;break;case"<extend":S.extend=T.val?po(T.val):1;break;case"<extend/>":S.extend=1;break;case"<sz":T.val&&(S.sz=+T.val);break;case"<vertAlign":T.val&&(S.vertAlign=T.val);break;case"<family":T.val&&(S.family=parseInt(T.val,10));break;case"<scheme":T.val&&(S.scheme=T.val);break;case"<charset":if(T.val=="1")break;T.codepage=K2[parseInt(T.val,10)];break;case"<color":if(S.color||(S.color={}),T.auto&&(S.color.auto=po(T.auto)),T.rgb)S.color.rgb=T.rgb.slice(-6);else if(T.indexed){S.color.index=parseInt(T.indexed,10);var F=Cp[S.color.index];S.color.index==81&&(F=Cp[1]),F||(F=Cp[1]),S.color.rgb=F[0].toString(16)+F[1].toString(16)+F[2].toString(16)}else T.theme&&(S.color.theme=parseInt(T.theme,10),T.tint&&(S.color.tint=parseFloat(T.tint)),T.theme&&E.themeElements&&E.themeElements.clrScheme&&(S.color.rgb=Ml(E.themeElements.clrScheme[S.color.theme].rgb,S.color.tint||0)));break;case"<AlternateContent":case"<ext":_=!0;break;case"</AlternateContent>":case"</ext>":_=!1;break;default:if(B&&B.WTF&&!_)throw new Error("unrecognized "+T[0]+" in fonts")}})}(m,y,g,A),(m=p.match(u))&&function(b,I,E,B){I.Fills=[];var S={},_=!1;(b[0].match(Js)||[]).forEach(function(D){var T=ii(D);switch(cc(T[0])){case"<fills":case"<fills>":case"</fills>":case"</fill>":case"<gradientFill>":case"<patternFill/>":case"</patternFill>":case"<bgColor/>":case"</bgColor>":case"<fgColor/>":case"</fgColor>":case"<stop":case"<stop/>":case"</stop>":case"<color":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<fill>":case"<fill":case"<fill/>":S={},I.Fills.push(S);break;case"<gradientFill":case"</gradientFill>":I.Fills.push(S),S={};break;case"<patternFill":case"<patternFill>":T.patternType&&(S.patternType=T.patternType);break;case"<bgColor":S.bgColor||(S.bgColor={}),T.indexed&&(S.bgColor.indexed=parseInt(T.indexed,10)),T.theme&&(S.bgColor.theme=parseInt(T.theme,10)),T.tint&&(S.bgColor.tint=parseFloat(T.tint)),T.rgb&&(S.bgColor.rgb=T.rgb.slice(-6));break;case"<fgColor":S.fgColor||(S.fgColor={}),T.theme&&(S.fgColor.theme=parseInt(T.theme,10)),T.tint&&(S.fgColor.tint=parseFloat(T.tint)),T.rgb!=null&&(S.fgColor.rgb=T.rgb.slice(-6));break;case"<ext":_=!0;break;case"</ext>":_=!1;break;default:if(B&&B.WTF&&!_)throw new Error("unrecognized "+T[0]+" in fills")}})}(m,y,0,A),(m=p.match(d))&&function(b,I,E,B){I.Borders=[];var S={},_=!1;(b[0].match(Js)||[]).forEach(function(D){var T=ii(D);switch(cc(T[0])){case"<borders":case"<borders>":case"</borders>":case"</border>":case"<left/>":case"<left":case"<left>":case"</left>":case"<right/>":case"<right":case"<right>":case"</right>":case"<top/>":case"<top":case"<top>":case"</top>":case"<bottom/>":case"<bottom":case"<bottom>":case"</bottom>":case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":case"<start":case"<start>":case"<start/>":case"</start>":case"<end":case"<end>":case"<end/>":case"</end>":case"<color":case"<color>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<border":case"<border>":case"<border/>":S={},T.diagonalUp&&(S.diagonalUp=po(T.diagonalUp)),T.diagonalDown&&(S.diagonalDown=po(T.diagonalDown)),I.Borders.push(S);break;case"<ext":_=!0;break;case"</ext>":_=!1;break;default:if(B&&B.WTF&&!_)throw new Error("unrecognized "+T[0]+" in borders")}})}(m,y,0,A),(m=p.match(c))&&function(b,I,E){var B;I.CellXf=[];var S=!1;(b[0].match(Js)||[]).forEach(function(_){var D=ii(_),T=0;switch(cc(D[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":case"</xf>":case"</alignment>":case"<protection":case"</protection>":case"<protection/>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<xf":case"<xf/>":for(delete(B=D)[0],T=0;T<qy.length;++T)B[qy[T]]&&(B[qy[T]]=parseInt(B[qy[T]],10));for(T=0;T<B1.length;++T)B[B1[T]]&&(B[B1[T]]=po(B[B1[T]]));if(I.NumberFmt&&B.numFmtId>392){for(T=392;T>60;--T)if(I.NumberFmt[B.numFmtId]==I.NumberFmt[T]){B.numFmtId=T;break}}I.CellXf.push(B);break;case"<alignment":case"<alignment/>":var F={};D.vertical&&(F.vertical=D.vertical),D.horizontal&&(F.horizontal=D.horizontal),D.textRotation!=null&&(F.textRotation=D.textRotation),D.indent&&(F.indent=D.indent),D.wrapText&&(F.wrapText=po(D.wrapText)),B.alignment=F;break;case"<AlternateContent":case"<ext":S=!0;break;case"</AlternateContent>":case"</ext>":S=!1;break;default:if(E&&E.WTF&&!S)throw new Error("unrecognized "+D[0]+" in cellXfs")}})}(m,y,A)),y}}();function HI(a,c){var u,h=[ts,on("styleSheet",null,{xmlns:hc[0],"xmlns:vt":lc})];return a.SSF&&(u=function(d){var p=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(g){for(var A=g[0];A<=g[1];++A)d[A]!=null&&(p[p.length]=on("numFmt",null,{numFmtId:A,formatCode:Xa(d[A])}))}),p.length===1?"":(p[p.length]="</numFmts>",p[0]=on("numFmts",null,{count:p.length-2}).replace("/>",">"),p.join(""))}(a.SSF))!=null&&(h[h.length]=u),h[h.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',h[h.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',h[h.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',h[h.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(u=function(d){var p=[];return p[p.length]=on("cellXfs",null),d.forEach(function(g){p[p.length]=on("xf",null,g)}),p[p.length]="</cellXfs>",p.length===2?"":(p[0]=on("cellXfs",null,{count:p.length-2}).replace("/>",">"),p.join(""))}(c.cellXfs))&&(h[h.length]=u),h[h.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',h[h.length]='<dxfs count="0"/>',h[h.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',h.length>2&&(h[h.length]="</styleSheet>",h[1]=h[1].replace("/>",">")),h.join("")}function k1(a,c,u){u||(u=Ir(6+4*c.length)),u.write_shift(2,a),Wo(c,u);var h=u.length>u.l?u.slice(0,u.l):u;return u.l==null&&(u.l=u.length),h}function zy(a,c){c||(c=Ir(153)),c.write_shift(2,20*a.sz),function(d,p){p||(p=Ir(2));var g=(d.italic?2:0)|(d.strike?8:0)|(d.outline?16:0)|(d.shadow?32:0)|(d.condense?64:0)|(d.extend?128:0);p.write_shift(1,g),p.write_shift(1,0)}(a,c),c.write_shift(2,a.bold?700:400);var u=0;a.vertAlign=="superscript"?u=1:a.vertAlign=="subscript"&&(u=2),c.write_shift(2,u),c.write_shift(1,a.underline||0),c.write_shift(1,a.family||0),c.write_shift(1,a.charset||0),c.write_shift(1,0),Wd(a.color,c);var h=0;return h=2,c.write_shift(1,h),Wo(a.name,c),c.length>c.l?c.slice(0,c.l):c}var FA,bE=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],CE=qs;function wE(a,c){c||(c=Ir(84)),FA||(FA=by(bE));var u=FA[a.patternType];u==null&&(u=40),c.write_shift(4,u);var h=0;if(u!=40)for(Wd({auto:1},c),Wd({auto:1},c);h<12;++h)c.write_shift(4,0);else{for(;h<4;++h)c.write_shift(4,0);for(;h<12;++h)c.write_shift(4,0)}return c.length>c.l?c.slice(0,c.l):c}function Ky(a,c,u){return u||(u=Ir(16)),u.write_shift(2,c||0),u.write_shift(2,a.numFmtId||0),u.write_shift(2,0),u.write_shift(2,0),u.write_shift(2,0),u.write_shift(1,0),u.write_shift(1,0),u.write_shift(1,0),u.write_shift(1,0),u.write_shift(1,0),u.write_shift(1,0),u}function ug(a,c){return c||(c=Ir(10)),c.write_shift(1,0),c.write_shift(1,0),c.write_shift(4,0),c.write_shift(4,0),c}var EE=qs;function BE(a){var c;Ur(a,613,gc(1)),Ur(a,46,(c||(c=Ir(51)),c.write_shift(1,0),ug(0,c),ug(0,c),ug(0,c),ug(0,c),ug(0,c),c.length>c.l?c.slice(0,c.l):c)),Ur(a,614)}function U5(a){var c,u;Ur(a,619,gc(1)),Ur(a,48,(c={xfId:0,builtinId:0,name:"Normal"},u||(u=Ir(52)),u.write_shift(4,c.xfId),u.write_shift(2,1),u.write_shift(1,+c.builtinId),u.write_shift(1,0),Yd(c.name||"",u),u.length>u.l?u.slice(0,u.l):u)),Ur(a,620)}function j5(a){Ur(a,508,function(c,u,h){var d=Ir(2052);return d.write_shift(4,c),Yd(u,d),Yd(h,d),d.length>d.l?d.slice(0,d.l):d}(0,"TableStyleMedium9","PivotStyleMedium4")),Ur(a,509)}function kE(a,c){var u=Ac();return Ur(u,278),function(h,d){if(d){var p=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(g){for(var A=g[0];A<=g[1];++A)d[A]!=null&&++p}),p!=0&&(Ur(h,615,gc(p)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(g){for(var A=g[0];A<=g[1];++A)d[A]!=null&&Ur(h,44,k1(A,d[A]))}),Ur(h,616))}}(u,a.SSF),function(h){Ur(h,611,gc(1)),Ur(h,43,zy({sz:12,color:{theme:1},name:"Calibri",family:2})),Ur(h,612)}(u),function(h){Ur(h,603,gc(2)),Ur(h,45,wE({patternType:"none"})),Ur(h,45,wE({patternType:"gray125"})),Ur(h,604)}(u),BE(u),function(h){Ur(h,626,gc(1)),Ur(h,47,Ky({numFmtId:0},65535)),Ur(h,627)}(u),function(h,d){Ur(h,617,gc(d.length)),d.forEach(function(p){Ur(h,47,Ky(p,0))}),Ur(h,618)}(u,c.cellXfs),U5(u),function(h){Ur(h,505,gc(0)),Ur(h,506)}(u),j5(u),Ur(u,279),u.end()}var H5=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Y5(a,c,u){c.themeElements.clrScheme=[];var h={};(a[0].match(Js)||[]).forEach(function(d){var p=ii(d);switch(p[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":h.rgb=p.val;break;case"<a:sysClr":h.rgb=p.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":p[0].charAt(1)==="/"?(c.themeElements.clrScheme[H5.indexOf(p[0])]=h,h={}):h.name=p[0].slice(3,p[0].length-1);break;default:if(u&&u.WTF)throw new Error("Unrecognized "+p[0]+" in clrScheme")}})}function Ia(){}function J5(){}var Sp=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,W5=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,q5=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/,TA=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function QE(a,c){var u;a&&a.length!==0||(a=YI());var h={};if(!(u=a.match(TA)))throw new Error("themeElements not found in theme");return function(d,p,g){var A;p.themeElements={},[["clrScheme",Sp,Y5],["fontScheme",W5,Ia],["fmtScheme",q5,J5]].forEach(function(m){if(!(A=d.match(m[1])))throw new Error(m[0]+" not found in themeElements");m[2](A,p,g)})}(u[0],h,c),h.raw=a,h}function YI(a,c){if(c&&c.themeXLSX)return c.themeXLSX;if(a&&typeof a.raw=="string")return a.raw;var u=[ts];return u[u.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',u[u.length]="<a:themeElements>",u[u.length]='<a:clrScheme name="Office">',u[u.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',u[u.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',u[u.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',u[u.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',u[u.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',u[u.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',u[u.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',u[u.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',u[u.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',u[u.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',u[u.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',u[u.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',u[u.length]="</a:clrScheme>",u[u.length]='<a:fontScheme name="Office">',u[u.length]="<a:majorFont>",u[u.length]='<a:latin typeface="Cambria"/>',u[u.length]='<a:ea typeface=""/>',u[u.length]='<a:cs typeface=""/>',u[u.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',u[u.length]='<a:font script="Hang" typeface="맑은 고딕"/>',u[u.length]='<a:font script="Hans" typeface="宋体"/>',u[u.length]='<a:font script="Hant" typeface="新細明體"/>',u[u.length]='<a:font script="Arab" typeface="Times New Roman"/>',u[u.length]='<a:font script="Hebr" typeface="Times New Roman"/>',u[u.length]='<a:font script="Thai" typeface="Tahoma"/>',u[u.length]='<a:font script="Ethi" typeface="Nyala"/>',u[u.length]='<a:font script="Beng" typeface="Vrinda"/>',u[u.length]='<a:font script="Gujr" typeface="Shruti"/>',u[u.length]='<a:font script="Khmr" typeface="MoolBoran"/>',u[u.length]='<a:font script="Knda" typeface="Tunga"/>',u[u.length]='<a:font script="Guru" typeface="Raavi"/>',u[u.length]='<a:font script="Cans" typeface="Euphemia"/>',u[u.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',u[u.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',u[u.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',u[u.length]='<a:font script="Thaa" typeface="MV Boli"/>',u[u.length]='<a:font script="Deva" typeface="Mangal"/>',u[u.length]='<a:font script="Telu" typeface="Gautami"/>',u[u.length]='<a:font script="Taml" typeface="Latha"/>',u[u.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',u[u.length]='<a:font script="Orya" typeface="Kalinga"/>',u[u.length]='<a:font script="Mlym" typeface="Kartika"/>',u[u.length]='<a:font script="Laoo" typeface="DokChampa"/>',u[u.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',u[u.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',u[u.length]='<a:font script="Viet" typeface="Times New Roman"/>',u[u.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',u[u.length]='<a:font script="Geor" typeface="Sylfaen"/>',u[u.length]="</a:majorFont>",u[u.length]="<a:minorFont>",u[u.length]='<a:latin typeface="Calibri"/>',u[u.length]='<a:ea typeface=""/>',u[u.length]='<a:cs typeface=""/>',u[u.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',u[u.length]='<a:font script="Hang" typeface="맑은 고딕"/>',u[u.length]='<a:font script="Hans" typeface="宋体"/>',u[u.length]='<a:font script="Hant" typeface="新細明體"/>',u[u.length]='<a:font script="Arab" typeface="Arial"/>',u[u.length]='<a:font script="Hebr" typeface="Arial"/>',u[u.length]='<a:font script="Thai" typeface="Tahoma"/>',u[u.length]='<a:font script="Ethi" typeface="Nyala"/>',u[u.length]='<a:font script="Beng" typeface="Vrinda"/>',u[u.length]='<a:font script="Gujr" typeface="Shruti"/>',u[u.length]='<a:font script="Khmr" typeface="DaunPenh"/>',u[u.length]='<a:font script="Knda" typeface="Tunga"/>',u[u.length]='<a:font script="Guru" typeface="Raavi"/>',u[u.length]='<a:font script="Cans" typeface="Euphemia"/>',u[u.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',u[u.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',u[u.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',u[u.length]='<a:font script="Thaa" typeface="MV Boli"/>',u[u.length]='<a:font script="Deva" typeface="Mangal"/>',u[u.length]='<a:font script="Telu" typeface="Gautami"/>',u[u.length]='<a:font script="Taml" typeface="Latha"/>',u[u.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',u[u.length]='<a:font script="Orya" typeface="Kalinga"/>',u[u.length]='<a:font script="Mlym" typeface="Kartika"/>',u[u.length]='<a:font script="Laoo" typeface="DokChampa"/>',u[u.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',u[u.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',u[u.length]='<a:font script="Viet" typeface="Arial"/>',u[u.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',u[u.length]='<a:font script="Geor" typeface="Sylfaen"/>',u[u.length]="</a:minorFont>",u[u.length]="</a:fontScheme>",u[u.length]='<a:fmtScheme name="Office">',u[u.length]="<a:fillStyleLst>",u[u.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',u[u.length]='<a:gradFill rotWithShape="1">',u[u.length]="<a:gsLst>",u[u.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',u[u.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',u[u.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',u[u.length]="</a:gsLst>",u[u.length]='<a:lin ang="16200000" scaled="1"/>',u[u.length]="</a:gradFill>",u[u.length]='<a:gradFill rotWithShape="1">',u[u.length]="<a:gsLst>",u[u.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',u[u.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',u[u.length]="</a:gsLst>",u[u.length]='<a:lin ang="16200000" scaled="0"/>',u[u.length]="</a:gradFill>",u[u.length]="</a:fillStyleLst>",u[u.length]="<a:lnStyleLst>",u[u.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',u[u.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',u[u.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',u[u.length]="</a:lnStyleLst>",u[u.length]="<a:effectStyleLst>",u[u.length]="<a:effectStyle>",u[u.length]="<a:effectLst>",u[u.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',u[u.length]="</a:effectLst>",u[u.length]="</a:effectStyle>",u[u.length]="<a:effectStyle>",u[u.length]="<a:effectLst>",u[u.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',u[u.length]="</a:effectLst>",u[u.length]="</a:effectStyle>",u[u.length]="<a:effectStyle>",u[u.length]="<a:effectLst>",u[u.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',u[u.length]="</a:effectLst>",u[u.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',u[u.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',u[u.length]="</a:effectStyle>",u[u.length]="</a:effectStyleLst>",u[u.length]="<a:bgFillStyleLst>",u[u.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',u[u.length]='<a:gradFill rotWithShape="1">',u[u.length]="<a:gsLst>",u[u.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',u[u.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',u[u.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',u[u.length]="</a:gsLst>",u[u.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',u[u.length]="</a:gradFill>",u[u.length]='<a:gradFill rotWithShape="1">',u[u.length]="<a:gsLst>",u[u.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',u[u.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',u[u.length]="</a:gsLst>",u[u.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',u[u.length]="</a:gradFill>",u[u.length]="</a:bgFillStyleLst>",u[u.length]="</a:fmtScheme>",u[u.length]="</a:themeElements>",u[u.length]="<a:objectDefaults>",u[u.length]="<a:spDef>",u[u.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',u[u.length]="</a:spDef>",u[u.length]="<a:lnDef>",u[u.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',u[u.length]="</a:lnDef>",u[u.length]="</a:objectDefaults>",u[u.length]="<a:extraClrSchemeLst/>",u[u.length]="</a:theme>",u.join("")}function Vy(a){var c={};switch(c.xclrType=a.read_shift(2),c.nTintShade=a.read_shift(2),c.xclrType){case 0:case 4:a.l+=4;break;case 1:c.xclrValue=function(u,h){return qs(u,h)}(a,4);break;case 2:c.xclrValue=sE(a);break;case 3:c.xclrValue=function(u){return u.read_shift(4)}(a)}return a.l+=8,c}function JI(a){var c=a.read_shift(2),u=a.read_shift(2)-4,h=[c];switch(c){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:h[1]=Vy(a);break;case 6:h[1]=function(d,p){return qs(d,p)}(a,u);break;case 14:case 15:h[1]=a.read_shift(u===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+c+" "+u)}return h}function _p(){var a,c,u=Ac();return Ur(u,332),Ur(u,334,gc(1)),Ur(u,335,((c=Ir(12+2*(a={name:"XLDAPR",version:12e4,flags:3496657072}).name.length)).write_shift(4,a.flags),c.write_shift(4,a.version),Wo(a.name,c),c.slice(0,c.l))),Ur(u,336),Ur(u,339,function(h,d){var p=Ir(8+2*d.length);return p.write_shift(4,h),Wo(d,p),p.slice(0,p.l)}(1,"XLDAPR")),Ur(u,52),Ur(u,35,gc(514)),Ur(u,4096,gc(0)),Ur(u,4097,Rc(1)),Ur(u,36),Ur(u,53),Ur(u,340),Ur(u,337,function(h,d){var p=Ir(8);return p.write_shift(4,h),p.write_shift(4,1),p}(1)),Ur(u,51,function(h){var d=Ir(4+8*h.length);d.write_shift(4,h.length);for(var p=0;p<h.length;++p)d.write_shift(4,h[p][0]),d.write_shift(4,h[p][1]);return d}([[1,0]])),Ur(u,338),Ur(u,333),u.end()}function Dp(){var a=[ts];return a.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
  122. <metadataTypes count="1">
  123. <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>
  124. </metadataTypes>
  125. <futureMetadata name="XLDAPR" count="1">
  126. <bk>
  127. <extLst>
  128. <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
  129. <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
  130. </ext>
  131. </extLst>
  132. </bk>
  133. </futureMetadata>
  134. <cellMetadata count="1">
  135. <bk>
  136. <rc t="1" v="0"/>
  137. </bk>
  138. </cellMetadata>
  139. </metadata>`),a.join("")}var LA=1024;function WI(a,c){for(var u=[21600,21600],h=["m0,0l0",u[1],u[0],u[1],u[0],"0xe"].join(","),d=[on("xml",null,{"xmlns:v":Ql,"xmlns:o":th,"xmlns:x":yf,"xmlns:mv":fc}).replace(/\/>/,">"),on("o:shapelayout",on("o:idmap",null,{"v:ext":"edit",data:a}),{"v:ext":"edit"}),on("v:shapetype",[on("v:stroke",null,{joinstyle:"miter"}),on("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:u.join(","),path:h})];LA<1e3*a;)LA+=1e3;return c.forEach(function(p){var g=As(p[0]),A={color2:"#BEFF82",type:"gradient"};A.type=="gradient"&&(A.angle="-180");var m=A.type=="gradient"?on("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,y=on("v:fill",m,A);++LA,d=d.concat(["<v:shape"+Ld({id:"_x0000_s"+LA,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(p[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",y,on("v:shadow",null,{on:"t",obscured:"t"}),on("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",xs("x:Anchor",[g.c+1,0,g.r+1,0,g.c+3,20,g.r+5,20].join(",")),xs("x:AutoFill","False"),xs("x:Row",String(g.r)),xs("x:Column",String(g.c)),p[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),d.push("</xml>"),d.join("")}function qI(a,c,u,h){var d,p=Array.isArray(a);c.forEach(function(g){var A=As(g.ref);if(p?(a[A.r]||(a[A.r]=[]),d=a[A.r][A.c]):d=a[g.ref],!d){d={t:"z"},p?a[A.r][A.c]=d:a[g.ref]=d;var m=Ta(a["!ref"]||"BDWGO1000001:A1");m.s.r>A.r&&(m.s.r=A.r),m.e.r<A.r&&(m.e.r=A.r),m.s.c>A.c&&(m.s.c=A.c),m.e.c<A.c&&(m.e.c=A.c);var y=bi(m);y!==a["!ref"]&&(a["!ref"]=y)}d.c||(d.c=[]);var b={a:g.author,t:g.t,r:g.r,T:u};g.h&&(b.h=g.h);for(var I=d.c.length-1;I>=0;--I){if(!u&&d.c[I].T)return;u&&!d.c[I].T&&d.c.splice(I,1)}if(u&&h){for(I=0;I<h.length;++I)if(b.a==h[I].id){b.a=h[I].name||b.a;break}}d.c.push(b)})}function xE(a){var c=[ts,on("comments",null,{xmlns:hc[0]})],u=[];return c.push("<authors>"),a.forEach(function(h){h[1].forEach(function(d){var p=Xa(d.a);u.indexOf(p)==-1&&(u.push(p),c.push("<author>"+p+"</author>")),d.T&&d.ID&&u.indexOf("tc="+d.ID)==-1&&(u.push("tc="+d.ID),c.push("<author>tc="+d.ID+"</author>"))})}),u.length==0&&(u.push("SheetJ5"),c.push("<author>SheetJ5</author>")),c.push("</authors>"),c.push("<commentList>"),a.forEach(function(h){var d=0,p=[];if(h[1][0]&&h[1][0].T&&h[1][0].ID?d=u.indexOf("tc="+h[1][0].ID):h[1].forEach(function(m){m.a&&(d=u.indexOf(Xa(m.a))),p.push(m.t||"")}),c.push('<comment ref="'+h[0]+'" authorId="'+d+'"><text>'),p.length<=1)c.push(xs("t",Xa(p[0]||"")));else{for(var g=`Comment:
  140. `+p[0]+`
  141. `,A=1;A<p.length;++A)g+=`Reply:
  142. `+p[A]+`
  143. `;c.push(xs("t",Xa(g)))}c.push("</text></comment>")}),c.push("</commentList>"),c.length>2&&(c[c.length]="</comments>",c[1]=c[1].replace("/>",">")),c.join("")}function zI(a,c,u){var h=[ts,on("ThreadedComments",null,{xmlns:eh}).replace(/[\/]>/,">")];return a.forEach(function(d){var p="";(d[1]||[]).forEach(function(g,A){if(g.T){g.a&&c.indexOf(g.a)==-1&&c.push(g.a);var m={ref:d[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+u.tcid++).slice(-12)+"}"};A==0?p=m.id:m.parentId=p,g.ID=m.id,g.a&&(m.personId="{54EE7950-7262-4200-6969-"+("000000000000"+c.indexOf(g.a)).slice(-12)+"}"),h.push(on("threadedComment",xs("text",g.t||""),m))}else delete g.ID})}),h.push("</ThreadedComments>"),h.join("")}var z5=zs;function KI(a){var c=Ac(),u=[];return Ur(c,628),Ur(c,630),a.forEach(function(h){h[1].forEach(function(d){u.indexOf(d.a)>-1||(u.push(d.a.slice(0,54)),Ur(c,632,function(p){return Wo(p.slice(0,54))}(d.a)))})}),Ur(c,631),Ur(c,633),a.forEach(function(h){h[1].forEach(function(d){d.iauthor=u.indexOf(d.a);var p={s:As(h[0]),e:As(h[0])};Ur(c,635,function(g,A){return A==null&&(A=Ir(36)),A.write_shift(4,g[1].iauthor),Dc(g[0],A),A.write_shift(4,0),A.write_shift(4,0),A.write_shift(4,0),A.write_shift(4,0),A}([p,d])),d.t&&d.t.length>0&&Ur(c,637,Vw(d)),Ur(c,636),delete d.iauthor})}),Ur(c,634),Ur(c,629),c.end()}var Zy=["xlsb","xlsm","xlam","biff8","xla"],Ph=function(){var a=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,c={r:0,c:0};function u(h,d,p,g){var A=!1,m=!1;p.length==0?m=!0:p.charAt(0)=="["&&(m=!0,p=p.slice(1,-1)),g.length==0?A=!0:g.charAt(0)=="["&&(A=!0,g=g.slice(1,-1));var y=p.length>0?0|parseInt(p,10):0,b=g.length>0?0|parseInt(g,10):0;return A?b+=c.c:--b,m?y+=c.r:--y,d+(A?"":"$")+rs(b)+(m?"":"$")+Ss(y)}return function(h,d){return c=d,h.replace(a,u)}}(),Mc=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,Xy=function(){return function(a,c){return a.replace(Mc,function(u,h,d,p,g,A){var m=yI(p)-(d?0:c.c),y=f1(A)-(g?0:c.r);return h+"R"+(y==0?"":g?y+1:"["+y+"]")+"C"+(m==0?"":d?m+1:"["+m+"]")})}}();function Rp(a,c){return a.replace(Mc,function(u,h,d,p,g,A){return h+(d=="$"?d+p:rs(yI(p)+c.c))+(g=="$"?g+A:Ss(f1(A)+c.r))})}function $y(a,c,u){var h=dc(c).s,d=As(u);return Rp(a,{r:d.r-h.r,c:d.c-h.c})}function VI(a){return a.replace(/_xlfn\./g,"")}function ns(a){a.l+=1}function Bf(a,c){var u=a.read_shift(2);return[16383&u,u>>14&1,u>>15&1]}function kf(a,c,u){var h=2;if(u){if(u.biff>=2&&u.biff<=5)return cg(a);u.biff==12&&(h=4)}var d=a.read_shift(h),p=a.read_shift(h),g=Bf(a),A=Bf(a);return{s:{r:d,c:g[0],cRel:g[1],rRel:g[2]},e:{r:p,c:A[0],cRel:A[1],rRel:A[2]}}}function cg(a){var c=Bf(a),u=Bf(a),h=a.read_shift(1),d=a.read_shift(1);return{s:{r:c[0],c:h,cRel:c[1],rRel:c[2]},e:{r:u[0],c:d,cRel:u[1],rRel:u[2]}}}function SE(a,c,u){if(u&&u.biff>=2&&u.biff<=5)return function(p){var g=Bf(p),A=p.read_shift(1);return{r:g[0],c:A,cRel:g[1],rRel:g[2]}}(a);var h=a.read_shift(u&&u.biff==12?4:2),d=Bf(a);return{r:h,c:d[0],cRel:d[1],rRel:d[2]}}function K5(a){var c=a.read_shift(2),u=a.read_shift(2);return{r:c,c:255&u,fQuoted:!!(16384&u),cRel:u>>15,rRel:u>>15}}function Q1(a){var c=1&a[a.l+1];return a.l+=4,[c,1]}function _E(a){return[a.read_shift(1),a.read_shift(1)]}function DE(a,c){var u=[a.read_shift(1)];if(c==12)switch(u[0]){case 2:u[0]=4;break;case 4:u[0]=16;break;case 0:u[0]=1;break;case 1:u[0]=2}switch(u[0]){case 4:u[1]=ds(a,1)?"TRUE":"FALSE",c!=12&&(a.l+=7);break;case 37:case 16:u[1]=bf[a[a.l]],a.l+=c==12?4:8;break;case 0:a.l+=8;break;case 1:u[1]=ko(a);break;case 2:u[1]=ju(a,0,{biff:c>0&&c<8?2:c});break;default:throw new Error("Bad SerAr: "+u[0])}return u}function RE(a,c,u){for(var h=a.read_shift(u.biff==12?4:2),d=[],p=0;p!=h;++p)d.push((u.biff==12?kA:jy)(a));return d}function ZI(a,c,u){var h=0,d=0;u.biff==12?(h=a.read_shift(4),d=a.read_shift(4)):(d=1+a.read_shift(1),h=1+a.read_shift(2)),u.biff>=2&&u.biff<8&&(--h,--d==0&&(d=256));for(var p=0,g=[];p!=h&&(g[p]=[]);++p)for(var A=0;A!=d;++A)g[p][A]=DE(a,u.biff);return g}function Gh(a,c,u){return a.l+=2,[K5(a)]}function Mp(a){return a.l+=6,[]}function Fp(a){return a.l+=2,[gs(a),1&a.read_shift(2)]}var em=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],x1={1:{n:"PtgExp",f:function(a,c,u){return a.l++,u&&u.biff==12?[a.read_shift(4,"i"),0]:[a.read_shift(2),a.read_shift(u&&u.biff==2?1:2)]}},2:{n:"PtgTbl",f:qs},3:{n:"PtgAdd",f:ns},4:{n:"PtgSub",f:ns},5:{n:"PtgMul",f:ns},6:{n:"PtgDiv",f:ns},7:{n:"PtgPower",f:ns},8:{n:"PtgConcat",f:ns},9:{n:"PtgLt",f:ns},10:{n:"PtgLe",f:ns},11:{n:"PtgEq",f:ns},12:{n:"PtgGe",f:ns},13:{n:"PtgGt",f:ns},14:{n:"PtgNe",f:ns},15:{n:"PtgIsect",f:ns},16:{n:"PtgUnion",f:ns},17:{n:"PtgRange",f:ns},18:{n:"PtgUplus",f:ns},19:{n:"PtgUminus",f:ns},20:{n:"PtgPercent",f:ns},21:{n:"PtgParen",f:ns},22:{n:"PtgMissArg",f:ns},23:{n:"PtgStr",f:function(a,c,u){return a.l++,p1(a,0,u)}},26:{n:"PtgSheet",f:function(a,c,u){return a.l+=5,a.l+=2,a.l+=u.biff==2?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(a,c,u){return a.l+=u.biff==2?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(a){return a.l++,bf[a.read_shift(1)]}},29:{n:"PtgBool",f:function(a){return a.l++,a.read_shift(1)!==0}},30:{n:"PtgInt",f:function(a){return a.l++,a.read_shift(2)}},31:{n:"PtgNum",f:function(a){return a.l++,ko(a)}},32:{n:"PtgArray",f:function(a,c,u){var h=(96&a[a.l++])>>5;return a.l+=u.biff==2?6:u.biff==12?14:7,[h]}},33:{n:"PtgFunc",f:function(a,c,u){var h=(96&a[a.l])>>5;a.l+=1;var d=a.read_shift(u&&u.biff<=3?1:2);return[Ll[d],rb[d],h]}},34:{n:"PtgFuncVar",f:function(a,c,u){var h=a[a.l++],d=a.read_shift(1),p=u&&u.biff<=3?[h==88?-1:0,a.read_shift(1)]:function(g){return[g[g.l+1]>>7,32767&g.read_shift(2)]}(a);return[d,(p[0]===0?rb:D1)[p[1]]]}},35:{n:"PtgName",f:function(a,c,u){var h=a.read_shift(1)>>>5&3,d=!u||u.biff>=8?4:2,p=a.read_shift(d);switch(u.biff){case 2:a.l+=5;break;case 3:case 4:a.l+=8;break;case 5:a.l+=12}return[h,0,p]}},36:{n:"PtgRef",f:function(a,c,u){var h=(96&a[a.l])>>5;return a.l+=1,[h,SE(a,0,u)]}},37:{n:"PtgArea",f:function(a,c,u){return[(96&a[a.l++])>>5,kf(a,u.biff>=2&&u.biff,u)]}},38:{n:"PtgMemArea",f:function(a,c,u){var h=a.read_shift(1)>>>5&3;return a.l+=u&&u.biff==2?3:4,[h,a.read_shift(u&&u.biff==2?1:2)]}},39:{n:"PtgMemErr",f:qs},40:{n:"PtgMemNoMem",f:qs},41:{n:"PtgMemFunc",f:function(a,c,u){return[a.read_shift(1)>>>5&3,a.read_shift(u&&u.biff==2?1:2)]}},42:{n:"PtgRefErr",f:function(a,c,u){var h=a.read_shift(1)>>>5&3;return a.l+=4,u.biff<8&&a.l--,u.biff==12&&(a.l+=2),[h]}},43:{n:"PtgAreaErr",f:function(a,c,u){var h=(96&a[a.l++])>>5;return a.l+=u&&u.biff>8?12:u.biff<8?6:8,[h]}},44:{n:"PtgRefN",f:function(a,c,u){var h=(96&a[a.l])>>5;a.l+=1;var d=function(p,g,A){var m=A&&A.biff?A.biff:8;if(m>=2&&m<=5)return function(B){var S=B.read_shift(2),_=B.read_shift(1),D=(32768&S)>>15,T=(16384&S)>>14;return S&=16383,D==1&&S>=8192&&(S-=16384),T==1&&_>=128&&(_-=256),{r:S,c:_,cRel:T,rRel:D}}(p);var y=p.read_shift(m>=12?4:2),b=p.read_shift(2),I=(16384&b)>>14,E=(32768&b)>>15;if(b&=16383,E==1)for(;y>524287;)y-=1048576;if(I==1)for(;b>8191;)b-=16384;return{r:y,c:b,cRel:I,rRel:E}}(a,0,u);return[h,d]}},45:{n:"PtgAreaN",f:function(a,c,u){var h=(96&a[a.l++])>>5,d=function(p,g,A){if(A.biff<8)return cg(p);var m=p.read_shift(A.biff==12?4:2),y=p.read_shift(A.biff==12?4:2),b=Bf(p),I=Bf(p);return{s:{r:m,c:b[0],cRel:b[1],rRel:b[2]},e:{r:y,c:I[0],cRel:I[1],rRel:I[2]}}}(a,0,u);return[h,d]}},46:{n:"PtgMemAreaN",f:function(a){return[a.read_shift(1)>>>5&3,a.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(a){return[a.read_shift(1)>>>5&3,a.read_shift(2)]}},57:{n:"PtgNameX",f:function(a,c,u){return u.biff==5?function(h){var d=h.read_shift(1)>>>5&3,p=h.read_shift(2,"i");h.l+=8;var g=h.read_shift(2);return h.l+=12,[d,p,g]}(a):[a.read_shift(1)>>>5&3,a.read_shift(2),a.read_shift(4)]}},58:{n:"PtgRef3d",f:function(a,c,u){var h=(96&a[a.l])>>5;a.l+=1;var d=a.read_shift(2);return u&&u.biff==5&&(a.l+=12),[h,d,SE(a,0,u)]}},59:{n:"PtgArea3d",f:function(a,c,u){var h=(96&a[a.l++])>>5,d=a.read_shift(2,"i");if(u)switch(u.biff){case 5:a.l+=12;break}return[h,d,kf(a,0,u)]}},60:{n:"PtgRefErr3d",f:function(a,c,u){var h=(96&a[a.l++])>>5,d=a.read_shift(2),p=4;if(u)switch(u.biff){case 5:p=15;break;case 12:p=6}return a.l+=p,[h,d]}},61:{n:"PtgAreaErr3d",f:function(a,c,u){var h=(96&a[a.l++])>>5,d=a.read_shift(2),p=8;if(u)switch(u.biff){case 5:a.l+=12,p=6;break;case 12:p=12}return a.l+=p,[h,d]}},255:{}},tm={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},V5={1:{n:"PtgElfLel",f:Fp},2:{n:"PtgElfRw",f:Gh},3:{n:"PtgElfCol",f:Gh},6:{n:"PtgElfRwV",f:Gh},7:{n:"PtgElfColV",f:Gh},10:{n:"PtgElfRadical",f:Gh},11:{n:"PtgElfRadicalS",f:Mp},13:{n:"PtgElfColS",f:Mp},15:{n:"PtgElfColSV",f:Mp},16:{n:"PtgElfRadicalLel",f:Fp},25:{n:"PtgList",f:function(a){a.l+=2;var c=a.read_shift(2),u=a.read_shift(2),h=a.read_shift(4),d=a.read_shift(2),p=a.read_shift(2);return{ixti:c,coltype:3&u,rt:em[u>>2&31],idx:h,c:d,C:p}}},29:{n:"PtgSxName",f:function(a){return a.l+=2,[a.read_shift(4)]}},255:{}},ME={0:{n:"PtgAttrNoop",f:function(a){return a.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(a,c,u){var h=255&a[a.l+1]?1:0;return a.l+=u&&u.biff==2?3:4,[h]}},2:{n:"PtgAttrIf",f:function(a,c,u){var h=255&a[a.l+1]?1:0;return a.l+=2,[h,a.read_shift(u&&u.biff==2?1:2)]}},4:{n:"PtgAttrChoose",f:function(a,c,u){a.l+=2;for(var h=a.read_shift(u&&u.biff==2?1:2),d=[],p=0;p<=h;++p)d.push(a.read_shift(u&&u.biff==2?1:2));return d}},8:{n:"PtgAttrGoto",f:function(a,c,u){var h=255&a[a.l+1]?1:0;return a.l+=2,[h,a.read_shift(u&&u.biff==2?1:2)]}},16:{n:"PtgAttrSum",f:function(a,c,u){a.l+=u&&u.biff==2?3:4}},32:{n:"PtgAttrBaxcel",f:Q1},33:{n:"PtgAttrBaxcel",f:Q1},64:{n:"PtgAttrSpace",f:function(a){return a.read_shift(2),_E(a)}},65:{n:"PtgAttrSpaceSemi",f:function(a){return a.read_shift(2),_E(a)}},128:{n:"PtgAttrIfError",f:function(a){var c=255&a[a.l+1]?1:0;return a.l+=2,[c,a.read_shift(2)]}},255:{}};function Tp(a,c,u,h){if(h.biff<8)return qs(a,c);for(var d=a.l+c,p=[],g=0;g!==u.length;++g)switch(u[g][0]){case"PtgArray":u[g][1]=ZI(a,0,h),p.push(u[g][1]);break;case"PtgMemArea":u[g][2]=RE(a,u[g][1],h),p.push(u[g][2]);break;case"PtgExp":h&&h.biff==12&&(u[g][1][1]=a.read_shift(4),p.push(u[g][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+u[g][0]}return(c=d-a.l)!==0&&p.push(qs(a,c)),p}function Lp(a,c,u){for(var h,d,p=a.l+c,g=[];p!=a.l;)c=p-a.l,d=a[a.l],h=x1[d]||x1[tm[d]],d!==24&&d!==25||(h=(d===24?V5:ME)[a[a.l+1]]),h&&h.f?g.push([h.n,h.f(a,c,u)]):qs(a,c);return g}function FE(a){for(var c=[],u=0;u<a.length;++u){for(var h=a[u],d=[],p=0;p<h.length;++p){var g=h[p];g?g[0]===2?d.push('"'+g[1].replace(/"/g,'""')+'"'):d.push(g[1]):d.push("")}c.push(d.join(","))}return c.join(";")}var TE={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function XI(a,c,u){if(!a)return"SH33TJSERR0";if(u.biff>8&&(!a.XTI||!a.XTI[c]))return a.SheetNames[c];if(!a.XTI)return"SH33TJSERR6";var h=a.XTI[c];if(u.biff<8)return c>1e4&&(c-=65536),c<0&&(c=-c),c==0?"":a.XTI[c-1];if(!h)return"SH33TJSERR1";var d="";if(u.biff>8)switch(a[h[0]][0]){case 357:return d=h[1]==-1?"#REF":a.SheetNames[h[1]],h[1]==h[2]?d:d+":"+a.SheetNames[h[2]];case 358:return u.SID!=null?a.SheetNames[u.SID]:"SH33TJSSAME"+a[h[0]][0];default:return"SH33TJSSRC"+a[h[0]][0]}switch(a[h[0]][0][0]){case 1025:return d=h[1]==-1?"#REF":a.SheetNames[h[1]]||"SH33TJSERR3",h[1]==h[2]?d:d+":"+a.SheetNames[h[2]];case 14849:return a[h[0]].slice(1).map(function(p){return p.Name}).join(";;");default:return a[h[0]][0][3]?(d=h[1]==-1?"#REF":a[h[0]][0][3][h[1]]||"SH33TJSERR4",h[1]==h[2]?d:d+":"+a[h[0]][0][3][h[2]]):"SH33TJSERR2"}}function $I(a,c,u){var h=XI(a,c,u);return h=="#REF"?h:function(d,p){if(!(d||p&&p.biff<=5&&p.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(d)?"'"+d+"'":d}(h,u)}function ku(a,c,u,h,d){var p,g,A,m,y=d&&d.biff||8,b={s:{c:0,r:0}},I=[],E=0,B=0,S="";if(!a[0]||!a[0][0])return"";for(var _=-1,D="",T=0,F=a[0].length;T<F;++T){var N=a[0][T];switch(N[0]){case"PtgUminus":I.push("-"+I.pop());break;case"PtgUplus":I.push("+"+I.pop());break;case"PtgPercent":I.push(I.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(p=I.pop(),g=I.pop(),_>=0){switch(a[0][_][1][0]){case 0:D=Go(" ",a[0][_][1][1]);break;case 1:D=Go("\r",a[0][_][1][1]);break;default:if(D="",d.WTF)throw new Error("Unexpected PtgAttrSpaceType "+a[0][_][1][0])}g+=D,_=-1}I.push(g+TE[N[0]]+p);break;case"PtgIsect":p=I.pop(),g=I.pop(),I.push(g+" "+p);break;case"PtgUnion":p=I.pop(),g=I.pop(),I.push(g+","+p);break;case"PtgRange":p=I.pop(),g=I.pop(),I.push(g+":"+p);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":A=yp(N[1][1],b,d),I.push(Un(A,y));break;case"PtgRefN":A=u?yp(N[1][1],u,d):N[1][1],I.push(Un(A,y));break;case"PtgRef3d":E=N[1][1],A=yp(N[1][2],b,d),S=$I(h,E,d),I.push(S+"!"+Un(A,y));break;case"PtgFunc":case"PtgFuncVar":var H=N[1][0],W=N[1][1];H||(H=0);var V=(H&=127)==0?[]:I.slice(-H);I.length-=H,W==="User"&&(W=V.shift()),I.push(W+"("+V.join(",")+")");break;case"PtgBool":I.push(N[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":I.push(N[1]);break;case"PtgNum":I.push(String(N[1]));break;case"PtgStr":I.push('"'+N[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":m=mp(N[1][1],u?{s:u}:b,d),I.push(h1(m,d));break;case"PtgArea":m=mp(N[1][1],b,d),I.push(h1(m,d));break;case"PtgArea3d":E=N[1][1],m=N[1][2],S=$I(h,E,d),I.push(S+"!"+h1(m,d));break;case"PtgAttrSum":I.push("SUM("+I.pop()+")");break;case"PtgName":B=N[1][2];var te=(h.names||[])[B-1]||(h[0]||[])[B],ue=te?te.Name:"SH33TJSNAME"+String(B);ue&&ue.slice(0,6)=="_xlfn."&&!d.xlfn&&(ue=ue.slice(6)),I.push(ue);break;case"PtgNameX":var fe,de=N[1][1];if(B=N[1][2],!(d.biff<=5)){var Ae="";if(((h[de]||[])[0]||[])[0]==14849||(((h[de]||[])[0]||[])[0]==1025?h[de][B]&&h[de][B].itab>0&&(Ae=h.SheetNames[h[de][B].itab-1]+"!"):Ae=h.SheetNames[B-1]+"!"),h[de]&&h[de][B])Ae+=h[de][B].Name;else if(h[0]&&h[0][B])Ae+=h[0][B].Name;else{var we=(XI(h,de,d)||"").split(";;");we[B-1]?Ae=we[B-1]:Ae+="SH33TJSERRX"}I.push(Ae);break}de<0&&(de=-de),h[de]&&(fe=h[de][B]),fe||(fe={Name:"SH33TJSERRY"}),I.push(fe.Name);break;case"PtgParen":var Z="(",ne=")";if(_>=0){switch(D="",a[0][_][1][0]){case 2:Z=Go(" ",a[0][_][1][1])+Z;break;case 3:Z=Go("\r",a[0][_][1][1])+Z;break;case 4:ne=Go(" ",a[0][_][1][1])+ne;break;case 5:ne=Go("\r",a[0][_][1][1])+ne;break;default:if(d.WTF)throw new Error("Unexpected PtgAttrSpaceType "+a[0][_][1][0])}_=-1}I.push(Z+I.pop()+ne);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":I.push("#REF!");break;case"PtgExp":A={c:N[1][1],r:N[1][0]};var j={c:u.c,r:u.r};if(h.sharedf[Mi(A)]){var J=h.sharedf[Mi(A)];I.push(ku(J,b,j,h,d))}else{var q=!1;for(p=0;p!=h.arrayf.length;++p)if(g=h.arrayf[p],!(A.c<g[0].s.c||A.c>g[0].e.c||A.r<g[0].s.r||A.r>g[0].e.r)){I.push(ku(g[1],b,j,h,d)),q=!0;break}q||I.push(N[1])}break;case"PtgArray":I.push("{"+FE(N[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":_=T;break;case"PtgMissArg":I.push("");break;case"PtgList":I.push("Table"+N[1].idx+"[#"+N[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(N))}if(d.biff!=3&&_>=0&&["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(a[0][T][0])==-1){var z=!0;switch((N=a[0][_])[1][0]){case 4:z=!1;case 0:D=Go(" ",N[1][1]);break;case 5:z=!1;case 1:D=Go("\r",N[1][1]);break;default:if(D="",d.WTF)throw new Error("Unexpected PtgAttrSpaceType "+N[1][0])}I.push((z?D:"")+I.pop()+(z?"":D)),_=-1}}if(I.length>1&&d.WTF)throw new Error("bad formula stack");return I[0]}function lg(a,c,u){var h,d=a.l+c,p=u.biff==2?1:2,g=a.read_shift(p);if(g==65535)return[[],qs(a,c-2)];var A=Lp(a,g,u);return c!==g+p&&(h=Tp(a,c-g-p,A,u)),a.l=d,[A,h]}function eb(a,c,u){var h,d=a.l+c,p=a.read_shift(2),g=Lp(a,p,u);return p==65535?[[],qs(a,c-2)]:(c!==p+2&&(h=Tp(a,d-p-2,g,u)),[g,h])}function rm(a,c,u){var h=a.l+c,d=Th(a);u.biff==2&&++a.l;var p=function(m){var y;if(If(m,m.l+6)!==65535)return[ko(m),"n"];switch(m[m.l]){case 0:return m.l+=8,["String","s"];case 1:return y=m[m.l+2]===1,m.l+=8,[y,"b"];case 2:return y=m[m.l+2],m.l+=8,[y,"e"];case 3:return m.l+=8,["","s"]}return[]}(a),g=a.read_shift(1);u.biff!=2&&(a.read_shift(1),u.biff>=5&&a.read_shift(4));var A=function(m,y,b){var I,E=m.l+y,B=b.biff==2?1:2,S=m.read_shift(B);if(S==65535)return[[],qs(m,y-2)];var _=Lp(m,S,b);return y!==S+B&&(I=Tp(m,y-S-B,_,b)),m.l=E,[_,I]}(a,h-a.l,u);return{cell:d,val:p[0],formula:A,shared:g>>3&1,tt:p[1]}}function tb(a,c,u,h,d){var p=nh(c,u,d),g=function(b){if(b==null){var I=Ir(8);return I.write_shift(1,3),I.write_shift(1,0),I.write_shift(2,0),I.write_shift(2,0),I.write_shift(2,65535),I}return Jd(typeof b=="number"?b:0)}(a.v),A=Ir(6);A.write_shift(2,33),A.write_shift(4,0);for(var m=Ir(a.bf.length),y=0;y<a.bf.length;++y)m[y]=a.bf[y];return Jo([p,g,A,m])}function S1(a,c,u){var h=a.read_shift(4),d=Lp(a,h,u),p=a.read_shift(4);return[d,p>0?Tp(a,p,d,u):null]}var Z5=S1,_1=S1,NA=S1,nm=S1,D1={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},rb={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Ll={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function im(a){return a.slice(0,3)=="of:"&&(a=a.slice(3)),a.charCodeAt(0)==61&&(a=a.slice(1)).charCodeAt(0)==61&&(a=a.slice(1)),(a=(a=(a=a.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(c,u){return u.replace(/\./g,"")})).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function Qf(a){var c=a.split(":");return[c[0].split(".")[0],c[0].split(".")[1]+(c.length>1?":"+(c[1].split(".")[1]||c[1].split(".")[0]):"")]}var R1={},Mo={},OA=typeof Map<"u";function am(a,c,u){var h=0,d=a.length;if(u){if(OA?u.has(c):Object.prototype.hasOwnProperty.call(u,c)){for(var p=OA?u.get(c):u[c];h<p.length;++h)if(a[p[h]].t===c)return a.Count++,p[h]}}else for(;h<d;++h)if(a[h].t===c)return a.Count++,h;return a[d]={t:c},a.Count++,a.Unique++,u&&(OA?(u.has(c)||u.set(c,[]),u.get(c).push(d)):(Object.prototype.hasOwnProperty.call(u,c)||(u[c]=[]),u[c].push(d))),d}function PA(a,c){var u={min:a+1,max:a+1},h=-1;return c.MDW&&(Bu=c.MDW),c.width!=null?u.customWidth=1:c.wpx!=null?h=Tl(c.wpx):c.wch!=null&&(h=c.wch),h>-1?(u.width=sg(h),u.customWidth=1):c.width!=null&&(u.width=c.width),c.hidden&&(u.hidden=!0),c.level!=null&&(u.outlineLevel=u.level=c.level),u}function Ds(a,c){if(a){var u=[.7,.7,.75,.75,.3,.3];c=="xlml"&&(u=[1,1,1,1,.5,.5]),a.left==null&&(a.left=u[0]),a.right==null&&(a.right=u[1]),a.top==null&&(a.top=u[2]),a.bottom==null&&(a.bottom=u[3]),a.header==null&&(a.header=u[4]),a.footer==null&&(a.footer=u[5])}}function rl(a,c,u){var h=u.revssf[c.z!=null?c.z:"General"],d=60,p=a.length;if(h==null&&u.ssf){for(;d<392;++d)if(u.ssf[d]==null){$c(c.z,d),u.ssf[d]=c.z,u.revssf[c.z]=h=d;break}}for(d=0;d!=p;++d)if(a[d].numFmtId===h)return d;return a[p]={numFmtId:h,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},p}function nb(a,c,u,h,d,p){try{h.cellNF&&(a.z=xi[c])}catch(A){if(h.WTF)throw A}if(a.t!=="z"||h.cellStyles){if(a.t==="d"&&typeof a.v=="string"&&(a.v=Po(a.v)),(!h||h.cellText!==!1)&&a.t!=="z")try{if(xi[c]==null&&$c(xw[c]||"General",c),a.t==="e")a.w=a.w||bf[a.v];else if(c===0)if(a.t==="n")(0|a.v)===a.v?a.w=a.v.toString(10):a.w=gA(a.v);else if(a.t==="d"){var g=Ys(a.v);a.w=(0|g)===g?g.toString(10):gA(g)}else{if(a.v===void 0)return"";a.w=df(a.v,Mo)}else a.t==="d"?a.w=El(c,Ys(a.v),Mo):a.w=El(c,a.v,Mo)}catch(A){if(h.WTF)throw A}if(h.cellStyles&&u!=null)try{a.s=p.Fills[u],a.s.fgColor&&a.s.fgColor.theme&&!a.s.fgColor.rgb&&(a.s.fgColor.rgb=Ml(d.themeElements.clrScheme[a.s.fgColor.theme].rgb,a.s.fgColor.tint||0),h.WTF&&(a.s.fgColor.raw_rgb=d.themeElements.clrScheme[a.s.fgColor.theme].rgb)),a.s.bgColor&&a.s.bgColor.theme&&(a.s.bgColor.rgb=Ml(d.themeElements.clrScheme[a.s.bgColor.theme].rgb,a.s.bgColor.tint||0),h.WTF&&(a.s.bgColor.raw_rgb=d.themeElements.clrScheme[a.s.bgColor.theme].rgb))}catch(A){if(h.WTF&&p.Fills)throw A}}}function X5(a,c,u){if(a&&a["!ref"]){var h=Ta(a["!ref"]);if(h.e.c<h.s.c||h.e.r<h.s.r)throw new Error("Bad range ("+u+"): "+a["!ref"])}}var Oi=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,$5=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,LE=/<(?:\w:)?hyperlink [^>]*>/gm,Np=/"(\w*:\w*)"/,ek=/<(?:\w:)?col\b[^>]*[\/]?>/g,NE=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,Nl=/<(?:\w:)?pageMargins[^>]*\/>/g,Qu=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Ol=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Uh=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function GA(a,c,u,h,d,p,g){if(!a)return a;h||(h={"!id":{}});var A=c.dense?[]:{},m={s:{r:2e6,c:2e6},e:{r:0,c:0}},y="",b="",I=a.match($5);I?(y=a.slice(0,I.index),b=a.slice(I.index+I[0].length)):y=b=a;var E=y.match(Qu);E?om(E[0],A,d,u):(E=y.match(Ol))&&function(de,Ae,we,Z,ne){om(de.slice(0,de.indexOf(">")),we,Z,ne)}(E[0],E[1],A,d,u);var B=(y.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(B>0){var S=y.slice(B,B+50).match(Np);S&&function(de,Ae){var we=Ta(Ae);we.s.r<=we.e.r&&we.s.c<=we.e.c&&we.s.r>=0&&we.s.c>=0&&(de["!ref"]=bi(we))}(A,S[1])}var _=y.match(Uh);_&&_[1]&&function(de,Ae){Ae.Views||(Ae.Views=[{}]),(de.match(xu)||[]).forEach(function(we,Z){var ne=ii(we);Ae.Views[Z]||(Ae.Views[Z]={}),+ne.zoomScale&&(Ae.Views[Z].zoom=+ne.zoomScale),po(ne.rightToLeft)&&(Ae.Views[Z].RTL=!0)})}(_[1],d);var D=[];if(c.cellStyles){var T=y.match(ek);T&&function(de,Ae){for(var we=!1,Z=0;Z!=Ae.length;++Z){var ne=ii(Ae[Z],!0);ne.hidden&&(ne.hidden=po(ne.hidden));var j=parseInt(ne.min,10)-1,J=parseInt(ne.max,10)-1;for(ne.outlineLevel&&(ne.level=+ne.outlineLevel||0),delete ne.min,delete ne.max,ne.width=+ne.width,!we&&ne.width&&(we=!0,xp(ne.width)),Uo(ne);j<=J;)de[j++]=Ro(ne)}}(D,T)}I&&tk(I[1],A,c,m,p,g);var F=b.match(NE);F&&(A["!autofilter"]=function(de){var Ae={ref:(de.match(/ref="([^"]*)"/)||[])[1]};return Ae}(F[0]));var N=[],H=b.match(Oi);if(H)for(B=0;B!=H.length;++B)N[B]=Ta(H[B].slice(H[B].indexOf('"')+1));var W=b.match(LE);W&&function(de,Ae,we){for(var Z=Array.isArray(de),ne=0;ne!=Ae.length;++ne){var j=ii(vo(Ae[ne]),!0);if(!j.ref)return;var J=((we||{})["!id"]||[])[j.id];J?(j.Target=J.Target,j.location&&(j.Target+="#"+ji(j.location))):(j.Target="#"+ji(j.location),J={Target:j.Target,TargetMode:"Internal"}),j.Rel=J,j.tooltip&&(j.Tooltip=j.tooltip,delete j.tooltip);for(var q=Ta(j.ref),z=q.s.r;z<=q.e.r;++z)for(var X=q.s.c;X<=q.e.c;++X){var se=Mi({c:X,r:z});Z?(de[z]||(de[z]=[]),de[z][X]||(de[z][X]={t:"z",v:void 0}),de[z][X].l=j):(de[se]||(de[se]={t:"z",v:void 0}),de[se].l=j)}}}(A,W,h);var V,te,ue=b.match(Nl);if(ue&&(A["!margins"]=(V=ii(ue[0]),te={},["left","right","top","bottom","header","footer"].forEach(function(de){V[de]&&(te[de]=parseFloat(V[de]))}),te)),!A["!ref"]&&m.e.c>=m.s.c&&m.e.r>=m.s.r&&(A["!ref"]=bi(m)),c.sheetRows>0&&A["!ref"]){var fe=Ta(A["!ref"]);c.sheetRows<=+fe.e.r&&(fe.e.r=c.sheetRows-1,fe.e.r>m.e.r&&(fe.e.r=m.e.r),fe.e.r<fe.s.r&&(fe.s.r=fe.e.r),fe.e.c>m.e.c&&(fe.e.c=m.e.c),fe.e.c<fe.s.c&&(fe.s.c=fe.e.c),A["!fullref"]=A["!ref"],A["!ref"]=bi(fe))}return D.length>0&&(A["!cols"]=D),N.length>0&&(A["!merges"]=N),A}function om(a,c,u,h){var d=ii(a);u.Sheets[h]||(u.Sheets[h]={}),d.codeName&&(u.Sheets[h].CodeName=ji(vo(d.codeName)))}var ih=["objects","scenarios","selectLockedCells","selectUnlockedCells"],hg=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"],xu=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function OE(a,c,u,h){if(a.c&&u["!comments"].push([c,a.c]),a.v===void 0&&typeof a.f!="string"||a.t==="z"&&!a.f)return"";var d="",p=a.t,g=a.v;if(a.t!=="z")switch(a.t){case"b":d=a.v?"1":"0";break;case"n":d=""+a.v;break;case"e":d=bf[a.v];break;case"d":h&&h.cellDates?d=Po(a.v,-1).toISOString():((a=Ro(a)).t="n",d=""+(a.v=Ys(Po(a.v)))),a.z===void 0&&(a.z=xi[14]);break;default:d=a.v}var A=xs("v",Xa(d)),m={r:c},y=rl(h.cellXfs,a,h);switch(y!==0&&(m.s=y),a.t){case"n":case"z":break;case"d":m.t="d";break;case"b":m.t="b";break;case"e":m.t="e";break;default:if(a.v==null){delete a.t;break}if(a.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(h&&h.bookSST){A=xs("v",""+am(h.Strings,a.v,h.revStrings)),m.t="s";break}m.t="str"}if(a.t!=p&&(a.t=p,a.v=g),typeof a.f=="string"&&a.f){var b=a.F&&a.F.slice(0,c.length)==c?{t:"array",ref:a.F}:null;A=on("f",Xa(a.f),b)+(a.v!=null?A:"")}return a.l&&u["!links"].push([c,a.l]),a.D&&(m.cm=1),on("c",A,m)}var tk=function(){var a=/<(?:\w+:)?c[ \/>]/,c=/<\/(?:\w+:)?row>/,u=/r=["']([^"']*)["']/,h=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,d=/ref=["']([^"']*)["']/,p=Fa("v"),g=Fa("f");return function(A,m,y,b,I,E){for(var B,S,_,D,T,F=0,N="",H=[],W=[],V=0,te=0,ue=0,fe="",de=0,Ae=0,we=0,Z=0,ne=Array.isArray(E.CellXf),j=[],J=[],q=Array.isArray(m),z=[],X={},se=!1,oe=!!y.sheetStubs,ye=A.split(c),ae=0,me=ye.length;ae!=me;++ae){var Fe=(N=ye[ae].trim()).length;if(Fe!==0){var _e=0;e:for(F=0;F<Fe;++F)switch(N[F]){case">":if(N[F-1]!="/"){++F;break e}if(y&&y.cellStyles){if(de=(S=ii(N.slice(_e,F),!0)).r!=null?parseInt(S.r,10):de+1,Ae=-1,y.sheetRows&&y.sheetRows<de)continue;X={},se=!1,S.ht&&(se=!0,X.hpt=parseFloat(S.ht),X.hpx=Ef(X.hpt)),S.hidden=="1"&&(se=!0,X.hidden=!0),S.outlineLevel!=null&&(se=!0,X.level=+S.outlineLevel),se&&(z[de-1]=X)}break;case"<":_e=F}if(_e>=F)break;if(de=(S=ii(N.slice(_e,F),!0)).r!=null?parseInt(S.r,10):de+1,Ae=-1,!(y.sheetRows&&y.sheetRows<de)){b.s.r>de-1&&(b.s.r=de-1),b.e.r<de-1&&(b.e.r=de-1),y&&y.cellStyles&&(X={},se=!1,S.ht&&(se=!0,X.hpt=parseFloat(S.ht),X.hpx=Ef(X.hpt)),S.hidden=="1"&&(se=!0,X.hidden=!0),S.outlineLevel!=null&&(se=!0,X.level=+S.outlineLevel),se&&(z[de-1]=X)),H=N.slice(F).split(a);for(var rt=0;rt!=H.length&&H[rt].trim().charAt(0)=="<";++rt);for(H=H.slice(rt),F=0;F!=H.length;++F)if((N=H[F].trim()).length!==0){if(W=N.match(u),V=F,te=0,ue=0,N="<c "+(N.slice(0,1)=="<"?">":"")+N,W!=null&&W.length===2){for(V=0,fe=W[1],te=0;te!=fe.length&&!((ue=fe.charCodeAt(te)-64)<1||ue>26);++te)V=26*V+ue;Ae=--V}else++Ae;for(te=0;te!=N.length&&N.charCodeAt(te)!==62;++te);if(++te,(S=ii(N.slice(0,te),!0)).r||(S.r=Mi({r:de-1,c:Ae})),B={t:""},(W=(fe=N.slice(te)).match(p))!=null&&W[1]!==""&&(B.v=ji(W[1])),y.cellFormula){if((W=fe.match(g))!=null&&W[1]!==""){if(B.f=ji(vo(W[1])).replace(/\r\n/g,`
  144. `),y.xlfn||(B.f=VI(B.f)),W[0].indexOf('t="array"')>-1)B.F=(fe.match(d)||[])[1],B.F.indexOf(":")>-1&&j.push([Ta(B.F),B.F]);else if(W[0].indexOf('t="shared"')>-1){D=ii(W[0]);var et=ji(vo(W[1]));y.xlfn||(et=VI(et)),J[parseInt(D.si,10)]=[D,et,S.r]}}else(W=fe.match(/<f[^>]*\/>/))&&J[(D=ii(W[0])).si]&&(B.f=$y(J[D.si][1],J[D.si][2],S.r));var st=As(S.r);for(te=0;te<j.length;++te)st.r>=j[te][0].s.r&&st.r<=j[te][0].e.r&&st.c>=j[te][0].s.c&&st.c<=j[te][0].e.c&&(B.F=j[te][1])}if(S.t==null&&B.v===void 0)if(B.f||B.F)B.v=0,B.t="n";else{if(!oe)continue;B.t="z"}else B.t=S.t||"n";switch(b.s.c>Ae&&(b.s.c=Ae),b.e.c<Ae&&(b.e.c=Ae),B.t){case"n":if(B.v==""||B.v==null){if(!oe)continue;B.t="z"}else B.v=parseFloat(B.v);break;case"s":if(B.v===void 0){if(!oe)continue;B.t="z"}else _=R1[parseInt(B.v,10)],B.v=_.t,B.r=_.r,y.cellHTML&&(B.h=_.h);break;case"str":B.t="s",B.v=B.v!=null?vo(B.v):"",y.cellHTML&&(B.h=dp(B.v));break;case"inlineStr":W=fe.match(h),B.t="s",W!=null&&(_=el(W[1]))?(B.v=_.t,y.cellHTML&&(B.h=_.h)):B.v="";break;case"b":B.v=po(B.v);break;case"d":y.cellDates?B.v=Po(B.v,1):(B.v=Ys(Po(B.v,1)),B.t="n");break;case"e":y&&y.cellText===!1||(B.w=B.v),B.v=$w[B.v]}if(we=Z=0,T=null,ne&&S.s!==void 0&&(T=E.CellXf[S.s])!=null&&(T.numFmtId!=null&&(we=T.numFmtId),y.cellStyles&&T.fillId!=null&&(Z=T.fillId)),nb(B,we,Z,y,I,E),y.cellDates&&ne&&B.t=="n"&&wl(xi[we])&&(B.t="d",B.v=Cy(B.v)),S.cm&&y.xlmeta){var Ge=(y.xlmeta.Cell||[])[+S.cm-1];Ge&&Ge.type=="XLDAPR"&&(B.D=!0)}if(q){var Be=As(S.r);m[Be.r]||(m[Be.r]=[]),m[Be.r][Be.c]=B}else m[S.r]=B}}}}z.length>0&&(m["!rows"]=z)}}();function ib(a,c,u,h){var d,p=[ts,on("worksheet",null,{xmlns:hc[0],"xmlns:r":AI})],g=u.SheetNames[a],A="",m=u.Sheets[g];m==null&&(m={});var y=m["!ref"]||"A1",b=Ta(y);if(b.e.c>16383||b.e.r>1048575){if(c.WTF)throw new Error("Range "+y+" exceeds format limit A1:XFD1048576");b.e.c=Math.min(b.e.c,16383),b.e.r=Math.min(b.e.c,1048575),y=bi(b)}h||(h={}),m["!comments"]=[];var I=[];(function(D,T,F,N,H){var W=!1,V={},te=null;if(N.bookType!=="xlsx"&&T.vbaraw){var ue=T.SheetNames[F];try{T.Workbook&&(ue=T.Workbook.Sheets[F].CodeName||ue)}catch{}W=!0,V.codeName=Dh(Xa(ue))}if(D&&D["!outline"]){var fe={summaryBelow:1,summaryRight:1};D["!outline"].above&&(fe.summaryBelow=0),D["!outline"].left&&(fe.summaryRight=0),te=(te||"")+on("outlinePr",null,fe)}(W||te)&&(H[H.length]=on("sheetPr",te,V))})(m,u,a,c,p),p[p.length]=on("dimension",null,{ref:y}),p[p.length]=function(D,T,F,N){var H={workbookViewId:"0"};return(((N||{}).Workbook||{}).Views||[])[0]&&(H.rightToLeft=N.Workbook.Views[0].RTL?"1":"0"),on("sheetViews",on("sheetView",null,H),{})}(0,0,0,u),c.sheetFormat&&(p[p.length]=on("sheetFormatPr",null,{defaultRowHeight:c.sheetFormat.defaultRowHeight||"16",baseColWidth:c.sheetFormat.baseColWidth||"10",outlineLevelRow:c.sheetFormat.outlineLevelRow||"7"})),m["!cols"]!=null&&m["!cols"].length>0&&(p[p.length]=function(D,T){for(var F,N=["<cols>"],H=0;H!=T.length;++H)(F=T[H])&&(N[N.length]=on("col",null,PA(H,F)));return N[N.length]="</cols>",N.join("")}(0,m["!cols"])),p[d=p.length]="<sheetData/>",m["!links"]=[],m["!ref"]!=null&&(A=function(D,T){var F,N,H=[],W=[],V=Ta(D["!ref"]),te="",ue="",fe=[],de=0,Ae=0,we=D["!rows"],Z=Array.isArray(D),ne={r:ue},j=-1;for(Ae=V.s.c;Ae<=V.e.c;++Ae)fe[Ae]=rs(Ae);for(de=V.s.r;de<=V.e.r;++de){for(W=[],ue=Ss(de),Ae=V.s.c;Ae<=V.e.c;++Ae){F=fe[Ae]+ue;var J=Z?(D[de]||[])[Ae]:D[F];J!==void 0&&(te=OE(J,F,D,T))!=null&&W.push(te)}(W.length>0||we&&we[de])&&(ne={r:ue},we&&we[de]&&((N=we[de]).hidden&&(ne.hidden=1),j=-1,N.hpx?j=La(N.hpx):N.hpt&&(j=N.hpt),j>-1&&(ne.ht=j,ne.customHeight=1),N.level&&(ne.outlineLevel=N.level)),H[H.length]=on("row",W.join(""),ne))}if(we)for(;de<we.length;++de)we&&we[de]&&(ne={r:de+1},(N=we[de]).hidden&&(ne.hidden=1),j=-1,N.hpx?j=La(N.hpx):N.hpt&&(j=N.hpt),j>-1&&(ne.ht=j,ne.customHeight=1),N.level&&(ne.outlineLevel=N.level),H[H.length]=on("row","",ne));return H.join("")}(m,c),A.length>0&&(p[p.length]=A)),p.length>d+1&&(p[p.length]="</sheetData>",p[d]=p[d].replace("/>",">")),m["!protect"]&&(p[p.length]=function(D){var T={sheet:1};return ih.forEach(function(F){D[F]!=null&&D[F]&&(T[F]="1")}),hg.forEach(function(F){D[F]==null||D[F]||(T[F]="0")}),D.password&&(T.password=jI(D.password).toString(16).toUpperCase()),on("sheetProtection",null,T)}(m["!protect"])),m["!autofilter"]!=null&&(p[p.length]=function(D,T,F,N){var H=typeof D.ref=="string"?D.ref:bi(D.ref);F.Workbook||(F.Workbook={Sheets:[]}),F.Workbook.Names||(F.Workbook.Names=[]);var W=F.Workbook.Names,V=dc(H);V.s.r==V.e.r&&(V.e.r=dc(T["!ref"]).e.r,H=bi(V));for(var te=0;te<W.length;++te){var ue=W[te];if(ue.Name=="_xlnm._FilterDatabase"&&ue.Sheet==N){ue.Ref="'"+F.SheetNames[N]+"'!"+H;break}}return te==W.length&&W.push({Name:"_xlnm._FilterDatabase",Sheet:N,Ref:"'"+F.SheetNames[N]+"'!"+H}),on("autoFilter",null,{ref:H})}(m["!autofilter"],m,u,a)),m["!merges"]!=null&&m["!merges"].length>0&&(p[p.length]=function(D){if(D.length===0)return"";for(var T='<mergeCells count="'+D.length+'">',F=0;F!=D.length;++F)T+='<mergeCell ref="'+bi(D[F])+'"/>';return T+"</mergeCells>"}(m["!merges"]));var E,B,S=-1,_=-1;return m["!links"].length>0&&(p[p.length]="<hyperlinks>",m["!links"].forEach(function(D){D[1].Target&&(E={ref:D[0]},D[1].Target.charAt(0)!="#"&&(_=co(h,-1,Xa(D[1].Target).replace(/#.*$/,""),ma.HLINK),E["r:id"]="rId"+_),(S=D[1].Target.indexOf("#"))>-1&&(E.location=Xa(D[1].Target.slice(S+1))),D[1].Tooltip&&(E.tooltip=Xa(D[1].Tooltip)),p[p.length]=on("hyperlink",null,E))}),p[p.length]="</hyperlinks>"),delete m["!links"],m["!margins"]!=null&&(p[p.length]=(Ds(B=m["!margins"]),on("pageMargins",null,B))),c&&!c.ignoreEC&&c.ignoreEC!=null||(p[p.length]=xs("ignoredErrors",on("ignoredError",null,{numberStoredAsText:1,sqref:y}))),I.length>0&&(_=co(h,-1,"../drawings/drawing"+(a+1)+".xml",ma.DRAW),p[p.length]=on("drawing",null,{"r:id":"rId"+_}),m["!drawing"]=I),m["!comments"].length>0&&(_=co(h,-1,"../drawings/vmlDrawing"+(a+1)+".vml",ma.VML),p[p.length]=on("legacyDrawing",null,{"r:id":"rId"+_}),m["!legacy"]=_),p.length>1&&(p[p.length]="</worksheet>",p[1]=p[1].replace("/>",">")),p.join("")}function ab(a,c,u,h){var d=function(p,g,A){var m=Ir(145),y=(A["!rows"]||[])[p]||{};m.write_shift(4,p),m.write_shift(4,0);var b=320;y.hpx?b=20*La(y.hpx):y.hpt&&(b=20*y.hpt),m.write_shift(2,b),m.write_shift(1,0);var I=0;y.level&&(I|=y.level),y.hidden&&(I|=16),(y.hpx||y.hpt)&&(I|=32),m.write_shift(1,I),m.write_shift(1,0);var E=0,B=m.l;m.l+=4;for(var S={r:p,c:0},_=0;_<16;++_)if(!(g.s.c>_+1<<10||g.e.c<_<<10)){for(var D=-1,T=-1,F=_<<10;F<_+1<<10;++F)S.c=F,(Array.isArray(A)?(A[S.r]||[])[S.c]:A[Mi(S)])&&(D<0&&(D=F),T=F);D<0||(++E,m.write_shift(4,D),m.write_shift(4,T))}var N=m.l;return m.l=B,m.write_shift(4,E),m.l=N,m.length>m.l?m.slice(0,m.l):m}(h,u,c);(d.length>17||(c["!rows"]||[])[h])&&Ur(a,0,d)}var ob=kA,rk=Dc;function sb(a){return[jd(a),ko(a),"n"]}var PE=kA,ub=Dc,GE=["left","right","top","bottom","header","footer"];function nk(a,c,u,h,d,p,g){if(c.v===void 0)return!1;var A="";switch(c.t){case"b":A=c.v?"1":"0";break;case"d":(c=Ro(c)).z=c.z||xi[14],c.v=Ys(Po(c.v)),c.t="n";break;case"n":case"e":A=""+c.v;break;default:A=c.v}var m={r:u,c:h};switch(m.s=rl(d.cellXfs,c,d),c.l&&p["!links"].push([Mi(m),c.l]),c.c&&p["!comments"].push([Mi(m),c.c]),c.t){case"s":case"str":return d.bookSST?(A=am(d.Strings,c.v,d.revStrings),m.t="s",m.v=A,g?Ur(a,18,function(y,b,I){return I==null&&(I=Ir(8)),Hd(b,I),I.write_shift(4,b.v),I}(0,m)):Ur(a,7,function(y,b,I){return I==null&&(I=Ir(12)),BA(b,I),I.write_shift(4,b.v),I}(0,m))):(m.t="str",g?Ur(a,17,function(y,b,I){return I==null&&(I=Ir(8+4*y.v.length)),Hd(b,I),Wo(y.v,I),I.length>I.l?I.slice(0,I.l):I}(c,m)):Ur(a,6,function(y,b,I){return I==null&&(I=Ir(12+4*y.v.length)),BA(b,I),Wo(y.v,I),I.length>I.l?I.slice(0,I.l):I}(c,m))),!0;case"n":return c.v==(0|c.v)&&c.v>-1e3&&c.v<1e3?g?Ur(a,13,function(y,b,I){return I==null&&(I=Ir(8)),Hd(b,I),xl(y.v,I),I}(c,m)):Ur(a,2,function(y,b,I){return I==null&&(I=Ir(12)),BA(b,I),xl(y.v,I),I}(c,m)):g?Ur(a,16,function(y,b,I){return I==null&&(I=Ir(12)),Hd(b,I),Jd(y.v,I),I}(c,m)):Ur(a,5,function(y,b,I){return I==null&&(I=Ir(16)),BA(b,I),Jd(y.v,I),I}(c,m)),!0;case"b":return m.t="b",g?Ur(a,15,function(y,b,I){return I==null&&(I=Ir(5)),Hd(b,I),I.write_shift(1,y.v?1:0),I}(c,m)):Ur(a,4,function(y,b,I){return I==null&&(I=Ir(9)),BA(b,I),I.write_shift(1,y.v?1:0),I}(c,m)),!0;case"e":return m.t="e",g?Ur(a,14,function(y,b,I){return I==null&&(I=Ir(8)),Hd(b,I),I.write_shift(1,y.v),I.write_shift(2,0),I.write_shift(1,0),I}(c,m)):Ur(a,3,function(y,b,I){return I==null&&(I=Ir(9)),BA(b,I),I.write_shift(1,y.v),I}(c,m)),!0}return g?Ur(a,12,function(y,b,I){return I==null&&(I=Ir(4)),Hd(b,I)}(0,m)):Ur(a,1,function(y,b,I){return I==null&&(I=Ir(8)),BA(b,I)}(0,m)),!0}function UE(a,c){var u,h;c&&c["!merges"]&&(Ur(a,177,(u=c["!merges"].length,h==null&&(h=Ir(4)),h.write_shift(4,u),h)),c["!merges"].forEach(function(d){Ur(a,176,ub(d))}),Ur(a,178))}function ik(a,c){c&&c["!cols"]&&(Ur(a,390),c["!cols"].forEach(function(u,h){u&&Ur(a,60,function(d,p,g){g==null&&(g=Ir(18));var A=PA(d,p);g.write_shift(-4,d),g.write_shift(-4,d),g.write_shift(4,256*(A.width||10)),g.write_shift(4,0);var m=0;return p.hidden&&(m|=1),typeof A.width=="number"&&(m|=2),p.level&&(m|=p.level<<8),g.write_shift(2,m),g}(h,u))}),Ur(a,391))}function cb(a,c){var u,h;c&&c["!ref"]&&(Ur(a,648),Ur(a,649,(u=Ta(c["!ref"]),(h=Ir(24)).write_shift(4,4),h.write_shift(4,1),Dc(u,h),h)),Ur(a,650))}function lb(a,c,u){c["!links"].forEach(function(h){if(h[1].Target){var d=co(u,-1,h[1].Target.replace(/#.*$/,""),ma.HLINK);Ur(a,494,function(p,g){var A=Ir(50+4*(p[1].Target.length+(p[1].Tooltip||"").length));Dc({s:As(p[0]),e:As(p[0])},A),II("rId"+g,A);var m=p[1].Target.indexOf("#");return Wo((m==-1?"":p[1].Target.slice(m+1))||"",A),Wo(p[1].Tooltip||"",A),Wo("",A),A.slice(0,A.l)}(h,d))}}),delete c["!links"]}function ak(a,c,u){Ur(a,133),Ur(a,137,function(h,d,p){p==null&&(p=Ir(30));var g=924;return(((d||{}).Views||[])[0]||{}).RTL&&(g|=32),p.write_shift(2,g),p.write_shift(4,0),p.write_shift(4,0),p.write_shift(4,0),p.write_shift(1,0),p.write_shift(1,0),p.write_shift(2,0),p.write_shift(2,100),p.write_shift(2,0),p.write_shift(2,0),p.write_shift(2,0),p.write_shift(4,0),p}(0,u)),Ur(a,138),Ur(a,134)}function hb(a,c){var u,h;c["!protect"]&&Ur(a,535,(u=c["!protect"],h==null&&(h=Ir(66)),h.write_shift(2,u.password?jI(u.password):0),h.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(d){d[1]?h.write_shift(4,u[d[0]]==null||u[d[0]]?0:1):h.write_shift(4,u[d[0]]!=null&&u[d[0]]?0:1)}),h))}function jE(a,c,u,h){var d=Ac(),p=u.SheetNames[a],g=u.Sheets[p]||{},A=p;try{u&&u.Workbook&&(A=u.Workbook.Sheets[a].CodeName||A)}catch{}var m,y,b=Ta(g["!ref"]||"A1");if(b.e.c>16383||b.e.r>1048575){if(c.WTF)throw new Error("Range "+(g["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");b.e.c=Math.min(b.e.c,16383),b.e.r=Math.min(b.e.c,1048575)}return g["!links"]=[],g["!comments"]=[],Ur(d,129),(u.vbaraw||g["!outline"])&&Ur(d,147,function(I,E,B){B==null&&(B=Ir(84+4*I.length));var S=192;E&&(E.above&&(S&=-65),E.left&&(S&=-129)),B.write_shift(1,S);for(var _=1;_<3;++_)B.write_shift(1,0);return Wd({auto:1},B),B.write_shift(-4,-1),B.write_shift(-4,-1),Fh(I,B),B.slice(0,B.l)}(A,g["!outline"])),Ur(d,148,rk(b)),ak(d,0,u.Workbook),ik(d,g),function(I,E,B,S){var _,D=Ta(E["!ref"]||"A1"),T="",F=[];Ur(I,145);var N=Array.isArray(E),H=D.e.r;E["!rows"]&&(H=Math.max(D.e.r,E["!rows"].length-1));for(var W=D.s.r;W<=H;++W){T=Ss(W),ab(I,E,D,W);var V=!1;if(W<=D.e.r)for(var te=D.s.c;te<=D.e.c;++te){W===D.s.r&&(F[te]=rs(te)),_=F[te]+T;var ue=N?(E[W]||[])[te]:E[_];V=!!ue&&nk(I,ue,W,te,S,E,V)}}Ur(I,146)}(d,g,0,c),hb(d,g),function(I,E,B,S){if(E["!autofilter"]){var _=E["!autofilter"],D=typeof _.ref=="string"?_.ref:bi(_.ref);B.Workbook||(B.Workbook={Sheets:[]}),B.Workbook.Names||(B.Workbook.Names=[]);var T=B.Workbook.Names,F=dc(D);F.s.r==F.e.r&&(F.e.r=dc(E["!ref"]).e.r,D=bi(F));for(var N=0;N<T.length;++N){var H=T[N];if(H.Name=="_xlnm._FilterDatabase"&&H.Sheet==S){H.Ref="'"+B.SheetNames[S]+"'!"+D;break}}N==T.length&&T.push({Name:"_xlnm._FilterDatabase",Sheet:S,Ref:"'"+B.SheetNames[S]+"'!"+D}),Ur(I,161,Dc(Ta(D))),Ur(I,162)}}(d,g,u,a),UE(d,g),lb(d,g,h),g["!margins"]&&Ur(d,476,(m=g["!margins"],y==null&&(y=Ir(48)),Ds(m),GE.forEach(function(I){Jd(m[I],y)}),y)),c&&!c.ignoreEC&&c.ignoreEC!=null||cb(d,g),function(I,E,B,S){if(E["!comments"].length>0){var _=co(S,-1,"../drawings/vmlDrawing"+(B+1)+".vml",ma.VML);Ur(I,551,II("rId"+_)),E["!legacy"]=_}}(d,g,a,h),Ur(d,130),d.end()}function Op(a,c,u,h,d,p){var g=p||{"!type":"chart"};if(!a)return p;var A=0,m=0,y="A",b={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(a.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(I){var E=function(B){var S,_=[],D=B.match(/^<c:numCache>/);(B.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(F){var N=F.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);N&&(_[+N[1]]=D?+N[2]:N[2])});var T=ji((B.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(B.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(F){S=F.replace(/<.*?>/g,"")}),[_,T,S]}(I);b.s.r=b.s.c=0,b.e.c=A,y=rs(A),E[0].forEach(function(B,S){g[y+Ss(S)]={t:"n",v:B,z:E[1]},m=S}),b.e.r<m&&(b.e.r=m),++A}),A>0&&(g["!ref"]=bi(b)),g}var fg=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],HE=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],fb=[],M1=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function F1(a,c){for(var u=0;u!=a.length;++u)for(var h=a[u],d=0;d!=c.length;++d){var p=c[d];if(h[p[0]]==null)h[p[0]]=p[1];else switch(p[2]){case"bool":typeof h[p[0]]=="string"&&(h[p[0]]=po(h[p[0]]));break;case"int":typeof h[p[0]]=="string"&&(h[p[0]]=parseInt(h[p[0]],10))}}}function YE(a,c){for(var u=0;u!=c.length;++u){var h=c[u];if(a[h[0]]==null)a[h[0]]=h[1];else switch(h[2]){case"bool":typeof a[h[0]]=="string"&&(a[h[0]]=po(a[h[0]]));break;case"int":typeof a[h[0]]=="string"&&(a[h[0]]=parseInt(a[h[0]],10))}}}function JE(a){YE(a.WBProps,fg),YE(a.CalcPr,M1),F1(a.WBView,HE),F1(a.Sheets,fb),Mo.date1904=po(a.WBProps.date1904)}var WE="][*?/\\".split("");function Ab(a,c){if(a.length>31)throw new Error("Sheet names cannot exceed 31 chars");var u=!0;return WE.forEach(function(h){if(a.indexOf(h)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}),u}function qE(a){if(!a||!a.SheetNames||!a.Sheets)throw new Error("Invalid Workbook");if(!a.SheetNames.length)throw new Error("Workbook is empty");var c,u,h,d=a.Workbook&&a.Workbook.Sheets||[];c=a.SheetNames,u=d,h=!!a.vbaraw,c.forEach(function(g,A){Ab(g);for(var m=0;m<A;++m)if(g==c[m])throw new Error("Duplicate Sheet Name: "+g);if(h){var y=u&&u[A]&&u[A].CodeName||g;if(y.charCodeAt(0)==95&&y.length>22)throw new Error("Bad Code Name: Worksheet"+y)}});for(var p=0;p<a.SheetNames.length;++p)X5(a.Sheets[a.SheetNames[p]],a.SheetNames[p],p)}var ok=/<\w+:workbook/;function db(a){var c=[ts];c[c.length]=on("workbook",null,{xmlns:hc[0],"xmlns:r":AI});var u=a.Workbook&&(a.Workbook.Names||[]).length>0,h={codeName:"ThisWorkbook"};a.Workbook&&a.Workbook.WBProps&&(fg.forEach(function(A){a.Workbook.WBProps[A[0]]!=null&&a.Workbook.WBProps[A[0]]!=A[1]&&(h[A[0]]=a.Workbook.WBProps[A[0]])}),a.Workbook.WBProps.CodeName&&(h.codeName=a.Workbook.WBProps.CodeName,delete h.CodeName)),c[c.length]=on("workbookPr",null,h);var d=a.Workbook&&a.Workbook.Sheets||[],p=0;if(d&&d[0]&&d[0].Hidden){for(c[c.length]="<bookViews>",p=0;p!=a.SheetNames.length&&d[p]&&d[p].Hidden;++p);p==a.SheetNames.length&&(p=0),c[c.length]='<workbookView firstSheet="'+p+'" activeTab="'+p+'"/>',c[c.length]="</bookViews>"}for(c[c.length]="<sheets>",p=0;p!=a.SheetNames.length;++p){var g={name:Xa(a.SheetNames[p].slice(0,31))};if(g.sheetId=""+(p+1),g["r:id"]="rId"+(p+1),d[p])switch(d[p].Hidden){case 1:g.state="hidden";break;case 2:g.state="veryHidden"}c[c.length]=on("sheet",null,g)}return c[c.length]="</sheets>",u&&(c[c.length]="<definedNames>",a.Workbook&&a.Workbook.Names&&a.Workbook.Names.forEach(function(A){var m={name:A.Name};A.Comment&&(m.comment=A.Comment),A.Sheet!=null&&(m.localSheetId=""+A.Sheet),A.Hidden&&(m.hidden="1"),A.Ref&&(c[c.length]=on("definedName",Xa(A.Ref),m))}),c[c.length]="</definedNames>"),c.length>2&&(c[c.length]="</workbook>",c[1]=c[1].replace("/>",">")),c.join("")}function gb(a,c){var u={};return a.read_shift(4),u.ArchID=a.read_shift(4),a.l+=c-8,u}function T1(a,c){if(c.Workbook&&c.Workbook.Sheets){for(var u,h,d=c.Workbook.Sheets,p=0,g=-1,A=-1;p<d.length;++p)!d[p]||!d[p].Hidden&&g==-1?g=p:d[p].Hidden==1&&A==-1&&(A=p);A>g||(Ur(a,135),Ur(a,158,(u=g,h||(h=Ir(29)),h.write_shift(-4,0),h.write_shift(-4,460),h.write_shift(4,28800),h.write_shift(4,17600),h.write_shift(4,500),h.write_shift(4,u),h.write_shift(4,u),h.write_shift(1,120),h.length>h.l?h.slice(0,h.l):h)),Ur(a,136))}}function sk(a,c){var u=Ac();return Ur(u,131),Ur(u,128,function(h,d){d||(d=Ir(127));for(var p=0;p!=4;++p)d.write_shift(4,0);return Wo("SheetJS",d),Wo(ap.version,d),Wo(ap.version,d),Wo("7262",d),d.length>d.l?d.slice(0,d.l):d}()),Ur(u,153,function(h,d){d||(d=Ir(72));var p=0;return h&&h.filterPrivacy&&(p|=8),d.write_shift(4,p),d.write_shift(4,0),Fh(h&&h.CodeName||"ThisWorkbook",d),d.slice(0,d.l)}(a.Workbook&&a.Workbook.WBProps||null)),T1(u,a),function(h,d){Ur(h,143);for(var p=0;p!=d.SheetNames.length;++p)Ur(h,156,(g={Hidden:d.Workbook&&d.Workbook.Sheets&&d.Workbook.Sheets[p]&&d.Workbook.Sheets[p].Hidden||0,iTabID:p+1,strRelID:"rId"+(p+1),name:d.SheetNames[p]},(A=void 0)||(A=Ir(127)),A.write_shift(4,g.Hidden),A.write_shift(4,g.iTabID),II(g.strRelID,A),Wo(g.name.slice(0,31),A),A.length>A.l?A.slice(0,A.l):A));var g,A;Ur(h,144)}(u,a),Ur(u,132),u.end()}function uk(a,c,u){return c.slice(-4)===".bin"?function(h,d){var p={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},g=[],A=!1;d||(d={}),d.biff=12;var m=[],y=[[]];return y.SheetNames=[],y.XTI=[],jp[16]={n:"BrtFRTArchID$",f:gb},Mh(h,function(b,I,E){switch(E){case 156:y.SheetNames.push(b.name),p.Sheets.push(b);break;case 153:p.WBProps=b;break;case 39:b.Sheet!=null&&(d.SID=b.Sheet),b.Ref=ku(b.Ptg,0,null,y,d),delete d.SID,delete b.Ptg,m.push(b);break;case 1036:case 361:case 2071:case 158:case 143:case 664:case 353:case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:case 16:break;case 357:case 358:case 355:case 667:y[0].length?y.push([E,b]):y[0]=[E,b],y[y.length-1].XTI=[];break;case 362:y.length===0&&(y[0]=[],y[0].XTI=[]),y[y.length-1].XTI=y[y.length-1].XTI.concat(b),y.XTI=y.XTI.concat(b);break;case 35:case 37:g.push(E),A=!0;break;case 36:case 38:g.pop(),A=!1;break;default:if(!I.T){if(!A||d.WTF&&g[g.length-1]!=37&&g[g.length-1]!=35)throw new Error("Unexpected record 0x"+E.toString(16))}}},d),JE(p),p.Names=m,p.supbooks=y,p}(a,u):function(h,d){if(!h)throw new Error("Could not find file");var p={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},g=!1,A="xmlns",m={},y=0;if(h.replace(Js,function(b,I){var E=ii(b);switch(cc(E[0])){case"<?xml":case"</workbook>":case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":case"<bookViews":case"<bookViews>":case"</bookViews>":case"</workbookView>":case"<sheets":case"<sheets>":case"</sheets>":case"</sheet>":case"<functionGroups":case"<functionGroups/>":case"<functionGroup":case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":case"<definedName/>":case"</calcPr>":case"<oleSize":case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":case"<customWorkbookView":case"</customWorkbookView>":case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":case"<smartTagPr":case"<smartTagPr/>":case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":case"<webPublishing":case"<webPublishing/>":case"<fileRecoveryPr":case"<fileRecoveryPr/>":case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":case"<ArchID":case"<revisionPtr":break;case"<workbook":b.match(ok)&&(A="xmlns"+b.match(/<(\w+):/)[1]),p.xmlns=E[A];break;case"<fileVersion":delete E[0],p.AppVersion=E;break;case"<workbookPr":case"<workbookPr/>":fg.forEach(function(B){if(E[B[0]]!=null)switch(B[2]){case"bool":p.WBProps[B[0]]=po(E[B[0]]);break;case"int":p.WBProps[B[0]]=parseInt(E[B[0]],10);break;default:p.WBProps[B[0]]=E[B[0]]}}),E.codeName&&(p.WBProps.CodeName=vo(E.codeName));break;case"<workbookView":case"<workbookView/>":delete E[0],p.WBView.push(E);break;case"<sheet":switch(E.state){case"hidden":E.Hidden=1;break;case"veryHidden":E.Hidden=2;break;default:E.Hidden=0}delete E.state,E.name=ji(vo(E.name)),delete E[0],p.Sheets.push(E);break;case"<definedNames>":case"<definedNames":case"<ext":case"<AlternateContent":case"<AlternateContent>":g=!0;break;case"</definedNames>":case"</ext>":case"</AlternateContent>":g=!1;break;case"<definedName":(m={}).Name=vo(E.name),E.comment&&(m.Comment=E.comment),E.localSheetId&&(m.Sheet=+E.localSheetId),po(E.hidden||"0")&&(m.Hidden=!0),y=I+b.length;break;case"</definedName>":m.Ref=ji(vo(h.slice(y,I))),p.Names.push(m);break;case"<calcPr":case"<calcPr/>":delete E[0],p.CalcPr=E;break;default:if(!g&&d.WTF)throw new Error("unrecognized "+E[0]+" in workbook")}return b}),hc.indexOf(p.xmlns)===-1)throw new Error("Unknown Namespace: "+p.xmlns);return JE(p),p}(a,u)}function ck(a,c,u,h,d,p,g,A){return c.slice(-4)===".bin"?function(m,y,b,I,E,B,S){if(!m)return m;var _=y||{};I||(I={"!id":{}});var D,T,F,N,H,W,V,te,ue,fe,de=_.dense?[]:{},Ae={s:{r:2e6,c:2e6},e:{r:0,c:0}},we=!1,Z=!1,ne=[];_.biff=12,_["!row"]=0;var j=0,J=!1,q=[],z={},X=_.supbooks||E.supbooks||[[]];if(X.sharedf=z,X.arrayf=q,X.SheetNames=E.SheetNames||E.Sheets.map(function(_e){return _e.name}),!_.supbooks&&(_.supbooks=X,E.Names))for(var se=0;se<E.Names.length;++se)X[0][se+1]=E.Names[se];var oe,ye=[],ae=[],me=!1;if(jp[16]={n:"BrtShortReal",f:sb},Mh(m,function(_e,rt,et){if(!Z)switch(et){case 148:D=_e;break;case 0:T=_e,_.sheetRows&&_.sheetRows<=T.r&&(Z=!0),ue=Ss(H=T.r),_["!row"]=T.r,(_e.hidden||_e.hpt||_e.level!=null)&&(_e.hpt&&(_e.hpx=Ef(_e.hpt)),ae[_e.r]=_e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(F={t:_e[2]},_e[2]){case"n":F.v=_e[1];break;case"s":te=R1[_e[1]],F.v=te.t,F.r=te.r;break;case"b":F.v=!!_e[1];break;case"e":F.v=_e[1],_.cellText!==!1&&(F.w=bf[F.v]);break;case"str":F.t="s",F.v=_e[1];break;case"is":F.t="s",F.v=_e[1].t}if((N=S.CellXf[_e[0].iStyleRef])&&nb(F,N.numFmtId,null,_,B,S),W=_e[0].c==-1?W+1:_e[0].c,_.dense?(de[H]||(de[H]=[]),de[H][W]=F):de[rs(W)+ue]=F,_.cellFormula){for(J=!1,j=0;j<q.length;++j){var st=q[j];T.r>=st[0].s.r&&T.r<=st[0].e.r&&W>=st[0].s.c&&W<=st[0].e.c&&(F.F=bi(st[0]),J=!0)}!J&&_e.length>3&&(F.f=_e[3])}if(Ae.s.r>T.r&&(Ae.s.r=T.r),Ae.s.c>W&&(Ae.s.c=W),Ae.e.r<T.r&&(Ae.e.r=T.r),Ae.e.c<W&&(Ae.e.c=W),_.cellDates&&N&&F.t=="n"&&wl(xi[N.numFmtId])){var Ge=dA(F.v);Ge&&(F.t="d",F.v=new Date(Ge.y,Ge.m-1,Ge.d,Ge.H,Ge.M,Ge.S,Ge.u))}oe&&(oe.type=="XLDAPR"&&(F.D=!0),oe=void 0);break;case 1:case 12:if(!_.sheetStubs||we)break;F={t:"z",v:void 0},W=_e[0].c==-1?W+1:_e[0].c,_.dense?(de[H]||(de[H]=[]),de[H][W]=F):de[rs(W)+ue]=F,Ae.s.r>T.r&&(Ae.s.r=T.r),Ae.s.c>W&&(Ae.s.c=W),Ae.e.r<T.r&&(Ae.e.r=T.r),Ae.e.c<W&&(Ae.e.c=W),oe&&(oe.type=="XLDAPR"&&(F.D=!0),oe=void 0);break;case 176:ne.push(_e);break;case 49:oe=((_.xlmeta||{}).Cell||[])[_e-1];break;case 494:var Be=I["!id"][_e.relId];for(Be?(_e.Target=Be.Target,_e.loc&&(_e.Target+="#"+_e.loc),_e.Rel=Be):_e.relId==""&&(_e.Target="#"+_e.loc),H=_e.rfx.s.r;H<=_e.rfx.e.r;++H)for(W=_e.rfx.s.c;W<=_e.rfx.e.c;++W)_.dense?(de[H]||(de[H]=[]),de[H][W]||(de[H][W]={t:"z",v:void 0}),de[H][W].l=_e):(V=Mi({c:W,r:H}),de[V]||(de[V]={t:"z",v:void 0}),de[V].l=_e);break;case 426:if(!_.cellFormula)break;q.push(_e),(fe=_.dense?de[H][W]:de[rs(W)+ue]).f=ku(_e[1],0,{r:T.r,c:W},X,_),fe.F=bi(_e[0]);break;case 427:if(!_.cellFormula)break;z[Mi(_e[0].s)]=_e[1],(fe=_.dense?de[H][W]:de[rs(W)+ue]).f=ku(_e[1],0,{r:T.r,c:W},X,_);break;case 60:if(!_.cellStyles)break;for(;_e.e>=_e.s;)ye[_e.e--]={width:_e.w/256,hidden:!!(1&_e.flags),level:_e.level},me||(me=!0,xp(_e.w/256)),Uo(ye[_e.e+1]);break;case 161:de["!autofilter"]={ref:bi(_e)};break;case 476:de["!margins"]=_e;break;case 147:E.Sheets[b]||(E.Sheets[b]={}),_e.name&&(E.Sheets[b].CodeName=_e.name),(_e.above||_e.left)&&(de["!outline"]={above:_e.above,left:_e.left});break;case 137:E.Views||(E.Views=[{}]),E.Views[0]||(E.Views[0]={}),_e.RTL&&(E.Views[0].RTL=!0);break;case 485:case 64:case 1053:case 151:case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:case 37:we=!0;break;case 36:case 38:we=!1;break;default:if(!rt.T){if(!we||_.WTF)throw new Error("Unexpected record 0x"+et.toString(16))}}},_),delete _.supbooks,delete _["!row"],!de["!ref"]&&(Ae.s.r<2e6||D&&(D.e.r>0||D.e.c>0||D.s.r>0||D.s.c>0))&&(de["!ref"]=bi(D||Ae)),_.sheetRows&&de["!ref"]){var Fe=Ta(de["!ref"]);_.sheetRows<=+Fe.e.r&&(Fe.e.r=_.sheetRows-1,Fe.e.r>Ae.e.r&&(Fe.e.r=Ae.e.r),Fe.e.r<Fe.s.r&&(Fe.s.r=Fe.e.r),Fe.e.c>Ae.e.c&&(Fe.e.c=Ae.e.c),Fe.e.c<Fe.s.c&&(Fe.s.c=Fe.e.c),de["!fullref"]=de["!ref"],de["!ref"]=bi(Fe))}return ne.length>0&&(de["!merges"]=ne),ye.length>0&&(de["!cols"]=ye),ae.length>0&&(de["!rows"]=ae),de}(a,h,u,d,p,g,A):GA(a,h,u,d,p,g,A)}function zE(a,c,u,h,d,p,g,A){return c.slice(-4)===".bin"?function(m,y,b,I,E){if(!m)return m;I||(I={"!id":{}});var B={"!type":"chart","!drawel":null,"!rel":""},S=!1;return Mh(m,function(_,D,T){switch(T){case 550:B["!rel"]=_;break;case 651:E.Sheets[b]||(E.Sheets[b]={}),_.name&&(E.Sheets[b].CodeName=_.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:case 37:case 38:break;case 35:S=!0;break;case 36:S=!1;break;default:if(!(D.T>0)){if(!(D.T<0)){if(!S||y.WTF)throw new Error("Unexpected record 0x"+T.toString(16))}}}},y),I["!id"][B["!rel"]]&&(B["!drawel"]=I["!id"][B["!rel"]]),B}(a,h,u,d,p):function(m,y,b,I,E){if(!m)return m;I||(I={"!id":{}});var B,S={"!type":"chart","!drawel":null,"!rel":""},_=m.match(Qu);return _&&om(_[0],0,E,b),(B=m.match(/drawing r:id="(.*?)"/))&&(S["!rel"]=B[1]),I["!id"][S["!rel"]]&&(S["!drawel"]=I["!id"][S["!rel"]]),S}(a,0,u,d,p)}function lk(a,c,u,h){return c.slice(-4)===".bin"?function(d,p,g){var A={NumberFmt:[]};for(var m in xi)A.NumberFmt[m]=xi[m];A.CellXf=[],A.Fonts=[];var y=[],b=!1;return Mh(d,function(I,E,B){switch(B){case 44:A.NumberFmt[I[0]]=I[1],$c(I[1],I[0]);break;case 43:A.Fonts.push(I),I.color.theme!=null&&p&&p.themeElements&&p.themeElements.clrScheme&&(I.color.rgb=Ml(p.themeElements.clrScheme[I.color.theme].rgb,I.color.tint||0));break;case 1025:case 45:case 46:case 48:case 507:case 572:case 475:case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 47:y[y.length-1]==617&&A.CellXf.push(I);break;case 35:b=!0;break;case 36:b=!1;break;case 37:y.push(B),b=!0;break;case 38:y.pop(),b=!1;break;default:if(E.T>0)y.push(B);else if(E.T<0)y.pop();else if(!b||g.WTF&&y[y.length-1]!=37)throw new Error("Unexpected record 0x"+B.toString(16))}}),A}(a,u,h):IE(a,u,h)}function KE(a,c,u){return c.slice(-4)===".bin"?function(h,d){var p=[],g=!1;return Mh(h,function(A,m,y){switch(y){case 159:p.Count=A[0],p.Unique=A[1];break;case 19:p.push(A);break;case 160:return!0;case 35:g=!0;break;case 36:g=!1;break;default:if(m.T,!g||d.WTF)throw new Error("Unexpected record 0x"+y.toString(16))}}),p}(a,u):function(h,d){var p=[],g="";if(!h)return p;var A=h.match(GI);if(A){g=A[2].replace(Yy,"").split(b1);for(var m=0;m!=g.length;++m){var y=el(g[m].trim(),d);y!=null&&(p[p.length]=y)}A=ii(A[1]),p.Count=A.count,p.Unique=A.uniqueCount}return p}(a,u)}function ah(a,c,u){return c.slice(-4)===".bin"?function(h,d){var p=[],g=[],A={},m=!1;return Mh(h,function(y,b,I){switch(I){case 632:g.push(y);break;case 635:A=y;break;case 637:A.t=y.t,A.h=y.h,A.r=y.r;break;case 636:if(A.author=g[A.iauthor],delete A.iauthor,d.sheetRows&&A.rfx&&d.sheetRows<=A.rfx.r)break;A.t||(A.t=""),delete A.rfx,p.push(A);break;case 3072:case 37:case 38:break;case 35:m=!0;break;case 36:m=!1;break;default:if(!b.T){if(!m||d.WTF)throw new Error("Unexpected record 0x"+I.toString(16))}}}),p}(a,u):function(h,d){if(h.match(/<(?:\w+:)?comments *\/>/))return[];var p=[],g=[],A=h.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);A&&A[1]&&A[1].split(/<\/\w*:?author>/).forEach(function(y){if(y!==""&&y.trim()!==""){var b=y.match(/<(?:\w+:)?author[^>]*>(.*)/);b&&p.push(b[1])}});var m=h.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return m&&m[1]&&m[1].split(/<\/\w*:?comment>/).forEach(function(y){if(y!==""&&y.trim()!==""){var b=y.match(/<(?:\w+:)?comment[^>]*>/);if(b){var I=ii(b[0]),E={author:I.authorId&&p[I.authorId]||"sheetjsghost",ref:I.ref,guid:I.guid},B=As(I.ref);if(!(d.sheetRows&&d.sheetRows<=B.r)){var S=y.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),_=!!S&&!!S[1]&&el(S[1])||{r:"",t:"",h:""};E.r=_.r,_.r=="<t></t>"&&(_.t=_.h=""),E.t=(_.t||"").replace(/\r\n/g,`
  145. `).replace(/\r/g,`
  146. `),d.cellHTML&&(E.h=_.h),g.push(E)}}}}),g}(a,u)}function Pp(a,c,u){return c.slice(-4)===".bin"?function(h){var d=[];return Mh(h,function(p,g,A){if(A===63)d.push(p);else if(!g.T)throw new Error("Unexpected record 0x"+A.toString(16))}),d}(a):function(h){var d=[];if(!h)return d;var p=1;return(h.match(Js)||[]).forEach(function(g){var A=ii(g);switch(A[0]){case"<?xml":case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete A[0],A.i?p=A.i:A.i=p,d.push(A)}}),d}(a)}function pb(a,c,u,h){if(u.slice(-4)===".bin")return function(d,p,g,A){if(!d)return d;var m=A||{},y=!1;Mh(d,function(b,I,E){switch(E){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:y=!0;break;case 36:y=!1;break;default:if(!I.T){if(!y||m.WTF)throw new Error("Unexpected record 0x"+E.toString(16))}}},m)}(a,0,0,h)}function sm(a,c,u){return c.slice(-4)===".bin"?function(h,d,p){var g={Types:[],Cell:[],Value:[]},A=p||{},m=[],y=!1,b=2;return Mh(h,function(I,E,B){switch(B){case 335:g.Types.push({name:I.name});break;case 51:I.forEach(function(S){b==1?g.Cell.push({type:g.Types[S[0]-1].name,index:S[1]}):b==0&&g.Value.push({type:g.Types[S[0]-1].name,index:S[1]})});break;case 337:b=I?1:0;break;case 338:b=2;break;case 35:m.push(B),y=!0;break;case 36:m.pop(),y=!1;break;default:if(!E.T){if(!y||A.WTF&&m[m.length-1]!=35)throw new Error("Unexpected record 0x"+B.toString(16))}}}),g}(a,0,u):function(h,d,p){var g={Types:[],Cell:[],Value:[]};if(!h)return g;var A,m=!1,y=2;return h.replace(Js,function(b){var I=ii(b);switch(cc(I[0])){case"<?xml":case"<metadata":case"</metadata>":case"<metadataTypes":case"</metadataTypes>":case"</metadataType>":case"</futureMetadata>":case"<bk>":case"</bk>":case"</rc>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<metadataType":g.Types.push({name:I.name});break;case"<futureMetadata":for(var E=0;E<g.Types.length;++E)g.Types[E].name==I.name&&(A=g.Types[E]);break;case"<rc":y==1?g.Cell.push({type:g.Types[I.t-1].name,index:+I.v}):y==0&&g.Value.push({type:g.Types[I.t-1].name,index:+I.v});break;case"<cellMetadata":y=1;break;case"</cellMetadata>":case"</valueMetadata>":y=2;break;case"<valueMetadata":y=0;break;case"<ext":m=!0;break;case"</ext>":m=!1;break;case"<rvb":if(!A)break;A.offsets||(A.offsets=[]),A.offsets.push(+I.i);break;default:if(!m&&p.WTF)throw new Error("unrecognized "+I[0]+" in metadata")}return b}),g}(a,0,u)}function Wu(a,c,u,h,d){return(c.slice(-4)===".bin"?jE:ib)(a,u,h,d)}function Gp(a,c,u){return(c.slice(-4)===".bin"?KI:xE)(a)}var Fo,ps=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,VE=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Zs(a,c){var u=a.split(/\s+/),h=[];if(h[0]=u[0],u.length===1)return h;var d,p,g,A=a.match(ps);if(A)for(g=0;g!=A.length;++g)(p=(d=A[g].match(VE))[1].indexOf(":"))===-1?h[d[1]]=d[2].slice(1,d[2].length-1):h[d[1].slice(0,6)==="xmlns:"?"xmlns"+d[1].slice(6):d[1].slice(p+1)]=d[2].slice(1,d[2].length-1);return h}function ZE(a){var c={};if(a.split(/\s+/).length===1)return c;var u,h,d,p=a.match(ps);if(p)for(d=0;d!=p.length;++d)(h=(u=p[d].match(VE))[1].indexOf(":"))===-1?c[u[1]]=u[2].slice(1,u[2].length-1):c[u[1].slice(0,6)==="xmlns:"?"xmlns"+u[1].slice(6):u[1].slice(h+1)]=u[2].slice(1,u[2].length-1);return c}function XE(a,c,u,h){var d=h;switch((u[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":d=po(h);break;case"i2":case"int":d=parseInt(h,10);break;case"r4":case"float":d=parseFloat(h);break;case"date":case"dateTime.tz":d=Po(h);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+u[0])}a[ji(c)]=d}function hk(a,c,u){if(a.t!=="z"){if(!u||u.cellText!==!1)try{a.t==="e"?a.w=a.w||bf[a.v]:c==="General"?a.t==="n"?(0|a.v)===a.v?a.w=a.v.toString(10):a.w=gA(a.v):a.w=df(a.v):a.w=(h=c||"General",d=a.v,(p=Fo[h]||ji(h))==="General"?df(d):El(p,d))}catch(m){if(u.WTF)throw m}var h,d,p;try{var g=Fo[c]||c||"General";if(u.cellNF&&(a.z=g),u.cellDates&&a.t=="n"&&wl(g)){var A=dA(a.v);A&&(a.t="d",a.v=new Date(A.y,A.m-1,A.d,A.H,A.M,A.S,A.u))}}catch(m){if(u.WTF)throw m}}}function fk(a,c,u){if(u.cellStyles&&c.Interior){var h=c.Interior;h.Pattern&&(h.patternType=G5[h.Pattern]||h.Pattern)}a[c.ID]=c}function $E(a,c,u,h,d,p,g,A,m,y){var b="General",I=h.StyleID,E={};y=y||{};var B=[],S=0;for(I===void 0&&A&&(I=A.StyleID),I===void 0&&g&&(I=g.StyleID);p[I]!==void 0&&(p[I].nf&&(b=p[I].nf),p[I].Interior&&B.push(p[I].Interior),p[I].Parent);)I=p[I].Parent;switch(u.Type){case"Boolean":h.t="b",h.v=po(a);break;case"String":h.t="s",h.r=s1(ji(a)),h.v=a.indexOf("<")>-1?ji(c||a).replace(/<.*?>/g,""):h.r;break;case"DateTime":a.slice(-1)!="Z"&&(a+="Z"),h.v=(Po(a)-new Date(Date.UTC(1899,11,30)))/864e5,h.v!=h.v?h.v=ji(a):h.v<60&&(h.v=h.v-1),b&&b!="General"||(b="yyyy-mm-dd");case"Number":h.v===void 0&&(h.v=+a),h.t||(h.t="n");break;case"Error":h.t="e",h.v=$w[a],y.cellText!==!1&&(h.w=a);break;default:a==""&&c==""?h.t="z":(h.t="s",h.v=s1(c||a))}if(hk(h,b,y),y.cellFormula!==!1)if(h.Formula){var _=ji(h.Formula);_.charCodeAt(0)==61&&(_=_.slice(1)),h.f=Ph(_,d),delete h.Formula,h.ArrayRange=="RC"?h.F=Ph("RC:RC",d):h.ArrayRange&&(h.F=Ph(h.ArrayRange,d),m.push([Ta(h.F),h.F]))}else for(S=0;S<m.length;++S)d.r>=m[S][0].s.r&&d.r<=m[S][0].e.r&&d.c>=m[S][0].s.c&&d.c<=m[S][0].e.c&&(h.F=m[S][1]);y.cellStyles&&(B.forEach(function(D){!E.patternType&&D.patternType&&(E.patternType=D.patternType)}),h.s=E),h.StyleID!==void 0&&(h.ixfe=h.StyleID)}function eB(a){a.t=a.v||"",a.t=a.t.replace(/\r\n/g,`
  147. `).replace(/\r/g,`
  148. `),a.v=a.w=a.ixfe=void 0}function vb(a,c){var u=c||{};hp();var h=X0($l(a));u.type!="binary"&&u.type!="array"&&u.type!="base64"||(h=vo(h));var d,p=h.slice(0,1024).toLowerCase(),g=!1;if((1023&(p=p.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&p.indexOf(","),1023&p.indexOf(";"))){var A=Ro(u);return A.type="string",ag.to_workbook(h,A)}if(p.indexOf("<?xml")==-1&&["html","table","head","meta","script","style","div"].forEach(function(Ie){p.indexOf("<"+Ie)>=0&&(g=!0)}),g)return function(Ie,Re){var qe=Ie.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!qe||qe.length==0)throw new Error("Invalid HTML: could not find <table>");if(qe.length==1)return Sc(lB(qe[0],Re),Re);var pt={SheetNames:[],Sheets:{}};return qe.forEach(function(Lt,Qe){Fb(pt,lB(Lt,Re),"Sheet"+(Qe+1))}),pt}(h,u);Fo={"General Number":"General","General Date":xi[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":xi[15],"Short Date":xi[14],"Long Time":xi[19],"Medium Time":xi[18],"Short Time":xi[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:xi[2],Standard:xi[4],Percent:xi[10],Scientific:xi[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var m,y,b=[],I={},E=[],B=u.dense?[]:{},S="",_={},D={},T=Zs('<Data ss:Type="String">'),F=0,N=0,H=0,W={s:{r:2e6,c:2e6},e:{r:0,c:0}},V={},te={},ue="",fe=0,de=[],Ae={},we={},Z=0,ne=[],j=[],J={},q=[],z=!1,X=[],se=[],oe={},ye=0,ae=0,me={Sheets:[],WBProps:{date1904:!1}},Fe={};Nd.lastIndex=0,h=h.replace(/<!--([\s\S]*?)-->/gm,"");for(var _e="";d=Nd.exec(h);)switch(d[3]=(_e=d[3]).toLowerCase()){case"data":if(_e=="data"){if(d[1]==="/"){if((m=b.pop())[0]!==d[3])throw new Error("Bad state: "+m.join("|"))}else d[0].charAt(d[0].length-2)!=="/"&&b.push([d[3],!0]);break}if(b[b.length-1][1])break;d[1]==="/"?$E(h.slice(F,d.index),ue,T,b[b.length-1][0]=="comment"?J:_,{c:N,r:H},V,q[N],D,X,u):(ue="",T=Zs(d[0]),F=d.index+d[0].length);break;case"cell":if(d[1]==="/")if(j.length>0&&(_.c=j),(!u.sheetRows||u.sheetRows>H)&&_.v!==void 0&&(u.dense?(B[H]||(B[H]=[]),B[H][N]=_):B[rs(N)+Ss(H)]=_),_.HRef&&(_.l={Target:ji(_.HRef)},_.HRefScreenTip&&(_.l.Tooltip=_.HRefScreenTip),delete _.HRef,delete _.HRefScreenTip),(_.MergeAcross||_.MergeDown)&&(ye=N+(0|parseInt(_.MergeAcross,10)),ae=H+(0|parseInt(_.MergeDown,10)),de.push({s:{c:N,r:H},e:{c:ye,r:ae}})),u.sheetStubs)if(_.MergeAcross||_.MergeDown){for(var rt=N;rt<=ye;++rt)for(var et=H;et<=ae;++et)(rt>N||et>H)&&(u.dense?(B[et]||(B[et]=[]),B[et][rt]={t:"z"}):B[rs(rt)+Ss(et)]={t:"z"});N=ye+1}else++N;else _.MergeAcross?N=ye+1:++N;else(_=ZE(d[0])).Index&&(N=+_.Index-1),N<W.s.c&&(W.s.c=N),N>W.e.c&&(W.e.c=N),d[0].slice(-2)==="/>"&&++N,j=[];break;case"row":d[1]==="/"||d[0].slice(-2)==="/>"?(H<W.s.r&&(W.s.r=H),H>W.e.r&&(W.e.r=H),d[0].slice(-2)==="/>"&&(D=Zs(d[0])).Index&&(H=+D.Index-1),N=0,++H):((D=Zs(d[0])).Index&&(H=+D.Index-1),oe={},(D.AutoFitHeight=="0"||D.Height)&&(oe.hpx=parseInt(D.Height,10),oe.hpt=La(oe.hpx),se[H]=oe),D.Hidden=="1"&&(oe.hidden=!0,se[H]=oe));break;case"worksheet":if(d[1]==="/"){if((m=b.pop())[0]!==d[3])throw new Error("Bad state: "+m.join("|"));E.push(S),W.s.r<=W.e.r&&W.s.c<=W.e.c&&(B["!ref"]=bi(W),u.sheetRows&&u.sheetRows<=W.e.r&&(B["!fullref"]=B["!ref"],W.e.r=u.sheetRows-1,B["!ref"]=bi(W))),de.length&&(B["!merges"]=de),q.length>0&&(B["!cols"]=q),se.length>0&&(B["!rows"]=se),I[S]=B}else W={s:{r:2e6,c:2e6},e:{r:0,c:0}},H=N=0,b.push([d[3],!1]),m=Zs(d[0]),S=ji(m.Name),B=u.dense?[]:{},de=[],X=[],se=[],Fe={name:S,Hidden:0},me.Sheets.push(Fe);break;case"table":if(d[1]==="/"){if((m=b.pop())[0]!==d[3])throw new Error("Bad state: "+m.join("|"))}else{if(d[0].slice(-2)=="/>")break;b.push([d[3],!1]),q=[],z=!1}break;case"style":d[1]==="/"?fk(V,te,u):te=Zs(d[0]);break;case"numberformat":te.nf=ji(Zs(d[0]).Format||"General"),Fo[te.nf]&&(te.nf=Fo[te.nf]);for(var st=0;st!=392&&xi[st]!=te.nf;++st);if(st==392){for(st=57;st!=392;++st)if(xi[st]==null){$c(te.nf,st);break}}break;case"column":if(b[b.length-1][0]!=="table")break;if((y=Zs(d[0])).Hidden&&(y.hidden=!0,delete y.Hidden),y.Width&&(y.wpx=parseInt(y.Width,10)),!z&&y.wpx>10){z=!0,Bu=6;for(var Ge=0;Ge<q.length;++Ge)q[Ge]&&Uo(q[Ge])}z&&Uo(y),q[y.Index-1||q.length]=y;for(var Be=0;Be<+y.Span;++Be)q[q.length]=Ro(y);break;case"namedrange":if(d[1]==="/")break;me.Names||(me.Names=[]);var Te=ii(d[0]),je={Name:Te.Name,Ref:Ph(Te.RefersTo.slice(1),{r:0,c:0})};me.Sheets.length>0&&(je.Sheet=me.Sheets.length-1),me.Names.push(je);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":case"protection":case"paragraphs":case"name":case"pixelsperinch":case"null":break;case"font":if(d[0].slice(-2)==="/>")break;d[1]==="/"?ue+=h.slice(fe,d.index):fe=d.index+d[0].length;break;case"interior":if(!u.cellStyles)break;te.Interior=Zs(d[0]);break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(d[0].slice(-2)==="/>")break;d[1]==="/"?Oy(Ae,_e,h.slice(Z,d.index)):Z=d.index+d[0].length;break;case"styles":case"workbook":if(d[1]==="/"){if((m=b.pop())[0]!==d[3])throw new Error("Bad state: "+m.join("|"))}else b.push([d[3],!1]);break;case"comment":if(d[1]==="/"){if((m=b.pop())[0]!==d[3])throw new Error("Bad state: "+m.join("|"));eB(J),j.push(J)}else b.push([d[3],!1]),J={a:(m=Zs(d[0])).Author};break;case"autofilter":if(d[1]==="/"){if((m=b.pop())[0]!==d[3])throw new Error("Bad state: "+m.join("|"))}else if(d[0].charAt(d[0].length-2)!=="/"){var lt=Zs(d[0]);B["!autofilter"]={ref:Ph(lt.Range).replace(/\$/g,"")},b.push([d[3],!0])}break;case"datavalidation":if(d[1]==="/"){if((m=b.pop())[0]!==d[3])throw new Error("Bad state: "+m.join("|"))}else d[0].charAt(d[0].length-2)!=="/"&&b.push([d[3],!0]);break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(d[1]==="/"){if((m=b.pop())[0]!==d[3])throw new Error("Bad state: "+m.join("|"))}else d[0].charAt(d[0].length-2)!=="/"&&b.push([d[3],!0]);break;default:if(b.length==0&&d[3]=="document"||b.length==0&&d[3]=="uof")return fm(h,u);var Me=!0;switch(b[b.length-1][0]){case"officedocumentsettings":switch(d[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:Me=!1}break;case"componentoptions":switch(d[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:Me=!1}break;case"excelworkbook":switch(d[3]){case"date1904":me.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:Me=!1}break;case"workbookoptions":switch(d[3]){case"owcversion":case"height":case"width":break;default:Me=!1}break;case"worksheetoptions":switch(d[3]){case"visible":if(d[0].slice(-2)!=="/>")if(d[1]==="/")switch(h.slice(Z,d.index)){case"SheetHidden":Fe.Hidden=1;break;case"SheetVeryHidden":Fe.Hidden=2}else Z=d.index+d[0].length;break;case"header":B["!margins"]||Ds(B["!margins"]={},"xlml"),isNaN(+ii(d[0]).Margin)||(B["!margins"].header=+ii(d[0]).Margin);break;case"footer":B["!margins"]||Ds(B["!margins"]={},"xlml"),isNaN(+ii(d[0]).Margin)||(B["!margins"].footer=+ii(d[0]).Margin);break;case"pagemargins":var Ke=ii(d[0]);B["!margins"]||Ds(B["!margins"]={},"xlml"),isNaN(+Ke.Top)||(B["!margins"].top=+Ke.Top),isNaN(+Ke.Left)||(B["!margins"].left=+Ke.Left),isNaN(+Ke.Right)||(B["!margins"].right=+Ke.Right),isNaN(+Ke.Bottom)||(B["!margins"].bottom=+Ke.Bottom);break;case"displayrighttoleft":me.Views||(me.Views=[]),me.Views[0]||(me.Views[0]={}),me.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;case"nosummaryrowsbelowdetail":B["!outline"]||(B["!outline"]={}),B["!outline"].above=!0;break;case"nosummarycolumnsrightdetail":B["!outline"]||(B["!outline"]={}),B["!outline"].left=!0;break;default:Me=!1}break;case"pivottable":case"pivotcache":switch(d[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:Me=!1}break;case"pagebreaks":switch(d[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:Me=!1}break;case"autofilter":switch(d[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:Me=!1}break;case"querytable":switch(d[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:Me=!1}break;case"datavalidation":switch(d[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:Me=!1}break;case"sorting":case"conditionalformatting":switch(d[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:Me=!1}break;case"mapinfo":case"schema":case"data":switch(d[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:Me=!1}break;case"smarttags":break;default:Me=!1}if(Me||d[3].match(/!\[CDATA/))break;if(!b[b.length-1][1])throw"Unrecognized tag: "+d[3]+"|"+b.join("|");if(b[b.length-1][0]==="customdocumentproperties"){if(d[0].slice(-2)==="/>")break;d[1]==="/"?XE(we,_e,ne,h.slice(Z,d.index)):(ne=d,Z=d.index+d[0].length);break}if(u.WTF)throw"Unrecognized tag: "+d[3]+"|"+b.join("|")}var Rt={};return u.bookSheets||u.bookProps||(Rt.Sheets=I),Rt.SheetNames=E,Rt.Workbook=me,Rt.SSF=Ro(xi),Rt.Props=Ae,Rt.Custprops=we,Rt}function L1(a,c){switch(gm(c=c||{}),c.type||"base64"){case"base64":return vb(Ra(a),c);case"binary":case"buffer":case"file":return vb(a,c);case"array":return vb(Af(a),c)}}function N1(a,c){var u=[];return a.Props&&u.push(function(h,d){var p=[];return to(Kd).map(function(g){for(var A=0;A<Pu.length;++A)if(Pu[A][1]==g)return Pu[A];for(A=0;A<zd.length;++A)if(zd[A][1]==g)return zd[A];throw g}).forEach(function(g){if(h[g[1]]!=null){var A=d&&d.Props&&d.Props[g[1]]!=null?d.Props[g[1]]:h[g[1]];g[2]==="date"&&(A=new Date(A).toISOString().replace(/\.\d*Z/,"Z")),typeof A=="number"?A=String(A):A===!0||A===!1?A=A?"1":"0":A instanceof Date&&(A=new Date(A).toISOString().replace(/\.\d*Z/,"")),p.push(xs(Kd[g[1]]||g[1],A))}}),on("DocumentProperties",p.join(""),{xmlns:th})}(a.Props,c)),a.Custprops&&u.push(function(h,d){var p=["Worksheets","SheetNames"],g="CustomDocumentProperties",A=[];return h&&to(h).forEach(function(m){if(Object.prototype.hasOwnProperty.call(h,m)){for(var y=0;y<Pu.length;++y)if(m==Pu[y][1])return;for(y=0;y<zd.length;++y)if(m==zd[y][1])return;for(y=0;y<p.length;++y)if(m==p[y])return;var b=h[m],I="string";typeof b=="number"?(I="float",b=String(b)):b===!0||b===!1?(I="boolean",b=b?"1":"0"):b=String(b),A.push(on(yA(m),b,{"dt:dt":I}))}}),d&&to(d).forEach(function(m){if(Object.prototype.hasOwnProperty.call(d,m)&&(!h||!Object.prototype.hasOwnProperty.call(h,m))){var y=d[m],b="string";typeof y=="number"?(b="float",y=String(y)):y===!0||y===!1?(b="boolean",y=y?"1":"0"):y instanceof Date?(b="dateTime.tz",y=y.toISOString()):y=String(y),A.push(on(yA(m),y,{"dt:dt":b}))}}),"<"+g+' xmlns="'+th+'">'+A.join("")+"</"+g+">"}(a.Props,a.Custprops)),u.join("")}function yb(a){return on("NamedRange",null,{"ss:Name":a.Name,"ss:RefersTo":"="+Xy(a.Ref,{r:0,c:0})})}function oh(a,c,u,h,d,p,g){if(!a||a.v==null&&a.f==null)return"";var A={};if(a.f&&(A["ss:Formula"]="="+Xa(Xy(a.f,g))),a.F&&a.F.slice(0,c.length)==c){var m=As(a.F.slice(c.length+1));A["ss:ArrayRange"]="RC:R"+(m.r==g.r?"":"["+(m.r-g.r)+"]")+"C"+(m.c==g.c?"":"["+(m.c-g.c)+"]")}if(a.l&&a.l.Target&&(A["ss:HRef"]=Xa(a.l.Target),a.l.Tooltip&&(A["x:HRefScreenTip"]=Xa(a.l.Tooltip))),u["!merges"])for(var y=u["!merges"],b=0;b!=y.length;++b)y[b].s.c==g.c&&y[b].s.r==g.r&&(y[b].e.c>y[b].s.c&&(A["ss:MergeAcross"]=y[b].e.c-y[b].s.c),y[b].e.r>y[b].s.r&&(A["ss:MergeDown"]=y[b].e.r-y[b].s.r));var I="",E="";switch(a.t){case"z":if(!h.sheetStubs)return"";break;case"n":I="Number",E=String(a.v);break;case"b":I="Boolean",E=a.v?"1":"0";break;case"e":I="Error",E=bf[a.v];break;case"d":I="DateTime",E=new Date(a.v).toISOString(),a.z==null&&(a.z=a.z||xi[14]);break;case"s":I="String",E=((a.v||"")+"").replace(Ou,function(D){return cI[D]}).replace(o1,function(D){return"&#x"+D.charCodeAt(0).toString(16).toUpperCase()+";"})}var B=rl(h.cellXfs,a,h);A["ss:StyleID"]="s"+(21+B),A["ss:Index"]=g.c+1;var S=a.v!=null?E:"",_=a.t=="z"?"":'<Data ss:Type="'+I+'">'+S+"</Data>";return(a.c||[]).length>0&&(_+=a.c.map(function(D){var T=on("ss:Data",(D.t||"").replace(/(\r\n|[\r\n])/g,"&#10;"),{xmlns:"http://www.w3.org/TR/REC-html40"});return on("Comment",T,{"ss:Author":D.a})}).join("")),on("Cell",_,A)}function Ak(a,c){var u='<Row ss:Index="'+(a+1)+'"';return c&&(c.hpt&&!c.hpx&&(c.hpx=Ef(c.hpt)),c.hpx&&(u+=' ss:AutoFitHeight="0" ss:Height="'+c.hpx+'"'),c.hidden&&(u+=' ss:Hidden="1"')),u+">"}function tB(a,c,u){var h=[],d=u.SheetNames[a],p=u.Sheets[d],g=p?function(A,m,y,b){if(!A||!((b||{}).Workbook||{}).Names)return"";for(var I=b.Workbook.Names,E=[],B=0;B<I.length;++B){var S=I[B];S.Sheet==y&&(S.Name.match(/^_xlfn\./)||E.push(yb(S)))}return E.join("")}(p,0,a,u):"";return g.length>0&&h.push("<Names>"+g+"</Names>"),g=p?function(A,m){if(!A["!ref"])return"";var y=Ta(A["!ref"]),b=A["!merges"]||[],I=0,E=[];A["!cols"]&&A["!cols"].forEach(function(W,V){Uo(W);var te=!!W.width,ue=PA(V,W),fe={"ss:Index":V+1};te&&(fe["ss:Width"]=Fl(ue.width)),W.hidden&&(fe["ss:Hidden"]="1"),E.push(on("Column",null,fe))});for(var B=Array.isArray(A),S=y.s.r;S<=y.e.r;++S){for(var _=[Ak(S,(A["!rows"]||[])[S])],D=y.s.c;D<=y.e.c;++D){var T=!1;for(I=0;I!=b.length;++I)if(!(b[I].s.c>D||b[I].s.r>S||b[I].e.c<D||b[I].e.r<S)){b[I].s.c==D&&b[I].s.r==S||(T=!0);break}if(!T){var F={r:S,c:D},N=Mi(F),H=B?(A[S]||[])[D]:A[N];_.push(oh(H,N,A,m,0,0,F))}}_.push("</Row>"),_.length>2&&E.push(_.join(""))}return E.join("")}(p,c):"",g.length>0&&h.push("<Table>"+g+"</Table>"),h.push(function(A,m,y,b){if(!A)return"";var I=[];if(A["!margins"]&&(I.push("<PageSetup>"),A["!margins"].header&&I.push(on("Header",null,{"x:Margin":A["!margins"].header})),A["!margins"].footer&&I.push(on("Footer",null,{"x:Margin":A["!margins"].footer})),I.push(on("PageMargins",null,{"x:Bottom":A["!margins"].bottom||"0.75","x:Left":A["!margins"].left||"0.7","x:Right":A["!margins"].right||"0.7","x:Top":A["!margins"].top||"0.75"})),I.push("</PageSetup>")),b&&b.Workbook&&b.Workbook.Sheets&&b.Workbook.Sheets[y])if(b.Workbook.Sheets[y].Hidden)I.push(on("Visible",b.Workbook.Sheets[y].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var E=0;E<y&&(!b.Workbook.Sheets[E]||b.Workbook.Sheets[E].Hidden);++E);E==y&&I.push("<Selected/>")}return((((b||{}).Workbook||{}).Views||[])[0]||{}).RTL&&I.push("<DisplayRightToLeft/>"),A["!protect"]&&(I.push(xs("ProtectContents","True")),A["!protect"].objects&&I.push(xs("ProtectObjects","True")),A["!protect"].scenarios&&I.push(xs("ProtectScenarios","True")),A["!protect"].selectLockedCells==null||A["!protect"].selectLockedCells?A["!protect"].selectUnlockedCells==null||A["!protect"].selectUnlockedCells||I.push(xs("EnableSelection","UnlockedCells")):I.push(xs("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(B){A["!protect"][B[0]]&&I.push("<"+B[1]+"/>")})),I.length==0?"":on("WorksheetOptions",I.join(""),{xmlns:yf})}(p,0,a,u)),h.join("")}function rB(a,c){c||(c={}),a.SSF||(a.SSF=Ro(xi)),a.SSF&&(hp(),r1(a.SSF),c.revssf=Ap(a.SSF),c.revssf[a.SSF[65535]]=0,c.ssf=a.SSF,c.cellXfs=[],rl(c.cellXfs,{},{revssf:{General:0}}));var u=[];u.push(N1(a,c)),u.push(""),u.push(""),u.push("");for(var h=0;h<a.SheetNames.length;++h)u.push(on("Worksheet",tB(h,c,a),{"ss:Name":Xa(a.SheetNames[h])}));return u[2]=function(d,p){var g=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return p.cellXfs.forEach(function(A,m){var y=[];y.push(on("NumberFormat",null,{"ss:Format":Xa(xi[A.numFmtId])}));var b={"ss:ID":"s"+(21+m)};g.push(on("Style",y.join(""),b))}),on("Styles",g.join(""))}(0,c),u[3]=function(d){if(!((d||{}).Workbook||{}).Names)return"";for(var p=d.Workbook.Names,g=[],A=0;A<p.length;++A){var m=p[A];m.Sheet==null&&(m.Name.match(/^_xlfn\./)||g.push(yb(m)))}return on("Names",g.join(""))}(a),ts+on("Workbook",u.join(""),{xmlns:Ow,"xmlns:o":th,"xmlns:x":yf,"xmlns:ss":Ow,"xmlns:dt":B5,"xmlns:html":k5})}function dk(a){var c={},u=a.content;if(u.l=28,c.AnsiUserType=u.read_shift(0,"lpstr-ansi"),c.AnsiClipboardFormat=function(d){return CI(d,1)}(u),u.length-u.l<=4)return c;var h=u.read_shift(4);return h==0||h>40?c:(u.l-=4,c.Reserved1=u.read_shift(0,"lpstr-ansi"),u.length-u.l<=4||(h=u.read_shift(4))!==1907505652?c:(c.UnicodeClipboardFormat=function(d){return CI(d,2)}(u),(h=u.read_shift(4))==0||h>40?c:(u.l-=4,void(c.Reserved2=u.read_shift(0,"lpwstr")))))}var gk=[60,1084,2066,2165,2175];function um(a,c,u,h,d){var p=h,g=[],A=u.slice(u.l,u.l+p);if(d&&d.enc&&d.enc.insitu&&A.length>0)switch(a){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:case 133:break;default:d.enc.insitu(A)}g.push(A),u.l+=p;for(var m=If(u,u.l),y=Hp[m],b=0;y!=null&&gk.indexOf(m)>-1;)p=If(u,u.l+2),b=u.l+4,m==2066?b+=4:m!=2165&&m!=2175||(b+=12),A=u.slice(b,u.l+4+p),g.push(A),u.l+=4+p,y=Hp[m=If(u,u.l)];var I=Jo(g);lu(I,0);var E=0;I.lens=[];for(var B=0;B<g.length;++B)I.lens.push(E),E+=g[B].length;if(I.length<h)throw"XLS Record 0x"+a.toString(16)+" Truncated: "+I.length+" < "+h;return c.f(I,I.length,d)}function Fc(a,c,u){if(a.t!=="z"&&a.XF){var h=0;try{h=a.z||a.XF.numFmtId||0,c.cellNF&&(a.z=xi[h])}catch(p){if(c.WTF)throw p}if(!c||c.cellText!==!1)try{a.t==="e"?a.w=a.w||bf[a.v]:h===0||h=="General"?a.t==="n"?(0|a.v)===a.v?a.w=a.v.toString(10):a.w=gA(a.v):a.w=df(a.v):a.w=El(h,a.v,{date1904:!!u,dateNF:c&&c.dateNF})}catch(p){if(c.WTF)throw p}if(c.cellDates&&h&&a.t=="n"&&wl(xi[h]||String(h))){var d=dA(a.v);d&&(a.t="d",a.v=new Date(d.y,d.m-1,d.d,d.H,d.M,d.S,d.u))}}}function Up(a,c,u){return{v:a,ixfe:c,t:u}}function mb(a,c){var u,h,d,p,g,A,m,y,b={opts:{}},I={},E=c.dense?[]:{},B={},S={},_=null,D=[],T="",F={},N="",H={},W=[],V=[],te=[],ue={Sheets:[],WBProps:{date1904:!1},Views:[{}]},fe={},de=function(nt){return nt<8?Cp[nt]:nt<64&&te[nt-8]||Cp[nt]},Ae=function(nt,Ot,He){if(!(oe>1||He.sheetRows&&nt.r>=He.sheetRows)){if(He.cellStyles&&Ot.XF&&Ot.XF.data&&function(tt,mt,Xe){var Ye,ot=mt.XF.data;ot&&ot.patternType&&Xe&&Xe.cellStyles&&(mt.s={},mt.s.patternType=ot.patternType,(Ye=MA(de(ot.icvFore)))&&(mt.s.fgColor={rgb:Ye}),(Ye=MA(de(ot.icvBack)))&&(mt.s.bgColor={rgb:Ye}))}(0,Ot,He),delete Ot.ixfe,delete Ot.XF,u=nt,N=Mi(nt),S&&S.s&&S.e||(S={s:{r:0,c:0},e:{r:0,c:0}}),nt.r<S.s.r&&(S.s.r=nt.r),nt.c<S.s.c&&(S.s.c=nt.c),nt.r+1>S.e.r&&(S.e.r=nt.r+1),nt.c+1>S.e.c&&(S.e.c=nt.c+1),He.cellFormula&&Ot.f){for(var Je=0;Je<W.length;++Je)if(!(W[Je][0].s.c>nt.c||W[Je][0].s.r>nt.r||W[Je][0].e.c<nt.c||W[Je][0].e.r<nt.r)){Ot.F=bi(W[Je][0]),W[Je][0].s.c==nt.c&&W[Je][0].s.r==nt.r||delete Ot.f,Ot.f&&(Ot.f=""+ku(W[Je][1],0,nt,z,we));break}}He.dense?(E[nt.r]||(E[nt.r]=[]),E[nt.r][nt.c]=Ot):E[N]=Ot}},we={enc:!1,sbcch:0,snames:[],sharedf:H,arrayf:W,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!c&&!!c.cellStyles,WTF:!!c&&!!c.wtf};c.password&&(we.password=c.password);var Z=[],ne=[],j=[],J=[],q=!1,z=[];z.SheetNames=we.snames,z.sharedf=we.sharedf,z.arrayf=we.arrayf,z.names=[],z.XTI=[];var X,se=0,oe=0,ye=0,ae=[],me=[];we.codepage=1200,bl(1200);for(var Fe=!1;a.l<a.length-1;){var _e=a.l,rt=a.read_shift(2);if(rt===0&&se===10)break;var et=a.l===a.length?0:a.read_shift(2),st=Hp[rt];if(st&&st.f){if(c.bookSheets&&se===133&&rt!==133)break;if(se=rt,st.r===2||st.r==12){var Ge=a.read_shift(2);if(et-=2,!we.enc&&Ge!==rt&&((255&Ge)<<8|Ge>>8)!==rt)throw new Error("rt mismatch: "+Ge+"!="+rt);st.r==12&&(a.l+=10,et-=10)}var Be={};if(Be=rt===10?st.f(a,et,we):um(rt,st,a,et,we),oe==0&&[9,521,1033,2057].indexOf(se)===-1)continue;switch(rt){case 34:b.opts.Date1904=ue.WBProps.date1904=Be;break;case 134:b.opts.WriteProtect=!0;break;case 47:if(we.enc||(a.l=0),we.enc=Be,!c.password)throw new Error("File is password-protected");if(Be.valid==null)throw new Error("Encryption scheme unsupported");if(!Be.valid)throw new Error("Password is incorrect");break;case 92:we.lastuser=Be;break;case 66:var Te=Number(Be);switch(Te){case 21010:Te=1200;break;case 32768:Te=1e4;break;case 32769:Te=1252}bl(we.codepage=Te),Fe=!0;break;case 317:we.rrtabid=Be;break;case 25:we.winlocked=Be;break;case 439:b.opts.RefreshAll=Be;break;case 12:b.opts.CalcCount=Be;break;case 16:b.opts.CalcDelta=Be;break;case 17:b.opts.CalcIter=Be;break;case 13:b.opts.CalcMode=Be;break;case 14:b.opts.CalcPrecision=Be;break;case 95:b.opts.CalcSaveRecalc=Be;break;case 15:we.CalcRefMode=Be;break;case 2211:b.opts.FullCalc=Be;break;case 129:Be.fDialog&&(E["!type"]="dialog"),Be.fBelow||((E["!outline"]||(E["!outline"]={})).above=!0),Be.fRight||((E["!outline"]||(E["!outline"]={})).left=!0);break;case 224:V.push(Be);break;case 430:z.push([Be]),z[z.length-1].XTI=[];break;case 35:case 547:z[z.length-1].push(Be);break;case 24:case 536:X={Name:Be.Name,Ref:ku(Be.rgce,0,null,z,we)},Be.itab>0&&(X.Sheet=Be.itab-1),z.names.push(X),z[0]||(z[0]=[],z[0].XTI=[]),z[z.length-1].push(Be),Be.Name=="_xlnm._FilterDatabase"&&Be.itab>0&&Be.rgce&&Be.rgce[0]&&Be.rgce[0][0]&&Be.rgce[0][0][0]=="PtgArea3d"&&(me[Be.itab-1]={ref:bi(Be.rgce[0][0][1][2])});break;case 22:we.ExternCount=Be;break;case 23:z.length==0&&(z[0]=[],z[0].XTI=[]),z[z.length-1].XTI=z[z.length-1].XTI.concat(Be),z.XTI=z.XTI.concat(Be);break;case 2196:if(we.biff<8)break;X!=null&&(X.Comment=Be[1]);break;case 18:E["!protect"]=Be;break;case 19:Be!==0&&we.WTF&&console.error("Password verifier: "+Be);break;case 133:B[Be.pos]=Be,we.snames.push(Be.name);break;case 10:if(--oe)break;if(S.e){if(S.e.r>0&&S.e.c>0){if(S.e.r--,S.e.c--,E["!ref"]=bi(S),c.sheetRows&&c.sheetRows<=S.e.r){var je=S.e.r;S.e.r=c.sheetRows-1,E["!fullref"]=E["!ref"],E["!ref"]=bi(S),S.e.r=je}S.e.r++,S.e.c++}Z.length>0&&(E["!merges"]=Z),ne.length>0&&(E["!objects"]=ne),j.length>0&&(E["!cols"]=j),J.length>0&&(E["!rows"]=J),ue.Sheets.push(fe)}T===""?F=E:I[T]=E,E=c.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(we.biff===8&&(we.biff={9:2,521:3,1033:4}[rt]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[Be.BIFFVer]||8),we.biffguess=Be.BIFFVer==0,Be.BIFFVer==0&&Be.dt==4096&&(we.biff=5,Fe=!0,bl(we.codepage=28591)),we.biff==8&&Be.BIFFVer==0&&Be.dt==16&&(we.biff=2),oe++)break;if(E=c.dense?[]:{},we.biff<8&&!Fe&&(Fe=!0,bl(we.codepage=c.codepage||1252)),we.biff<5||Be.BIFFVer==0&&Be.dt==4096){T===""&&(T="Sheet1"),S={s:{r:0,c:0},e:{r:0,c:0}};var lt={pos:a.l-et,name:T};B[lt.pos]=lt,we.snames.push(T)}else T=(B[_e]||{name:""}).name;Be.dt==32&&(E["!type"]="chart"),Be.dt==64&&(E["!type"]="macro"),Z=[],ne=[],we.arrayf=W=[],j=[],J=[],q=!1,fe={Hidden:(B[_e]||{hs:0}).hs,name:T};break;case 515:case 3:case 2:E["!type"]=="chart"&&(c.dense?(E[Be.r]||[])[Be.c]:E[Mi({c:Be.c,r:Be.r})])&&++Be.c,A={ixfe:Be.ixfe,XF:V[Be.ixfe]||{},v:Be.val,t:"n"},ye>0&&(A.z=ae[A.ixfe>>8&63]),Fc(A,c,b.opts.Date1904),Ae({c:Be.c,r:Be.r},A,c);break;case 5:case 517:A={ixfe:Be.ixfe,XF:V[Be.ixfe],v:Be.val,t:Be.t},ye>0&&(A.z=ae[A.ixfe>>8&63]),Fc(A,c,b.opts.Date1904),Ae({c:Be.c,r:Be.r},A,c);break;case 638:A={ixfe:Be.ixfe,XF:V[Be.ixfe],v:Be.rknum,t:"n"},ye>0&&(A.z=ae[A.ixfe>>8&63]),Fc(A,c,b.opts.Date1904),Ae({c:Be.c,r:Be.r},A,c);break;case 189:for(var Me=Be.c;Me<=Be.C;++Me){var Ke=Be.rkrec[Me-Be.c][0];A={ixfe:Ke,XF:V[Ke],v:Be.rkrec[Me-Be.c][1],t:"n"},ye>0&&(A.z=ae[A.ixfe>>8&63]),Fc(A,c,b.opts.Date1904),Ae({c:Me,r:Be.r},A,c)}break;case 6:case 518:case 1030:if(Be.val=="String"){_=Be;break}if((A=Up(Be.val,Be.cell.ixfe,Be.tt)).XF=V[A.ixfe],c.cellFormula){var Rt=Be.formula;if(Rt&&Rt[0]&&Rt[0][0]&&Rt[0][0][0]=="PtgExp"){var Ie=Rt[0][0][1][0],Re=Rt[0][0][1][1],qe=Mi({r:Ie,c:Re});H[qe]?A.f=""+ku(Be.formula,0,Be.cell,z,we):A.F=((c.dense?(E[Ie]||[])[Re]:E[qe])||{}).F}else A.f=""+ku(Be.formula,0,Be.cell,z,we)}ye>0&&(A.z=ae[A.ixfe>>8&63]),Fc(A,c,b.opts.Date1904),Ae(Be.cell,A,c),_=Be;break;case 7:case 519:if(!_)throw new Error("String record expects Formula");_.val=Be,(A=Up(Be,_.cell.ixfe,"s")).XF=V[A.ixfe],c.cellFormula&&(A.f=""+ku(_.formula,0,_.cell,z,we)),ye>0&&(A.z=ae[A.ixfe>>8&63]),Fc(A,c,b.opts.Date1904),Ae(_.cell,A,c),_=null;break;case 33:case 545:W.push(Be);var pt=Mi(Be[0].s);if(h=c.dense?(E[Be[0].s.r]||[])[Be[0].s.c]:E[pt],c.cellFormula&&h){if(!_||!pt||!h)break;h.f=""+ku(Be[1],0,Be[0],z,we),h.F=bi(Be[0])}break;case 1212:if(!c.cellFormula)break;if(N){if(!_)break;H[Mi(_.cell)]=Be[0],((h=c.dense?(E[_.cell.r]||[])[_.cell.c]:E[Mi(_.cell)])||{}).f=""+ku(Be[0],0,u,z,we)}break;case 253:A=Up(D[Be.isst].t,Be.ixfe,"s"),D[Be.isst].h&&(A.h=D[Be.isst].h),A.XF=V[A.ixfe],ye>0&&(A.z=ae[A.ixfe>>8&63]),Fc(A,c,b.opts.Date1904),Ae({c:Be.c,r:Be.r},A,c);break;case 513:c.sheetStubs&&(A={ixfe:Be.ixfe,XF:V[Be.ixfe],t:"z"},ye>0&&(A.z=ae[A.ixfe>>8&63]),Fc(A,c,b.opts.Date1904),Ae({c:Be.c,r:Be.r},A,c));break;case 190:if(c.sheetStubs)for(var Lt=Be.c;Lt<=Be.C;++Lt){var Qe=Be.ixfe[Lt-Be.c];A={ixfe:Qe,XF:V[Qe],t:"z"},ye>0&&(A.z=ae[A.ixfe>>8&63]),Fc(A,c,b.opts.Date1904),Ae({c:Lt,r:Be.r},A,c)}break;case 214:case 516:case 4:(A=Up(Be.val,Be.ixfe,"s")).XF=V[A.ixfe],ye>0&&(A.z=ae[A.ixfe>>8&63]),Fc(A,c,b.opts.Date1904),Ae({c:Be.c,r:Be.r},A,c);break;case 0:case 512:oe===1&&(S=Be);break;case 252:D=Be;break;case 1054:if(we.biff==4){ae[ye++]=Be[1];for(var _t=0;_t<ye+163&&xi[_t]!=Be[1];++_t);_t>=163&&$c(Be[1],ye+163)}else $c(Be[1],Be[0]);break;case 30:ae[ye++]=Be;for(var Ft=0;Ft<ye+163&&xi[Ft]!=Be;++Ft);Ft>=163&&$c(Be,ye+163);break;case 229:Z=Z.concat(Be);break;case 93:ne[Be.cmo[0]]=we.lastobj=Be;break;case 438:we.lastobj.TxO=Be;break;case 127:we.lastobj.ImData=Be;break;case 440:for(g=Be[0].s.r;g<=Be[0].e.r;++g)for(p=Be[0].s.c;p<=Be[0].e.c;++p)(h=c.dense?(E[g]||[])[p]:E[Mi({c:p,r:g})])&&(h.l=Be[1]);break;case 2048:for(g=Be[0].s.r;g<=Be[0].e.r;++g)for(p=Be[0].s.c;p<=Be[0].e.c;++p)(h=c.dense?(E[g]||[])[p]:E[Mi({c:p,r:g})])&&h.l&&(h.l.Tooltip=Be[1]);break;case 28:if(we.biff<=5&&we.biff>=2)break;h=c.dense?(E[Be[0].r]||[])[Be[0].c]:E[Mi(Be[0])];var Ze=ne[Be[2]];h||(c.dense?(E[Be[0].r]||(E[Be[0].r]=[]),h=E[Be[0].r][Be[0].c]={t:"z"}):h=E[Mi(Be[0])]={t:"z"},S.e.r=Math.max(S.e.r,Be[0].r),S.s.r=Math.min(S.s.r,Be[0].r),S.e.c=Math.max(S.e.c,Be[0].c),S.s.c=Math.min(S.s.c,Be[0].c)),h.c||(h.c=[]),d={a:Be[1],t:Ze.TxO.t},h.c.push(d);break;case 2173:V[Be.ixfe],Be.ext.forEach(function(nt){nt[0]});break;case 125:if(!we.cellStyles)break;for(;Be.e>=Be.s;)j[Be.e--]={width:Be.w/256,level:Be.level||0,hidden:!!(1&Be.flags)},q||(q=!0,xp(Be.w/256)),Uo(j[Be.e+1]);break;case 520:var $e={};Be.level!=null&&(J[Be.r]=$e,$e.level=Be.level),Be.hidden&&(J[Be.r]=$e,$e.hidden=!0),Be.hpt&&(J[Be.r]=$e,$e.hpt=Be.hpt,$e.hpx=Ef(Be.hpt));break;case 38:case 39:case 40:case 41:E["!margins"]||Ds(E["!margins"]={}),E["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[rt]]=Be;break;case 161:E["!margins"]||Ds(E["!margins"]={}),E["!margins"].header=Be.header,E["!margins"].footer=Be.footer;break;case 574:Be.RTL&&(ue.Views[0].RTL=!0);break;case 146:te=Be;break;case 2198:y=Be;break;case 140:m=Be;break;case 442:T?fe.CodeName=Be||fe.name:ue.WBProps.CodeName=Be||"ThisWorkbook"}}else st||console.error("Missing Info for XLS Record 0x"+rt.toString(16)),a.l+=et}return b.SheetNames=to(B).sort(function(nt,Ot){return Number(nt)-Number(Ot)}).map(function(nt){return B[nt].name}),c.bookSheets||(b.Sheets=I),!b.SheetNames.length&&F["!ref"]?(b.SheetNames.push("Sheet1"),b.Sheets&&(b.Sheets.Sheet1=F)):b.Preamble=F,b.Sheets&&me.forEach(function(nt,Ot){b.Sheets[b.SheetNames[Ot]]["!autofilter"]=nt}),b.Strings=D,b.SSF=Ro(xi),we.enc&&(b.Encryption=we.enc),y&&(b.Themes=y),b.Metadata={},m!==void 0&&(b.Metadata.Country=m),z.names.length>0&&(ue.Names=z.names),b.Workbook=ue,b}var nB="e0859ff2f94f6810ab9108002b27b3d9",Ib="02d5cdd59c2e1b10939708002b2cf9ae",pk="05d5cdd59c2e1b10939708002b2cf9ae";function iB(a,c){var u,h,d,p;if(c||(c={}),gm(c),V2(),c.codepage&&Z0(c.codepage),a.FullPaths){if(ai.find(a,"/encryption"))throw new Error("File is password-protected");u=ai.find(a,"!CompObj"),h=ai.find(a,"/Workbook")||ai.find(a,"/Book")}else{switch(c.type){case"base64":a=Zc(Ra(a));break;case"binary":a=Zc(a);break;case"buffer":break;case"array":Array.isArray(a)||(a=Array.prototype.slice.call(a))}lu(a,0),h={content:a}}if(u&&dk(u),c.bookProps&&!c.bookSheets)d={};else{var g=ki?"buffer":"array";if(h&&h.content)d=mb(h.content,c);else if((p=ai.find(a,"PerfectOffice_MAIN"))&&p.content)d=Oh.to_workbook(p.content,(c.type=g,c));else{if(!(p=ai.find(a,"NativeContent_MAIN"))||!p.content)throw(p=ai.find(a,"MN0"))&&p.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");d=Oh.to_workbook(p.content,(c.type=g,c))}c.bookVBA&&a.FullPaths&&ai.find(a,"/_VBA_PROJECT_CUR/VBA/dir")&&(d.vbaraw=function(m){var y=ai.utils.cfb_new({root:"R"});return m.FullPaths.forEach(function(b,I){if(b.slice(-1)!=="/"&&b.match(/_VBA_PROJECT_CUR/)){var E=b.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");ai.utils.cfb_add(y,E,m.FileIndex[I].content)}}),ai.write(y)}(a))}var A={};return a.FullPaths&&function(m,y,b){var I=ai.find(m,"/!DocumentSummaryInformation");if(I&&I.size>0)try{var E=Gy(I,Fy,Ib);for(var B in E)y[B]=E[B]}catch(T){if(b.WTF)throw T}var S=ai.find(m,"/!SummaryInformation");if(S&&S.size>0)try{var _=Gy(S,d1,nB);for(var D in _)y[D]==null&&(y[D]=_[D])}catch(T){if(b.WTF)throw T}y.HeadingPairs&&y.TitlesOfParts&&(tE(y.HeadingPairs,y.TitlesOfParts,y,b),delete y.HeadingPairs,delete y.TitlesOfParts)}(a,A,c),d.Props=d.Custprops=A,c.bookFiles&&(d.cfb=a),d}function aB(a,c){var u=c||{},h=ai.utils.cfb_new({root:"R"}),d="/Workbook";switch(u.bookType||"xls"){case"xls":u.bookType="biff8";case"xla":u.bookType||(u.bookType="xla");case"biff8":d="/Workbook",u.biff=8;break;case"biff5":d="/Book",u.biff=5;break;default:throw new Error("invalid type "+u.bookType+" for XLS CFB")}return ai.utils.cfb_add(h,d,Cb(a,u)),u.biff==8&&(a.Props||a.Custprops)&&function(p,g){var A,m=[],y=[],b=[],I=0,E=_w(Fy,"n"),B=_w(d1,"n");if(p.Props)for(A=to(p.Props),I=0;I<A.length;++I)(Object.prototype.hasOwnProperty.call(E,A[I])?m:Object.prototype.hasOwnProperty.call(B,A[I])?y:b).push([A[I],p.Props[A[I]]]);if(p.Custprops)for(A=to(p.Custprops),I=0;I<A.length;++I)Object.prototype.hasOwnProperty.call(p.Props||{},A[I])||(Object.prototype.hasOwnProperty.call(E,A[I])?m:Object.prototype.hasOwnProperty.call(B,A[I])?y:b).push([A[I],p.Custprops[A[I]]]);var S=[];for(I=0;I<b.length;++I)Xd.indexOf(b[I][0])>-1||_A.indexOf(b[I][0])>-1||b[I][1]!=null&&S.push(b[I]);y.length&&ai.utils.cfb_add(g,"/SummaryInformation",iE(y,nB,B,d1)),(m.length||S.length)&&ai.utils.cfb_add(g,"/DocumentSummaryInformation",iE(m,Ib,E,Fy,S.length?S:null,pk))}(a,h),u.biff==8&&a.vbaraw&&function(p,g){g.FullPaths.forEach(function(A,m){if(m!=0){var y=A.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");y.slice(-1)!=="/"&&ai.utils.cfb_add(p,y,g.FileIndex[m].content)}})}(h,ai.read(a.vbaraw,{type:typeof a.vbaraw=="string"?"binary":"buffer"})),h}var jp={0:{f:function(a,c){var u={},h=a.l+c;u.r=a.read_shift(4),a.l+=4;var d=a.read_shift(2);a.l+=1;var p=a.read_shift(1);return a.l=h,7&p&&(u.level=7&p),16&p&&(u.hidden=!0),32&p&&(u.hpt=d/20),u}},1:{f:function(a){return[_c(a)]}},2:{f:function(a){return[_c(a),A1(a),"n"]}},3:{f:function(a){return[_c(a),a.read_shift(1),"e"]}},4:{f:function(a){return[_c(a),a.read_shift(1),"b"]}},5:{f:function(a){return[_c(a),ko(a),"n"]}},6:{f:function(a){return[_c(a),zs(a),"str"]}},7:{f:function(a){return[_c(a),a.read_shift(4),"s"]}},8:{f:function(a,c,u){var h=a.l+c,d=_c(a);d.r=u["!row"];var p=[d,zs(a),"str"];if(u.cellFormula){a.l+=2;var g=_1(a,h-a.l,u);p[3]=ku(g,0,d,u.supbooks,u)}else a.l=h;return p}},9:{f:function(a,c,u){var h=a.l+c,d=_c(a);d.r=u["!row"];var p=[d,ko(a),"n"];if(u.cellFormula){a.l+=2;var g=_1(a,h-a.l,u);p[3]=ku(g,0,d,u.supbooks,u)}else a.l=h;return p}},10:{f:function(a,c,u){var h=a.l+c,d=_c(a);d.r=u["!row"];var p=[d,a.read_shift(1),"b"];if(u.cellFormula){a.l+=2;var g=_1(a,h-a.l,u);p[3]=ku(g,0,d,u.supbooks,u)}else a.l=h;return p}},11:{f:function(a,c,u){var h=a.l+c,d=_c(a);d.r=u["!row"];var p=[d,a.read_shift(1),"e"];if(u.cellFormula){a.l+=2;var g=_1(a,h-a.l,u);p[3]=ku(g,0,d,u.supbooks,u)}else a.l=h;return p}},12:{f:function(a){return[jd(a)]}},13:{f:function(a){return[jd(a),A1(a),"n"]}},14:{f:function(a){return[jd(a),a.read_shift(1),"e"]}},15:{f:function(a){return[jd(a),a.read_shift(1),"b"]}},16:{f:sb},17:{f:function(a){return[jd(a),zs(a),"str"]}},18:{f:function(a){return[jd(a),a.read_shift(4),"s"]}},19:{f:Ud},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function(a,c,u){var h=a.l+c;a.l+=4,a.l+=1;var d=a.read_shift(4),p=S5(a),g=NA(a,0,u),A=bp(a);a.l=h;var m={Name:p,Ptg:g};return d<268435455&&(m.Sheet=d),A&&(m.Comment=A),m}},40:{},42:{},43:{f:function(a,c,u){var h={};h.sz=a.read_shift(2)/20;var d=function(m){var y=m.read_shift(1);return m.l++,{fBold:1&y,fItalic:2&y,fUnderline:4&y,fStrikeout:8&y,fOutline:16&y,fShadow:32&y,fCondense:64&y,fExtend:128&y}}(a);switch(d.fItalic&&(h.italic=1),d.fCondense&&(h.condense=1),d.fExtend&&(h.extend=1),d.fShadow&&(h.shadow=1),d.fOutline&&(h.outline=1),d.fStrikeout&&(h.strike=1),a.read_shift(2)===700&&(h.bold=1),a.read_shift(2)){case 1:h.vertAlign="superscript";break;case 2:h.vertAlign="subscript"}var p=a.read_shift(1);p!=0&&(h.underline=p);var g=a.read_shift(1);g>0&&(h.family=g);var A=a.read_shift(1);switch(A>0&&(h.charset=A),a.l++,h.color=function(m){var y={},b=m.read_shift(1)>>>1,I=m.read_shift(1),E=m.read_shift(2,"i"),B=m.read_shift(1),S=m.read_shift(1),_=m.read_shift(1);switch(m.l++,b){case 0:y.auto=1;break;case 1:y.index=I;var D=Cp[I];D&&(y.rgb=MA(D));break;case 2:y.rgb=MA([B,S,_]);break;case 3:y.theme=I}return E!=0&&(y.tint=E>0?E/32767:E/32768),y}(a),a.read_shift(1)){case 1:h.scheme="major";break;case 2:h.scheme="minor"}return h.name=zs(a),h}},44:{f:function(a,c){return[a.read_shift(2),zs(a)]}},45:{f:CE},46:{f:EE},47:{f:function(a,c){var u=a.l+c,h=a.read_shift(2),d=a.read_shift(2);return a.l=u,{ixfe:h,numFmtId:d}}},48:{},49:{f:function(a){return a.read_shift(4,"i")}},50:{},51:{f:function(a){for(var c=[],u=a.read_shift(4);u-- >0;)c.push([a.read_shift(4),a.read_shift(4)]);return c}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:ig},62:{f:function(a){return[_c(a),Ud(a),"is"]}},63:{f:function(a){var c={};c.i=a.read_shift(4);var u={};u.r=a.read_shift(4),u.c=a.read_shift(4),c.r=Mi(u);var h=a.read_shift(1);return 2&h&&(c.l="1"),8&h&&(c.a="1"),c}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:qs,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(a){var c=a.read_shift(2);return a.l+=28,{RTL:32&c}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(a,c){var u={},h=a[a.l];return++a.l,u.above=!(64&h),u.left=!(128&h),a.l+=18,u.name=Zw(a),u}},148:{f:ob,p:16},151:{f:function(){}},152:{},153:{f:function(a,c){var u={},h=a.read_shift(4);u.defaultThemeVersion=a.read_shift(4);var d=c>8?zs(a):"";return d.length>0&&(u.CodeName=d),u.autoCompressPictures=!!(65536&h),u.backupFile=!!(64&h),u.checkCompatibility=!!(4096&h),u.date1904=!!(1&h),u.filterPrivacy=!!(8&h),u.hidePivotFieldList=!!(1024&h),u.promptedSolutions=!!(16&h),u.publishItems=!!(2048&h),u.refreshAllConnections=!!(262144&h),u.saveExternalLinkValues=!!(128&h),u.showBorderUnselectedTables=!!(4&h),u.showInkAnnotation=!!(32&h),u.showObjects=["all","placeholders","none"][h>>13&3],u.showPivotChartFilter=!!(32768&h),u.updateLinks=["userSet","never","always"][h>>8&3],u}},154:{},155:{},156:{f:function(a,c){var u={};return u.Hidden=a.read_shift(4),u.iTabID=a.read_shift(4),u.strRelID=mI(a),u.name=zs(a),u}},157:{},158:{},159:{T:1,f:function(a){return[a.read_shift(4),a.read_shift(4)]}},160:{T:-1},161:{T:1,f:kA},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:PE},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(a,c){return{flags:a.read_shift(4),version:a.read_shift(4),name:zs(a)}}},336:{T:-1},337:{f:function(a){return a.l+=4,a.read_shift(4)!=0},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:mI},357:{},358:{},359:{},360:{T:1},361:{},362:{f:m1},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(a,c,u){var h=a.l+c,d=bI(a),p=a.read_shift(1),g=[d];if(g[2]=p,u.cellFormula){var A=Z5(a,h-a.l,u);g[1]=A}else a.l=h;return g}},427:{f:function(a,c,u){var h=a.l+c,d=[kA(a)];if(u.cellFormula){var p=nm(a,h-a.l,u);d[1]=p,a.l=h}else a.l=h;return d}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(a){var c={};return GE.forEach(function(u){c[u]=ko(a)}),c}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(a,c){var u=a.l+c,h=kA(a),d=bp(a),p=zs(a),g=zs(a),A=zs(a);a.l=u;var m={rfx:h,relId:d,loc:p,display:A};return g&&(m.Tooltip=g),m}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:mI},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:z5},633:{T:1},634:{T:-1},635:{T:1,f:function(a){var c={};c.iauthor=a.read_shift(4);var u=kA(a);return c.rfx=u.s,c.ref=Mi(u.s),a.l+=16,c}},636:{T:-1},637:{f:Kw},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(a,c){return a.l+=10,{name:zs(a)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},Hp={6:{f:rm},10:{f:Gu},12:{f:gs},13:{f:gs},14:{f:ds},15:{f:ds},16:{f:ko},17:{f:ds},18:{f:ds},19:{f:gs},20:{f:LI},21:{f:LI},23:{f:m1},24:{f:y1},25:{f:ds},26:{},27:{},28:{f:function(a,c,u){return function(h,d,p){if(!(p.biff<8)){var g=h.read_shift(2),A=h.read_shift(2),m=h.read_shift(2),y=h.read_shift(2),b=ju(h,0,p);return p.biff<8&&h.read_shift(1),[{r:g,c:A},b,y,m]}}(a,0,u)}},29:{},34:{f:ds},35:{f:DA},38:{f:ko},39:{f:ko},40:{f:ko},41:{f:ko},42:{f:ds},43:{f:ds},47:{f:function(a,c,u){var h={Type:u.biff>=8?a.read_shift(2):0};return h.Type?mE(a,c-2,h):function(d,p,g,A){var m={key:gs(d),verificationBytes:gs(d)};g.password&&(m.verifier=jI(g.password)),A.valid=m.verificationBytes===m.verifier,A.valid&&(A.insitu=E1(g.password))}(a,u.biff,u,h),h}},49:{f:function(a,c,u){var h={dyHeight:a.read_shift(2),fl:a.read_shift(2)};switch(u&&u.biff||8){case 2:break;case 3:case 4:a.l+=2;break;default:a.l+=10}return h.name=p1(a,0,u),h}},51:{f:gs},60:{},61:{f:function(a){return{Pos:[a.read_shift(2),a.read_shift(2)],Dim:[a.read_shift(2),a.read_shift(2)],Flags:a.read_shift(2),CurTab:a.read_shift(2),FirstTab:a.read_shift(2),Selected:a.read_shift(2),TabRatio:a.read_shift(2)}}},64:{f:ds},65:{f:function(){}},66:{f:gs},77:{},80:{},81:{},82:{},85:{f:gs},89:{},90:{},91:{},92:{f:function(a,c,u){if(u.enc)return a.l+=c,"";var h=a.l,d=ju(a,0,u);return a.read_shift(c+h-a.l),d}},93:{f:function(a,c,u){if(u&&u.biff<8)return function(p,g,A){p.l+=4;var m=p.read_shift(2),y=p.read_shift(2),b=p.read_shift(2);p.l+=2,p.l+=2,p.l+=2,p.l+=2,p.l+=2,p.l+=2,p.l+=2,p.l+=2,p.l+=2,p.l+=6,g-=36;var I=[];return I.push((N5[m]||qs)(p,g,A)),{cmo:[y,m,b],ft:I}}(a,c,u);var h=cE(a),d=function(p,g){for(var A=p.l+g,m=[];p.l<A;){var y=p.read_shift(2);p.l-=2;try{m.push(Vs[y](p,A-p.l))}catch{return p.l=A,m}}return p.l!=A&&(p.l=A),m}(a,c-22,h[1]);return{cmo:h,ft:d}}},94:{},95:{f:ds},96:{},97:{},99:{f:ds},125:{f:ig},128:{f:function(a){a.l+=4;var c=[a.read_shift(2),a.read_shift(2)];if(c[0]!==0&&c[0]--,c[1]!==0&&c[1]--,c[0]>7||c[1]>7)throw new Error("Bad Gutters: "+c.join("|"));return c}},129:{f:function(a,c,u){var h=u&&u.biff==8||c==2?a.read_shift(2):(a.l+=c,0);return{fDialog:16&h,fBelow:64&h,fRight:128&h}}},130:{f:gs},131:{f:ds},132:{f:ds},133:{f:function(a,c,u){var h=a.read_shift(4),d=3&a.read_shift(1),p=a.read_shift(1);switch(p){case 0:p="Worksheet";break;case 1:p="Macrosheet";break;case 2:p="Chartsheet";break;case 6:p="VBAModule"}var g=p1(a,0,u);return g.length===0&&(g="Sheet1"),{pos:h,hs:d,dt:p,name:g}}},134:{},140:{f:function(a){var c,u=[0,0];return c=a.read_shift(2),u[0]=Ty[c]||c,c=a.read_shift(2),u[1]=Ty[c]||c,u}},141:{f:gs},144:{},146:{f:function(a){for(var c=a.read_shift(2),u=[];c-- >0;)u.push(Hu(a));return u}},151:{},152:{},153:{},154:{},155:{},156:{f:gs},157:{},158:{},160:{f:ga},161:{f:function(a,c){var u={};return c<32||(a.l+=16,u.header=ko(a),u.footer=ko(a),a.l+=2),u}},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:function(a,c){for(var u=a.l+c-2,h=a.read_shift(2),d=a.read_shift(2),p=[];a.l<u;)p.push(MI(a));if(a.l!==u)throw new Error("MulRK read error");var g=a.read_shift(2);if(p.length!=g-d+1)throw new Error("MulRK length mismatch");return{r:h,c:d,C:g,rkrec:p}}},190:{f:function(a,c){for(var u=a.l+c-2,h=a.read_shift(2),d=a.read_shift(2),p=[];a.l<u;)p.push(a.read_shift(2));if(a.l!==u)throw new Error("MulBlank read error");var g=a.read_shift(2);if(p.length!=g-d+1)throw new Error("MulBlank length mismatch");return{r:h,c:d,C:g,ixfe:p}}},193:{f:Gu},197:{},198:{},199:{},200:{},201:{},202:{f:ds},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:gs},220:{},221:{f:ds},222:{},224:{f:function(a,c,u){var h={};return h.ifnt=a.read_shift(2),h.numFmtId=a.read_shift(2),h.flags=a.read_shift(2),h.fStyle=h.flags>>2&1,h.data=function(d,p,g,A){var m={},y=d.read_shift(4),b=d.read_shift(4),I=d.read_shift(4),E=d.read_shift(2);return m.patternType=_5[I>>26],A.cellStyles&&(m.alc=7&y,m.fWrap=y>>3&1,m.alcV=y>>4&7,m.fJustLast=y>>7&1,m.trot=y>>8&255,m.cIndent=y>>16&15,m.fShrinkToFit=y>>20&1,m.iReadOrder=y>>22&2,m.fAtrNum=y>>26&1,m.fAtrFnt=y>>27&1,m.fAtrAlc=y>>28&1,m.fAtrBdr=y>>29&1,m.fAtrPat=y>>30&1,m.fAtrProt=y>>31&1,m.dgLeft=15&b,m.dgRight=b>>4&15,m.dgTop=b>>8&15,m.dgBottom=b>>12&15,m.icvLeft=b>>16&127,m.icvRight=b>>23&127,m.grbitDiag=b>>30&3,m.icvTop=127&I,m.icvBottom=I>>7&127,m.icvDiag=I>>14&127,m.dgDiag=I>>21&15,m.icvFore=127&E,m.icvBack=E>>7&127,m.fsxButton=E>>14&1),m}(a,0,h.fStyle,u),h}},225:{f:function(a,c){return c===0||a.read_shift(2),1200}},226:{f:Gu},227:{},229:{f:function(a,c){for(var u=[],h=a.read_shift(2);h--;)u.push(jy(a));return u}},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:function(a,c){for(var u=a.l+c,h=a.read_shift(4),d=a.read_shift(4),p=[],g=0;g!=d&&a.l<u;++g)p.push(Uu(a));return p.Count=h,p.Unique=d,p}},253:{f:function(a){var c=Th(a);return c.isst=a.read_shift(4),c}},255:{f:function(a,c){var u={};return u.dsst=a.read_shift(2),a.l+=c-2,u}},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Cf},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:ds},353:{f:Gu},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:function(a,c,u){var h=a.l+c,d=a.read_shift(2),p=a.read_shift(2);if(u.sbcch=p,p==1025||p==14849)return[p,d];if(p<1||p>255)throw new Error("Unexpected SupBook type: "+p);for(var g=rh(a,p),A=[];h>a.l;)A.push(wf(a));return[p,d,g,A]}},431:{f:ds},432:{},433:{},434:{},437:{},438:{f:function(a,c,u){var h=a.l,d="";try{a.l+=4;var p=(u.lastobj||{cmo:[0,0]}).cmo[1];[0,5,7,11,12,14].indexOf(p)==-1?a.l+=6:function(b){var I=b.read_shift(1);b.l++;var E=b.read_shift(2);return b.l+=2,[I,E]}(a);var g=a.read_shift(2);a.read_shift(2),gs(a);var A=a.read_shift(2);a.l+=A;for(var m=1;m<a.lens.length-1;++m){if(a.l-h!=a.lens[m])throw new Error("TxO: bad continue record");var y=a[a.l];if((d+=rh(a,a.lens[m+1]-a.lens[m]-1)).length>=(y?g:2*g))break}if(d.length!==g&&d.length!==2*g)throw new Error("cchText: "+g+" != "+d.length);return a.l=h+c,{t:d}}catch{return a.l=h+c,{t:d}}}},439:{f:ds},440:{f:function(a,c){var u=jy(a);a.l+=16;var h=function(d,p){var g=d.l+p,A=d.read_shift(4);if(A!==2)throw new Error("Unrecognized streamVersion: "+A);var m=d.read_shift(2);d.l+=2;var y,b,I,E,B,S,_="";16&m&&(y=eg(d,d.l)),128&m&&(b=eg(d,d.l)),257&~m||(I=eg(d,d.l)),(257&m)==1&&(E=aE(d,d.l)),8&m&&(_=eg(d,d.l)),32&m&&(B=d.read_shift(16)),64&m&&(S=Vd(d)),d.l=g;var D=b||I||E||"";D&&_&&(D+="#"+_),D||(D="#"+_),2&m&&D.charAt(0)=="/"&&D.charAt(1)!="/"&&(D="file://"+D);var T={Target:D};return B&&(T.guid=B),S&&(T.time=S),y&&(T.Tooltip=y),T}(a,c-24);return[u,h]}},441:{},442:{f:wf},443:{},444:{f:gs},445:{},446:{},448:{f:Gu},449:{f:function(a){return a.read_shift(2),a.read_shift(4)},r:2},450:{f:Gu},512:{f:v1},513:{f:NI},515:{f:function(a,c,u){u.biffguess&&u.biff==2&&(u.biff=5);var h=Th(a),d=ko(a);return h.val=d,h}},516:{f:function(a,c,u){u.biffguess&&u.biff==2&&(u.biff=5),a.l;var h=Th(a);u.biff==2&&a.l++;var d=wf(a,a.l,u);return h.val=d,h}},517:{f:tg},519:{f:Co},520:{f:function(a){var c={};c.r=a.read_shift(2),c.c=a.read_shift(2),c.cnt=a.read_shift(2)-c.c;var u=a.read_shift(2);a.l+=4;var h=a.read_shift(1);return a.l+=3,7&h&&(c.level=7&h),32&h&&(c.hidden=!0),64&h&&(c.hpt=u/20),c}},523:{},545:{f:ng},549:{f:Bp},566:{},574:{f:function(a,c,u){return u&&u.biff>=2&&u.biff<5?{}:{RTL:64&a.read_shift(2)}}},638:{f:function(a){var c=a.read_shift(2),u=a.read_shift(2),h=MI(a);return{r:c,c:u,ixfe:h[0],rknum:h[1]}}},659:{},1048:{},1054:{f:function(a,c,u){return[a.read_shift(2),ju(a,0,u)]}},1084:{},1212:{f:function(a,c,u){var h=uE(a);a.l++;var d=a.read_shift(1);return[eb(a,c-=8,u),d,h]}},2048:{f:function(a,c){a.read_shift(2);var u=jy(a),h=a.read_shift((c-10)/2,"dbcs-cont");return[u,h=h.replace(sc,"")]}},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Eu},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Gu},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:function(a){a.l+=2;var c={cxfs:0,crc:0};return c.cxfs=a.read_shift(2),c.crc=a.read_shift(4),c},r:12},2173:{f:function(a,c){a.l,a.l+=2;var u=a.read_shift(2);a.l+=2;for(var h=a.read_shift(2),d=[];h-- >0;)d.push(JI(a,a.l));return{ixfe:u,ext:d}},r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:ds,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:function(a,c,u){if(!(u.biff<8)){var h=a.read_shift(2),d=a.read_shift(2);return[rh(a,h,u),rh(a,d,u)]}a.l+=c},r:12},2197:{},2198:{f:function(a,c,u){var h=a.l+c;if(a.read_shift(4)!==124226)if(u.cellStyles){var d,p=a.slice(a.l);a.l=h;try{d=Fw(p,{type:"array"})}catch{return}var g=Qc(d,"theme/theme/theme1.xml",!0);if(g)return QE(g,u)}else a.l=h},r:12},2199:{},2200:{},2201:{},2202:{f:function(a){return[a.read_shift(4)!==0,a.read_shift(4)!==0,a.read_shift(4)]},r:12},2203:{f:Gu},2204:{},2205:{},2206:{},2207:{},2211:{f:function(a){var c=function(u){var h=u.read_shift(2),d=u.read_shift(2);return u.l+=8,{type:h,flags:d}}(a);if(c.type!=2211)throw new Error("Invalid Future Record "+c.type);return a.read_shift(4)!==0}},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:gs},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:function(a,c,u){var h={area:!1};if(u.biff!=5)return a.l+=c,h;var d=a.read_shift(1);return a.l+=3,16&d&&(h.area=!0),h}},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:function(a){for(var c=a.read_shift(2),u=[];c-- >0;)u.push(Hu(a));return u}},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:v1},1:{},2:{f:function(a){var c=Th(a);++a.l;var u=a.read_shift(2);return c.t="n",c.val=u,c}},3:{f:function(a){var c=Th(a);++a.l;var u=ko(a);return c.t="n",c.val=u,c}},4:{f:function(a,c,u){u.biffguess&&u.biff==5&&(u.biff=2);var h=Th(a);++a.l;var d=ju(a,0,u);return h.t="str",h.val=d,h}},5:{f:tg},7:{f:function(a){var c=a.read_shift(1);return c===0?(a.l++,""):a.read_shift(c,"sbcs-cont")}},8:{},9:{f:Eu},11:{},22:{f:gs},30:{f:Hy},31:{},32:{},33:{f:ng},36:{},37:{f:Bp},50:{f:function(a,c){a.l+=6,a.l+=2,a.l+=1,a.l+=3,a.l+=1,a.l+=c-13}},62:{},52:{},67:{},68:{f:gs},69:{},86:{},126:{},127:{f:function(a){var c=a.read_shift(2),u=a.read_shift(2),h=a.read_shift(4),d={fmt:c,env:u,len:h,data:a.slice(a.l,a.l+h)};return a.l+=h,d}},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:function(a,c,u){var h=a.l+c,d=Th(a),p=a.read_shift(2),g=rh(a,p,u);return a.l=h,d.t="str",d.val=g,d}},223:{},234:{},354:{},421:{},518:{f:rm},521:{f:Eu},536:{f:y1},547:{f:DA},561:{},579:{},1030:{f:rm},1033:{f:Eu},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function un(a,c,u,h){var d=c;if(!isNaN(d)){var p=h||(u||[]).length||0,g=a.next(4);g.write_shift(2,d),g.write_shift(2,p),p>0&&mf(u)&&a.push(u)}}function sh(a,c,u){return a||(a=Ir(7)),a.write_shift(2,c),a.write_shift(2,u),a.write_shift(2,0),a.write_shift(1,0),a}function Ag(a,c,u,h){if(c.v!=null)switch(c.t){case"d":case"n":var d=c.t=="d"?Ys(Po(c.v)):c.v;return void(d==(0|d)&&d>=0&&d<65536?un(a,2,(p=u,g=h,A=d,m=Ir(9),sh(m,p,g),m.write_shift(2,A),m)):un(a,3,function(y,b,I){var E=Ir(15);return sh(E,y,b),E.write_shift(8,I,"f"),E}(u,h,d)));case"b":case"e":return void un(a,5,function(y,b,I,E){var B=Ir(9);return sh(B,y,b),$d(I,E||"b",B),B}(u,h,c.v,c.t));case"s":case"str":return void un(a,4,function(y,b,I){var E=Ir(8+2*I.length);return sh(E,y,b),E.write_shift(1,I.length),E.write_shift(I.length,I,"sbcs"),E.l<E.length?E.slice(0,E.l):E}(u,h,(c.v||"").slice(0,255)))}var p,g,A,m;un(a,1,sh(null,u,h))}function cm(a,c){for(var u=c||{},h=Ac(),d=0,p=0;p<a.SheetNames.length;++p)a.SheetNames[p]==u.sheet&&(d=p);if(d==0&&u.sheet&&a.SheetNames[0]!=u.sheet)throw new Error("Sheet not found: "+u.sheet);return un(h,u.biff==4?1033:u.biff==3?521:9,FI(0,16,u)),function(g,A,m,y){var b,I=Array.isArray(A),E=Ta(A["!ref"]||"A1"),B="",S=[];if(E.e.c>255||E.e.r>16383){if(y.WTF)throw new Error("Range "+(A["!ref"]||"A1")+" exceeds format limit A1:IV16384");E.e.c=Math.min(E.e.c,255),E.e.r=Math.min(E.e.c,16383),b=bi(E)}for(var _=E.s.r;_<=E.e.r;++_){B=Ss(_);for(var D=E.s.c;D<=E.e.c;++D){_===E.s.r&&(S[D]=rs(D)),b=S[D]+B;var T=I?(A[_]||[])[D]:A[b];T&&Ag(g,T,_,D)}}}(h,a.Sheets[a.SheetNames[d]],0,u),un(h,10),h.end()}function oB(a,c,u){un(a,49,function(h,d){var p=h.name||"Arial",g=d&&d.biff==5,A=Ir(g?15+p.length:16+2*p.length);return A.write_shift(2,20*h.sz),A.write_shift(4,0),A.write_shift(2,400),A.write_shift(4,0),A.write_shift(2,0),A.write_shift(1,p.length),g||A.write_shift(1,1),A.write_shift((g?1:2)*p.length,p,g?"sbcs":"utf16le"),A}({sz:12,name:"Arial"},u))}function sB(a,c){if(c){var u=0;c.forEach(function(h,d){++u<=256&&h&&un(a,125,function(p,g){var A=Ir(12);A.write_shift(2,g),A.write_shift(2,g),A.write_shift(2,256*p.width),A.write_shift(2,0);var m=0;return p.hidden&&(m|=1),A.write_shift(1,m),m=p.level||0,A.write_shift(1,m),A.write_shift(2,0),A}(PA(d,h),d))})}}function uB(a,c,u,h,d){var p=16+rl(d.cellXfs,c,d);if(c.v!=null||c.bf)if(c.bf)un(a,6,tb(c,u,h,0,p));else switch(c.t){case"d":case"n":un(a,515,function(g,A,m,y){var b=Ir(14);return nh(g,A,y,b),Jd(m,b),b}(u,h,c.t=="d"?Ys(Po(c.v)):c.v,p));break;case"b":case"e":un(a,517,function(g,A,m,y,b,I){var E=Ir(8);return nh(g,A,y,E),$d(m,I,E),E}(u,h,c.v,p,0,c.t));break;case"s":case"str":d.bookSST?un(a,253,function(g,A,m,y){var b=Ir(10);return nh(g,A,y,b),b.write_shift(4,m),b}(u,h,am(d.Strings,c.v,d.revStrings),p)):un(a,516,function(g,A,m,y,b){var I=!b||b.biff==8,E=Ir(+I+8+(1+I)*m.length);return nh(g,A,y,E),E.write_shift(2,m.length),I&&E.write_shift(1,1),E.write_shift((1+I)*m.length,m,I?"utf16le":"sbcs"),E}(u,h,(c.v||"").slice(0,255),p,d));break;default:un(a,513,nh(u,h,p))}else un(a,513,nh(u,h,p))}function bb(a,c,u){var h,d,p,g=Ac(),A=u.SheetNames[a],m=u.Sheets[A]||{},y=(u||{}).Workbook||{},b=(y.Sheets||[])[a]||{},I=Array.isArray(m),E=c.biff==8,B="",S=[],_=Ta(m["!ref"]||"A1"),D=E?65536:16384;if(_.e.c>255||_.e.r>=D){if(c.WTF)throw new Error("Range "+(m["!ref"]||"A1")+" exceeds format limit A1:IV16384");_.e.c=Math.min(_.e.c,255),_.e.r=Math.min(_.e.c,D-1)}un(g,2057,FI(0,16,c)),un(g,13,Rc(1)),un(g,12,Rc(100)),un(g,15,fu(!0)),un(g,17,fu(!1)),un(g,16,Jd(.001)),un(g,95,fu(!0)),un(g,42,fu(!1)),un(g,43,fu(!1)),un(g,130,Rc(1)),un(g,128,(d=[0,0],(p=Ir(8)).write_shift(4,0),p.write_shift(2,d[0]?d[0]+1:0),p.write_shift(2,d[1]?d[1]+1:0),p)),un(g,131,fu(!1)),un(g,132,fu(!1)),E&&sB(g,m["!cols"]),un(g,512,function(W,V){var te=V.biff!=8&&V.biff?2:4,ue=Ir(2*te+6);return ue.write_shift(te,W.s.r),ue.write_shift(te,W.e.r+1),ue.write_shift(2,W.s.c),ue.write_shift(2,W.e.c+1),ue.write_shift(2,0),ue}(_,c)),E&&(m["!links"]=[]);for(var T=_.s.r;T<=_.e.r;++T){B=Ss(T);for(var F=_.s.c;F<=_.e.c;++F){T===_.s.r&&(S[F]=rs(F)),h=S[F]+B;var N=I?(m[T]||[])[F]:m[h];N&&(uB(g,N,T,F,c),E&&N.l&&m["!links"].push([h,N.l]))}}var H=b.CodeName||b.name||A;return E&&un(g,574,function(W){var V=Ir(18),te=1718;return W&&W.RTL&&(te|=64),V.write_shift(2,te),V.write_shift(4,0),V.write_shift(4,64),V.write_shift(4,0),V.write_shift(4,0),V}((y.Views||[])[0])),E&&(m["!merges"]||[]).length&&un(g,229,function(W){var V=Ir(2+8*W.length);V.write_shift(2,W.length);for(var te=0;te<W.length;++te)Yu(W[te],V);return V}(m["!merges"])),E&&function(W,V){for(var te=0;te<V["!links"].length;++te){var ue=V["!links"][te];un(W,440,O5(ue)),ue[1].Tooltip&&un(W,2048,hE(ue))}delete V["!links"]}(g,m),un(g,442,Sl(H)),E&&function(W,V){var te=Ir(19);te.write_shift(4,2151),te.write_shift(4,0),te.write_shift(4,0),te.write_shift(2,3),te.write_shift(1,1),te.write_shift(4,0),un(W,2151,te),(te=Ir(39)).write_shift(4,2152),te.write_shift(4,0),te.write_shift(4,0),te.write_shift(2,3),te.write_shift(1,0),te.write_shift(4,0),te.write_shift(2,1),te.write_shift(4,4),te.write_shift(2,0),Yu(Ta(V["!ref"]||"A1"),te),te.write_shift(4,4),un(W,2152,te)}(g,m),un(g,10),g.end()}function cB(a,c,u){var h,d=Ac(),p=(a||{}).Workbook||{},g=p.Sheets||[],A=p.WBProps||{},m=u.biff==8,y=u.biff==5;un(d,2057,FI(0,5,u)),u.bookType=="xla"&&un(d,135),un(d,225,m?Rc(1200):null),un(d,193,function(N,H){H||(H=Ir(N));for(var W=0;W<N;++W)H.write_shift(1,0);return H}(2)),y&&un(d,191),y&&un(d,192),un(d,226),un(d,92,function(N,H){var W=!H||H.biff==8,V=Ir(W?112:54);for(V.write_shift(H.biff==8?2:1,7),W&&V.write_shift(1,0),V.write_shift(4,859007059),V.write_shift(4,5458548|(W?0:536870912));V.l<V.length;)V.write_shift(1,W?0:32);return V}(0,u)),un(d,66,Rc(m?1200:1252)),m&&un(d,353,Rc(0)),m&&un(d,448),un(d,317,function(N){for(var H=Ir(2*N),W=0;W<N;++W)H.write_shift(2,W+1);return H}(a.SheetNames.length)),m&&a.vbaraw&&un(d,211),m&&a.vbaraw&&un(d,442,Sl(A.CodeName||"ThisWorkbook")),un(d,156,Rc(17)),un(d,25,fu(!1)),un(d,18,fu(!1)),un(d,19,Rc(0)),m&&un(d,431,fu(!1)),m&&un(d,444,Rc(0)),un(d,61,((h=Ir(18)).write_shift(2,0),h.write_shift(2,0),h.write_shift(2,29280),h.write_shift(2,17600),h.write_shift(2,56),h.write_shift(2,0),h.write_shift(2,0),h.write_shift(2,1),h.write_shift(2,500),h)),un(d,64,fu(!1)),un(d,141,Rc(0)),un(d,34,fu(function(N){return N.Workbook&&N.Workbook.WBProps&&po(N.Workbook.WBProps.date1904)?"true":"false"}(a)=="true")),un(d,14,fu(!0)),m&&un(d,439,fu(!1)),un(d,218,Rc(0)),oB(d,0,u),function(N,H,W){H&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(V){for(var te=V[0];te<=V[1];++te)H[te]!=null&&un(N,1054,L5(te,H[te],W))})}(d,a.SSF,u),function(N,H){for(var W=0;W<16;++W)un(N,224,TI({numFmtId:0,style:!0},0,H));H.cellXfs.forEach(function(V){un(N,224,TI(V,0,H))})}(d,u),m&&un(d,352,fu(!1));var b=d.end(),I=Ac();m&&un(I,140,function(N){return N||(N=Ir(4)),N.write_shift(2,1),N.write_shift(2,1),N}()),m&&u.Strings&&function(N,H,W,V){var te=(W||[]).length||0;if(te<=8224)return un(N,H,W,te);var ue=H;if(!isNaN(ue)){for(var fe=W.parts||[],de=0,Ae=0,we=0;we+(fe[de]||8224)<=8224;)we+=fe[de]||8224,de++;var Z=N.next(4);for(Z.write_shift(2,ue),Z.write_shift(2,we),N.push(W.slice(Ae,Ae+we)),Ae+=we;Ae<te;){for((Z=N.next(4)).write_shift(2,60),we=0;we+(fe[de]||8224)<=8224;)we+=fe[de]||8224,de++;Z.write_shift(2,we),N.push(W.slice(Ae,Ae+we)),Ae+=we}}}(I,252,function(N){var H=Ir(8);H.write_shift(4,N.Count),H.write_shift(4,N.Unique);for(var W=[],V=0;V<N.length;++V)W[V]=Uy(N[V]);var te=Jo([H].concat(W));return te.parts=[H.length].concat(W.map(function(ue){return ue.length})),te}(u.Strings)),un(I,10);var E=I.end(),B=Ac(),S=0,_=0;for(_=0;_<a.SheetNames.length;++_)S+=(m?12:11)+(m?2:1)*a.SheetNames[_].length;var D=b.length+S+E.length;for(_=0;_<a.SheetNames.length;++_)un(B,133,lE({pos:D,hs:(g[_]||{}).Hidden||0,dt:0,name:a.SheetNames[_]},u)),D+=c[_].length;var T=B.end();if(S!=T.length)throw new Error("BS8 "+S+" != "+T.length);var F=[];return b.length&&F.push(b),T.length&&F.push(T),E.length&&F.push(E),Jo(F)}function Cb(a,c){for(var u=0;u<=a.SheetNames.length;++u){var h=a.Sheets[a.SheetNames[u]];h&&h["!ref"]&&dc(h["!ref"]).e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+a.SheetNames[u]+"' extends beyond column IV (255). Data may be lost.")}var d=c||{};switch(d.biff||2){case 8:case 5:return function(p,g){var A=g||{},m=[];p&&!p.SSF&&(p.SSF=Ro(xi)),p&&p.SSF&&(hp(),r1(p.SSF),A.revssf=Ap(p.SSF),A.revssf[p.SSF[65535]]=0,A.ssf=p.SSF),A.Strings=[],A.Strings.Count=0,A.Strings.Unique=0,G1(A),A.cellXfs=[],rl(A.cellXfs,{},{revssf:{General:0}}),p.Props||(p.Props={});for(var y=0;y<p.SheetNames.length;++y)m[m.length]=bb(y,A,p);return m.unshift(cB(p,m,A)),Jo(m)}(a,c);case 4:case 3:case 2:return cm(a,c)}throw new Error("invalid type "+d.bookType+" for BIFF")}function lB(a,c){var u=c||{},h=u.dense?[]:{},d=(a=a.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!d)throw new Error("Invalid HTML: could not find <table>");var p=a.match(/<\/table/i),g=d.index,A=p&&p.index||a.length,m=b5(a.slice(g,A),/(:?<tr[^>]*>)/i,"<tr>"),y=-1,b=0,I=0,E=0,B={s:{r:1e7,c:1e7},e:{r:0,c:0}},S=[];for(g=0;g<m.length;++g){var _=m[g].trim(),D=_.slice(0,3).toLowerCase();if(D!="<tr"){if(D=="<td"||D=="<th"){var T=_.split(/<\/t[dh]>/i);for(A=0;A<T.length;++A){var F=T[A].trim();if(F.match(/<t[dh]/i)){for(var N=F,H=0;N.charAt(0)=="<"&&(H=N.indexOf(">"))>-1;)N=N.slice(H+1);for(var W=0;W<S.length;++W){var V=S[W];V.s.c==b&&V.s.r<y&&y<=V.e.r&&(b=V.e.c+1,W=-1)}var te=ii(F.slice(0,F.indexOf(">")));E=te.colspan?+te.colspan:1,((I=+te.rowspan)>1||E>1)&&S.push({s:{r:y,c:b},e:{r:y+(I||1)-1,c:b+E-1}});var ue=te.t||te["data-t"]||"";if(N.length)if(N=Fd(N),B.s.r>y&&(B.s.r=y),B.e.r<y&&(B.e.r=y),B.s.c>b&&(B.s.c=b),B.e.c<b&&(B.e.c=b),N.length){var fe={t:"s",v:N};u.raw||!N.trim().length||ue=="s"||(N==="TRUE"?fe={t:"b",v:!0}:N==="FALSE"?fe={t:"b",v:!1}:isNaN(_h(N))?isNaN(Md(N).getDate())||(fe={t:"d",v:Po(N)},u.cellDates||(fe={t:"n",v:Ys(fe.v)}),fe.z=u.dateNF||xi[14]):fe={t:"n",v:_h(N)}),u.dense?(h[y]||(h[y]=[]),h[y][b]=fe):h[Mi({r:y,c:b})]=fe,b+=E}else b+=E;else b+=E}}}}else{if(++y,u.sheetRows&&u.sheetRows<=y){--y;break}b=0}}return h["!ref"]=bi(B),S.length&&(h["!merges"]=S),h}function hB(a,c,u,h){for(var d=a["!merges"]||[],p=[],g=c.s.c;g<=c.e.c;++g){for(var A=0,m=0,y=0;y<d.length;++y)if(!(d[y].s.r>u||d[y].s.c>g||d[y].e.r<u||d[y].e.c<g)){if(d[y].s.r<u||d[y].s.c<g){A=-1;break}A=d[y].e.r-d[y].s.r+1,m=d[y].e.c-d[y].s.c+1;break}if(!(A<0)){var b=Mi({r:u,c:g}),I=h.dense?(a[u]||[])[g]:a[b],E=I&&I.v!=null&&(I.h||dp(I.w||(wA(I),I.w)||""))||"",B={};A>1&&(B.rowspan=A),m>1&&(B.colspan=m),h.editable?E='<span contenteditable="true">'+E+"</span>":I&&(B["data-t"]=I&&I.t||"z",I.v!=null&&(B["data-v"]=I.v),I.z!=null&&(B["data-z"]=I.z),I.l&&(I.l.Target||"#").charAt(0)!="#"&&(E='<a href="'+I.l.Target+'">'+E+"</a>")),B.id=(h.id||"sjs")+"-"+b,p.push(on("td",E,B))}}return"<tr>"+p.join("")+"</tr>"}var wb={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function lm(a,c){var u,h,d,p,g,A,m,y,b=c||{},I=$l(a),E=[],B={name:""},S="",_=0,D={},T=[],F=b.dense?[]:{},N={value:""},H="",W=0,V=[],te=-1,ue=-1,fe={s:{r:1e6,c:1e7},e:{r:0,c:0}},de=0,Ae={},we=[],Z={},ne=[],j=1,J=1,q=[],z={Names:[]},X={},se=["",""],oe=[],ye={},ae="",me=0,Fe=!1,_e=!1,rt=0;for(Nd.lastIndex=0,I=I.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");g=Nd.exec(I);)switch(g[3]=g[3].replace(/_.*$/,"")){case"table":case"工作表":g[1]==="/"?(fe.e.c>=fe.s.c&&fe.e.r>=fe.s.r?F["!ref"]=bi(fe):F["!ref"]="A1:A1",b.sheetRows>0&&b.sheetRows<=fe.e.r&&(F["!fullref"]=F["!ref"],fe.e.r=b.sheetRows-1,F["!ref"]=bi(fe)),we.length&&(F["!merges"]=we),ne.length&&(F["!rows"]=ne),d.name=d.名称||d.name,typeof JSON<"u"&&JSON.stringify(d),T.push(d.name),D[d.name]=F,_e=!1):g[0].charAt(g[0].length-2)!=="/"&&(d=ii(g[0],!1),te=ue=-1,fe.s.r=fe.s.c=1e7,fe.e.r=fe.e.c=0,F=b.dense?[]:{},we=[],ne=[],_e=!0);break;case"table-row-group":g[1]==="/"?--de:++de;break;case"table-row":case"行":if(g[1]==="/"){te+=j,j=1;break}if((p=ii(g[0],!1)).行号?te=p.行号-1:te==-1&&(te=0),(j=+p["number-rows-repeated"]||1)<10)for(rt=0;rt<j;++rt)de>0&&(ne[te+rt]={level:de});ue=-1;break;case"covered-table-cell":g[1]!=="/"&&++ue,b.sheetStubs&&(b.dense?(F[te]||(F[te]=[]),F[te][ue]={t:"z"}):F[Mi({r:te,c:ue})]={t:"z"}),H="",V=[];break;case"table-cell":case"数据":if(g[0].charAt(g[0].length-2)==="/")++ue,N=ii(g[0],!1),J=parseInt(N["number-columns-repeated"]||"1",10),A={t:"z",v:null},N.formula&&b.cellFormula!=0&&(A.f=im(ji(N.formula))),(N.数据类型||N["value-type"])=="string"&&(A.t="s",A.v=ji(N["string-value"]||""),b.dense?(F[te]||(F[te]=[]),F[te][ue]=A):F[Mi({r:te,c:ue})]=A),ue+=J-1;else if(g[1]!=="/"){H="",W=0,V=[],J=1;var et=j?te+j-1:te;if(++ue>fe.e.c&&(fe.e.c=ue),ue<fe.s.c&&(fe.s.c=ue),te<fe.s.r&&(fe.s.r=te),et>fe.e.r&&(fe.e.r=et),oe=[],ye={},A={t:(N=ii(g[0],!1)).数据类型||N["value-type"],v:null},b.cellFormula)if(N.formula&&(N.formula=ji(N.formula)),N["number-matrix-columns-spanned"]&&N["number-matrix-rows-spanned"]&&(Z={s:{r:te,c:ue},e:{r:te+(parseInt(N["number-matrix-rows-spanned"],10)||0)-1,c:ue+(parseInt(N["number-matrix-columns-spanned"],10)||0)-1}},A.F=bi(Z),q.push([Z,A.F])),N.formula)A.f=im(N.formula);else for(rt=0;rt<q.length;++rt)te>=q[rt][0].s.r&&te<=q[rt][0].e.r&&ue>=q[rt][0].s.c&&ue<=q[rt][0].e.c&&(A.F=q[rt][1]);switch((N["number-columns-spanned"]||N["number-rows-spanned"])&&(Z={s:{r:te,c:ue},e:{r:te+(parseInt(N["number-rows-spanned"],10)||0)-1,c:ue+(parseInt(N["number-columns-spanned"],10)||0)-1}},we.push(Z)),N["number-columns-repeated"]&&(J=parseInt(N["number-columns-repeated"],10)),A.t){case"boolean":A.t="b",A.v=po(N["boolean-value"]);break;case"float":case"percentage":case"currency":A.t="n",A.v=parseFloat(N.value);break;case"date":A.t="d",A.v=Po(N["date-value"]),b.cellDates||(A.t="n",A.v=Ys(A.v)),A.z="m/d/yy";break;case"time":A.t="n",A.v=wy(N["time-value"])/86400,b.cellDates&&(A.t="d",A.v=Cy(A.v)),A.z="HH:MM:SS";break;case"number":A.t="n",A.v=parseFloat(N.数据数值);break;default:if(A.t!=="string"&&A.t!=="text"&&A.t)throw new Error("Unsupported value type "+A.t);A.t="s",N["string-value"]!=null&&(H=ji(N["string-value"]),V=[])}}else{if(Fe=!1,A.t==="s"&&(A.v=H||"",V.length&&(A.R=V),Fe=W==0),X.Target&&(A.l=X),oe.length>0&&(A.c=oe,oe=[]),H&&b.cellText!==!1&&(A.w=H),Fe&&(A.t="z",delete A.v),(!Fe||b.sheetStubs)&&!(b.sheetRows&&b.sheetRows<=te))for(var st=0;st<j;++st){if(J=parseInt(N["number-columns-repeated"]||"1",10),b.dense)for(F[te+st]||(F[te+st]=[]),F[te+st][ue]=st==0?A:Ro(A);--J>0;)F[te+st][ue+J]=Ro(A);else for(F[Mi({r:te+st,c:ue})]=A;--J>0;)F[Mi({r:te+st,c:ue+J})]=Ro(A);fe.e.c<=ue&&(fe.e.c=ue)}ue+=(J=parseInt(N["number-columns-repeated"]||"1",10))-1,J=0,A={},H="",V=[]}X={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(g[1]==="/"){if((u=E.pop())[0]!==g[3])throw"Bad state: "+u}else g[0].charAt(g[0].length-2)!=="/"&&E.push([g[3],!0]);break;case"annotation":if(g[1]==="/"){if((u=E.pop())[0]!==g[3])throw"Bad state: "+u;ye.t=H,V.length&&(ye.R=V),ye.a=ae,oe.push(ye)}else g[0].charAt(g[0].length-2)!=="/"&&E.push([g[3],!1]);ae="",me=0,H="",W=0,V=[];break;case"creator":g[1]==="/"?ae=I.slice(me,g.index):me=g.index+g[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(g[1]==="/"){if((u=E.pop())[0]!==g[3])throw"Bad state: "+u}else g[0].charAt(g[0].length-2)!=="/"&&E.push([g[3],!1]);H="",W=0,V=[];break;case"scientific-number":case"currency-symbol":case"currency-style":case"script":case"libraries":case"automatic-styles":case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":case"fraction":case"boolean-style":case"boolean":case"text-style":case"text-content":case"text-properties":case"embedded-text":case"body":case"电子表格":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":case"s":case"date":case"object":case"title":case"标题":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(g[1]==="/"){if(Ae[B.name]=S,(u=E.pop())[0]!==g[3])throw"Bad state: "+u}else g[0].charAt(g[0].length-2)!=="/"&&(S="",B=ii(g[0],!1),E.push([g[3],!0]));break;case"number":case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(E[E.length-1][0]){case"time-style":case"date-style":h=ii(g[0],!1),S+=wb[g[3]][h.style==="long"?1:0]}break;case"text":if(g[0].slice(-2)==="/>")break;if(g[1]==="/")switch(E[E.length-1][0]){case"number-style":case"date-style":case"time-style":S+=I.slice(_,g.index)}else _=g.index+g[0].length;break;case"named-range":se=Qf((h=ii(g[0],!1))["cell-range-address"]);var Ge={Name:h.name,Ref:se[0]+"!"+se[1]};_e&&(Ge.Sheet=T.length),z.Names.push(Ge);break;case"p":case"文本串":if(["master-styles"].indexOf(E[E.length-1][0])>-1)break;if(g[1]!=="/"||N&&N["string-value"])ii(g[0],!1),W=g.index+g[0].length;else{var Be=(m=I.slice(W,g.index),y=void 0,y=m.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(je,lt){return Array(parseInt(lt,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g," ").replace(/<text:line-break\/>/g,`
  149. `),[ji(y.replace(/<[^>]*>/g,""))]);H=(H.length>0?H+`
  150. `:"")+Be[0]}break;case"database-range":if(g[1]==="/")break;try{D[(se=Qf(ii(g[0])["target-range-address"]))[0]]["!autofilter"]={ref:se[1]}}catch{}break;case"a":if(g[1]!=="/"){if(!(X=ii(g[0],!1)).href)break;X.Target=ji(X.href),delete X.href,X.Target.charAt(0)=="#"&&X.Target.indexOf(".")>-1?(se=Qf(X.Target.slice(1)),X.Target="#"+se[0]+"!"+se[1]):X.Target.match(/^\.\.[\\\/]/)&&(X.Target=X.Target.slice(3))}break;default:switch(g[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(b.WTF)throw new Error(g)}}var Te={Sheets:D,SheetNames:T,Workbook:z};return b.bookSheets&&delete Te.Sheets,Te}function hm(a,c){c=c||{},Bl(a,"META-INF/manifest.xml")&&function(d,p){for(var g,A,m=$l(d);g=Nd.exec(m);)switch(g[3]){case"manifest":break;case"file-entry":if((A=ii(g[0],!1)).path=="/"&&A.type!=="application/vnd.oasis.opendocument.spreadsheet")throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(p&&p.WTF)throw g}}(Qs(a,"META-INF/manifest.xml"),c);var u=Qc(a,"content.xml");if(!u)throw new Error("Missing content.xml in ODS / UOF file");var h=lm(vo(u),c);return Bl(a,"meta.xml")&&(h.Props=eE(Qs(a,"meta.xml"))),h}function fm(a,c){return lm(a,c)}var Yp=function(){var a=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),c="<office:document-styles "+Ld({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+a+"</office:document-styles>";return function(){return ts+c}}(),fB=function(){var a=` <table:table-cell />
  151. `,c=function(u,h,d){var p=[];p.push(' <table:table table:name="'+Xa(h.SheetNames[d])+`" table:style-name="ta1">
  152. `);var g=0,A=0,m=dc(u["!ref"]||"A1"),y=u["!merges"]||[],b=0,I=Array.isArray(u);if(u["!cols"])for(A=0;A<=m.e.c;++A)p.push(" <table:table-column"+(u["!cols"][A]?' table:style-name="co'+u["!cols"][A].ods+'"':"")+`></table:table-column>
  153. `);var E="",B=u["!rows"]||[];for(g=0;g<m.s.r;++g)E=B[g]?' table:style-name="ro'+B[g].ods+'"':"",p.push(" <table:table-row"+E+`></table:table-row>
  154. `);for(;g<=m.e.r;++g){for(E=B[g]?' table:style-name="ro'+B[g].ods+'"':"",p.push(" <table:table-row"+E+`>
  155. `),A=0;A<m.s.c;++A)p.push(a);for(;A<=m.e.c;++A){var S=!1,_={},D="";for(b=0;b!=y.length;++b)if(!(y[b].s.c>A||y[b].s.r>g||y[b].e.c<A||y[b].e.r<g)){y[b].s.c==A&&y[b].s.r==g||(S=!0),_["table:number-columns-spanned"]=y[b].e.c-y[b].s.c+1,_["table:number-rows-spanned"]=y[b].e.r-y[b].s.r+1;break}if(S)p.push(` <table:covered-table-cell/>
  156. `);else{var T=Mi({r:g,c:A}),F=I?(u[g]||[])[A]:u[T];if(F&&F.f&&(_["table:formula"]=Xa(("of:="+F.f.replace(Mc,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")),F.F&&F.F.slice(0,T.length)==T)){var N=dc(F.F);_["table:number-matrix-columns-spanned"]=N.e.c-N.s.c+1,_["table:number-matrix-rows-spanned"]=N.e.r-N.s.r+1}if(F){switch(F.t){case"b":D=F.v?"TRUE":"FALSE",_["office:value-type"]="boolean",_["office:boolean-value"]=F.v?"true":"false";break;case"n":D=F.w||String(F.v||0),_["office:value-type"]="float",_["office:value"]=F.v||0;break;case"s":case"str":D=F.v==null?"":F.v,_["office:value-type"]="string";break;case"d":D=F.w||Po(F.v).toISOString(),_["office:value-type"]="date",_["office:date-value"]=Po(F.v).toISOString(),_["table:style-name"]="ce1";break;default:p.push(a);continue}var H=Xa(D).replace(/ +/g,function(V){return'<text:s text:c="'+V.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>");if(F.l&&F.l.Target){var W=F.l.Target;(W=W.charAt(0)=="#"?"#"+W.slice(1).replace(/\./,"!"):W).charAt(0)=="#"||W.match(/^\w+:/)||(W="../"+W),H=on("text:a",H,{"xlink:href":W.replace(/&/g,"&amp;")})}p.push(" "+on("table:table-cell",on("text:p",H,{}),_)+`
  157. `)}else p.push(a)}}p.push(` </table:table-row>
  158. `)}return p.push(` </table:table>
  159. `),p.join("")};return function(u,h){var d=[ts],p=Ld({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),g=Ld({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});h.bookType=="fods"?(d.push("<office:document"+p+g+`>
  160. `),d.push(SA().replace(/office:document-meta/g,"office:meta"))):d.push("<office:document-content"+p+`>
  161. `),function(m,y){m.push(` <office:automatic-styles>
  162. `),m.push(` <number:date-style style:name="N37" number:automatic-order="true">
  163. `),m.push(` <number:month number:style="long"/>
  164. `),m.push(` <number:text>/</number:text>
  165. `),m.push(` <number:day number:style="long"/>
  166. `),m.push(` <number:text>/</number:text>
  167. `),m.push(` <number:year/>
  168. `),m.push(` </number:date-style>
  169. `);var b=0;y.SheetNames.map(function(E){return y.Sheets[E]}).forEach(function(E){if(E&&E["!cols"]){for(var B=0;B<E["!cols"].length;++B)if(E["!cols"][B]){var S=E["!cols"][B];if(S.width==null&&S.wpx==null&&S.wch==null)continue;Uo(S),S.ods=b;var _=E["!cols"][B].wpx+"px";m.push(' <style:style style:name="co'+b+`" style:family="table-column">
  170. `),m.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+_+`"/>
  171. `),m.push(` </style:style>
  172. `),++b}}});var I=0;y.SheetNames.map(function(E){return y.Sheets[E]}).forEach(function(E){if(E&&E["!rows"]){for(var B=0;B<E["!rows"].length;++B)if(E["!rows"][B]){E["!rows"][B].ods=I;var S=E["!rows"][B].hpx+"px";m.push(' <style:style style:name="ro'+I+`" style:family="table-row">
  173. `),m.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+S+`"/>
  174. `),m.push(` </style:style>
  175. `),++I}}}),m.push(` <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">
  176. `),m.push(` <style:table-properties table:display="true" style:writing-mode="lr-tb"/>
  177. `),m.push(` </style:style>
  178. `),m.push(` <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>
  179. `),m.push(` </office:automatic-styles>
  180. `)}(d,u),d.push(` <office:body>
  181. `),d.push(` <office:spreadsheet>
  182. `);for(var A=0;A!=u.SheetNames.length;++A)d.push(c(u.Sheets[u.SheetNames[A]],u,A));return d.push(` </office:spreadsheet>
  183. `),d.push(` </office:body>
  184. `),h.bookType=="fods"?d.push("</office:document>"):d.push("</office:document-content>"),d.join("")}}();function O1(a,c){if(c.bookType=="fods")return fB(a,c);var u=sI(),h="",d=[],p=[];return Zi(u,h="mimetype","application/vnd.oasis.opendocument.spreadsheet"),Zi(u,h="content.xml",fB(a,c)),d.push([h,"text/xml"]),p.push([h,"ContentFile"]),Zi(u,h="styles.xml",Yp(a,c)),d.push([h,"text/xml"]),p.push([h,"StylesFile"]),Zi(u,h="meta.xml",ts+SA()),d.push([h,"text/xml"]),p.push([h,"MetadataFile"]),Zi(u,h="manifest.rdf",function(g){var A,m,y=[ts];y.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  185. `);for(var b=0;b!=g.length;++b)y.push(hu(g[b][0],g[b][1])),y.push((A="",m=g[b][0],[' <rdf:Description rdf:about="'+A+`">
  186. `,' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+m+`"/>
  187. `,` </rdf:Description>
  188. `].join("")));return y.push(hu("","Document","pkg")),y.push("</rdf:RDF>"),y.join("")}(p)),d.push([h,"application/rdf+xml"]),Zi(u,h="META-INF/manifest.xml",function(g){var A=[ts];A.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">
  189. `),A.push(` <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>
  190. `);for(var m=0;m<g.length;++m)A.push(' <manifest:file-entry manifest:full-path="'+g[m][0]+'" manifest:media-type="'+g[m][1]+`"/>
  191. `);return A.push("</manifest:manifest>"),A.join("")}(d)),u}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function xf(a){return new DataView(a.buffer,a.byteOffset,a.byteLength)}function dg(a){return typeof TextDecoder<"u"?new TextDecoder().decode(a):vo(Af(a))}function vk(a){return typeof TextEncoder<"u"?new TextEncoder().encode(a):Zc(Dh(a))}function jh(a){var c=a.reduce(function(d,p){return d+p.length},0),u=new Uint8Array(c),h=0;return a.forEach(function(d){u.set(d,h),h+=d.length}),u}function Sf(a){return 16843009*((a=(858993459&(a-=a>>1&1431655765))+(a>>2&858993459))+(a>>4)&252645135)>>>24}function P1(a,c){var u=c?c[0]:0,h=127&a[u];e:if(a[u++]>=128&&(h|=(127&a[u])<<7,a[u++]<128||(h|=(127&a[u])<<14,a[u++]<128)||(h|=(127&a[u])<<21,a[u++]<128)||(h+=(127&a[u])*Math.pow(2,28),++u,a[u++]<128)||(h+=(127&a[u])*Math.pow(2,35),++u,a[u++]<128)||(h+=(127&a[u])*Math.pow(2,42),++u,a[u++]<128)))break e;return c&&(c[0]=u),h}function ro(a){var c=new Uint8Array(7);c[0]=127&a;var u=1;e:if(a>127){if(c[u-1]|=128,c[u]=a>>7&127,++u,a<=16383||(c[u-1]|=128,c[u]=a>>14&127,++u,a<=2097151)||(c[u-1]|=128,c[u]=a>>21&127,++u,a<=268435455)||(c[u-1]|=128,c[u]=a/256>>>21&127,++u,a<=34359738367)||(c[u-1]|=128,c[u]=a/65536>>>21&127,++u,a<=4398046511103))break e;c[u-1]|=128,c[u]=a/16777216>>>21&127,++u}return c.slice(0,u)}function qo(a){var c=0,u=127&a[c];e:if(a[c++]>=128){if(u|=(127&a[c])<<7,a[c++]<128||(u|=(127&a[c])<<14,a[c++]<128)||(u|=(127&a[c])<<21,a[c++]<128))break e;u|=(127&a[c])<<28}return u}function qa(a){for(var c=[],u=[0];u[0]<a.length;){var h,d=u[0],p=P1(a,u),g=7&p,A=0;if((p=Math.floor(p/8))==0)break;switch(g){case 0:for(var m=u[0];a[u[0]++]>=128;);h=a.slice(m,u[0]);break;case 5:A=4,h=a.slice(u[0],u[0]+A),u[0]+=A;break;case 1:A=8,h=a.slice(u[0],u[0]+A),u[0]+=A;break;case 2:A=P1(a,u),h=a.slice(u[0],u[0]+A),u[0]+=A;break;default:throw new Error("PB Type ".concat(g," for Field ").concat(p," at offset ").concat(d))}var y={data:h,type:g};c[p]==null?c[p]=[y]:c[p].push(y)}return c}function Au(a){var c=[];return a.forEach(function(u,h){u.forEach(function(d){d.data&&(c.push(ro(8*h+d.type)),d.type==2&&c.push(ro(d.data.length)),c.push(d.data))})}),jh(c)}function Eb(a,c){return(a==null?void 0:a.map(function(u){return c(u.data)}))||[]}function Pl(a){for(var c,u=[],h=[0];h[0]<a.length;){var d=P1(a,h),p=qa(a.slice(h[0],h[0]+d));h[0]+=d;var g={id:qo(p[1][0].data),messages:[]};p[2].forEach(function(A){var m=qa(A.data),y=qo(m[3][0].data);g.messages.push({meta:m,data:a.slice(h[0],h[0]+y)}),h[0]+=y}),(c=p[3])!=null&&c[0]&&(g.merge=qo(p[3][0].data)>>>0>0),u.push(g)}return u}function Jp(a){var c=[];return a.forEach(function(u){var h=[];h[1]=[{data:ro(u.id),type:0}],h[2]=[],u.merge!=null&&(h[3]=[{data:ro(+!!u.merge),type:0}]);var d=[];u.messages.forEach(function(g){d.push(g.data),g.meta[3]=[{type:0,data:ro(g.data.length)}],h[2].push({data:Au(g.meta),type:2})});var p=Au(h);c.push(ro(p.length)),c.push(p),d.forEach(function(g){return c.push(g)})}),jh(c)}function yk(a,c){if(a!=0)throw new Error("Unexpected Snappy chunk type ".concat(a));for(var u=[0],h=P1(c,u),d=[];u[0]<c.length;){var p=3&c[u[0]];if(p!=0){var g=0,A=0;if(p==1?(A=4+(c[u[0]]>>2&7),g=(224&c[u[0]++])<<3,g|=c[u[0]++]):(A=1+(c[u[0]++]>>2),p==2?(g=c[u[0]]|c[u[0]+1]<<8,u[0]+=2):(g=(c[u[0]]|c[u[0]+1]<<8|c[u[0]+2]<<16|c[u[0]+3]<<24)>>>0,u[0]+=4)),d=[jh(d)],g==0)throw new Error("Invalid offset 0");if(g>d[0].length)throw new Error("Invalid offset beyond length");if(A>=g)for(d.push(d[0].slice(-g)),A-=g;A>=d[d.length-1].length;)d.push(d[d.length-1]),A-=d[d.length-1].length;d.push(d[0].slice(-g,-g+A))}else{var m=c[u[0]++]>>2;if(m<60)++m;else{var y=m-59;m=c[u[0]],y>1&&(m|=c[u[0]+1]<<8),y>2&&(m|=c[u[0]+2]<<16),y>3&&(m|=c[u[0]+3]<<24),m>>>=0,m++,u[0]+=y}d.push(c.slice(u[0],u[0]+m)),u[0]+=m}}var b=jh(d);if(b.length!=h)throw new Error("Unexpected length: ".concat(b.length," != ").concat(h));return b}function Gl(a){for(var c=[],u=0;u<a.length;){var h=a[u++],d=a[u]|a[u+1]<<8|a[u+2]<<16;u+=3,c.push(yk(h,a.slice(u,u+d))),u+=d}if(u!==a.length)throw new Error("data is not a valid framed stream!");return jh(c)}function Wp(a){for(var c=[],u=0;u<a.length;){var h=Math.min(a.length-u,268435455),d=new Uint8Array(4);c.push(d);var p=ro(h),g=p.length;c.push(p),h<=60?(g++,c.push(new Uint8Array([h-1<<2]))):h<=256?(g+=2,c.push(new Uint8Array([240,h-1&255]))):h<=65536?(g+=3,c.push(new Uint8Array([244,h-1&255,h-1>>8&255]))):h<=16777216?(g+=4,c.push(new Uint8Array([248,h-1&255,h-1>>8&255,h-1>>16&255]))):h<=4294967296&&(g+=5,c.push(new Uint8Array([252,h-1&255,h-1>>8&255,h-1>>16&255,h-1>>>24&255]))),c.push(a.slice(u,u+h)),g+=h,d[0]=0,d[1]=255&g,d[2]=g>>8&255,d[3]=g>>16&255,u+=h}return jh(c)}function mk(a,c,u){var h,d=xf(a),p=d.getUint32(8,!0),g=12,A=-1,m=-1,y=NaN,b=NaN,I=new Date(2001,0,1);switch(1&p&&(y=function(E,B){for(var S=(127&E[B+15])<<7|E[B+14]>>1,_=1&E[B+14],D=B+13;D>=B;--D)_=256*_+E[D];return(128&E[B+15]?-_:_)*Math.pow(10,S-6176)}(a,g),g+=16),2&p&&(b=d.getFloat64(g,!0),g+=8),4&p&&(I.setTime(I.getTime()+1e3*d.getFloat64(g,!0)),g+=8),8&p&&(m=d.getUint32(g,!0),g+=4),16&p&&(A=d.getUint32(g,!0),g+=4),a[1]){case 0:break;case 2:case 10:h={t:"n",v:y};break;case 3:h={t:"s",v:c[m]};break;case 5:h={t:"d",v:I};break;case 6:h={t:"b",v:b>0};break;case 7:h={t:"n",v:b/86400};break;case 8:h={t:"e",v:0};break;case 9:if(!(A>-1))throw new Error("Unsupported cell type ".concat(a[1]," : ").concat(31&p," : ").concat(a.slice(0,4)));h={t:"s",v:u[A]};break;default:throw new Error("Unsupported cell type ".concat(a[1]," : ").concat(31&p," : ").concat(a.slice(0,4)))}return h}function Bb(a,c){var u=new Uint8Array(32),h=xf(u),d=12,p=0;switch(u[0]=5,a.t){case"n":u[1]=2,function(g,A,m){var y=Math.floor(m==0?0:Math.LOG10E*Math.log(Math.abs(m)))+6176-20,b=m/Math.pow(10,y-6176);g[A+15]|=y>>7,g[A+14]|=(127&y)<<1;for(var I=0;b>=1;++I,b/=256)g[A+I]=255&b;g[A+15]|=m>=0?0:128}(u,d,a.v),p|=1,d+=16;break;case"b":u[1]=6,h.setFloat64(d,a.v?1:0,!0),p|=2,d+=8;break;case"s":if(c.indexOf(a.v)==-1)throw new Error("Value ".concat(a.v," missing from SST!"));u[1]=3,h.setUint32(d,c.indexOf(a.v),!0),p|=8,d+=4;break;default:throw"unsupported cell type "+a.t}return h.setUint32(8,p,!0),u.slice(0,d)}function Am(a,c){var u=new Uint8Array(32),h=xf(u),d=12,p=0;switch(u[0]=3,a.t){case"n":u[2]=2,h.setFloat64(d,a.v,!0),p|=32,d+=8;break;case"b":u[2]=6,h.setFloat64(d,a.v?1:0,!0),p|=32,d+=8;break;case"s":if(c.indexOf(a.v)==-1)throw new Error("Value ".concat(a.v," missing from SST!"));u[2]=3,h.setUint32(d,c.indexOf(a.v),!0),p|=16,d+=4;break;default:throw"unsupported cell type "+a.t}return h.setUint32(4,p,!0),u.slice(0,d)}function Ik(a,c,u){switch(a[0]){case 0:case 1:case 2:case 3:return function(h,d,p,g){var A,m=xf(h),y=m.getUint32(4,!0),b=(g>1?12:8)+4*Sf(y&(g>1?3470:398)),I=-1,E=-1,B=NaN,S=new Date(2001,0,1);switch(512&y&&(I=m.getUint32(b,!0),b+=4),b+=4*Sf(y&(g>1?12288:4096)),16&y&&(E=m.getUint32(b,!0),b+=4),32&y&&(B=m.getFloat64(b,!0),b+=8),64&y&&(S.setTime(S.getTime()+1e3*m.getFloat64(b,!0)),b+=8),h[2]){case 0:break;case 2:A={t:"n",v:B};break;case 3:A={t:"s",v:d[E]};break;case 5:A={t:"d",v:S};break;case 6:A={t:"b",v:B>0};break;case 7:A={t:"n",v:B/86400};break;case 8:A={t:"e",v:0};break;case 9:if(I>-1)A={t:"s",v:p[I]};else if(E>-1)A={t:"s",v:d[E]};else{if(isNaN(B))throw new Error("Unsupported cell type ".concat(h.slice(0,4)));A={t:"n",v:B}}break;default:throw new Error("Unsupported cell type ".concat(h.slice(0,4)))}return A}(a,c,u,a[0]);case 5:return mk(a,c,u);default:throw new Error("Unsupported payload version ".concat(a[0]))}}function qu(a){return P1(qa(a)[1][0].data)}function AB(a,c){var u=qa(c.data),h=qo(u[1][0].data),d=u[3],p=[];return(d||[]).forEach(function(g){var A=qa(g.data),m=qo(A[1][0].data)>>>0;switch(h){case 1:p[m]=dg(A[3][0].data);break;case 8:var y=qa(a[qu(A[9][0].data)][0].data),b=a[qu(y[1][0].data)][0],I=qo(b.meta[1][0].data);if(I!=2001)throw new Error("2000 unexpected reference to ".concat(I));var E=qa(b.data);p[m]=E[3].map(function(B){return dg(B.data)}).join("")}}),p}function kb(a,c){var u,h=qa(c.data),d=(u=h==null?void 0:h[7])!=null&&u[0]?qo(h[7][0].data)>>>0>0?1:0:-1,p=Eb(h[5],function(g){return function(A,m){var y,b,I,E,B,S,_,D,T,F,N,H,W,V,te,ue,fe=qa(A),de=qo(fe[1][0].data)>>>0,Ae=qo(fe[2][0].data)>>>0,we=((b=(y=fe[8])==null?void 0:y[0])==null?void 0:b.data)&&qo(fe[8][0].data)>0||!1;if((E=(I=fe[7])==null?void 0:I[0])!=null&&E.data&&m!=0)te=(S=(B=fe[7])==null?void 0:B[0])==null?void 0:S.data,ue=(D=(_=fe[6])==null?void 0:_[0])==null?void 0:D.data;else{if(!((F=(T=fe[4])==null?void 0:T[0])!=null&&F.data)||m==1)throw"NUMBERS Tile missing ".concat(m," cell storage");te=(H=(N=fe[4])==null?void 0:N[0])==null?void 0:H.data,ue=(V=(W=fe[3])==null?void 0:W[0])==null?void 0:V.data}for(var Z=we?4:1,ne=xf(te),j=[],J=0;J<te.length/2;++J){var q=ne.getUint16(2*J,!0);q<65535&&j.push([J,q])}if(j.length!=Ae)throw"Expected ".concat(Ae," cells, found ").concat(j.length);var z=[];for(J=0;J<j.length-1;++J)z[j[J][0]]=ue.subarray(j[J][1]*Z,j[J+1][1]*Z);return j.length>=1&&(z[j[j.length-1][0]]=ue.subarray(j[j.length-1][1]*Z)),{R:de,cells:z}}(g,d)});return{nrows:qo(h[4][0].data)>>>0,data:p.reduce(function(g,A){return g[A.R]||(g[A.R]=[]),A.cells.forEach(function(m,y){if(g[A.R][y])throw new Error("Duplicate cell r=".concat(A.R," c=").concat(y));g[A.R][y]=m}),g},[])}}function dm(a,c){var u={"!ref":"A1"},h=a[qu(qa(c.data)[2][0].data)],d=qo(h[0].meta[1][0].data);if(d!=6001)throw new Error("6000 unexpected reference to ".concat(d));return function(p,g,A){var m,y=qa(g.data),b={s:{r:0,c:0},e:{r:0,c:0}};if(b.e.r=(qo(y[6][0].data)>>>0)-1,b.e.r<0)throw new Error("Invalid row varint ".concat(y[6][0].data));if(b.e.c=(qo(y[7][0].data)>>>0)-1,b.e.c<0)throw new Error("Invalid col varint ".concat(y[7][0].data));A["!ref"]=bi(b);var I=qa(y[4][0].data),E=AB(p,p[qu(I[4][0].data)][0]),B=(m=I[17])!=null&&m[0]?AB(p,p[qu(I[17][0].data)][0]):[],S=qa(I[3][0].data),_=0;S[1].forEach(function(D){var T=qa(D.data),F=p[qu(T[2][0].data)][0],N=qo(F.meta[1][0].data);if(N!=6002)throw new Error("6001 unexpected reference to ".concat(N));var H=kb(0,F);H.data.forEach(function(W,V){W.forEach(function(te,ue){var fe=Mi({r:_+V,c:ue}),de=Ik(te,E,B);de&&(A[fe]=de)})}),_+=H.nrows})}(a,h[0],u),u}function bk(a,c){var u={SheetNames:[],Sheets:{}};if(Eb(qa(c.data)[1],qu).forEach(function(h){a[h].forEach(function(d){if(qo(d.meta[1][0].data)==2){var p=function(g,A){var m,y=qa(A.data),b={name:(m=y[1])!=null&&m[0]?dg(y[1][0].data):"",sheets:[]};return Eb(y[2],qu).forEach(function(I){g[I].forEach(function(E){qo(E.meta[1][0].data)==6e3&&b.sheets.push(dm(g,E))})}),b}(a,d);p.sheets.forEach(function(g,A){Fb(u,g,A==0?p.name:p.name+"_"+A,!0)})}})}),u.SheetNames.length==0)throw new Error("Empty NUMBERS file");return u}function Qb(a){var c,u,h,d,p={},g=[];if(a.FullPaths.forEach(function(m){if(m.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),a.FileIndex.forEach(function(m){if(m.name.match(/\.iwa$/)){var y,b;try{y=Gl(m.content)}catch(I){return console.log("?? "+m.content.length+" "+(I.message||I))}try{b=Pl(y)}catch(I){return console.log("## "+(I.message||I))}b.forEach(function(I){p[I.id]=I.messages,g.push(I.id)})}}),!g.length)throw new Error("File has no messages");var A=((d=(h=(u=(c=p==null?void 0:p[1])==null?void 0:c[0])==null?void 0:u.meta)==null?void 0:h[1])==null?void 0:d[0].data)&&qo(p[1][0].meta[1][0].data)==1&&p[1][0];if(A||g.forEach(function(m){p[m].forEach(function(y){if(qo(y.meta[1][0].data)>>>0==1){if(A)throw new Error("Document has multiple roots");A=y}})}),!A)throw new Error("Cannot find Document root");return bk(p,A)}function dB(a,c,u){var h,d,p,g;if(!((h=a[6])!=null&&h[0])||!((d=a[7])!=null&&d[0]))throw"Mutation only works on post-BNC storages!";if((g=(p=a[8])==null?void 0:p[0])!=null&&g.data&&qo(a[8][0].data)>0)throw"Math only works with normal offsets";for(var A=0,m=xf(a[7][0].data),y=0,b=[],I=xf(a[4][0].data),E=0,B=[],S=0;S<c.length;++S)if(c[S]!=null){var _,D;switch(m.setUint16(2*S,y,!0),I.setUint16(2*S,E,!0),typeof c[S]){case"string":_=Bb({t:"s",v:c[S]},u),D=Am({t:"s",v:c[S]},u);break;case"number":_=Bb({t:"n",v:c[S]},u),D=Am({t:"n",v:c[S]},u);break;case"boolean":_=Bb({t:"b",v:c[S]},u),D=Am({t:"b",v:c[S]},u);break;default:throw new Error("Unsupported value "+c[S])}b.push(_),y+=_.length,B.push(D),E+=D.length,++A}else m.setUint16(2*S,65535,!0),I.setUint16(2*S,65535);for(a[2][0].data=ro(A);S<a[7][0].data.length/2;++S)m.setUint16(2*S,65535,!0),I.setUint16(2*S,65535,!0);return a[6][0].data=jh(b),a[3][0].data=jh(B),A}function xb(a){return function(c){for(var u=0;u!=a.length;++u){var h=a[u];c[h[0]]===void 0&&(c[h[0]]=h[1]),h[2]==="n"&&(c[h[0]]=Number(c[h[0]]))}}}function gm(a){xb([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(a)}function G1(a){xb([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(a)}function qp(a,c,u,h,d,p,g,A,m,y,b,I){try{p[h]=xA(Qc(a,u,!0),c);var E,B=Qs(a,c);switch(A){case"sheet":E=ck(B,c,d,m,p[h],y,b,I);break;case"chart":if(!(E=zE(B,c,d,m,p[h],y))||!E["!drawel"])break;var S=a1(E["!drawel"].Target,c),_=uo(S),D=function(W,V){if(!W)return"??";var te=(W.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return V["!id"][te].Target}(Qc(a,S,!0),xA(Qc(a,_,!0),S)),T=a1(D,S),F=uo(T);E=Op(Qc(a,T,!0),0,0,xA(Qc(a,F,!0),T),0,E);break;case"macro":H=c,p[h],H.slice(-4),E={"!type":"macro"};break;case"dialog":E=function(W,V){return V.slice(-4),{"!type":"dialog"}}(0,c,0,0,p[h]);break;default:throw new Error("Unrecognized sheet type "+A)}g[h]=E;var N=[];p&&p[h]&&to(p[h]).forEach(function(W){var V="";if(p[h][W].Type==ma.CMNT){V=a1(p[h][W].Target,c);var te=ah(Qs(a,V,!0),V,m);if(!te||!te.length)return;qI(E,te,!1)}p[h][W].Type==ma.TCMNT&&(V=a1(p[h][W].Target,c),N=N.concat(function(ue,fe){var de=[],Ae=!1,we={},Z=0;return ue.replace(Js,function(ne,j){var J=ii(ne);switch(cc(J[0])){case"<?xml":case"<ThreadedComments":case"</ThreadedComments>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<threadedComment":we={author:J.personId,guid:J.id,ref:J.ref,T:1};break;case"</threadedComment>":we.t!=null&&de.push(we);break;case"<text>":case"<text":Z=j+ne.length;break;case"</text>":we.t=ue.slice(Z,j).replace(/\r\n/g,`
  192. `).replace(/\r/g,`
  193. `);break;case"<mentions":case"<mentions>":case"<ext":Ae=!0;break;case"</mentions>":case"</ext>":Ae=!1;break;default:if(!Ae&&fe.WTF)throw new Error("unrecognized "+J[0]+" in threaded comments")}return ne}),de}(Qs(a,V,!0),m)))}),N&&N.length&&qI(E,N,!0,m.people||[])}catch(W){if(m.WTF)throw W}var H}function Rs(a){return a.charAt(0)=="/"?a.slice(1):a}function Ck(a,c){if(hp(),gm(c=c||{}),Bl(a,"META-INF/manifest.xml")||Bl(a,"objectdata.xml"))return hm(a,c);if(Bl(a,"Index/Document.iwa")){if(typeof Uint8Array>"u")throw new Error("NUMBERS file parsing requires Uint8Array support");if(Qb!==void 0){if(a.FileIndex)return Qb(a);var u=ai.utils.cfb_new();return Mw(a).forEach(function(ne){Zi(u,ne,C5(a,ne))}),Qb(u)}throw new Error("Unsupported NUMBERS file")}if(!Bl(a,"[Content_Types].xml"))throw Bl(a,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):Bl(a,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var h,d,p=Mw(a),g=function(ne){var j={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!ne||!ne.match)return j;var J={};if((ne.match(Js)||[]).forEach(function(q){var z=ii(q);switch(z[0].replace(Tw,"<")){case"<?xml":break;case"<Types":j.xmlns=z["xmlns"+(z[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":J[z.Extension]=z.ContentType;break;case"<Override":j[Ly[z.ContentType]]!==void 0&&j[Ly[z.ContentType]].push(z.PartName)}}),j.xmlns!==_y)throw new Error("Unknown Namespace: "+j.xmlns);return j.calcchain=j.calcchains.length>0?j.calcchains[0]:"",j.sst=j.strs.length>0?j.strs[0]:"",j.style=j.styles.length>0?j.styles[0]:"",j.defaults=J,delete j.calcchains,j}(Qc(a,"[Content_Types].xml")),A=!1;if(g.workbooks.length===0&&Qs(a,d="xl/workbook.xml",!0)&&g.workbooks.push(d),g.workbooks.length===0){if(!Qs(a,d="xl/workbook.bin",!0))throw new Error("Could not find workbook");g.workbooks.push(d),A=!0}g.workbooks[0].slice(-3)=="bin"&&(A=!0);var m={},y={};if(!c.bookSheets&&!c.bookProps){if(R1=[],g.sst)try{R1=KE(Qs(a,Rs(g.sst)),g.sst,c)}catch(ne){if(c.WTF)throw ne}c.cellStyles&&g.themes.length&&(m=function(ne,j,J){return QE(ne,J)}(Qc(a,g.themes[0].replace(/^\//,""),!0)||"",g.themes[0],c)),g.style&&(y=lk(Qs(a,Rs(g.style)),g.style,m,c))}g.links.map(function(ne){try{return xA(Qc(a,uo(Rs(ne))),ne),pb(Qs(a,Rs(ne)),0,ne,c)}catch{}});var b=uk(Qs(a,Rs(g.workbooks[0])),g.workbooks[0],c),I={},E="";g.coreprops.length&&((E=Qs(a,Rs(g.coreprops[0]),!0))&&(I=eE(E)),g.extprops.length!==0&&(E=Qs(a,Rs(g.extprops[0]),!0))&&function(ne,j,J){var q={};j||(j={}),ne=vo(ne),zd.forEach(function(z){var X=(ne.match(Fa(z[0]))||[])[1];switch(z[2]){case"string":X&&(j[z[1]]=ji(X));break;case"bool":j[z[1]]=X==="true";break;case"raw":var se=ne.match(new RegExp("<"+z[0]+"[^>]*>([\\s\\S]*?)</"+z[0]+">"));se&&se.length>0&&(q[z[1]]=se[1])}}),q.HeadingPairs&&q.TitlesOfParts&&tE(q.HeadingPairs,q.TitlesOfParts,j,J)}(E,I,c));var B={};c.bookSheets&&!c.bookProps||g.custprops.length!==0&&(E=Qc(a,Rs(g.custprops[0]),!0))&&(B=function(ne,j){var J={},q="",z=ne.match(R5);if(z)for(var X=0;X!=z.length;++X){var se=z[X],oe=ii(se);switch(oe[0]){case"<?xml":case"<Properties":break;case"<property":q=ji(oe.name);break;case"</property>":q=null;break;default:if(se.indexOf("<vt:")===0){var ye=se.split(">"),ae=ye[0].slice(4),me=ye[1];switch(ae){case"lpstr":case"bstr":case"lpwstr":case"cy":case"error":J[q]=ji(me);break;case"bool":J[q]=po(me);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":J[q]=parseInt(me,10);break;case"r4":case"r8":case"decimal":J[q]=parseFloat(me);break;case"filetime":case"date":J[q]=Po(me);break;default:if(ae.slice(-1)=="/")break;j.WTF&&typeof console<"u"&&console.warn("Unexpected",se,ae,ye)}}else if(se.slice(0,2)!=="</"){if(j.WTF)throw new Error(se)}}}return J}(E,c));var S={};if((c.bookSheets||c.bookProps)&&(b.Sheets?h=b.Sheets.map(function(ne){return ne.name}):I.Worksheets&&I.SheetNames.length>0&&(h=I.SheetNames),c.bookProps&&(S.Props=I,S.Custprops=B),c.bookSheets&&h!==void 0&&(S.SheetNames=h),c.bookSheets?S.SheetNames:c.bookProps))return S;h={};var _={};c.bookDeps&&g.calcchain&&(_=Pp(Qs(a,Rs(g.calcchain)),g.calcchain));var D,T,F=0,N={},H=b.Sheets;I.Worksheets=H.length,I.SheetNames=[];for(var W=0;W!=H.length;++W)I.SheetNames[W]=H[W].name;var V=A?"bin":"xml",te=g.workbooks[0].lastIndexOf("/"),ue=(g.workbooks[0].slice(0,te+1)+"_rels/"+g.workbooks[0].slice(te+1)+".rels").replace(/^\//,"");Bl(a,ue)||(ue="xl/_rels/workbook."+V+".rels");var fe=xA(Qc(a,ue,!0),ue.replace(/_rels.*/,"s5s"));(g.metadata||[]).length>=1&&(c.xlmeta=sm(Qs(a,Rs(g.metadata[0])),g.metadata[0],c)),(g.people||[]).length>=1&&(c.people=function(ne,j){var J=[],q=!1;return ne.replace(Js,function(z){var X=ii(z);switch(cc(X[0])){case"<?xml":case"<personList":case"</personList>":case"</person>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<person":J.push({name:X.displayname,id:X.id});break;case"<ext":q=!0;break;case"</ext>":q=!1;break;default:if(!q&&j.WTF)throw new Error("unrecognized "+X[0]+" in threaded comments")}return z}),J}(Qs(a,Rs(g.people[0])),c)),fe&&(fe=function(ne,j){if(!ne)return 0;try{ne=j.map(function(J){return J.id||(J.id=J.strRelID),[J.name,ne["!id"][J.id].Target,(q=ne["!id"][J.id].Type,ma.WS.indexOf(q)>-1?"sheet":q==ma.CS?"chart":q==ma.DS?"dialog":q==ma.MS?"macro":q&&q.length?q:"sheet")];var q})}catch{return null}return ne&&ne.length!==0?ne:null}(fe,b.Sheets));var de=Qs(a,"xl/worksheets/sheet.xml",!0)?1:0;e:for(F=0;F!=I.Worksheets;++F){var Ae="sheet";if(fe&&fe[F]?(D="xl/"+fe[F][1].replace(/[\/]?xl\//,""),Bl(a,D)||(D=fe[F][1]),Bl(a,D)||(D=ue.replace(/_rels\/.*$/,"")+fe[F][1]),Ae=fe[F][2]):D=(D="xl/worksheets/sheet"+(F+1-de)+"."+V).replace(/sheet0\./,"sheet."),T=D.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),c&&c.sheets!=null)switch(typeof c.sheets){case"number":if(F!=c.sheets)continue e;break;case"string":if(I.SheetNames[F].toLowerCase()!=c.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(c.sheets)){for(var we=!1,Z=0;Z!=c.sheets.length;++Z)typeof c.sheets[Z]=="number"&&c.sheets[Z]==F&&(we=1),typeof c.sheets[Z]=="string"&&c.sheets[Z].toLowerCase()==I.SheetNames[F].toLowerCase()&&(we=1);if(!we)continue e}}qp(a,D,T,I.SheetNames[F],F,N,h,Ae,c,b,m,y)}return S={Directory:g,Workbook:b,Props:I,Custprops:B,Deps:_,Sheets:h,SheetNames:I.SheetNames,Strings:R1,Styles:y,Themes:m,SSF:Ro(xi)},c&&c.bookFiles&&(a.files?(S.keys=p,S.files=a.files):(S.keys=[],S.files={},a.FullPaths.forEach(function(ne,j){ne=ne.replace(/^Root Entry[\/]/,""),S.keys.push(ne),S.files[ne]=a.FileIndex[j]}))),c&&c.bookVBA&&(g.vba.length>0?S.vbaraw=Qs(a,Rs(g.vba[0]),!0):g.defaults&&g.defaults.bin==="application/vnd.ms-office.vbaProject"&&(S.vbaraw=Qs(a,"xl/vbaProject.bin",!0))),S}function gB(a,c){var u,h,d=c||{},p="Workbook",g=ai.find(a,p);try{if(p="/!DataSpaces/Version",!(g=ai.find(a,p))||!g.content)throw new Error("ECMA-376 Encrypted file missing "+p);if(u=g.content,(h={}).id=u.read_shift(0,"lpp4"),h.R=Dl(u,4),h.U=Dl(u,4),h.W=Dl(u,4),p="/!DataSpaces/DataSpaceMap",!(g=ai.find(a,p))||!g.content)throw new Error("ECMA-376 Encrypted file missing "+p);var A=function(b){var I=[];b.l+=4;for(var E=b.read_shift(4);E-- >0;)I.push(og(b));return I}(g.content);if(A.length!==1||A[0].comps.length!==1||A[0].comps[0].t!==0||A[0].name!=="StrongEncryptionDataSpace"||A[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+p);if(p="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(g=ai.find(a,p))||!g.content)throw new Error("ECMA-376 Encrypted file missing "+p);var m=function(b){var I=[];b.l+=4;for(var E=b.read_shift(4);E-- >0;)I.push(b.read_shift(0,"lpp4"));return I}(g.content);if(m.length!=1||m[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+p);if(p="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(g=ai.find(a,p))||!g.content)throw new Error("ECMA-376 Encrypted file missing "+p);Rl(g.content)}catch{}if(p="/EncryptionInfo",!(g=ai.find(a,p))||!g.content)throw new Error("ECMA-376 Encrypted file missing "+p);var y=function(b){var I=Dl(b);switch(I.Minor){case 2:return[I.Minor,vE(b)];case 3:return[I.Minor,w1()];case 4:return[I.Minor,yE(b)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+I.Minor)}(g.content);if(p="/EncryptedPackage",!(g=ai.find(a,p))||!g.content)throw new Error("ECMA-376 Encrypted file missing "+p);if(y[0]==4&&typeof decrypt_agile<"u")return decrypt_agile(y[1],g.content,d.password||"",d);if(y[0]==2&&typeof decrypt_std76<"u")return decrypt_std76(y[1],g.content,d.password||"",d);throw new Error("File is password-protected")}function Sb(a,c){return c.bookType=="ods"?O1(a,c):c.bookType=="numbers"?function(u,h){if(!h||!h.numbers)throw new Error("Must pass a `numbers` option -- check the README");var d=u.Sheets[u.SheetNames[0]];u.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var p=dc(d["!ref"]);p.s.r=p.s.c=0;var g=!1;p.e.c>9&&(g=!0,p.e.c=9),p.e.r>49&&(g=!0,p.e.r=49),g&&console.error("The Numbers writer is currently limited to ".concat(bi(p)));var A=mm(d,{range:p,header:1}),m=["~Sh33tJ5~"];A.forEach(function(ae){return ae.forEach(function(me){typeof me=="string"&&m.push(me)})});var y={},b=[],I=ai.read(h.numbers,{type:"base64"});I.FileIndex.map(function(ae,me){return[ae,I.FullPaths[me]]}).forEach(function(ae){var me=ae[0],Fe=ae[1];me.type==2&&me.name.match(/\.iwa/)&&Pl(Gl(me.content)).forEach(function(_e){b.push(_e.id),y[_e.id]={deps:[],location:Fe,type:qo(_e.messages[0].meta[1][0].data)}})}),b.sort(function(ae,me){return ae-me});var E=b.filter(function(ae){return ae>1}).map(function(ae){return[ae,ro(ae)]});I.FileIndex.map(function(ae,me){return[ae,I.FullPaths[me]]}).forEach(function(ae){var me=ae[0];ae[1],me.name.match(/\.iwa/)&&Pl(Gl(me.content)).forEach(function(Fe){Fe.messages.forEach(function(_e){E.forEach(function(rt){Fe.messages.some(function(et){return qo(et.meta[1][0].data)!=11006&&function(st,Ge){e:for(var Be=0;Be<=st.length-Ge.length;++Be){for(var Te=0;Te<Ge.length;++Te)if(st[Be+Te]!=Ge[Te])continue e;return!0}return!1}(et.data,rt[1])})&&y[rt[0]].deps.push(Fe.id)})})})});for(var B,S=ai.find(I,y[1].location),_=Pl(Gl(S.content)),D=0;D<_.length;++D){var T=_[D];T.id==1&&(B=T)}var F=qu(qa(B.messages[0].data)[1][0].data);for(_=Pl(Gl((S=ai.find(I,y[F].location)).content)),D=0;D<_.length;++D)(T=_[D]).id==F&&(B=T);for(F=qu(qa(B.messages[0].data)[2][0].data),_=Pl(Gl((S=ai.find(I,y[F].location)).content)),D=0;D<_.length;++D)(T=_[D]).id==F&&(B=T);for(F=qu(qa(B.messages[0].data)[2][0].data),_=Pl(Gl((S=ai.find(I,y[F].location)).content)),D=0;D<_.length;++D)(T=_[D]).id==F&&(B=T);var N=qa(B.messages[0].data);N[6][0].data=ro(p.e.r+1),N[7][0].data=ro(p.e.c+1);for(var H=qu(N[46][0].data),W=ai.find(I,y[H].location),V=Pl(Gl(W.content)),te=0;te<V.length&&V[te].id!=H;++te);if(V[te].id!=H)throw"Bad ColumnRowUIDMapArchive";var ue=qa(V[te].messages[0].data);ue[1]=[],ue[2]=[],ue[3]=[];for(var fe=0;fe<=p.e.c;++fe){var de=[];de[1]=de[2]=[{type:0,data:ro(fe+420690)}],ue[1].push({type:2,data:Au(de)}),ue[2].push({type:0,data:ro(fe)}),ue[3].push({type:0,data:ro(fe)})}ue[4]=[],ue[5]=[],ue[6]=[];for(var Ae=0;Ae<=p.e.r;++Ae)(de=[])[1]=de[2]=[{type:0,data:ro(Ae+726270)}],ue[4].push({type:2,data:Au(de)}),ue[5].push({type:0,data:ro(Ae)}),ue[6].push({type:0,data:ro(Ae)});V[te].messages[0].data=Au(ue),W.content=Wp(Jp(V)),W.size=W.content.length,delete N[46];var we=qa(N[4][0].data);we[7][0].data=ro(p.e.r+1);var Z=qu(qa(we[1][0].data)[2][0].data);if((V=Pl(Gl((W=ai.find(I,y[Z].location)).content)))[0].id!=Z)throw"Bad HeaderStorageBucket";var ne=qa(V[0].messages[0].data);for(Ae=0;Ae<A.length;++Ae){var j=qa(ne[2][0].data);j[1][0].data=ro(Ae),j[4][0].data=ro(A[Ae].length),ne[2][Ae]={type:ne[2][0].type,data:Au(j)}}V[0].messages[0].data=Au(ne),W.content=Wp(Jp(V)),W.size=W.content.length;var J=qu(we[2][0].data);if((V=Pl(Gl((W=ai.find(I,y[J].location)).content)))[0].id!=J)throw"Bad HeaderStorageBucket";for(ne=qa(V[0].messages[0].data),fe=0;fe<=p.e.c;++fe)(j=qa(ne[2][0].data))[1][0].data=ro(fe),j[4][0].data=ro(p.e.r+1),ne[2][fe]={type:ne[2][0].type,data:Au(j)};V[0].messages[0].data=Au(ne),W.content=Wp(Jp(V)),W.size=W.content.length;var q=qu(we[4][0].data);(function(){for(var ae,me=ai.find(I,y[q].location),Fe=Pl(Gl(me.content)),_e=0;_e<Fe.length;++_e){var rt=Fe[_e];rt.id==q&&(ae=rt)}var et=qa(ae.messages[0].data);et[3]=[];var st=[];m.forEach(function(Be,Te){st[1]=[{type:0,data:ro(Te)}],st[2]=[{type:0,data:ro(1)}],st[3]=[{type:2,data:vk(Be)}],et[3].push({type:2,data:Au(st)})}),ae.messages[0].data=Au(et);var Ge=Wp(Jp(Fe));me.content=Ge,me.size=me.content.length})();var z=qa(we[3][0].data),X=z[1][0];delete z[2];var se=qa(X.data),oe=qu(se[2][0].data);(function(){for(var ae,me=ai.find(I,y[oe].location),Fe=Pl(Gl(me.content)),_e=0;_e<Fe.length;++_e){var rt=Fe[_e];rt.id==oe&&(ae=rt)}var et=qa(ae.messages[0].data);delete et[6],delete z[7];var st=new Uint8Array(et[5][0].data);et[5]=[];for(var Ge=0,Be=0;Be<=p.e.r;++Be){var Te=qa(st);Ge+=dB(Te,A[Be],m),Te[1][0].data=ro(Be),et[5].push({data:Au(Te),type:2})}et[1]=[{type:0,data:ro(p.e.c+1)}],et[2]=[{type:0,data:ro(p.e.r+1)}],et[3]=[{type:0,data:ro(Ge)}],et[4]=[{type:0,data:ro(p.e.r+1)}],ae.messages[0].data=Au(et);var je=Wp(Jp(Fe));me.content=je,me.size=me.content.length})(),X.data=Au(se),we[3][0].data=Au(z),N[4][0].data=Au(we),B.messages[0].data=Au(N);var ye=Wp(Jp(_));return S.content=ye,S.size=S.content.length,I}(a,c):c.bookType=="xlsb"?function(u,h){LA=1024,u&&!u.SSF&&(u.SSF=Ro(xi)),u&&u.SSF&&(hp(),r1(u.SSF),h.revssf=Ap(u.SSF),h.revssf[u.SSF[65535]]=0,h.ssf=u.SSF),h.rels={},h.wbrels={},h.Strings=[],h.Strings.Count=0,h.Strings.Unique=0,OA?h.revStrings=new Map:(h.revStrings={},h.revStrings.foo=[],delete h.revStrings.foo);var d=h.bookType=="xlsb"?"bin":"xml",p=Zy.indexOf(h.bookType)>-1,g={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};G1(h=h||{});var A=sI(),m="",y=0;if(h.cellXfs=[],rl(h.cellXfs,{},{revssf:{General:0}}),u.Props||(u.Props={}),Zi(A,m="docProps/core.xml",EI(u.Props,h)),g.coreprops.push(m),co(h.rels,2,m,ma.CORE_PROPS),m="docProps/app.xml",!(u.Props&&u.Props.SheetNames))if(u.Workbook&&u.Workbook.Sheets){for(var b=[],I=0;I<u.SheetNames.length;++I)(u.Workbook.Sheets[I]||{}).Hidden!=2&&b.push(u.SheetNames[I]);u.Props.SheetNames=b}else u.Props.SheetNames=u.SheetNames;for(u.Props.Worksheets=u.Props.SheetNames.length,Zi(A,m,BI(u.Props)),g.extprops.push(m),co(h.rels,3,m,ma.EXT_PROPS),u.Custprops!==u.Props&&to(u.Custprops||{}).length>0&&(Zi(A,m="docProps/custom.xml",kI(u.Custprops)),g.custprops.push(m),co(h.rels,4,m,ma.CUST_PROPS)),y=1;y<=u.SheetNames.length;++y){var E={"!id":{}},B=u.Sheets[u.SheetNames[y-1]];if((B||{})["!type"],Zi(A,m="xl/worksheets/sheet"+y+"."+d,Wu(y-1,m,h,u,E)),g.sheets.push(m),co(h.wbrels,-1,"worksheets/sheet"+y+"."+d,ma.WS[0]),B){var S=B["!comments"],_=!1,D="";S&&S.length>0&&(Zi(A,D="xl/comments"+y+"."+d,Gp(S,D)),g.comments.push(D),co(E,-1,"../comments"+y+"."+d,ma.CMNT),_=!0),B["!legacy"]&&_&&Zi(A,"xl/drawings/vmlDrawing"+y+".vml",WI(y,B["!comments"])),delete B["!comments"],delete B["!legacy"]}E["!id"].rId1&&Zi(A,uo(m),qd(E))}return h.Strings!=null&&h.Strings.length>0&&(Zi(A,m="xl/sharedStrings."+d,function(T,F,N){return(F.slice(-4)===".bin"?Qp:tl)(T,N)}(h.Strings,m,h)),g.strs.push(m),co(h.wbrels,-1,"sharedStrings."+d,ma.SST)),Zi(A,m="xl/workbook."+d,function(T,F){return(F.slice(-4)===".bin"?sk:db)(T)}(u,m)),g.workbooks.push(m),co(h.rels,1,m,ma.WB),Zi(A,m="xl/theme/theme1.xml",YI(u.Themes,h)),g.themes.push(m),co(h.wbrels,-1,"theme/theme1.xml",ma.THEME),Zi(A,m="xl/styles."+d,function(T,F,N){return(F.slice(-4)===".bin"?kE:HI)(T,N)}(u,m,h)),g.styles.push(m),co(h.wbrels,-1,"styles."+d,ma.STY),u.vbaraw&&p&&(Zi(A,m="xl/vbaProject.bin",u.vbaraw),g.vba.push(m),co(h.wbrels,-1,"vbaProject.bin",ma.VBA)),Zi(A,m="xl/metadata."+d,function(T){return(T.slice(-4)===".bin"?_p:Dp)()}(m)),g.metadata.push(m),co(h.wbrels,-1,"metadata."+d,ma.XLMETA),Zi(A,"[Content_Types].xml",QA(g,h)),Zi(A,"_rels/.rels",qd(h.rels)),Zi(A,"xl/_rels/workbook."+d+".rels",qd(h.wbrels)),delete h.revssf,delete h.ssf,A}(a,c):function(u,h){LA=1024,u&&!u.SSF&&(u.SSF=Ro(xi)),u&&u.SSF&&(hp(),r1(u.SSF),h.revssf=Ap(u.SSF),h.revssf[u.SSF[65535]]=0,h.ssf=u.SSF),h.rels={},h.wbrels={},h.Strings=[],h.Strings.Count=0,h.Strings.Unique=0,OA?h.revStrings=new Map:(h.revStrings={},h.revStrings.foo=[],delete h.revStrings.foo);var d="xml",p=Zy.indexOf(h.bookType)>-1,g={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};G1(h=h||{});var A=sI(),m="",y=0;if(h.cellXfs=[],rl(h.cellXfs,{},{revssf:{General:0}}),u.Props||(u.Props={}),Zi(A,m="docProps/core.xml",EI(u.Props,h)),g.coreprops.push(m),co(h.rels,2,m,ma.CORE_PROPS),m="docProps/app.xml",!(u.Props&&u.Props.SheetNames))if(u.Workbook&&u.Workbook.Sheets){for(var b=[],I=0;I<u.SheetNames.length;++I)(u.Workbook.Sheets[I]||{}).Hidden!=2&&b.push(u.SheetNames[I]);u.Props.SheetNames=b}else u.Props.SheetNames=u.SheetNames;u.Props.Worksheets=u.Props.SheetNames.length,Zi(A,m,BI(u.Props)),g.extprops.push(m),co(h.rels,3,m,ma.EXT_PROPS),u.Custprops!==u.Props&&to(u.Custprops||{}).length>0&&(Zi(A,m="docProps/custom.xml",kI(u.Custprops)),g.custprops.push(m),co(h.rels,4,m,ma.CUST_PROPS));var E=["SheetJ5"];for(h.tcid=0,y=1;y<=u.SheetNames.length;++y){var B={"!id":{}},S=u.Sheets[u.SheetNames[y-1]];if((S||{})["!type"],Zi(A,m="xl/worksheets/sheet"+y+"."+d,ib(y-1,h,u,B)),g.sheets.push(m),co(h.wbrels,-1,"worksheets/sheet"+y+"."+d,ma.WS[0]),S){var _=S["!comments"],D=!1,T="";if(_&&_.length>0){var F=!1;_.forEach(function(N){N[1].forEach(function(H){H.T==1&&(F=!0)})}),F&&(Zi(A,T="xl/threadedComments/threadedComment"+y+"."+d,zI(_,E,h)),g.threadedcomments.push(T),co(B,-1,"../threadedComments/threadedComment"+y+"."+d,ma.TCMNT)),Zi(A,T="xl/comments"+y+"."+d,xE(_)),g.comments.push(T),co(B,-1,"../comments"+y+"."+d,ma.CMNT),D=!0}S["!legacy"]&&D&&Zi(A,"xl/drawings/vmlDrawing"+y+".vml",WI(y,S["!comments"])),delete S["!comments"],delete S["!legacy"]}B["!id"].rId1&&Zi(A,uo(m),qd(B))}return h.Strings!=null&&h.Strings.length>0&&(Zi(A,m="xl/sharedStrings."+d,tl(h.Strings,h)),g.strs.push(m),co(h.wbrels,-1,"sharedStrings."+d,ma.SST)),Zi(A,m="xl/workbook."+d,db(u)),g.workbooks.push(m),co(h.rels,1,m,ma.WB),Zi(A,m="xl/theme/theme1.xml",YI(u.Themes,h)),g.themes.push(m),co(h.wbrels,-1,"theme/theme1.xml",ma.THEME),Zi(A,m="xl/styles."+d,HI(u,h)),g.styles.push(m),co(h.wbrels,-1,"styles."+d,ma.STY),u.vbaraw&&p&&(Zi(A,m="xl/vbaProject.bin",u.vbaraw),g.vba.push(m),co(h.wbrels,-1,"vbaProject.bin",ma.VBA)),Zi(A,m="xl/metadata."+d,Dp()),g.metadata.push(m),co(h.wbrels,-1,"metadata."+d,ma.XLMETA),E.length>1&&(Zi(A,m="xl/persons/person.xml",function(N){var H=[ts,on("personList",null,{xmlns:eh,"xmlns:x":hc[0]}).replace(/[\/]>/,">")];return N.forEach(function(W,V){H.push(on("person",null,{displayName:W,id:"{54EE7950-7262-4200-6969-"+("000000000000"+V).slice(-12)+"}",userId:W,providerId:"None"}))}),H.push("</personList>"),H.join("")}(E)),g.people.push(m),co(h.wbrels,-1,"persons/person.xml",ma.PEOPLE)),Zi(A,"[Content_Types].xml",QA(g,h)),Zi(A,"_rels/.rels",qd(h.rels)),Zi(A,"xl/_rels/workbook."+d+".rels",qd(h.wbrels)),delete h.revssf,delete h.ssf,A}(a,c)}function pm(a,c){var u="";switch((c||{}).type||"base64"){case"buffer":case"array":return[a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7]];case"base64":u=Ra(a.slice(0,12));break;case"binary":u=a;break;default:throw new Error("Unrecognized type "+(c&&c.type||"undefined"))}return[u.charCodeAt(0),u.charCodeAt(1),u.charCodeAt(2),u.charCodeAt(3),u.charCodeAt(4),u.charCodeAt(5),u.charCodeAt(6),u.charCodeAt(7)]}function _b(a,c){var u=0;e:for(;u<a.length;)switch(a.charCodeAt(u)){case 10:case 13:case 32:++u;break;case 60:return L1(a.slice(u),c);default:break e}return ag.to_workbook(a,c)}function zp(a,c,u,h){return h?(u.type="string",ag.to_workbook(a,u)):ag.to_workbook(c,u)}function vm(a,c){V2();var u=c||{};if(typeof ArrayBuffer<"u"&&a instanceof ArrayBuffer)return vm(new Uint8Array(a),((u=Ro(u)).type="array",u));typeof Uint8Array<"u"&&a instanceof Uint8Array&&!u.type&&(u.type=typeof Deno<"u"?"buffer":"array");var h,d=a,p=!1;if(u.cellStyles&&(u.cellNF=!0,u.sheetStubs=!0),Mo={},u.dateNF&&(Mo.dateNF=u.dateNF),u.type||(u.type=ki&&Buffer.isBuffer(a)?"buffer":"base64"),u.type=="file"&&(u.type=ki?"buffer":"binary",d=function(m){if(typeof Deno<"u")return Deno.readFileSync(m);if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var y=File(m);y.open("r"),y.encoding="binary";var b=y.read();return y.close(),b}catch(I){if(!I.message||!I.message.match(/onstruct/))throw I}throw new Error("Cannot access file "+m)}(a),typeof Uint8Array>"u"||ki||(u.type="array")),u.type=="string"&&(p=!0,u.type="binary",u.codepage=65001,d=function(m){return m.match(/[^\x00-\x7F]/)?Dh(m):m}(a)),u.type=="array"&&typeof Uint8Array<"u"&&a instanceof Uint8Array&&typeof ArrayBuffer<"u"){var g=new ArrayBuffer(3),A=new Uint8Array(g);if(A.foo="bar",!A.foo)return(u=Ro(u)).type="array",vm(gy(d),u)}switch((h=pm(d,u))[0]){case 208:if(h[1]===207&&h[2]===17&&h[3]===224&&h[4]===161&&h[5]===177&&h[6]===26&&h[7]===225)return function(m,y){return ai.find(m,"EncryptedPackage")?gB(m,y):iB(m,y)}(ai.read(d,u),u);break;case 9:if(h[1]<=8)return iB(d,u);break;case 60:return L1(d,u);case 73:if(h[1]===73&&h[2]===42&&h[3]===0)throw new Error("TIFF Image File is not a spreadsheet");if(h[1]===68)return function(m,y){var b=y||{},I=!!b.WTF;b.WTF=!0;try{var E=OI.to_workbook(m,b);return b.WTF=I,E}catch(B){if(b.WTF=I,!B.message.match(/SYLK bad record ID/)&&I)throw B;return ag.to_workbook(m,y)}}(d,u);break;case 84:if(h[1]===65&&h[2]===66&&h[3]===76)return kp.to_workbook(d,u);break;case 80:return h[1]===75&&h[2]<9&&h[3]<9?function(m,y){var b=m,I=y||{};return I.type||(I.type=ki&&Buffer.isBuffer(m)?"buffer":"base64"),Ck(Fw(b,I),I)}(d,u):zp(a,d,u,p);case 239:return h[3]===60?L1(d,u):zp(a,d,u,p);case 255:if(h[1]===254)return function(m,y){var b=m;return y.type=="base64"&&(b=Ra(b)),b=Z2.utils.decode(1200,b.slice(2),"str"),y.type="binary",_b(b,y)}(d,u);if(h[1]===0&&h[2]===2&&h[3]===0)return Oh.to_workbook(d,u);break;case 0:if(h[1]===0&&(h[2]>=2&&h[3]===0||h[2]===0&&(h[3]===8||h[3]===9)))return Oh.to_workbook(d,u);break;case 3:case 131:case 139:case 140:return Nh.to_workbook(d,u);case 123:if(h[1]===92&&h[2]===114&&h[3]===116)return Jy.to_workbook(d,u);break;case 10:case 13:case 32:return function(m,y){var b="",I=pm(m,y);switch(y.type){case"base64":b=Ra(m);break;case"binary":b=m;break;case"buffer":b=m.toString("binary");break;case"array":b=pf(m);break;default:throw new Error("Unrecognized type "+y.type)}return I[0]==239&&I[1]==187&&I[2]==191&&(b=vo(b)),y.type="binary",_b(b,y)}(d,u);case 137:if(h[1]===80&&h[2]===78&&h[3]===71)throw new Error("PNG Image File is not a spreadsheet")}return Lh.indexOf(h[0])>-1&&h[2]<=12&&h[3]<=31?Nh.to_workbook(d,u):zp(a,d,u,p)}function pB(a,c){switch(c.type){case"base64":case"binary":break;case"buffer":case"array":c.type="";break;case"file":return fp(c.file,ai.write(a,{type:ki?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+c.bookType+"' files");default:throw new Error("Unrecognized type "+c.type)}return ai.write(a,c)}function vB(a,c){var u=Ro(c||{});return function(h,d){var p={},g=ki?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(d.compression&&(p.compression="DEFLATE"),d.password)p.type=g;else switch(d.type){case"base64":p.type="base64";break;case"binary":p.type="string";break;case"string":throw new Error("'string' output type invalid for '"+d.bookType+"' files");case"buffer":case"file":p.type=g;break;default:throw new Error("Unrecognized type "+d.type)}var A=h.FullPaths?ai.write(h,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[p.type]||p.type,compression:!!d.compression}):h.generate(p);if(typeof Deno<"u"&&typeof A=="string"){if(d.type=="binary"||d.type=="base64")return A;A=new Uint8Array(dy(A))}return d.password&&typeof encrypt_agile<"u"?pB(encrypt_agile(A,d.password),d):d.type==="file"?fp(d.file,A):d.type=="string"?vo(A):A}(Sb(a,u),u)}function uh(a,c,u){u||(u="");var h=u+a;switch(c.type){case"base64":return jr(Dh(h));case"binary":return Dh(h);case"string":return a;case"file":return fp(c.file,h,"utf8");case"buffer":return ki?uu(h,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(h):uh(h,{type:"binary"}).split("").map(function(d){return d.charCodeAt(0)})}throw new Error("Unrecognized type "+c.type)}function ym(a,c){switch(c.type){case"string":case"base64":case"binary":for(var u="",h=0;h<a.length;++h)u+=String.fromCharCode(a[h]);return c.type=="base64"?jr(u):c.type=="string"?vo(u):u;case"file":return fp(c.file,a);case"buffer":return a;default:throw new Error("Unrecognized type "+c.type)}}function Db(a,c){V2(),qE(a);var u=Ro(c||{});if(u.cellStyles&&(u.cellNF=!0,u.sheetStubs=!0),u.type=="array"){u.type="binary";var h=Db(a,u);return u.type="array",dy(h)}var d=0;if(u.sheet&&(d=typeof u.sheet=="number"?u.sheet:a.SheetNames.indexOf(u.sheet),!a.SheetNames[d]))throw new Error("Sheet not found: "+u.sheet+" : "+typeof u.sheet);switch(u.bookType||"xlsb"){case"xml":case"xlml":return uh(rB(a,u),u);case"slk":case"sylk":return uh(OI.from_sheet(a.Sheets[a.SheetNames[d]],u),u);case"htm":case"html":return uh(function(p,g){var A=g||{},m=A.header!=null?A.header:'<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',y=A.footer!=null?A.footer:"</body></html>",b=[m],I=dc(p["!ref"]);A.dense=Array.isArray(p),b.push(function(B,S,_){return[].join("")+"<table"+(_&&_.id?' id="'+_.id+'"':"")+">"}(0,0,A));for(var E=I.s.r;E<=I.e.r;++E)b.push(hB(p,I,E,A));return b.push("</table>"+y),b.join("")}(a.Sheets[a.SheetNames[d]],u),u);case"txt":return function(p,g){switch(g.type){case"base64":return jr(p);case"binary":case"string":return p;case"file":return fp(g.file,p,"binary");case"buffer":return ki?uu(p,"binary"):p.split("").map(function(A){return A.charCodeAt(0)})}throw new Error("Unrecognized type "+g.type)}(function(p,g){g||(g={}),g.FS=" ",g.RS=`
  194. `;var A=Mb(p,g);return A}(a.Sheets[a.SheetNames[d]],u),u);case"csv":return uh(Mb(a.Sheets[a.SheetNames[d]],u),u,"\uFEFF");case"dif":return uh(kp.from_sheet(a.Sheets[a.SheetNames[d]],u),u);case"dbf":return ym(Nh.from_sheet(a.Sheets[a.SheetNames[d]],u),u);case"prn":return uh(ag.from_sheet(a.Sheets[a.SheetNames[d]],u),u);case"rtf":return uh(Jy.from_sheet(a.Sheets[a.SheetNames[d]],u),u);case"eth":return uh(_l.from_sheet(a.Sheets[a.SheetNames[d]],u),u);case"fods":return uh(O1(a,u),u);case"wk1":return ym(Oh.sheet_to_wk1(a.Sheets[a.SheetNames[d]],u),u);case"wk3":return ym(Oh.book_to_wk3(a,u),u);case"biff2":u.biff||(u.biff=2);case"biff3":u.biff||(u.biff=3);case"biff4":return u.biff||(u.biff=4),ym(Cb(a,u),u);case"biff5":u.biff||(u.biff=5);case"biff8":case"xla":case"xls":return u.biff||(u.biff=8),function(p,g){var A=g||{};return pB(aB(p,A),A)}(a,u);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return vB(a,u);default:throw new Error("Unrecognized bookType |"+u.bookType+"|")}}function Xs(a,c,u,h,d,p,g,A){var m=Ss(u),y=A.defval,b=A.raw||!Object.prototype.hasOwnProperty.call(A,"raw"),I=!0,E=d===1?[]:{};if(d!==1)if(Object.defineProperty)try{Object.defineProperty(E,"__rowNum__",{value:u,enumerable:!1})}catch{E.__rowNum__=u}else E.__rowNum__=u;if(!g||a[u])for(var B=c.s.c;B<=c.e.c;++B){var S=g?a[u][B]:a[h[B]+m];if(S!==void 0&&S.t!==void 0){var _=S.v;switch(S.t){case"z":if(_==null)break;continue;case"e":_=_==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+S.t)}if(p[B]!=null){if(_==null)if(S.t=="e"&&_===null)E[p[B]]=null;else if(y!==void 0)E[p[B]]=y;else{if(!b||_!==null)continue;E[p[B]]=null}else E[p[B]]=b&&(S.t!=="n"||S.t==="n"&&A.rawNumbers!==!1)?_:wA(S,_,A);_!=null&&(I=!1)}}else{if(y===void 0)continue;p[B]!=null&&(E[p[B]]=y)}}return{row:E,isempty:I}}function mm(a,c){if(a==null||a["!ref"]==null)return[];var u={t:"n",v:0},h=0,d=1,p=[],g=0,A="",m={s:{r:0,c:0},e:{r:0,c:0}},y=c||{},b=y.range!=null?y.range:a["!ref"];switch(y.header===1?h=1:y.header==="A"?h=2:Array.isArray(y.header)?h=3:y.header==null&&(h=0),typeof b){case"string":m=Ta(b);break;case"number":(m=Ta(a["!ref"])).s.r=b;break;default:m=b}h>0&&(d=0);var I=Ss(m.s.r),E=[],B=[],S=0,_=0,D=Array.isArray(a),T=m.s.r,F=0,N={};D&&!a[T]&&(a[T]=[]);var H=y.skipHidden&&a["!cols"]||[],W=y.skipHidden&&a["!rows"]||[];for(F=m.s.c;F<=m.e.c;++F)if(!(H[F]||{}).hidden)switch(E[F]=rs(F),u=D?a[T][F]:a[E[F]+I],h){case 1:p[F]=F-m.s.c;break;case 2:p[F]=E[F];break;case 3:p[F]=y.header[F-m.s.c];break;default:if(u==null&&(u={w:"__EMPTY",t:"s"}),A=g=wA(u,null,y),_=N[g]||0){do A=g+"_"+_++;while(N[A]);N[g]=_,N[A]=1}else N[g]=1;p[F]=A}for(T=m.s.r+d;T<=m.e.r;++T)if(!(W[T]||{}).hidden){var V=Xs(a,m,T,E,h,p,D,y);(V.isempty===!1||(h===1?y.blankrows!==!1:y.blankrows))&&(B[S++]=V.row)}return B.length=S,B}var Rb=/"/g;function yB(a,c,u,h,d,p,g,A){for(var m=!0,y=[],b="",I=Ss(u),E=c.s.c;E<=c.e.c;++E)if(h[E]){var B=A.dense?(a[u]||[])[E]:a[h[E]+I];if(B==null)b="";else if(B.v!=null){m=!1,b=""+(A.rawNumbers&&B.t=="n"?B.v:wA(B,null,A));for(var S=0,_=0;S!==b.length;++S)if((_=b.charCodeAt(S))===d||_===p||_===34||A.forceQuotes){b='"'+b.replace(Rb,'""')+'"';break}b=="ID"&&(b='"ID"')}else B.f==null||B.F?b="":(m=!1,(b="="+B.f).indexOf(",")>=0&&(b='"'+b.replace(Rb,'""')+'"'));y.push(b)}return A.blankrows===!1&&m?null:y.join(g)}function Mb(a,c){var u=[],h=c??{};if(a==null||a["!ref"]==null)return"";var d=Ta(a["!ref"]),p=h.FS!==void 0?h.FS:",",g=p.charCodeAt(0),A=h.RS!==void 0?h.RS:`
  195. `,m=A.charCodeAt(0),y=new RegExp((p=="|"?"\\|":p)+"+$"),b="",I=[];h.dense=Array.isArray(a);for(var E=h.skipHidden&&a["!cols"]||[],B=h.skipHidden&&a["!rows"]||[],S=d.s.c;S<=d.e.c;++S)(E[S]||{}).hidden||(I[S]=rs(S));for(var _=0,D=d.s.r;D<=d.e.r;++D)(B[D]||{}).hidden||(b=yB(a,d,D,I,g,m,p,h))!=null&&(h.strip&&(b=b.replace(y,"")),(b||h.blankrows!==!1)&&u.push((_++?A:"")+b));return delete h.dense,u.join("")}function Fb(a,c,u,h){var d=1;if(!u)for(;d<=65535&&a.SheetNames.indexOf(u="Sheet"+d)!=-1;++d,u=void 0);if(!u||a.SheetNames.length>=65535)throw new Error("Too many worksheets");if(h&&a.SheetNames.indexOf(u)>=0){var p=u.match(/(^.*?)(\d+)$/);d=p&&+p[2]||0;var g=p&&p[1]||u;for(++d;d<=65535&&a.SheetNames.indexOf(u=g+d)!=-1;++d);}if(Ab(u),a.SheetNames.indexOf(u)>=0)throw new Error("Worksheet with name |"+u+"| already exists!");return a.SheetNames.push(u),a.Sheets[u]=c,u}function Tb(a,c){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(a);c&&(h=h.filter(function(d){return Object.getOwnPropertyDescriptor(a,d).enumerable})),u.push.apply(u,h)}return u}var Lb=["#FFFFFF","#000000","#BFBFBF","#323232","#4472C4","#ED7D31","#A5A5A5","#FFC000","#5B9BD5","#71AD47"],U1=["#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#800000","#008000","#000080","#808000","#800080","#008080","#C0C0C0","#808080","#9999FF","#993366","#FFFFCC","#CCFFFF","#660066","#FF8080","#0066CC","#CCCCFF","#000080","#FF00FF","#FFFF00","#00FFFF","#800080","#800000","#008080","#0000FF","#00CCFF","#CCFFFF","#CCFFCC","#FFFF99","#99CCFF","#FF99CC","#CC99FF","#FFCC99","#3366FF","#33CCCC","#99CC00","#FFCC00","#FF9900","#FF6600","#666699","#969696","#003366","#339966","#003300","#333300","#993300","#993366","#333399","#333333","#000000"];function mB(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(u,h){return new Promise(function(d,p){var g=new XMLHttpRequest;g.open(h.method||"GET",u,!0),g.responseType=h.responseType||"arraybuffer",g.onload=function(){g.status===200?d(g.response):p(g.status)},g.onerror=function(){p(g.status)},g.withCredentials=h.withCredentials||!1,h.headers&&Object.keys(h.headers).forEach(function(A){g.setRequestHeader(A,h.headers[A])}),g.send(h.body)})}(function(u,h){return typeof u=="string"?u:u instanceof Blob?URL.createObjectURL(u):u instanceof ArrayBuffer?URL.createObjectURL(new Blob([u],h)):u instanceof Response?URL.createObjectURL(u.blob()):u}(a),c)}function Nb(a){if(typeof a=="object")return"#000000";if(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.test(a))return a.startsWith("#")?a:"#"+a;a=a.trim().toLowerCase();var c={};try{var u=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return c.r=parseInt(u[2],16),c.g=parseInt(u[3],16),c.b=parseInt(u[4],16),c.a=parseInt(u[1],16)/255,ei("rgba(".concat(c.r,", ").concat(c.g,", ").concat(c.b,", ").concat(c.a,")")).toHexString()}catch(h){console.warn(h)}}function Im(a,c){return a>9?"#C7C9CC":c===void 0?Lb[a]:c>0?function(u,h){for(var d=bw(u),p=0;p<3;p++)d[p]=Math.floor((255-d[p])*h+d[p]);return Cw(d[0],d[1],d[2])}(Lb[a],c):function(u,h){for(var d=bw(u),p=0;p<3;p++)d[p]=Math.floor(d[p]*(1-h));return Cw(d[0],d[1],d[2])}(Lb[a],Math.abs(c))}function wk(a){a.style=ip.cloneDeep(a.style);var c=null;a.style.fill&&a.style.fill.fgColor&&(c=a.style.fill.fgColor.argb?Nb(a.style.fill.fgColor.argb):a.style.fill.fgColor.hasOwnProperty("theme")?Im(a.style.fill.fgColor.theme,a.style.fill.fgColor.tint):a.style.fill.fgColor.indexed&&U1[a.style.fill.fgColor.indexed]||"#C7C9CC"),c&&(a.style.bgcolor=c);var u=null;if(a.style.font&&a.style.font.color&&(u=a.style.font.color.argb?Nb(a.style.font.color.argb):a.style.font.color.hasOwnProperty("theme")?Im(a.style.font.color.theme,a.style.font.color.tint):a.style.font.color.indexed&&U1[a.style.font.color.indexed]||"#000000"),u&&(a.style.color=u),a.style.alignment&&(a.style.alignment.horizontal&&(a.style.align=a.style.alignment.horizontal),a.style.alignment.vertical&&(a.style.valign=a.style.alignment.vertical)),a.style.alignment&&a.style.alignment.wrapText&&(a.style.textwrap=!0),a.style.border){var h={};Object.keys(a.style.border).forEach(function(d){var p=a.style.border[d],g="#000000";typeof p.color=="string"?g=p.color:p.color&&(p.color.argb?g=Nb(p.color.argb):p.color.hasOwnProperty("theme")?g=Im(p.color.theme,p.color.tint):p.color.indexed&&(g=U1[p.color.indexed])),h[d]=[p.style||"thin",g]}),a.style.border2=function(d){for(var p=1;p<arguments.length;p++){var g=arguments[p]!=null?arguments[p]:{};p%2?Tb(Object(g),!0).forEach(function(A){Wr(d,A,g[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):Tb(Object(g)).forEach(function(A){Object.defineProperty(d,A,Object.getOwnPropertyDescriptor(g,A))})}return d}({},a.style.border),a.style.border=h}return a.style.font&&a.style.font.size&&typeof a.style.font.size=="number"&&(a.style.font.size=Math.round(a.style.font.size/1.333333)),a.style}function IB(a,c){var u=[];console.log(a,"workbook");var h=[];return a.eachSheet(function(d){h.push(d);var p={name:d.name,styles:[],rows:{},cols:{},merges:[],media:[]},g=[];for(var A in d._merges){p.merges.push(d._merges[A].shortRange);var m={};m.startAddress=d._merges[A].tl,m.endAddress=d._merges[A].br,m.YRange=d._merges[A].model.bottom-d._merges[A].model.top,m.XRange=d._merges[A].model.right-d._merges[A].model.left,g.push(m)}var y=0;(d._rows||[]).forEach(function(I,E){p.rows[E]={cells:{}},I._hidden?(p.rows[E].height=.1,I._cells=[]):I.height?p.rows[E].height=I.height+(c.heightOffset||0):p.rows[E].height=24+(c.heightOffset||0),(I._cells||[]).forEach(function(B,S){p.rows[E].cells[S]={},y=Math.max(y,S);var _=ip.find(g,function(D){return D.startAddress==B._address});_&&B.master.address!=_.startAddress||(_&&(p.rows[E].cells[S].merge=[_.YRange,_.XRange]),p.rows[E].cells[S].text=function(D){var T=D.numFmt,F=D.value;switch(D.type){case 2:try{if(D.style.numFmt){if(D.style.numFmt.endsWith("%")){var N=D.style.numFmt.match(/\.(\d+)%/);return N?(100*F).toFixed(N[1].length)+"%":100*F+"%"}if(/0(\.0+)?/.test(D.style.numFmt)){var H="";if(D.style.numFmt.startsWith("$")?H="$":D.style.numFmt.startsWith('"¥')&&(H="¥"),F===0&&D.style.numFmt.startsWith("_"))return"-";var W=D.style.numFmt.match(/0\.(0+)(_|;|$)/);W=W?W[1].length:0;var V=F.toFixed(W)+"";if(D.style.numFmt.includes("#,##")){for(var te=(V=V.split("."))[0].split("").reverse(),ue=[],fe=0;fe<te.length;fe++)ue.push(te[fe]),(fe+1)%3==0&&fe<te.length-1&&te[fe+1]!=="-"&&ue.push(",");V[0]=ue.reverse().join(""),V=V.join(".")}return H+V}}return F+""}catch{return F}case 3:return F;case 4:switch(T){case"yyyy-mm-dd;@":default:return Nn(F).format("YYYY-MM-DD");case"mm-dd-yy":return Nn(F).format("YYYY/MM/DD");case"[$-F800]dddd, mmmm dd, yyyy":return Nn(F).format("YYYY年M月D日 ddd");case'm"月"d"日";@':return Nn(F).format("M月D日");case"yyyy/m/d h:mm;@":case'm/d/yy "h":mm':return Nn(F).subtract(8,"hour").format("YYYY/M/DD HH:mm");case"h:mm;@":return Nn(F).format("HH:mm")}case 5:return F.text;case 6:return ip.get(F,"result.error")||F.result;case 8:return D.text;case 9:return D.text.toUpperCase();default:return F}}(B),p.styles.push(wk(B)),p.rows[E].cells[S].style=p.styles.length-1)})}),p._media&&(p.media=p._media);var b=Object.keys(p.rows);p.rows.len=Math.max(+b[b.length-1]+1,c.hasOwnProperty("minRowLength")?c.minRowLength:100),d._columns&&d._columns.length>y+1&&(d._columns=d._columns.slice(0,y+1)),function(I,E,B){for(var S=0;S<(I.columns||[]).length;S++)E.cols[S.toString()]={},I.columns[S]._hidden?E.cols[S.toString()].width=.1:I.columns[S].width?E.cols[S.toString()].width=6*I.columns[S].width+(B.widthOffset||0):E.cols[S.toString()].width=80+(B.widthOffset||0);E.cols.len=Math.max(Object.keys(E.cols).length,B.minColLength||0)}(d,p,c),u.push(p)}),a._worksheets=h,{workbookData:u,workbookSource:a,medias:a.media||[]}}var j1=[];function H1(a,c,u,h){var d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};u&&u._media.length&&u._media.forEach(function(p){var g=p.imageId,A=p.range;if(p.type==="image"){var m=function(y,b,I,E){for(var B,S,_=E.widthOffset,D=E.heightOffset,T=b.tl,F=b.br,N=b.ext,H=T||{},W=H.nativeCol,V=W===void 0?0:W,te=H.nativeColOff,ue=te===void 0?0:te,fe=H.nativeRow,de=fe===void 0?0:fe,Ae=H.nativeRowOff,we=Ae===void 0?0:Ae,Z=Y1,ne=bm,j=0;j<V;j++){var J;Z+=6*(y==null||(J=y._columns)===null||J===void 0||(J=J[j])===null||J===void 0?void 0:J.width)||Hh,Z+=_||0}for(var q=0;q<de;q++){var z;ne+=(y==null||(z=y._rows)===null||z===void 0||(z=z[q])===null||z===void 0?void 0:z.height)||Kp,ne+=D||0}var X,se=Z+ue/12700,oe=ne+we/12700,ye=F||{},ae=ye.nativeCol,me=ae===void 0?0:ae,Fe=ye.nativeColOff,_e=Fe===void 0?0:Fe,rt=ye.nativeRow,et=rt===void 0?0:rt,st=ye.nativeRowOff,Ge=st===void 0?0:st,Be=0;if(V===me&&F)Be=(_e-ue)/12700;else if(F){var Te;Be=(6*(y==null||(Te=y._columns)===null||Te===void 0||(Te=Te[V])===null||Te===void 0?void 0:Te.width)||Hh)-ue/12700;for(var je=V+1;je<me;je++){var lt;Be+=6*(y==null||(lt=y._columns)===null||lt===void 0||(lt=lt[je])===null||lt===void 0?void 0:lt.width)||Hh}Be+=_e/12700}else N!=null&&N.width&&(Be=N.width/1.333333);if(de===et)X=(Ge-we)/12700;else if(F){var Me;X=((y==null||(Me=y._rows)===null||Me===void 0||(Me=Me[de])===null||Me===void 0?void 0:Me.height)||Kp)-we/12700;for(var Ke=de+1;Ke<et;Ke++){var Rt;X+=(y==null||(Rt=y._rows)===null||Rt===void 0||(Rt=Rt[Ke])===null||Rt===void 0?void 0:Rt.height)||Kp}X+=Ge/12700}else N!=null&&N.height&&(X=N.height/1.333333);return{x:(se-((I==null||(B=I.scroll)===null||B===void 0?void 0:B.x)||0))*nl,y:(oe-((I==null||(S=I.scroll)===null||S===void 0?void 0:S.y)||0))*nl,width:Be*nl,height:X*nl}}(u,A,h,d);(function(y,b,I,E){(function(B,S){return new Promise(function(_,D){if(j1[B])return _(j1[B]);var T=S.buffer.buffer,F=new Blob([T],{type:"image/"+S.extension}),N=URL.createObjectURL(F),H=new Image;H.src=N,H.onload=function(){_(H),j1[B]=H},H.onerror=function(W){D(W)}})})(b,I).then(function(B){var S=0,_=0,D=B.width,T=B.height,F=E.x,N=E.y,H=E.width,W=E.height,V=H/D,te=W/T;if(F<Y1*nl){var ue=Y1*nl-F;F=Y1*nl,H-=ue,D-=ue/V,S+=ue/V}if(N<bm*nl){var fe=bm*nl-N;N=bm*nl,W-=fe,T-=fe/te,_+=fe/te}var de=window.outerWidth/window.innerWidth;y.drawImage(B,S,_,D,T,F*de,N*de,H*de,W*de)}).catch(function(B){console.error(B)})})(a,g,c[g],m)}})}var Y1=60,bm=25,Hh=80,Kp=24,nl=window.devicePixelRatio;function no(){j1=[]}const bB=(a,c)=>{const u=a.__vccOpts||a;for(const[h,d]of c)u[h]=d;return u};function Ob(a,c){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(a);c&&(h=h.filter(function(d){return Object.getOwnPropertyDescriptor(a,d).enumerable})),u.push.apply(u,h)}return u}function J1(a){for(var c=1;c<arguments.length;c++){var u=arguments[c]!=null?arguments[c]:{};c%2?Ob(Object(u),!0).forEach(function(h){Wr(a,h,u[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):Ob(Object(u)).forEach(function(h){Object.defineProperty(a,h,Object.getOwnPropertyDescriptor(u,h))})}return a}var CB={xls:!1,minColLength:20},Ek=ua.defineComponent({name:"VueOfficeExcel",props:{src:[String,ArrayBuffer,Blob],requestOptions:{type:Object,default:function(){return{}}},options:{type:Object,default:function(){return J1({},CB)}}},emits:["rendered","error","switchSheet","cellSelected","cellsSelected"],setup:function(a,c){var u=c.emit,h=ua.ref(null),d=ua.ref(null),p={_worksheets:[]},g=[],A=0,m=null,y=null,b=null,I=null;function E(B){I=B,function(S,_){try{return _&&(S=Db(vm(S,{type:"array"}),{bookType:"xlsx",type:"array"})),new g5.Workbook().xlsx.load(S)}catch(D){return console.warn(D),Promise.reject(D)}}(B,a.options.xls).then(function(S){if(!S._worksheets||S._worksheets.length===0)throw new Error("未获取到数据,可能文件格式不正确或文件已损坏");a.options.beforeTransformData&&typeof a.options.beforeTransformData=="function"&&(S=a.options.beforeTransformData(S));var _=IB(S,J1(J1({},CB),a.options)),D=_.workbookData,T=_.medias,F=_.workbookSource;a.options.transformData&&typeof a.options.transformData=="function"&&(D=a.options.transformData(D)),g=T,p=F,b=null,A=0,no(),y.loadData(D),H1(m,g,p._worksheets[A],b,a.options),u("rendered"),u("switchSheet",0)}).catch(function(S){console.warn(S),g=[],p={_worksheets:[]},no(),y&&y.loadData({}),u("error",S),u("switchSheet",0)})}return ua.onMounted(function(){ua.nextTick(function(){(y=new tp(d.value,{mode:"read",showToolbar:!1,showContextmenu:a.options.showContextmenu||!1,view:{height:function(){return h.value&&h.value.clientHeight||300},width:function(){return h.value&&h.value.clientWidth||1200}},row:{height:24,len:100},col:{len:26,width:80,indexWidth:60,minWidth:60},autoFocus:!1}).loadData({})).on("cell-selected",function(F,N,H){u("cellSelected",{cell:F,rowIndex:N,columnIndex:H})}),y.on("cells-selected",function(F,N){var H=N.sri,W=N.sci,V=N.eri,te=N.eci;u("cellsSelected",{cell:F,startRowIndex:H,startColumnIndex:W,endRowIndex:V,endColumnIndex:te})});var B=y.bottombar.swapFunc;y.bottombar.swapFunc=function(F){B.call(y.bottombar,F),A=F,b=y.sheet.data.getSelectedRect(),setTimeout(function(){y.reRender(),H1(m,g,p._worksheets[A],b,a.options),u("switchSheet",F)})};var S=ip.debounce(H1,200,{leading:!0}),_=y.sheet.table.render;y.sheet.table.render=function(){for(var F=arguments.length,N=new Array(F),H=0;H<F;H++)N[H]=arguments[H];y&&y.sheet&&_.apply(y.sheet.table,N),S(m,g,p._worksheets[A],b,a.options)};var D=y.sheet.editor.setOffset;y.sheet.editor.setOffset=function(){for(var F=arguments.length,N=new Array(F),H=0;H<F;H++)N[H]=arguments[H];D.apply(y.sheet.editor,N),b=N[0]};var T=d.value.querySelector("canvas");m=T.getContext("2d"),a.src&&mB(a.src,a.requestOptions).then(E).catch(function(F){g=[],p={_worksheets:[]},y.loadData({}),u("error",F)})})}),ua.onBeforeUnmount(function(){y=null}),ua.watch(function(){return a.src},function(){a.src?mB(a.src,a.requestOptions).then(E).catch(function(B){g=[],p={_worksheets:[]},y.loadData({}),u("error",B)}):(g=[],p={_worksheets:[]},y.loadData({}),u("error",new Error("src属性不能为空")))}),{wrapperRef:h,rootRef:d,save:function(B){(function(S,_){K0.apply(this,arguments)})(B||"vue-office-excel-".concat(new Date().getTime(),".xlsx"),I)}}}}),Pb={class:"vue-office-excel",ref:"wrapperRef"},Bk={class:"vue-office-excel-main",ref:"rootRef"};const Vp=bB(Ek,[["render",function(a,c,u,h,d,p){return vi.openBlock(),vi.createElementBlock("div",Pb,[vi.createElementVNode("div",Bk,null,512)],512)}]]);return Vp.install=function(a){a.component(Vp.name,Vp)},Vp})}(Ux)),Ux.exports}var ese=$oe();const tse=Jx(ese);var jx={exports:{}},rse=jx.exports,PG;function nse(){return PG||(PG=1,function(mo,Fg){(function(ua,vi){mo.exports=vi(ND(),OD())})(rse,function(ua,vi){var Bo=Object.defineProperty,Gs=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,Va=(ce,Ce,Oe)=>Ce in ce?Bo(ce,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ce[Ce]=Oe,Wn=(ce,Ce)=>{for(var Oe in Ce||(Ce={}))Wr.call(Ce,Oe)&&Va(ce,Oe,Ce[Oe]);if(Gs)for(var Oe of Gs(Ce))Ua.call(Ce,Oe)&&Va(ce,Oe,Ce[Oe]);return ce},ao=(ce,Ce,Oe)=>new Promise((gt,Nt)=>{var Ht=Or=>{try{lr(Oe.next(Or))}catch(Xr){Nt(Xr)}},fr=Or=>{try{lr(Oe.throw(Or))}catch(Xr){Nt(Xr)}},lr=Or=>Or.done?gt(Or.value):Promise.resolve(Or.value).then(Ht,fr);lr((Oe=Oe.apply(ce,Ce)).next())});const En=`/*! For license information please see worker.js.LICENSE.txt */
  196. var e={4186:(e,t,r)=>{var A=r(3749),n=r(8055),i=TypeError;e.exports=function(e){if(A(e))return e;throw new i(n(e)+" is not a function")}},9052:(e,t,r)=>{var A=r(8413),n=r(8055),i=TypeError;e.exports=function(e){if(A(e))return e;throw new i(n(e)+" is not a constructor")}},7330:(e,t,r)=>{var A=r(4597),n=String,i=TypeError;e.exports=function(e){if(A(e))return e;throw new i("Can't set "+n(e)+" as a prototype")}},4376:(e,t,r)=>{var A=r(418).has;e.exports=function(e){return A(e),e}},1458:(e,t,r)=>{var A=r(5811),n=r(5304),i=r(1601).f,a=A("unscopables"),o=Array.prototype;void 0===o[a]&&i(o,a,{configurable:!0,value:n(null)}),e.exports=function(e){o[a][e]=!0}},8149:(e,t,r)=>{var A=r(6903).charAt;e.exports=function(e,t,r){return t+(r?A(e,t).length:1)}},3399:(e,t,r)=>{var A=r(6921),n=TypeError;e.exports=function(e,t){if(A(t,e))return e;throw new n("Incorrect invocation")}},7447:(e,t,r)=>{var A=r(2674),n=String,i=TypeError;e.exports=function(e){if(A(e))return e;throw new i(n(e)+" is not an object")}},387:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},8242:(e,t,r)=>{var A=r(4032),n=r(5026),i=r(9872),a=A.ArrayBuffer,o=A.TypeError;e.exports=a&&n(a.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==i(e))throw new o("ArrayBuffer expected");return e.byteLength}},8102:(e,t,r)=>{var A=r(4032),n=r(2116),i=r(8242),a=A.ArrayBuffer,o=a&&a.prototype,s=o&&n(o.slice);e.exports=function(e){if(0!==i(e))return!1;if(!s)return!1;try{return s(e,0,0),!1}catch(e){return!0}}},7060:(e,t,r)=>{var A=r(3455);e.exports=A((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},6033:(e,t,r)=>{var A=r(8102),n=TypeError;e.exports=function(e){if(A(e))throw new n("ArrayBuffer is detached");return e}},4676:(e,t,r)=>{var A=r(4032),n=r(2608),i=r(5026),a=r(9088),o=r(6033),s=r(8242),c=r(7395),g=r(6572),u=A.structuredClone,l=A.ArrayBuffer,h=A.DataView,I=Math.min,f=l.prototype,C=h.prototype,B=n(f.slice),Q=i(f,"resizable","get"),E=i(f,"maxByteLength","get"),d=n(C.getInt8),y=n(C.setInt8);e.exports=(g||c)&&function(e,t,r){var A,n=s(e),i=void 0===t?n:a(t),f=!Q||!Q(e);if(o(e),g&&(e=u(e,{transfer:[e]}),n===i&&(r||f)))return e;if(n>=i&&(!r||f))A=B(e,0,i);else{var C=r&&!f&&E?{maxByteLength:E(e)}:void 0;A=new l(i,C);for(var p=new h(e),v=new h(A),m=I(i,n),w=0;w<m;w++)y(v,w,d(p,w))}return g||c(e),A}},4356:(e,t,r)=>{var A,n,i,a=r(387),o=r(2444),s=r(4032),c=r(3749),g=r(2674),u=r(9649),l=r(1179),h=r(8055),I=r(139),f=r(8552),C=r(8986),B=r(6921),Q=r(2611),E=r(9415),d=r(5811),y=r(5936),p=r(8301),v=p.enforce,m=p.get,w=s.Int8Array,b=w&&w.prototype,k=s.Uint8ClampedArray,D=k&&k.prototype,S=w&&Q(w),F=b&&Q(b),x=Object.prototype,R=s.TypeError,G=d("toStringTag"),N=y("TYPED_ARRAY_TAG"),L="TypedArrayConstructor",U=a&&!!E&&"Opera"!==l(s.opera),M=!1,J={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},H={BigInt64Array:8,BigUint64Array:8},Y=function(e){var t=Q(e);if(g(t)){var r=m(t);return r&&u(r,L)?r[L]:Y(t)}},P=function(e){if(!g(e))return!1;var t=l(e);return u(J,t)||u(H,t)};for(A in J)(i=(n=s[A])&&n.prototype)?v(i)[L]=n:U=!1;for(A in H)(i=(n=s[A])&&n.prototype)&&(v(i)[L]=n);if((!U||!c(S)||S===Function.prototype)&&(S=function(){throw new R("Incorrect invocation")},U))for(A in J)s[A]&&E(s[A],S);if((!U||!F||F===x)&&(F=S.prototype,U))for(A in J)s[A]&&E(s[A].prototype,F);if(U&&Q(D)!==F&&E(D,F),o&&!u(F,G))for(A in M=!0,C(F,G,{configurable:!0,get:function(){return g(this)?this[N]:void 0}}),J)s[A]&&I(s[A],N,A);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:U,TYPED_ARRAY_TAG:M&&N,aTypedArray:function(e){if(P(e))return e;throw new R("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!E||B(S,e)))return e;throw new R(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,A){if(o){if(r)for(var n in J){var i=s[n];if(i&&u(i.prototype,e))try{delete i.prototype[e]}catch(r){try{i.prototype[e]=t}catch(e){}}}F[e]&&!r||f(F,e,r?t:U&&b[e]||t,A)}},exportTypedArrayStaticMethod:function(e,t,r){var A,n;if(o){if(E){if(r)for(A in J)if((n=s[A])&&u(n,e))try{delete n[e]}catch(e){}if(S[e]&&!r)return;try{return f(S,e,r?t:U&&S[e]||t)}catch(e){}}for(A in J)!(n=s[A])||n[e]&&!r||f(n,e,t)}},getTypedArrayConstructor:Y,isView:function(e){if(!g(e))return!1;var t=l(e);return"DataView"===t||u(J,t)||u(H,t)},isTypedArray:P,TypedArray:S,TypedArrayPrototype:F}},7226:(e,t,r)=>{var A=r(4032),n=r(2608),i=r(2444),a=r(387),o=r(2542),s=r(139),c=r(8986),g=r(4183),u=r(3455),l=r(3399),h=r(1211),I=r(5806),f=r(9088),C=r(3505),B=r(1306),Q=r(2611),E=r(9415),d=r(9557),y=r(4224),p=r(3951),v=r(2924),m=r(6911),w=r(8301),b=o.PROPER,k=o.CONFIGURABLE,D="ArrayBuffer",S="DataView",F="prototype",x="Wrong index",R=w.getterFor(D),G=w.getterFor(S),N=w.set,L=A[D],U=L,M=U&&U[F],J=A[S],H=J&&J[F],Y=Object.prototype,P=A.Array,O=A.RangeError,K=n(d),T=n([].reverse),q=B.pack,j=B.unpack,W=function(e){return[255&e]},Z=function(e){return[255&e,e>>8&255]},_=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},X=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},V=function(e){return q(C(e),23,4)},z=function(e){return q(e,52,8)},$=function(e,t,r){c(e[F],t,{configurable:!0,get:function(){return r(this)[t]}})},ee=function(e,t,r,A){var n=G(e),i=f(r),a=!!A;if(i+t>n.byteLength)throw new O(x);var o=n.bytes,s=i+n.byteOffset,c=y(o,s,s+t);return a?c:T(c)},te=function(e,t,r,A,n,i){var a=G(e),o=f(r),s=A(+n),c=!!i;if(o+t>a.byteLength)throw new O(x);for(var g=a.bytes,u=o+a.byteOffset,l=0;l<t;l++)g[u+l]=s[c?l:t-l-1]};if(a){var re=b&&L.name!==D;u((function(){L(1)}))&&u((function(){new L(-1)}))&&!u((function(){return new L,new L(1.5),new L(NaN),1!==L.length||re&&!k}))?re&&k&&s(L,"name",D):((U=function(e){return l(this,M),p(new L(f(e)),this,U)})[F]=M,M.constructor=U,v(U,L)),E&&Q(H)!==Y&&E(H,Y);var Ae=new J(new U(2)),ne=n(H.setInt8);Ae.setInt8(0,2147483648),Ae.setInt8(1,2147483649),!Ae.getInt8(0)&&Ae.getInt8(1)||g(H,{setInt8:function(e,t){ne(this,e,t<<24>>24)},setUint8:function(e,t){ne(this,e,t<<24>>24)}},{unsafe:!0})}else M=(U=function(e){l(this,M);var t=f(e);N(this,{type:D,bytes:K(P(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)})[F],H=(J=function(e,t,r){l(this,H),l(e,M);var A=R(e),n=A.byteLength,a=h(t);if(a<0||a>n)throw new O("Wrong offset");if(a+(r=void 0===r?n-a:I(r))>n)throw new O("Wrong length");N(this,{type:S,buffer:e,byteLength:r,byteOffset:a,bytes:A.bytes}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=a)})[F],i&&($(U,"byteLength",R),$(J,"buffer",G),$(J,"byteLength",G),$(J,"byteOffset",G)),g(H,{getInt8:function(e){return ee(this,1,e)[0]<<24>>24},getUint8:function(e){return ee(this,1,e)[0]},getInt16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return X(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return X(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return j(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return j(ee(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){te(this,1,e,W,t)},setUint8:function(e,t){te(this,1,e,W,t)},setInt16:function(e,t){te(this,2,e,Z,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){te(this,2,e,Z,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){te(this,4,e,_,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){te(this,4,e,_,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){te(this,4,e,V,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){te(this,8,e,z,t,arguments.length>2&&arguments[2])}});m(U,D),m(J,S),e.exports={ArrayBuffer:U,DataView:J}},6677:(e,t,r)=>{var A=r(4165),n=r(9002),i=r(7878),a=r(1870),o=Math.min;e.exports=[].copyWithin||function(e,t){var r=A(this),s=i(r),c=n(e,s),g=n(t,s),u=arguments.length>2?arguments[2]:void 0,l=o((void 0===u?s:n(u,s))-g,s-c),h=1;for(g<c&&c<g+l&&(h=-1,g+=l-1,c+=l-1);l-- >0;)g in r?r[c]=r[g]:a(r,c),c+=h,g+=h;return r}},9557:(e,t,r)=>{var A=r(4165),n=r(9002),i=r(7878);e.exports=function(e){for(var t=A(this),r=i(t),a=arguments.length,o=n(a>1?arguments[1]:void 0,r),s=a>2?arguments[2]:void 0,c=void 0===s?r:n(s,r);c>o;)t[o++]=e;return t}},3147:(e,t,r)=>{var A=r(5645).forEach,n=r(1814)("forEach");e.exports=n?[].forEach:function(e){return A(this,e,arguments.length>1?arguments[1]:void 0)}},7434:(e,t,r)=>{var A=r(7878);e.exports=function(e,t,r){for(var n=0,i=arguments.length>2?r:A(t),a=new e(i);i>n;)a[n]=t[n++];return a}},3948:(e,t,r)=>{var A=r(4864),n=r(3453),i=r(4165),a=r(3535),o=r(993),s=r(8413),c=r(7878),g=r(3552),u=r(6961),l=r(7507),h=Array;e.exports=function(e){var t=i(e),r=s(this),I=arguments.length,f=I>1?arguments[1]:void 0,C=void 0!==f;C&&(f=A(f,I>2?arguments[2]:void 0));var B,Q,E,d,y,p,v=l(t),m=0;if(!v||this===h&&o(v))for(B=c(t),Q=r?new this(B):h(B);B>m;m++)p=C?f(t[m],m):t[m],g(Q,m,p);else for(Q=r?new this:[],y=(d=u(t,v)).next;!(E=n(y,d)).done;m++)p=C?a(d,f,[E.value,m],!0):E.value,g(Q,m,p);return Q.length=m,Q}},7921:(e,t,r)=>{var A=r(3637),n=r(9002),i=r(7878),a=function(e){return function(t,r,a){var o=A(t),s=i(o);if(0===s)return!e&&-1;var c,g=n(a,s);if(e&&r!=r){for(;s>g;)if((c=o[g++])!=c)return!0}else for(;s>g;g++)if((e||g in o)&&o[g]===r)return e||g||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},767:(e,t,r)=>{var A=r(4864),n=r(9455),i=r(4165),a=r(7878),o=function(e){var t=1===e;return function(r,o,s){for(var c,g=i(r),u=n(g),l=a(u),h=A(o,s);l-- >0;)if(h(c=u[l],l,g))switch(e){case 0:return c;case 1:return l}return t?-1:void 0}};e.exports={findLast:o(0),findLastIndex:o(1)}},5645:(e,t,r)=>{var A=r(4864),n=r(2608),i=r(9455),a=r(4165),o=r(7878),s=r(1453),c=n([].push),g=function(e){var t=1===e,r=2===e,n=3===e,g=4===e,u=6===e,l=7===e,h=5===e||u;return function(I,f,C,B){for(var Q,E,d=a(I),y=i(d),p=o(y),v=A(f,C),m=0,w=B||s,b=t?w(I,p):r||l?w(I,0):void 0;p>m;m++)if((h||m in y)&&(E=v(Q=y[m],m,d),e))if(t)b[m]=E;else if(E)switch(e){case 3:return!0;case 5:return Q;case 6:return m;case 2:c(b,Q)}else switch(e){case 4:return!1;case 7:c(b,Q)}return u?-1:n||g?g:b}};e.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterReject:g(7)}},3499:(e,t,r)=>{var A=r(3881),n=r(3637),i=r(1211),a=r(7878),o=r(1814),s=Math.min,c=[].lastIndexOf,g=!!c&&1/[1].lastIndexOf(1,-0)<0,u=o("lastIndexOf"),l=g||!u;e.exports=l?function(e){if(g)return A(c,this,arguments)||0;var t=n(this),r=a(t);if(0===r)return-1;var o=r-1;for(arguments.length>1&&(o=s(o,i(arguments[1]))),o<0&&(o=r+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:c},9077:(e,t,r)=>{var A=r(3455),n=r(5811),i=r(6415),a=n("species");e.exports=function(e){return i>=51||!A((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},1814:(e,t,r)=>{var A=r(3455);e.exports=function(e,t){var r=[][e];return!!r&&A((function(){r.call(null,t||function(){return 1},1)}))}},4734:(e,t,r)=>{var A=r(4186),n=r(4165),i=r(9455),a=r(7878),o=TypeError,s="Reduce of empty array with no initial value",c=function(e){return function(t,r,c,g){var u=n(t),l=i(u),h=a(u);if(A(r),0===h&&c<2)throw new o(s);var I=e?h-1:0,f=e?-1:1;if(c<2)for(;;){if(I in l){g=l[I],I+=f;break}if(I+=f,e?I<0:h<=I)throw new o(s)}for(;e?I>=0:h>I;I+=f)I in l&&(g=r(g,l[I],I,u));return g}};e.exports={left:c(!1),right:c(!0)}},7375:(e,t,r)=>{var A=r(2444),n=r(5448),i=TypeError,a=Object.getOwnPropertyDescriptor,o=A&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=o?function(e,t){if(n(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},4224:(e,t,r)=>{var A=r(2608);e.exports=A([].slice)},5272:(e,t,r)=>{var A=r(4224),n=Math.floor,i=function(e,t){var r=e.length;if(r<8)for(var a,o,s=1;s<r;){for(o=s,a=e[s];o&&t(e[o-1],a)>0;)e[o]=e[--o];o!==s++&&(e[o]=a)}else for(var c=n(r/2),g=i(A(e,0,c),t),u=i(A(e,c),t),l=g.length,h=u.length,I=0,f=0;I<l||f<h;)e[I+f]=I<l&&f<h?t(g[I],u[f])<=0?g[I++]:u[f++]:I<l?g[I++]:u[f++];return e};e.exports=i},2329:(e,t,r)=>{var A=r(5448),n=r(8413),i=r(2674),a=r(5811)("species"),o=Array;e.exports=function(e){var t;return A(e)&&(t=e.constructor,(n(t)&&(t===o||A(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?o:t}},1453:(e,t,r)=>{var A=r(2329);e.exports=function(e,t){return new(A(e))(0===t?0:t)}},6444:(e,t,r)=>{var A=r(7878);e.exports=function(e,t){for(var r=A(e),n=new t(r),i=0;i<r;i++)n[i]=e[r-i-1];return n}},920:(e,t,r)=>{var A=r(7878),n=r(1211),i=RangeError;e.exports=function(e,t,r,a){var o=A(e),s=n(r),c=s<0?o+s:s;if(c>=o||c<0)throw new i("Incorrect index");for(var g=new t(o),u=0;u<o;u++)g[u]=u===c?a:e[u];return g}},2996:e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t+"+/",A=t+"-_",n=function(e){for(var t={},r=0;r<64;r++)t[e.charAt(r)]=r;return t};e.exports={i2c:r,c2i:n(r),i2cUrl:A,c2iUrl:n(A)}},3535:(e,t,r)=>{var A=r(7447),n=r(5235);e.exports=function(e,t,r,i){try{return i?t(A(r)[0],r[1]):t(r)}catch(t){n(e,"throw",t)}}},4348:(e,t,r)=>{var A=r(5811)("iterator"),n=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){n=!0}};a[A]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!n)return!1}catch(e){return!1}var r=!1;try{var i={};i[A]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},9872:(e,t,r)=>{var A=r(2608),n=A({}.toString),i=A("".slice);e.exports=function(e){return i(n(e),8,-1)}},1179:(e,t,r)=>{var A=r(3724),n=r(3749),i=r(9872),a=r(5811)("toStringTag"),o=Object,s="Arguments"===i(function(){return arguments}());e.exports=A?i:function(e){var t,r,A;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=o(e),a))?r:s?i(t):"Object"===(A=i(t))&&n(t.callee)?"Arguments":A}},2042:(e,t,r)=>{var A=r(5304),n=r(8986),i=r(4183),a=r(4864),o=r(3399),s=r(6021),c=r(1804),g=r(656),u=r(9393),l=r(5409),h=r(2444),I=r(5227).fastKey,f=r(8301),C=f.set,B=f.getterFor;e.exports={getConstructor:function(e,t,r,g){var u=e((function(e,n){o(e,l),C(e,{type:t,index:A(null),first:null,last:null,size:0}),h||(e.size=0),s(n)||c(n,e[g],{that:e,AS_ENTRIES:r})})),l=u.prototype,f=B(t),Q=function(e,t,r){var A,n,i=f(e),a=E(e,t);return a?a.value=r:(i.last=a={index:n=I(t,!0),key:t,value:r,previous:A=i.last,next:null,removed:!1},i.first||(i.first=a),A&&(A.next=a),h?i.size++:e.size++,"F"!==n&&(i.index[n]=a)),e},E=function(e,t){var r,A=f(e),n=I(t);if("F"!==n)return A.index[n];for(r=A.first;r;r=r.next)if(r.key===t)return r};return i(l,{clear:function(){for(var e=f(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=null),t=t.next;e.first=e.last=null,e.index=A(null),h?e.size=0:this.size=0},delete:function(e){var t=this,r=f(t),A=E(t,e);if(A){var n=A.next,i=A.previous;delete r.index[A.index],A.removed=!0,i&&(i.next=n),n&&(n.previous=i),r.first===A&&(r.first=n),r.last===A&&(r.last=i),h?r.size--:t.size--}return!!A},forEach:function(e){for(var t,r=f(this),A=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(A(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!E(this,e)}}),i(l,r?{get:function(e){var t=E(this,e);return t&&t.value},set:function(e,t){return Q(this,0===e?0:e,t)}}:{add:function(e){return Q(this,e=0===e?0:e,e)}}),h&&n(l,"size",{configurable:!0,get:function(){return f(this).size}}),u},setStrong:function(e,t,r){var A=t+" Iterator",n=B(t),i=B(A);g(e,t,(function(e,t){C(this,{type:A,target:e,state:n(e),kind:t,last:null})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?u("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=null,u(void 0,!0))}),r?"entries":"values",!r,!0),l(t)}}},8153:(e,t,r)=>{var A=r(2608),n=r(4183),i=r(5227).getWeakData,a=r(3399),o=r(7447),s=r(6021),c=r(2674),g=r(1804),u=r(5645),l=r(9649),h=r(8301),I=h.set,f=h.getterFor,C=u.find,B=u.findIndex,Q=A([].splice),E=0,d=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},p=function(e,t){return C(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=p(this,e);if(t)return t[1]},has:function(e){return!!p(this,e)},set:function(e,t){var r=p(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=B(this.entries,(function(t){return t[0]===e}));return~t&&Q(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,A){var u=e((function(e,n){a(e,h),I(e,{type:t,id:E++,frozen:null}),s(n)||g(n,e[A],{that:e,AS_ENTRIES:r})})),h=u.prototype,C=f(t),B=function(e,t,r){var A=C(e),n=i(o(t),!0);return!0===n?d(A).set(t,r):n[A.id]=r,e};return n(h,{delete:function(e){var t=C(this);if(!c(e))return!1;var r=i(e);return!0===r?d(t).delete(e):r&&l(r,t.id)&&delete r[t.id]},has:function(e){var t=C(this);if(!c(e))return!1;var r=i(e);return!0===r?d(t).has(e):r&&l(r,t.id)}}),n(h,r?{get:function(e){var t=C(this);if(c(e)){var r=i(e);if(!0===r)return d(t).get(e);if(r)return r[t.id]}},set:function(e,t){return B(this,e,t)}}:{add:function(e){return B(this,e,!0)}}),u}}},9556:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(2608),a=r(5868),o=r(8552),s=r(5227),c=r(1804),g=r(3399),u=r(3749),l=r(6021),h=r(2674),I=r(3455),f=r(4348),C=r(6911),B=r(3951);e.exports=function(e,t,r){var Q=-1!==e.indexOf("Map"),E=-1!==e.indexOf("Weak"),d=Q?"set":"add",y=n[e],p=y&&y.prototype,v=y,m={},w=function(e){var t=i(p[e]);o(p,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(E&&!h(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return E&&!h(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(E&&!h(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(a(e,!u(y)||!(E||p.forEach&&!I((function(){(new y).entries().next()})))))v=r.getConstructor(t,e,Q,d),s.enable();else if(a(e,!0)){var b=new v,k=b[d](E?{}:-0,1)!==b,D=I((function(){b.has(1)})),S=f((function(e){new y(e)})),F=!E&&I((function(){for(var e=new y,t=5;t--;)e[d](t,t);return!e.has(-0)}));S||((v=t((function(e,t){g(e,p);var r=B(new y,e,v);return l(t)||c(t,r[d],{that:r,AS_ENTRIES:Q}),r}))).prototype=p,p.constructor=v),(D||F)&&(w("delete"),w("has"),Q&&w("get")),(F||k)&&w(d),E&&p.clear&&delete p.clear}return m[e]=v,A({global:!0,constructor:!0,forced:v!==y},m),C(v,e),E||r.setStrong(v,e,Q),v}},2924:(e,t,r)=>{var A=r(9649),n=r(2919),i=r(1139),a=r(1601);e.exports=function(e,t,r){for(var o=n(t),s=a.f,c=i.f,g=0;g<o.length;g++){var u=o[g];A(e,u)||r&&A(r,u)||s(e,u,c(t,u))}}},860:(e,t,r)=>{var A=r(5811)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[A]=!1,"/./"[e](t)}catch(e){}}return!1}},5139:(e,t,r)=>{var A=r(3455);e.exports=!A((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9393:e=>{e.exports=function(e,t){return{value:e,done:t}}},139:(e,t,r)=>{var A=r(2444),n=r(1601),i=r(4004);e.exports=A?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},4004:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3552:(e,t,r)=>{var A=r(2444),n=r(1601),i=r(4004);e.exports=function(e,t,r){A?n.f(e,t,i(0,r)):e[t]=r}},952:(e,t,r)=>{var A=r(7447),n=r(3118),i=TypeError;e.exports=function(e){if(A(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return n(this,e)}},8986:(e,t,r)=>{var A=r(1147),n=r(1601);e.exports=function(e,t,r){return r.get&&A(r.get,t,{getter:!0}),r.set&&A(r.set,t,{setter:!0}),n.f(e,t,r)}},8552:(e,t,r)=>{var A=r(3749),n=r(1601),i=r(1147),a=r(5801);e.exports=function(e,t,r,o){o||(o={});var s=o.enumerable,c=void 0!==o.name?o.name:t;if(A(r)&&i(r,c,o),o.global)s?e[t]=r:a(t,r);else{try{o.unsafe?e[t]&&(s=!0):delete e[t]}catch(e){}s?e[t]=r:n.f(e,t,{value:r,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},4183:(e,t,r)=>{var A=r(8552);e.exports=function(e,t,r){for(var n in t)A(e,n,t[n],r);return e}},5801:(e,t,r)=>{var A=r(4032),n=Object.defineProperty;e.exports=function(e,t){try{n(A,e,{value:t,configurable:!0,writable:!0})}catch(r){A[e]=t}return t}},1870:(e,t,r)=>{var A=r(8055),n=TypeError;e.exports=function(e,t){if(!delete e[t])throw new n("Cannot delete property "+A(t)+" of "+A(e))}},2444:(e,t,r)=>{var A=r(3455);e.exports=!A((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},7395:(e,t,r)=>{var A,n,i,a,o=r(4032),s=r(9685),c=r(6572),g=o.structuredClone,u=o.ArrayBuffer,l=o.MessageChannel,h=!1;if(c)h=function(e){g(e,{transfer:[e]})};else if(u)try{l||(A=s("worker_threads"))&&(l=A.MessageChannel),l&&(n=new l,i=new u(2),a=function(e){n.port1.postMessage(null,[e])},2===i.byteLength&&(a(i),0===i.byteLength&&(h=a)))}catch(e){}e.exports=h},5751:(e,t,r)=>{var A=r(4032),n=r(2674),i=A.document,a=n(i)&&n(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},9573:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},4090:e=>{e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},2760:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},4784:(e,t,r)=>{var A=r(5751)("span").classList,n=A&&A.constructor&&A.constructor.prototype;e.exports=n===Object.prototype?void 0:n},5175:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7085:(e,t,r)=>{var A=r(7607).match(/firefox\\/(\\d+)/i);e.exports=!!A&&+A[1]},5123:(e,t,r)=>{var A=r(7607);e.exports=/MSIE|Trident/.test(A)},9081:(e,t,r)=>{var A=r(7607);e.exports=/ipad|iphone|ipod/i.test(A)&&"undefined"!=typeof Pebble},9352:(e,t,r)=>{var A=r(7607);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(A)},4529:(e,t,r)=>{var A=r(7351);e.exports="NODE"===A},628:(e,t,r)=>{var A=r(7607);e.exports=/web0s(?!.*chrome)/i.test(A)},7607:(e,t,r)=>{var A=r(4032).navigator,n=A&&A.userAgent;e.exports=n?String(n):""},6415:(e,t,r)=>{var A,n,i=r(4032),a=r(7607),o=i.process,s=i.Deno,c=o&&o.versions||s&&s.version,g=c&&c.v8;g&&(n=(A=g.split("."))[0]>0&&A[0]<4?1:+(A[0]+A[1])),!n&&a&&(!(A=a.match(/Edge\\/(\\d+)/))||A[1]>=74)&&(A=a.match(/Chrome\\/(\\d+)/))&&(n=+A[1]),e.exports=n},1911:(e,t,r)=>{var A=r(7607).match(/AppleWebKit\\/(\\d+)\\./);e.exports=!!A&&+A[1]},7351:(e,t,r)=>{var A=r(4032),n=r(7607),i=r(9872),a=function(e){return n.slice(0,e.length)===e};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":A.Bun&&"string"==typeof Bun.version?"BUN":A.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(A.process)?"NODE":A.window&&A.document?"BROWSER":"REST"},3633:(e,t,r)=>{var A=r(2608),n=Error,i=A("".replace),a=String(new n("zxcasd").stack),o=/\\n\\s*at [^:]*:[^\\n]*/,s=o.test(a);e.exports=function(e,t){if(s&&"string"==typeof e&&!n.prepareStackTrace)for(;t--;)e=i(e,o,"");return e}},4171:(e,t,r)=>{var A=r(139),n=r(3633),i=r(3427),a=Error.captureStackTrace;e.exports=function(e,t,r,o){i&&(a?a(e,t):A(e,"stack",n(r,o)))}},3427:(e,t,r)=>{var A=r(3455),n=r(4004);e.exports=!A((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",n(1,7)),7!==e.stack)}))},2912:(e,t,r)=>{var A=r(2444),n=r(3455),i=r(7447),a=r(8363),o=Error.prototype.toString,s=n((function(){if(A){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==o.call(e))return!0}return"2: 1"!==o.call({message:1,name:2})||"Error"!==o.call({})}));e.exports=s?function(){var e=i(this),t=a(e.name,"Error"),r=a(e.message);return t?r?t+": "+r:t:r}:o},5366:(e,t,r)=>{var A=r(4032),n=r(1139).f,i=r(139),a=r(8552),o=r(5801),s=r(2924),c=r(5868);e.exports=function(e,t){var r,g,u,l,h,I=e.target,f=e.global,C=e.stat;if(r=f?A:C?A[I]||o(I,{}):A[I]&&A[I].prototype)for(g in t){if(l=t[g],u=e.dontCallGetSet?(h=n(r,g))&&h.value:r[g],!c(f?g:I+(C?".":"#")+g,e.forced)&&void 0!==u){if(typeof l==typeof u)continue;s(l,u)}(e.sham||u&&u.sham)&&i(l,"sham",!0),a(r,g,l,e)}}},3455:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},4364:(e,t,r)=>{r(2823);var A=r(3453),n=r(8552),i=r(9867),a=r(3455),o=r(5811),s=r(139),c=o("species"),g=RegExp.prototype;e.exports=function(e,t,r,u){var l=o(e),h=!a((function(){var t={};return t[l]=function(){return 7},7!==""[e](t)})),I=h&&!a((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[l]=/./[l]),r.exec=function(){return t=!0,null},r[l](""),!t}));if(!h||!I||r){var f=/./[l],C=t(l,""[e],(function(e,t,r,n,a){var o=t.exec;return o===i||o===g.exec?h&&!a?{done:!0,value:A(f,t,r,n)}:{done:!0,value:A(e,r,t,n)}:{done:!1}}));n(String.prototype,e,C[0]),n(g,l,C[1])}u&&s(g[l],"sham",!0)}},2851:(e,t,r)=>{var A=r(5448),n=r(7878),i=r(9573),a=r(4864),o=function(e,t,r,s,c,g,u,l){for(var h,I,f=c,C=0,B=!!u&&a(u,l);C<s;)C in r&&(h=B?B(r[C],C,t):r[C],g>0&&A(h)?(I=n(h),f=o(e,t,h,I,f,g-1)-1):(i(f+1),e[f]=h),f++),C++;return f};e.exports=o},568:(e,t,r)=>{var A=r(3455);e.exports=!A((function(){return Object.isExtensible(Object.preventExtensions({}))}))},3881:(e,t,r)=>{var A=r(9128),n=Function.prototype,i=n.apply,a=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(A?a.bind(i):function(){return a.apply(i,arguments)})},4864:(e,t,r)=>{var A=r(2116),n=r(4186),i=r(9128),a=A(A.bind);e.exports=function(e,t){return n(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},9128:(e,t,r)=>{var A=r(3455);e.exports=!A((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2230:(e,t,r)=>{var A=r(2608),n=r(4186),i=r(2674),a=r(9649),o=r(4224),s=r(9128),c=Function,g=A([].concat),u=A([].join),l={};e.exports=s?c.bind:function(e){var t=n(this),r=t.prototype,A=o(arguments,1),s=function(){var r=g(A,o(arguments));return this instanceof s?function(e,t,r){if(!a(l,t)){for(var A=[],n=0;n<t;n++)A[n]="a["+n+"]";l[t]=c("C,a","return new C("+u(A,",")+")")}return l[t](e,r)}(t,r.length,r):t.apply(e,r)};return i(r)&&(s.prototype=r),s}},3453:(e,t,r)=>{var A=r(9128),n=Function.prototype.call;e.exports=A?n.bind(n):function(){return n.apply(n,arguments)}},2542:(e,t,r)=>{var A=r(2444),n=r(9649),i=Function.prototype,a=A&&Object.getOwnPropertyDescriptor,o=n(i,"name"),s=o&&"something"===function(){}.name,c=o&&(!A||A&&a(i,"name").configurable);e.exports={EXISTS:o,PROPER:s,CONFIGURABLE:c}},5026:(e,t,r)=>{var A=r(2608),n=r(4186);e.exports=function(e,t,r){try{return A(n(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},2116:(e,t,r)=>{var A=r(9872),n=r(2608);e.exports=function(e){if("Function"===A(e))return n(e)}},2608:(e,t,r)=>{var A=r(9128),n=Function.prototype,i=n.call,a=A&&n.bind.bind(i,i);e.exports=A?a:function(e){return function(){return i.apply(e,arguments)}}},9685:(e,t,r)=>{var A=r(4032),n=r(4529);e.exports=function(e){if(n){try{return A.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},8711:(e,t,r)=>{var A=r(4032),n=r(3749);e.exports=function(e,t){return arguments.length<2?(r=A[e],n(r)?r:void 0):A[e]&&A[e][t];var r}},3447:e=>{e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},7507:(e,t,r)=>{var A=r(1179),n=r(8622),i=r(6021),a=r(5597),o=r(5811)("iterator");e.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||a[A(e)]}},6961:(e,t,r)=>{var A=r(3453),n=r(4186),i=r(7447),a=r(8055),o=r(7507),s=TypeError;e.exports=function(e,t){var r=arguments.length<2?o(e):t;if(n(r))return i(A(r,e));throw new s(a(e)+" is not iterable")}},213:(e,t,r)=>{var A=r(2608),n=r(5448),i=r(3749),a=r(9872),o=r(687),s=A([].push);e.exports=function(e){if(i(e))return e;if(n(e)){for(var t=e.length,r=[],A=0;A<t;A++){var c=e[A];"string"==typeof c?s(r,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||s(r,o(c))}var g=r.length,u=!0;return function(e,t){if(u)return u=!1,t;if(n(this))return t;for(var A=0;A<g;A++)if(r[A]===e)return t}}}},8622:(e,t,r)=>{var A=r(4186),n=r(6021);e.exports=function(e,t){var r=e[t];return n(r)?void 0:A(r)}},3885:(e,t,r)=>{var A=r(4186),n=r(7447),i=r(3453),a=r(1211),o=r(3447),s="Invalid size",c=RangeError,g=TypeError,u=Math.max,l=function(e,t){this.set=e,this.size=u(t,0),this.has=A(e.has),this.keys=A(e.keys)};l.prototype={getIterator:function(){return o(n(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}},e.exports=function(e){n(e);var t=+e.size;if(t!=t)throw new g(s);var r=a(t);if(r<0)throw new c(s);return new l(e,r)}},3966:(e,t,r)=>{var A=r(2608),n=r(4165),i=Math.floor,a=A("".charAt),o=A("".replace),s=A("".slice),c=/\\$([$&'\`]|\\d{1,2}|<[^>]*>)/g,g=/\\$([$&'\`]|\\d{1,2})/g;e.exports=function(e,t,r,A,u,l){var h=r+e.length,I=A.length,f=g;return void 0!==u&&(u=n(u),f=c),o(l,f,(function(n,o){var c;switch(a(o,0)){case"$":return"$";case"&":return e;case"\`":return s(t,0,r);case"'":return s(t,h);case"<":c=u[s(o,1,-1)];break;default:var g=+o;if(0===g)return n;if(g>I){var l=i(g/10);return 0===l?n:l<=I?void 0===A[l-1]?a(o,1):A[l-1]+a(o,1):n}c=A[g-1]}return void 0===c?"":c}))}},4032:function(e){var t=function(e){return e&&e.Math===Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof global&&global)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9649:(e,t,r)=>{var A=r(2608),n=r(4165),i=A({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(n(e),t)}},2645:e=>{e.exports={}},4885:e=>{e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},3085:(e,t,r)=>{var A=r(8711);e.exports=A("document","documentElement")},8829:(e,t,r)=>{var A=r(2444),n=r(3455),i=r(5751);e.exports=!A&&!n((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1306:e=>{var t=Array,r=Math.abs,A=Math.pow,n=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,o,s){var c,g,u,l=t(s),h=8*s-o-1,I=(1<<h)-1,f=I>>1,C=23===o?A(2,-24)-A(2,-77):0,B=e<0||0===e&&1/e<0?1:0,Q=0;for((e=r(e))!=e||e===1/0?(g=e!=e?1:0,c=I):(c=n(i(e)/a),e*(u=A(2,-c))<1&&(c--,u*=2),(e+=c+f>=1?C/u:C*A(2,1-f))*u>=2&&(c++,u/=2),c+f>=I?(g=0,c=I):c+f>=1?(g=(e*u-1)*A(2,o),c+=f):(g=e*A(2,f-1)*A(2,o),c=0));o>=8;)l[Q++]=255&g,g/=256,o-=8;for(c=c<<o|g,h+=o;h>0;)l[Q++]=255&c,c/=256,h-=8;return l[Q-1]|=128*B,l},unpack:function(e,t){var r,n=e.length,i=8*n-t-1,a=(1<<i)-1,o=a>>1,s=i-7,c=n-1,g=e[c--],u=127&g;for(g>>=7;s>0;)u=256*u+e[c--],s-=8;for(r=u&(1<<-s)-1,u>>=-s,s+=t;s>0;)r=256*r+e[c--],s-=8;if(0===u)u=1-o;else{if(u===a)return r?NaN:g?-1/0:1/0;r+=A(2,t),u-=o}return(g?-1:1)*r*A(2,u-t)}}},9455:(e,t,r)=>{var A=r(2608),n=r(3455),i=r(9872),a=Object,o=A("".split);e.exports=n((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?o(e,""):a(e)}:a},3951:(e,t,r)=>{var A=r(3749),n=r(2674),i=r(9415);e.exports=function(e,t,r){var a,o;return i&&A(a=t.constructor)&&a!==r&&n(o=a.prototype)&&o!==r.prototype&&i(e,o),e}},6906:(e,t,r)=>{var A=r(2608),n=r(3749),i=r(2205),a=A(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},2483:(e,t,r)=>{var A=r(2674),n=r(139);e.exports=function(e,t){A(t)&&"cause"in t&&n(e,"cause",t.cause)}},5227:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(2645),a=r(2674),o=r(9649),s=r(1601).f,c=r(3408),g=r(6442),u=r(8812),l=r(5936),h=r(568),I=!1,f=l("meta"),C=0,B=function(e){s(e,f,{value:{objectID:"O"+C++,weakData:{}}})},Q=e.exports={enable:function(){Q.enable=function(){},I=!0;var e=c.f,t=n([].splice),r={};r[f]=1,e(r).length&&(c.f=function(r){for(var A=e(r),n=0,i=A.length;n<i;n++)if(A[n]===f){t(A,n,1);break}return A},A({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:g.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,f)){if(!u(e))return"F";if(!t)return"E";B(e)}return e[f].objectID},getWeakData:function(e,t){if(!o(e,f)){if(!u(e))return!0;if(!t)return!1;B(e)}return e[f].weakData},onFreeze:function(e){return h&&I&&u(e)&&!o(e,f)&&B(e),e}};i[f]=!0},8301:(e,t,r)=>{var A,n,i,a=r(6206),o=r(4032),s=r(2674),c=r(139),g=r(9649),u=r(2205),l=r(2343),h=r(2645),I="Object already initialized",f=o.TypeError,C=o.WeakMap;if(a||u.state){var B=u.state||(u.state=new C);B.get=B.get,B.has=B.has,B.set=B.set,A=function(e,t){if(B.has(e))throw new f(I);return t.facade=e,B.set(e,t),t},n=function(e){return B.get(e)||{}},i=function(e){return B.has(e)}}else{var Q=l("state");h[Q]=!0,A=function(e,t){if(g(e,Q))throw new f(I);return t.facade=e,c(e,Q,t),t},n=function(e){return g(e,Q)?e[Q]:{}},i=function(e){return g(e,Q)}}e.exports={set:A,get:n,has:i,enforce:function(e){return i(e)?n(e):A(e,{})},getterFor:function(e){return function(t){var r;if(!s(t)||(r=n(t)).type!==e)throw new f("Incompatible receiver, "+e+" required");return r}}}},993:(e,t,r)=>{var A=r(5811),n=r(5597),i=A("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[i]===e)}},5448:(e,t,r)=>{var A=r(9872);e.exports=Array.isArray||function(e){return"Array"===A(e)}},5415:(e,t,r)=>{var A=r(1179);e.exports=function(e){var t=A(e);return"BigInt64Array"===t||"BigUint64Array"===t}},3749:e=>{var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8413:(e,t,r)=>{var A=r(2608),n=r(3455),i=r(3749),a=r(1179),o=r(8711),s=r(6906),c=function(){},g=o("Reflect","construct"),u=/^\\s*(?:class|function)\\b/,l=A(u.exec),h=!u.test(c),I=function(e){if(!i(e))return!1;try{return g(c,[],e),!0}catch(e){return!1}},f=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!l(u,s(e))}catch(e){return!0}};f.sham=!0,e.exports=!g||n((function(){var e;return I(I.call)||!I(Object)||!I((function(){e=!0}))||e}))?f:I},3007:(e,t,r)=>{var A=r(9649);e.exports=function(e){return void 0!==e&&(A(e,"value")||A(e,"writable"))}},5868:(e,t,r)=>{var A=r(3455),n=r(3749),i=/#|\\.prototype\\./,a=function(e,t){var r=s[o(e)];return r===g||r!==c&&(n(t)?A(t):!!t)},o=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",g=a.POLYFILL="P";e.exports=a},2599:(e,t,r)=>{var A=r(2674),n=Math.floor;e.exports=Number.isInteger||function(e){return!A(e)&&isFinite(e)&&n(e)===e}},6021:e=>{e.exports=function(e){return null==e}},2674:(e,t,r)=>{var A=r(3749);e.exports=function(e){return"object"==typeof e?null!==e:A(e)}},4597:(e,t,r)=>{var A=r(2674);e.exports=function(e){return A(e)||null===e}},8507:e=>{e.exports=!1},6484:(e,t,r)=>{var A=r(2674),n=r(9872),i=r(5811)("match");e.exports=function(e){var t;return A(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===n(e))}},2277:(e,t,r)=>{var A=r(8711),n=r(3749),i=r(6921),a=r(4752),o=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=A("Symbol");return n(t)&&i(t.prototype,o(e))}},2939:(e,t,r)=>{var A=r(3453);e.exports=function(e,t,r){for(var n,i,a=r?e:e.iterator,o=e.next;!(n=A(o,a)).done;)if(void 0!==(i=t(n.value)))return i}},1804:(e,t,r)=>{var A=r(4864),n=r(3453),i=r(7447),a=r(8055),o=r(993),s=r(7878),c=r(6921),g=r(6961),u=r(7507),l=r(5235),h=TypeError,I=function(e,t){this.stopped=e,this.result=t},f=I.prototype;e.exports=function(e,t,r){var C,B,Q,E,d,y,p,v=r&&r.that,m=!(!r||!r.AS_ENTRIES),w=!(!r||!r.IS_RECORD),b=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),D=A(t,v),S=function(e){return C&&l(C,"normal",e),new I(!0,e)},F=function(e){return m?(i(e),k?D(e[0],e[1],S):D(e[0],e[1])):k?D(e,S):D(e)};if(w)C=e.iterator;else if(b)C=e;else{if(!(B=u(e)))throw new h(a(e)+" is not iterable");if(o(B)){for(Q=0,E=s(e);E>Q;Q++)if((d=F(e[Q]))&&c(f,d))return d;return new I(!1)}C=g(e,B)}for(y=w?e.next:C.next;!(p=n(y,C)).done;){try{d=F(p.value)}catch(e){l(C,"throw",e)}if("object"==typeof d&&d&&c(f,d))return d}return new I(!1)}},5235:(e,t,r)=>{var A=r(3453),n=r(7447),i=r(8622);e.exports=function(e,t,r){var a,o;n(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=A(a,e)}catch(e){o=!0,a=e}if("throw"===t)throw r;if(o)throw a;return n(a),r}},282:(e,t,r)=>{var A=r(2857).IteratorPrototype,n=r(5304),i=r(4004),a=r(6911),o=r(5597),s=function(){return this};e.exports=function(e,t,r,c){var g=t+" Iterator";return e.prototype=n(A,{next:i(+!c,r)}),a(e,g,!1,!0),o[g]=s,e}},2342:(e,t,r)=>{var A=r(3453),n=r(5304),i=r(139),a=r(4183),o=r(5811),s=r(8301),c=r(8622),g=r(2857).IteratorPrototype,u=r(9393),l=r(5235),h=o("toStringTag"),I="IteratorHelper",f="WrapForValidIterator",C=s.set,B=function(e){var t=s.getterFor(e?f:I);return a(n(g),{next:function(){var r=t(this);if(e)return r.nextHandler();try{var A=r.done?void 0:r.nextHandler();return u(A,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),n=r.iterator;if(r.done=!0,e){var i=c(n,"return");return i?A(i,n):u(void 0,!0)}if(r.inner)try{l(r.inner.iterator,"normal")}catch(e){return l(n,"throw",e)}return l(n,"normal"),u(void 0,!0)}})},Q=B(!0),E=B(!1);i(E,h,"Iterator Helper"),e.exports=function(e,t){var r=function(r,A){A?(A.iterator=r.iterator,A.next=r.next):A=r,A.type=t?f:I,A.nextHandler=e,A.counter=0,A.done=!1,C(this,A)};return r.prototype=t?Q:E,r}},656:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(8507),a=r(2542),o=r(3749),s=r(282),c=r(2611),g=r(9415),u=r(6911),l=r(139),h=r(8552),I=r(5811),f=r(5597),C=r(2857),B=a.PROPER,Q=a.CONFIGURABLE,E=C.IteratorPrototype,d=C.BUGGY_SAFARI_ITERATORS,y=I("iterator"),p="keys",v="values",m="entries",w=function(){return this};e.exports=function(e,t,r,a,I,C,b){s(r,t,a);var k,D,S,F=function(e){if(e===I&&L)return L;if(!d&&e&&e in G)return G[e];switch(e){case p:case v:case m:return function(){return new r(this,e)}}return function(){return new r(this)}},x=t+" Iterator",R=!1,G=e.prototype,N=G[y]||G["@@iterator"]||I&&G[I],L=!d&&N||F(I),U="Array"===t&&G.entries||N;if(U&&(k=c(U.call(new e)))!==Object.prototype&&k.next&&(i||c(k)===E||(g?g(k,E):o(k[y])||h(k,y,w)),u(k,x,!0,!0),i&&(f[x]=w)),B&&I===v&&N&&N.name!==v&&(!i&&Q?l(G,"name",v):(R=!0,L=function(){return n(N,this)})),I)if(D={values:F(v),keys:C?L:F(p),entries:F(m)},b)for(S in D)(d||R||!(S in G))&&h(G,S,D[S]);else A({target:t,proto:!0,forced:d||R},D);return i&&!b||G[y]===L||h(G,y,L,{name:I}),f[t]=L,D}},4009:(e,t,r)=>{var A=r(3453),n=r(4186),i=r(7447),a=r(3447),o=r(2342),s=r(3535),c=o((function(){var e=this.iterator,t=i(A(this.next,e));if(!(this.done=!!t.done))return s(e,this.mapper,[t.value,this.counter++],!0)}));e.exports=function(e){return i(this),n(e),new c(a(this),{mapper:e})}},2857:(e,t,r)=>{var A,n,i,a=r(3455),o=r(3749),s=r(2674),c=r(5304),g=r(2611),u=r(8552),l=r(5811),h=r(8507),I=l("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(n=g(g(i)))!==Object.prototype&&(A=n):f=!0),!s(A)||a((function(){var e={};return A[I].call(e)!==e}))?A={}:h&&(A=c(A)),o(A[I])||u(A,I,(function(){return this})),e.exports={IteratorPrototype:A,BUGGY_SAFARI_ITERATORS:f}},5597:e=>{e.exports={}},7878:(e,t,r)=>{var A=r(5806);e.exports=function(e){return A(e.length)}},1147:(e,t,r)=>{var A=r(2608),n=r(3455),i=r(3749),a=r(9649),o=r(2444),s=r(2542).CONFIGURABLE,c=r(6906),g=r(8301),u=g.enforce,l=g.get,h=String,I=Object.defineProperty,f=A("".slice),C=A("".replace),B=A([].join),Q=o&&!n((function(){return 8!==I((function(){}),"length",{value:8}).length})),E=String(String).split("String"),d=e.exports=function(e,t,r){"Symbol("===f(h(t),0,7)&&(t="["+C(h(t),/^Symbol\\(([^)]*)\\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||s&&e.name!==t)&&(o?I(e,"name",{value:t,configurable:!0}):e.name=t),Q&&r&&a(r,"arity")&&e.length!==r.arity&&I(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?o&&I(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var A=u(e);return a(A,"source")||(A.source=B(E,"string"==typeof t?t:"")),e};Function.prototype.toString=d((function(){return i(this)&&l(this).source||c(this)}),"toString")},9676:(e,t,r)=>{var A=r(550),n=Math.abs,i=2220446049250313e-31,a=1/i;e.exports=function(e,t,r,o){var s=+e,c=n(s),g=A(s);if(c<o)return g*function(e){return e+a-a}(c/o/t)*o*t;var u=(1+t/i)*c,l=u-(u-c);return l>r||l!=l?g*(1/0):g*l}},3505:(e,t,r)=>{var A=r(9676);e.exports=Math.fround||function(e){return A(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},550:e=>{e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},2789:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var A=+e;return(A>0?r:t)(A)}},755:(e,t,r)=>{var A,n,i,a,o,s=r(4032),c=r(5725),g=r(4864),u=r(1369).set,l=r(3529),h=r(9352),I=r(9081),f=r(628),C=r(4529),B=s.MutationObserver||s.WebKitMutationObserver,Q=s.document,E=s.process,d=s.Promise,y=c("queueMicrotask");if(!y){var p=new l,v=function(){var e,t;for(C&&(e=E.domain)&&e.exit();t=p.get();)try{t()}catch(e){throw p.head&&A(),e}e&&e.enter()};h||C||f||!B||!Q?!I&&d&&d.resolve?((a=d.resolve(void 0)).constructor=d,o=g(a.then,a),A=function(){o(v)}):C?A=function(){E.nextTick(v)}:(u=g(u,s),A=function(){u(v)}):(n=!0,i=Q.createTextNode(""),new B(v).observe(i,{characterData:!0}),A=function(){i.data=n=!n}),y=function(e){p.head||A(),p.add(e)}}e.exports=y},9371:(e,t,r)=>{var A=r(4186),n=TypeError,i=function(e){var t,r;this.promise=new e((function(e,A){if(void 0!==t||void 0!==r)throw new n("Bad Promise constructor");t=e,r=A})),this.resolve=A(t),this.reject=A(r)};e.exports.f=function(e){return new i(e)}},8363:(e,t,r)=>{var A=r(687);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:A(e)}},3631:(e,t,r)=>{var A=r(6484),n=TypeError;e.exports=function(e){if(A(e))throw new n("The method doesn't accept regular expressions");return e}},8069:(e,t,r)=>{var A=r(2444),n=r(2608),i=r(3453),a=r(3455),o=r(496),s=r(6005),c=r(9221),g=r(4165),u=r(9455),l=Object.assign,h=Object.defineProperty,I=n([].concat);e.exports=!l||a((function(){if(A&&1!==l({b:1},l(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!==l({},e)[r]||o(l({},t)).join("")!==n}))?function(e,t){for(var r=g(e),n=arguments.length,a=1,l=s.f,h=c.f;n>a;)for(var f,C=u(arguments[a++]),B=l?I(o(C),l(C)):o(C),Q=B.length,E=0;Q>E;)f=B[E++],A&&!i(h,C,f)||(r[f]=C[f]);return r}:l},5304:(e,t,r)=>{var A,n=r(7447),i=r(9217),a=r(5175),o=r(2645),s=r(3085),c=r(5751),g=r(2343),u="prototype",l="script",h=g("IE_PROTO"),I=function(){},f=function(e){return"<"+l+">"+e+"</"+l+">"},C=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},B=function(){try{A=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;B="undefined"!=typeof document?document.domain&&A?C(A):(t=c("iframe"),r="java"+l+":",t.style.display="none",s.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):C(A);for(var n=a.length;n--;)delete B[u][a[n]];return B()};o[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(I[u]=n(e),r=new I,I[u]=null,r[h]=e):r=B(),void 0===t?r:i.f(r,t)}},9217:(e,t,r)=>{var A=r(2444),n=r(782),i=r(1601),a=r(7447),o=r(3637),s=r(496);t.f=A&&!n?Object.defineProperties:function(e,t){a(e);for(var r,A=o(t),n=s(t),c=n.length,g=0;c>g;)i.f(e,r=n[g++],A[r]);return e}},1601:(e,t,r)=>{var A=r(2444),n=r(8829),i=r(782),a=r(7447),o=r(6201),s=TypeError,c=Object.defineProperty,g=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",h="writable";t.f=A?i?function(e,t,r){if(a(e),t=o(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var A=g(e,t);A&&A[h]&&(e[t]=r.value,r={configurable:l in r?r[l]:A[l],enumerable:u in r?r[u]:A[u],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(a(e),t=o(t),a(r),n)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new s("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1139:(e,t,r)=>{var A=r(2444),n=r(3453),i=r(9221),a=r(4004),o=r(3637),s=r(6201),c=r(9649),g=r(8829),u=Object.getOwnPropertyDescriptor;t.f=A?u:function(e,t){if(e=o(e),t=s(t),g)try{return u(e,t)}catch(e){}if(c(e,t))return a(!n(i.f,e,t),e[t])}},6442:(e,t,r)=>{var A=r(9872),n=r(3637),i=r(3408).f,a=r(4224),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"Window"===A(e)?function(e){try{return i(e)}catch(e){return a(o)}}(e):i(n(e))}},3408:(e,t,r)=>{var A=r(2468),n=r(5175).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return A(e,n)}},6005:(e,t)=>{t.f=Object.getOwnPropertySymbols},2611:(e,t,r)=>{var A=r(9649),n=r(3749),i=r(4165),a=r(2343),o=r(5139),s=a("IE_PROTO"),c=Object,g=c.prototype;e.exports=o?c.getPrototypeOf:function(e){var t=i(e);if(A(t,s))return t[s];var r=t.constructor;return n(r)&&t instanceof r?r.prototype:t instanceof c?g:null}},8812:(e,t,r)=>{var A=r(3455),n=r(2674),i=r(9872),a=r(7060),o=Object.isExtensible,s=A((function(){o(1)}));e.exports=s||a?function(e){return!!n(e)&&(!a||"ArrayBuffer"!==i(e))&&(!o||o(e))}:o},6921:(e,t,r)=>{var A=r(2608);e.exports=A({}.isPrototypeOf)},2468:(e,t,r)=>{var A=r(2608),n=r(9649),i=r(3637),a=r(7921).indexOf,o=r(2645),s=A([].push);e.exports=function(e,t){var r,A=i(e),c=0,g=[];for(r in A)!n(o,r)&&n(A,r)&&s(g,r);for(;t.length>c;)n(A,r=t[c++])&&(~a(g,r)||s(g,r));return g}},496:(e,t,r)=>{var A=r(2468),n=r(5175);e.exports=Object.keys||function(e){return A(e,n)}},9221:(e,t)=>{var r={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,n=A&&!r.call({1:2},1);t.f=n?function(e){var t=A(this,e);return!!t&&t.enumerable}:r},9415:(e,t,r)=>{var A=r(5026),n=r(2674),i=r(7222),a=r(7330);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=A(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,A){return i(r),a(A),n(r)?(t?e(r,A):r.__proto__=A,r):r}}():void 0)},8885:(e,t,r)=>{var A=r(2444),n=r(3455),i=r(2608),a=r(2611),o=r(496),s=r(3637),c=i(r(9221).f),g=i([].push),u=A&&n((function(){var e=Object.create(null);return e[2]=2,!c(e,2)})),l=function(e){return function(t){for(var r,n=s(t),i=o(n),l=u&&null===a(n),h=i.length,I=0,f=[];h>I;)r=i[I++],A&&!(l?r in n:c(n,r))||g(f,e?[r,n[r]]:n[r]);return f}};e.exports={entries:l(!0),values:l(!1)}},3003:(e,t,r)=>{var A=r(3724),n=r(1179);e.exports=A?{}.toString:function(){return"[object "+n(this)+"]"}},3118:(e,t,r)=>{var A=r(3453),n=r(3749),i=r(2674),a=TypeError;e.exports=function(e,t){var r,o;if("string"===t&&n(r=e.toString)&&!i(o=A(r,e)))return o;if(n(r=e.valueOf)&&!i(o=A(r,e)))return o;if("string"!==t&&n(r=e.toString)&&!i(o=A(r,e)))return o;throw new a("Can't convert object to primitive value")}},2919:(e,t,r)=>{var A=r(8711),n=r(2608),i=r(3408),a=r(6005),o=r(7447),s=n([].concat);e.exports=A("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=a.f;return r?s(t,r(e)):t}},8799:(e,t,r)=>{var A=r(4032);e.exports=A},6703:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},9492:(e,t,r)=>{var A=r(4032),n=r(5318),i=r(3749),a=r(5868),o=r(6906),s=r(5811),c=r(7351),g=r(8507),u=r(6415),l=n&&n.prototype,h=s("species"),I=!1,f=i(A.PromiseRejectionEvent),C=a("Promise",(function(){var e=o(n),t=e!==String(n);if(!t&&66===u)return!0;if(g&&(!l.catch||!l.finally))return!0;if(!u||u<51||!/native code/.test(e)){var r=new n((function(e){e(1)})),A=function(e){e((function(){}),(function(){}))};if((r.constructor={})[h]=A,!(I=r.then((function(){}))instanceof A))return!0}return!(t||"BROWSER"!==c&&"DENO"!==c||f)}));e.exports={CONSTRUCTOR:C,REJECTION_EVENT:f,SUBCLASSING:I}},5318:(e,t,r)=>{var A=r(4032);e.exports=A.Promise},1774:(e,t,r)=>{var A=r(7447),n=r(2674),i=r(9371);e.exports=function(e,t){if(A(e),n(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},2041:(e,t,r)=>{var A=r(5318),n=r(4348),i=r(9492).CONSTRUCTOR;e.exports=i||!n((function(e){A.all(e).then(void 0,(function(){}))}))},2848:(e,t,r)=>{var A=r(1601).f;e.exports=function(e,t,r){r in e||A(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},3529:e=>{var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},4410:(e,t,r)=>{var A=r(3453),n=r(7447),i=r(3749),a=r(9872),o=r(9867),s=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var c=A(r,e,t);return null!==c&&n(c),c}if("RegExp"===a(e))return A(o,e,t);throw new s("RegExp#exec called on incompatible receiver")}},9867:(e,t,r)=>{var A,n,i=r(3453),a=r(2608),o=r(687),s=r(747),c=r(1837),g=r(4593),u=r(5304),l=r(8301).get,h=r(3651),I=r(9502),f=g("native-string-replace",String.prototype.replace),C=RegExp.prototype.exec,B=C,Q=a("".charAt),E=a("".indexOf),d=a("".replace),y=a("".slice),p=(n=/b*/g,i(C,A=/a/,"a"),i(C,n,"a"),0!==A.lastIndex||0!==n.lastIndex),v=c.BROKEN_CARET,m=void 0!==/()??/.exec("")[1];(p||m||v||h||I)&&(B=function(e){var t,r,A,n,a,c,g,h=this,I=l(h),w=o(e),b=I.raw;if(b)return b.lastIndex=h.lastIndex,t=i(B,b,w),h.lastIndex=b.lastIndex,t;var k=I.groups,D=v&&h.sticky,S=i(s,h),F=h.source,x=0,R=w;if(D&&(S=d(S,"y",""),-1===E(S,"g")&&(S+="g"),R=y(w,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\\n"!==Q(w,h.lastIndex-1))&&(F="(?: "+F+")",R=" "+R,x++),r=new RegExp("^(?:"+F+")",S)),m&&(r=new RegExp("^"+F+"$(?!\\\\s)",S)),p&&(A=h.lastIndex),n=i(C,D?r:h,R),D?n?(n.input=y(n.input,x),n[0]=y(n[0],x),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:p&&n&&(h.lastIndex=h.global?n.index+n[0].length:A),m&&n&&n.length>1&&i(f,n[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(n[a]=void 0)})),n&&k)for(n.groups=c=u(null),a=0;a<k.length;a++)c[(g=k[a])[0]]=n[g[1]];return n}),e.exports=B},747:(e,t,r)=>{var A=r(7447);e.exports=function(){var e=A(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},4554:(e,t,r)=>{var A=r(3453),n=r(9649),i=r(6921),a=r(747),o=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in o||n(e,"flags")||!i(o,e)?t:A(a,e)}},1837:(e,t,r)=>{var A=r(3455),n=r(4032).RegExp,i=A((function(){var e=n("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||A((function(){return!n("a","y").sticky})),o=i||A((function(){var e=n("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:o,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3651:(e,t,r)=>{var A=r(3455),n=r(4032).RegExp;e.exports=A((function(){var e=n(".","s");return!(e.dotAll&&e.test("\\n")&&"s"===e.flags)}))},9502:(e,t,r)=>{var A=r(3455),n=r(4032).RegExp;e.exports=A((function(){var e=n("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},7222:(e,t,r)=>{var A=r(6021),n=TypeError;e.exports=function(e){if(A(e))throw new n("Can't call method on "+e);return e}},5725:(e,t,r)=>{var A=r(4032),n=r(2444),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!n)return A[e];var t=i(A,e);return t&&t.value}},8550:(e,t,r)=>{var A=r(418),n=r(5605),i=A.Set,a=A.add;e.exports=function(e){var t=new i;return n(e,(function(e){a(t,e)})),t}},4656:(e,t,r)=>{var A=r(4376),n=r(418),i=r(8550),a=r(82),o=r(3885),s=r(5605),c=r(2939),g=n.has,u=n.remove;e.exports=function(e){var t=A(this),r=o(e),n=i(t);return a(t)<=r.size?s(t,(function(e){r.includes(e)&&u(n,e)})):c(r.getIterator(),(function(e){g(t,e)&&u(n,e)})),n}},418:(e,t,r)=>{var A=r(2608),n=Set.prototype;e.exports={Set,add:A(n.add),has:A(n.has),remove:A(n.delete),proto:n}},2446:(e,t,r)=>{var A=r(4376),n=r(418),i=r(82),a=r(3885),o=r(5605),s=r(2939),c=n.Set,g=n.add,u=n.has;e.exports=function(e){var t=A(this),r=a(e),n=new c;return i(t)>r.size?s(r.getIterator(),(function(e){u(t,e)&&g(n,e)})):o(t,(function(e){r.includes(e)&&g(n,e)})),n}},4545:(e,t,r)=>{var A=r(4376),n=r(418).has,i=r(82),a=r(3885),o=r(5605),s=r(2939),c=r(5235);e.exports=function(e){var t=A(this),r=a(e);if(i(t)<=r.size)return!1!==o(t,(function(e){if(r.includes(e))return!1}),!0);var g=r.getIterator();return!1!==s(g,(function(e){if(n(t,e))return c(g,"normal",!1)}))}},7918:(e,t,r)=>{var A=r(4376),n=r(82),i=r(5605),a=r(3885);e.exports=function(e){var t=A(this),r=a(e);return!(n(t)>r.size)&&!1!==i(t,(function(e){if(!r.includes(e))return!1}),!0)}},6111:(e,t,r)=>{var A=r(4376),n=r(418).has,i=r(82),a=r(3885),o=r(2939),s=r(5235);e.exports=function(e){var t=A(this),r=a(e);if(i(t)<r.size)return!1;var c=r.getIterator();return!1!==o(c,(function(e){if(!n(t,e))return s(c,"normal",!1)}))}},5605:(e,t,r)=>{var A=r(2608),n=r(2939),i=r(418),a=i.Set,o=i.proto,s=A(o.forEach),c=A(o.keys),g=c(new a).next;e.exports=function(e,t,r){return r?n({iterator:c(e),next:g},t):s(e,t)}},1716:(e,t,r)=>{var A=r(8711),n=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};e.exports=function(e){var t=A("Set");try{(new t)[e](n(0));try{return(new t)[e](n(-1)),!1}catch(e){return!0}}catch(e){return!1}}},82:(e,t,r)=>{var A=r(5026),n=r(418);e.exports=A(n.proto,"size","get")||function(e){return e.size}},5409:(e,t,r)=>{var A=r(8711),n=r(8986),i=r(5811),a=r(2444),o=i("species");e.exports=function(e){var t=A(e);a&&t&&!t[o]&&n(t,o,{configurable:!0,get:function(){return this}})}},4498:(e,t,r)=>{var A=r(4376),n=r(418),i=r(8550),a=r(3885),o=r(2939),s=n.add,c=n.has,g=n.remove;e.exports=function(e){var t=A(this),r=a(e).getIterator(),n=i(t);return o(r,(function(e){c(t,e)?g(n,e):s(n,e)})),n}},6911:(e,t,r)=>{var A=r(1601).f,n=r(9649),i=r(5811)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!n(e,i)&&A(e,i,{configurable:!0,value:t})}},9500:(e,t,r)=>{var A=r(4376),n=r(418).add,i=r(8550),a=r(3885),o=r(2939);e.exports=function(e){var t=A(this),r=a(e).getIterator(),s=i(t);return o(r,(function(e){n(s,e)})),s}},2343:(e,t,r)=>{var A=r(4593),n=r(5936),i=A("keys");e.exports=function(e){return i[e]||(i[e]=n(e))}},2205:(e,t,r)=>{var A=r(8507),n=r(4032),i=r(5801),a="__core-js_shared__",o=e.exports=n[a]||i(a,{});(o.versions||(o.versions=[])).push({version:"3.38.1",mode:A?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},4593:(e,t,r)=>{var A=r(2205);e.exports=function(e,t){return A[e]||(A[e]=t||{})}},1365:(e,t,r)=>{var A=r(7447),n=r(9052),i=r(6021),a=r(5811)("species");e.exports=function(e,t){var r,o=A(e).constructor;return void 0===o||i(r=A(o)[a])?t:n(r)}},6903:(e,t,r)=>{var A=r(2608),n=r(1211),i=r(687),a=r(7222),o=A("".charAt),s=A("".charCodeAt),c=A("".slice),g=function(e){return function(t,r){var A,g,u=i(a(t)),l=n(r),h=u.length;return l<0||l>=h?e?"":void 0:(A=s(u,l))<55296||A>56319||l+1===h||(g=s(u,l+1))<56320||g>57343?e?o(u,l):A:e?c(u,l,l+2):g-56320+(A-55296<<10)+65536}};e.exports={codeAt:g(!1),charAt:g(!0)}},4903:(e,t,r)=>{var A=r(7607);e.exports=/Version\\/10(?:\\.\\d+){1,2}(?: [\\w./]+)?(?: Mobile\\/\\w+)? Safari\\//.test(A)},6437:(e,t,r)=>{var A=r(2608),n=r(5806),i=r(687),a=r(6605),o=r(7222),s=A(a),c=A("".slice),g=Math.ceil,u=function(e){return function(t,r,A){var a,u,l=i(o(t)),h=n(r),I=l.length,f=void 0===A?" ":i(A);return h<=I||""===f?l:((u=s(f,g((a=h-I)/f.length))).length>a&&(u=c(u,0,a)),e?l+u:u+l)}};e.exports={start:u(!1),end:u(!0)}},5141:(e,t,r)=>{var A=r(2608),n=2147483647,i=/[^\\0-\\u007E]/,a=/[.\\u3002\\uFF0E\\uFF61]/g,o="Overflow: input needs wider integers to process",s=RangeError,c=A(a.exec),g=Math.floor,u=String.fromCharCode,l=A("".charCodeAt),h=A([].join),I=A([].push),f=A("".replace),C=A("".split),B=A("".toLowerCase),Q=function(e){return e+22+75*(e<26)},E=function(e,t,r){var A=0;for(e=r?g(e/700):e>>1,e+=g(e/t);e>455;)e=g(e/35),A+=36;return g(A+36*e/(e+38))},d=function(e){var t=[];e=function(e){for(var t=[],r=0,A=e.length;r<A;){var n=l(e,r++);if(n>=55296&&n<=56319&&r<A){var i=l(e,r++);56320==(64512&i)?I(t,((1023&n)<<10)+(1023&i)+65536):(I(t,n),r--)}else I(t,n)}return t}(e);var r,A,i=e.length,a=128,c=0,f=72;for(r=0;r<e.length;r++)(A=e[r])<128&&I(t,u(A));var C=t.length,B=C;for(C&&I(t,"-");B<i;){var d=n;for(r=0;r<e.length;r++)(A=e[r])>=a&&A<d&&(d=A);var y=B+1;if(d-a>g((n-c)/y))throw new s(o);for(c+=(d-a)*y,a=d,r=0;r<e.length;r++){if((A=e[r])<a&&++c>n)throw new s(o);if(A===a){for(var p=c,v=36;;){var m=v<=f?1:v>=f+26?26:v-f;if(p<m)break;var w=p-m,b=36-m;I(t,u(Q(m+w%b))),p=g(w/b),v+=36}I(t,u(Q(p))),f=E(c,y,B===C),c=0,B++}}c++,a++}return h(t,"")};e.exports=function(e){var t,r,A=[],n=C(f(B(e),a,"."),".");for(t=0;t<n.length;t++)r=n[t],I(A,c(i,r)?"xn--"+d(r):r);return h(A,".")}},6605:(e,t,r)=>{var A=r(1211),n=r(687),i=r(7222),a=RangeError;e.exports=function(e){var t=n(i(this)),r="",o=A(e);if(o<0||o===1/0)throw new a("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},2882:(e,t,r)=>{var A=r(9418).end,n=r(3794);e.exports=n("trimEnd")?function(){return A(this)}:"".trimEnd},3794:(e,t,r)=>{var A=r(2542).PROPER,n=r(3455),i=r(2284);e.exports=function(e){return n((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||A&&i[e].name!==e}))}},9418:(e,t,r)=>{var A=r(2608),n=r(7222),i=r(687),a=r(2284),o=A("".replace),s=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),g=function(e){return function(t){var r=i(n(t));return 1&e&&(r=o(r,s,"")),2&e&&(r=o(r,c,"$1")),r}};e.exports={start:g(1),end:g(2),trim:g(3)}},6572:(e,t,r)=>{var A=r(4032),n=r(3455),i=r(6415),a=r(7351),o=A.structuredClone;e.exports=!!o&&!n((function(){if("DENO"===a&&i>92||"NODE"===a&&i>94||"BROWSER"===a&&i>97)return!1;var e=new ArrayBuffer(8),t=o(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},6943:(e,t,r)=>{var A=r(6415),n=r(3455),i=r(4032).String;e.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&A&&A<41}))},3042:(e,t,r)=>{var A=r(3453),n=r(8711),i=r(5811),a=r(8552);e.exports=function(){var e=n("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,o=i("toPrimitive");t&&!t[o]&&a(t,o,(function(e){return A(r,this)}),{arity:1})}},8592:(e,t,r)=>{var A=r(6943);e.exports=A&&!!Symbol.for&&!!Symbol.keyFor},1369:(e,t,r)=>{var A,n,i,a,o=r(4032),s=r(3881),c=r(4864),g=r(3749),u=r(9649),l=r(3455),h=r(3085),I=r(4224),f=r(5751),C=r(7900),B=r(9352),Q=r(4529),E=o.setImmediate,d=o.clearImmediate,y=o.process,p=o.Dispatch,v=o.Function,m=o.MessageChannel,w=o.String,b=0,k={},D="onreadystatechange";l((function(){A=o.location}));var S=function(e){if(u(k,e)){var t=k[e];delete k[e],t()}},F=function(e){return function(){S(e)}},x=function(e){S(e.data)},R=function(e){o.postMessage(w(e),A.protocol+"//"+A.host)};E&&d||(E=function(e){C(arguments.length,1);var t=g(e)?e:v(e),r=I(arguments,1);return k[++b]=function(){s(t,void 0,r)},n(b),b},d=function(e){delete k[e]},Q?n=function(e){y.nextTick(F(e))}:p&&p.now?n=function(e){p.now(F(e))}:m&&!B?(a=(i=new m).port2,i.port1.onmessage=x,n=c(a.postMessage,a)):o.addEventListener&&g(o.postMessage)&&!o.importScripts&&A&&"file:"!==A.protocol&&!l(R)?(n=R,o.addEventListener("message",x,!1)):n=D in f("script")?function(e){h.appendChild(f("script"))[D]=function(){h.removeChild(this),S(e)}}:function(e){setTimeout(F(e),0)}),e.exports={set:E,clear:d}},9002:(e,t,r)=>{var A=r(1211),n=Math.max,i=Math.min;e.exports=function(e,t){var r=A(e);return r<0?n(r+t,0):i(r,t)}},1198:(e,t,r)=>{var A=r(8921),n=TypeError;e.exports=function(e){var t=A(e,"number");if("number"==typeof t)throw new n("Can't convert number to bigint");return BigInt(t)}},9088:(e,t,r)=>{var A=r(1211),n=r(5806),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=A(e),r=n(t);if(t!==r)throw new i("Wrong length or index");return r}},3637:(e,t,r)=>{var A=r(9455),n=r(7222);e.exports=function(e){return A(n(e))}},1211:(e,t,r)=>{var A=r(2789);e.exports=function(e){var t=+e;return t!=t||0===t?0:A(t)}},5806:(e,t,r)=>{var A=r(1211),n=Math.min;e.exports=function(e){var t=A(e);return t>0?n(t,9007199254740991):0}},4165:(e,t,r)=>{var A=r(7222),n=Object;e.exports=function(e){return n(A(e))}},8402:(e,t,r)=>{var A=r(5590),n=RangeError;e.exports=function(e,t){var r=A(e);if(r%t)throw new n("Wrong offset");return r}},5590:(e,t,r)=>{var A=r(1211),n=RangeError;e.exports=function(e){var t=A(e);if(t<0)throw new n("The argument can't be less than 0");return t}},8921:(e,t,r)=>{var A=r(3453),n=r(2674),i=r(2277),a=r(8622),o=r(3118),s=r(5811),c=TypeError,g=s("toPrimitive");e.exports=function(e,t){if(!n(e)||i(e))return e;var r,s=a(e,g);if(s){if(void 0===t&&(t="default"),r=A(s,e,t),!n(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}},6201:(e,t,r)=>{var A=r(8921),n=r(2277);e.exports=function(e){var t=A(e,"string");return n(t)?t:t+""}},3724:(e,t,r)=>{var A={};A[r(5811)("toStringTag")]="z",e.exports="[object z]"===String(A)},687:(e,t,r)=>{var A=r(1179),n=String;e.exports=function(e){if("Symbol"===A(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}},5215:e=>{var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},8055:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},8975:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(3453),a=r(2444),o=r(949),s=r(4356),c=r(7226),g=r(3399),u=r(4004),l=r(139),h=r(2599),I=r(5806),f=r(9088),C=r(8402),B=r(5215),Q=r(6201),E=r(9649),d=r(1179),y=r(2674),p=r(2277),v=r(5304),m=r(6921),w=r(9415),b=r(3408).f,k=r(2291),D=r(5645).forEach,S=r(5409),F=r(8986),x=r(1601),R=r(1139),G=r(7434),N=r(8301),L=r(3951),U=N.get,M=N.set,J=N.enforce,H=x.f,Y=R.f,P=n.RangeError,O=c.ArrayBuffer,K=O.prototype,T=c.DataView,q=s.NATIVE_ARRAY_BUFFER_VIEWS,j=s.TYPED_ARRAY_TAG,W=s.TypedArray,Z=s.TypedArrayPrototype,_=s.isTypedArray,X="BYTES_PER_ELEMENT",V="Wrong length",z=function(e,t){F(e,t,{configurable:!0,get:function(){return U(this)[t]}})},$=function(e){var t;return m(K,e)||"ArrayBuffer"===(t=d(e))||"SharedArrayBuffer"===t},ee=function(e,t){return _(e)&&!p(t)&&t in e&&h(+t)&&t>=0},te=function(e,t){return t=Q(t),ee(e,t)?u(2,e[t]):Y(e,t)},re=function(e,t,r){return t=Q(t),!(ee(e,t)&&y(r)&&E(r,"value"))||E(r,"get")||E(r,"set")||r.configurable||E(r,"writable")&&!r.writable||E(r,"enumerable")&&!r.enumerable?H(e,t,r):(e[t]=r.value,e)};a?(q||(R.f=te,x.f=re,z(Z,"buffer"),z(Z,"byteOffset"),z(Z,"byteLength"),z(Z,"length")),A({target:"Object",stat:!0,forced:!q},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var a=e.match(/\\d+/)[0]/8,s=e+(r?"Clamped":"")+"Array",c="get"+e,u="set"+e,h=n[s],Q=h,E=Q&&Q.prototype,d={},p=function(e,t){H(e,t,{get:function(){return function(e,t){var r=U(e);return r.view[c](t*a+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,A){var n=U(e);n.view[u](t*a+n.byteOffset,r?B(A):A,!0)}(this,t,e)},enumerable:!0})};q?o&&(Q=t((function(e,t,r,A){return g(e,E),L(y(t)?$(t)?void 0!==A?new h(t,C(r,a),A):void 0!==r?new h(t,C(r,a)):new h(t):_(t)?G(Q,t):i(k,Q,t):new h(f(t)),e,Q)})),w&&w(Q,W),D(b(h),(function(e){e in Q||l(Q,e,h[e])})),Q.prototype=E):(Q=t((function(e,t,r,A){g(e,E);var n,o,s,c=0,u=0;if(y(t)){if(!$(t))return _(t)?G(Q,t):i(k,Q,t);n=t,u=C(r,a);var l=t.byteLength;if(void 0===A){if(l%a)throw new P(V);if((o=l-u)<0)throw new P(V)}else if((o=I(A)*a)+u>l)throw new P(V);s=o/a}else s=f(t),n=new O(o=s*a);for(M(e,{buffer:n,byteOffset:u,byteLength:o,length:s,view:new T(n)});c<s;)p(e,c++)})),w&&w(Q,W),E=Q.prototype=v(Z)),E.constructor!==Q&&l(E,"constructor",Q),J(E).TypedArrayConstructor=Q,j&&l(E,j,s);var m=Q!==h;d[s]=Q,A({global:!0,constructor:!0,forced:m,sham:!q},d),X in Q||l(Q,X,a),X in E||l(E,X,a),S(s)}):e.exports=function(){}},949:(e,t,r)=>{var A=r(4032),n=r(3455),i=r(4348),a=r(4356).NATIVE_ARRAY_BUFFER_VIEWS,o=A.ArrayBuffer,s=A.Int8Array;e.exports=!a||!n((function(){s(1)}))||!n((function(){new s(-1)}))||!i((function(e){new s,new s(null),new s(1.5),new s(e)}),!0)||n((function(){return 1!==new s(new o(2),1,void 0).length}))},85:(e,t,r)=>{var A=r(7434),n=r(580);e.exports=function(e,t){return A(n(e),t)}},2291:(e,t,r)=>{var A=r(4864),n=r(3453),i=r(9052),a=r(4165),o=r(7878),s=r(6961),c=r(7507),g=r(993),u=r(5415),l=r(4356).aTypedArrayConstructor,h=r(1198);e.exports=function(e){var t,r,I,f,C,B,Q,E,d=i(this),y=a(e),p=arguments.length,v=p>1?arguments[1]:void 0,m=void 0!==v,w=c(y);if(w&&!g(w))for(E=(Q=s(y,w)).next,y=[];!(B=n(E,Q)).done;)y.push(B.value);for(m&&p>2&&(v=A(v,arguments[2])),r=o(y),I=new(l(d))(r),f=u(I),t=0;r>t;t++)C=m?v(y[t],t):y[t],I[t]=f?h(C):+C;return I}},580:(e,t,r)=>{var A=r(4356),n=r(1365),i=A.aTypedArrayConstructor,a=A.getTypedArrayConstructor;e.exports=function(e){return i(n(e,a(e)))}},5936:(e,t,r)=>{var A=r(2608),n=0,i=Math.random(),a=A(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+i,36)}},8200:(e,t,r)=>{var A=r(3455),n=r(5811),i=r(2444),a=r(8507),o=n("iterator");e.exports=!A((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),A="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),A+=r+e})),r.delete("a",2),r.delete("b",void 0),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(a||!i)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==A||"x"!==new URL("https://x",void 0).host}))},4752:(e,t,r)=>{var A=r(6943);e.exports=A&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},782:(e,t,r)=>{var A=r(2444),n=r(3455);e.exports=A&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},7900:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},6206:(e,t,r)=>{var A=r(4032),n=r(3749),i=A.WeakMap;e.exports=n(i)&&/native code/.test(String(i))},5343:(e,t,r)=>{var A=r(8799),n=r(9649),i=r(4559),a=r(1601).f;e.exports=function(e){var t=A.Symbol||(A.Symbol={});n(t,e)||a(t,e,{value:i.f(e)})}},4559:(e,t,r)=>{var A=r(5811);t.f=A},5811:(e,t,r)=>{var A=r(4032),n=r(4593),i=r(9649),a=r(5936),o=r(6943),s=r(4752),c=A.Symbol,g=n("wks"),u=s?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return i(g,e)||(g[e]=o&&i(c,e)?c[e]:u("Symbol."+e)),g[e]}},2284:e=>{e.exports="\\t\\n\\v\\f\\r                 \\u2028\\u2029\\ufeff"},9257:(e,t,r)=>{var A=r(8711),n=r(9649),i=r(139),a=r(6921),o=r(9415),s=r(2924),c=r(2848),g=r(3951),u=r(8363),l=r(2483),h=r(4171),I=r(2444),f=r(8507);e.exports=function(e,t,r,C){var B="stackTraceLimit",Q=C?2:1,E=e.split("."),d=E[E.length-1],y=A.apply(null,E);if(y){var p=y.prototype;if(!f&&n(p,"cause")&&delete p.cause,!r)return y;var v=A("Error"),m=t((function(e,t){var r=u(C?t:e,void 0),A=C?new y(e):new y;return void 0!==r&&i(A,"message",r),h(A,m,A.stack,2),this&&a(p,this)&&g(A,this,m),arguments.length>Q&&l(A,arguments[Q]),A}));if(m.prototype=p,"Error"!==d?o?o(m,v):s(m,v,{name:!0}):I&&B in y&&(c(m,y,B),c(m,y,"prepareStackTrace")),s(m,y),!f)try{p.name!==d&&i(p,"name",d),p.constructor=m}catch(e){}return m}}},5015:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(7226),a=r(5409),o="ArrayBuffer",s=i[o];A({global:!0,constructor:!0,forced:n[o]!==s},{ArrayBuffer:s}),a(o)},9261:(e,t,r)=>{var A=r(2444),n=r(8986),i=r(8102),a=ArrayBuffer.prototype;A&&!("detached"in a)&&n(a,"detached",{configurable:!0,get:function(){return i(this)}})},6209:(e,t,r)=>{var A=r(5366),n=r(2116),i=r(3455),a=r(7226),o=r(7447),s=r(9002),c=r(5806),g=r(1365),u=a.ArrayBuffer,l=a.DataView,h=l.prototype,I=n(u.prototype.slice),f=n(h.getUint8),C=n(h.setUint8);A({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new u(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(I&&void 0===t)return I(o(this),e);for(var r=o(this).byteLength,A=s(e,r),n=s(void 0===t?r:t,r),i=new(g(this,u))(c(n-A)),a=new l(this),h=new l(i),B=0;A<n;)C(h,B++,f(a,A++));return i}})},3632:(e,t,r)=>{var A=r(5366),n=r(4676);n&&A({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return n(this,arguments.length?arguments[0]:void 0,!1)}})},3700:(e,t,r)=>{var A=r(5366),n=r(4676);n&&A({target:"ArrayBuffer",proto:!0},{transfer:function(){return n(this,arguments.length?arguments[0]:void 0,!0)}})},6347:(e,t,r)=>{var A=r(5366),n=r(4165),i=r(7878),a=r(1211),o=r(1458);A({target:"Array",proto:!0},{at:function(e){var t=n(this),r=i(t),A=a(e),o=A>=0?A:r+A;return o<0||o>=r?void 0:t[o]}}),o("at")},3234:(e,t,r)=>{var A=r(5366),n=r(3455),i=r(5448),a=r(2674),o=r(4165),s=r(7878),c=r(9573),g=r(3552),u=r(1453),l=r(9077),h=r(5811),I=r(6415),f=h("isConcatSpreadable"),C=I>=51||!n((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),B=function(e){if(!a(e))return!1;var t=e[f];return void 0!==t?!!t:i(e)};A({target:"Array",proto:!0,arity:1,forced:!C||!l("concat")},{concat:function(e){var t,r,A,n,i,a=o(this),l=u(a,0),h=0;for(t=-1,A=arguments.length;t<A;t++)if(B(i=-1===t?a:arguments[t]))for(n=s(i),c(h+n),r=0;r<n;r++,h++)r in i&&g(l,h,i[r]);else c(h+1),g(l,h++,i);return l.length=h,l}})},456:(e,t,r)=>{var A=r(5366),n=r(5645).filter;A({target:"Array",proto:!0,forced:!r(9077)("filter")},{filter:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}})},6497:(e,t,r)=>{var A=r(5366),n=r(2851),i=r(4165),a=r(7878),o=r(1211),s=r(1453);A({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),r=a(t),A=s(t,0);return A.length=n(A,t,t,r,0,void 0===e?1:o(e)),A}})},6746:(e,t,r)=>{var A=r(5366),n=r(3948);A({target:"Array",stat:!0,forced:!r(4348)((function(e){Array.from(e)}))},{from:n})},932:(e,t,r)=>{var A=r(5366),n=r(7921).includes,i=r(3455),a=r(1458);A({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},3276:(e,t,r)=>{var A=r(5366),n=r(2116),i=r(7921).indexOf,a=r(1814),o=n([].indexOf),s=!!o&&1/o([1],1,-0)<0;A({target:"Array",proto:!0,forced:s||!a("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return s?o(this,e,t)||0:i(this,e,t)}})},9024:(e,t,r)=>{var A=r(3637),n=r(1458),i=r(5597),a=r(8301),o=r(1601).f,s=r(656),c=r(9393),g=r(8507),u=r(2444),l="Array Iterator",h=a.set,I=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){h(this,{type:l,target:A(e),index:0,kind:t})}),(function(){var e=I(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case"keys":return c(r,!1);case"values":return c(t[r],!1)}return c([r,t[r]],!1)}),"values");var f=i.Arguments=i.Array;if(n("keys"),n("values"),n("entries"),!g&&u&&"values"!==f.name)try{o(f,"name",{value:"values"})}catch(e){}},3177:(e,t,r)=>{var A=r(5366),n=r(3499);A({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},5550:(e,t,r)=>{var A=r(5366),n=r(5645).map;A({target:"Array",proto:!0,forced:!r(9077)("map")},{map:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}})},9138:(e,t,r)=>{var A=r(5366),n=r(4165),i=r(7878),a=r(7375),o=r(9573);A({target:"Array",proto:!0,arity:1,forced:r(3455)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=n(this),r=i(t),A=arguments.length;o(r+A);for(var s=0;s<A;s++)t[r]=arguments[s],r++;return a(t,r),r}})},8408:(e,t,r)=>{var A=r(5366),n=r(4734).left,i=r(1814),a=r(6415);A({target:"Array",proto:!0,forced:!r(4529)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var t=arguments.length;return n(this,e,t,t>1?arguments[1]:void 0)}})},6794:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(5448),a=n([].reverse),o=[1,2];A({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},750:(e,t,r)=>{var A=r(5366),n=r(5448),i=r(8413),a=r(2674),o=r(9002),s=r(7878),c=r(3637),g=r(3552),u=r(5811),l=r(9077),h=r(4224),I=l("slice"),f=u("species"),C=Array,B=Math.max;A({target:"Array",proto:!0,forced:!I},{slice:function(e,t){var r,A,u,l=c(this),I=s(l),Q=o(e,I),E=o(void 0===t?I:t,I);if(n(l)&&(r=l.constructor,(i(r)&&(r===C||n(r.prototype))||a(r)&&null===(r=r[f]))&&(r=void 0),r===C||void 0===r))return h(l,Q,E);for(A=new(void 0===r?C:r)(B(E-Q,0)),u=0;Q<E;Q++,u++)Q in l&&g(A,u,l[Q]);return A.length=u,A}})},7710:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(4186),a=r(4165),o=r(7878),s=r(1870),c=r(687),g=r(3455),u=r(5272),l=r(1814),h=r(7085),I=r(5123),f=r(6415),C=r(1911),B=[],Q=n(B.sort),E=n(B.push),d=g((function(){B.sort(void 0)})),y=g((function(){B.sort(null)})),p=l("sort"),v=!g((function(){if(f)return f<70;if(!(h&&h>3)){if(I)return!0;if(C)return C<603;var e,t,r,A,n="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(A=0;A<47;A++)B.push({k:t+A,v:r})}for(B.sort((function(e,t){return t.v-e.v})),A=0;A<B.length;A++)t=B[A].k.charAt(0),n.charAt(n.length-1)!==t&&(n+=t);return"DGBEFHACIJK"!==n}}));A({target:"Array",proto:!0,forced:d||!y||!p||!v},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(v)return void 0===e?Q(t):Q(t,e);var r,A,n=[],g=o(t);for(A=0;A<g;A++)A in t&&E(n,t[A]);for(u(n,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:c(t)>c(r)?1:-1}}(e)),r=o(n),A=0;A<r;)t[A]=n[A++];for(;A<g;)s(t,A++);return t}})},122:(e,t,r)=>{var A=r(5366),n=r(4165),i=r(9002),a=r(1211),o=r(7878),s=r(7375),c=r(9573),g=r(1453),u=r(3552),l=r(1870),h=r(9077)("splice"),I=Math.max,f=Math.min;A({target:"Array",proto:!0,forced:!h},{splice:function(e,t){var r,A,h,C,B,Q,E=n(this),d=o(E),y=i(e,d),p=arguments.length;for(0===p?r=A=0:1===p?(r=0,A=d-y):(r=p-2,A=f(I(a(t),0),d-y)),c(d+r-A),h=g(E,A),C=0;C<A;C++)(B=y+C)in E&&u(h,C,E[B]);if(h.length=A,r<A){for(C=y;C<d-A;C++)Q=C+r,(B=C+A)in E?E[Q]=E[B]:l(E,Q);for(C=d;C>d-A+r;C--)l(E,C-1)}else if(r>A)for(C=d-A;C>y;C--)Q=C+r-1,(B=C+A-1)in E?E[Q]=E[B]:l(E,Q);for(C=0;C<r;C++)E[C+y]=arguments[C+2];return s(E,d-A+r),h}})},9722:(e,t,r)=>{r(1458)("flat")},8937:(e,t,r)=>{var A=r(5366),n=r(4165),i=r(7878),a=r(7375),o=r(1870),s=r(9573);A({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=n(this),r=i(t),A=arguments.length;if(A){s(r+A);for(var c=r;c--;){var g=c+A;c in t?t[g]=t[c]:o(t,g)}for(var u=0;u<A;u++)t[u]=arguments[u]}return a(t,r+A)}})},6851:(e,t,r)=>{var A=r(5366),n=r(3455),i=r(4165),a=r(8921);A({target:"Date",proto:!0,arity:1,forced:n((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),r=a(t,"number");return"number"!=typeof r||isFinite(r)?t.toISOString():null}})},7316:(e,t,r)=>{var A=r(9649),n=r(8552),i=r(952),a=r(5811)("toPrimitive"),o=Date.prototype;A(o,a)||n(o,a,i)},184:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(3881),a=r(9257),o="WebAssembly",s=n[o],c=7!==new Error("e",{cause:7}).cause,g=function(e,t){var r={};r[e]=a(e,t,c),A({global:!0,constructor:!0,arity:1,forced:c},r)},u=function(e,t){if(s&&s[e]){var r={};r[e]=a(o+"."+e,t,c),A({target:o,stat:!0,constructor:!0,arity:1,forced:c},r)}};g("Error",(function(e){return function(t){return i(e,this,arguments)}})),g("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),g("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),g("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),g("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),g("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),g("URIError",(function(e){return function(t){return i(e,this,arguments)}})),u("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),u("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),u("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},8169:(e,t,r)=>{var A=r(5366),n=r(4032);A({global:!0,forced:n.globalThis!==n},{globalThis:n})},9750:(e,t,r)=>{var A=r(5366),n=r(8711),i=r(3881),a=r(3453),o=r(2608),s=r(3455),c=r(3749),g=r(2277),u=r(4224),l=r(213),h=r(6943),I=String,f=n("JSON","stringify"),C=o(/./.exec),B=o("".charAt),Q=o("".charCodeAt),E=o("".replace),d=o(1..toString),y=/[\\uD800-\\uDFFF]/g,p=/^[\\uD800-\\uDBFF]$/,v=/^[\\uDC00-\\uDFFF]$/,m=!h||s((function(){var e=n("Symbol")("stringify detection");return"[null]"!==f([e])||"{}"!==f({a:e})||"{}"!==f(Object(e))})),w=s((function(){return'"\\\\udf06\\\\ud834"'!==f("\\udf06\\ud834")||'"\\\\udead"'!==f("\\udead")})),b=function(e,t){var r=u(arguments),A=l(t);if(c(A)||void 0!==e&&!g(e))return r[1]=function(e,t){if(c(A)&&(t=a(A,this,I(e),t)),!g(t))return t},i(f,null,r)},k=function(e,t,r){var A=B(r,t-1),n=B(r,t+1);return C(p,e)&&!C(v,n)||C(v,e)&&!C(p,A)?"\\\\u"+d(Q(e,0),16):e};f&&A({target:"JSON",stat:!0,arity:3,forced:m||w},{stringify:function(e,t,r){var A=u(arguments),n=i(m?b:f,null,A);return w&&"string"==typeof n?E(n,y,k):n}})},7531:(e,t,r)=>{var A=r(4032);r(6911)(A.JSON,"JSON",!0)},6539:(e,t,r)=>{r(9556)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(2042))},1425:(e,t,r)=>{r(6539)},3821:(e,t,r)=>{var A=r(5366),n=Math.hypot,i=Math.abs,a=Math.sqrt;A({target:"Math",stat:!0,arity:2,forced:!!n&&n(1/0,NaN)!==1/0},{hypot:function(e,t){for(var r,A,n=0,o=0,s=arguments.length,c=0;o<s;)c<(r=i(arguments[o++]))?(n=n*(A=c/r)*A+1,c=r):n+=r>0?(A=r/c)*A:r;return c===1/0?1/0:c*a(n)}})},1999:(e,t,r)=>{r(6911)(Math,"Math",!0)},8674:(e,t,r)=>{var A=r(5366),n=r(8885).entries;A({target:"Object",stat:!0},{entries:function(e){return n(e)}})},1309:(e,t,r)=>{var A=r(5366),n=r(6943),i=r(3455),a=r(6005),o=r(4165);A({target:"Object",stat:!0,forced:!n||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(o(e)):[]}})},3379:(e,t,r)=>{var A=r(3724),n=r(8552),i=r(3003);A||n(Object.prototype,"toString",i,{unsafe:!0})},482:(e,t,r)=>{var A=r(5366),n=r(8885).values;A({target:"Object",stat:!0},{values:function(e){return n(e)}})},5204:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(4186),a=r(9371),o=r(6703),s=r(1804);A({target:"Promise",stat:!0,forced:r(2041)},{allSettled:function(e){var t=this,r=a.f(t),A=r.resolve,c=r.reject,g=o((function(){var r=i(t.resolve),a=[],o=0,c=1;s(e,(function(e){var i=o++,s=!1;c++,n(r,t,e).then((function(e){s||(s=!0,a[i]={status:"fulfilled",value:e},--c||A(a))}),(function(e){s||(s=!0,a[i]={status:"rejected",reason:e},--c||A(a))}))})),--c||A(a)}));return g.error&&c(g.value),r.promise}})},6195:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(4186),a=r(9371),o=r(6703),s=r(1804);A({target:"Promise",stat:!0,forced:r(2041)},{all:function(e){var t=this,r=a.f(t),A=r.resolve,c=r.reject,g=o((function(){var r=i(t.resolve),a=[],o=0,g=1;s(e,(function(e){var i=o++,s=!1;g++,n(r,t,e).then((function(e){s||(s=!0,a[i]=e,--g||A(a))}),c)})),--g||A(a)}));return g.error&&c(g.value),r.promise}})},1459:(e,t,r)=>{var A=r(5366),n=r(8507),i=r(9492).CONSTRUCTOR,a=r(5318),o=r(8711),s=r(3749),c=r(8552),g=a&&a.prototype;if(A({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!n&&s(a)){var u=o("Promise").prototype.catch;g.catch!==u&&c(g,"catch",u,{unsafe:!0})}},9236:(e,t,r)=>{var A,n,i,a=r(5366),o=r(8507),s=r(4529),c=r(4032),g=r(3453),u=r(8552),l=r(9415),h=r(6911),I=r(5409),f=r(4186),C=r(3749),B=r(2674),Q=r(3399),E=r(1365),d=r(1369).set,y=r(755),p=r(4885),v=r(6703),m=r(3529),w=r(8301),b=r(5318),k=r(9492),D=r(9371),S="Promise",F=k.CONSTRUCTOR,x=k.REJECTION_EVENT,R=k.SUBCLASSING,G=w.getterFor(S),N=w.set,L=b&&b.prototype,U=b,M=L,J=c.TypeError,H=c.document,Y=c.process,P=D.f,O=P,K=!!(H&&H.createEvent&&c.dispatchEvent),T="unhandledrejection",q=function(e){var t;return!(!B(e)||!C(t=e.then))&&t},j=function(e,t){var r,A,n,i=t.value,a=1===t.state,o=a?e.ok:e.fail,s=e.resolve,c=e.reject,u=e.domain;try{o?(a||(2===t.rejection&&V(t),t.rejection=1),!0===o?r=i:(u&&u.enter(),r=o(i),u&&(u.exit(),n=!0)),r===e.promise?c(new J("Promise-chain cycle")):(A=q(r))?g(A,r,s,c):s(r)):c(i)}catch(e){u&&!n&&u.exit(),c(e)}},W=function(e,t){e.notified||(e.notified=!0,y((function(){for(var r,A=e.reactions;r=A.get();)j(r,e);e.notified=!1,t&&!e.rejection&&_(e)})))},Z=function(e,t,r){var A,n;K?((A=H.createEvent("Event")).promise=t,A.reason=r,A.initEvent(e,!1,!0),c.dispatchEvent(A)):A={promise:t,reason:r},!x&&(n=c["on"+e])?n(A):e===T&&p("Unhandled promise rejection",r)},_=function(e){g(d,c,(function(){var t,r=e.facade,A=e.value;if(X(e)&&(t=v((function(){s?Y.emit("unhandledRejection",A,r):Z(T,r,A)})),e.rejection=s||X(e)?2:1,t.error))throw t.value}))},X=function(e){return 1!==e.rejection&&!e.parent},V=function(e){g(d,c,(function(){var t=e.facade;s?Y.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},z=function(e,t,r){return function(A){e(t,A,r)}},$=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,W(e,!0))},ee=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new J("Promise can't be resolved itself");var A=q(t);A?y((function(){var r={done:!1};try{g(A,t,z(ee,r,e),z($,r,e))}catch(t){$(r,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){$({done:!1},t,e)}}};if(F&&(M=(U=function(e){Q(this,M),f(e),g(A,this);var t=G(this);try{e(z(ee,t),z($,t))}catch(e){$(t,e)}}).prototype,(A=function(e){N(this,{type:S,done:!1,notified:!1,parent:!1,reactions:new m,rejection:!1,state:0,value:null})}).prototype=u(M,"then",(function(e,t){var r=G(this),A=P(E(this,U));return r.parent=!0,A.ok=!C(e)||e,A.fail=C(t)&&t,A.domain=s?Y.domain:void 0,0===r.state?r.reactions.add(A):y((function(){j(A,r)})),A.promise})),n=function(){var e=new A,t=G(e);this.promise=e,this.resolve=z(ee,t),this.reject=z($,t)},D.f=P=function(e){return e===U||void 0===e?new n(e):O(e)},!o&&C(b)&&L!==Object.prototype)){i=L.then,R||u(L,"then",(function(e,t){var r=this;return new U((function(e,t){g(i,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete L.constructor}catch(e){}l&&l(L,M)}a({global:!0,constructor:!0,wrap:!0,forced:F},{Promise:U}),h(U,S,!1,!0),I(S)},2431:(e,t,r)=>{var A=r(5366),n=r(8507),i=r(5318),a=r(3455),o=r(8711),s=r(3749),c=r(1365),g=r(1774),u=r(8552),l=i&&i.prototype;if(A({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){l.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,o("Promise")),r=s(e);return this.then(r?function(r){return g(t,e()).then((function(){return r}))}:e,r?function(r){return g(t,e()).then((function(){throw r}))}:e)}}),!n&&s(i)){var h=o("Promise").prototype.finally;l.finally!==h&&u(l,"finally",h,{unsafe:!0})}},1234:(e,t,r)=>{r(9236),r(6195),r(1459),r(5167),r(5257),r(1128)},5167:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(4186),a=r(9371),o=r(6703),s=r(1804);A({target:"Promise",stat:!0,forced:r(2041)},{race:function(e){var t=this,r=a.f(t),A=r.reject,c=o((function(){var a=i(t.resolve);s(e,(function(e){n(a,t,e).then(r.resolve,A)}))}));return c.error&&A(c.value),r.promise}})},5257:(e,t,r)=>{var A=r(5366),n=r(9371);A({target:"Promise",stat:!0,forced:r(9492).CONSTRUCTOR},{reject:function(e){var t=n.f(this);return(0,t.reject)(e),t.promise}})},1128:(e,t,r)=>{var A=r(5366),n=r(8711),i=r(8507),a=r(5318),o=r(9492).CONSTRUCTOR,s=r(1774),c=n("Promise"),g=i&&!o;A({target:"Promise",stat:!0,forced:i||o},{resolve:function(e){return s(g&&this===c?a:this,e)}})},9732:(e,t,r)=>{var A=r(5366),n=r(9371);A({target:"Promise",stat:!0},{withResolvers:function(){var e=n.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},489:(e,t,r)=>{var A=r(5366),n=r(8711),i=r(3881),a=r(2230),o=r(9052),s=r(7447),c=r(2674),g=r(5304),u=r(3455),l=n("Reflect","construct"),h=Object.prototype,I=[].push,f=u((function(){function e(){}return!(l((function(){}),[],e)instanceof e)})),C=!u((function(){l((function(){}))})),B=f||C;A({target:"Reflect",stat:!0,forced:B,sham:B},{construct:function(e,t){o(e),s(t);var r=arguments.length<3?e:o(arguments[2]);if(C&&!f)return l(e,t,r);if(e===r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var A=[null];return i(I,A,t),new(i(a,e,A))}var n=r.prototype,u=g(c(n)?n:h),B=i(e,u,t);return c(B)?B:u}})},7288:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(2674),a=r(7447),o=r(3007),s=r(1139),c=r(2611);A({target:"Reflect",stat:!0},{get:function e(t,r){var A,g,u=arguments.length<3?t:arguments[2];return a(t)===u?t[r]:(A=s.f(t,r))?o(A)?A.value:void 0===A.get?void 0:n(A.get,u):i(g=c(t))?e(g,r,u):void 0}})},176:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(6911);A({global:!0},{Reflect:{}}),i(n.Reflect,"Reflect",!0)},4592:(e,t,r)=>{var A=r(2444),n=r(4032),i=r(2608),a=r(5868),o=r(3951),s=r(139),c=r(5304),g=r(3408).f,u=r(6921),l=r(6484),h=r(687),I=r(4554),f=r(1837),C=r(2848),B=r(8552),Q=r(3455),E=r(9649),d=r(8301).enforce,y=r(5409),p=r(5811),v=r(3651),m=r(9502),w=p("match"),b=n.RegExp,k=b.prototype,D=n.SyntaxError,S=i(k.exec),F=i("".charAt),x=i("".replace),R=i("".indexOf),G=i("".slice),N=/^\\?<[^\\s\\d!#%&*+<=>@^][^\\s!#%&*+<=>@^]*>/,L=/a/g,U=/a/g,M=new b(L)!==L,J=f.MISSED_STICKY,H=f.UNSUPPORTED_Y;if(a("RegExp",A&&(!M||J||v||m||Q((function(){return U[w]=!1,b(L)!==L||b(U)===U||"/a/i"!==String(b(L,"i"))}))))){for(var Y=function(e,t){var r,A,n,i,a,g,f=u(k,this),C=l(e),B=void 0===t,Q=[],y=e;if(!f&&C&&B&&e.constructor===Y)return e;if((C||u(k,e))&&(e=e.source,B&&(t=I(y))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),y=e,v&&"dotAll"in L&&(A=!!t&&R(t,"s")>-1)&&(t=x(t,/s/g,"")),r=t,J&&"sticky"in L&&(n=!!t&&R(t,"y")>-1)&&H&&(t=x(t,/y/g,"")),m&&(i=function(e){for(var t,r=e.length,A=0,n="",i=[],a=c(null),o=!1,s=!1,g=0,u="";A<=r;A++){if("\\\\"===(t=F(e,A)))t+=F(e,++A);else if("]"===t)o=!1;else if(!o)switch(!0){case"["===t:o=!0;break;case"("===t:if(n+=t,"?:"===G(e,A+1,A+3))continue;S(N,G(e,A+1))&&(A+=2,s=!0),g++;continue;case">"===t&&s:if(""===u||E(a,u))throw new D("Invalid capture group name");a[u]=!0,i[i.length]=[u,g],s=!1,u="";continue}s?u+=t:n+=t}return[n,i]}(e),e=i[0],Q=i[1]),a=o(b(e,t),f?this:k,Y),(A||n||Q.length)&&(g=d(a),A&&(g.dotAll=!0,g.raw=Y(function(e){for(var t,r=e.length,A=0,n="",i=!1;A<=r;A++)"\\\\"!==(t=F(e,A))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),n+=t):n+="[\\\\s\\\\S]":n+=t+F(e,++A);return n}(e),r)),n&&(g.sticky=!0),Q.length&&(g.groups=Q)),e!==y)try{s(a,"source",""===y?"(?:)":y)}catch(e){}return a},P=g(b),O=0;P.length>O;)C(Y,b,P[O++]);k.constructor=Y,Y.prototype=k,B(n,"RegExp",Y,{constructor:!0})}y("RegExp")},8345:(e,t,r)=>{var A=r(2444),n=r(3651),i=r(9872),a=r(8986),o=r(8301).get,s=RegExp.prototype,c=TypeError;A&&n&&a(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if("RegExp"===i(this))return!!o(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},2823:(e,t,r)=>{var A=r(5366),n=r(9867);A({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},7879:(e,t,r)=>{var A=r(4032),n=r(2444),i=r(8986),a=r(747),o=r(3455),s=A.RegExp,c=s.prototype;n&&o((function(){var e=!0;try{s(".","d")}catch(t){e=!1}var t={},r="",A=e?"dgimsy":"gimsy",n=function(e,A){Object.defineProperty(t,e,{get:function(){return r+=A,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)n(a,i[a]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(t)!==A||r!==A}))&&i(c,"flags",{configurable:!0,get:a})},2865:(e,t,r)=>{var A=r(2444),n=r(1837).MISSED_STICKY,i=r(9872),a=r(8986),o=r(8301).get,s=RegExp.prototype,c=TypeError;A&&n&&a(s,"sticky",{configurable:!0,get:function(){if(this!==s){if("RegExp"===i(this))return!!o(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},5594:(e,t,r)=>{r(2823);var A,n,i=r(5366),a=r(3453),o=r(3749),s=r(7447),c=r(687),g=(A=!1,(n=/[ac]/).exec=function(){return A=!0,/./.exec.apply(this,arguments)},!0===n.test("abc")&&A),u=/./.test;i({target:"RegExp",proto:!0,forced:!g},{test:function(e){var t=s(this),r=c(e),A=t.exec;if(!o(A))return a(u,t,r);var n=a(A,t,r);return null!==n&&(s(n),!0)}})},8397:(e,t,r)=>{var A=r(2542).PROPER,n=r(8552),i=r(7447),a=r(687),o=r(3455),s=r(4554),c="toString",g=RegExp.prototype,u=g[c],l=o((function(){return"/a/b"!==u.call({source:"a",flags:"b"})})),h=A&&u.name!==c;(l||h)&&n(g,c,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(s(e))}),{unsafe:!0})},4645:(e,t,r)=>{r(9556)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(2042))},5130:(e,t,r)=>{var A=r(5366),n=r(4656);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("difference")},{difference:n})},5636:(e,t,r)=>{var A=r(5366),n=r(3455),i=r(2446);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("intersection")||n((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:i})},8509:(e,t,r)=>{var A=r(5366),n=r(4545);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("isDisjointFrom")},{isDisjointFrom:n})},7332:(e,t,r)=>{var A=r(5366),n=r(7918);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("isSubsetOf")},{isSubsetOf:n})},6555:(e,t,r)=>{var A=r(5366),n=r(6111);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("isSupersetOf")},{isSupersetOf:n})},9255:(e,t,r)=>{r(4645)},3296:(e,t,r)=>{var A=r(5366),n=r(4498);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("symmetricDifference")},{symmetricDifference:n})},4594:(e,t,r)=>{var A=r(5366),n=r(9500);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("union")},{union:n})},8653:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(7222),a=r(1211),o=r(687),s=r(3455),c=n("".charAt);A({target:"String",proto:!0,forced:s((function(){return"\\ud842"!=="𠮷".at(-2)}))},{at:function(e){var t=o(i(this)),r=t.length,A=a(e),n=A>=0?A:r+A;return n<0||n>=r?void 0:c(t,n)}})},9657:(e,t,r)=>{var A,n=r(5366),i=r(2116),a=r(1139).f,o=r(5806),s=r(687),c=r(3631),g=r(7222),u=r(860),l=r(8507),h=i("".slice),I=Math.min,f=u("endsWith");n({target:"String",proto:!0,forced:!(!l&&!f&&(A=a(String.prototype,"endsWith"),A&&!A.writable)||f)},{endsWith:function(e){var t=s(g(this));c(e);var r=arguments.length>1?arguments[1]:void 0,A=t.length,n=void 0===r?A:I(o(r),A),i=s(e);return h(t,n-i.length,n)===i}})},2217:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(9002),a=RangeError,o=String.fromCharCode,s=String.fromCodePoint,c=n([].join);A({target:"String",stat:!0,arity:1,forced:!!s&&1!==s.length},{fromCodePoint:function(e){for(var t,r=[],A=arguments.length,n=0;A>n;){if(t=+arguments[n++],i(t,1114111)!==t)throw new a(t+" is not a valid code point");r[n]=t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320)}return c(r,"")}})},2467:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(3631),a=r(7222),o=r(687),s=r(860),c=n("".indexOf);A({target:"String",proto:!0,forced:!s("includes")},{includes:function(e){return!!~c(o(a(this)),o(i(e)),arguments.length>1?arguments[1]:void 0)}})},7460:(e,t,r)=>{var A=r(6903).charAt,n=r(687),i=r(8301),a=r(656),o=r(9393),s="String Iterator",c=i.set,g=i.getterFor(s);a(String,"String",(function(e){c(this,{type:s,string:n(e),index:0})}),(function(){var e,t=g(this),r=t.string,n=t.index;return n>=r.length?o(void 0,!0):(e=A(r,n),t.index+=e.length,o(e,!1))}))},1281:(e,t,r)=>{var A=r(3453),n=r(4364),i=r(7447),a=r(6021),o=r(5806),s=r(687),c=r(7222),g=r(8622),u=r(8149),l=r(4410);n("match",(function(e,t,r){return[function(t){var r=c(this),n=a(t)?void 0:g(t,e);return n?A(n,t,r):new RegExp(t)[e](s(r))},function(e){var A=i(this),n=s(e),a=r(t,A,n);if(a.done)return a.value;if(!A.global)return l(A,n);var c=A.unicode;A.lastIndex=0;for(var g,h=[],I=0;null!==(g=l(A,n));){var f=s(g[0]);h[I]=f,""===f&&(A.lastIndex=u(n,o(A.lastIndex),c)),I++}return 0===I?null:h}]}))},9484:(e,t,r)=>{var A=r(5366),n=r(6437).start;A({target:"String",proto:!0,forced:r(4903)},{padStart:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}})},4413:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(2608),a=r(7222),o=r(3749),s=r(6021),c=r(6484),g=r(687),u=r(8622),l=r(4554),h=r(3966),I=r(5811),f=r(8507),C=I("replace"),B=TypeError,Q=i("".indexOf),E=i("".replace),d=i("".slice),y=Math.max;A({target:"String",proto:!0},{replaceAll:function(e,t){var r,A,i,I,p,v,m,w,b,k,D=a(this),S=0,F="";if(!s(e)){if((r=c(e))&&(A=g(a(l(e))),!~Q(A,"g")))throw new B("\`.replaceAll\` does not allow non-global regexes");if(i=u(e,C))return n(i,e,D,t);if(f&&r)return E(g(D),e,t)}for(I=g(D),p=g(e),(v=o(t))||(t=g(t)),m=p.length,w=y(1,m),b=Q(I,p);-1!==b;)k=v?g(t(p,b,I)):h(p,I,b,[],void 0,t),F+=d(I,S,b)+k,S=b+m,b=b+w>I.length?-1:Q(I,p,b+w);return S<I.length&&(F+=d(I,S)),F}})},4672:(e,t,r)=>{var A=r(3881),n=r(3453),i=r(2608),a=r(4364),o=r(3455),s=r(7447),c=r(3749),g=r(6021),u=r(1211),l=r(5806),h=r(687),I=r(7222),f=r(8149),C=r(8622),B=r(3966),Q=r(4410),E=r(5811)("replace"),d=Math.max,y=Math.min,p=i([].concat),v=i([].push),m=i("".indexOf),w=i("".slice),b="$0"==="a".replace(/./,"$0"),k=!!/./[E]&&""===/./[E]("a","$0");a("replace",(function(e,t,r){var i=k?"$":"$0";return[function(e,r){var A=I(this),i=g(e)?void 0:C(e,E);return i?n(i,e,A,r):n(t,h(A),e,r)},function(e,n){var a=s(this),o=h(e);if("string"==typeof n&&-1===m(n,i)&&-1===m(n,"$<")){var g=r(t,a,o,n);if(g.done)return g.value}var I=c(n);I||(n=h(n));var C,E=a.global;E&&(C=a.unicode,a.lastIndex=0);for(var b,k=[];null!==(b=Q(a,o))&&(v(k,b),E);)""===h(b[0])&&(a.lastIndex=f(o,l(a.lastIndex),C));for(var D,S="",F=0,x=0;x<k.length;x++){for(var R,G=h((b=k[x])[0]),N=d(y(u(b.index),o.length),0),L=[],U=1;U<b.length;U++)v(L,void 0===(D=b[U])?D:String(D));var M=b.groups;if(I){var J=p([G],L,N,o);void 0!==M&&v(J,M),R=h(A(n,void 0,J))}else R=B(G,o,N,L,M,n);N>=F&&(S+=w(o,F,N)+R,F=N+G.length)}return S+w(o,F)}]}),!!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!b||k)},4072:(e,t,r)=>{var A=r(3453),n=r(2608),i=r(4364),a=r(7447),o=r(6021),s=r(7222),c=r(1365),g=r(8149),u=r(5806),l=r(687),h=r(8622),I=r(4410),f=r(1837),C=r(3455),B=f.UNSUPPORTED_Y,Q=Math.min,E=n([].push),d=n("".slice),y=!C((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),p="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,t,r){var n="0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:A(t,this,e,r)}:t;return[function(t,r){var i=s(this),a=o(t)?void 0:h(t,e);return a?A(a,t,i,r):A(n,l(i),t,r)},function(e,A){var i=a(this),o=l(e);if(!p){var s=r(n,i,o,A,n!==t);if(s.done)return s.value}var h=c(i,RegExp),f=i.unicode,C=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(B?"g":"y"),y=new h(B?"^(?:"+i.source+")":i,C),v=void 0===A?4294967295:A>>>0;if(0===v)return[];if(0===o.length)return null===I(y,o)?[o]:[];for(var m=0,w=0,b=[];w<o.length;){y.lastIndex=B?0:w;var k,D=I(y,B?d(o,w):o);if(null===D||(k=Q(u(y.lastIndex+(B?w:0)),o.length))===m)w=g(o,w,f);else{if(E(b,d(o,m,w)),b.length===v)return b;for(var S=1;S<=D.length-1;S++)if(E(b,D[S]),b.length===v)return b;w=m=k}}return E(b,d(o,m)),b}]}),p||!y,B)},9264:(e,t,r)=>{var A,n=r(5366),i=r(2116),a=r(1139).f,o=r(5806),s=r(687),c=r(3631),g=r(7222),u=r(860),l=r(8507),h=i("".slice),I=Math.min,f=u("startsWith");n({target:"String",proto:!0,forced:!(!l&&!f&&(A=a(String.prototype,"startsWith"),A&&!A.writable)||f)},{startsWith:function(e){var t=s(g(this));c(e);var r=o(I(arguments.length>1?arguments[1]:void 0,t.length)),A=s(e);return h(t,r,r+A.length)===A}})},98:(e,t,r)=>{r(3185);var A=r(5366),n=r(2882);A({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},3185:(e,t,r)=>{var A=r(5366),n=r(2882);A({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},9210:(e,t,r)=>{var A=r(5366),n=r(9418).trim;A({target:"String",proto:!0,forced:r(3794)("trim")},{trim:function(){return n(this)}})},4172:(e,t,r)=>{r(5343)("asyncIterator")},2873:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(3453),a=r(2608),o=r(8507),s=r(2444),c=r(6943),g=r(3455),u=r(9649),l=r(6921),h=r(7447),I=r(3637),f=r(6201),C=r(687),B=r(4004),Q=r(5304),E=r(496),d=r(3408),y=r(6442),p=r(6005),v=r(1139),m=r(1601),w=r(9217),b=r(9221),k=r(8552),D=r(8986),S=r(4593),F=r(2343),x=r(2645),R=r(5936),G=r(5811),N=r(4559),L=r(5343),U=r(3042),M=r(6911),J=r(8301),H=r(5645).forEach,Y=F("hidden"),P="Symbol",O="prototype",K=J.set,T=J.getterFor(P),q=Object[O],j=n.Symbol,W=j&&j[O],Z=n.RangeError,_=n.TypeError,X=n.QObject,V=v.f,z=m.f,$=y.f,ee=b.f,te=a([].push),re=S("symbols"),Ae=S("op-symbols"),ne=S("wks"),ie=!X||!X[O]||!X[O].findChild,ae=function(e,t,r){var A=V(q,t);A&&delete q[t],z(e,t,r),A&&e!==q&&z(q,t,A)},oe=s&&g((function(){return 7!==Q(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?ae:z,se=function(e,t){var r=re[e]=Q(W);return K(r,{type:P,tag:e,description:t}),s||(r.description=t),r},ce=function(e,t,r){e===q&&ce(Ae,t,r),h(e);var A=f(t);return h(r),u(re,A)?(r.enumerable?(u(e,Y)&&e[Y][A]&&(e[Y][A]=!1),r=Q(r,{enumerable:B(0,!1)})):(u(e,Y)||z(e,Y,B(1,Q(null))),e[Y][A]=!0),oe(e,A,r)):z(e,A,r)},ge=function(e,t){h(e);var r=I(t),A=E(r).concat(Ie(r));return H(A,(function(t){s&&!i(ue,r,t)||ce(e,t,r[t])})),e},ue=function(e){var t=f(e),r=i(ee,this,t);return!(this===q&&u(re,t)&&!u(Ae,t))&&(!(r||!u(this,t)||!u(re,t)||u(this,Y)&&this[Y][t])||r)},le=function(e,t){var r=I(e),A=f(t);if(r!==q||!u(re,A)||u(Ae,A)){var n=V(r,A);return!n||!u(re,A)||u(r,Y)&&r[Y][A]||(n.enumerable=!0),n}},he=function(e){var t=$(I(e)),r=[];return H(t,(function(e){u(re,e)||u(x,e)||te(r,e)})),r},Ie=function(e){var t=e===q,r=$(t?Ae:I(e)),A=[];return H(r,(function(e){!u(re,e)||t&&!u(q,e)||te(A,re[e])})),A};c||(k(W=(j=function(){if(l(W,this))throw new _("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?C(arguments[0]):void 0,t=R(e),r=function(e){var A=void 0===this?n:this;A===q&&i(r,Ae,e),u(A,Y)&&u(A[Y],t)&&(A[Y][t]=!1);var a=B(1,e);try{oe(A,t,a)}catch(e){if(!(e instanceof Z))throw e;ae(A,t,a)}};return s&&ie&&oe(q,t,{configurable:!0,set:r}),se(t,e)})[O],"toString",(function(){return T(this).tag})),k(j,"withoutSetter",(function(e){return se(R(e),e)})),b.f=ue,m.f=ce,w.f=ge,v.f=le,d.f=y.f=he,p.f=Ie,N.f=function(e){return se(G(e),e)},s&&(D(W,"description",{configurable:!0,get:function(){return T(this).description}}),o||k(q,"propertyIsEnumerable",ue,{unsafe:!0}))),A({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:j}),H(E(ne),(function(e){L(e)})),A({target:P,stat:!0,forced:!c},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),A({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?Q(e):ge(Q(e),t)},defineProperty:ce,defineProperties:ge,getOwnPropertyDescriptor:le}),A({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:he}),U(),M(j,P),x[Y]=!0},4551:(e,t,r)=>{var A=r(5366),n=r(2444),i=r(4032),a=r(2608),o=r(9649),s=r(3749),c=r(6921),g=r(687),u=r(8986),l=r(2924),h=i.Symbol,I=h&&h.prototype;if(n&&s(h)&&(!("description"in I)||void 0!==h().description)){var f={},C=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:g(arguments[0]),t=c(I,this)?new h(e):void 0===e?h():h(e);return""===e&&(f[t]=!0),t};l(C,h),C.prototype=I,I.constructor=C;var B="Symbol(description detection)"===String(h("description detection")),Q=a(I.valueOf),E=a(I.toString),d=/^Symbol\\((.*)\\)[^)]+$/,y=a("".replace),p=a("".slice);u(I,"description",{configurable:!0,get:function(){var e=Q(this);if(o(f,e))return"";var t=E(e),r=B?p(t,7,-1):y(t,d,"$1");return""===r?void 0:r}}),A({global:!0,constructor:!0,forced:!0},{Symbol:C})}},4182:(e,t,r)=>{var A=r(5366),n=r(8711),i=r(9649),a=r(687),o=r(4593),s=r(8592),c=o("string-to-symbol-registry"),g=o("symbol-to-string-registry");A({target:"Symbol",stat:!0,forced:!s},{for:function(e){var t=a(e);if(i(c,t))return c[t];var r=n("Symbol")(t);return c[t]=r,g[r]=t,r}})},7651:(e,t,r)=>{r(2873),r(4182),r(7876),r(9750),r(1309)},7876:(e,t,r)=>{var A=r(5366),n=r(9649),i=r(2277),a=r(8055),o=r(4593),s=r(8592),c=o("symbol-to-string-registry");A({target:"Symbol",stat:!0,forced:!s},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(n(c,e))return c[e]}})},5268:(e,t,r)=>{var A=r(5343),n=r(3042);A("toPrimitive"),n()},5997:(e,t,r)=>{var A=r(8711),n=r(5343),i=r(6911);n("toStringTag"),i(A("Symbol"),"Symbol")},3740:(e,t,r)=>{var A=r(4356),n=r(7878),i=r(1211),a=A.aTypedArray;(0,A.exportTypedArrayMethod)("at",(function(e){var t=a(this),r=n(t),A=i(e),o=A>=0?A:r+A;return o<0||o>=r?void 0:t[o]}))},6542:(e,t,r)=>{var A=r(2608),n=r(4356),i=A(r(6677)),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},5738:(e,t,r)=>{var A=r(4356),n=r(5645).every,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("every",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2900:(e,t,r)=>{var A=r(4356),n=r(9557),i=r(1198),a=r(1179),o=r(3453),s=r(2608),c=r(3455),g=A.aTypedArray,u=A.exportTypedArrayMethod,l=s("".slice);u("fill",(function(e){var t=arguments.length;g(this);var r="Big"===l(a(this),0,3)?i(e):+e;return o(n,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),c((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},2051:(e,t,r)=>{var A=r(4356),n=r(5645).filter,i=r(85),a=A.aTypedArray;(0,A.exportTypedArrayMethod)("filter",(function(e){var t=n(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},4211:(e,t,r)=>{var A=r(4356),n=r(5645).findIndex,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("findIndex",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},5294:(e,t,r)=>{var A=r(4356),n=r(767).findLastIndex,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("findLastIndex",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},9791:(e,t,r)=>{var A=r(4356),n=r(767).findLast,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("findLast",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3198:(e,t,r)=>{var A=r(4356),n=r(5645).find,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("find",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4306:(e,t,r)=>{r(8975)("Float32",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},6473:(e,t,r)=>{r(8975)("Float64",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},1526:(e,t,r)=>{var A=r(4356),n=r(5645).forEach,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("forEach",(function(e){n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2569:(e,t,r)=>{var A=r(949);(0,r(4356).exportTypedArrayStaticMethod)("from",r(2291),A)},6032:(e,t,r)=>{var A=r(4356),n=r(7921).includes,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("includes",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3659:(e,t,r)=>{var A=r(4356),n=r(7921).indexOf,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("indexOf",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3195:(e,t,r)=>{r(8975)("Int16",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},1237:(e,t,r)=>{r(8975)("Int32",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},4834:(e,t,r)=>{r(8975)("Int8",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},8551:(e,t,r)=>{var A=r(4032),n=r(3455),i=r(2608),a=r(4356),o=r(9024),s=r(5811)("iterator"),c=A.Uint8Array,g=i(o.values),u=i(o.keys),l=i(o.entries),h=a.aTypedArray,I=a.exportTypedArrayMethod,f=c&&c.prototype,C=!n((function(){f[s].call([1])})),B=!!f&&f.values&&f[s]===f.values&&"values"===f.values.name,Q=function(){return g(h(this))};I("entries",(function(){return l(h(this))}),C),I("keys",(function(){return u(h(this))}),C),I("values",Q,C||!B,{name:"values"}),I(s,Q,C||!B,{name:"values"})},8553:(e,t,r)=>{var A=r(4356),n=r(2608),i=A.aTypedArray,a=A.exportTypedArrayMethod,o=n([].join);a("join",(function(e){return o(i(this),e)}))},7612:(e,t,r)=>{var A=r(4356),n=r(3881),i=r(3499),a=A.aTypedArray;(0,A.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return n(i,a(this),t>1?[e,arguments[1]]:[e])}))},8579:(e,t,r)=>{var A=r(4356),n=r(5645).map,i=r(580),a=A.aTypedArray;(0,A.exportTypedArrayMethod)("map",(function(e){return n(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},7576:(e,t,r)=>{var A=r(4356),n=r(4734).right,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return n(i(this),e,t,t>1?arguments[1]:void 0)}))},7719:(e,t,r)=>{var A=r(4356),n=r(4734).left,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return n(i(this),e,t,t>1?arguments[1]:void 0)}))},2891:(e,t,r)=>{var A=r(4356),n=A.aTypedArray,i=A.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,r=n(t).length,A=a(r/2),i=0;i<A;)e=t[i],t[i++]=t[--r],t[r]=e;return t}))},2605:(e,t,r)=>{var A=r(4032),n=r(3453),i=r(4356),a=r(7878),o=r(8402),s=r(4165),c=r(3455),g=A.RangeError,u=A.Int8Array,l=u&&u.prototype,h=l&&l.set,I=i.aTypedArray,f=i.exportTypedArrayMethod,C=!c((function(){var e=new Uint8ClampedArray(2);return n(h,e,{length:1,0:3},1),3!==e[1]})),B=C&&i.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new u(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));f("set",(function(e){I(this);var t=o(arguments.length>1?arguments[1]:void 0,1),r=s(e);if(C)return n(h,this,r,t);var A=this.length,i=a(r),c=0;if(i+t>A)throw new g("Wrong length");for(;c<i;)this[t+c]=r[c++]}),!C||B)},4863:(e,t,r)=>{var A=r(4356),n=r(580),i=r(3455),a=r(4224),o=A.aTypedArray;(0,A.exportTypedArrayMethod)("slice",(function(e,t){for(var r=a(o(this),e,t),A=n(this),i=0,s=r.length,c=new A(s);s>i;)c[i]=r[i++];return c}),i((function(){new Int8Array(1).slice()})))},9637:(e,t,r)=>{var A=r(4356),n=r(5645).some,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("some",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2709:(e,t,r)=>{var A=r(4032),n=r(2116),i=r(3455),a=r(4186),o=r(5272),s=r(4356),c=r(7085),g=r(5123),u=r(6415),l=r(1911),h=s.aTypedArray,I=s.exportTypedArrayMethod,f=A.Uint16Array,C=f&&n(f.prototype.sort),B=!(!C||i((function(){C(new f(2),null)}))&&i((function(){C(new f(2),{})}))),Q=!!C&&!i((function(){if(u)return u<74;if(c)return c<67;if(g)return!0;if(l)return l<602;var e,t,r=new f(516),A=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,A[e]=e-2*t+3;for(C(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==A[e])return!0}));I("sort",(function(e){return void 0!==e&&a(e),Q?C(this,e):o(h(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))}),!Q||B)},8941:(e,t,r)=>{var A=r(4032),n=r(3881),i=r(4356),a=r(3455),o=r(4224),s=A.Int8Array,c=i.aTypedArray,g=i.exportTypedArrayMethod,u=[].toLocaleString,l=!!s&&a((function(){u.call(new s(1))}));g("toLocaleString",(function(){return n(u,l?o(c(this)):c(this),o(arguments))}),a((function(){return[1,2].toLocaleString()!==new s([1,2]).toLocaleString()}))||!a((function(){s.prototype.toLocaleString.call([1,2])})))},1579:(e,t,r)=>{var A=r(6444),n=r(4356),i=n.aTypedArray,a=n.exportTypedArrayMethod,o=n.getTypedArrayConstructor;a("toReversed",(function(){return A(i(this),o(this))}))},6236:(e,t,r)=>{var A=r(4356),n=r(2608),i=r(4186),a=r(7434),o=A.aTypedArray,s=A.getTypedArrayConstructor,c=A.exportTypedArrayMethod,g=n(A.TypedArrayPrototype.sort);c("toSorted",(function(e){void 0!==e&&i(e);var t=o(this),r=a(s(t),t);return g(r,e)}))},7716:(e,t,r)=>{var A=r(4356).exportTypedArrayMethod,n=r(3455),i=r(4032),a=r(2608),o=i.Uint8Array,s=o&&o.prototype||{},c=[].toString,g=a([].join);n((function(){c.call({})}))&&(c=function(){return g(this)});var u=s.toString!==c;A("toString",c,u)},3034:(e,t,r)=>{r(8975)("Uint16",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},2044:(e,t,r)=>{r(8975)("Uint32",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},7329:(e,t,r)=>{r(8975)("Uint8",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},4262:(e,t,r)=>{r(8975)("Uint8",(function(e){return function(t,r,A){return e(this,t,r,A)}}),!0)},1913:(e,t,r)=>{var A=r(920),n=r(4356),i=r(5415),a=r(1211),o=r(1198),s=n.aTypedArray,c=n.getTypedArrayConstructor,g=n.exportTypedArrayMethod,u=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();g("with",{with:function(e,t){var r=s(this),n=a(e),g=i(r)?o(t):+t;return A(r,c(r),n,g)}}.with,!u)},6722:(e,t,r)=>{var A,n=r(568),i=r(4032),a=r(2608),o=r(4183),s=r(5227),c=r(9556),g=r(8153),u=r(2674),l=r(8301).enforce,h=r(3455),I=r(6206),f=Object,C=Array.isArray,B=f.isExtensible,Q=f.isFrozen,E=f.isSealed,d=f.freeze,y=f.seal,p=!i.ActiveXObject&&"ActiveXObject"in i,v=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=c("WeakMap",v,g),w=m.prototype,b=a(w.set);if(I)if(p){A=g.getConstructor(v,"WeakMap",!0),s.enable();var k=a(w.delete),D=a(w.has),S=a(w.get);o(w,{delete:function(e){if(u(e)&&!B(e)){var t=l(this);return t.frozen||(t.frozen=new A),k(this,e)||t.frozen.delete(e)}return k(this,e)},has:function(e){if(u(e)&&!B(e)){var t=l(this);return t.frozen||(t.frozen=new A),D(this,e)||t.frozen.has(e)}return D(this,e)},get:function(e){if(u(e)&&!B(e)){var t=l(this);return t.frozen||(t.frozen=new A),D(this,e)?S(this,e):t.frozen.get(e)}return S(this,e)},set:function(e,t){if(u(e)&&!B(e)){var r=l(this);r.frozen||(r.frozen=new A),D(this,e)?b(this,e,t):r.frozen.set(e,t)}else b(this,e,t);return this}})}else n&&h((function(){var e=d([]);return b(new m,e,1),!Q(e)}))&&o(w,{set:function(e,t){var r;return C(e)&&(Q(e)?r=d:E(e)&&(r=y)),b(this,e,t),r&&r(e),this}})},8492:(e,t,r)=>{r(6722)},1176:(e,t,r)=>{r(9556)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(8153))},7121:(e,t,r)=>{r(1176)},4192:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(3399),a=r(7447),o=r(3749),s=r(2611),c=r(8986),g=r(3552),u=r(3455),l=r(9649),h=r(5811),I=r(2857).IteratorPrototype,f=r(2444),C=r(8507),B="constructor",Q="Iterator",E=h("toStringTag"),d=TypeError,y=n[Q],p=C||!o(y)||y.prototype!==I||!u((function(){y({})})),v=function(){if(i(this,I),s(this)===I)throw new d("Abstract class Iterator not directly constructable")},m=function(e,t){f?c(I,e,{configurable:!0,get:function(){return t},set:function(t){if(a(this),this===I)throw new d("You can't redefine this property");l(this,e)?this[e]=t:g(this,e,t)}}):I[e]=t};l(I,E)||m(E,Q),!p&&l(I,B)&&I[B]!==Object||m(B,v),v.prototype=I,A({global:!0,constructor:!0,forced:p},{Iterator:v})},463:(e,t,r)=>{var A=r(5366),n=r(1804),i=r(4186),a=r(7447),o=r(3447);A({target:"Iterator",proto:!0,real:!0},{every:function(e){a(this),i(e);var t=o(this),r=0;return!n(t,(function(t,A){if(!e(t,r++))return A()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},8856:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(4186),a=r(7447),o=r(3447),s=r(2342),c=r(3535),g=r(8507),u=s((function(){for(var e,t,r=this.iterator,A=this.predicate,i=this.next;;){if(e=a(n(i,r)),this.done=!!e.done)return;if(t=e.value,c(r,A,[t,this.counter++],!0))return t}}));A({target:"Iterator",proto:!0,real:!0,forced:g},{filter:function(e){return a(this),i(e),new u(o(this),{predicate:e})}})},4865:(e,t,r)=>{var A=r(5366),n=r(1804),i=r(4186),a=r(7447),o=r(3447);A({target:"Iterator",proto:!0,real:!0},{find:function(e){a(this),i(e);var t=o(this),r=0;return n(t,(function(t,A){if(e(t,r++))return A(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},1565:(e,t,r)=>{var A=r(5366),n=r(1804),i=r(4186),a=r(7447),o=r(3447);A({target:"Iterator",proto:!0,real:!0},{forEach:function(e){a(this),i(e);var t=o(this),r=0;n(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}})},5342:(e,t,r)=>{var A=r(5366),n=r(4009);A({target:"Iterator",proto:!0,real:!0,forced:r(8507)},{map:n})},8075:(e,t,r)=>{var A=r(5366),n=r(1804),i=r(4186),a=r(7447),o=r(3447),s=TypeError;A({target:"Iterator",proto:!0,real:!0},{reduce:function(e){a(this),i(e);var t=o(this),r=arguments.length<2,A=r?void 0:arguments[1],c=0;if(n(t,(function(t){r?(r=!1,A=t):A=e(A,t,c),c++}),{IS_RECORD:!0}),r)throw new s("Reduce of empty iterator with no initial value");return A}})},9582:(e,t,r)=>{var A=r(5366),n=r(1804),i=r(4186),a=r(7447),o=r(3447);A({target:"Iterator",proto:!0,real:!0},{some:function(e){a(this),i(e);var t=o(this),r=0;return n(t,(function(t,A){if(e(t,r++))return A()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},7987:(e,t,r)=>{var A=r(5366),n=r(7447),i=r(1804),a=r(3447),o=[].push;A({target:"Iterator",proto:!0,real:!0},{toArray:function(){var e=[];return i(a(n(this)),o,{that:e,IS_RECORD:!0}),e}})},6625:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(8711),a=r(2608),o=r(3453),s=r(3455),c=r(687),g=r(7900),u=r(2996).c2i,l=/[^\\d+/a-z]/i,h=/[\\t\\n\\f\\r ]+/g,I=/[=]{1,2}$/,f=i("atob"),C=String.fromCharCode,B=a("".charAt),Q=a("".replace),E=a(l.exec),d=!!f&&!s((function(){return"hi"!==f("aGk=")})),y=d&&s((function(){return""!==f(" ")})),p=d&&!s((function(){f("a")})),v=d&&!s((function(){f()})),m=d&&1!==f.length;A({global:!0,bind:!0,enumerable:!0,forced:!d||y||p||v||m},{atob:function(e){if(g(arguments.length,1),d&&!y&&!p)return o(f,n,e);var t,r,A,a=Q(c(e),h,""),s="",v=0,m=0;if(a.length%4==0&&(a=Q(a,I,"")),(t=a.length)%4==1||E(l,a))throw new(i("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;v<t;)r=B(a,v++),A=m%4?64*A+u[r]:u[r],m++%4&&(s+=C(255&A>>(-2*m&6)));return s}})},8316:(e,t,r)=>{var A=r(4032),n=r(2760),i=r(4784),a=r(3147),o=r(139),s=function(e){if(e&&e.forEach!==a)try{o(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in n)n[c]&&s(A[c]&&A[c].prototype);s(i)},3577:(e,t,r)=>{var A=r(4032),n=r(2760),i=r(4784),a=r(9024),o=r(139),s=r(6911),c=r(5811)("iterator"),g=a.values,u=function(e,t){if(e){if(e[c]!==g)try{o(e,c,g)}catch(t){e[c]=g}if(s(e,t,!0),n[t])for(var r in a)if(e[r]!==a[r])try{o(e,r,a[r])}catch(t){e[r]=a[r]}}};for(var l in n)u(A[l]&&A[l].prototype,l);u(i,"DOMTokenList")},4967:(e,t,r)=>{var A=r(5366),n=r(8711),i=r(9685),a=r(3455),o=r(5304),s=r(4004),c=r(1601).f,g=r(8552),u=r(8986),l=r(9649),h=r(3399),I=r(7447),f=r(2912),C=r(8363),B=r(4090),Q=r(3633),E=r(8301),d=r(2444),y=r(8507),p="DOMException",v="DATA_CLONE_ERR",m=n("Error"),w=n(p)||function(){try{(new(n("MessageChannel")||i("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(e){if(e.name===v&&25===e.code)return e.constructor}}(),b=w&&w.prototype,k=m.prototype,D=E.set,S=E.getterFor(p),F="stack"in new m(p),x=function(e){return l(B,e)&&B[e].m?B[e].c:0},R=function(){h(this,G);var e=arguments.length,t=C(e<1?void 0:arguments[0]),r=C(e<2?void 0:arguments[1],"Error"),A=x(r);if(D(this,{type:p,name:r,message:t,code:A}),d||(this.name=r,this.message=t,this.code=A),F){var n=new m(t);n.name=p,c(this,"stack",s(1,Q(n.stack,1)))}},G=R.prototype=o(k),N=function(e){return{enumerable:!0,configurable:!0,get:e}},L=function(e){return N((function(){return S(this)[e]}))};d&&(u(G,"code",L("code")),u(G,"message",L("message")),u(G,"name",L("name"))),c(G,"constructor",s(1,R));var U=a((function(){return!(new w instanceof m)})),M=U||a((function(){return k.toString!==f||"2: 1"!==String(new w(1,2))})),J=U||a((function(){return 25!==new w(1,"DataCloneError").code})),H=U||25!==w[v]||25!==b[v],Y=y?M||J||H:U;A({global:!0,constructor:!0,forced:Y},{DOMException:Y?R:w});var P=n(p),O=P.prototype;for(var K in M&&(y||w===P)&&g(O,"toString",f),J&&d&&w===P&&u(O,"code",N((function(){return x(I(this).name)}))),B)if(l(B,K)){var T=B[K],q=T.s,j=s(6,T.c);l(P,q)||c(P,q,j),l(O,q)||c(O,q,j)}},6403:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(8711),a=r(4004),o=r(1601).f,s=r(9649),c=r(3399),g=r(3951),u=r(8363),l=r(4090),h=r(3633),I=r(2444),f=r(8507),C="DOMException",B=i("Error"),Q=i(C),E=function(){c(this,d);var e=arguments.length,t=u(e<1?void 0:arguments[0]),r=u(e<2?void 0:arguments[1],"Error"),A=new Q(t,r),n=new B(t);return n.name=C,o(A,"stack",a(1,h(n.stack,1))),g(A,this,E),A},d=E.prototype=Q.prototype,y="stack"in new B(C),p="stack"in new Q(1,2),v=Q&&I&&Object.getOwnPropertyDescriptor(n,C),m=!(!v||v.writable&&v.configurable),w=y&&!m&&!p;A({global:!0,constructor:!0,forced:f||w},{DOMException:w?E:Q});var b=i(C),k=b.prototype;if(k.constructor!==b)for(var D in f||o(k,"constructor",a(1,b)),l)if(s(l,D)){var S=l[D],F=S.s;s(b,F)||o(b,F,a(6,S.c))}},3355:(e,t,r)=>{var A=r(8711),n="DOMException";r(6911)(A(n),n)},8043:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(8986),a=r(2444),o=TypeError,s=Object.defineProperty,c=n.self!==n;try{if(a){var g=Object.getOwnPropertyDescriptor(n,"self");!c&&g&&g.get&&g.enumerable||i(n,"self",{get:function(){return n},set:function(e){if(this!==n)throw new o("Illegal invocation");s(n,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else A({global:!0,simple:!0,forced:c},{self:n})}catch(e){}},9734:(e,t,r)=>{r(9024),r(2217);var A=r(5366),n=r(4032),i=r(5725),a=r(8711),o=r(3453),s=r(2608),c=r(2444),g=r(8200),u=r(8552),l=r(8986),h=r(4183),I=r(6911),f=r(282),C=r(8301),B=r(3399),Q=r(3749),E=r(9649),d=r(4864),y=r(1179),p=r(7447),v=r(2674),m=r(687),w=r(5304),b=r(4004),k=r(6961),D=r(7507),S=r(9393),F=r(7900),x=r(5811),R=r(5272),G=x("iterator"),N="URLSearchParams",L=N+"Iterator",U=C.set,M=C.getterFor(N),J=C.getterFor(L),H=i("fetch"),Y=i("Request"),P=i("Headers"),O=Y&&Y.prototype,K=P&&P.prototype,T=n.TypeError,q=n.encodeURIComponent,j=String.fromCharCode,W=a("String","fromCodePoint"),Z=parseInt,_=s("".charAt),X=s([].join),V=s([].push),z=s("".replace),$=s([].shift),ee=s([].splice),te=s("".split),re=s("".slice),Ae=s(/./.exec),ne=/\\+/g,ie=/^[0-9a-f]+$/i,ae=function(e,t){var r=re(e,t,t+2);return Ae(ie,r)?Z(r,16):NaN},oe=function(e){for(var t=0,r=128;r>0&&0!=(e&r);r>>=1)t++;return t},se=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},ce=function(e){for(var t=(e=z(e,ne," ")).length,r="",A=0;A<t;){var n=_(e,A);if("%"===n){if("%"===_(e,A+1)||A+3>t){r+="%",A++;continue}var i=ae(e,A+1);if(i!=i){r+=n,A++;continue}A+=2;var a=oe(i);if(0===a)n=j(i);else{if(1===a||a>4){r+="�",A++;continue}for(var o=[i],s=1;s<a&&!(3+ ++A>t||"%"!==_(e,A));){var c=ae(e,A+1);if(c!=c){A+=3;break}if(c>191||c<128)break;V(o,c),A+=2,s++}if(o.length!==a){r+="�";continue}var g=se(o);null===g?r+="�":n=W(g)}}r+=n,A++}return r},ge=/[!'()~]|%20/g,ue={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},le=function(e){return ue[e]},he=function(e){return z(q(e),ge,le)},Ie=f((function(e,t){U(this,{type:L,target:M(e).entries,index:0,kind:t})}),N,(function(){var e=J(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,S(void 0,!0);var A=t[r];switch(e.kind){case"keys":return S(A.key,!1);case"values":return S(A.value,!1)}return S([A.key,A.value],!1)}),!0),fe=function(e){this.entries=[],this.url=null,void 0!==e&&(v(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===_(e,0)?re(e,1):e:m(e)))};fe.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,A,n,i,a,s,c=this.entries,g=D(e);if(g)for(r=(t=k(e,g)).next;!(A=o(r,t)).done;){if(i=(n=k(p(A.value))).next,(a=o(i,n)).done||(s=o(i,n)).done||!o(i,n).done)throw new T("Expected sequence with length 2");V(c,{key:m(a.value),value:m(s.value)})}else for(var u in e)E(e,u)&&V(c,{key:u,value:m(e[u])})},parseQuery:function(e){if(e)for(var t,r,A=this.entries,n=te(e,"&"),i=0;i<n.length;)(t=n[i++]).length&&(r=te(t,"="),V(A,{key:ce($(r)),value:ce(X(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],A=0;A<t.length;)e=t[A++],V(r,he(e.key)+"="+he(e.value));return X(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Ce=function(){B(this,Be);var e=U(this,new fe(arguments.length>0?arguments[0]:void 0));c||(this.size=e.entries.length)},Be=Ce.prototype;if(h(Be,{append:function(e,t){var r=M(this);F(arguments.length,2),V(r.entries,{key:m(e),value:m(t)}),c||this.length++,r.updateURL()},delete:function(e){for(var t=M(this),r=F(arguments.length,1),A=t.entries,n=m(e),i=r<2?void 0:arguments[1],a=void 0===i?i:m(i),o=0;o<A.length;){var s=A[o];if(s.key!==n||void 0!==a&&s.value!==a)o++;else if(ee(A,o,1),void 0!==a)break}c||(this.size=A.length),t.updateURL()},get:function(e){var t=M(this).entries;F(arguments.length,1);for(var r=m(e),A=0;A<t.length;A++)if(t[A].key===r)return t[A].value;return null},getAll:function(e){var t=M(this).entries;F(arguments.length,1);for(var r=m(e),A=[],n=0;n<t.length;n++)t[n].key===r&&V(A,t[n].value);return A},has:function(e){for(var t=M(this).entries,r=F(arguments.length,1),A=m(e),n=r<2?void 0:arguments[1],i=void 0===n?n:m(n),a=0;a<t.length;){var o=t[a++];if(o.key===A&&(void 0===i||o.value===i))return!0}return!1},set:function(e,t){var r=M(this);F(arguments.length,1);for(var A,n=r.entries,i=!1,a=m(e),o=m(t),s=0;s<n.length;s++)(A=n[s]).key===a&&(i?ee(n,s--,1):(i=!0,A.value=o));i||V(n,{key:a,value:o}),c||(this.size=n.length),r.updateURL()},sort:function(){var e=M(this);R(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=M(this).entries,A=d(e,arguments.length>1?arguments[1]:void 0),n=0;n<r.length;)A((t=r[n++]).value,t.key,this)},keys:function(){return new Ie(this,"keys")},values:function(){return new Ie(this,"values")},entries:function(){return new Ie(this,"entries")}},{enumerable:!0}),u(Be,G,Be.entries,{name:"entries"}),u(Be,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),c&&l(Be,"size",{get:function(){return M(this).entries.length},configurable:!0,enumerable:!0}),I(Ce,N),A({global:!0,constructor:!0,forced:!g},{URLSearchParams:Ce}),!g&&Q(P)){var Qe=s(K.has),Ee=s(K.set),de=function(e){if(v(e)){var t,r=e.body;if(y(r)===N)return t=e.headers?new P(e.headers):new P,Qe(t,"content-type")||Ee(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),w(e,{body:b(0,m(r)),headers:b(0,t)})}return e};if(Q(H)&&A({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return H(e,arguments.length>1?de(arguments[1]):{})}}),Q(Y)){var ye=function(e){return B(this,O),new Y(e,arguments.length>1?de(arguments[1]):{})};O.constructor=ye,ye.prototype=O,A({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:Ce,getState:M}},1531:(e,t,r)=>{var A=r(8552),n=r(2608),i=r(687),a=r(7900),o=URLSearchParams,s=o.prototype,c=n(s.append),g=n(s.delete),u=n(s.forEach),l=n([].push),h=new o("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&A(s,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return g(this,e);var A=[];u(this,(function(e,t){l(A,{key:t,value:e})})),a(t,1);for(var n,o=i(e),s=i(r),h=0,I=0,f=!1,C=A.length;h<C;)n=A[h++],f||n.key===o?(f=!0,g(this,n.key)):I++;for(;I<C;)(n=A[I++]).key===o&&n.value===s||c(this,n.key,n.value)}),{enumerable:!0,unsafe:!0})},3678:(e,t,r)=>{var A=r(8552),n=r(2608),i=r(687),a=r(7900),o=URLSearchParams,s=o.prototype,c=n(s.getAll),g=n(s.has),u=new o("a=1");!u.has("a",2)&&u.has("a",void 0)||A(s,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return g(this,e);var A=c(this,e);a(t,1);for(var n=i(r),o=0;o<A.length;)if(A[o++]===n)return!0;return!1}),{enumerable:!0,unsafe:!0})},4520:(e,t,r)=>{r(9734)},4145:(e,t,r)=>{var A=r(2444),n=r(2608),i=r(8986),a=URLSearchParams.prototype,o=n(a.forEach);A&&!("size"in a)&&i(a,"size",{get:function(){var e=0;return o(this,(function(){e++})),e},configurable:!0,enumerable:!0})},161:(e,t,r)=>{r(7460);var A,n=r(5366),i=r(2444),a=r(8200),o=r(4032),s=r(4864),c=r(2608),g=r(8552),u=r(8986),l=r(3399),h=r(9649),I=r(8069),f=r(3948),C=r(4224),B=r(6903).codeAt,Q=r(5141),E=r(687),d=r(6911),y=r(7900),p=r(9734),v=r(8301),m=v.set,w=v.getterFor("URL"),b=p.URLSearchParams,k=p.getState,D=o.URL,S=o.TypeError,F=o.parseInt,x=Math.floor,R=Math.pow,G=c("".charAt),N=c(/./.exec),L=c([].join),U=c(1..toString),M=c([].pop),J=c([].push),H=c("".replace),Y=c([].shift),P=c("".split),O=c("".slice),K=c("".toLowerCase),T=c([].unshift),q="Invalid scheme",j="Invalid host",W="Invalid port",Z=/[a-z]/i,_=/[\\d+-.a-z]/i,X=/\\d/,V=/^0x/i,z=/^[0-7]+$/,$=/^\\d+$/,ee=/^[\\da-f]+$/i,te=/[\\0\\t\\n\\r #%/:<>?@[\\\\\\]^|]/,re=/[\\0\\t\\n\\r #/:<>?@[\\\\\\]^|]/,Ae=/^[\\u0000-\\u0020]+/,ne=/(^|[^\\u0000-\\u0020])[\\u0000-\\u0020]+$/,ie=/[\\t\\n\\r]/g,ae=function(e){var t,r,A,n;if("number"==typeof e){for(t=[],r=0;r<4;r++)T(t,e%256),e=x(e/256);return L(t,".")}if("object"==typeof e){for(t="",A=function(e){for(var t=null,r=1,A=null,n=0,i=0;i<8;i++)0!==e[i]?(n>r&&(t=A,r=n),A=null,n=0):(null===A&&(A=i),++n);return n>r?A:t}(e),r=0;r<8;r++)n&&0===e[r]||(n&&(n=!1),A===r?(t+=r?":":"::",n=!0):(t+=U(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},oe={},se=I({},oe,{" ":1,'"':1,"<":1,">":1,"\`":1}),ce=I({},se,{"#":1,"?":1,"{":1,"}":1}),ge=I({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\\\":1,"]":1,"^":1,"|":1}),ue=function(e,t){var r=B(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},le={ftp:21,file:null,http:80,https:443,ws:80,wss:443},he=function(e,t){var r;return 2===e.length&&N(Z,G(e,0))&&(":"===(r=G(e,1))||!t&&"|"===r)},Ie=function(e){var t;return e.length>1&&he(O(e,0,2))&&(2===e.length||"/"===(t=G(e,2))||"\\\\"===t||"?"===t||"#"===t)},fe=function(e){return"."===e||"%2e"===K(e)},Ce={},Be={},Qe={},Ee={},de={},ye={},pe={},ve={},me={},we={},be={},ke={},De={},Se={},Fe={},xe={},Re={},Ge={},Ne={},Le={},Ue={},Me=function(e,t,r){var A,n,i,a=E(e);if(t){if(n=this.parse(a))throw new S(n);this.searchParams=null}else{if(void 0!==r&&(A=new Me(r,!0)),n=this.parse(a,null,A))throw new S(n);(i=k(new b)).bindURL(this),this.searchParams=i}};Me.prototype={type:"URL",parse:function(e,t,r){var n,i,a,o,s,c=this,g=t||Ce,u=0,l="",I=!1,B=!1,Q=!1;for(e=E(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=H(e,Ae,""),e=H(e,ne,"$1")),e=H(e,ie,""),n=f(e);u<=n.length;){switch(i=n[u],g){case Ce:if(!i||!N(Z,i)){if(t)return q;g=Qe;continue}l+=K(i),g=Be;break;case Be:if(i&&(N(_,i)||"+"===i||"-"===i||"."===i))l+=K(i);else{if(":"!==i){if(t)return q;l="",g=Qe,u=0;continue}if(t&&(c.isSpecial()!==h(le,l)||"file"===l&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=l,t)return void(c.isSpecial()&&le[c.scheme]===c.port&&(c.port=null));l="","file"===c.scheme?g=Se:c.isSpecial()&&r&&r.scheme===c.scheme?g=Ee:c.isSpecial()?g=ve:"/"===n[u+1]?(g=de,u++):(c.cannotBeABaseURL=!0,J(c.path,""),g=Ne)}break;case Qe:if(!r||r.cannotBeABaseURL&&"#"!==i)return q;if(r.cannotBeABaseURL&&"#"===i){c.scheme=r.scheme,c.path=C(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,g=Ue;break}g="file"===r.scheme?Se:ye;continue;case Ee:if("/"!==i||"/"!==n[u+1]){g=ye;continue}g=me,u++;break;case de:if("/"===i){g=we;break}g=Ge;continue;case ye:if(c.scheme=r.scheme,i===A)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=C(r.path),c.query=r.query;else if("/"===i||"\\\\"===i&&c.isSpecial())g=pe;else if("?"===i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=C(r.path),c.query="",g=Le;else{if("#"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=C(r.path),c.path.length--,g=Ge;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=C(r.path),c.query=r.query,c.fragment="",g=Ue}break;case pe:if(!c.isSpecial()||"/"!==i&&"\\\\"!==i){if("/"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,g=Ge;continue}g=we}else g=me;break;case ve:if(g=me,"/"!==i||"/"!==G(l,u+1))continue;u++;break;case me:if("/"!==i&&"\\\\"!==i){g=we;continue}break;case we:if("@"===i){I&&(l="%40"+l),I=!0,a=f(l);for(var d=0;d<a.length;d++){var y=a[d];if(":"!==y||Q){var p=ue(y,ge);Q?c.password+=p:c.username+=p}else Q=!0}l=""}else if(i===A||"/"===i||"?"===i||"#"===i||"\\\\"===i&&c.isSpecial()){if(I&&""===l)return"Invalid authority";u-=f(l).length+1,l="",g=be}else l+=i;break;case be:case ke:if(t&&"file"===c.scheme){g=xe;continue}if(":"!==i||B){if(i===A||"/"===i||"?"===i||"#"===i||"\\\\"===i&&c.isSpecial()){if(c.isSpecial()&&""===l)return j;if(t&&""===l&&(c.includesCredentials()||null!==c.port))return;if(o=c.parseHost(l))return o;if(l="",g=Re,t)return;continue}"["===i?B=!0:"]"===i&&(B=!1),l+=i}else{if(""===l)return j;if(o=c.parseHost(l))return o;if(l="",g=De,t===ke)return}break;case De:if(!N(X,i)){if(i===A||"/"===i||"?"===i||"#"===i||"\\\\"===i&&c.isSpecial()||t){if(""!==l){var v=F(l,10);if(v>65535)return W;c.port=c.isSpecial()&&v===le[c.scheme]?null:v,l=""}if(t)return;g=Re;continue}return W}l+=i;break;case Se:if(c.scheme="file","/"===i||"\\\\"===i)g=Fe;else{if(!r||"file"!==r.scheme){g=Ge;continue}switch(i){case A:c.host=r.host,c.path=C(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=C(r.path),c.query="",g=Le;break;case"#":c.host=r.host,c.path=C(r.path),c.query=r.query,c.fragment="",g=Ue;break;default:Ie(L(C(n,u),""))||(c.host=r.host,c.path=C(r.path),c.shortenPath()),g=Ge;continue}}break;case Fe:if("/"===i||"\\\\"===i){g=xe;break}r&&"file"===r.scheme&&!Ie(L(C(n,u),""))&&(he(r.path[0],!0)?J(c.path,r.path[0]):c.host=r.host),g=Ge;continue;case xe:if(i===A||"/"===i||"\\\\"===i||"?"===i||"#"===i){if(!t&&he(l))g=Ge;else if(""===l){if(c.host="",t)return;g=Re}else{if(o=c.parseHost(l))return o;if("localhost"===c.host&&(c.host=""),t)return;l="",g=Re}continue}l+=i;break;case Re:if(c.isSpecial()){if(g=Ge,"/"!==i&&"\\\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==A&&(g=Ge,"/"!==i))continue}else c.fragment="",g=Ue;else c.query="",g=Le;break;case Ge:if(i===A||"/"===i||"\\\\"===i&&c.isSpecial()||!t&&("?"===i||"#"===i)){if(".."===(s=K(s=l))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"===i||"\\\\"===i&&c.isSpecial()||J(c.path,"")):fe(l)?"/"===i||"\\\\"===i&&c.isSpecial()||J(c.path,""):("file"===c.scheme&&!c.path.length&&he(l)&&(c.host&&(c.host=""),l=G(l,0)+":"),J(c.path,l)),l="","file"===c.scheme&&(i===A||"?"===i||"#"===i))for(;c.path.length>1&&""===c.path[0];)Y(c.path);"?"===i?(c.query="",g=Le):"#"===i&&(c.fragment="",g=Ue)}else l+=ue(i,ce);break;case Ne:"?"===i?(c.query="",g=Le):"#"===i?(c.fragment="",g=Ue):i!==A&&(c.path[0]+=ue(i,oe));break;case Le:t||"#"!==i?i!==A&&("'"===i&&c.isSpecial()?c.query+="%27":c.query+="#"===i?"%23":ue(i,oe)):(c.fragment="",g=Ue);break;case Ue:i!==A&&(c.fragment+=ue(i,se))}u++}},parseHost:function(e){var t,r,A;if("["===G(e,0)){if("]"!==G(e,e.length-1))return j;if(t=function(e){var t,r,A,n,i,a,o,s=[0,0,0,0,0,0,0,0],c=0,g=null,u=0,l=function(){return G(e,u)};if(":"===l()){if(":"!==G(e,1))return;u+=2,g=++c}for(;l();){if(8===c)return;if(":"!==l()){for(t=r=0;r<4&&N(ee,l());)t=16*t+F(l(),16),u++,r++;if("."===l()){if(0===r)return;if(u-=r,c>6)return;for(A=0;l();){if(n=null,A>0){if(!("."===l()&&A<4))return;u++}if(!N(X,l()))return;for(;N(X,l());){if(i=F(l(),10),null===n)n=i;else{if(0===n)return;n=10*n+i}if(n>255)return;u++}s[c]=256*s[c]+n,2!=++A&&4!==A||c++}if(4!==A)return;break}if(":"===l()){if(u++,!l())return}else if(l())return;s[c++]=t}else{if(null!==g)return;u++,g=++c}}if(null!==g)for(a=c-g,c=7;0!==c&&a>0;)o=s[c],s[c--]=s[g+a-1],s[g+--a]=o;else if(8!==c)return;return s}(O(e,1,-1)),!t)return j;this.host=t}else if(this.isSpecial()){if(e=Q(e),N(te,e))return j;if(t=function(e){var t,r,A,n,i,a,o,s=P(e,".");if(s.length&&""===s[s.length-1]&&s.length--,(t=s.length)>4)return e;for(r=[],A=0;A<t;A++){if(""===(n=s[A]))return e;if(i=10,n.length>1&&"0"===G(n,0)&&(i=N(V,n)?16:8,n=O(n,8===i?1:2)),""===n)a=0;else{if(!N(10===i?$:8===i?z:ee,n))return e;a=F(n,i)}J(r,a)}for(A=0;A<t;A++)if(a=r[A],A===t-1){if(a>=R(256,5-t))return null}else if(a>255)return null;for(o=M(r),A=0;A<r.length;A++)o+=r[A]*R(256,3-A);return o}(e),null===t)return j;this.host=t}else{if(N(re,e))return j;for(t="",r=f(e),A=0;A<r.length;A++)t+=ue(r[A],oe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(le,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&he(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,A=e.password,n=e.host,i=e.port,a=e.path,o=e.query,s=e.fragment,c=t+":";return null!==n?(c+="//",e.includesCredentials()&&(c+=r+(A?":"+A:"")+"@"),c+=ae(n),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+L(a,"/"):"",null!==o&&(c+="?"+o),null!==s&&(c+="#"+s),c},setHref:function(e){var t=this.parse(e);if(t)throw new S(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Je(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(E(e)+":",Ce)},getUsername:function(){return this.username},setUsername:function(e){var t=f(E(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ue(t[r],ge)}},getPassword:function(){return this.password},setPassword:function(e){var t=f(E(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ue(t[r],ge)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,be)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ke)},getPort:function(){var e=this.port;return null===e?"":E(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=E(e))?this.port=null:this.parse(e,De))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+L(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Re))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=E(e))?this.query=null:("?"===G(e,0)&&(e=O(e,1)),this.query="",this.parse(e,Le)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=E(e))?("#"===G(e,0)&&(e=O(e,1)),this.fragment="",this.parse(e,Ue)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Je=function(e){var t=l(this,He),r=y(arguments.length,1)>1?arguments[1]:void 0,A=m(t,new Me(e,!1,r));i||(t.href=A.serialize(),t.origin=A.getOrigin(),t.protocol=A.getProtocol(),t.username=A.getUsername(),t.password=A.getPassword(),t.host=A.getHost(),t.hostname=A.getHostname(),t.port=A.getPort(),t.pathname=A.getPathname(),t.search=A.getSearch(),t.searchParams=A.getSearchParams(),t.hash=A.getHash())},He=Je.prototype,Ye=function(e,t){return{get:function(){return w(this)[e]()},set:t&&function(e){return w(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(u(He,"href",Ye("serialize","setHref")),u(He,"origin",Ye("getOrigin")),u(He,"protocol",Ye("getProtocol","setProtocol")),u(He,"username",Ye("getUsername","setUsername")),u(He,"password",Ye("getPassword","setPassword")),u(He,"host",Ye("getHost","setHost")),u(He,"hostname",Ye("getHostname","setHostname")),u(He,"port",Ye("getPort","setPort")),u(He,"pathname",Ye("getPathname","setPathname")),u(He,"search",Ye("getSearch","setSearch")),u(He,"searchParams",Ye("getSearchParams")),u(He,"hash",Ye("getHash","setHash"))),g(He,"toJSON",(function(){return w(this).serialize()}),{enumerable:!0}),g(He,"toString",(function(){return w(this).serialize()}),{enumerable:!0}),D){var Pe=D.createObjectURL,Oe=D.revokeObjectURL;Pe&&g(Je,"createObjectURL",s(Pe,D)),Oe&&g(Je,"revokeObjectURL",s(Oe,D))}d(Je,"URL"),n({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Je})},5728:(e,t,r)=>{r(161)},4136:(e,t,r)=>{var A=r(5366),n=r(3453);A({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return n(URL.prototype.toString,this)}})}},t={};function r(A){var n=t[A];if(void 0!==n)return n.exports;var i=t[A]={exports:{}};return e[A].call(i.exports,i,i.exports,r),i.exports}r.d=(e,t)=>{for(var A in t)r.o(t,A)&&!r.o(e,A)&&Object.defineProperty(e,A,{enumerable:!0,get:t[A]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var A,n=globalThis.pdfjsWorker={};function i(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function a(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,s(A.key),A)}}function o(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t,r){return t=l(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&I(e,t)}function I(e,t){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},I(e,t)}r.d(n,{WorkerMessageHandler:()=>iL}),r(7651),r(4551),r(4172),r(5268),r(5997),r(184),r(3234),r(6497),r(6746),r(9024),r(5550),r(9138),r(6794),r(750),r(9722),r(5015),r(6209),r(9261),r(3700),r(3632),r(7316),r(7531),r(1999),r(3379),r(1234),r(2431),r(9732),r(2823),r(5594),r(8397),r(9255),r(5130),r(5636),r(8509),r(7332),r(6555),r(3296),r(4594),r(7329),r(3740),r(6542),r(5738),r(2900),r(2051),r(3198),r(4211),r(9791),r(5294),r(1526),r(6032),r(3659),r(8551),r(8553),r(7612),r(8579),r(7719),r(7576),r(2891),r(2605),r(4863),r(9637),r(2709),r(8941),r(1579),r(6236),r(7716),r(1913),r(4192),r(1565),r(5342),r(9582),r(8316),r(3577),r(8043),r(932),r(8169),r(1425),r(489),r(2467),r(1281),r(9484),r(4672),r(4413),r(9264),r(2044),r(5728),r(4136),r(4520),r(1531),r(3678),r(4145);var f=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),C=[1,0,0,1,0,0],B=[.001,0,0,.001,0,0],Q=1.35,E=.25925925925925924,d="pdfjs_internal_editor_",y={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},p="Group",v=32,m=8192,w=65536,b={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},k={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},D={O:"PageOpen",C:"PageClose"},S={ERRORS:0,WARNINGS:1,INFOS:5},F={NONE:0,BINARY:1},x=10,R=11,G=12,N=37,L=44,U=58,M=59,J=70,H=71,Y=83,P=85,O=S.WARNINGS;function K(){return O}function T(e){O>=S.INFOS&&console.log("Info: ".concat(e))}function q(e){O>=S.WARNINGS&&console.log("Warning: ".concat(e))}function j(e){throw new Error(e)}function W(e,t){e||j(t)}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return null;try{if(r&&"string"==typeof e){if(r.addDefaultProtocol&&e.startsWith("www.")){var A=e.match(/\\./g);(null==A?void 0:A.length)>=2&&(e="http://".concat(e))}if(r.tryConvertEncoding)try{e=fe(e)}catch(e){}}var n=t?new URL(e,t):new URL(e);if(function(e){switch(null==e?void 0:e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(n))return n}catch(e){}return null}function _(e,t,r){var A=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.defineProperty(e,t,{value:r,enumerable:!A,configurable:!0,writable:!1}),r}var X=function(){function e(e,t){this.message=e,this.name=t}return e.prototype=new Error,e.constructor=e,e}(),V=function(e){function t(e,r){var A;return c(this,t),(A=g(this,t,[e,"PasswordException"])).code=r,A}return h(t,X),o(t)}(),z=function(e){function t(e,r){var A;return c(this,t),(A=g(this,t,[e,"UnknownErrorException"])).details=r,A}return h(t,X),o(t)}(),$=function(e){function t(e){return c(this,t),g(this,t,[e,"InvalidPDFException"])}return h(t,X),o(t)}(),ee=function(e){function t(e){return c(this,t),g(this,t,[e,"MissingPDFException"])}return h(t,X),o(t)}(),te=function(e){function t(e,r){var A;return c(this,t),(A=g(this,t,[e,"UnexpectedResponseException"])).status=r,A}return h(t,X),o(t)}(),re=function(e){function t(e){return c(this,t),g(this,t,[e,"FormatError"])}return h(t,X),o(t)}(),Ae=function(e){function t(e){return c(this,t),g(this,t,[e,"AbortException"])}return h(t,X),o(t)}();function ne(e){"object"==typeof e&&void 0!==(null==e?void 0:e.length)||j("Invalid argument for bytesToString");var t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);for(var A=[],n=0;n<t;n+=r){var i=Math.min(n+r,t),a=e.subarray(n,i);A.push(String.fromCharCode.apply(null,a))}return A.join("")}function ie(e){"string"!=typeof e&&j("Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),A=0;A<t;++A)r[A]=255&e.charCodeAt(A);return r}function ae(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function oe(e){return Object.keys(e).length}var se=function(){return o((function e(){c(this,e)}),null,[{key:"isLittleEndian",get:function(){return _(this,"isLittleEndian",((e=new Uint8Array(4))[0]=1,1===new Uint32Array(e.buffer,0,1)[0]));var e}},{key:"isEvalSupported",get:function(){return _(this,"isEvalSupported",function(){try{return new Function(""),!0}catch(e){return!1}}())}},{key:"isOffscreenCanvasSupported",get:function(){return _(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}},{key:"platform",get:function(){var e,t;return"undefined"!=typeof navigator&&"string"==typeof(null===(e=navigator)||void 0===e?void 0:e.platform)?_(this,"platform",{isMac:navigator.platform.includes("Mac"),isWindows:navigator.platform.includes("Win"),isFirefox:"string"==typeof(null===(t=navigator)||void 0===t?void 0:t.userAgent)&&navigator.userAgent.includes("Firefox")}):_(this,"platform",{isMac:!1,isWindows:!1,isFirefox:!1})}},{key:"isCSSRoundSupported",get:function(){var e,t;return _(this,"isCSSRoundSupported",null===(e=globalThis.CSS)||void 0===e||null===(t=e.supports)||void 0===t?void 0:t.call(e,"width: round(1.5px, 1px)"))}}])}(),ce=Array.from(Array(256).keys(),(function(e){return e.toString(16).padStart(2,"0")})),ge=function(){function e(){c(this,e)}return o(e,null,[{key:"makeHexColor",value:function(e,t,r){return"#".concat(ce[e]).concat(ce[t]).concat(ce[r])}},{key:"scaleMinMax",value:function(e,t){var r;e[0]?(e[0]<0&&(r=t[0],t[0]=t[2],t[2]=r),t[0]*=e[0],t[2]*=e[0],e[3]<0&&(r=t[1],t[1]=t[3],t[3]=r),t[1]*=e[3],t[3]*=e[3]):(r=t[0],t[0]=t[1],t[1]=r,r=t[2],t[2]=t[3],t[3]=r,e[1]<0&&(r=t[1],t[1]=t[3],t[3]=r),t[1]*=e[1],t[3]*=e[1],e[2]<0&&(r=t[0],t[0]=t[2],t[2]=r),t[0]*=e[2],t[2]*=e[2]),t[0]+=e[4],t[1]+=e[5],t[2]+=e[4],t[3]+=e[5]}},{key:"transform",value:function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}},{key:"applyTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}},{key:"applyInverseTransform",value:function(e,t){var r=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]}},{key:"getAxialAlignedBoundingBox",value:function(e,t){var r=this.applyTransform(e,t),A=this.applyTransform(e.slice(2,4),t),n=this.applyTransform([e[0],e[3]],t),i=this.applyTransform([e[2],e[1]],t);return[Math.min(r[0],A[0],n[0],i[0]),Math.min(r[1],A[1],n[1],i[1]),Math.max(r[0],A[0],n[0],i[0]),Math.max(r[1],A[1],n[1],i[1])]}},{key:"inverseTransform",value:function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],A=e[0]*t[1]+e[1]*t[3],n=e[2]*t[0]+e[3]*t[2],i=e[2]*t[1]+e[3]*t[3],a=(r+i)/2,o=Math.sqrt(Math.pow(r+i,2)-4*(r*i-n*A))/2,s=a+o||1,c=a-o||1;return[Math.sqrt(s),Math.sqrt(c)]}},{key:"normalizeRect",value:function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}},{key:"intersect",value:function(e,t){var r=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),A=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(r>A)return null;var n=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),i=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return n>i?null:[r,n,A,i]}},{key:"bezierBoundingBox",value:function(t,r,A,n,a,o,s,c,g){return g?(g[0]=Math.min(g[0],t,s),g[1]=Math.min(g[1],r,c),g[2]=Math.max(g[2],t,s),g[3]=Math.max(g[3],r,c)):g=[Math.min(t,s),Math.min(r,c),Math.max(t,s),Math.max(r,c)],i(e,this,le).call(this,t,A,a,s,r,n,o,c,3*(3*(A-a)-t+s),6*(t-2*A+a),3*(A-t),g),i(e,this,le).call(this,t,A,a,s,r,n,o,c,3*(3*(n-o)-r+c),6*(r-2*n+o),3*(n-r),g),g}}])}();function ue(e,t,r,A,n,i,a,o,s,c){if(!(s<=0||s>=1)){var g=1-s,u=s*s,l=u*s,h=g*(g*(g*e+3*s*t)+3*u*r)+l*A,I=g*(g*(g*n+3*s*i)+3*u*a)+l*o;c[0]=Math.min(c[0],h),c[1]=Math.min(c[1],I),c[2]=Math.max(c[2],h),c[3]=Math.max(c[3],I)}}function le(e,t,r,n,a,o,s,c,g,u,l,h){if(Math.abs(g)<1e-12)Math.abs(u)>=1e-12&&i(A,this,ue).call(this,e,t,r,n,a,o,s,c,-l/u,h);else{var I=Math.pow(u,2)-4*l*g;if(!(I<0)){var f=Math.sqrt(I),C=2*g;i(A,this,ue).call(this,e,t,r,n,a,o,s,c,(-u+f)/C,h),i(A,this,ue).call(this,e,t,r,n,a,o,s,c,(-u-f)/C,h)}}}A=ge;var he=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function Ie(e){var t;if(e[0]>="ï"&&("þ"===e[0]&&"ÿ"===e[1]?(t="utf-16be",e.length%2==1&&(e=e.slice(0,-1))):"ÿ"===e[0]&&"þ"===e[1]?(t="utf-16le",e.length%2==1&&(e=e.slice(0,-1))):"ï"===e[0]&&"»"===e[1]&&"¿"===e[2]&&(t="utf-8"),t))try{var r=new TextDecoder(t,{fatal:!0}),A=ie(e),n=r.decode(A);return n.includes("\x1B")?n.replaceAll(/\\x1b[^\\x1b]*(?:\\x1b|$)/g,""):n}catch(e){q('stringToPDFString: "'.concat(e,'".'))}for(var i=[],a=0,o=e.length;a<o;a++){var s=e.charCodeAt(a);if(27!==s){var c=he[s];i.push(c?String.fromCharCode(c):e.charAt(a))}else for(;++a<o&&27!==e.charCodeAt(a););}return i.join("")}function fe(e){return decodeURIComponent(escape(e))}function Ce(e){return unescape(encodeURIComponent(e))}function Be(e,t){if(e.length!==t.length)return!1;for(var r=0,A=e.length;r<A;r++)if(e[r]!==t[r])return!1;return!0}function Qe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")}var Ee=null,de=null;function ye(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||ve(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ve(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function ve(e,t){if(e){if("string"==typeof e)return me(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?me(e,t):void 0}}function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function we(){we=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function be(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Fe(A.key),A)}}function Se(e,t,r){return t&&De(e.prototype,t),r&&De(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Fe(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}r(4592),r(8345),r(2865),r(4072),r(463),r(8674),r(482);var xe=Symbol("CIRCULAR_REF"),Re=Symbol("EOF"),Ge=Object.create(null),Ne=Object.create(null),Le=Object.create(null),Ue=function(){function e(t){ke(this,e),this.name=t}return Se(e,null,[{key:"get",value:function(t){var r;return(r=Ne)[t]||(r[t]=new e(t))}}])}(),Me=function(){function e(t){ke(this,e),this.cmd=t}return Se(e,null,[{key:"get",value:function(t){var r;return(r=Ge)[t]||(r[t]=new e(t))}}])}(),Je=function(){return Je},He=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;ke(this,e),this._map=Object.create(null),this.xref=t,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=Je}return Se(e,[{key:"assignXref",value:function(e){this.xref=e}},{key:"size",get:function(){return Object.keys(this._map).length}},{key:"get",value:function(e,t,r){var A=this._map[e];return void 0===A&&void 0!==t&&void 0===(A=this._map[t])&&void 0!==r&&(A=this._map[r]),A instanceof Ye&&this.xref?this.xref.fetch(A,this.suppressEncryption):A}},{key:"getAsync",value:(t=we().mark((function e(t,r,A){var n;return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===(n=this._map[t])&&void 0!==r&&void 0===(n=this._map[r])&&void 0!==A&&(n=this._map[A]),!(n instanceof Ye&&this.xref)){e.next=4;break}return e.abrupt("return",this.xref.fetchAsync(n,this.suppressEncryption));case 4:return e.abrupt("return",n);case 5:case"end":return e.stop()}}),e,this)})),r=function(){var e=this,r=arguments;return new Promise((function(A,n){var i=t.apply(e,r);function a(e){be(i,A,n,a,o,"next",e)}function o(e){be(i,A,n,a,o,"throw",e)}a(void 0)}))},function(e,t,A){return r.apply(this,arguments)})},{key:"getArray",value:function(e,t,r){var A=this._map[e];if(void 0===A&&void 0!==t&&void 0===(A=this._map[t])&&void 0!==r&&(A=this._map[r]),A instanceof Ye&&this.xref&&(A=this.xref.fetch(A,this.suppressEncryption)),Array.isArray(A))for(var n=0,i=(A=A.slice()).length;n<i;n++)A[n]instanceof Ye&&this.xref&&(A[n]=this.xref.fetch(A[n],this.suppressEncryption));return A}},{key:"getRaw",value:function(e){return this._map[e]}},{key:"getKeys",value:function(){return Object.keys(this._map)}},{key:"getRawValues",value:function(){return Object.values(this._map)}},{key:"set",value:function(e,t){this._map[e]=t}},{key:"has",value:function(e){return void 0!==this._map[e]}},{key:"forEach",value:function(e){for(var t in this._map)e(t,this.get(t))}},{key:"clone",value:function(){var t,r=new e(this.xref),A=pe(this.getKeys());try{for(A.s();!(t=A.n()).done;){var n=t.value;r.set(n,this.getRaw(n))}}catch(e){A.e(e)}finally{A.f()}return r}},{key:"delete",value:function(e){delete this._map[e]}}],[{key:"empty",get:function(){var t=new e(null);return t.set=function(e,t){j("Should not call \`set\` on the empty dictionary.")},_(this,"empty",t)}},{key:"merge",value:function(t){var r,A=t.xref,n=t.dictArray,i=t.mergeSubDicts,a=void 0!==i&&i,o=new e(A),s=new Map,c=pe(n);try{for(c.s();!(r=c.n()).done;){var g=r.value;if(g instanceof e)for(var u=0,l=Object.entries(g._map);u<l.length;u++){var h=ye(l[u],2),I=h[0],f=h[1],C=s.get(I);if(void 0===C)C=[],s.set(I,C);else if(!(a&&f instanceof e))continue;C.push(f)}}}catch(e){c.e(e)}finally{c.f()}var B,Q=pe(s);try{for(Q.s();!(B=Q.n()).done;){var E=ye(B.value,2),d=E[0],y=E[1];if(1!==y.length&&y[0]instanceof e){var p,v=new e(A),m=pe(y);try{for(m.s();!(p=m.n()).done;)for(var w=p.value,b=0,k=Object.entries(w._map);b<k.length;b++){var D=ye(k[b],2),S=D[0],F=D[1];void 0===v._map[S]&&(v._map[S]=F)}}catch(e){m.e(e)}finally{m.f()}v.size>0&&(o._map[d]=v)}else o._map[d]=y[0]}}catch(e){Q.e(e)}finally{Q.f()}return s.clear(),o.size>0?o:e.empty}}]);var t,r}(),Ye=function(){function e(t,r){ke(this,e),this.num=t,this.gen=r}return Se(e,[{key:"toString",value:function(){return 0===this.gen?"".concat(this.num,"R"):"".concat(this.num,"R").concat(this.gen)}}],[{key:"fromString",value:function(t){var r=Le[t];if(r)return r;var A=/^(\\d+)R(\\d*)$/.exec(t);return A&&"0"!==A[1]?Le[t]=new e(parseInt(A[1]),A[2]?parseInt(A[2]):0):null}},{key:"get",value:function(t,r){var A,n=0===r?"".concat(t,"R"):"".concat(t,"R").concat(r);return(A=Le)[n]||(A[n]=new e(t,r))}}])}(),Pe=function(){return Se((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;ke(this,e),this._set=new Set(null==t?void 0:t._set)}),[{key:"has",value:function(e){return this._set.has(e.toString())}},{key:"put",value:function(e){this._set.add(e.toString())}},{key:"remove",value:function(e){this._set.delete(e.toString())}},{key:Symbol.iterator,value:function(){return this._set.values()}},{key:"clear",value:function(){this._set.clear()}}])}(),Oe=function(){return Se((function e(){ke(this,e),this._map=new Map}),[{key:"size",get:function(){return this._map.size}},{key:"get",value:function(e){return this._map.get(e.toString())}},{key:"has",value:function(e){return this._map.has(e.toString())}},{key:"put",value:function(e,t){this._map.set(e.toString(),t)}},{key:"putAlias",value:function(e,t){this._map.set(e.toString(),this.get(t))}},{key:Symbol.iterator,value:function(){return this._map.values()}},{key:"clear",value:function(){this._map.clear()}},{key:"items",value:we().mark((function e(){var t,r,A,n,i;return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=pe(this._map),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=9;break}return A=ye(r.value,2),n=A[0],i=A[1],e.next=7,[Ye.fromString(n),i];case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))}])}();function Ke(e,t){return e instanceof Ue&&(void 0===t||e.name===t)}function Te(e,t){return e instanceof Me&&(void 0===t||e.cmd===t)}function qe(e,t){return e instanceof He&&(void 0===t||Ke(e.get("Type"),t))}function je(e,t){return e.num===t.num&&e.gen===t.gen}function We(){We=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function Ze(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function _e(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){Ze(i,A,n,a,o,"next",e)}function o(e){Ze(i,A,n,a,o,"throw",e)}a(void 0)}))}}function Xe(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ve(A.key),A)}}function Ve(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var ze=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"length",get:function(){j("Abstract getter \`length\` accessed")}},{key:"isEmpty",get:function(){j("Abstract getter \`isEmpty\` accessed")}},{key:"isDataLoaded",get:function(){return _(this,"isDataLoaded",!0)}},{key:"getByte",value:function(){j("Abstract method \`getByte\` called")}},{key:"getBytes",value:function(e){j("Abstract method \`getBytes\` called")}},{key:"getImageData",value:(A=_e(We().mark((function e(t,r){return We().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.getBytes(t,r));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t){return A.apply(this,arguments)})},{key:"asyncGetBytes",value:(r=_e(We().mark((function e(){return We().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:j("Abstract method \`asyncGetBytes\` called");case 1:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},{key:"isAsync",get:function(){return!1}},{key:"canAsyncDecodeImageFromBuffer",get:function(){return!1}},{key:"peekByte",value:function(){var e=this.getByte();return-1!==e&&this.pos--,e}},{key:"peekBytes",value:function(e){var t=this.getBytes(e);return this.pos-=t.length,t}},{key:"getUint16",value:function(){var e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t}},{key:"getInt32",value:function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}},{key:"getByteRange",value:function(e,t){j("Abstract method \`getByteRange\` called")}},{key:"getString",value:function(e){return ne(this.getBytes(e))}},{key:"skip",value:function(e){this.pos+=e||1}},{key:"reset",value:function(){j("Abstract method \`reset\` called")}},{key:"moveStart",value:function(){j("Abstract method \`moveStart\` called")}},{key:"makeSubStream",value:function(e,t){j("Abstract method \`makeSubStream\` called")}},{key:"getBaseStreams",value:function(){return null}}],t&&Xe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r,A}();function $e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||At(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(){et=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}var tt=et().mark(Ht);function rt(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=At(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function At(e,t){if(e){if("string"==typeof e)return nt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nt(e,t):void 0}}function nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function it(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,ot(A.key),A)}}function at(e,t,r){return t&&it(e.prototype,t),r&&it(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ot(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function st(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t=ut(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gt()?Reflect.construct(t,r||[],ut(e).constructor):t.apply(e,r))}function gt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gt=function(){return!!e})()}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ut(e)}function lt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ht(e,t)}function ht(e,t){return ht=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ht(e,t)}var It=/^[1-9]\\.\\d$/;function ft(e){var t;return function(){return e&&(t=Object.create(null),e(t),e=null),t}}var Ct=function(e){function t(e,r){var A;return st(this,t),(A=ct(this,t,["Missing data [".concat(e,", ").concat(r,")"),"MissingDataException"])).begin=e,A.end=r,A}return lt(t,X),at(t)}(),Bt=function(e){function t(e){return st(this,t),ct(this,t,[e,"ParserEOFException"])}return lt(t,X),at(t)}(),Qt=function(e){function t(e){return st(this,t),ct(this,t,[e,"XRefEntryException"])}return lt(t,X),at(t)}(),Et=function(e){function t(e){return st(this,t),ct(this,t,[e,"XRefParseException"])}return lt(t,X),at(t)}();function dt(e){var t=e.length;if(0===t)return new Uint8Array(0);if(1===t)return new Uint8Array(e[0]);for(var r=0,A=0;A<t;A++)r+=e[A].byteLength;for(var n=new Uint8Array(r),i=0,a=0;a<t;a++){var o=new Uint8Array(e[a]);n.set(o,i),i+=o.byteLength}return n}function yt(e){for(var t,r=e.dict,A=e.key,n=e.getArray,i=void 0!==n&&n,a=e.stopWhenFound,o=void 0===a||a,s=new Pe;r instanceof He&&(!r.objId||!s.has(r.objId));){r.objId&&s.put(r.objId);var c=i?r.getArray(A):r.get(A);if(void 0!==c){if(o)return c;(t||(t=[])).push(c)}r=r.get("Parent")}return t}var pt=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function vt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];W(Number.isInteger(e)&&e>0,"The number should be a positive integer.");for(var r,A=[];e>=1e3;)e-=1e3,A.push("M");r=e/100|0,e%=100,A.push(pt[r]),r=e/10|0,e%=10,A.push(pt[10+r]),A.push(pt[20+e]);var n=A.join("");return t?n.toLowerCase():n}function mt(e){return e<=0?0:Math.ceil(Math.log2(e))}function wt(e,t){return e[t]<<24>>24}function bt(e,t){return e[t]<<8|e[t+1]}function kt(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function Dt(e){return 32===e||9===e||13===e||10===e}function St(e,t){return Array.isArray(e)?(null===t||e.length===t)&&e.every((function(e){return"number"==typeof e})):ArrayBuffer.isView(e)&&(0===e.length||"number"==typeof e[0])&&(null===t||e.length===t)}function Ft(e,t){return St(e,6)?e:t}function xt(e,t){return St(e,4)?e:t}function Rt(e,t){return St(e,4)?ge.normalizeRect(e):t}function Gt(e){var t=/(.+)\\[(\\d+)\\]$/;return e.split(".").map((function(e){var r=e.match(t);return r?{name:r[1],pos:parseInt(r[2],10)}:{name:e,pos:0}}))}function Nt(e){for(var t=[],r=0,A=0,n=e.length;A<n;A++){var i=e.charCodeAt(A);(i<33||i>126||35===i||40===i||41===i||60===i||62===i||91===i||93===i||123===i||125===i||47===i||37===i)&&(r<A&&t.push(e.substring(r,A)),t.push("#".concat(i.toString(16))),r=A+1)}return 0===t.length?e:(r<e.length&&t.push(e.substring(r,e.length)),t.join(""))}function Lt(e){return e.replaceAll(/([()\\\\\\n\\r])/g,(function(e){return"\\n"===e?"\\\\n":"\\r"===e?"\\\\r":"\\\\".concat(e)}))}function Ut(e,t,r,A){if(e){var n=null;if(e instanceof Ye){if(A.has(e))return;n=e,A.put(n),e=t.fetch(e)}if(Array.isArray(e)){var i,a=rt(e);try{for(a.s();!(i=a.n()).done;)Ut(i.value,t,r,A)}catch(e){a.e(e)}finally{a.f()}}else if(e instanceof He){if(Ke(e.get("S"),"JavaScript")){var o,s=e.get("JS");s instanceof ze?o=s.getString():"string"==typeof s&&(o=s),o&&(o=Ie(o).replaceAll("\\0","")),o&&r.push(o)}Ut(e.getRaw("Next"),t,r,A)}n&&A.remove(n)}}function Mt(e,t,r){var A=Object.create(null),n=yt({dict:t,key:"AA",stopWhenFound:!1});if(n)for(var i=n.length-1;i>=0;i--){var a=n[i];if(a instanceof He){var o,s=rt(a.getKeys());try{for(s.s();!(o=s.n()).done;){var c=o.value,g=r[c];if(g){var u=a.getRaw(c),l=new Pe,h=[];Ut(u,e,h,l),h.length>0&&(A[g]=h)}}}catch(e){s.e(e)}finally{s.f()}}}if(t.has("A")){var I=[];Ut(t.get("A"),e,I,new Pe),I.length>0&&(A.Action=I)}return oe(A)>0?A:null}var Jt={60:"&lt;",62:"&gt;",38:"&amp;",34:"&quot;",39:"&apos;"};function Ht(e){var t,r,A;return et().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=0,r=e.length;case 1:if(!(t<r)){n.next=9;break}return(A=e.codePointAt(t))>55295&&(A<57344||A>65533)&&t++,n.next=6,A;case 6:t++,n.next=1;break;case 9:case"end":return n.stop()}}),tt)}function Yt(e){for(var t=[],r=0,A=0,n=e.length;A<n;A++){var i=e.codePointAt(A);if(32<=i&&i<=126){var a=Jt[i];a&&(r<A&&t.push(e.substring(r,A)),t.push(a),r=A+1)}else r<A&&t.push(e.substring(r,A)),t.push("&#x".concat(i.toString(16).toUpperCase(),";")),i>55295&&(i<57344||i>65533)&&A++,r=A+1}return 0===t.length?e:(r<e.length&&t.push(e.substring(r,e.length)),t.join(""))}function Pt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=/^("|').*("|')$/.exec(e);if(r&&r[1]===r[2]){if(new RegExp("[^\\\\\\\\]".concat(r[1])).test(e.slice(1,-1)))return t&&q("FontFamily contains unescaped ".concat(r[1],": ").concat(e,".")),!1}else{var A,n=rt(e.split(/[ \\t]+/));try{for(n.s();!(A=n.n()).done;){var i=A.value;if(/^(\\d|(-(\\d|-)))/.test(i)||!/^[\\w-\\\\]+$/.test(i))return t&&q("FontFamily contains invalid <custom-ident>: ".concat(e,".")),!1}}catch(e){n.e(e)}finally{n.f()}}return!0}function Ot(e){var t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),r=e.fontFamily,A=e.fontWeight,n=e.italicAngle;if(!Pt(r,!0))return!1;var i=A?A.toString():"";e.fontWeight=t.has(i)?i:"400";var a=parseFloat(n);return e.italicAngle=isNaN(a)||a<-90||a>90?"14":n.toString(),!0}function Kt(e){var t=new RegExp("^\\\\s*("+["app.launchURL","window.open","xfa.host.gotoURL"].join("|").replaceAll(".","\\\\.")+")\\\\((?:'|\\")([^'\\"]*)(?:'|\\")(?:,\\\\s*(\\\\w+)\\\\)|\\\\))","i").exec(e);if(null!=t&&t[2]){var r=t[2],A=!1;return"true"===t[3]&&"app.launchURL"===t[1]&&(A=!0),{url:r,newWindow:A}}return null}function Tt(e){if(Number.isInteger(e))return e.toString();var t=Math.round(100*e);return t%100==0?(t/100).toString():t%10==0?e.toFixed(1):e.toFixed(2)}function qt(e){if(!e)return null;var t,r=new Map,A=rt(e);try{for(A.s();!(t=A.n()).done;){var n=$e(t.value,2),i=n[0],a=n[1];if(i.startsWith(d)){var o=r.get(a.pageIndex);o||(o=[],r.set(a.pageIndex,o)),o.push(a)}}}catch(e){A.e(e)}finally{A.f()}return r.size>0?r:null}function jt(e){return function(e){return/^[\\x00-\\x7F]*$/.test(e)}(e)?e:Zt(e,!0)}function Wt(e){for(var t=[],r=0,A=e.length;r<A;r++){var n=e.charCodeAt(r);t.push((n>>8&255).toString(16).padStart(2,"0"),(255&n).toString(16).padStart(2,"0"))}return t.join("")}function Zt(e){var t=[];arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&t.push("þÿ");for(var r=0,A=e.length;r<A;r++){var n=e.charCodeAt(r);t.push(String.fromCharCode(n>>8&255),String.fromCharCode(255&n))}return t.join("")}function _t(e,t,r){switch(e){case 90:return[0,1,-1,0,t,0];case 180:return[-1,0,0,-1,t,r];case 270:return[0,-1,1,0,0,r];default:throw new Error("Invalid rotation")}}function Xt(e){return Math.ceil(Math.ceil(Math.log2(1+e))/8)}function Vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zt(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,er(A.key),A)}}function $t(e,t,r){return t&&zt(e.prototype,t),r&&zt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function er(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function tr(e,t,r){return t=Ar(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,rr()?Reflect.construct(t,r||[],Ar(e).constructor):t.apply(e,r))}function rr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(rr=function(){return!!e})()}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ar(e)}function nr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ir(e,t)}function ir(e,t){return ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ir(e,t)}r(7710);var ar=function(e){function t(e,r,A,n){var i;return Vt(this,t),(i=tr(this,t)).bytes=e instanceof Uint8Array?e:new Uint8Array(e),i.start=r||0,i.pos=i.start,i.end=r+A||i.bytes.length,i.dict=n,i}return nr(t,ze),$t(t,[{key:"length",get:function(){return this.end-this.start}},{key:"isEmpty",get:function(){return 0===this.length}},{key:"getByte",value:function(){return this.pos>=this.end?-1:this.bytes[this.pos++]}},{key:"getBytes",value:function(e){var t=this.bytes,r=this.pos,A=this.end;if(!e)return t.subarray(r,A);var n=r+e;return n>A&&(n=A),this.pos=n,t.subarray(r,n)}},{key:"getByteRange",value:function(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),this.bytes.subarray(e,t)}},{key:"reset",value:function(){this.pos=this.start}},{key:"moveStart",value:function(){this.start=this.pos}},{key:"makeSubStream",value:function(e,r){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new t(this.bytes.buffer,e,r,A)}}])}(),or=function(e){function t(e){return Vt(this,t),tr(this,t,[ie(e)])}return nr(t,ar),$t(t)}(),sr=function(e){function t(){return Vt(this,t),tr(this,t,[new Uint8Array(0)])}return nr(t,ar),$t(t)}();function cr(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return gr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function gr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function ur(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ir(A.key),A)}}function hr(e,t,r){return t&&lr(e.prototype,t),r&&lr(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ir(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function fr(e,t,r){return t=Br(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Cr()?Reflect.construct(t,r||[],Br(e).constructor):t.apply(e,r))}function Cr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cr=function(){return!!e})()}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Br(e)}function Qr(e,t){return Qr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qr(e,t)}var Er=function(e){function t(e,r,A){var n;return ur(this,t),(n=fr(this,t,[new Uint8Array(e),0,e,null])).chunkSize=r,n._loadedChunks=new Set,n.numChunks=Math.ceil(e/r),n.manager=A,n.progressiveDataLength=0,n.lastSuccessfulEnsureByteChunk=-1,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qr(e,t)}(t,ar),hr(t,[{key:"getMissingChunks",value:function(){for(var e=[],t=0,r=this.numChunks;t<r;++t)this._loadedChunks.has(t)||e.push(t);return e}},{key:"numChunksLoaded",get:function(){return this._loadedChunks.size}},{key:"isDataLoaded",get:function(){return this.numChunksLoaded===this.numChunks}},{key:"onReceiveData",value:function(e,t){var r=this.chunkSize;if(e%r!=0)throw new Error("Bad begin offset: ".concat(e));var A=e+t.byteLength;if(A%r!=0&&A!==this.bytes.length)throw new Error("Bad end offset: ".concat(A));this.bytes.set(new Uint8Array(t),e);for(var n=Math.floor(e/r),i=Math.floor((A-1)/r)+1,a=n;a<i;++a)this._loadedChunks.add(a)}},{key:"onReceiveProgressiveData",value:function(e){var t=this.progressiveDataLength,r=Math.floor(t/this.chunkSize);this.bytes.set(new Uint8Array(e),t),t+=e.byteLength,this.progressiveDataLength=t;for(var A=t>=this.end?this.numChunks:Math.floor(t/this.chunkSize),n=r;n<A;++n)this._loadedChunks.add(n)}},{key:"ensureByte",value:function(e){if(!(e<this.progressiveDataLength)){var t=Math.floor(e/this.chunkSize);if(!(t>this.numChunks)&&t!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(t))throw new Ct(e,e+1);this.lastSuccessfulEnsureByteChunk=t}}}},{key:"ensureRange",value:function(e,t){if(!(e>=t||t<=this.progressiveDataLength)){var r=Math.floor(e/this.chunkSize);if(!(r>this.numChunks))for(var A=Math.min(Math.floor((t-1)/this.chunkSize)+1,this.numChunks),n=r;n<A;++n)if(!this._loadedChunks.has(n))throw new Ct(e,t)}}},{key:"nextEmptyChunk",value:function(e){for(var t=this.numChunks,r=0;r<t;++r){var A=(e+r)%t;if(!this._loadedChunks.has(A))return A}return null}},{key:"hasChunk",value:function(e){return this._loadedChunks.has(e)}},{key:"getByte",value:function(){var e=this.pos;return e>=this.end?-1:(e>=this.progressiveDataLength&&this.ensureByte(e),this.bytes[this.pos++])}},{key:"getBytes",value:function(e){var t=this.bytes,r=this.pos,A=this.end;if(!e)return A>this.progressiveDataLength&&this.ensureRange(r,A),t.subarray(r,A);var n=r+e;return n>A&&(n=A),n>this.progressiveDataLength&&this.ensureRange(r,n),this.pos=n,t.subarray(r,n)}},{key:"getByteRange",value:function(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),t>this.progressiveDataLength&&this.ensureRange(e,t),this.bytes.subarray(e,t)}},{key:"makeSubStream",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;function A(){}t?e+t>this.progressiveDataLength&&this.ensureRange(e,e+t):e>=this.progressiveDataLength&&this.ensureByte(e),A.prototype=Object.create(this),A.prototype.getMissingChunks=function(){for(var e=this.chunkSize,t=Math.floor(this.start/e),r=Math.floor((this.end-1)/e)+1,A=[],n=t;n<r;++n)this._loadedChunks.has(n)||A.push(n);return A},Object.defineProperty(A.prototype,"isDataLoaded",{get(){return this.numChunksLoaded===this.numChunks||0===this.getMissingChunks().length},configurable:!0});var n=new A;return n.pos=n.start=e,n.end=e+t||this.end,n.dict=r,n}},{key:"getBaseStreams",value:function(){return[this]}}])}(),dr=function(){return hr((function e(t,r){ur(this,e),this.length=r.length,this.chunkSize=r.rangeChunkSize,this.stream=new Er(this.length,this.chunkSize,this),this.pdfNetworkStream=t,this.disableAutoFetch=r.disableAutoFetch,this.msgHandler=r.msgHandler,this.currRequestId=0,this._chunksNeededByRequest=new Map,this._requestsByChunk=new Map,this._promisesByRequest=new Map,this.progressiveDataLength=0,this.aborted=!1,this._loadedStreamCapability=Promise.withResolvers()}),[{key:"sendRequest",value:function(e,t){var r=this,A=this.pdfNetworkStream.getRangeReader(e,t);A.isStreamingSupported||(A.onProgress=this.onProgress.bind(this));var n=[],i=0;return new Promise((function(e,t){var a=function(o){var s=o.value,c=o.done;try{if(c){var g=dt(n);return n=null,void e(g)}i+=s.byteLength,A.isStreamingSupported&&r.onProgress({loaded:i}),n.push(s),A.read().then(a,t)}catch(e){t(e)}};A.read().then(a,t)})).then((function(t){r.aborted||r.onReceiveData({chunk:t,begin:e})}))}},{key:"requestAllChunks",value:function(){if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])){var e=this.stream.getMissingChunks();this._requestChunks(e)}return this._loadedStreamCapability.promise}},{key:"_requestChunks",value:function(e){var t=this,r=this.currRequestId++,A=new Set;this._chunksNeededByRequest.set(r,A);var n,i=cr(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;this.stream.hasChunk(a)||A.add(a)}}catch(e){i.e(e)}finally{i.f()}if(0===A.size)return Promise.resolve();var o=Promise.withResolvers();this._promisesByRequest.set(r,o);var s,c=[],g=cr(A);try{for(g.s();!(s=g.n()).done;){var u=s.value,l=this._requestsByChunk.get(u);l||(l=[],this._requestsByChunk.set(u,l),c.push(u)),l.push(r)}}catch(e){g.e(e)}finally{g.f()}if(c.length>0){var h,I=cr(this.groupChunks(c));try{for(I.s();!(h=I.n()).done;){var f=h.value,C=f.beginChunk*this.chunkSize,B=Math.min(f.endChunk*this.chunkSize,this.length);this.sendRequest(C,B).catch(o.reject)}}catch(e){I.e(e)}finally{I.f()}}return o.promise.catch((function(e){if(!t.aborted)throw e}))}},{key:"getStream",value:function(){return this.stream}},{key:"requestRange",value:function(e,t){t=Math.min(t,this.length);for(var r=this.getBeginChunk(e),A=this.getEndChunk(t),n=[],i=r;i<A;++i)n.push(i);return this._requestChunks(n)}},{key:"requestRanges",value:function(){var e,t=[],r=cr(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]);try{for(r.s();!(e=r.n()).done;)for(var A=e.value,n=this.getBeginChunk(A.begin),i=this.getEndChunk(A.end),a=n;a<i;++a)t.includes(a)||t.push(a)}catch(e){r.e(e)}finally{r.f()}return t.sort((function(e,t){return e-t})),this._requestChunks(t)}},{key:"groupChunks",value:function(e){for(var t=[],r=-1,A=-1,n=0,i=e.length;n<i;++n){var a=e[n];r<0&&(r=a),A>=0&&A+1!==a&&(t.push({beginChunk:r,endChunk:A+1}),r=a),n+1===e.length&&t.push({beginChunk:r,endChunk:a+1}),A=a}return t}},{key:"onProgress",value:function(e){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+e.loaded,total:this.length})}},{key:"onReceiveData",value:function(e){var t=e.chunk,r=void 0===e.begin,A=r?this.progressiveDataLength:e.begin,n=A+t.byteLength,i=Math.floor(A/this.chunkSize),a=n<this.length?Math.floor(n/this.chunkSize):Math.ceil(n/this.chunkSize);r?(this.stream.onReceiveProgressiveData(t),this.progressiveDataLength=n):this.stream.onReceiveData(A,t),this.stream.isDataLoaded&&this._loadedStreamCapability.resolve(this.stream);for(var o=[],s=i;s<a;++s){var c=this._requestsByChunk.get(s);if(c){this._requestsByChunk.delete(s);var g,u=cr(c);try{for(u.s();!(g=u.n()).done;){var l=g.value,h=this._chunksNeededByRequest.get(l);h.has(s)&&h.delete(s),h.size>0||o.push(l)}}catch(e){u.e(e)}finally{u.f()}}}if(!this.disableAutoFetch&&0===this._requestsByChunk.size){var I;if(1===this.stream.numChunksLoaded){var f=this.stream.numChunks-1;this.stream.hasChunk(f)||(I=f)}else I=this.stream.nextEmptyChunk(a);Number.isInteger(I)&&this._requestChunks([I])}for(var C=0,B=o;C<B.length;C++){var Q=B[C],E=this._promisesByRequest.get(Q);this._promisesByRequest.delete(Q),E.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}},{key:"onError",value:function(e){this._loadedStreamCapability.reject(e)}},{key:"getBeginChunk",value:function(e){return Math.floor(e/this.chunkSize)}},{key:"getEndChunk",value:function(e){return Math.floor((e-1)/this.chunkSize)+1}},{key:"abort",value:function(e){var t;this.aborted=!0,null===(t=this.pdfNetworkStream)||void 0===t||t.cancelAllRequests(e);var r,A=cr(this._promisesByRequest.values());try{for(A.s();!(r=A.n()).done;)r.value.reject(e)}catch(e){A.e(e)}finally{A.f()}}}])}();function yr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return pr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function vr(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function mr(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function wr(e,t,r){return t=kr(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,br()?Reflect.construct(t,r||[],kr(e).constructor):t.apply(e,r))}function br(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(br=function(){return!!e})()}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kr(e)}function Dr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sr(e,t)}function Sr(e,t){return Sr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sr(e,t)}function Fr(){Fr=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function xr(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function Rr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Lr(A.key),A)}}function Nr(e,t,r){return t&&Gr(e.prototype,t),r&&Gr(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lr(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}r(6347),r(456),r(122),r(8653),r(7121),r(8856),r(8408),r(8937),r(7288),r(176),r(7879),r(98),r(4306),r(4262),r(2569),r(8492),r(4865),r(8075),r(3821),r(3034);var Ur=function(){function e(t,r){Rr(this,e),this.name=t,this.numComps=r}return Nr(e,[{key:"getRgb",value:function(e,t){var r=new Uint8ClampedArray(3);return this.getRgbItem(e,t,r,0),r}},{key:"getRgbItem",value:function(e,t,r,A){j("Should not call ColorSpace.getRgbItem")}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){j("Should not call ColorSpace.getRgbBuffer")}},{key:"getOutputLength",value:function(e,t){j("Should not call ColorSpace.getOutputLength")}},{key:"isPassthrough",value:function(e){return!1}},{key:"isDefaultDecode",value:function(t,r){return e.isDefaultDecode(t,this.numComps)}},{key:"fillRgb",value:function(e,t,r,A,n,i,a,o,s){var c=t*r,g=null,u=1<<a,l=r!==n||t!==A;if(this.isPassthrough(a))g=o;else if(1===this.numComps&&c>u&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){for(var h=a<=8?new Uint8Array(u):new Uint16Array(u),I=0;I<u;I++)h[I]=I;var f=new Uint8ClampedArray(3*u);if(this.getRgbBuffer(h,0,u,f,0,a,0),l){g=new Uint8Array(3*c);for(var C=0,B=0;B<c;++B){var Q=3*o[B];g[C++]=f[Q],g[C++]=f[Q+1],g[C++]=f[Q+2]}}else for(var E=0,d=0;d<c;++d){var y=3*o[d];e[E++]=f[y],e[E++]=f[y+1],e[E++]=f[y+2],E+=s}}else l?(g=new Uint8ClampedArray(3*c),this.getRgbBuffer(o,0,c,g,0,a,0)):this.getRgbBuffer(o,0,A*i,e,0,a,s);if(g)if(l)!function(e,t,r,A,n,i,a){a=1!==a?0:a;for(var o,s=r/n,c=A/i,g=0,u=new Uint16Array(n),l=3*r,h=0;h<n;h++)u[h]=3*Math.floor(h*s);for(var I=0;I<i;I++)for(var f=Math.floor(I*c)*l,C=0;C<n;C++)o=f+u[C],t[g++]=e[o++],t[g++]=e[o++],t[g++]=e[o++],g+=a}(g,e,t,r,A,n,s);else for(var p=0,v=0,m=0,w=A*i;m<w;m++)e[p++]=g[v++],e[p++]=g[v++],e[p++]=g[v++],p+=s}},{key:"usesZeroToOneRange",get:function(){return _(this,"usesZeroToOneRange",!0)}}],[{key:"_cache",value:function(e,t,r,A){if(!r)throw new Error('ColorSpace._cache - expected "localColorSpaceCache" argument.');if(!A)throw new Error('ColorSpace._cache - expected "parsedColorSpace" argument.');var n,i;e instanceof Ye&&(i=e,e=t.fetch(e)),e instanceof Ue&&(n=e.name),(n||i)&&r.set(n,i,A)}},{key:"getCached",value:function(e,t,r){if(!r)throw new Error('ColorSpace.getCached - expected "localColorSpaceCache" argument.');if(e instanceof Ye){var A=r.getByRef(e);if(A)return A;try{e=t.fetch(e)}catch(e){if(e instanceof Ct)throw e}}if(e instanceof Ue){var n=r.getByName(e.name);if(n)return n}return null}},{key:"parseAsync",value:(t=Fr().mark((function e(t){var r,A,n,i,a,o,s;return Fr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.cs,A=t.xref,n=t.resources,i=void 0===n?null:n,a=t.pdfFunctionFactory,o=t.localColorSpaceCache,s=this._parse(r,A,i,a),this._cache(r,A,o,s),e.abrupt("return",s);case 4:case"end":return e.stop()}}),e,this)})),r=function(){var e=this,r=arguments;return new Promise((function(A,n){var i=t.apply(e,r);function a(e){xr(i,A,n,a,o,"next",e)}function o(e){xr(i,A,n,a,o,"throw",e)}a(void 0)}))},function(e){return r.apply(this,arguments)})},{key:"parse",value:function(e){var t=e.cs,r=e.xref,A=e.resources,n=void 0===A?null:A,i=e.pdfFunctionFactory,a=e.localColorSpaceCache,o=this.getCached(t,r,a);if(o)return o;var s=this._parse(t,r,n,i);return this._cache(t,r,a,s),s}},{key:"_parse",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,A=arguments.length>3?arguments[3]:void 0;if((e=t.fetchIfRef(e))instanceof Ue)switch(e.name){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"DeviceRGBA":return this.singletons.rgba;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"Pattern":return new Jr(null);default:if(r instanceof He){var n=r.get("ColorSpace");if(n instanceof He){var i=n.get(e.name);if(i){if(i instanceof Ue)return this._parse(i,t,r,A);e=i;break}}}return q("Unrecognized ColorSpace: ".concat(e.name)),this.singletons.gray}if(Array.isArray(e)){var a,o,s,c,g,u,l=t.fetchIfRef(e[0]).name;switch(l){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"CalGray":return c=(a=t.fetchIfRef(e[1])).getArray("WhitePoint"),g=a.getArray("BlackPoint"),u=a.get("Gamma"),new Wr(c,g,u);case"CalRGB":c=(a=t.fetchIfRef(e[1])).getArray("WhitePoint"),g=a.getArray("BlackPoint"),u=a.getArray("Gamma");var h=a.getArray("Matrix");return new Xr(c,g,u,h);case"ICCBased":var I=t.fetchIfRef(e[1]).dict;o=I.get("N");var f=I.get("Alternate");if(f){var C=this._parse(f,t,r,A);if(C.numComps===o)return C;q("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===o)return this.singletons.gray;if(3===o)return this.singletons.rgb;if(4===o)return this.singletons.cmyk;break;case"Pattern":return(s=e[1]||null)&&(s=this._parse(s,t,r,A)),new Jr(s);case"I":case"Indexed":s=this._parse(e[1],t,r,A);var B=t.fetchIfRef(e[2])+1,Q=t.fetchIfRef(e[3]);return new Hr(s,B,Q);case"Separation":case"DeviceN":var E=t.fetchIfRef(e[1]);o=Array.isArray(E)?E.length:1,s=this._parse(e[2],t,r,A);var d=A.create(e[3]);return new Mr(o,s,d);case"Lab":c=(a=t.fetchIfRef(e[1])).getArray("WhitePoint"),g=a.getArray("BlackPoint");var y=a.getArray("Range");return new CA(c,g,y);default:return q("Unimplemented ColorSpace object: ".concat(l)),this.singletons.gray}}return q("Unrecognized ColorSpace object: ".concat(e)),this.singletons.gray}},{key:"isDefaultDecode",value:function(e,t){if(!Array.isArray(e))return!0;if(2*t!==e.length)return q("The decode map is not the correct length"),!0;for(var r=0,A=e.length;r<A;r+=2)if(0!==e[r]||1!==e[r+1])return!1;return!0}},{key:"singletons",get:function(){return _(this,"singletons",{get gray(){return _(this,"gray",new Yr)},get rgb(){return _(this,"rgb",new Pr)},get rgba(){return _(this,"rgba",new Or)},get cmyk(){return _(this,"cmyk",new Tr)}})}}]);var t,r}(),Mr=function(e){function t(e,r,A){var n;return Rr(this,t),(n=wr(this,t,["Alternate",e])).base=r,n.tintFn=A,n.tmpBuf=new Float32Array(r.numComps),n}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){var n=this.tmpBuf;this.tintFn(e,t,n,0),this.base.getRgbItem(n,0,r,A)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){var o,s,c=this.tintFn,g=this.base,u=1/((1<<i)-1),l=g.numComps,h=g.usesZeroToOneRange,I=(g.isPassthrough(8)||!h)&&0===a,f=I?n:0,C=I?A:new Uint8ClampedArray(l*r),B=this.numComps,Q=new Float32Array(B),E=new Float32Array(l);for(o=0;o<r;o++){for(s=0;s<B;s++)Q[s]=e[t++]*u;if(c(Q,0,E,0),h)for(s=0;s<l;s++)C[f++]=255*E[s];else g.getRgbItem(E,0,C,f),f+=l}I||g.getRgbBuffer(C,0,r,A,n,8,a)}},{key:"getOutputLength",value:function(e,t){return this.base.getOutputLength(e*this.base.numComps/this.numComps,t)}}])}(),Jr=function(e){function t(e){var r;return Rr(this,t),(r=wr(this,t,["Pattern",null])).base=e,r}return Dr(t,Ur),Nr(t,[{key:"isDefaultDecode",value:function(e,t){j("Should not call PatternCS.isDefaultDecode")}}])}(),Hr=function(e){function t(e,r,A){var n;Rr(this,t),(n=wr(this,t,["Indexed",1])).base=e,n.highVal=r;var i=e.numComps*r;if(n.lookup=new Uint8Array(i),A instanceof ze){var a=A.getBytes(i);n.lookup.set(a)}else{if("string"!=typeof A)throw new re("IndexedCS - unrecognized lookup table: ".concat(A));for(var o=0;o<i;++o)n.lookup[o]=255&A.charCodeAt(o)}return n}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){var n=this.base.numComps,i=e[t]*n;this.base.getRgbBuffer(this.lookup,i,1,r,A,8,0)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=this.base,s=o.numComps,c=o.getOutputLength(s,a),g=this.lookup,u=0;u<r;++u){var l=e[t++]*s;o.getRgbBuffer(g,l,1,A,n,8,a),n+=c}}},{key:"getOutputLength",value:function(e,t){return this.base.getOutputLength(e*this.base.numComps,t)}},{key:"isDefaultDecode",value:function(e,t){return!Array.isArray(e)||(2!==e.length?(q("Decode map length is not correct"),!0):!Number.isInteger(t)||t<1?(q("Bits per component is not correct"),!0):0===e[0]&&e[1]===(1<<t)-1)}}])}(),Yr=function(e){function t(){return Rr(this,t),wr(this,t,["DeviceGray",1])}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){var n=255*e[t];r[A]=r[A+1]=r[A+2]=n}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=255/((1<<i)-1),s=t,c=n,g=0;g<r;++g){var u=o*e[s++];A[c++]=u,A[c++]=u,A[c++]=u,c+=a}}},{key:"getOutputLength",value:function(e,t){return e*(3+t)}}])}(),Pr=function(e){function t(){return Rr(this,t),wr(this,t,["DeviceRGB",3])}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){r[A]=255*e[t],r[A+1]=255*e[t+1],r[A+2]=255*e[t+2]}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){if(8!==i||0!==a)for(var o=255/((1<<i)-1),s=t,c=n,g=0;g<r;++g)A[c++]=o*e[s++],A[c++]=o*e[s++],A[c++]=o*e[s++],c+=a;else A.set(e.subarray(t,t+3*r),n)}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}},{key:"isPassthrough",value:function(e){return 8===e}}])}(),Or=function(e){function t(){return Rr(this,t),wr(this,t,["DeviceRGBA",4])}return Dr(t,Ur),Nr(t,[{key:"getOutputLength",value:function(e,t){return 4*e}},{key:"isPassthrough",value:function(e){return 8===e}}])}(),Kr=new WeakSet,Tr=function(e){function t(){var e;return Rr(this,t),vr(e=wr(this,t,["DeviceCMYK",4]),Kr),e}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){mr(Kr,this,qr).call(this,e,t,1,r,A)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=1/((1<<i)-1),s=0;s<r;s++)mr(Kr,this,qr).call(this,e,t,o,A,n),t+=4,n+=3+a}},{key:"getOutputLength",value:function(e,t){return e/4*(3+t)|0}}])}();function qr(e,t,r,A,n){var i=e[t]*r,a=e[t+1]*r,o=e[t+2]*r,s=e[t+3]*r;A[n]=255+i*(-4.387332384609988*i+54.48615194189176*a+18.82290502165302*o+212.25662451639585*s-285.2331026137004)+a*(1.7149763477362134*a-5.6096736904047315*o+-17.873870861415444*s-5.497006427196366)+o*(-2.5217340131683033*o-21.248923337353073*s+17.5119270841813)+s*(-21.86122147463605*s-189.48180835922747),A[n+1]=255+i*(8.841041422036149*i+60.118027045597366*a+6.871425592049007*o+31.159100130055922*s-79.2970844816548)+a*(-15.310361306967817*a+17.575251261109482*o+131.35250912493976*s-190.9453302588951)+o*(4.444339102852739*o+9.8632861493405*s-24.86741582555878)+s*(-20.737325471181034*s-187.80453709719578),A[n+2]=255+i*(.8842522430003296*i+8.078677503112928*a+30.89978309703729*o-.23883238689178934*s-14.183576799673286)+a*(10.49593273432072*a+63.02378494754052*o+50.606957656360734*s-112.23884253719248)+o*(.03296041114873217*o+115.60384449646641*s-193.58209356861505)+s*(-22.33816807309886*s-180.12613974708367)}var jr=new WeakSet,Wr=function(e){function t(e,r,A){var n;if(Rr(this,t),vr(n=wr(this,t,["CalGray",1]),jr),!e)throw new re("WhitePoint missing - required for color space CalGray");var i=yr(e,3);n.XW=i[0],n.YW=i[1],n.ZW=i[2];var a=yr(r||[0,0,0],3);if(n.XB=a[0],n.YB=a[1],n.ZB=a[2],n.G=A||1,n.XW<0||n.ZW<0||1!==n.YW)throw new re("Invalid WhitePoint components for ".concat(n.name,", no fallback available"));return(n.XB<0||n.YB<0||n.ZB<0)&&(T("Invalid BlackPoint for ".concat(n.name,", falling back to default.")),n.XB=n.YB=n.ZB=0),0===n.XB&&0===n.YB&&0===n.ZB||q("".concat(n.name,", BlackPoint: XB: ").concat(n.XB,", YB: ").concat(n.YB,", ")+"ZB: ".concat(n.ZB,", only default values are supported.")),n.G<1&&(T("Invalid Gamma: ".concat(n.G," for ").concat(n.name,", falling back to default.")),n.G=1),n}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){mr(jr,this,Zr).call(this,e,t,r,A,1)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=1/((1<<i)-1),s=0;s<r;++s)mr(jr,this,Zr).call(this,e,t,A,n,o),t+=1,n+=3+a}},{key:"getOutputLength",value:function(e,t){return e*(3+t)}}])}();function Zr(e,t,r,A,n){var i=e[t]*n,a=Math.pow(i,this.G),o=this.YW*a,s=Math.max(295.8*Math.pow(o,.3333333333333333)-40.8,0);r[A]=s,r[A+1]=s,r[A+2]=s}var _r=new WeakSet,Xr=function(e){function t(e,r,A,n){var i;if(Rr(this,t),vr(i=wr(this,t,["CalRGB",3]),_r),!e)throw new re("WhitePoint missing - required for color space CalRGB");var a=yr(i.whitePoint=e,3),o=a[0],s=a[1],c=a[2],g=yr(i.blackPoint=r||new Float32Array(3),3),u=g[0],l=g[1],h=g[2],I=yr(A||new Float32Array([1,1,1]),3);i.GR=I[0],i.GG=I[1],i.GB=I[2];var f=yr(n||new Float32Array([1,0,0,0,1,0,0,0,1]),9);if(i.MXA=f[0],i.MYA=f[1],i.MZA=f[2],i.MXB=f[3],i.MYB=f[4],i.MZB=f[5],i.MXC=f[6],i.MYC=f[7],i.MZC=f[8],o<0||c<0||1!==s)throw new re("Invalid WhitePoint components for ".concat(i.name,", no fallback available"));return(u<0||l<0||h<0)&&(T("Invalid BlackPoint for ".concat(i.name," [").concat(u,", ").concat(l,", ").concat(h,"], ")+"falling back to default."),i.blackPoint=new Float32Array(3)),(i.GR<0||i.GG<0||i.GB<0)&&(T("Invalid Gamma [".concat(i.GR,", ").concat(i.GG,", ").concat(i.GB,"] for ")+"".concat(i.name,", falling back to default.")),i.GR=i.GG=i.GB=1),i}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){mr(_r,this,aA).call(this,e,t,r,A,1)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=1/((1<<i)-1),s=0;s<r;++s)mr(_r,this,aA).call(this,e,t,A,n,o),t+=3,n+=3+a}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}}])}();function Vr(e,t,r){r[0]=e[0]*t[0]+e[1]*t[1]+e[2]*t[2],r[1]=e[3]*t[0]+e[4]*t[1]+e[5]*t[2],r[2]=e[6]*t[0]+e[7]*t[1]+e[8]*t[2]}function zr(e,t,r){r[0]=1*t[0]/e[0],r[1]=1*t[1]/e[1],r[2]=1*t[2]/e[2]}function $r(e,t,r){r[0]=.95047*t[0]/e[0],r[1]=1*t[1]/e[1],r[2]=1.08883*t[2]/e[2]}function eA(e){return e<=.0031308?mr(_r,this,tA).call(this,0,1,12.92*e):e>=.99554525?1:mr(_r,this,tA).call(this,0,1,1.055*Math.pow(e,1/2.4)-.055)}function tA(e,t,r){return Math.max(e,Math.min(t,r))}function rA(e){return e<0?-mr(_r,this,rA).call(this,-e):e>8?Math.pow((e+16)/116,3):e*IA._}function AA(e,t,r){if(0===e[0]&&0===e[1]&&0===e[2])return r[0]=t[0],r[1]=t[1],void(r[2]=t[2]);var A=mr(_r,this,rA).call(this,0),n=(1-A)/(1-mr(_r,this,rA).call(this,e[0])),i=1-n,a=(1-A)/(1-mr(_r,this,rA).call(this,e[1])),o=1-a,s=(1-A)/(1-mr(_r,this,rA).call(this,e[2])),c=1-s;r[0]=t[0]*n+i,r[1]=t[1]*a+o,r[2]=t[2]*s+c}function nA(e,t,r){if(1===e[0]&&1===e[2])return r[0]=t[0],r[1]=t[1],void(r[2]=t[2]);var A=r;mr(_r,this,Vr).call(this,oA._,t,A);var n=uA._;mr(_r,this,zr).call(this,e,A,n),mr(_r,this,Vr).call(this,sA._,n,r)}function iA(e,t,r){var A=r;mr(_r,this,Vr).call(this,oA._,t,A);var n=uA._;mr(_r,this,$r).call(this,e,A,n),mr(_r,this,Vr).call(this,sA._,n,r)}function aA(e,t,r,A,n){var i=mr(_r,this,tA).call(this,0,1,e[t]*n),a=mr(_r,this,tA).call(this,0,1,e[t+1]*n),o=mr(_r,this,tA).call(this,0,1,e[t+2]*n),s=1===i?1:Math.pow(i,this.GR),c=1===a?1:Math.pow(a,this.GG),g=1===o?1:Math.pow(o,this.GB),u=this.MXA*s+this.MXB*c+this.MXC*g,l=this.MYA*s+this.MYB*c+this.MYC*g,h=this.MZA*s+this.MZB*c+this.MZC*g,I=lA._;I[0]=u,I[1]=l,I[2]=h;var f=hA._;mr(_r,this,nA).call(this,this.whitePoint,I,f);var C=lA._;mr(_r,this,AA).call(this,this.blackPoint,f,C);var B=hA._;mr(_r,this,iA).call(this,gA._,C,B);var Q=lA._;mr(_r,this,Vr).call(this,cA._,B,Q),r[A]=255*mr(_r,this,eA).call(this,Q[0]),r[A+1]=255*mr(_r,this,eA).call(this,Q[1]),r[A+2]=255*mr(_r,this,eA).call(this,Q[2])}var oA={_:new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296])},sA={_:new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867])},cA={_:new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252])},gA={_:new Float32Array([1,1,1])},uA={_:new Float32Array(3)},lA={_:new Float32Array(3)},hA={_:new Float32Array(3)},IA={_:Math.pow(24/116,3)/8},fA=new WeakSet,CA=function(e){function t(e,r,A){var n;if(Rr(this,t),vr(n=wr(this,t,["Lab",3]),fA),!e)throw new re("WhitePoint missing - required for color space Lab");var i=yr(e,3);n.XW=i[0],n.YW=i[1],n.ZW=i[2];var a=yr(A||[-100,100,-100,100],4);n.amin=a[0],n.amax=a[1],n.bmin=a[2],n.bmax=a[3];var o=yr(r||[0,0,0],3);if(n.XB=o[0],n.YB=o[1],n.ZB=o[2],n.XW<0||n.ZW<0||1!==n.YW)throw new re("Invalid WhitePoint components, no fallback available");return(n.XB<0||n.YB<0||n.ZB<0)&&(T("Invalid BlackPoint, falling back to default"),n.XB=n.YB=n.ZB=0),(n.amin>n.amax||n.bmin>n.bmax)&&(T("Invalid Range, falling back to defaults"),n.amin=-100,n.amax=100,n.bmin=-100,n.bmax=100),n}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){mr(fA,this,EA).call(this,e,t,!1,r,A)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=(1<<i)-1,s=0;s<r;s++)mr(fA,this,EA).call(this,e,t,o,A,n),t+=3,n+=3+a}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}},{key:"isDefaultDecode",value:function(e,t){return!0}},{key:"usesZeroToOneRange",get:function(){return _(this,"usesZeroToOneRange",!1)}}])}();function BA(e){return e>=6/29?Math.pow(e,3):108/841*(e-4/29)}function QA(e,t,r,A){return r+e*(A-r)/t}function EA(e,t,r,A,n){var i=e[t],a=e[t+1],o=e[t+2];!1!==r&&(i=mr(fA,this,QA).call(this,i,r,0,100),a=mr(fA,this,QA).call(this,a,r,this.amin,this.amax),o=mr(fA,this,QA).call(this,o,r,this.bmin,this.bmax)),a>this.amax?a=this.amax:a<this.amin&&(a=this.amin),o>this.bmax?o=this.bmax:o<this.bmin&&(o=this.bmin);var s,c,g,u=(i+16)/116,l=u+a/500,h=u-o/200,I=this.XW*mr(fA,this,BA).call(this,l),f=this.YW*mr(fA,this,BA).call(this,u),C=this.ZW*mr(fA,this,BA).call(this,h);this.ZW<1?(s=3.1339*I+-1.617*f+-.4906*C,c=-.9785*I+1.916*f+.0333*C,g=.072*I+-.229*f+1.4057*C):(s=3.2406*I+-1.5372*f+-.4986*C,c=-.9689*I+1.8758*f+.0415*C,g=.0557*I+-.204*f+1.057*C),A[n]=255*Math.sqrt(s),A[n+1]=255*Math.sqrt(c),A[n+2]=255*Math.sqrt(g)}function dA(){dA=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function yA(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function pA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vA(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,wA(A.key),A)}}function mA(e,t,r){return t&&vA(e.prototype,t),r&&vA(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function wA(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function bA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function kA(e,t){for(var r=0,A=0;A<=t;A++)r=r<<8|e[A];return r>>>0}function DA(e,t){return 1===t?String.fromCharCode(e[0],e[1]):3===t?String.fromCharCode(e[0],e[1],e[2],e[3]):String.fromCharCode.apply(String,function(e){return function(e){if(Array.isArray(e))return bA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return bA(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bA(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.subarray(0,t+1)))}function SA(e,t,r){for(var A=0,n=r;n>=0;n--)A+=e[n]+t[n],e[n]=255&A,A>>=8}function FA(e,t){for(var r=1,A=t;A>=0&&r>0;A--)r+=e[A],e[A]=255&r,r>>=8}r(3276);var xA=16,RA=function(){return mA((function e(t){pA(this,e),this.buffer=t,this.pos=0,this.end=t.length,this.tmpBuf=new Uint8Array(19)}),[{key:"readByte",value:function(){return this.pos>=this.end?-1:this.buffer[this.pos++]}},{key:"readNumber",value:function(){var e,t=0;do{var r=this.readByte();if(r<0)throw new re("unexpected EOF in bcmap");e=!(128&r),t=t<<7|127&r}while(!e);return t}},{key:"readSigned",value:function(){var e=this.readNumber();return 1&e?~(e>>>1):e>>>1}},{key:"readHex",value:function(e,t){e.set(this.buffer.subarray(this.pos,this.pos+t+1)),this.pos+=t+1}},{key:"readHexNumber",value:function(e,t){var r,A=this.tmpBuf,n=0;do{var i=this.readByte();if(i<0)throw new re("unexpected EOF in bcmap");r=!(128&i),A[n++]=127&i}while(!r);for(var a=t,o=0,s=0;a>=0;){for(;s<8&&A.length>0;)o|=A[--n]<<s,s+=7;e[a]=255&o,a--,o>>=8,s-=8}}},{key:"readHexSigned",value:function(e,t){this.readHexNumber(e,t);for(var r=1&e[t]?255:0,A=0,n=0;n<=t;n++)A=(1&A)<<8|e[n],e[n]=A>>1^r}},{key:"readString",value:function(){for(var e=this.readNumber(),t=new Array(e),r=0;r<e;r++)t[r]=this.readNumber();return String.fromCharCode.apply(String,t)}}])}(),GA=function(){return mA((function e(){pA(this,e)}),[{key:"process",value:(e=dA().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m;return dA().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=new RA(t),i=n.readByte(),r.vertical=!!(1&i),a=null,o=new Uint8Array(xA),s=new Uint8Array(xA),c=new Uint8Array(xA),g=new Uint8Array(xA),u=new Uint8Array(xA);case 9:if(!((h=n.readByte())>=0)){e.next=68;break}if(7!=(I=h>>5)){e.next=20;break}e.t0=31&h,e.next=0===e.t0?15:1===e.t0?17:19;break;case 15:return n.readString(),e.abrupt("break",19);case 17:return a=n.readString(),e.abrupt("break",19);case 19:return e.abrupt("continue",9);case 20:if(f=!!(16&h),!(1+(C=15&h)>xA)){e.next=24;break}throw new Error("BinaryCMapReader.process: Invalid dataSize.");case 24:B=1,Q=n.readNumber(),e.t1=I,e.next=0===e.t1?29:1===e.t1?35:2===e.t1?41:3===e.t1?46:4===e.t1?53:5===e.t1?58:65;break;case 29:for(n.readHex(o,C),n.readHexNumber(s,C),SA(s,o,C),r.addCodespaceRange(C+1,kA(o,C),kA(s,C)),E=1;E<Q;E++)FA(s,C),n.readHexNumber(o,C),SA(o,s,C),n.readHexNumber(s,C),SA(s,o,C),r.addCodespaceRange(C+1,kA(o,C),kA(s,C));return e.abrupt("break",66);case 35:for(n.readHex(o,C),n.readHexNumber(s,C),SA(s,o,C),n.readNumber(),d=1;d<Q;d++)FA(s,C),n.readHexNumber(o,C),SA(o,s,C),n.readHexNumber(s,C),SA(s,o,C),n.readNumber();return e.abrupt("break",66);case 41:for(n.readHex(c,C),l=n.readNumber(),r.mapOne(kA(c,C),l),y=1;y<Q;y++)FA(c,C),f||(n.readHexNumber(u,C),SA(c,u,C)),l=n.readSigned()+(l+1),r.mapOne(kA(c,C),l);return e.abrupt("break",66);case 46:for(n.readHex(o,C),n.readHexNumber(s,C),SA(s,o,C),l=n.readNumber(),r.mapCidRange(kA(o,C),kA(s,C),l),p=1;p<Q;p++)FA(s,C),f?o.set(s):(n.readHexNumber(o,C),SA(o,s,C)),n.readHexNumber(s,C),SA(s,o,C),l=n.readNumber(),r.mapCidRange(kA(o,C),kA(s,C),l);return e.abrupt("break",66);case 53:for(n.readHex(c,B),n.readHex(g,C),r.mapOne(kA(c,B),DA(g,C)),v=1;v<Q;v++)FA(c,B),f||(n.readHexNumber(u,B),SA(c,u,B)),FA(g,C),n.readHexSigned(u,C),SA(g,u,C),r.mapOne(kA(c,B),DA(g,C));return e.abrupt("break",66);case 58:for(n.readHex(o,B),n.readHexNumber(s,B),SA(s,o,B),n.readHex(g,C),r.mapBfRange(kA(o,B),kA(s,B),DA(g,C)),m=1;m<Q;m++)FA(s,B),f?o.set(s):(n.readHexNumber(o,B),SA(o,s,B)),n.readHexNumber(s,B),SA(s,o,B),n.readHex(g,C),r.mapBfRange(kA(o,B),kA(s,B),DA(g,C));return e.abrupt("break",66);case 65:throw new Error("BinaryCMapReader.process - unknown type: ".concat(I));case 66:e.next=9;break;case 68:if(!a){e.next=70;break}return e.abrupt("return",A(a));case 70:return e.abrupt("return",r);case 71:case"end":return e.stop()}}),e)})),t=function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){yA(i,A,n,a,o,"next",e)}function o(e){yA(i,A,n,a,o,"throw",e)}a(void 0)}))},function(e,r,A){return t.apply(this,arguments)})}]);var e,t}();function NA(e){return function(e){if(Array.isArray(e))return MA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||UA(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function LA(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=UA(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function UA(e,t){if(e){if("string"==typeof e)return MA(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?MA(e,t):void 0}}function MA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function JA(){JA=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function HA(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function YA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PA(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,KA(A.key),A)}}function OA(e,t,r){return t&&PA(e.prototype,t),r&&PA(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function KA(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function TA(e,t,r){return t=jA(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qA()?Reflect.construct(t,r||[],jA(e).constructor):t.apply(e,r))}function qA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qA=function(){return!!e})()}function jA(e){return jA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jA(e)}function WA(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZA(e,t)}function ZA(e,t){return ZA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZA(e,t)}var _A=new Uint8Array(0),XA=function(e){function t(e){var r;if(YA(this,t),(r=TA(this,t))._rawMinBufferLength=e||0,r.pos=0,r.bufferLength=0,r.eof=!1,r.buffer=_A,r.minBufferLength=512,e)for(;r.minBufferLength<e;)r.minBufferLength*=2;return r}return WA(t,ze),OA(t,[{key:"isEmpty",get:function(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength}},{key:"ensureBuffer",value:function(e){var t=this.buffer;if(e<=t.byteLength)return t;for(var r=this.minBufferLength;r<e;)r*=2;var A=new Uint8Array(r);return A.set(t),this.buffer=A}},{key:"getByte",value:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]}},{key:"getBytes",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,A=this.pos;if(e){for(this.ensureBuffer(A+e),t=A+e;!this.eof&&this.bufferLength<t;)this.readBlock(r);var n=this.bufferLength;t>n&&(t=n)}else{for(;!this.eof;)this.readBlock(r);t=this.bufferLength}return this.pos=t,this.buffer.subarray(A,t)}},{key:"getImageData",value:(r=JA().mark((function e(t){var r,A,n=arguments;return JA().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.length>1&&void 0!==n[1]?n[1]:null,this.canAsyncDecodeImageFromBuffer){e.next=3;break}return e.abrupt("return",this.getBytes(t,r));case 3:return e.next=5,this.stream.asyncGetBytes();case 5:return A=e.sent,e.abrupt("return",this.decodeImage(A,r));case 7:case"end":return e.stop()}}),e,this)})),A=function(){var e=this,t=arguments;return new Promise((function(A,n){var i=r.apply(e,t);function a(e){HA(i,A,n,a,o,"next",e)}function o(e){HA(i,A,n,a,o,"throw",e)}a(void 0)}))},function(e){return A.apply(this,arguments)})},{key:"reset",value:function(){this.pos=0}},{key:"makeSubStream",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(void 0===t)for(;!this.eof;)this.readBlock();else for(var A=e+t;this.bufferLength<=A&&!this.eof;)this.readBlock();return new ar(this.buffer,e,t,r)}},{key:"getBaseStreams",value:function(){return this.str?this.str.getBaseStreams():null}}]);var r,A}(),VA=function(e){function t(e){var r,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;YA(this,t);var n,i=0,a=LA(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;i+=o instanceof XA?o._rawMinBufferLength:o.length}}catch(e){a.e(e)}finally{a.f()}return(r=TA(this,t,[i])).streams=e,r._onError=A,r}return WA(t,XA),OA(t,[{key:"readBlock",value:function(){var e=this.streams;if(0!==e.length){var t,r=e.shift();try{t=r.getBytes()}catch(e){var A;if(this._onError)return void this._onError(e,null===(A=r.dict)||void 0===A?void 0:A.objId);throw e}var n=this.bufferLength,i=n+t.length;this.ensureBuffer(i).set(t,n),this.bufferLength=i}else this.eof=!0}},{key:"getBaseStreams",value:function(){var e,t=[],r=LA(this.streams);try{for(r.s();!(e=r.n()).done;){var A=e.value.getBaseStreams();A&&t.push.apply(t,NA(A))}}catch(e){r.e(e)}finally{r.f()}return t.length>0?t:null}}])}();function zA(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,$A(A.key),A)}}function $A(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function en(e,t,r){return t=rn(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tn()?Reflect.construct(t,r||[],rn(e).constructor):t.apply(e,r))}function tn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tn=function(){return!!e})()}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rn(e)}function An(e,t){return An=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},An(e,t)}var nn=function(e){function t(e,r){var A;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r&&(r*=.8),(A=en(this,t,[r])).str=e,A.dict=e.dict,A.input=new Uint8Array(5),A}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&An(e,t)}(t,XA),r=t,A=[{key:"readBlock",value:function(){for(var e=this.str,t=e.getByte();Dt(t);)t=e.getByte();if(-1!==t&&126!==t){var r,A,n=this.bufferLength;if(122===t){for(r=this.ensureBuffer(n+4),A=0;A<4;++A)r[n+A]=0;this.bufferLength+=4}else{var i=this.input;for(i[0]=t,A=1;A<5;++A){for(t=e.getByte();Dt(t);)t=e.getByte();if(i[A]=t,-1===t||126===t)break}if(r=this.ensureBuffer(n+A-1),this.bufferLength+=A-1,A<5){for(;A<5;++A)i[A]=117;this.eof=!0}var a=0;for(A=0;A<5;++A)a=85*a+(i[A]-33);for(A=3;A>=0;--A)r[n+A]=255&a,a>>=8}}else this.eof=!0}}],A&&zA(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function an(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function on(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,sn(A.key),A)}}function sn(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function cn(e,t,r){return t=un(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gn()?Reflect.construct(t,r||[],un(e).constructor):t.apply(e,r))}function gn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gn=function(){return!!e})()}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},un(e)}function ln(e,t){return ln=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ln(e,t)}var hn=function(e){function t(e,r){var A;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r&&(r*=.5),(A=cn(this,t,[r])).str=e,A.dict=e.dict,A.firstDigit=-1,A}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ln(e,t)}(t,XA),r=t,(A=[{key:"readBlock",value:function(){var e=this.str.getBytes(8e3);if(e.length){var t,r=e.length+1>>1,A=this.ensureBuffer(this.bufferLength+r),n=this.bufferLength,i=this.firstDigit,a=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return an(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?an(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(e);try{for(a.s();!(t=a.n()).done;){var o=t.value,s=void 0;if(o>=48&&o<=57)s=15&o;else{if(!(o>=65&&o<=70||o>=97&&o<=102)){if(62===o){this.eof=!0;break}continue}s=9+(15&o)}i<0?i=s:(A[n++]=i<<4|s,i=-1)}}catch(e){a.e(e)}finally{a.f()}i>=0&&this.eof&&(A[n++]=i<<4,i=-1),this.firstDigit=i,this.bufferLength=n}else this.eof=!0}}])&&on(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function In(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,fn(A.key),A)}}function fn(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Cn=-1,Bn=[[-1,-1],[-1,-1],[7,8],[7,7],[6,6],[6,6],[6,5],[6,5],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2]],Qn=[[-1,-1],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],En=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],dn=[[-1,-1],[-1,-1],[12,-2],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],yn=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],pn=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]],vn=function(){return e=function e(t){var r,A,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t||"function"!=typeof t.next)throw new Error('CCITTFaxDecoder - invalid "source" parameter.');for(this.source=t,this.eof=!1,this.encoding=n.K||0,this.eoline=n.EndOfLine||!1,this.byteAlign=n.EncodedByteAlign||!1,this.columns=n.Columns||1728,this.rows=n.Rows||0,this.eoblock=null===(r=n.EndOfBlock)||void 0===r||r,this.black=n.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;0===(A=this._lookBits(12));)this._eatBits(1);1===A&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))},(t=[{key:"readNextChar",value:function(){if(this.eof)return-1;var e,t,r,A,n,i=this.refLine,a=this.codingLine,o=this.columns;if(0===this.outputBits){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;var s,c,g;if(this.err=!1,this.nextLine2D){for(A=0;a[A]<o;++A)i[A]=a[A];for(i[A++]=o,i[A]=o,a[0]=0,this.codingPos=0,e=0,t=0;a[this.codingPos]<o;)switch(s=this._getTwoDimCode()){case 0:this._addPixels(i[e+1],t),i[e+1]<o&&(e+=2);break;case 1:if(s=c=0,t){do{s+=g=this._getBlackCode()}while(g>=64);do{c+=g=this._getWhiteCode()}while(g>=64)}else{do{s+=g=this._getWhiteCode()}while(g>=64);do{c+=g=this._getBlackCode()}while(g>=64)}for(this._addPixels(a[this.codingPos]+s,t),a[this.codingPos]<o&&this._addPixels(a[this.codingPos]+c,1^t);i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 7:if(this._addPixels(i[e]+3,t),t^=1,a[this.codingPos]<o)for(++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 5:if(this._addPixels(i[e]+2,t),t^=1,a[this.codingPos]<o)for(++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 3:if(this._addPixels(i[e]+1,t),t^=1,a[this.codingPos]<o)for(++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 2:if(this._addPixels(i[e],t),t^=1,a[this.codingPos]<o)for(++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 8:if(this._addPixelsNeg(i[e]-3,t),t^=1,a[this.codingPos]<o)for(e>0?--e:++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 6:if(this._addPixelsNeg(i[e]-2,t),t^=1,a[this.codingPos]<o)for(e>0?--e:++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 4:if(this._addPixelsNeg(i[e]-1,t),t^=1,a[this.codingPos]<o)for(e>0?--e:++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case Cn:this._addPixels(o,0),this.eof=!0;break;default:T("bad 2d code"),this._addPixels(o,0),this.err=!0}}else for(a[0]=0,this.codingPos=0,t=0;a[this.codingPos]<o;){if(s=0,t)do{s+=g=this._getBlackCode()}while(g>=64);else do{s+=g=this._getWhiteCode()}while(g>=64);this._addPixels(a[this.codingPos]+s,t),t^=1}var u=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(s=this._lookBits(12),this.eoline)for(;s!==Cn&&1!==s;)this._eatBits(1),s=this._lookBits(12);else for(;0===s;)this._eatBits(1),s=this._lookBits(12);1===s?(this._eatBits(12),u=!0):s===Cn&&(this.eof=!0)}else this.rowsDone=!0;if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&u&&this.byteAlign){if(1===(s=this._lookBits(12))){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(A=0;A<4;++A)1!==(s=this._lookBits(12))&&T("bad rtc code: "+s),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if((s=this._lookBits(13))===Cn)return this.eof=!0,-1;if(s>>1==1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(1&s))}this.outputBits=a[0]>0?a[this.codingPos=0]:a[this.codingPos=1],this.row++}if(this.outputBits>=8)n=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&a[this.codingPos]<o&&(this.codingPos++,this.outputBits=a[this.codingPos]-a[this.codingPos-1]);else{r=8,n=0;do{if("number"!=typeof this.outputBits)throw new re('Invalid /CCITTFaxDecode data, "outputBits" must be a number.');this.outputBits>r?(n<<=r,1&this.codingPos||(n|=255>>8-r),this.outputBits-=r,r=0):(n<<=this.outputBits,1&this.codingPos||(n|=255>>8-this.outputBits),r-=this.outputBits,this.outputBits=0,a[this.codingPos]<o?(this.codingPos++,this.outputBits=a[this.codingPos]-a[this.codingPos-1]):r>0&&(n<<=r,r=0))}while(r)}return this.black&&(n^=255),n}},{key:"_addPixels",value:function(e,t){var r=this.codingLine,A=this.codingPos;e>r[A]&&(e>this.columns&&(T("row is wrong length"),this.err=!0,e=this.columns),1&A^t&&++A,r[A]=e),this.codingPos=A}},{key:"_addPixelsNeg",value:function(e,t){var r=this.codingLine,A=this.codingPos;if(e>r[A])e>this.columns&&(T("row is wrong length"),this.err=!0,e=this.columns),1&A^t&&++A,r[A]=e;else if(e<r[A]){for(e<0&&(T("invalid code"),this.err=!0,e=0);A>0&&e<r[A-1];)--A;r[A]=e}this.codingPos=A}},{key:"_findTableCode",value:function(e,t,r,A){for(var n=A||0,i=e;i<=t;++i){var a=this._lookBits(i);if(a===Cn)return[!0,1,!1];if(i<t&&(a<<=t-i),!n||a>=n){var o=r[a-n];if(o[0]===i)return this._eatBits(i),[!0,o[1],!0]}}return[!1,0,!1]}},{key:"_getTwoDimCode",value:function(){var e,t=0;if(this.eoblock){var r;if(t=this._lookBits(7),(null===(r=e=Bn[t])||void 0===r?void 0:r[0])>0)return this._eatBits(e[0]),e[1]}else{var A=this._findTableCode(1,7,Bn);if(A[0]&&A[2])return A[1]}return T("Bad two dim code"),Cn}},{key:"_getWhiteCode",value:function(){var e,t=0;if(this.eoblock){if((t=this._lookBits(12))===Cn)return 1;if((e=t>>5==0?Qn[t]:En[t>>3])[0]>0)return this._eatBits(e[0]),e[1]}else{var r=this._findTableCode(1,9,En);if(r[0])return r[1];if((r=this._findTableCode(11,12,Qn))[0])return r[1]}return T("bad white code"),this._eatBits(1),1}},{key:"_getBlackCode",value:function(){var e,t;if(this.eoblock){if((e=this._lookBits(13))===Cn)return 1;if((t=e>>7==0?dn[e]:e>>9==0&&e>>7!=0?yn[(e>>1)-64]:pn[e>>7])[0]>0)return this._eatBits(t[0]),t[1]}else{var r=this._findTableCode(2,6,pn);if(r[0])return r[1];if((r=this._findTableCode(7,12,yn,64))[0])return r[1];if((r=this._findTableCode(10,13,dn))[0])return r[1]}return T("bad black code"),this._eatBits(1),1}},{key:"_lookBits",value:function(e){for(var t;this.inputBits<e;){if(-1===(t=this.source.next()))return 0===this.inputBits?Cn:this.inputBuf<<e-this.inputBits&65535>>16-e;this.inputBuf=this.inputBuf<<8|t,this.inputBits+=8}return this.inputBuf>>this.inputBits-e&65535>>16-e}},{key:"_eatBits",value:function(e){(this.inputBits-=e)<0&&(this.inputBits=0)}}])&&In(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function mn(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,wn(A.key),A)}}function wn(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function bn(e,t,r){return t=Dn(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,kn()?Reflect.construct(t,r||[],Dn(e).constructor):t.apply(e,r))}function kn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(kn=function(){return!!e})()}function Dn(e){return Dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dn(e)}function Sn(e,t){return Sn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sn(e,t)}var Fn=function(e){function t(e,r,A){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=bn(this,t,[r])).str=e,n.dict=e.dict,A instanceof He||(A=He.empty);var i={next:()=>e.getByte()};return n.ccittFaxDecoder=new vn(i,{K:A.get("K"),EndOfLine:A.get("EndOfLine"),EncodedByteAlign:A.get("EncodedByteAlign"),Columns:A.get("Columns"),Rows:A.get("Rows"),EndOfBlock:A.get("EndOfBlock"),BlackIs1:A.get("BlackIs1")}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sn(e,t)}(t,XA),r=t,(A=[{key:"readBlock",value:function(){for(;!this.eof;){var e=this.ccittFaxDecoder.readNextChar();if(-1===e)return void(this.eof=!0);this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=e}}}])&&mn(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function xn(){xn=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function Rn(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function Gn(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){Rn(i,A,n,a,o,"next",e)}function o(e){Rn(i,A,n,a,o,"throw",e)}a(void 0)}))}}function Nn(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ln(A.key),A)}}function Ln(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Un(e,t,r){return t=Jn(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Mn()?Reflect.construct(t,r||[],Jn(e).constructor):t.apply(e,r))}function Mn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Mn=function(){return!!e})()}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Jn(e)}function Hn(e,t){return Hn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hn(e,t)}function Yn(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function Pn(e){var t,r,A,n=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,A=Symbol.iterator);n--;){if(r&&null!=(t=e[r]))return t.call(e);if(A&&null!=(t=e[A]))return new On(t.call(e));r="@@asyncIterator",A="@@iterator"}throw new TypeError("Object is not async iterable")}function On(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return On=function(e){this.s=e,this.n=e.next},On.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new On(e)}r(1237);var Kn=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Tn=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),qn=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),jn=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],Wn=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5],Zn=new WeakSet,_n=function(e){function t(e,r){var A;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(A=Un(this,t,[r]),Zn),A.str=e,A.dict=e.dict;var n=e.getByte(),i=e.getByte();if(-1===n||-1===i)throw new re("Invalid header in flate stream: ".concat(n,", ").concat(i));if(8!=(15&n))throw new re("Unknown compression method in flate stream: ".concat(n,", ").concat(i));if(((n<<8)+i)%31!=0)throw new re("Bad FCHECK in flate stream: ".concat(n,", ").concat(i));if(32&i)throw new re("FDICT bit set in flate stream: ".concat(n,", ").concat(i));return A.codeSize=0,A.codeBuf=0,A}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hn(e,t)}(t,XA),r=t,A=[{key:"getImageData",value:(i=Gn(xn().mark((function e(t,r){var A;return xn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.asyncGetBytes();case 2:return A=e.sent,e.abrupt("return",(null==A?void 0:A.subarray(0,t))||this.getBytes(t));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"asyncGetBytes",value:(n=Gn(xn().mark((function e(){var t,r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q;return xn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.str.reset(),t=this.str.getBytes(),e.prev=2,r=new DecompressionStream("deflate"),A=r.readable,n=r.writable,i=n.getWriter(),e.next=7,i.ready;case 7:i.write(t).then(Gn(xn().mark((function e(){return xn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.ready;case 2:return e.next=4,i.close();case 4:case"end":return e.stop()}}),e)})))).catch((function(){})),a=[],o=0,s=!1,c=!1,e.prev=12,u=Pn(A);case 14:return e.next=16,u.next();case 16:if(!(s=!(l=e.sent).done)){e.next=23;break}h=l.value,a.push(h),o+=h.byteLength;case 20:s=!1,e.next=14;break;case 23:e.next=29;break;case 25:e.prev=25,e.t0=e.catch(12),c=!0,g=e.t0;case 29:if(e.prev=29,e.prev=30,!s||null==u.return){e.next=34;break}return e.next=34,u.return();case 34:if(e.prev=34,!c){e.next=37;break}throw g;case 37:return e.finish(34);case 38:return e.finish(29);case 39:for(I=new Uint8Array(o),f=0,C=0,B=a;C<B.length;C++)Q=B[C],I.set(Q,f),f+=Q.byteLength;return e.abrupt("return",I);case 45:return e.prev=45,e.t1=e.catch(2),this.str=new ar(t,2,t.length,this.str.dict),this.reset(),e.abrupt("return",null);case 50:case"end":return e.stop()}}),e,this,[[2,45],[12,25,29,39],[30,,34,38]])}))),function(){return n.apply(this,arguments)})},{key:"isAsync",get:function(){return!0}},{key:"getBits",value:function(e){for(var t,r=this.str,A=this.codeSize,n=this.codeBuf;A<e;){if(-1===(t=r.getByte()))throw new re("Bad encoding in flate stream");n|=t<<A,A+=8}return t=n&(1<<e)-1,this.codeBuf=n>>e,this.codeSize=A-=e,t}},{key:"getCode",value:function(e){for(var t,r=this.str,A=e[0],n=e[1],i=this.codeSize,a=this.codeBuf;i<n&&-1!==(t=r.getByte());)a|=t<<i,i+=8;var o=A[a&(1<<n)-1],s=o>>16,c=65535&o;if(s<1||i<s)throw new re("Bad encoding in flate stream");return this.codeBuf=a>>s,this.codeSize=i-s,c}},{key:"generateHuffmanTable",value:function(e){var t,r=e.length,A=0;for(t=0;t<r;++t)e[t]>A&&(A=e[t]);for(var n=1<<A,i=new Int32Array(n),a=1,o=0,s=2;a<=A;++a,o<<=1,s<<=1)for(var c=0;c<r;++c)if(e[c]===a){var g=0,u=o;for(t=0;t<a;++t)g=g<<1|1&u,u>>=1;for(t=g;t<n;t+=s)i[t]=a<<16|c;++o}return[i,A]}},{key:"readBlock",value:function(){var e,t,r,A=this.str;try{t=this.getBits(3)}catch(e){return void Yn(Zn,this,Xn).call(this,e.message)}if(1&t&&(this.eof=!0),0!=(t>>=1)){var n,i;if(1===t)n=jn,i=Wn;else{if(2!==t)throw new re("Unknown block type in flate stream");var a,o=this.getBits(5)+257,s=this.getBits(5)+1,c=this.getBits(4)+4,g=new Uint8Array(Kn.length);for(a=0;a<c;++a)g[Kn[a]]=this.getBits(3);var u=this.generateHuffmanTable(g);r=0,a=0;for(var l,h,I,f=o+s,C=new Uint8Array(f);a<f;){var B=this.getCode(u);if(16===B)l=2,h=3,I=r;else if(17===B)l=3,h=3,I=r=0;else{if(18!==B){C[a++]=r=B;continue}l=7,h=11,I=r=0}for(var Q=this.getBits(l)+h;Q-- >0;)C[a++]=I}n=this.generateHuffmanTable(C.subarray(0,o)),i=this.generateHuffmanTable(C.subarray(o,f))}for(var E=(e=this.buffer)?e.length:0,d=this.bufferLength;;){var y=this.getCode(n);if(y<256)d+1>=E&&(E=(e=this.ensureBuffer(d+1)).length),e[d++]=y;else{if(256===y)return void(this.bufferLength=d);var p=(y=Tn[y-=257])>>16;p>0&&(p=this.getBits(p)),r=(65535&y)+p,y=this.getCode(i),(p=(y=qn[y])>>16)>0&&(p=this.getBits(p));var v=(65535&y)+p;d+r>=E&&(E=(e=this.ensureBuffer(d+r)).length);for(var m=0;m<r;++m,++d)e[d]=e[d-v]}}}else{var w;if(-1===(w=A.getByte()))return void Yn(Zn,this,Xn).call(this,"Bad block header in flate stream");var b=w;if(-1===(w=A.getByte()))return void Yn(Zn,this,Xn).call(this,"Bad block header in flate stream");if(b|=w<<8,-1===(w=A.getByte()))return void Yn(Zn,this,Xn).call(this,"Bad block header in flate stream");var k=w;if(-1===(w=A.getByte()))return void Yn(Zn,this,Xn).call(this,"Bad block header in flate stream");if((k|=w<<8)!=(65535&~b)&&(0!==b||0!==k))throw new re("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var D=this.bufferLength,S=D+b;if(e=this.ensureBuffer(S),this.bufferLength=S,0===b)-1===A.peekByte()&&(this.eof=!0);else{var F=A.getBytes(b);e.set(F,D),F.length<b&&(this.eof=!0)}}}}],A&&Nn(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A,n,i}();function Xn(e){T(e),this.eof=!0}function Vn(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,zn(A.key),A)}}function zn(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}r(4834);var $n=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}],ei=function(){return e=function e(t,r,A){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.bp=r,this.dataEnd=A,this.chigh=t[r],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768},(t=[{key:"byteIn",value:function(){var e=this.data,t=this.bp;255===e[t]?e[t+1]>143?(this.clow+=65280,this.ct=8):(t++,this.clow+=e[t]<<9,this.ct=7,this.bp=t):(t++,this.clow+=t<this.dataEnd?e[t]<<8:65280,this.ct=8,this.bp=t),this.clow>65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}},{key:"readBit",value:function(e,t){var r,A=e[t]>>1,n=1&e[t],i=$n[A],a=i.qe,o=this.a-a;if(this.chigh<a)o<a?(o=a,r=n,A=i.nmps):(o=a,r=1^n,1===i.switchFlag&&(n=r),A=i.nlps);else{if(this.chigh-=a,0!=(32768&o))return this.a=o,n;o<a?(r=1^n,1===i.switchFlag&&(n=r),A=i.nlps):(r=n,A=i.nmps)}do{0===this.ct&&this.byteIn(),o<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--}while(0==(32768&o));return this.a=o,e[t]=A<<1|n,r}}])&&Vn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function ti(e){return function(e){if(Array.isArray(e))return ni(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ai(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ri(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ai(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function Ai(e,t){if(e){if("string"==typeof e)return ni(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ni(e,t):void 0}}function ni(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function ii(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,oi(A.key),A)}}function ai(e,t,r){return t&&ii(e.prototype,t),r&&ii(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function oi(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function si(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ci(e,t,r){return t=ui(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gi()?Reflect.construct(t,r||[],ui(e).constructor):t.apply(e,r))}function gi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gi=function(){return!!e})()}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ui(e)}function li(e,t){return li=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},li(e,t)}var hi=function(e){function t(e){return si(this,t),ci(this,t,[e,"Jbig2Error"])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&li(e,t)}(t,X),ai(t)}(),Ii=function(){return ai((function e(){si(this,e)}),[{key:"getContexts",value:function(e){return e in this?this[e]:this[e]=new Int8Array(65536)}}])}(),fi=function(){return ai((function e(t,r,A){si(this,e),this.data=t,this.start=r,this.end=A}),[{key:"decoder",get:function(){return _(this,"decoder",new ei(this.data,this.start,this.end))}},{key:"contextCache",get:function(){return _(this,"contextCache",new Ii)}}])}(),Ci=Math.pow(2,31)-1,Bi=-Math.pow(2,31);function Qi(e,t,r){var A=e.getContexts(t),n=1;function i(e){for(var t=0,i=0;i<e;i++){var a=r.readBit(A,n);n=n<256?n<<1|a:511&(n<<1|a)|256,t=t<<1|a}return t>>>0}var a,o=i(1),s=i(1)?i(1)?i(1)?i(1)?i(1)?i(32)+4436:i(12)+340:i(8)+84:i(6)+20:i(4)+4:i(2);return 0===o?a=s:s>0&&(a=-s),a>=Bi&&a<=Ci?a:null}function Ei(e,t,r){for(var A=e.getContexts("IAID"),n=1,i=0;i<r;i++)n=n<<1|t.readBit(A,n);return r<31?n&(1<<r)-1:2147483647&n}var di=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"PatternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],yi=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],pi=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],vi=[39717,1941,229,405],mi=[32,8];function wi(e,t,r,A,n,i,a,o){if(e)return Ki(new Yi(o.data,o.start,o.end),t,r,!1);if(0===A&&!i&&!n&&4===a.length&&3===a[0].x&&-1===a[0].y&&-3===a[1].x&&-1===a[1].y&&2===a[2].x&&-2===a[2].y&&-2===a[3].x&&-2===a[3].y)return function(e,t,r){var A,n,i,a,o,s,c,g=r.decoder,u=r.contextCache.getContexts("GB"),l=[];for(n=0;n<t;n++)for(o=l[n]=new Uint8Array(e),s=n<1?o:l[n-1],A=(c=n<2?o:l[n-2])[0]<<13|c[1]<<12|c[2]<<11|s[0]<<7|s[1]<<6|s[2]<<5|s[3]<<4,i=0;i<e;i++)o[i]=a=g.readBit(u,A),A=(31735&A)<<1|(i+3<e?c[i+3]<<11:0)|(i+4<e?s[i+4]<<4:0)|a;return l}(t,r,o);var s=!!i,c=yi[A].concat(a);c.sort((function(e,t){return e.y-t.y||e.x-t.x}));var g,u,l=c.length,h=new Int8Array(l),I=new Int8Array(l),f=[],C=0,B=0,Q=0,E=0;for(u=0;u<l;u++)h[u]=c[u].x,I[u]=c[u].y,B=Math.min(B,c[u].x),Q=Math.max(Q,c[u].x),E=Math.min(E,c[u].y),u<l-1&&c[u].y===c[u+1].y&&c[u].x===c[u+1].x-1?C|=1<<l-1-u:f.push(u);var d=f.length,y=new Int8Array(d),p=new Int8Array(d),v=new Uint16Array(d);for(g=0;g<d;g++)u=f[g],y[g]=c[u].x,p[g]=c[u].y,v[g]=1<<l-1-u;for(var m,w,b,k,D,S=-B,F=-E,x=t-Q,R=vi[A],G=new Uint8Array(t),N=[],L=o.decoder,U=o.contextCache.getContexts("GB"),M=0,J=0,H=0;H<r;H++)if(n&&(M^=L.readBit(U,R)))N.push(G);else for(G=new Uint8Array(G),N.push(G),m=0;m<t;m++)if(s&&i[H][m])G[m]=0;else{if(m>=S&&m<x&&H>=F)for(J=J<<1&C,u=0;u<d;u++)w=H+p[u],b=m+y[u],(k=N[w][b])&&(J|=k=v[u]);else for(J=0,D=l-1,u=0;u<l;u++,D--)(b=m+h[u])>=0&&b<t&&(w=H+I[u])>=0&&(k=N[w][b])&&(J|=k<<D);var Y=L.readBit(U,J);G[m]=Y}return N}function bi(e,t,r,A,n,i,a,o,s){var c=pi[r].coding;0===r&&(c=c.concat([o[0]]));var g,u=c.length,l=new Int32Array(u),h=new Int32Array(u);for(g=0;g<u;g++)l[g]=c[g].x,h[g]=c[g].y;var I=pi[r].reference;0===r&&(I=I.concat([o[1]]));var f=I.length,C=new Int32Array(f),B=new Int32Array(f);for(g=0;g<f;g++)C[g]=I[g].x,B[g]=I[g].y;for(var Q=A[0].length,E=A.length,d=mi[r],y=[],p=s.decoder,v=s.contextCache.getContexts("GR"),m=0,w=0;w<t;w++){if(a&&(m^=p.readBit(v,d)))throw new hi("prediction is not supported");var b=new Uint8Array(e);y.push(b);for(var k=0;k<e;k++){var D=void 0,S=void 0,F=0;for(g=0;g<u;g++)D=w+h[g],S=k+l[g],D<0||S<0||S>=e?F<<=1:F=F<<1|y[D][S];for(g=0;g<f;g++)D=w+B[g]-i,S=k+C[g]-n,D<0||D>=E||S<0||S>=Q?F<<=1:F=F<<1|A[D][S];var x=p.readBit(v,F);b[k]=x}}return y}function ki(e,t,r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q){if(e&&t)throw new hi("refinement with Huffman is not supported");var E,d,y=[];for(E=0;E<A;E++){if(d=new Uint8Array(r),n)for(var p=0;p<r;p++)d[p]=n;y.push(d)}var v=C.decoder,m=C.contextCache,w=e?-h.tableDeltaT.decode(Q):-Qi(m,"IADT",v),b=0;for(E=0;E<i;){w+=e?h.tableDeltaT.decode(Q):Qi(m,"IADT",v);for(var k=b+=e?h.tableFirstS.decode(Q):Qi(m,"IAFS",v);;){var D=0;a>1&&(D=e?Q.readBits(B):Qi(m,"IAIT",v));var S=a*w+D,F=e?h.symbolIDTable.decode(Q):Ei(m,v,s),x=t&&(e?Q.readBit():Qi(m,"IARI",v)),R=o[F],G=R[0].length,N=R.length;if(x){var L=Qi(m,"IARDW",v),U=Qi(m,"IARDH",v);R=bi(G+=L,N+=U,I,R,(L>>1)+Qi(m,"IARDX",v),(U>>1)+Qi(m,"IARDY",v),!1,f,C)}var M=0;c?1&u?M=N-1:k+=N-1:u>1?k+=G-1:M=G-1;var J=S-(1&u?0:N-1),H=k-(2&u?G-1:0),Y=void 0,P=void 0,O=void 0;if(c){for(Y=0;Y<N;Y++)if(d=y[H+Y]){O=R[Y];var K=Math.min(r-J,G);switch(l){case 0:for(P=0;P<K;P++)d[J+P]|=O[P];break;case 2:for(P=0;P<K;P++)d[J+P]^=O[P];break;default:throw new hi("operator ".concat(l," is not supported"))}}}else for(P=0;P<N;P++)if(d=y[J+P])switch(O=R[P],l){case 0:for(Y=0;Y<G;Y++)d[H+Y]|=O[Y];break;case 2:for(Y=0;Y<G;Y++)d[H+Y]^=O[Y];break;default:throw new hi("operator ".concat(l," is not supported"))}E++;var T=e?h.tableDeltaS.decode(Q):Qi(m,"IADS",v);if(null===T)break;k+=M+T+g}}return y}function Di(e,t){var r={};r.number=kt(e,t);var A=e[t+4],n=63&A;if(!di[n])throw new hi("invalid segment type: "+n);r.type=n,r.typeName=di[n],r.deferredNonRetain=!!(128&A);var i=!!(64&A),a=e[t+5],o=a>>5&7,s=[31&a],c=t+6;if(7===a){o=536870911&kt(e,c-1),c+=3;var g=o+7>>3;for(s[0]=e[c++];--g>0;)s.push(e[c++])}else if(5===a||6===a)throw new hi("invalid referred-to flags");r.retainBits=s;var u=4;r.number<=256?u=1:r.number<=65536&&(u=2);var l,h,I=[];for(l=0;l<o;l++){var f;f=1===u?e[c]:2===u?bt(e,c):kt(e,c),I.push(f),c+=u}if(r.referredTo=I,i?(r.pageAssociation=kt(e,c),c+=4):r.pageAssociation=e[c++],r.length=kt(e,c),c+=4,4294967295===r.length){if(38!==n)throw new hi("invalid unknown segment length");var C=Fi(e,c),B=!!(1&e[c+xi]),Q=new Uint8Array(6);for(B||(Q[0]=255,Q[1]=172),Q[2]=C.height>>>24&255,Q[3]=C.height>>16&255,Q[4]=C.height>>8&255,Q[5]=255&C.height,l=c,h=e.length;l<h;l++){for(var E=0;E<6&&Q[E]===e[l+E];)E++;if(6===E){r.length=l+6;break}}if(4294967295===r.length)throw new hi("segment end was not found")}return r.headerEnd=c,r}function Si(e,t,r,A){for(var n=[],i=r;i<A;){var a=Di(t,i);i=a.headerEnd;var o={header:a,data:t};if(e.randomAccess||(o.start=i,i+=a.length,o.end=i),n.push(o),51===a.type)break}if(e.randomAccess)for(var s=0,c=n.length;s<c;s++)n[s].start=i,i+=n[s].header.length,n[s].end=i;return n}function Fi(e,t){return{width:kt(e,t),height:kt(e,t+4),x:kt(e,t+8),y:kt(e,t+12),combinationOperator:7&e[t+16]}}var xi=17;function Ri(e,t){var r,A,n,i,a=e.header,o=e.data,s=e.end,c=e.start;switch(a.type){case 0:var g={},u=bt(o,c);if(g.huffman=!!(1&u),g.refinement=!!(2&u),g.huffmanDHSelector=u>>2&3,g.huffmanDWSelector=u>>4&3,g.bitmapSizeSelector=u>>6&1,g.aggregationInstancesSelector=u>>7&1,g.bitmapCodingContextUsed=!!(256&u),g.bitmapCodingContextRetained=!!(512&u),g.template=u>>10&3,g.refinementTemplate=u>>12&1,c+=2,!g.huffman){for(i=0===g.template?4:1,A=[],n=0;n<i;n++)A.push({x:wt(o,c),y:wt(o,c+1)}),c+=2;g.at=A}if(g.refinement&&!g.refinementTemplate){for(A=[],n=0;n<2;n++)A.push({x:wt(o,c),y:wt(o,c+1)}),c+=2;g.refinementAt=A}g.numberOfExportedSymbols=kt(o,c),c+=4,g.numberOfNewSymbols=kt(o,c),c+=4,r=[g,a.number,a.referredTo,o,c,s];break;case 6:case 7:var l={};l.info=Fi(o,c);var h=bt(o,c+=xi);if(c+=2,l.huffman=!!(1&h),l.refinement=!!(2&h),l.logStripSize=h>>2&3,l.stripSize=1<<l.logStripSize,l.referenceCorner=h>>4&3,l.transposed=!!(64&h),l.combinationOperator=h>>7&3,l.defaultPixelValue=h>>9&1,l.dsOffset=h<<17>>27,l.refinementTemplate=h>>15&1,l.huffman){var I=bt(o,c);c+=2,l.huffmanFS=3&I,l.huffmanDS=I>>2&3,l.huffmanDT=I>>4&3,l.huffmanRefinementDW=I>>6&3,l.huffmanRefinementDH=I>>8&3,l.huffmanRefinementDX=I>>10&3,l.huffmanRefinementDY=I>>12&3,l.huffmanRefinementSizeSelector=!!(16384&I)}if(l.refinement&&!l.refinementTemplate){for(A=[],n=0;n<2;n++)A.push({x:wt(o,c),y:wt(o,c+1)}),c+=2;l.refinementAt=A}l.numberOfSymbolInstances=kt(o,c),c+=4,r=[l,a.referredTo,o,c,s];break;case 16:var f={},C=o[c++];f.mmr=!!(1&C),f.template=C>>1&3,f.patternWidth=o[c++],f.patternHeight=o[c++],f.maxPatternIndex=kt(o,c),c+=4,r=[f,a.number,o,c,s];break;case 22:case 23:var B={};B.info=Fi(o,c),c+=xi;var Q=o[c++];B.mmr=!!(1&Q),B.template=Q>>1&3,B.enableSkip=!!(8&Q),B.combinationOperator=Q>>4&7,B.defaultPixelValue=Q>>7&1,B.gridWidth=kt(o,c),c+=4,B.gridHeight=kt(o,c),c+=4,B.gridOffsetX=4294967295&kt(o,c),c+=4,B.gridOffsetY=4294967295&kt(o,c),c+=4,B.gridVectorX=bt(o,c),c+=2,B.gridVectorY=bt(o,c),c+=2,r=[B,a.referredTo,o,c,s];break;case 38:case 39:var E={};E.info=Fi(o,c),c+=xi;var d=o[c++];if(E.mmr=!!(1&d),E.template=d>>1&3,E.prediction=!!(8&d),!E.mmr){for(i=0===E.template?4:1,A=[],n=0;n<i;n++)A.push({x:wt(o,c),y:wt(o,c+1)}),c+=2;E.at=A}r=[E,o,c,s];break;case 48:var y={width:kt(o,c),height:kt(o,c+4),resolutionX:kt(o,c+8),resolutionY:kt(o,c+12)};4294967295===y.height&&delete y.height;var p=o[c+16];bt(o,c+17),y.lossless=!!(1&p),y.refinement=!!(2&p),y.defaultPixelValue=p>>2&1,y.combinationOperator=p>>3&3,y.requiresBuffer=!!(32&p),y.combinationOperatorOverride=!!(64&p),r=[y];break;case 49:case 50:case 51:case 62:break;case 53:r=[a.number,o,c,s];break;default:throw new hi("segment type ".concat(a.typeName,"(").concat(a.type,") is not implemented"))}var v="on"+a.typeName;v in t&&t[v].apply(t,r)}function Gi(e,t){for(var r=0,A=e.length;r<A;r++)Ri(e[r],t)}var Ni=function(){return ai((function e(){si(this,e)}),[{key:"onPageInformation",value:function(e){this.currentPageInfo=e;var t=e.width+7>>3,r=new Uint8ClampedArray(t*e.height);e.defaultPixelValue&&r.fill(255),this.buffer=r}},{key:"drawBitmap",value:function(e,t){var r,A,n,i,a=this.currentPageInfo,o=e.width,s=e.height,c=a.width+7>>3,g=a.combinationOperatorOverride?e.combinationOperator:a.combinationOperator,u=this.buffer,l=128>>(7&e.x),h=e.y*c+(e.x>>3);switch(g){case 0:for(r=0;r<s;r++){for(n=l,i=h,A=0;A<o;A++)t[r][A]&&(u[i]|=n),(n>>=1)||(n=128,i++);h+=c}break;case 2:for(r=0;r<s;r++){for(n=l,i=h,A=0;A<o;A++)t[r][A]&&(u[i]^=n),(n>>=1)||(n=128,i++);h+=c}break;default:throw new hi("operator ".concat(g," is not supported"))}}},{key:"onImmediateGenericRegion",value:function(e,t,r,A){var n=e.info,i=new fi(t,r,A),a=wi(e.mmr,n.width,n.height,e.template,e.prediction,null,e.at,i);this.drawBitmap(n,a)}},{key:"onImmediateLosslessGenericRegion",value:function(){this.onImmediateGenericRegion.apply(this,arguments)}},{key:"onSymbolDictionary",value:function(e,t,r,A,n,i){var a,o;e.huffman&&(a=function(e,t,r){var A,n,i,a=0;switch(e.huffmanDHSelector){case 0:case 1:A=Hi(e.huffmanDHSelector+4);break;case 3:A=Pi(a,t,r),a++;break;default:throw new hi("invalid Huffman DH selector")}switch(e.huffmanDWSelector){case 0:case 1:n=Hi(e.huffmanDWSelector+2);break;case 3:n=Pi(a,t,r),a++;break;default:throw new hi("invalid Huffman DW selector")}return e.bitmapSizeSelector?(i=Pi(a,t,r),a++):i=Hi(1),{tableDeltaHeight:A,tableDeltaWidth:n,tableBitmapSize:i,tableAggregateInstances:e.aggregationInstancesSelector?Pi(a,t,r):Hi(1)}}(e,r,this.customTables),o=new Yi(A,n,i));var s=this.symbols;s||(this.symbols=s={});var c,g=[],u=ri(r);try{for(u.s();!(c=u.n()).done;){var l=s[c.value];l&&g.push.apply(g,ti(l))}}catch(e){u.e(e)}finally{u.f()}var h=new fi(A,n,i);s[t]=function(e,t,r,A,n,i,a,o,s,c,g,u){if(e&&t)throw new hi("symbol refinement with Huffman is not supported");var l,h,I=[],f=0,C=mt(r.length+A),B=g.decoder,Q=g.contextCache;for(e&&(l=Hi(1),h=[],C=Math.max(C,1));I.length<A;){f+=e?i.tableDeltaHeight.decode(u):Qi(Q,"IADH",B);for(var E=0,d=0,y=e?h.length:0;;){var p=e?i.tableDeltaWidth.decode(u):Qi(Q,"IADW",B);if(null===p)break;d+=E+=p;var v=void 0;if(t){var m=Qi(Q,"IAAI",B);if(m>1)v=ki(e,t,E,f,0,m,1,r.concat(I),C,0,0,1,0,i,s,c,g,0,u);else{var w=Ei(Q,B,C),b=Qi(Q,"IARDX",B),k=Qi(Q,"IARDY",B);v=bi(E,f,s,w<r.length?r[w]:I[w-r.length],b,k,!1,c,g)}I.push(v)}else e?h.push(E):(v=wi(!1,E,f,a,!1,null,o,g),I.push(v))}if(e&&!t){var D=i.tableBitmapSize.decode(u);u.byteAlign();var S=void 0;if(0===D)S=Oi(u,d,f);else{var F=u.end,x=u.position+D;u.end=x,S=Ki(u,d,f,!1),u.end=F,u.position=x}var R=h.length;if(y===R-1)I.push(S);else{var G=void 0,N=void 0,L=0,U=void 0,M=void 0;for(G=y;G<R;G++){for(U=L+h[G],M=[],N=0;N<f;N++)M.push(S[N].subarray(L,U));I.push(M),L=U}}}}for(var J,H,Y=[],P=[],O=!1,K=r.length+A;P.length<K;){for(var T=e?l.decode(u):Qi(Q,"IAEX",B);T--;)P.push(O);O=!O}for(J=0,H=r.length;J<H;J++)P[J]&&Y.push(r[J]);for(var q=0;q<A;J++,q++)P[J]&&Y.push(I[q]);return Y}(e.huffman,e.refinement,g,e.numberOfNewSymbols,e.numberOfExportedSymbols,a,e.template,e.at,e.refinementTemplate,e.refinementAt,h,o)}},{key:"onImmediateTextRegion",value:function(e,t,r,A,n){var i,a,o,s=e.info,c=this.symbols,g=[],u=ri(t);try{for(u.s();!(o=u.n()).done;){var l=c[o.value];l&&g.push.apply(g,ti(l))}}catch(e){u.e(e)}finally{u.f()}var h=mt(g.length);e.huffman&&(a=new Yi(r,A,n),i=function(e,t,r,A,n){for(var i=[],a=0;a<=34;a++){var o=n.readBits(4);i.push(new Li([a,o,0,0]))}var s=new Mi(i,!1);i.length=0;for(var c=0;c<A;){var g=s.decode(n);if(g>=32){var u=void 0,l=void 0,h=void 0;switch(g){case 32:if(0===c)throw new hi("no previous value in symbol ID table");l=n.readBits(2)+3,u=i[c-1].prefixLength;break;case 33:l=n.readBits(3)+3,u=0;break;case 34:l=n.readBits(7)+11,u=0;break;default:throw new hi("invalid code length in symbol ID table")}for(h=0;h<l;h++)i.push(new Li([c,u,0,0])),c++}else i.push(new Li([c,g,0,0])),c++}n.byteAlign();var I,f,C,B=new Mi(i,!1),Q=0;switch(e.huffmanFS){case 0:case 1:I=Hi(e.huffmanFS+6);break;case 3:I=Pi(Q,t,r),Q++;break;default:throw new hi("invalid Huffman FS selector")}switch(e.huffmanDS){case 0:case 1:case 2:f=Hi(e.huffmanDS+8);break;case 3:f=Pi(Q,t,r),Q++;break;default:throw new hi("invalid Huffman DS selector")}switch(e.huffmanDT){case 0:case 1:case 2:C=Hi(e.huffmanDT+11);break;case 3:C=Pi(Q,t,r),Q++;break;default:throw new hi("invalid Huffman DT selector")}if(e.refinement)throw new hi("refinement with Huffman is not supported");return{symbolIDTable:B,tableFirstS:I,tableDeltaS:f,tableDeltaT:C}}(e,t,this.customTables,g.length,a));var I=new fi(r,A,n),f=ki(e.huffman,e.refinement,s.width,s.height,e.defaultPixelValue,e.numberOfSymbolInstances,e.stripSize,g,h,e.transposed,e.dsOffset,e.referenceCorner,e.combinationOperator,i,e.refinementTemplate,e.refinementAt,I,e.logStripSize,a);this.drawBitmap(s,f)}},{key:"onImmediateLosslessTextRegion",value:function(){this.onImmediateTextRegion.apply(this,arguments)}},{key:"onPatternDictionary",value:function(e,t,r,A,n){var i=this.patterns;i||(this.patterns=i={});var a=new fi(r,A,n);i[t]=function(e,t,r,A,n,i){var a=[];e||(a.push({x:-t,y:0}),0===n&&a.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));for(var o=wi(e,(A+1)*t,r,n,!1,null,a,i),s=[],c=0;c<=A;c++){for(var g=[],u=t*c,l=u+t,h=0;h<r;h++)g.push(o[h].subarray(u,l));s.push(g)}return s}(e.mmr,e.patternWidth,e.patternHeight,e.maxPatternIndex,e.template,a)}},{key:"onImmediateHalftoneRegion",value:function(e,t,r,A,n){var i=this.patterns[t[0]],a=e.info,o=new fi(r,A,n),s=function(e,t,r,A,n,i,a,o,s,c,g,u,l,h,I){if(a)throw new hi("skip is not supported");if(0!==o)throw new hi('operator "'.concat(o,'" is not supported in halftone region'));var f,C,B,Q=[];for(f=0;f<n;f++){if(B=new Uint8Array(A),i)for(C=0;C<A;C++)B[C]=i;Q.push(B)}var E=t.length,d=t[0],y=d[0].length,p=d.length,v=mt(E),m=[];e||(m.push({x:r<=1?3:2,y:-1}),0===r&&m.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));var w,b,k,D,S,F,x,R,G,N,L,U=[];for(e&&(w=new Yi(I.data,I.start,I.end)),f=v-1;f>=0;f--)b=e?Ki(w,s,c,!0):wi(!1,s,c,r,!1,null,m,I),U[f]=b;for(k=0;k<c;k++)for(D=0;D<s;D++){for(S=0,F=0,C=v-1;C>=0;C--)F|=(S^=U[C][k][D])<<C;if(x=t[F],G=u+k*l-D*h>>8,(R=g+k*h+D*l>>8)>=0&&R+y<=A&&G>=0&&G+p<=n)for(f=0;f<p;f++)for(L=Q[G+f],N=x[f],C=0;C<y;C++)L[R+C]|=N[C];else{var M=void 0,J=void 0;for(f=0;f<p;f++)if(!((J=G+f)<0||J>=n))for(L=Q[J],N=x[f],C=0;C<y;C++)(M=R+C)>=0&&M<A&&(L[M]|=N[C])}}return Q}(e.mmr,i,e.template,a.width,a.height,e.defaultPixelValue,e.enableSkip,e.combinationOperator,e.gridWidth,e.gridHeight,e.gridOffsetX,e.gridOffsetY,e.gridVectorX,e.gridVectorY,o);this.drawBitmap(a,s)}},{key:"onImmediateLosslessHalftoneRegion",value:function(){this.onImmediateHalftoneRegion.apply(this,arguments)}},{key:"onTables",value:function(e,t,r,A){var n=this.customTables;n||(this.customTables=n={}),n[e]=function(e,t,r){var A,n,i=e[t],a=4294967295&kt(e,t+1),o=4294967295&kt(e,t+5),s=new Yi(e,t+9,r),c=1+(i>>1&7),g=1+(i>>4&7),u=[],l=a;do{A=s.readBits(c),n=s.readBits(g),u.push(new Li([l,A,n,0])),l+=1<<n}while(l<o);return A=s.readBits(c),u.push(new Li([a-1,A,32,0,"lower"])),A=s.readBits(c),u.push(new Li([o,A,32,0])),1&i&&(A=s.readBits(c),u.push(new Li([A,0]))),new Mi(u,!1)}(t,r,A)}}])}(),Li=ai((function e(t){si(this,e),2===t.length?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=t[0],this.rangeLength=0,this.prefixCode=t[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=t[0],this.prefixLength=t[1],this.rangeLength=t[2],this.prefixCode=t[3],this.isLowerRange="lower"===t[4])})),Ui=function(){function e(t){si(this,e),this.children=[],t?(this.isLeaf=!0,this.rangeLength=t.rangeLength,this.rangeLow=t.rangeLow,this.isLowerRange=t.isLowerRange,this.isOOB=t.isOOB):this.isLeaf=!1}return ai(e,[{key:"buildTree",value:function(t,r){var A=t.prefixCode>>r&1;if(r<=0)this.children[A]=new e(t);else{var n=this.children[A];n||(this.children[A]=n=new e(null)),n.buildTree(t,r-1)}}},{key:"decodeNode",value:function(e){if(this.isLeaf){if(this.isOOB)return null;var t=e.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-t:t)}var r=this.children[e.readBit()];if(!r)throw new hi("invalid Huffman data");return r.decodeNode(e)}}])}(),Mi=function(){return ai((function e(t,r){si(this,e),r||this.assignPrefixCodes(t),this.rootNode=new Ui(null);for(var A=0,n=t.length;A<n;A++){var i=t[A];i.prefixLength>0&&this.rootNode.buildTree(i,i.prefixLength-1)}}),[{key:"decode",value:function(e){return this.rootNode.decodeNode(e)}},{key:"assignPrefixCodes",value:function(e){for(var t=e.length,r=0,A=0;A<t;A++)r=Math.max(r,e[A].prefixLength);for(var n=new Uint32Array(r+1),i=0;i<t;i++)n[e[i].prefixLength]++;var a,o,s,c=1,g=0;for(n[0]=0;c<=r;){for(a=g=g+n[c-1]<<1,o=0;o<t;)(s=e[o]).prefixLength===c&&(s.prefixCode=a,a++),o++;c++}}}])}(),Ji={};function Hi(e){var t,r=Ji[e];if(r)return r;switch(e){case 1:t=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:t=[[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[75,6,32,62],[6,63]];break;case 3:t=[[-256,8,8,254],[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[-257,8,32,255,"lower"],[75,7,32,126],[6,62]];break;case 4:t=[[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[76,5,32,31]];break;case 5:t=[[-255,7,8,126],[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[-256,7,32,127,"lower"],[76,6,32,62]];break;case 6:t=[[-2048,5,10,28],[-1024,4,9,8],[-512,4,8,9],[-256,4,7,10],[-128,5,6,29],[-64,5,5,30],[-32,4,5,11],[0,2,7,0],[128,3,7,2],[256,3,8,3],[512,4,9,12],[1024,4,10,13],[-2049,6,32,62,"lower"],[2048,6,32,63]];break;case 7:t=[[-1024,4,9,8],[-512,3,8,0],[-256,4,7,9],[-128,5,6,26],[-64,5,5,27],[-32,4,5,10],[0,4,5,11],[32,5,5,28],[64,5,6,29],[128,4,7,12],[256,3,8,1],[512,3,9,2],[1024,3,10,3],[-1025,5,32,30,"lower"],[2048,5,32,31]];break;case 8:t=[[-15,8,3,252],[-7,9,1,508],[-5,8,1,253],[-3,9,0,509],[-2,7,0,124],[-1,4,0,10],[0,2,1,0],[2,5,0,26],[3,6,0,58],[4,3,4,4],[20,6,1,59],[22,4,4,11],[38,4,5,12],[70,5,6,27],[134,5,7,28],[262,6,7,60],[390,7,8,125],[646,6,10,61],[-16,9,32,510,"lower"],[1670,9,32,511],[2,1]];break;case 9:t=[[-31,8,4,252],[-15,9,2,508],[-11,8,2,253],[-7,9,1,509],[-5,7,1,124],[-3,4,1,10],[-1,3,1,2],[1,3,1,3],[3,5,1,26],[5,6,1,58],[7,3,5,4],[39,6,2,59],[43,4,5,11],[75,4,6,12],[139,5,7,27],[267,5,8,28],[523,6,8,60],[779,7,9,125],[1291,6,11,61],[-32,9,32,510,"lower"],[3339,9,32,511],[2,0]];break;case 10:t=[[-21,7,4,122],[-5,8,0,252],[-4,7,0,123],[-3,5,0,24],[-2,2,2,0],[2,5,0,25],[3,6,0,54],[4,7,0,124],[5,8,0,253],[6,2,6,1],[70,5,5,26],[102,6,5,55],[134,6,6,56],[198,6,7,57],[326,6,8,58],[582,6,9,59],[1094,6,10,60],[2118,7,11,125],[-22,8,32,254,"lower"],[4166,8,32,255],[2,2]];break;case 11:t=[[1,1,0,0],[2,2,1,2],[4,4,0,12],[5,4,1,13],[7,5,1,28],[9,5,2,29],[13,6,2,60],[17,7,2,122],[21,7,3,123],[29,7,4,124],[45,7,5,125],[77,7,6,126],[141,7,32,127]];break;case 12:t=[[1,1,0,0],[2,2,0,2],[3,3,1,6],[5,5,0,28],[6,5,1,29],[8,6,1,60],[10,7,0,122],[11,7,1,123],[13,7,2,124],[17,7,3,125],[25,7,4,126],[41,8,5,254],[73,8,32,255]];break;case 13:t=[[1,1,0,0],[2,3,0,4],[3,4,0,12],[4,5,0,28],[5,4,1,13],[7,3,3,5],[15,6,1,58],[17,6,2,59],[21,6,3,60],[29,6,4,61],[45,6,5,62],[77,7,6,126],[141,7,32,127]];break;case 14:t=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:t=[[-24,7,4,124],[-8,6,2,60],[-4,5,1,28],[-2,4,0,12],[-1,3,0,4],[0,1,0,0],[1,3,0,5],[2,4,0,13],[3,5,1,29],[5,6,2,61],[9,7,4,125],[-25,7,32,126,"lower"],[25,7,32,127]];break;default:throw new hi("standard table B.".concat(e," does not exist"))}for(var A=0,n=t.length;A<n;A++)t[A]=new Li(t[A]);return r=new Mi(t,!0),Ji[e]=r,r}var Yi=function(){return ai((function e(t,r,A){si(this,e),this.data=t,this.start=r,this.end=A,this.position=r,this.shift=-1,this.currentByte=0}),[{key:"readBit",value:function(){if(this.shift<0){if(this.position>=this.end)throw new hi("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}var e=this.currentByte>>this.shift&1;return this.shift--,e}},{key:"readBits",value:function(e){var t,r=0;for(t=e-1;t>=0;t--)r|=this.readBit()<<t;return r}},{key:"byteAlign",value:function(){this.shift=-1}},{key:"next",value:function(){return this.position>=this.end?-1:this.data[this.position++]}}])}();function Pi(e,t,r){for(var A=0,n=0,i=t.length;n<i;n++){var a=r[t[n]];if(a){if(e===A)return a;A++}}throw new hi("can't find custom Huffman table")}function Oi(e,t,r){for(var A=[],n=0;n<r;n++){var i=new Uint8Array(t);A.push(i);for(var a=0;a<t;a++)i[a]=e.readBit();e.byteAlign()}return A}function Ki(e,t,r,A){for(var n,i=new vn(e,{K:-1,Columns:t,Rows:r,BlackIs1:!0,EndOfBlock:A}),a=[],o=!1,s=0;s<r;s++){var c=new Uint8Array(t);a.push(c);for(var g=-1,u=0;u<t;u++)g<0&&(-1===(n=i.readNextChar())&&(n=0,o=!0),g=7),c[u]=n>>g&1,g--}if(A&&!o)for(var l=0;l<5&&-1!==i.readNextChar();l++);return a}var Ti=function(){return ai((function e(){si(this,e)}),[{key:"parseChunks",value:function(e){return function(e){for(var t=new Ni,r=0,A=e.length;r<A;r++){var n=e[r];Gi(Si({},n.data,n.start,n.end),t)}return t.buffer}(e)}},{key:"parse",value:function(e){throw new Error("Not implemented: Jbig2Image.parse")}}])}();function qi(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,ji(A.key),A)}}function ji(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Wi(e,t,r){return t=_i(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Zi()?Reflect.construct(t,r||[],_i(e).constructor):t.apply(e,r))}function Zi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Zi=function(){return!!e})()}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_i(e)}function Xi(e,t){return Xi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xi(e,t)}var Vi=function(e){function t(e,r,A){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Wi(this,t,[r])).stream=e,n.dict=e.dict,n.maybeLength=r,n.params=A,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xi(e,t)}(t,XA),r=t,(A=[{key:"bytes",get:function(){return _(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){this.decodeImage()}},{key:"decodeImage",value:function(e){if(this.eof)return this.buffer;e||(e=this.bytes);var t=new Ti,r=[];if(this.params instanceof He){var A=this.params.get("JBIG2Globals");if(A instanceof ze){var n=A.getBytes();r.push({data:n,start:0,end:n.length})}}r.push({data:e,start:0,end:e.length});for(var i=t.parseChunks(r),a=i.length,o=0;o<a;o++)i[o]^=255;return this.buffer=i,this.bufferLength=a,this.eof=!0,this.buffer}},{key:"canAsyncDecodeImageFromBuffer",get:function(){return this.stream.isAsync}}])&&qi(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function zi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function $i(e){var t=e.src,r=e.srcPos,A=void 0===r?0:r,n=e.dest,i=e.width,a=e.height,o=e.nonBlackColor,s=void 0===o?4294967295:o,c=e.inverseDecode,g=void 0!==c&&c,u=se.isLittleEndian?4278190080:255,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return zi(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zi(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(g?[s,u]:[u,s],2),h=l[0],I=l[1],f=i>>3,C=7&i,B=t.length;n=new Uint32Array(n.buffer);for(var Q=0,E=0;E<a;E++){for(var d=A+f;A<d;A++){var y=A<B?t[A]:255;n[Q++]=128&y?I:h,n[Q++]=64&y?I:h,n[Q++]=32&y?I:h,n[Q++]=16&y?I:h,n[Q++]=8&y?I:h,n[Q++]=4&y?I:h,n[Q++]=2&y?I:h,n[Q++]=1&y?I:h}if(0!==C)for(var p=A<B?t[A++]:255,v=0;v<C;v++)n[Q++]=p&1<<7-v?I:h}return{srcPos:A,destPos:Q}}function ea(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return ta(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ta(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function ta(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function ra(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,na(A.key),A)}}function Aa(e,t,r){return t&&ra(e.prototype,t),r&&ra(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function na(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function ia(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aa(e,t,r){return t=sa(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,oa()?Reflect.construct(t,r||[],sa(e).constructor):t.apply(e,r))}function oa(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oa=function(){return!!e})()}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sa(e)}function ca(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ga(e,t)}function ga(e,t){return ga=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ga(e,t)}r(3195);var ua=function(e){function t(e){return ia(this,t),aa(this,t,[e,"JpegError"])}return ca(t,X),Aa(t)}(),la=function(e){function t(e,r){var A;return ia(this,t),(A=aa(this,t,[e,"DNLMarkerError"])).scanLines=r,A}return ca(t,X),Aa(t)}(),ha=function(e){function t(e){return ia(this,t),aa(this,t,[e,"EOIMarkerError"])}return ca(t,X),Aa(t)}(),Ia=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),fa=4017,Ca=799,Ba=3406,Qa=2276,Ea=1567,da=3784,ya=5793,pa=2896;function va(e,t){for(var r,A,n=0,i=16;i>0&&!e[i-1];)i--;var a,o=[{children:[],index:0}],s=o[0];for(r=0;r<i;r++){for(A=0;A<e[r];A++){for((s=o.pop()).children[s.index]=t[n];s.index>0;)s=o.pop();for(s.index++,o.push(s);o.length<=r;)o.push(a={children:[],index:0}),s.children[s.index]=a.children,s=a;n++}r+1<i&&(o.push(a={children:[],index:0}),s.children[s.index]=a.children,s=a)}return o[0].children}function ma(e,t,r){return 64*((e.blocksPerLine+1)*t+r)}function wa(e,t,r,A,n,i,a,o,s){var c=arguments.length>9&&void 0!==arguments[9]&&arguments[9],g=r.mcusPerLine,u=r.progressive,l=t,h=0,I=0;function f(){if(I>0)return I--,h>>I&1;if(255===(h=e[t++])){var A=e[t++];if(A){if(220===A&&c){var n=bt(e,t+=2);if(t+=2,n>0&&n!==r.scanLines)throw new la("Found DNL marker (0xFFDC) while parsing scan data",n)}else if(217===A){if(c){var i=p*(8===r.precision?8:0);if(i>0&&Math.round(r.scanLines/i)>=5)throw new la("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect \`scanLines\` parameter",i)}throw new ha("Found EOI marker (0xFFD9) while parsing scan data")}throw new ua("unexpected marker ".concat((h<<8|A).toString(16)))}}return I=7,h>>>7}function C(e){for(var t=e;;){switch(typeof(t=t[f()])){case"number":return t;case"object":continue}throw new ua("invalid huffman sequence")}}function B(e){for(var t=0;e>0;)t=t<<1|f(),e--;return t}function Q(e){if(1===e)return 1===f()?1:-1;var t=B(e);return t>=1<<e-1?t:t+(-1<<e)+1}var E,d=0,y=0,p=0;function v(e,t,r,A,n){var i=r%g;p=(r/g|0)*e.v+A;var a=i*e.h+n;t(e,ma(e,p,a))}function m(e,t,r){p=r/e.blocksPerLine|0;var A=r%e.blocksPerLine;t(e,ma(e,p,A))}var w,b,k,D,S,F,x=A.length;F=u?0===i?0===o?function(e,t){var r=C(e.huffmanTableDC),A=0===r?0:Q(r)<<s;e.blockData[t]=e.pred+=A}:function(e,t){e.blockData[t]|=f()<<s}:0===o?function(e,t){if(d>0)d--;else for(var r=i,A=a;r<=A;){var n=C(e.huffmanTableAC),o=15&n,c=n>>4;if(0!==o){var g=Ia[r+=c];e.blockData[t+g]=Q(o)*(1<<s),r++}else{if(c<15){d=B(c)+(1<<c)-1;break}r+=16}}}:function(e,t){for(var r,A,n=i,o=a,c=0;n<=o;){var g=t+Ia[n],u=e.blockData[g]<0?-1:1;switch(y){case 0:if(c=(A=C(e.huffmanTableAC))>>4,0==(r=15&A))c<15?(d=B(c)+(1<<c),y=4):(c=16,y=1);else{if(1!==r)throw new ua("invalid ACn encoding");E=Q(r),y=c?2:3}continue;case 1:case 2:e.blockData[g]?e.blockData[g]+=u*(f()<<s):0==--c&&(y=2===y?3:0);break;case 3:e.blockData[g]?e.blockData[g]+=u*(f()<<s):(e.blockData[g]=E<<s,y=0);break;case 4:e.blockData[g]&&(e.blockData[g]+=u*(f()<<s))}n++}4===y&&0==--d&&(y=0)}:function(e,t){var r=C(e.huffmanTableDC),A=0===r?0:Q(r);e.blockData[t]=e.pred+=A;for(var n=1;n<64;){var i=C(e.huffmanTableAC),a=15&i,o=i>>4;if(0!==a){var s=Ia[n+=o];e.blockData[t+s]=Q(a),n++}else{if(o<15)break;n+=16}}};for(var R,G,N,L=0,U=1===x?A[0].blocksPerLine*A[0].blocksPerColumn:g*r.mcusPerColumn;L<=U;){var M=n?Math.min(U-L,n):U;if(M>0){for(b=0;b<x;b++)A[b].pred=0;if(d=0,1===x)for(w=A[0],S=0;S<M;S++)m(w,F,L),L++;else for(S=0;S<M;S++){for(b=0;b<x;b++)for(G=(w=A[b]).h,N=w.v,k=0;k<N;k++)for(D=0;D<G;D++)v(w,F,L,k,D);L++}}if(I=0,!(R=Da(e,t)))break;if(R.invalid&&(q("decodeScan - ".concat(M>0?"unexpected":"excessive"," MCU data, current marker is: ").concat(R.invalid)),t=R.offset),!(R.marker>=65488&&R.marker<=65495))break;t+=2}return t-l}function ba(e,t,r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d=e.quantizationTable,y=e.blockData;if(!d)throw new ua("missing required Quantization Table.");for(var p=0;p<64;p+=8)u=y[t+p],l=y[t+p+1],h=y[t+p+2],I=y[t+p+3],f=y[t+p+4],C=y[t+p+5],B=y[t+p+6],Q=y[t+p+7],u*=d[p],0!=(l|h|I|f|C|B|Q)?(l*=d[p+1],h*=d[p+2],I*=d[p+3],f*=d[p+4],C*=d[p+5],B*=d[p+6],Q*=d[p+7],n=(A=(A=ya*u+128>>8)+(n=ya*f+128>>8)+1>>1)-n,E=(i=h)*da+(a=B)*Ea+128>>8,i=i*Ea-a*da+128>>8,c=(o=(o=pa*(l-Q)+128>>8)+(c=C<<4)+1>>1)-c,s=(g=(g=pa*(l+Q)+128>>8)+(s=I<<4)+1>>1)-s,a=(A=A+(a=E)+1>>1)-a,i=(n=n+i+1>>1)-i,E=o*Qa+g*Ba+2048>>12,o=o*Ba-g*Qa+2048>>12,g=E,E=s*Ca+c*fa+2048>>12,s=s*fa-c*Ca+2048>>12,c=E,r[p]=A+g,r[p+7]=A-g,r[p+1]=n+c,r[p+6]=n-c,r[p+2]=i+s,r[p+5]=i-s,r[p+3]=a+o,r[p+4]=a-o):(E=ya*u+512>>10,r[p]=E,r[p+1]=E,r[p+2]=E,r[p+3]=E,r[p+4]=E,r[p+5]=E,r[p+6]=E,r[p+7]=E);for(var v=0;v<8;++v)u=r[v],0!=((l=r[v+8])|(h=r[v+16])|(I=r[v+24])|(f=r[v+32])|(C=r[v+40])|(B=r[v+48])|(Q=r[v+56]))?(n=(A=4112+((A=ya*u+2048>>12)+(n=ya*f+2048>>12)+1>>1))-n,E=(i=h)*da+(a=B)*Ea+2048>>12,i=i*Ea-a*da+2048>>12,a=E,c=(o=(o=pa*(l-Q)+2048>>12)+(c=C)+1>>1)-c,s=(g=(g=pa*(l+Q)+2048>>12)+(s=I)+1>>1)-s,E=o*Qa+g*Ba+2048>>12,o=o*Ba-g*Qa+2048>>12,g=E,E=s*Ca+c*fa+2048>>12,s=s*fa-c*Ca+2048>>12,(u=(A=A+a+1>>1)+g)<16?u=0:u>=4080?u=255:u>>=4,(l=(n=n+i+1>>1)+(c=E))<16?l=0:l>=4080?l=255:l>>=4,(h=(i=n-i)+s)<16?h=0:h>=4080?h=255:h>>=4,(I=(a=A-a)+o)<16?I=0:I>=4080?I=255:I>>=4,(f=a-o)<16?f=0:f>=4080?f=255:f>>=4,(C=i-s)<16?C=0:C>=4080?C=255:C>>=4,(B=n-c)<16?B=0:B>=4080?B=255:B>>=4,(Q=A-g)<16?Q=0:Q>=4080?Q=255:Q>>=4,y[t+v]=u,y[t+v+8]=l,y[t+v+16]=h,y[t+v+24]=I,y[t+v+32]=f,y[t+v+40]=C,y[t+v+48]=B,y[t+v+56]=Q):(E=(E=ya*u+8192>>14)<-2040?0:E>=2024?255:E+2056>>4,y[t+v]=E,y[t+v+8]=E,y[t+v+16]=E,y[t+v+24]=E,y[t+v+32]=E,y[t+v+40]=E,y[t+v+48]=E,y[t+v+56]=E)}function ka(e,t){for(var r=t.blocksPerLine,A=t.blocksPerColumn,n=new Int16Array(64),i=0;i<A;i++)for(var a=0;a<r;a++)ba(t,ma(t,i,a),n);return t.blockData}function Da(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,A=e.length-1,n=r<t?r:t;if(t>=A)return null;var i=bt(e,t);if(i>=65472&&i<=65534)return{invalid:null,marker:i,offset:t};for(var a=bt(e,n);!(a>=65472&&a<=65534);){if(++n>=A)return null;a=bt(e,n)}return{invalid:i.toString(16),marker:a,offset:n}}var Sa=function(){return Aa((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.decodeTransform,A=void 0===r?null:r,n=t.colorTransform,i=void 0===n?-1:n;ia(this,e),this._decodeTransform=A,this._colorTransform=i}),[{key:"parse",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).dnlScanLines,r=void 0===t?null:t;function A(){var t=bt(e,o),r=(o+=2)+t-2,A=Da(e,r,o);null!=A&&A.invalid&&(q("readDataBlock - incorrect length, current marker is: "+A.invalid),r=A.offset);var n=e.subarray(o,r);return o+=n.length,n}function n(e){var t,r=Math.ceil(e.samplesPerLine/8/e.maxH),A=Math.ceil(e.scanLines/8/e.maxV),n=ea(e.components);try{for(n.s();!(t=n.n()).done;){var i=t.value,a=Math.ceil(Math.ceil(e.samplesPerLine/8)*i.h/e.maxH),o=Math.ceil(Math.ceil(e.scanLines/8)*i.v/e.maxV),s=r*i.h,c=A*i.v*64*(s+1);i.blockData=new Int16Array(c),i.blocksPerLine=a,i.blocksPerColumn=o}}catch(e){n.e(e)}finally{n.f()}e.mcusPerLine=r,e.mcusPerColumn=A}var i,a,o=0,s=null,c=null,g=0,u=[],l=[],h=[],I=bt(e,o);if(o+=2,65496!==I)throw new ua("SOI not found");I=bt(e,o),o+=2;e:for(;65497!==I;){var f=void 0,C=void 0,B=void 0;switch(I){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var Q=A();65504===I&&74===Q[0]&&70===Q[1]&&73===Q[2]&&70===Q[3]&&0===Q[4]&&(s={version:{major:Q[5],minor:Q[6]},densityUnits:Q[7],xDensity:Q[8]<<8|Q[9],yDensity:Q[10]<<8|Q[11],thumbWidth:Q[12],thumbHeight:Q[13],thumbData:Q.subarray(14,14+3*Q[12]*Q[13])}),65518===I&&65===Q[0]&&100===Q[1]&&111===Q[2]&&98===Q[3]&&101===Q[4]&&(c={version:Q[5]<<8|Q[6],flags0:Q[7]<<8|Q[8],flags1:Q[9]<<8|Q[10],transformCode:Q[11]});break;case 65499:for(var E=bt(e,o)+(o+=2)-2;o<E;){var d=e[o++],y=new Uint16Array(64);if(d>>4==0)for(C=0;C<64;C++)y[Ia[C]]=e[o++];else{if(d>>4!=1)throw new ua("DQT - invalid table spec");for(C=0;C<64;C++)y[Ia[C]]=bt(e,o),o+=2}u[15&d]=y}break;case 65472:case 65473:case 65474:if(i)throw new ua("Only single frame JPEGs supported");o+=2,(i={}).extended=65473===I,i.progressive=65474===I,i.precision=e[o++];var p=bt(e,o);o+=2,i.scanLines=r||p,i.samplesPerLine=bt(e,o),o+=2,i.components=[],i.componentIds={};var v=e[o++],m=0,w=0;for(f=0;f<v;f++){var b=e[o],k=e[o+1]>>4,D=15&e[o+1];m<k&&(m=k),w<D&&(w=D);var S=e[o+2];B=i.components.push({h:k,v:D,quantizationId:S,quantizationTable:null}),i.componentIds[b]=B-1,o+=3}i.maxH=m,i.maxV=w,n(i);break;case 65476:var F=bt(e,o);for(o+=2,f=2;f<F;){var x=e[o++],R=new Uint8Array(16),G=0;for(C=0;C<16;C++,o++)G+=R[C]=e[o];var N=new Uint8Array(G);for(C=0;C<G;C++,o++)N[C]=e[o];f+=17+G,(x>>4==0?h:l)[15&x]=va(R,N)}break;case 65501:a=bt(e,o+=2),o+=2;break;case 65498:var L=1==++g&&!r;o+=2;var U=e[o++],M=[];for(f=0;f<U;f++){var J=e[o++],H=i.componentIds[J],Y=i.components[H];Y.index=J;var P=e[o++];Y.huffmanTableDC=h[P>>4],Y.huffmanTableAC=l[15&P],M.push(Y)}var O=e[o++],K=e[o++],T=e[o++];try{var j=wa(e,o,i,M,a,O,K,T>>4,15&T,L);o+=j}catch(t){if(t instanceof la)return q("".concat(t.message," -- attempting to re-parse the JPEG image.")),this.parse(e,{dnlScanLines:t.scanLines});if(t instanceof ha){q("".concat(t.message," -- ignoring the rest of the image data."));break e}throw t}break;case 65500:o+=4;break;case 65535:255!==e[o]&&o--;break;default:var W=Da(e,o-2,o-3);if(null!=W&&W.invalid){q("JpegImage.parse - unexpected data, current marker is: "+W.invalid),o=W.offset;break}if(!W||o>=e.length-1){q("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new ua("JpegImage.parse - unknown marker: "+I.toString(16))}I=bt(e,o),o+=2}if(!i)throw new ua("JpegImage.parse - no frame data found.");this.width=i.samplesPerLine,this.height=i.scanLines,this.jfif=s,this.adobe=c,this.components=[];var Z,_=ea(i.components);try{for(_.s();!(Z=_.n()).done;){var X=Z.value,V=u[X.quantizationId];V&&(X.quantizationTable=V),this.components.push({index:X.index,output:ka(0,X),scaleX:X.h/i.maxH,scaleY:X.v/i.maxV,blocksPerLine:X.blocksPerLine,blocksPerColumn:X.blocksPerColumn})}}catch(e){_.e(e)}finally{_.f()}this.numComponents=this.components.length}},{key:"_getLinearizedBlockData",value:function(e,t){var r,A,n,i,a,o,s,c,g,u,l,h,I=arguments.length>2&&void 0!==arguments[2]&&arguments[2],f=this.width/e,C=this.height/t,B=0,Q=this.components.length,E=e*t*Q,d=new Uint8ClampedArray(E),y=new Uint32Array(e),p=4294967288;for(s=0;s<Q;s++){if(A=(r=this.components[s]).scaleX*f,n=r.scaleY*C,B=s,l=r.output,i=r.blocksPerLine+1<<3,A!==h){for(a=0;a<e;a++)c=0|a*A,y[a]=(c&p)<<3|7&c;h=A}for(o=0;o<t;o++)for(u=i*((c=0|o*n)&p)|(7&c)<<3,a=0;a<e;a++)d[B]=l[u+y[a]],B+=Q}var v=this._decodeTransform;if(I||4!==Q||v||(v=new Int32Array([-256,255,-256,255,-256,255,-256,255])),v)for(s=0;s<E;)for(c=0,g=0;c<Q;c++,s++,g+=2)d[s]=(d[s]*v[g]>>8)+v[g+1];return d}},{key:"_isColorConversionNeeded",get:function(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this._colorTransform&&(82!==this.components[0].index||71!==this.components[1].index||66!==this.components[2].index):1===this._colorTransform}},{key:"_convertYccToRgb",value:function(e){for(var t,r,A,n=0,i=e.length;n<i;n+=3)t=e[n],r=e[n+1],A=e[n+2],e[n]=t-179.456+1.402*A,e[n+1]=t+135.459-.344*r-.714*A,e[n+2]=t-226.816+1.772*r;return e}},{key:"_convertYccToRgba",value:function(e,t){for(var r=0,A=0,n=e.length;r<n;r+=3,A+=4){var i=e[r],a=e[r+1],o=e[r+2];t[A]=i-179.456+1.402*o,t[A+1]=i+135.459-.344*a-.714*o,t[A+2]=i-226.816+1.772*a,t[A+3]=255}return t}},{key:"_convertYcckToRgb",value:function(e){for(var t,r,A,n,i=0,a=0,o=e.length;a<o;a+=4)t=e[a],r=e[a+1],A=e[a+2],n=e[a+3],e[i++]=r*(-660635669420364e-19*r+.000437130475926232*A-54080610064599e-18*t+.00048449797120281*n-.154362151871126)-122.67195406894+A*(-.000957964378445773*A+.000817076911346625*t-.00477271405408747*n+1.53380253221734)+t*(.000961250184130688*t-.00266257332283933*n+.48357088451265)+n*(-.000336197177618394*n+.484791561490776),e[i++]=107.268039397724+r*(219927104525741e-19*r-.000640992018297945*A+.000659397001245577*t+.000426105652938837*n-.176491792462875)+A*(-.000778269941513683*A+.00130872261408275*t+.000770482631801132*n-.151051492775562)+t*(.00126935368114843*t-.00265090189010898*n+.25802910206845)+n*(-.000318913117588328*n-.213742400323665),e[i++]=r*(-.000570115196973677*r-263409051004589e-19*A+.0020741088115012*t-.00288260236853442*n+.814272968359295)-20.810012546947+A*(-153496057440975e-19*A-.000132689043961446*t+.000560833691242812*n-.195152027534049)+t*(.00174418132927582*t-.00255243321439347*n+.116935020465145)+n*(-.000343531996510555*n+.24165260232407);return e.subarray(0,i)}},{key:"_convertYcckToRgba",value:function(e){for(var t=0,r=e.length;t<r;t+=4){var A=e[t],n=e[t+1],i=e[t+2],a=e[t+3];e[t]=n*(-660635669420364e-19*n+.000437130475926232*i-54080610064599e-18*A+.00048449797120281*a-.154362151871126)-122.67195406894+i*(-.000957964378445773*i+.000817076911346625*A-.00477271405408747*a+1.53380253221734)+A*(.000961250184130688*A-.00266257332283933*a+.48357088451265)+a*(-.000336197177618394*a+.484791561490776),e[t+1]=107.268039397724+n*(219927104525741e-19*n-.000640992018297945*i+.000659397001245577*A+.000426105652938837*a-.176491792462875)+i*(-.000778269941513683*i+.00130872261408275*A+.000770482631801132*a-.151051492775562)+A*(.00126935368114843*A-.00265090189010898*a+.25802910206845)+a*(-.000318913117588328*a-.213742400323665),e[t+2]=n*(-.000570115196973677*n-263409051004589e-19*i+.0020741088115012*A-.00288260236853442*a+.814272968359295)-20.810012546947+i*(-153496057440975e-19*i-.000132689043961446*A+.000560833691242812*a-.195152027534049)+A*(.00174418132927582*A-.00255243321439347*a+.116935020465145)+a*(-.000343531996510555*a+.24165260232407),e[t+3]=255}return e}},{key:"_convertYcckToCmyk",value:function(e){for(var t,r,A,n=0,i=e.length;n<i;n+=4)t=e[n],r=e[n+1],A=e[n+2],e[n]=434.456-t-1.402*A,e[n+1]=119.541-t+.344*r+.714*A,e[n+2]=481.816-t-1.772*r;return e}},{key:"_convertCmykToRgb",value:function(e){for(var t,r,A,n,i=0,a=0,o=e.length;a<o;a+=4)t=e[a],r=e[a+1],A=e[a+2],n=e[a+3],e[i++]=255+t*(-6747147073602441e-20*t+.0008379262121013727*r+.0002894718188643294*A+.003264231057537806*n-1.1185611867203937)+r*(26374107616089405e-21*r-8626949158638572e-20*A-.0002748769067499491*n-.02155688794978967)+A*(-3878099212869363e-20*A-.0003267808279485286*n+.0686742238595345)-n*(.0003361971776183937*n+.7430659151342254),e[i++]=255+t*(.00013596372813588848*t+.000924537132573585*r+.00010567359618683593*A+.0004791864687436512*n-.3109689587515875)+r*(-.00023545346108370344*r+.0002702845253534714*A+.0020200308977307156*n-.7488052167015494)+A*(6834815998235662e-20*A+.00015168452363460973*n-.09751927774728933)-n*(.0003189131175883281*n+.7364883807733168),e[i++]=255+t*(13598650411385307e-21*t+.00012423956175490851*r+.0004751985097583589*A-36729317476630422e-22*n-.05562186980264034)+r*(.00016141380598724676*r+.0009692239130725186*A+.0007782692450036253*n-.44015232367526463)+A*(5.068882914068769e-7*A+.0017778369011375071*n-.7591454649749609)-n*(.0003435319965105553*n+.7063770186160144);return e.subarray(0,i)}},{key:"_convertCmykToRgba",value:function(e){for(var t=0,r=e.length;t<r;t+=4){var A=e[t],n=e[t+1],i=e[t+2],a=e[t+3];e[t]=255+A*(-6747147073602441e-20*A+.0008379262121013727*n+.0002894718188643294*i+.003264231057537806*a-1.1185611867203937)+n*(26374107616089405e-21*n-8626949158638572e-20*i-.0002748769067499491*a-.02155688794978967)+i*(-3878099212869363e-20*i-.0003267808279485286*a+.0686742238595345)-a*(.0003361971776183937*a+.7430659151342254),e[t+1]=255+A*(.00013596372813588848*A+.000924537132573585*n+.00010567359618683593*i+.0004791864687436512*a-.3109689587515875)+n*(-.00023545346108370344*n+.0002702845253534714*i+.0020200308977307156*a-.7488052167015494)+i*(6834815998235662e-20*i+.00015168452363460973*a-.09751927774728933)-a*(.0003189131175883281*a+.7364883807733168),e[t+2]=255+A*(13598650411385307e-21*A+.00012423956175490851*n+.0004751985097583589*i-36729317476630422e-22*a-.05562186980264034)+n*(.00016141380598724676*n+.0009692239130725186*i+.0007782692450036253*a-.44015232367526463)+i*(5.068882914068769e-7*i+.0017778369011375071*a-.7591454649749609)-a*(.0003435319965105553*a+.7063770186160144),e[t+3]=255}return e}},{key:"getData",value:function(e){var t=e.width,r=e.height,A=e.forceRGBA,n=void 0!==A&&A,i=e.forceRGB,a=void 0!==i&&i,o=e.isSourcePDF,s=void 0!==o&&o;if(this.numComponents>4)throw new ua("Unsupported color mode");var c=this._getLinearizedBlockData(t,r,s);if(1===this.numComponents&&(n||a)){var g=c.length*(n?4:3),u=new Uint8ClampedArray(g),l=0;if(n)!function(e,t){if(se.isLittleEndian)for(var r=0,A=e.length;r<A;r++)t[r]=65793*e[r]|4278190080;else for(var n=0,i=e.length;n<i;n++)t[n]=16843008*e[n]|255}(c,new Uint32Array(u.buffer));else{var h,I=ea(c);try{for(I.s();!(h=I.n()).done;){var f=h.value;u[l++]=f,u[l++]=f,u[l++]=f}}catch(e){I.e(e)}finally{I.f()}}return u}if(3===this.numComponents&&this._isColorConversionNeeded){if(n){var C=new Uint8ClampedArray(c.length/3*4);return this._convertYccToRgba(c,C)}return this._convertYccToRgb(c)}if(4===this.numComponents){if(this._isColorConversionNeeded)return n?this._convertYcckToRgba(c):a?this._convertYcckToRgb(c):this._convertYcckToCmyk(c);if(n)return this._convertCmykToRgba(c);if(a)return this._convertCmykToRgb(c)}return c}}])}();function Fa(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,xa(A.key),A)}}function xa(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Ra(e,t,r){return t=Na(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ga()?Reflect.construct(t,r||[],Na(e).constructor):t.apply(e,r))}function Ga(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ga=function(){return!!e})()}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Na(e)}function La(e,t){return La=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},La(e,t)}var Ua,Ma,Ja=function(e){function t(e,r,A){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Ra(this,t,[r])).stream=e,n.dict=e.dict,n.maybeLength=r,n.params=A,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&La(e,t)}(t,XA),r=t,(A=[{key:"bytes",get:function(){return _(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){this.decodeImage()}},{key:"decodeImage",value:function(e){if(this.eof)return this.buffer;e||(e=this.bytes);for(var t=0,r=e.length-1;t<r;t++)if(255===e[t]&&216===e[t+1]){t>0&&(e=e.subarray(t));break}var A={decodeTransform:void 0,colorTransform:void 0},n=this.dict.getArray("D","Decode");if((this.forceRGBA||this.forceRGB)&&Array.isArray(n)){for(var i=this.dict.get("BPC","BitsPerComponent")||8,a=n.length,o=new Int32Array(a),s=!1,c=(1<<i)-1,g=0;g<a;g+=2)o[g]=256*(n[g+1]-n[g])|0,o[g+1]=n[g]*c|0,256===o[g]&&0===o[g+1]||(s=!0);s&&(A.decodeTransform=o)}if(this.params instanceof He){var u=this.params.get("ColorTransform");Number.isInteger(u)&&(A.colorTransform=u)}var l=new Sa(A);l.parse(e);var h=l.getData({width:this.drawWidth,height:this.drawHeight,forceRGBA:this.forceRGBA,forceRGB:this.forceRGB,isSourcePDF:!0});return this.buffer=h,this.bufferLength=h.length,this.eof=!0,this.buffer}},{key:"canAsyncDecodeImageFromBuffer",get:function(){return this.stream.isAsync}}])&&Fa(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}(),Ha=(r(3177),r(6473),r(6625),r(4967),r(6403),r(3355),Ma="undefined"!=typeof document?null===(Ua=document.currentScript)||void 0===Ua?void 0:Ua.src:void 0,function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};new Promise((function(r,A){e=r,t=A})),r.decode=function(e,t){var A=t.numComponents,n=void 0===A?4:A,i=t.isIndexedColormap,a=void 0!==i&&i,o=t.smaskInData,s=void 0!==o&&o,c=e.length,g=r._malloc(c);r.HEAPU8.set(e,g);var u=r._jp2_decode(g,c,n>0?n:0,!!a,!!s);if(r._free(g),u){var l=r.errorMessages;return l?(delete r.errorMessages,l):"Unknown error"}var h=r.imageData;return r.imageData=null,h};var A=Object.assign({},r),n="./this.program",i="";"undefined"!=typeof document&&document.currentScript&&(i=document.currentScript.src),Ma&&(i=Ma),i=i.startsWith("blob:")?"":i.substr(0,i.replace(/[?#].*/,"").lastIndexOf("/")+1);var a,o,s,c,g,u=r.print||console.log.bind(console),l=r.printErr||console.error.bind(console);function h(){var e=o.buffer;r.HEAP8=s=new Int8Array(e),r.HEAP16=new Int16Array(e),r.HEAPU8=c=new Uint8Array(e),r.HEAPU16=new Uint16Array(e),r.HEAP32=new Int32Array(e),r.HEAPU32=g=new Uint32Array(e),r.HEAPF32=new Float32Array(e),r.HEAPF64=new Float64Array(e)}Object.assign(r,A),A=null,r.arguments&&r.arguments,r.thisProgram&&(n=r.thisProgram),r.quit&&r.quit,r.wasmBinary&&(a=r.wasmBinary);var I,f=[],C=[],B=[],Q=0,E=null,d=null,y="data:application/octet-stream;base64,",p=function(e){return e.startsWith(y)};function v(e,t){var r,A=function(e){if(e==I&&a)return new Uint8Array(a);var t=function(e){if(p(e))return function(e){for(var t=atob(e),r=new Uint8Array(t.length),A=0;A<t.length;++A)r[A]=t.charCodeAt(A);return r}(e.slice(y.length))}(e);if(t)return t;throw'sync fetching of the wasm failed: you can preload it to Module["wasmBinary"] manually, or emcc.py will do that for you when generating HTML (but not JS)'}(e);return r=new WebAssembly.Module(A),[new WebAssembly.Instance(r,t),r]}var m=function(e){for(;e.length>0;)e.shift()(r)};r.noExitRuntime;var w,b=function(e){var t=(e-o.buffer.byteLength+65535)/65536;try{return o.grow(t),h(),1}catch(e){}},k={},D=function(){if(!D.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:n||"./this.program"};for(var t in k)void 0===k[t]?delete e[t]:e[t]=k[t];var r=[];for(var t in e)r.push("".concat(t,"=").concat(e[t]));D.strings=r}return D.strings},S=[null,[],[]],F="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,x=function(e,t,r){for(var A=t+r,n=t;e[n]&&!(n>=A);)++n;if(n-t>16&&e.buffer&&F)return F.decode(e.subarray(t,n));for(var i="";t<n;){var a=e[t++];if(128&a){var o=63&e[t++];if(192!=(224&a)){var s=63&e[t++];if((a=224==(240&a)?(15&a)<<12|o<<6|s:(7&a)<<18|o<<12|s<<6|63&e[t++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|o)}else i+=String.fromCharCode(a)}return i},R=function(e,t){return e?x(c,e,t):""},G={c:function(e,t,r){return c.copyWithin(e,t,t+r)},g:function(e,t){e>>=2;var A=r.imageData=new Uint8ClampedArray(t),n=r.HEAP32.subarray(e,e+t);A.set(n)},f:function(e,t,A,n){e>>=2,t>>=2,A>>=2;for(var i=r.imageData=new Uint8ClampedArray(3*n),a=r.HEAP32.subarray(e,e+n),o=r.HEAP32.subarray(t,t+n),s=r.HEAP32.subarray(A,A+n),c=0;c<n;c++)i[3*c]=a[c],i[3*c+1]=o[c],i[3*c+2]=s[c]},e:function(e,t,A,n,i){e>>=2,t>>=2,A>>=2,n>>=2;for(var a=r.imageData=new Uint8ClampedArray(4*i),o=r.HEAP32.subarray(e,e+i),s=r.HEAP32.subarray(t,t+i),c=r.HEAP32.subarray(A,A+i),g=r.HEAP32.subarray(n,n+i),u=0;u<i;u++)a[4*u]=o[u],a[4*u+1]=s[u],a[4*u+2]=c[u],a[4*u+3]=g[u]},k:function(e){var t=c.length,r=2147483648;if((e>>>=0)>r)return!1;for(var A,n=1;n<=4;n*=2){var i=t*(1+.2/n);i=Math.min(i,e+100663296);var a=Math.min(r,(A=Math.max(e,i))+(65536-A%65536)%65536);if(b(a))return!0}return!1},l:function(e,t){var r=0;return D().forEach((function(A,n){var i=t+r;g[e+4*n>>2]=i,function(e,t){for(var r=0;r<e.length;++r)s[t++]=e.charCodeAt(r);s[t]=0}(A,i),r+=A.length+1})),0},m:function(e,t){var r=D();g[e>>2]=r.length;var A=0;return r.forEach((function(e){return A+=e.length+1})),g[t>>2]=A,0},n:function(e){return 52},j:function(e,t,r,A,n){return 70},b:function(e,t,r,A){for(var n,i,a,o=0,s=0;s<r;s++){var h=g[t>>2],I=g[t+4>>2];t+=8;for(var f=0;f<I;f++)n=e,i=c[h+f],a=void 0,a=S[n],0===i||10===i?((1===n?u:l)(x(a,0)),a.length=0):a.push(i);o+=I}return g[A>>2]=o,0},o:function(e,t){e>>=2;for(var A=r.imageData=new Uint8ClampedArray(4*t),n=r.HEAP32.subarray(e,e+t),i=0;i<t;i++)A[4*i]=A[4*i+1]=A[4*i+2]=n[i],A[4*i+3]=255},i:function(e,t,A){e>>=2,t>>=2;for(var n=r.imageData=new Uint8ClampedArray(4*A),i=r.HEAP32.subarray(e,e+A),a=r.HEAP32.subarray(t,t+A),o=0;o<A;o++)n[4*o]=n[4*o+1]=n[4*o+2]=i[o],n[4*o+3]=a[o]},d:function(e){var t=R(e);(r.warn||console.warn)("OpenJPEG: ".concat(t))},h:function(e,t,A,n){e>>=2,t>>=2,A>>=2;for(var i=r.imageData=new Uint8ClampedArray(4*n),a=r.HEAP32.subarray(e,e+n),o=r.HEAP32.subarray(t,t+n),s=r.HEAP32.subarray(A,A+n),c=0;c<n;c++)i[4*c]=a[c],i[4*c+1]=o[c],i[4*c+2]=s[c],i[4*c+3]=255},a:function(e){var t=R(e);r.errorMessages?r.errorMessages+="\\n"+t:r.errorMessages=t}},N=function(){var e,A={a:G};function n(e,t){var A;return N=e.exports,o=N.p,h(),A=N.q,C.unshift(A),function(e){var t;if(Q--,null===(t=r.monitorRunDependencies)||void 0===t||t.call(r,Q),0==Q&&(null!==E&&(clearInterval(E),E=null),d)){var A=d;d=null,A()}}(),N}if(Q++,null===(e=r.monitorRunDependencies)||void 0===e||e.call(r,Q),r.instantiateWasm)try{return r.instantiateWasm(A,n)}catch(e){l("Module.instantiateWasm callback failed with error: ".concat(e)),t(e)}return I||(I="data:application/octet-stream;base64,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A0kNAAsLAkAgA0F8cSIEQcAASQ0AIAIgBEFAaiIFSw0AA0AgAiABKAIANgIAIAIgASgCBDYCBCACIAEoAgg2AgggAiABKAIMNgIMIAIgASgCEDYCECACIAEoAhQ2AhQgAiABKAIYNgIYIAIgASgCHDYCHCACIAEoAiA2AiAgAiABKAIkNgIkIAIgASgCKDYCKCACIAEoAiw2AiwgAiABKAIwNgIwIAIgASgCNDYCNCACIAEoAjg2AjggAiABKAI8NgI8IAFBQGshASACQUBrIgIgBU0NAAsLIAIgBE8NAQNAIAIgASgCADYCACABQQRqIQEgAkEEaiICIARJDQALDAELIANBBEkEQCAAIQIMAQsgACADQQRrIgRLBEAgACECDAELIAAhAgNAIAIgAS0AADoAACACIAEtAAE6AAEgAiABLQACOgACIAIgAS0AAzoAAyABQQRqIQEgAkEEaiICIARNDQALCyACIANJBEADQCACIAEtAAA6AAAgAUEBaiEBIAJBAWoiAiADRw0ACwsgAAswAQF/AkAgAEUNACABRQ0AQQggACABbCIBECUiAARAIABBACABEBUaCyAAIQILIAILEQAgAEUEQEEADwtBCCAAECUL8gICAn8BfgJAIAJFDQAgACABOgAAIAAgAmoiA0EBayABOgAAIAJBA0kNACAAIAE6AAIgACABOgABIANBA2sgAToAACADQQJrIAE6AAAgAkEHSQ0AIAAgAToAAyADQQRrIAE6AAAgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBBGsgATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQQhrIAE2AgAgAkEMayABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkEQayABNgIAIAJBFGsgATYCACACQRhrIAE2AgAgAkEcayABNgIAIAQgA0EEcUEYciIEayICQSBJDQAgAa1CgYCAgBB+IQUgAyAEaiEBA0AgASAFNwMYIAEgBTcDECABIAU3AwggASAFNwMAIAFBIGohASACQSBrIgJBH0sNAAsLIAALJwEBfyMAQRBrIgMkACADIAI2AgwgACABIAJBAEEAEGsgA0EQaiQAC+gFAQl/IAFFBEBBAA8LAn8gAEUE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ACAEIE5BCmpBAiAFEBpBAkcEQCAFQQFBAiAAKAK4ARtBlhJBABAPIAAoArgBRSFnDAELIE5BCmogTkEMakECEBEgTigCDCIBQZD/A0YNACABQdn/A0YEQCAAQYACNgIIIABBADYCzAEMAQsgBCkDCCKGAVAEfkIABSCGASAEKQM4fQtQBEAgAEHAADYCCCAFQQJBrD9BABAPDAELQQAhZyAFQQFB7D5BABAPCyBOQRBqJAAgZwsLACAABEAgABAQCwu0AQEBfyAAKAIMRQRAIAIgACgCJCABEQMADwsCQEEIEBQiA0UNACADIAI2AgQgAyABNgIAQQgQFCIBRQRAIAMQEA8LIAEgAzYCACAAIAAoAgRB5ABsIgI2AigDQCAAKAIYIAJKDQALIAEgACgCFDYCBCAAIAE2AhQgACAAKAIYQQFqNgIYIAAoAhwiAUUNACABKAIAQQA2AgggACABKAIENgIcIAAgACgCIEEBazYCICABEBALC/oCAQR/AkAgAEUNACAAKAKsKCIBBEAgACgCqCgiAgRAQQAhAQNAIAAoAqwoIAFBA3RqKAIAIgMEQCADEBAgACgCqCghAgsgAUEBaiIBIAJJDQALIAAoAqwoIQELIABBADYCqCggARAQIABBADYCrCgLIAAoArQoIgEEQCABEBAgAEEANgK0KAsgACgC0CsiAQRAIAEQECAAQQA2AtArCyAAKALsKyIBBEAgARAQIABBADYC7CsLIAAoAugrIgEEQCABEBAgAEEANgLoKwsgACgC/CsiAQRAIAEQECAAQQA2AoQsIABCADcC/CsLIAAoAvArIgEEQCAAKAL0KyIDBH9BACECA0AgASgCDCIEBEAgBBAQIAFBADYCDCAAKAL0KyEDCyABQRRqIQEgAkEBaiICIANJDQALIAAoAvArBSABCxAQIABBADYC8CsLIAAoAuQrIgEEQCABEBAgAEEANgLkKwsgACgC3CsiAUUNACABEBAgAEIANwLcKwsLyAcCEX8BfiAAKAIQIghBIE8EQCAAKQMIpw8LAkAgACgCFCIDQQROBEAgACgCACICQQNrKAIAIQEgACADQQRrIgM2AhQgACACQQRrNgIADAELIANBAEwEQAwBCyADQQFxIQ0gACgCACECAkAgA0EBRgRAQRghBAwBCyADQf7///8HcSEJQRghBANAIAAgAkEB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IABBADYCiAEgACgCZBAQIABBADYCZCAALQC8AUECcUUEQCAAKAKoARAQCyAAQdAAakEAQfAAEBUaIAAoAsABEDIgAEEANgLAASAAKALEARAyIABBADYCwAEgACgCyAEiAQRAIAEoAhwiAgRAIAIQECABQQA2AhwLIAEoAigiAgRAIAEoAiQEQANAIAIgBUEobCIDaigCJCIEBEAgBBAQIAEoAigiAiADakEANgIkCyACIANqKAIQIgQEQCAEEBAgASgCKCICIANqQQA2AhALIAIgA2ooAhgiBARAIAQQECABKAIoIgIgA2pBADYCGAsgBUEBaiIFIAEoAiRJDQALCyACEBAgAUEANgIoCyABEBALIABBADYCyAEgACgCSBAhIABBADYCSCAAKAJMECEgAEEANgJMIAAoAtQBIgMEQAJAIAMoAghFDQAgAygCDARAIANBADYCKANAIAMoAhhBAEoNAAsLIANBATYCECADKAIAEBAgAygCHCICRQ0AA0AgAigCBCEBIAIQECADIAE2AhwgASICDQALCyADKAIkIgIEQCACKAIEIgVBAEoEQEEAIQEDQCACKAIAIAFBDGxqIgQoAggiBgRAIAQoAgQgBhECACACKAIEIQULIAFBAWoiASAFSA0ACwsgAigCABAQIAIQEAsgAxAQCyAAQQA2AtQBIAAQEAsL5gMCCH8EfiAAKAIUKAIAKAIUIAFBzABsaiIJKAIMIgggACgCGCgCGCABQTRsaiIKNQIEIhBCAX0iEiAANQI8fCAQgKciCyAIIAtJGyEMIAkoAggiCCAKNQIAIhFCAX0iEyAANQI4fCARgKciCiAIIApJGyEKIAkoAgQiCCASIAA1AjR8IBCApyILIAggC0sbIQsgCSgCACIIIBMgADUCMHwgEYCnIg0gCCANSxshDUEAIQggACgCICgC0CsgAUG4CGxqKAIUIQ4CQCAJKAIUQQAgAmtBfyACG2oiAkUEQCAKIQAgDSEIIAshAQwBCyADQQFxIAJBAWsiD3QiCSANSQRAIA0gCWutQn8gAq0iEIZCf4V8IBCIpyEIC0EAIQBBACEBIANBAXYgD3QiAyALSQRAIAsgA2utQn8gAq0iEIZCf4V8IBCIpyEBCyAJIApJBEAgCiAJa61CfyACrSIQhkJ/hXwgEIinIQALIAMgDE8EQEEAIQwMAQsgDCAD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IABBADYCPCAAQucHNwI0IABBADYCLCAAQucHNwIkIABBADYCHCAAQucHNwIUIABBADYCDCAAQucHNwIEIABBQGshACACQQRqIgIgA0cNAAsLIAFBA3EiAUUNAEEAIQIDQCAAQQA2AgwgAELnBzcCBCAAQRBqIQAgAkEBaiICIAFHDQALCwv7BQEQfyMAQYACayIIJAACf0EBQRQQEyIGRQRAIAJBAUH0MEEAEA9BAAwBCyAGIAE2AgQgBiAANgIAIAggATYCACAIIAA2AoABA0AgCCAFIg1BAWoiBUECdCIHaiABQQFqQQJtIgM2AgAgCEGAAWogB2ogAEEBakECbSIHNgIAIAQgACABbCIJaiEEIAMhASAHIQAgCUEBSw0ACyAGIAQ2AgggBEUEQCAGEBBBAAwBCyAGIARBEBATIgM2AgwgA0UEQCACQQFB2hpBABAPIAYQEEEADAELIAYgBigCCCILQQR0NgIQIAMhACANBEAgAyAGKAIEIAYoAgBsQQR0aiIEIQEDQAJAIAggDkECdCICaigCACIJQQBMDQAgCUEBayEMQQAhBwJAIAhBgAFqIAJqKAIAIgJBAEwEQEEAIQUgCUEBRwRAIAlB/v///wdxIQoDQCAFIAxGIQ8gBUECaiEFIAEgBCAPGyIEIQEgB0ECaiIHIApHDQALCyAJQQFxDQEgBCEBDAILA0AgBCEFIAIhBANAAkAgACABNgIAIARBAUYEQCAAQRBqIQAgAUEQaiEBDAELIAAgATYCECABQRBqIQEgAEEgaiEAIARBAkohECAEQQJrIQQgEA0BCwsgASAFIAJBBHRqIAcgByAMRnJBAXEiChshBCABIAUgChshASAHQQFqIgcgCUcNAAsMAQsgASAEIAJBBHRqIAUgBSAMRnJBAXEiBRshESABIAQgBRshASARIQQLIA5BAWoiDiANRw0ACwsgAEEANgIAAkAgC0UNACALQQRPBEAgC0F8cSEAQQAhAQNAIANBADYCPCADQucHNwI0IANBADYCLCADQucHNwIkIANBADYCHCADQucHNwIUIANBADYCDCADQucHNwIEIANBQGshAyABQQRqIgEgAEcNAAsLIAtBA3EiAEUNAEEAIQEDQCADQQA2AgwgA0LnBzcCBCADQRBqIQMgAUEBaiIBIABHDQALCyAGCyESIAhBgAJqJAAgEgtTAQF/An8gAC0ADEH/AUYEQCAAQoD+g4DwADcCDEEAIAAoAggiASAAKAIETw0BGiAAIAFBAWo2AgggACABLQAAQYD+A3I2AgwLIABBADYCEEEBCwt+AgF/AX4gAL0iA0I0iKdB/w9xIgJB/w9HBHwgAkUEQCABIABEAAAAAAAAAABhBH9BAAUgAEQAAAAAAADwQ6IgARBlIQAgASgCAEFAags2AgAgAA8LIAEgAkH+B2s2AgAgA0L/////////h4B/g0KAgICAgICA8D+EvwUgAAsLSQEBfwJAQQFBLBATIgEEQCABQQA2AhACQCAAQQBMBEAgAUEBQQgQEyIANgIkIABFDQEMAwsgAUEANgIMCyABEBALQQAhAQsgAQuRAgAgAEUEQEEADwsCfwJAIAFB/wBNDQACQEGU0AEoAgAoAgBFBEAgAUGAf3FBgL8DRg0CDAELIAFB/w9NBEAgACABQT9xQYABcjoAASAAIAFBBnZBwAFyOgAAQQIMAwsgAUGAQHFBgMADRyABQYCwA09xRQRAIAAgAUE/cUGAAXI6AAIgACABQQx2QeABcjoAACAAIAFBBnZBP3FBgAFyOgABQQMMAwsgAUGAgARrQf//P00EQCAAIAFBP3FBgAFyOgADIAAgAUESdkHwAXI6AAAgACABQQZ2QT9xQYABcjoAAiAAIAFBDHZBP3FBgAFyOgABQQQMAwsLQZTHAUEZNgIAQX8MAQsgACABOgAAQQELC7wCAAJAAkACQAJAAkACQAJAAkACQAJAAkAgAUEJaw4SAAgJCggJAQIDBAoJCgoICQUGBwsgAiACKAIAIgFBBGo2AgAgACABKAIANgIADwsgAiACKAIAIgFBBGo2AgAgACABMgEANwMADwsgAiACKAIAIgFBBGo2AgAgACABMwEANwMADwsgAiACKAIAIgFBBGo2AgAgACABMAAANwMADwsgAiACKAIAIgFBBGo2AgAgACABMQAANwMADwsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKwMAOQMADwsgACACIAMRAwALDwsgAiACKAIAIgFBBGo2AgAgACABNAIANwMADwsgAiACKAIAIgFBBGo2AgAgACABNQIANwMADwsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKQMANwMAC3MBBn8gACgCACIDLAAAQTBrIgFBCUsEQEEADwsDQEF/IQQgAkHMmbPmAE0EQEF/IAEgAkEKbCIFaiABIAVB/////wdzSxshBAsgACADQQFqIgU2AgAgAywAASEGIAQhAiAFIQMgBkEwayIBQQpJDQALIAILtBQCFX8BfiMAQUBqIggkACAIIAE2AjwgCEEnaiEWIAhBKGohEQJAAkACQAJAA0BBACEHA0AgASENIAcgDkH/////B3NKDQIgByAOaiEOAkACQAJAAkAgASIHLQAAIgsEQANAAkACQCALQf8BcSIBRQRAIAchAQwBCyABQSVHDQEgByELA0AgCy0AAUElRwRAIAshAQwCCyAHQQFqIQcgCy0AAiEZIAtBAmoiASELIBlBJUYNAAsLIAcgDWsiByAOQf////8HcyIXSg0JIAAEQCAAIA0gBxAZCyAHDQcgCCABNgI8IAFBAWohB0F/IRACQCABLAABQTBrIglBCUsNACABLQACQSRHDQAgAUEDaiEHQQEhEiAJIRALIAggBzYCPEEAIQwCQCAHLAAAIgtBIGsiAUEfSwRAIAchCQwBCyAHIQlBASABdCIBQYnRBHFFDQADQCAIIAdBAWoiCTYCPCABIAxyIQwgBywAASILQSBrIgFBIE8NASAJIQdBASABdCIBQYnRBHENAAsLAkAgC0EqRgRAAn8CQCAJLAABQTBrIgFBCUsNACAJLQACQSRHDQACfyAARQRAIAQgAUECdGpBCjYCAEEADAELIAMgAUEDdGooAgALIQ8gCUEDaiEBQQEMAQsgEg0GIAlBAWohASAARQRAIAggATYCPEEAIRJBACEPDAMLIAIgAigCACIHQQRqNgIAIAcoAgAhD0EACyESIAggATYCPCAPQQBODQFBACAPayEPIAxBgMAAciEMDAELIAhBPGoQaSIPQQBIDQogCCgCPCEBC0EAIQdBfyEKAn9BACABLQAAQS5HDQAaIAEtAAFBKkYEQAJ/AkAgASwAAkEwayIJQQlLDQAgAS0AA0EkRw0AIAFBBGohAQJ/IABFBEAgBCAJQQJ0akEKNgIAQQAMAQsgAyAJQQN0aigCAAsMAQsgEg0GIAFBAmohAUEAIABFDQAaIAIgAigCACIJQQRqNgIAIAkoAgALIQogCCABNgI8IApBAE4MAQsgCCABQQFqNgI8IAhBPGoQaSEKIAgoAjwhAUEBCyETA0AgByEUQRwhCSABIhgsAAAiB0H7AGtBRkkNCyABQQFqIQEgByAUQTpsakG/wAFqLQAAIgdBAWtBCEkNAAsgCCABNgI8AkAgB0EbRwRAIAdFDQwgEEEATgRAIABFBEAgBCAQQQJ0aiAHNgIADAwLIAggAyAQQQN0aikDADcDMAwCCyAARQ0IIAhBMGogByACIAYQaAwBCyAQQQBODQtBACEHIABFDQgLIAAtAABBIHENCyAMQf//e3EiCyAMIAxBgMAAcRshDEEAIRBBsAghFSARIQkCQAJAAn8CQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIBgsAAAiB0FTcSAHIAdBD3FBA0YbIAcgFBsiB0HYAGsOIQQWFhYWFhYWFhAWCQYQEBAWBhYWFhYCBQMWFgoWARYWBAALAkAgB0HBAGsOBxAWCxYQEBAACyAHQdMARg0LDBULIAgpAzAhHEGwCAwFC0EAIQcCQAJAAkACQAJAAkACQCAUQf8BcQ4IAAECAwQcBQYcCyAIKAIwIA42AgAMGwsgCCgCMCAONgIADBoLIAgoAjAgDqw3AwAMGQsgCCgCMCAOOwEADBgLIAgoAjAgDjoAAAwXCyAIKAIwIA42AgAMFgsgCCgCMCAOrDcDAAwVC0EIIAogCkEITRshCiAMQQhyIQxB+AAhBwsgESEBIAgpAzAiHEIAUgRAIAdBIHEhDQNAIAFBAWsiASAcp0EPcUHQxAFqLQAAIA1yOgAAIBxCD1YhGiAcQgSIIRwgGg0ACwsgASENIAgpAzBQDQMgDEEIcUUNAyAHQQR2QbAIaiEVQQIhEAwDCyARIQEgCCkDMCIcQgBSBEADQCABQQFrIgEgHKdBB3FBMHI6AAAgHEIHViEbIBxCA4ghHCAbDQALCyABIQ0gDEEIcUUNAiAKIBEgAWsiAUEBaiABIApIGyEKDAILIAgpAzAiHEIAUwRAIAhCACAcfSIcNwMwQQEhEEGwCAwBCyAMQYAQcQRAQQEhEEGxCAwBC0GyCEGwCCAMQQFxIhAbCyEVIBwgERAqIQ0LIBMgCkEASHENESAMQf//e3EgDCATGyEMAkAgCCkDMCIcQgBSDQAgCg0AIBEhDUEAIQoMDgsgCiAcUCARIA1raiIBIAEgCkgbIQoMDQsgCCkDMCEcDAsLAn9B/////wcgCiAKQf////8HTxsiDCIHQQBHIQkCQAJAAkAgCCgCMCIBQYQMIAEbIg0iAUEDcUUNACAHRQ0AA0AgAS0AAEUNAiAHQQFrIgdBAEchCSABQQFqIgFBA3FFDQEgBw0ACwsgCUUNAQJAIAEtAABFDQAgB0EESQ0AA0BBgIKECCABKAIAIglrIAlyQYCBgoR4cUGAgYKEeEcNAiABQQRqIQEgB0EEayIHQQNLDQALCyAHRQ0BCwNAIAEgAS0AAEUNAhogAUEBaiEBIAdBAWsiBw0ACwtBAAsiASANayAMIAEbIgEgDWohCSAKQQBOBEAgCyEMIAEhCgwMCyALIQwgASEKIAktAAANDwwLCyAIKQMwIhxCAFINAUIAIRwMCQsgCgRAIAgoAjAMAgtBACEHIABBICAPQQAgDBAcDAILIAhBADYCDCAIIBw+AgggCCAIQQhqIgc2AjBBfyEKIAcLIQtBACEHA0ACQCALKAIAIg1FDQAgCEEEaiANEGciDUEASA0PIA0gCiAHa0sNACALQQRqIQsgByANaiIHIApJDQELC0E9IQkgB0EASA0MIABBICAPIAcgDBAcIAdFBEBBACEHDAELQQAhCSAIKAIwIQsDQCALKAIAIg1FDQEgCEEEaiIKIA0QZyINIAlqIgkgB0sNASAAIAogDRAZIAtBBGohCyAHIAlLDQALCyAAQSAgDyAHIAxBgMAAcxAcIA8gByAHIA9IGyEHDAgLIBMgCkEASHENCUE9IQkgACAIKwMwIA8gCiAMIAcgBRETACIHQQBODQcMCgsgBy0AASELIAdBAWohBwwACwALIAANCSASRQ0DQQEhBwNAIAQgB0ECdGooAgAiAARAIAMgB0EDdGogACACIAYQaEEBIQ4gB0EBaiIHQQpHDQEMCwsLQQEhDiAHQQpPDQkDQCAEIAdBAnRqKAIADQEgB0EBaiIHQQpHDQALDAkLQRwhCQwGCyAIIBw8ACdBASEKIBYhDSALIQwLIAogCSANayILIAogC0obIgogEEH/////B3NKDQNBPSEJIA8gCiAQaiIBIAEgD0gbIgcgF0oNBCAAQSAgByABIAwQHCAAIBUgEBAZIABBMCAHIAEgDEGAgARzEBwgAEEwIAogC0EAEBwgACANIAsQGSAAQSAgByABIAxBgMAAcxAcIAgoAjwhAQwBCwsLQQAhDgwDC0E9IQkLQZTHASAJNgIAC0F/IQ4LIAhBQGskACAOC6gCAQR/IwBB0AFrIgUkACAFIAI2AswBIAVBoAFqIgJBAEEoEBUaIAUgBSgCzAE2AsgBAkBBACABIAVByAFqIAVB0ABqIAIgAyAEEGpBAEgNACAAKAJMQQBIIQggACAAKAIAIgdBX3E2AgACfwJAAkAgACgCMEUEQCAAQdAANgIwIABBADYCHCAAQgA3AxAgACgCLCEGIAAgBTYCLAwBCyAAKAIQDQELQX8gABA+DQEaCyAAIAEgBUHIAWogBUHQAGogBUGgAWogAyAEEGoLIQEgBgR/IABBAEEAIAAoAiQRAAAaIABBADYCMCAAIAY2AiwgAEEANgIcIAAoAhQaIABCADcDEEEABSABCxogACAAKAIAIAdBIHFyNgIAIAgNAAsgBUHQAWokAAsnAQF/QRwhAyABQQNxBH9BHAUgACABIAIQJSIANgIAQQBBMCAAGwsL/QMBBX8Cf0HgxAEoAgAiAiAAQQdqQXhxIgFBB2pBeHEiA2ohAAJAIANBACAAIAJNG0UEQCAAPwBBEHRNDQEgABAKDQELQZTHAUEwNgIAQX8MAQtB4MQBIAA2AgAgAgsiAkF/RwRAIAEgAmoiAEEEa0EQNgIAIABBEGsiA0EQNgIAAkACf0GgzwEoAgAiAQR/IAEoAggFQQALIAJGBEAgAiACQQRrKAIAQX5xayIEQQRrKAIAIQUgASAANgIIIAQgBUF+cWsiACAAKAIAakEEay0AAEEBcQRAIAAoAgQiASAAKAIIIgQ2AgggBCABNgIEIAAgAyAAayIBNgIADAMLIAJBEGsMAQsgAkEQNgIAIAIgADYCCCACIAE2AgQgAkEQNgIMQaDPASACNgIAIAJBEGoLIgAgAyAAayIBNgIACyAAIAFBfHFqQQRrIAFBAXI2AgAgAAJ/IAAoAgBBCGsiAUH/AE0EQCABQQN2QQFrDAELIAFBHSABZyIDa3ZBBHMgA0ECdGtB7gBqIAFB/x9NDQAaQT8gAUEeIANrdkECcyADQQF0a0HHAGoiASABQT9PGwsiAUEEdCIDQaDHAWo2AgQgACADQajHAWoiAygCADYCCCADIAA2AgAgACgCCCAANgIEQajPAUGozwEpAwBCASABrYaENwMACyACQX9HC70BAQJ/AkAgACgCTCIBQQBOBEAgAUUNAUHMzwEoAgAgAUH/////A3FHDQELAkAgACgCUEEKRg0AIAAoAhQiASAAKAIQRg0AIAAgAUEBajYCFCABQQo6AAAPCyAAEG8PCyAAQcwAaiIBIAEoAgAiAkH/////AyACGzYCAAJAAkAgACgCUEEKRg0AIAAoAhQiAiAAKAIQRg0AIAAgAkEBajYCFCACQQo6AAAMAQsgABBvCyABKAIAGiABQQA2AgALfAECfyMAQRBrIgEkACABQQo6AA8CQAJAIAAoAhAiAgR/IAIFIAAQPg0CIAAoAhALIAAoAhQiAkYNACAAKAJQQQpGDQAgACACQQFqNgIUIAJBCjoAAAwBCyAAIAFBD2pBASAAKAIkEQAAQQFHDQAgAS0ADxoLIAFBEGokAAuwAgECfyAABEAgACgCABA4IABBADYCACAAKAJIIgEEQCABEBAgAEEANgJICyAAKAJEIgEEQCABEBAgAEEANgJECyAAKAJsIgEEQCABEBAgAEEANgJsCyAAKAJ0IgEEQCABKAIAIgIEQCACEBAgACgCdCIBQQA2AgALIAEQECAAQQA2AnQLIAAoAngiAQRAIAEoAgwiAgRAIAIQECAAKAJ4IgFBADYCDAsgASgCBCICBEAgAhAQIAAoAngiAUEANgIECyABKAIIIgIEQCACEBAgACgCeCIBQQA2AggLIAEoAgAiAgRAIAIQECAAKAJ4IgFBADYCAAsgARAQIABBADYCeAsgACgCBCIBBEAgARAyIABBADYCBAsgACgCCCIBBEAgARAyIABBADYCCAsgABAQCwuLGwIefwV7IwBB8AFrIgkkAEEBIQ4CQCAAKAIAKAI8DQAgACgCgAENAAJAAkAgACgCdCIIRQRAIAAoAnghBAwBCyABKAIQIQMgCC8BBCEGAkAgACgCeCIERQ0AIAQoAgxFDQAgBC0AEiEDCwJAIAYEQCAIKAIAIQgDQCAIIAVBBmxqIgovAQAiByADTwRAIAkgAzYCtAEgCSAHNgKwASACQQFBoOYAIAlBsAFqEA9BACEODAYLAkAgCi8BBCIKRQ0AIApB//8DRg0AIApBAWsiCiADSQ0AIAkgAzYCpAEgCSAKNgKgASACQQFBoOYAIAlBoAFqEA9BACEODAYLIAVBAWoiBSAGRw0ACwwBCyADDQIMAQsDQCADQQFrIQNBACEFA0AgCCAFQQZsai8BACADRwRAIAVBAWoiBSAGRw0BDAQLCyADDQALCwJAIARFDQAgBCgCDCIKRQ0AAkACQCAELQASIggEQEEAIQVBASEHA0AgASgCECIDIAogBUECdGovAQAiBE0EQCAJIAM2ApQBIAkgBDYCkAEgAkEBQaDmACAJQZABahAPQQAhBwsgBUEBaiIFIAhHDQALIAhBBBATIgNFDQFBACEFA0ACQCAKIAVBAnRqIgQtAAIiBkECTwRAIAkgBjYCRCAJIAU2AkAgAkEBQcvZACAJQUBrEA9BACEHDAELIAggBC0AAyIETQRAIAkgBDYCgAEgAkEBQZPZACAJQYABahAPQQAhBwwBCyADIARBAnRqIQsCQCAGQQFHIgwNACALKAIARQ0AIAkgBDYCUCACQQFBvNUAIAlB0ABqEA9BACEHDAELAkAgBg0AIARFDQAgCSAENgJkIAkgBTYCYCACQQFBitgAIAlB4ABqEA9BACEHDAELAkAgDA0AIAQgBUYNACAJIAQ2AnggCSAFNgJ0IAkgBTYCcCACQQFBrtgAIAlB8ABqEA9BACEHDAELIAtBATYCAAsgBUEBaiIFIAhHDQALQQAhBQNAAkACQCADIAVBAnQiBGooAgBFBEAgBCAKai0AAg0BCyAFQQFqIgUgCEcNAiAHRQ0BIAEoAhBBAUcNBUEAIQUDQCADIAVBAnRqKAIABEAgCCAFQQFqIgVHDQEMBwsLQQAhByACQQJB7sUAQQAQDyAIQRBPBEAgCEHwAXEhB0EAIQQDQCAKIARBAnRqIgZBAToAAiAGIAQ6AAMgBkEBOgA+IAZBAToAOiAGQQE6ADYgBkEBOgAyIAZBAToALiAGQQE6ACogBkEBOgAmIAZBAToAIiAGQQE6AB4gBkEBOgAaIAZBAToAFiAGQQE6ABIgBkEBOgAOIAZBAToACiAGQQE6AAYgBiAEQQFyOgAHIAYgBEEPcjoAPyAGIARBDnI6ADsgBiAEQQ1yOgA3IAYgBEEMcjoAMyAGIARBC3I6AC8gBiAEQQpyOgArIAYgBEEJcjoAJyAGIARBCHI6ACMgBiAEQQdyOgAfIAYgBEEGcjoAGyAGIARBBXI6ABcgBiAEQQRyOgATIAYgBEEDcjoADyAGIARBAnI6AAsgBEEQaiIEIAdHDQALIAcgCEYNBgsDQCAKIAdBAnRqIgQgBzoAAyAEQQE6AAIgB0EBaiIHIAhHDQALDAULIAkgBTYCMCACQQFByNIAIAlBMGoQD0EAIQcgBUEBaiIFIAhHDQELCyADEBBBACEODAULIAhBBBATIgMNAQtBACEOIAJBAUGK2wBBABAPDAMLIAMQEAsCQCAAKAJ4IgNFDQAgAygCDCIPRQRAIAMoAgQQECAAKAJ4KAIIEBAgACgCeCgCABAQIAAoAngiAygCDCIEBH8gBBAQIAAoAngFIAMLEBAgAEEANgJ4DAELIAEoAhghDQJAAkAgAy0AEiIKBEAgAygCACEUIAMoAgQhBiADKAIIIQhBACEFAkADQCANIA8gBUECdGovAQBBNGxqKAIsBEAgCiAFQQFqIgVHDQEMAgsLIAkgBTYCICACQQFBwucAIAlBIGoQD0EAIQ4MBgsgCkE0bBAUIgtFDQFBACEFA0AgDyAFQQJ0aiIDLwEAIQcgCyADLQACBH8gAy0AAwUgBQtBNGxqIgQgDSAHQTRsaiID/QACAP0LAgAgBCADKAIwNgIwIAQgA/0AAiD9CwIgIAQgA/0AAhD9CwIQIAsgBUE0bGoiBCADKAIIIAMoAgxsQQJ0EBgiAzYCLCADRQRAIAUEQCAFQf//A3EhAANAIABBNGwgC2pBCGsoAgAQECAAQQFrIgANAAsLIAsQEEEAIQ4gAkEBQY7nAEEAEA8MBwsgBCAFIAhqLQAANgIYIAQgBSAGai0AADYCICAFQQFqIgUgCkcNAAsgACgCeC8BECIQQQFrIRIDQCALIBNBNGxqIgMoAgwgAygCCGwhBiANIA8gE0ECdGoiBC8BAEE0bGooAiwhCAJAIAQtAAJFBEAgBkUNASADKAIsIQVBACEHQQAhBAJAIAZBBEkNACAFIAhrQRBJDQAgBkF8cSEEQQAhAwNAIAUgA0ECdCIMaiAIIAxq/QACAP0LAgAgA0EEaiIDIARHDQALIAQgBkYNAgsgBCEDIAZBA3EiDARAA0AgBSADQQJ0IhFqIAggEWooAgA2AgAgA0EBaiEDIAdBAWoiByAMRw0ACwsgBCAGa0F8Sw0BA0AgBSADQQJ0IgRqIAQgCGooAgA2AgAgBSAEQQRqIgdqIAcgCGooAgA2AgAgBSAEQQhqIgdqIAcgCGooAgA2AgAgBSAEQQxqIgRqIAQgCGooAgA2AgAgA0EEaiIDIAZHDQALDAELIAZFDQAgFCAELQADIgNBAnRqIQQgCyADQTRsaigCLCEFQQAhAyAGQQFHBEAgBkF+cSEVQQAhDANAIAUgA0ECdCIHaiAEIAcgCGooAgAiESASIBAgEUobQQAgEUEAThsgCmxBAnRqKAIANgIAIAUgB0EEciIHaiAEIAcgCGooAgAiByASIAcgEEgbQQAgB0EAThsgCmxBAnRqKAIANgIAIANBAmohAyAMQQJqIgwgFUcNAAsLIAZBAXFFDQAgBSADQQJ0IgNqIAQgAyAIaigCACIDIBIgAyAQSBtBACADQQBOGyAKbEECdGooAgA2AgALIBNBAWoiEyAKRw0ACwwCCyAKQTRsEBQiCw0BC0EAIQ4gAkEBQY7nAEEAEA8MAwsgASgCECIDBEBBACEFA0AgDSAFQTRsaigCLCIEBEAgBBAQCyAFQQFqIgUgA0cNAAsLIA0QECABIAo2AhAgASALNgIYCyAAKAJ0IgVFDQEgBSgCACEHIAUvAQQiCwRAIAdBKmohEiAHQSRqIRMgB0EeaiERIAdBGGohFCAHQRJqIRUgB0EMaiEWIAdBBmohFyALQQJrIRhBACEFQQEhBANAAkAgASgCECIDIAcgBUEGbGoiDS8BACIGTQRAIAkgAzYCFCAJIAY2AhAgAkECQcw3IAlBEGoQDwwBCyANLwEEIghBAWpB//8DcUEBTQRAIAEoAhggBkE0bGogDS8BAjsBMAwBCyAIQQFrIgpB//8DcSIPIANPBEAgCSADNgIEIAkgDzYCACACQQJBozcgCRAPDAELAkAgBiAPRg0AIA0vAQINACAJIAEoAhgiCCAGQTRsaiIDKAIwNgLoASAJIAP9AAIg/QsD2AEgCSAD/QACEP0LA8gBIAkgA/0AAgD9CwO4ASADIAggD0E0bCIMaiIIKQIINwIIIAMgCCkCEDcCECADIAgpAhg3AhggAyAIKQIgNwIgIAMgCCkCKDcCKCADIAgoAjA2AjAgAyAIKQIANwIAIAEoAhggDGoiAyAJ/QADuAH9CwIAIAMgCf0AA9gB/QsCICADIAn9AAPIAf0LAhAgAyAJKALoATYCMCAFQQFqIAtPDQAgBCEIIBggBWtB//8DcSIDQQdPBEAgBCADQQFqIhlB+P8HcSIQaiEIIAr9ECEkIAb9ECEjQQAhDANAICMgJCASIAQgDGpBBmwiA2oiGiADIBNqIhsgAyARaiIcIAMgFGoiHSADIBVqIh4gAyAWaiIfIAMgF2oiICADIAdqIgP9CAEA/VUBAAH9VQEAAv1VAQAD/VUBAAT9VQEABf1VAQAG/VUBAAciISAj/S4gISAk/S0iJf1O/VIhIiAhICP9LSAl/VAiIf0ZAEEBcQRAIAMgIv1ZAQAACyAh/RkBQQFxBEAgICAi/VkBAAELICH9GQJBAXEEQCAfICL9WQEAAgsgIf0ZA0EBcQRAIB4gIv1ZAQADCyAh/RkEQQFxBEAgHSAi/VkBAAQLICH9GQVBAXEEQCAcICL9WQEABQsgIf0ZBkEBcQRAIBsgIv1ZAQAGCyAh/RkHQQFxBEAgGiAi/VkBAAcLIAxBCGoiDCAQRw0ACyAQIBlGDQELA0AgCiEDAkAgBiAHIAhBBmxqIgwvAQAiEEcEQCAGIQMgDyAQRw0BCyAMIAM7AQALIAsgCEEBaiIIQf//A3FHDQALCyABKAIYIAZBNGxqIA0vAQI7ATALIARBAWohBCAFQQFqIgUgC0cNAAsgACgCdCIFKAIAIQcLIAcEfyAHEBAgACgCdAUgBQsQECAAQQA2AnQMAQtBACEOIAJBAUGhxgBBABAPCyAJQfABaiQAIA4L6QEBBn8jAEEgayIEJAACfwJAIAAoAjwiAwRAQQEhBQNAIAAoAkwoAhggACgCQCACQQJ0aigCACIGQTRsaigCLEUEQCAEIAY2AhAgAUECQdo5IARBEGoQD0EAIQUgACgCPCEDCyACQQFqIgIgA0kNAAsMAQtBASEFQQEgACgCTCIDKAIQRQ0BGgNAIAMoAhggAkE0bGooAixFBEAgBCACNgIAIAFBAkHaOSAEEA9BACEFIAAoAkwhAwsgAkEBaiICIAMoAhBJDQALC0EBIAUNABogAUEBQb8VQQAQD0EACyEHIARBIGokACAHCwQAQX8LhgcCFn8CfiAAKAIYIhAoAhBFBEBBAQ8LIBAoAhghDSAAKAIUKAIAKAIUIQsDQCABIA0oAiQiAjYCJCALKAIcIgYgAkGYAWxqIQMCQAJAAn8gACgCQCIRBEAgBiALKAIYQZgBbGoiAkGQAWsoAgAgAkGYAWsoAgBrIQwgA0EMaiEGIANBBGohBCADKAIIIQIgAygCACEFQSQMAQsgA0GUAWohBiADQYwBaiEEIAMoApABIgIgAygCiAEiBWshDEE0CyALaigCACISRQ0AIAQoAgAhByAGKAIAIQkgAiAFayEGIAEoAggiA0J/IAE1AigiGIZCf4UiGSABNQIQfCAYiKciCGohBAJ/IAUgCEsEQCAFIAhrIQ5BACEIQQAgAiAETQ0BGiAGIAQgBWsiBmsMAQsgCCAFayEIIAIgBE0EQCAGIAhrIQZBACEOQQAMAQtBACEOIAMhBiACIARrCyEVIAkgB2shAiABKAIMIgQgGSABNQIUfCAYiKciCmohBQJ/IAcgCksEQCAHIAprIQ9BACEKQQAgBSAJTw0BGiACIAUgB2siAmsMAQsgCiAHayEKIAUgCU8EQCACIAprIQJBACEPQQAMAQtBACEPIAQhAiAJIAVrCyEHQQAhBSAIQQBIDQEgCkEASA0BIBVBAEgNASAHQQBIDQEgBkEASA0BIAJBAEgNASADIA9sIA5qIQcgCiAMbCAIaiEJAkACQAJAIAEoAiwiCA0AIAkNACAHDQAgAyAMRw0AIAMgBkcNACACIARHDQEgASALQSRBNCARG2oiAigCADYCLCACQQA2AgAMAwsgCA0BCyAERQ0CIAStIAOtfkIgiKcNAiADIARsIgNB/////wNLDQIgASADQQJ0EBgiAzYCLCADRQ0CIAYgASgCCCIERiABKAIMIgUgAkZxDQAgA0EAIAQgBWxBAnQQFRoLIAJFDQAgAkEBcSEXIAZBAnQhBiABKAIsIAdBAnRqIQQgEiAJQQJ0aiEFIAJBAUcEQCACQf7///8HcSEHQQAhAgNAIAQgBSAGEBIhFiAFIAxBAnQiCWoiCCAJaiEFIBYgASgCCEECdGogCCAGEBIgASgCCEECdGohBCACQQJqIgIgB0cNAAsLIBdFDQAgBCAFIAYQEhoLIAtBzABqIQsgDUE0aiENIAFBNGohAUEBIQUgFEEBaiIUIBAoAhBJDQELCyAFC9USAgl/DH4jAEGgAWsiBSQAAkAgAkEjTQRAQQAhAiADQQFBti5BABAPDAELIAJBJGsiAiACQQNuIglBA2xHBEBBACECIANBAUG2LkEAEA8MAQsgACgCSCEGIAEgBUGcAWoiAkECEBEgACAFKAKcATsBUCABQQJqIAZBCGpBBBARIAFBBmogBkEMakEEEBEgAUEKaiAGQQQQESABQQ5qIAZBBGpBBBARIAFBEmogAEHcAGpBBBARIAFBFmogAEHgAGpBBBARIAFBGmogAEHUAGpBBBARIAFBHmogAEHYAGpBBBARIAFBImogAkECEBECQAJAAkAgBSgCnAEiAkGAgAFNBEAgBiACNgIQIAIgCUcEQCAFIAk2AoQBIAUgAjYCgAEgA0EBQZHwACAFQYABahAPQQAhAgwFCyAGKAIEIgIgBigCDCIISSAGKAIIIgsgBigCACIES3FFBEAgBSAIrSACrX03A3ggBSALrSAErX03A3AgA0EBQdvsACAFQfAAahAPQQAhAgwFCyAAKAJcIgdBACAAKAJgIgobRQRAIAUgCjYCBCAFIAc2AgAgA0EBQYPxACAFEA9BACECDAULAkACQCAAKAJUIgwgBEsNAEF/IAcgDGoiByAHIAxJGyAETQ0AIAAoAlgiByACSw0AQX8gByAKaiIKIAcgCksbIAJLDQELQQAhAiADQQFB1hRBABAPDAULAkAgACgC4AENACAAKALYASIHRQ0AIAAoAtwBIgpFDQAgCyAEayIEIAdGIAggAmsiAiAKRnENACAFIAI2AmwgBSAENgJoIAUgCjYCZCAFIAc2AmAgA0EBQcPoACAFQeAAahAPQQAhAgwFCyAGIAlBNBATIgQ2AhggBEUNAQJAIAYoAhBFDQAgAUEkaiAFQZgBaiICQQEQESAEIAUoApgBIglBB3YiCjYCICAEIAlB/wBxQQFqIgw2AhggACgC4AEhCyABQSVqIAJBARARIAQgBSgCmAE2AgAgAUEmaiACQQEQESAEIAUoApgBIgg2AgRBACECIAQoAgAiB0GAAmtBgX5JBEBBACEJDAULQQAhCSAIQYACa0GBfkkNBCAEKAIYIghBH0sNAyAEQQA2AiQgBCAAKAKgATYCKEEBIQkgBigCEEEBTQ0AQQAgCiALGyEKQQAgDCALGyELIAFBJ2ohAQNAIAEgBUGYAWpBARARIAQgBSgCmAEiB0EHdiIINgJUIAQgB0H/AHFBAWoiBzYCTAJAIAAoAuABDQAgAC0AvAFBBHENACAHIAtGIAggCkZxDQAgBSAINgJUIAUgBzYCUCAFIAk2AkwgBSAKNgJIIAUgCzYCRCAFIAk2AkAgA0ECQcfuACAFQUBrEA8LIAFBAWogBUGYAWoiCEEBEBEgBCAFKAKYATYCNCABQQJqIAhBARARIAQgBSgCmAEiCDYCOCAEKAI0IgdBgAJrQYF+SQ0FIAhBgAJrQYB+TQ0FIAQoAkwiCEEgTw0EIAFBA2ohASAEQQA2AlggBCAAKAKgATYCXCAEQTRqIQQgCUEBaiIJIAYoAhBJDQALC0EAIQIgACgCXCIIRQ0EIAAoAmAiC0UNBCAAIAitIg1CAX0iDyAGKAIIIAAoAlQiB2utfCANgKciATYCaCAAIAutIg5CAX0iECAGKAIMIAAoAlgiCmutfCAOgKciBDYCbAJAAkAgAUUNACAERQ0AQf//AyAEbiABTw0BCyAFIAQ2AhQgBSABNgIQIANBAUG16QAgBUEQahAPDAULIAEgBGwhCQJAIAAtAERBAnEEQCAAIAAoAhwgB2sgCG42AhwgACAAKAIgIAprIAtuNgIgIAAgDyAAKAIkIAdrrXwgDYA+AiQgACAQIAAoAiggCmutfCAOgD4CKAwBCyAAIAQ2AiggACABNgIkIABCADcCHAsgACAJQYwsEBMiATYCnAEgAUUEQCADQQFBzR1BABAPDAULIAYoAhBBuAgQEyEBIAAoAgwgATYC0CsgACgCDCgC0CtFBEAgA0EBQc0dQQAQDwwFC0EKQRQQEyEBIAAoAgwgATYC8CsgACgCDCIBKALwK0UEQCADQQFBzR1BABAPDAULIAFBCjYC+CtBCkEUEBMhASAAKAIMIAE2AvwrIAAoAgwiASgC/CtFBEAgA0EBQc0dQQAQDwwFCyABQQo2AoQsAkAgBigCECIERQ0AIAYoAhghCEEAIQEgBEEBRwRAIARBfnEhCwNAIAggAUE0bGoiBygCIEUEQCAAKAIMKALQKyABQbgIbGpBASAHKAIYQQFrdDYCtAgLIAggAUEBciIHQTRsaiIKKAIgRQRAIAAoAgwoAtArIAdBuAhsakEBIAooAhhBAWt0NgK0CAsgAUECaiEBIAJBAmoiAiALRw0ACwsgBEEBcUUNACAIIAFBNGxqIgIoAiANACAAKAIMKALQKyABQbgIbGpBASACKAIYQQFrdDYCtAgLIAkEQCAAKAKcASEBQQAhAgNAIAEgBigCEEG4CBATIgQ2AtArIARFBEBBACECIANBAUHNHUEAEA8MBwsgAUGMLGohASACQQFqIgIgCUkNAAsLIABBBDYCCCAGKAIQIgMEQEF/IAAoAlgiASAAKAJgIgIgACgCbEEBa2xqIgQgAmoiAiACIARJGyICIAYoAgwiBCACIARJG60hEEF/IAAoAlQiAiAAKAJcIgQgACgCaEEBa2xqIgAgBGoiBCAAIARLGyIAIAYoAggiBCAAIARJG60hESABIAYoAgQiACAAIAFJG60hEiACIAYoAgAiACAAIAJJG60hEyAGKAIYIQBBACEBA0AgACAANQIEIg1CAX0iFCASfCANgCIVPgIUIAAgADUCACIOQgF9IhYgE3wgDoAiFz4CECAAQn8gADUCKCIPhkJ/hSIYIBAgFHwgDYAgFX1C/////w+DfCAPiD4CDCAAIBEgFnwgDoAgF31C/////w+DIBh8IA+IPgIIIABBNGohACABQQFqIgEgA0cNAAsLQQEhAgwECyAFIAI2ApABIANBAUH2OyAFQZABahAPQQAhAgwDC0EAIQIgBkEANgIQIANBAUHNHUEAEA8MAgsgBSAINgI0IAUgCTYCMCADQQFBt/MAIAVBMGoQDwwBCyAFIAg2AiggBSAHNgIkIAUgCTYCICADQQFBkesAIAVBIGoQDwsgBUGgAWokACACC54DAQd/IwBBEGsiBiQAAn8gAiACQQFBAiAAKAJIKAIQIghBgQJJGyIHQQF0QQVqIgRuIgUgBGxGIAIgBE9xRQRAIANBAUGKI0EAEA9BAAwBCwJ/IAAoAghBEEYEQCAAKAKcASAAKALMAUGMLGxqDAELIAAoAgwLIQRBACEAIAQtAIgsIgJBBHEEQCAEKAKkA0EBaiEACyAAIAVqIgVBIE8EQCAGIAU2AgAgA0EBQYs7IAYQD0EADAELIAQgAkEEcjoAiCwgACAFSQRAIAQgAEGUAWxqQagDaiECA0AgASACQQEQESABQQFqIgEgAkEEaiAHEBEgASAHaiIBIAJBCGpBAhARIAIgAigCCCIDIAQoAggiCSADIAlJGzYCCCABQQJqIAJBDGpBARARIAFBA2oiASACQRBqIAcQESABIAdqIgEgBkEMakEBEBEgAiAGKAIMNgIkIAIgAigCECIDIAggAyAISRs2AhAgAkGUAWohAiABQQFqIQEgAEEBaiIAIAVHDQALCyAEIAVBAWs2AqQDQQELIQogBkEQaiQAIAoL7AEBBH8jAEEQayIEJAACfwJAIAEgBEEIagJ/IAAoAkgoAhBBgAJNBEAgAgRAQX8hBUEBDAILIANBAUG+I0EAEA9BAAwDCyACQQFNDQFBfiEFQQILIgYQESAEIAIgBWo2AgwgBCgCCCICIAAoAkgoAhAiBU8EQCAEIAU2AgQgBCACNgIAIANBAUHGOiAEEA9BAAwCCyAAIAIgASAGaiAEQQxqIAMQQkUEQCADQQFBviNBABAPQQAMAgtBASAEKAIMRQ0BGiADQQFBviNBABAPQQAMAQsgA0EBQb4jQQAQD0EACyEHIARBEGokACAHC9kBAQR/IwBBEGsiBCQAIAQgAjYCDAJAAkAgAEEAIAEgBEEMaiADEEJFDQAgBCgCDA0AAn8gACgCCEEQRgRAIAAoApwBIAAoAswBQYwsbGoMAQsgACgCDAshB0EBIQUgACgCSCgCEEECSQ0BIAcoAtArIgJBHGohBkEBIQEgAiEDA0AgAyACKAIYNgLQCCADIAIoAqQGNgLcDiADQdQIaiAGQYgGEBIaIANBuAhqIQMgAUEBaiIBIAAoAkgoAhBJDQALDAELIANBAUHWIkEAEA8LIARBEGokACAFC9YBAQN/IwBBEGsiBCQAAkAgAkEBQQIgACgCSCgCECIGQYECSRsiBUECakcEQEEAIQAgA0EBQYogQQAQDwwBCwJ/IAAoAghBEEYEQCAAKAKcASAAKALMAUGMLGxqDAELIAAoAgwLIQIgASAEQQxqIAUQEUEBIQAgASAFaiIFIARBCGpBARARIAYgBCgCDCIBTQRAIAQgBjYCBCAEIAE2AgAgA0EBQdjvACAEEA9BACEADAELIAVBAWogAigC0CsgAUG4CGxqQagGakEBEBELIARBEGokACAAC4QCAQV/IwBBEGsiBCQAAn8gACgCCEEQRgRAIAAoApwBIAAoAswBQYwsbGoMAQsgACgCDAshBgJAIAJBAUECIAAoAkgiBygCEEGBAkkbIgVNBEBBACECIANBAUGkI0EAEA8MAQsgBCAFQX9zIAJqNgIMIAEgBEEIaiAFEBEgBCgCCCIIIAcoAhBPBEBBACECIANBAUGA6QBBABAPDAELQQEhAiABIAVqIgEgBigC0CsgCEG4CGxqQQEQESAAIAQoAgggAUEBaiAEQQxqIAMQQ0UEQEEAIQIgA0EBQaQjQQAQDwwBCyAEKAIMRQ0AQQAhAiADQQFBpCNBABAPCyAEQRBqJAAgAgusBgEHfyMAQRBrIgYkACAGIAI2AgwgACgCSCEJAn8gACgCCEEQRgRAIAAoApwBIAAoAswBQYwsbGoMAQsgACgCDAsiBCAELQCILEEBcjoAiCwCQCACQQRNBEAgA0EBQbwiQQAQDwwBCyABIARBARARIAQoAgBBCE8EQCADQQFBmiJBABAPDAELIAFBAWogBkEIakEBEBEgBCAGKAIIIgI2AgQgAkEFTgRAIANBAUHxIUEAEA8gBEF/NgIECyABQQJqIARBCGpBAhARIAQoAggiB0GAgARrQYCAfE0EQCAGIAc2AgAgA0EBQak9IAYQDwwBCyAEIAAoAqQBIgIgByACGzYCDCABQQRqIARBEGpBARARIAQoAhBBAk8EQCADQQFBhypBABAPDAELIAFBBWohAiAGIAYoAgxBBWs2AgwCQCAJKAIQIgdFDQAgBCgCAEEBcSEIIAQoAtArIQRBACEJIAdBCE8EQCAHQXhxIQEDQCAEIAVBuAhsaiAINgIAIAQgBUEBckG4CGxqIAg2AgAgBCAFQQJyQbgIbGogCDYCACAEIAVBA3JBuAhsaiAINgIAIAQgBUEEckG4CGxqIAg2AgAgBCAFQQVyQbgIbGogCDYCACAEIAVBBnJBuAhsaiAINgIAIAQgBUEHckG4CGxqIAg2AgAgBUEIaiEFIApBCGoiCiABRw0ACwsgB0EHcSIBRQ0AA0AgBCAFQbgIbGogCDYCACAFQQFqIQUgCUEBaiIJIAFHDQALC0EAIQUgAEEAIAIgBkEMaiADEENFBEAgA0EBQbwiQQAQDwwBCyAGKAIMBEAgA0EBQbwiQQAQDwwBCwJ/IAAoAghBEEYEQCAAKAKcASAAKALMAUGMLGxqDAELIAAoAgwLIQEgACgCSCgCEEECTwRAIAEoAtArIgEoAgRBAnQhByABQbAHaiEKIAFBrAZqIQNBASEJIAEhAgNAIAIgAf0AAgT9CwK8CCACIAEoAhQ2AswIIAJB5A5qIAMgBxASGiACQegPaiAKIAcQEhogAkG4CGohAiAJQQFqIgkgACgCSCgCEEkNAAsLQQEhBQsgBkEQaiQAIAUL7AkBBn8jAEHwAGsiBCQAIARBADYCaAJAIAJBCEcEQCADQQFBvR5BABAPIANBAUG9HkEAEA8MAQsgASAAQcwBakECEBEgAUECaiAEQewAakEEEBEgAUEGaiAEQeQAakEBEBEgAUEHaiAEQegAakEBEBEgACgCzAEiAiAAKAJoIgggACgCbGxPBEAgBCACNgJgIANBAUGdOyAEQeAAahAPDAELIAAoApwBIAJBjCxsaiEFIAIgCG4hByAEKAJkIQECQCAAKAIsIgZBAE4gAiAGR3ENACAFKALUK0EBaiIGIAFGDQAgBCAGNgJYIAQgATYCVCAEIAI2AlAgA0EBQbU7IARB0ABqEA9BACEFDAELIAUgATYC1CsCQAJAIAQoAmwiAUEBa0EMTQR/IAFBDEcNASAEQQw2AjAgA0ECQeXXACAEQTBqEA8gBCgCbAUgAQtFBEAgA0EEQbLPAEEAEA8gAEEBNgI4CwJAAkACQAJAIAUoAtgrIgEEQCAEKAJkIgYgAUkNASAEIAE2AiQgBCAGNgIgIANBAUGFJyAEQSBqEA8gAEEBNgI4QQAhBQwHCyAEKAJoIgYNAQwDCyAEKAJoIgZFDQELIAQgBiAALQBEQQR2QQFxaiIBNgJoIAQoAmQiBiAFKALYKyIJQQFrSwRAIAQgCTYCBCAEIAY2AgAgA0EBQaImIAQQDyAAQQE2AjhBACEFDAULIAEgBk0EQCAEIAE2AhQgBCAGNgIQIANBAUHpJyAEQRBqEA8gAEEBNgI4QQAhBQwFCyAFIAE2AtgrCyABIAQoAmRBAWpHDQAgACAALQBEQQFyOgBECyAEKAJsIQEgAEEQNgIIIABBACABQQxrIAAoAjgbNgIYAkAgACgCLCIBQX9GBEBBBCEFIAIgByAIbGsiASAAKAIcSQ0BIAEgACgCJE8NASAHIAAoAiBJDQEgByAAKAIoT0ECdCEFDAELIAAoAswBIAFHQQJ0IQULIAAgAC0AREH7AXEgBXI6AERBASEFIAAoAsgBIgFFDQIgASgCKCIGIAAoAswBIgJBKGxqIgcgAjYCACAHIAQoAmQiCDYCDCAEKAJoIgEEQCAHIAE2AgQgByAEKAJoIgE2AgggBygCECICRQRAIAFBGBATIQEgACgCyAEoAiggACgCzAFBKGxqIAE2AhAgAQ0EQQAhBSADQQFByTRBABAPDAQLIAIgAUEYbBAXIQEgACgCyAEoAiggACgCzAFBKGxqIQIgAUUEQCACKAIQEBBBACEFIAAoAsgBKAIoIAAoAswBQShsakEANgIQIANBAUHJNEEAEA8MBAsgAiABNgIQDAMLIAcoAhAiAUUEQCAHQQo2AghBCkEYEBMhASAAKALIASgCKCIGIAAoAswBIgJBKGxqIgcgATYCECABRQ0CIAQoAmQhCAsgCCAGIAJBKGxqIgIoAghJDQIgAiAIQQFqIgI2AgggASACQRhsEBchASAAKALIASgCKCAAKALMAUEobGohAiABRQRAIAIoAhAQEEEAIQUgACgCyAEoAiggACgCzAFBKGxqIgBBADYCCCAAQQA2AhAgA0EBQck0QQAQDwwDCyACIAE2AhAMAgsgBCABNgJAIANBAUHy2QAgBEFAaxAPQQAhBQwBC0EAIQUgB0EANgIIIANBAUHJNEEAEA8LIARB8ABqJAAgBQurBwEIfyMAQdAAayIEJAAgBEEBNgJMAkACQCAAKALIASIFKAIoIgMNACAFIAAoAmwgACgCaGwiAzYCJCADQSgQEyEDIAAoAsgBIgUgAzYCKCADRQRAQQAhBQwCCyAFKAIkRQ0AA0BBACEFIAMgBkEobCIHaiIDQQA2AhQgA0HkADYCHEHkAEEYEBMhCSAHIAAoAsgBIggoAigiA2ogCTYCGCAJRQ0CIAZBAWoiBiAIKAIkSQ0ACwsgACgCLCEJAkAgAygCEEUNAAJAIAMgCUEobGoiAygCBEUEQCABIAApAzBCAnwgAhA2DQFBACEFIAJBAUGnKUEAEA8MAwsgASADKAIQKQMAQgJ8IAIQNg0AQQAhBSACQQFBpylBABAPDAILIAAoAghBgAJHDQAgAEEINgIICwJAIAAoAmwgACgCaGwiB0UNACAAKAKcASEFQQAhAyAHQQhPBEAgB0F4cSEIQQAhBgNAIAUgA0GMLGxqQX82AtQrIAUgA0EBckGMLGxqQX82AtQrIAUgA0ECckGMLGxqQX82AtQrIAUgA0EDckGMLGxqQX82AtQrIAUgA0EEckGMLGxqQX82AtQrIAUgA0EFckGMLGxqQX82AtQrIAUgA0EGckGMLGxqQX82AtQrIAUgA0EHckGMLGxqQX82AtQrIANBCGohAyAGQQhqIgYgCEcNAAsLIAdBB3EiBkUNAANAIAUgA0GMLGxqQX82AtQrIANBAWohAyAKQQFqIgogBkcNAAsLQQAhBSAAIARByABqQQAgBEHEAGogBEFAayAEQTxqIARBOGogBEE0aiAEQcwAaiABIAIQJ0UNACAJQQFqIQcDQAJAIAQoAkxFDQAgACAEKAJIIgNBAEEAIAEgAhArRQ0CIAAoAmghCCAAKAJsIQogBCADQQFqIgY2AiAgBCAIIApsNgIkIAJBBEGg1wAgBEEgahAPIAAoAtABIAAoAkwoAhgQdEUNAiAAKAKcASADQYwsbGoiBSgC3CsiCARAIAgQECAFQgA3AtwrCyAEIAY2AhAgAkEEQeb8ACAEQRBqEA8gAyAJRgRAIAEgACgCyAEpAwhCAnwgAhA2DQFBACEFIAJBAUGnKUEAEA8MAwsgBCAHNgIEIAQgBjYCACACQQJB3eUAIAQQD0EAIQUgACAEQcgAakEAIARBxABqIARBQGsgBEE8aiAEQThqIARBNGogBEHMAGogASACECcNAQwCCwsgACACEHIhBQsgBEHQAGokACAFC8gGAgd/AX4jAEHQAGsiAyQAIANBATYCTAJAAkAgACgCaCIEQQFHDQAgACgCbEEBRw0AIAAoAlQNACAAKAJYDQAgACgCTCIFKAIADQAgBSgCBA0AIAUoAgggACgCXEcNACAFKAIMIAAoAmBHDQBBACEEIAAgA0HIAGpBACADQcQAaiADQUBrIANBPGogA0E4aiADQTRqIANBzABqIAEgAhAnRQ0BAkAgACADKAJIQQBBACABIAIQKwRAIAAoAkwiASgCEA0BQQEhBAwDCyACQQFBkcIAQQAQDwwCCyABKAIYIQFBACECA0AgASACQTRsIgRqKAIsEBAgACgCTCIFKAIYIgEgBGoiBiAAKALQASIHKAIUKAIAKAIUIAJBzABsaiIIKAIkNgIsIAYgBygCGCgCGCAEaigCJDYCJCAIQQA2AiRBASEEIAJBAWoiAiAFKAIQSQ0ACwwBCwNAAkACfwJAIARBAUcNACAAKAJsQQFHDQAgACgCnAEoAtwrRQ0AIANBADYCSCAAQQA2AswBIAAgACgCCEGAAXI2AghBAAwBC0EAIQQgACADQcgAakEAIANBxABqIANBQGsgA0E8aiADQThqIANBNGogA0HMAGogASACECdFDQMgAygCTEUNASADKAJICyIHQQFqIQQgACAHQQBBACABIAIQKyEJIAAoAmggACgCbGwhBSAJRQRAIAMgBTYCBCADIAQ2AgAgAkEBQZc5IAMQD0EAIQQMAwsgAyAFNgIkIAMgBDYCICACQQRBoNcAIANBIGoQDyAAKALQASAAKAJMKAIYEHRFBEBBACEEDAMLAkACQCAAKAJoQQFHDQAgACgCbEEBRw0AIAAoAkwiBSgCACAAKAJIIgYoAgBHDQEgBSgCBCAGKAIERw0BIAUoAgggBigCCEcNASAFKAIMIAYoAgxHDQELIAAoApwBIAdBjCxsaiIFKALcKyIGRQ0AIAYQECAFQgA3AtwrCyADIAQ2AhAgAkEEQeb8ACADQRBqEA8gASkDCCIKUAR+QgAFIAogASkDOH0LUARAIAAoAghBwABGDQELIAhBAWoiCCAAKAJoIgQgACgCbGxHDQELCyAAIAIQciEECyADQdAAaiQAIAQLtQYBDH8gACgCSCEJAkAgACgCaCAAKAJsbCIMBEAgCSgCECIBQbgIbCENIAEgAWxBAnQhCiAAKAIMIQQgACgCnAEhAwNAIAMoAtArIQsgAyAEQYwsEBIiAUEANgLoKyABQX82AtQrIAFBADYCsCggAUEANgKELCABQQA2AvArIAFCADcC+CsgASALNgLQKyABIAEtAIgsQfwBcToAiCwgBCgC6CsEQCABIAoQFCIDNgLoKyADRQRAQQAPCyADIAQoAugrIAoQEhoLIAEgBCgC+CtBFGwiBRAUIgM2AvArQQAhCCADRQ0CIAMgBCgC8CsgBRASGiAEKAL0KyIGBEAgBCgC8CshAyABKALwKyEFQQAhBwNAIAMoAgwEQCAFIAMoAhAQFCIGNgIMIAZFBEBBAA8LIAYgAygCDCADKAIQEBIaIAQoAvQrIQYLIAEgASgC+CtBAWo2AvgrIAVBFGohBSADQRRqIQMgB0EBaiIHIAZJDQALCyABIAQoAoQsQRRsIgUQFCIDNgL8KyADRQ0CIAMgBCgC/CsgBRASGiABIAQoAoQsIgg2AoQsIAgEQCAEKAL8KyEDIAEoAvwrIQVBACEHA0AgAygCCCIGBEAgBSABKALwKyAGIAQoAvAra2o2AggLIAMoAgwiBgRAIAUgASgC8CsgBiAEKALwK2tqNgIMCyAFQRRqIQUgA0EUaiEDIAdBAWoiByAIRw0ACwsgCyAEKALQKyANEBIaIAFBjCxqIQMgDkEBaiIOIAxHDQALC0EBIQggAAJ/QQBBAUHIABATIgFFDQAaIAEgAS0AKEH+AXFBAXI6ACggAUEBQQQQEyIENgIUIAEgBA0AGiABEBBBAAsiATYC0AEgAUUEQEEADwsgACgC1AEhBUEAIQQgASAAQdAAajYCHCABIAk2AhhBAUHQBhATIQMgASgCFCADNgIAAkAgA0UNACAJKAIQQcwAEBMhAyABKAIUKAIAIgcgAzYCFCADRQ0AIAcgCSgCEDYCECAAKAKkASEEIAEgBTYCLCABIAQ2AgBBASEECyAEDQAgACgC0AEQVUEAIQggAEEANgLQASACQQFBwhtBABAPCyAIC9USAwx/AX0BfiMAQTBrIggkACAAQQE2AggCfwJAAkAgASAIQShqIgVBAiACEBpBAkcNACAFIAhBLGpBAhARIAgoAixBz/4DRw0AIABBAjYCCCAAKALIASABKQM4QgJ9IhA3AwAgCCAQNwMQIAJBBEHu3gAgCEEQahAPIAAoAsgBIgMpAwAhECADKAIYIgdBAWoiBSADKAIgIgRNBEAgAygCHCEEDAILIAMCfyAEs0MAAMhCkiIPQwAAgE9dIA9DAAAAAGBxBEAgD6kMAQtBAAsiBTYCICADKAIcIAVBGGwQFyIEBEAgAyAENgIcIAMoAhgiB0EBaiEFDAILIAMoAhwQECADQQA2AiAgA0IANwMYIAJBAUGpHUEAEA8LIAJBAUG19QBBABAPQQAMAQsgBCAHQRhsaiIEQQI2AhAgBCAQxDcDCCAEQc/+AzsBACADIAU2AhggASAAKAIQQQIgAhAaQQJHBEAgAkEBQZYSQQAQD0EADAELIAAoAhAgCEEoakECEBECQAJAIAgoAigiBEGQ/wNHBEADQEHgvQEhByAEQf/9A00EQCAIIAQ2AgAgAkEBQcoQIAgQD0EADAULA0AgByIFKAIAIgMEQCAFQQxqIQcgAyAERw0BCwsCQAJAIAMNAEECIQYgAkECQfUcQQAQD0GWEiEHAkACQCABIAAoAhBBAiACEBpBAkcNAANAIAAoAhAgCEEsakECEBFB4L0BIQMgCCgCLCIEQYD+A08EQANAIAMiBSgCACIMBEAgA0EMaiEDIAQgDEcNAQsLIAUoAgQgACgCCHFFBEBB/CghBwwDCyAMBEAgDEGQ/wNGBEAgCEGQ/wM2AigMBwsgASkDOCEQIAAoAsgBIgMoAhgiBUEBaiIEIAMoAiAiB00EQCADKAIcIQcMBQsgAwJ/IAezQwAAyEKSIg9DAACAT10gD0MAAAAAYHEEQCAPqQwBC0EACyIFNgIgIAMoAhwgBUEYbBAXIgcEQCADIAc2AhwgAygCGCIFQQFqIQQMBQsgAygCHBAQIANBADYCICADQgA3AxhBqR0hBwwDCyAGQQJqIQYLIAEgACgCEEECIAIQGkECRg0ACwsgAkEBIAdBABAPIAJBAUH9yABBABAPQQAMBwsgByAFQRhsaiIFIAY2AhAgBSAQpyAGa6w3AwggBUEAOwEAIAMgBDYCGCAIIAw2AihB4L0BIQQDQCAEIgUoAgAiA0UNASAEQQxqIQQgAyAMRw0ACwsgBSgCBCAAKAIIcUUEQCACQQFB/ChBABAPQQAMBgsgASAAKAIQQQIgAhAaQQJHBEAgAkEBQZYSQQAQD0EADAYLIAAoAhAgCEEkakECEBEgCCgCJCIEQQFNBEAgAkEBQaEuQQAQD0EADAYLIAggBEECayIHNgIkIAAoAhAhBCAAKAIUIAdJBEAgBCAHEBciBEUEQCAAKAIQEBAgAEIANwMQIAJBAUHUJUEAEA9BAAwHCyAAIAQ2AhAgACAIKAIkIgc2AhQLIAEgBCAHIAIQGiIEIAgoAiRHBEAgAkEBQZYSQQAQD0EADAYLIAAgACgCECAEIAIgBSgCCBEBAEUEQCACQQFBqBJBABAPQQAMBgsgASkDOCEQIAgoAiQhDAJAIAAoAsgBIgUoAhgiBkEBaiIHIAUoAiAiBE0EQCAFKAIcIQQMAQsgBQJ/IASzQwAAyEKSIg9DAACAT10gD0MAAAAAYHEEQCAPqQwBC0EACyIENgIgIAUoAhwgBEEYbBAXIgRFDQUgBSAENgIcIAUoAhgiBkEBaiEHCyAEIAZBGGxqIgQgDEEEajYCECAEIBCnIAxrQQRrrDcDCCAEIAM7AQAgBSAHNgIYIAEgACgCEEECIAIQGkECRwRAIAJBAUGWEkEAEA9BAAwGC0EBIAogA0Hc/gNGGyEKQQEgCyADQdL+A0YbIQtBASANIANB0f4DRhshDSAAKAIQIAhBKGpBAhARIAgoAigiBEGQ/wNHDQELCyANDQELIAJBAUGYJEEAEA9BAAwCCyALRQRAIAJBAUHGJEEAEA9BAAwCCyAKRQRAIAJBAUH0JEEAEA9BAAwCC0EAIQNBACENIwBBEGsiBCQAQQEhBwJAIAAtALwBQQFxRQ0AAkAgACgCcCILRQ0AAkADQCAAKAJ0IA1BA3RqIgUoAgAiCgRAIAMgBSgCBCIGayIFQQAgAyAFTxshBSADIAZJBEAgBiADayELIAMgCmohCgNAIAtBBEkEQEGOKyEDDAULIAogBEEMakEEEBEgBCgCDCIDQX9zIAlJBEBB9CohAwwFCyADIAtBBGsiBmsgBSADIAZLIgwbIQUgAyAJaiEJIAYgA2shCyAKQQAgAyAMG2pBBGohCiADIAZJDQALIAAoAnAhCwsgBSEDCyANQQFqIg0gC0kNAAsgA0UNAUEAIQcgAkEBQekWQQAQDwwCC0EAIQcgAkEBIANBABAPDAELIAAgCRAUIgM2AogBIANFBEBBACEHIAJBAUG+IEEAEA8MAQsgACAJNgJ8IAAoAnQhBgJAIAAoAnAiCgRAQQAhCUEAIQNBACEFA0AgBiAFQQN0Ig1qIgwoAgAiCwRAIAAoAogBIANqIQoCfyAMKAIEIgYgCU0EQCAKIAsgBhASGiADIAZqIQMgCSAGawwBCyAKIAsgCRASGiADIAlqIQMgBiAJayIGBEAgCSALaiEJA0AgBkEESQ0GIAkgBEEIakEEEBEgCUEEaiEJIAAoAogBIANqIQogBkEEayIGIAQoAggiC0kEQCAKIAkgBhASGiADIAZqIQMgBCgCCCAGawwDCyAKIAkgCxASGiAEKAIIIgogA2ohAyAJIApqIQkgBiAKayIGDQALC0EACyEJIAAoAnQgDWooAgAQECAAKAJ0IgYgDWpCADcCACAAKAJwIQoLIAVBAWoiBSAKSQ0ACyAAKAJ8IQkgACgCiAEhAwsgACAJNgKQASAAIAM2AnggAEEANgJwIAYQECAAQQA2AnQMAQtBACEHIAJBAUGOK0EAEA8LIARBEGokACAHRQRAIAJBAUGPPUEAEA9BAAwCCyACQQRB99YAQQAQDyAAKALIASABKQM4Qv7///8PfEL/////D4M3AwggAEEINgIIQQEMAQsgBSgCHBAQIAVBADYCICAFQgA3AxggAkEBQakdQQAQD0EACyEOIAhBMGokACAOCxwAIAAoAghFIAAoAsABQQBHIAAoAsQBQQBHcXELBABBAAsPACAABEAgACABNgK4AQsLjwEBBH8gACgCGCIBBEAgACgCHCIDQTRuIQQgA0E0TwR/QQAhAwNAIAEoAgAiAgRAIAJBAWsQECABQQA2AgALIAEoAgQiAgRAIAIQECABQQA2AgQLIAEoAggiAgRAIAIQECABQQA2AggLIAFBNGohASADQQFqIgMgBEcNAAsgACgCGAUgAQsQECAAQQA2AhgLC4YBAQR/IAAoAhgiAQRAIAAoAhwiAkHAAE8EfyACQQZ2IQRBACECA0AgASgCACIDBEAgAxAQIAFBADYCAAsgASgCBCIDBEAgAxAQIAFBADYCBAsgASgCPBAQIAFBADYCPCABQUBrIQEgAkEBaiICIARHDQALIAAoAhgFIAELEBAgAEEANgIYCws/AQF/IAAEQCAAKAJ0IgEEQCABEBAgAEEANgJ0CyAAKAJ4IgEEQCABEBAgAEEANgJ4CyAAKAKUARAQIAAQEAsLwaYFBFx/AnsGfgF9IwBB4ABrIiMkACAAKAIIIRoCQAJAAkACQCAAKAIARQRAIBogGigCECAaKAIIayAaKAIUIBooAgxrbEECdCIGEBgiAzYCPCADRQRAIAAoAiQaIAAoAiBBAUHRPEEAEA8gACgCJBogAEEcaiEQDAMLIANBACAGEBUaDAELIBooAjwiA0UNACADEBAgGkEANgI8CyAAKAIQIjIoAhwgMigCGEGYAWxqIgNBmAFrKAIAITUgA0GQAWsoAgAhNiAAKAIUIS8gACgCDCEwIAAoAgQhNyAAKAIcKAIARQ0CIABBHGohEAJAAn9BACABKAIEIgNBAEwNABogASgCACEGAkADQCAGIAdBDGxqIgQoAgBFDQEgB0EBaiIHIANHDQALQQAMAQsgBCgCBAsiBA0AQQFBnAEQEyIERQRAIAAoAiBBAUGQMEEAEA8MAgsgBEEANgKMASABKAIEIgNB/////wdHBH8CfyABKAIAIQYgA0EASgRAA0AgBiAJQQxsaiIHKAIARQRAIAcoAggiAwR/IAcoAgQgAxECACABKAIABSAGCyAJQQxsaiIBQQ82AgggASAENgIEQQEMAwsgCUEBaiIJIANHDQALC0EAIAYgA0EMbEEMahAXIgNFDQAaIAEgAzYCACADIAEoAgQiBkEMbGoiA0EPNgIIIAMgBDYCBCADQQA2AgAgASAGQQFqNgIEQQELBUEACw0AIAAoAiBBAUGMP0EAEA8gBCgCdCIBBEAgARAQIARBADYCdAsgBCgCeCIBBEAgARAQIARBADYCeAsgBCgClAEQECAEEBAMAQsgBCAAKAIYNgKQASAAKAIoISsgACgCJCEhIAAoAiAhHSAvKAKoBiERIDAoAhAhAQJAAkAgLygCECIWQcAAcQRAIBYhCiMAQbACayIPJAACQCARBEAgIQRAQQAhByAdQQFBgRhBABAPDAILQQAhByAdQQFBgRhBABAPDAELIAQoAnQhBwJAAkAgGigCFCAaKAIMayIDIBooAhAgGigCCGsiBmwiASAEKAKEAUsEQCAHEBAgBCABQQJ0IhEQGCIHNgJ0IAdFBEBBACEHDAQLIAQgATYChAEMAQsgB0UNASABQQJ0IRELIAdBACAREBUaCyAEKAJ4IQcCQCAEKAKIAUHPFEsNACAHEBAgBEHA0gAQGCIHNgJ4IAcNAEEAIQcMAQsgBEHQFDYCiAEgB0EAQcDSABAVGiAEIAM2AoABIAQgBjYCfCAaKAIYIgJFBEBBASEHDAELIBooAhwhDUEBIQcCQAJAAkACQAJAIBooAjQiAwRAIBooAgQhCUEAIQdBACEBAkAgA0EETwRAIANBfHEhAQNAIAkgCEEDdGoiBkEcaiAGQRRqIAZBDGogBv0JAgT9VgIAAf1WAgAC/VYCAAMgXv2uASFeIAhBBGoiCCABRw0ACyBeIF4gXv0NCAkKCwwNDg8AAQIDAAECA/2uASJeIF4gXv0NBAUGBwABAgMAAQIDAAECA/2uAf0bACEHIAEgA0YNAQsDQCAJIAFBA3RqKAIEIAdqIQcgAUEBaiIBIANHDQALCyADQQFGBEAgBCgCkAFFDQULIAcgBCgCmAFNDQEgBCgClAEgBxAXIhENAkEAIQcMBgsgBCgCkAFFDQULIAQoApQBIhENAUEAIQcMBAsgBCAHNgKYASAEIBE2ApQBCyAaKAI0RQRAQQAhBwwCCyAaKAIEIQhBACEHQQAhAQNAIAcgEWogCCABQQN0IgNqIgYoAgAgBigCBBASGiAaKAIEIgggA2ooAgQgB2ohByABQQFqIgEgGigCNEkNAAsMAQsgGigCBCgCACERC0EAIQFBACEIAn9BACAaKAIoIgNFDQAaIBooAgAiBigCCCEIQQAgA0EBRg0AGiAGKAIgCyEDIAIgDWshRQJAIAMgCGoiCEUEQEEAIQkMAQtBASEBIBooAgAiAygCACEFQQAhCSAIQQFGBEBBACEBDAELIAMoAhghCQsgRUEBaiEWIAQoAnQhDiAEKAJ4IRQgGigCDCESIBooAhQhGCAaKAIIISQgGigCECErAkACQAJAAkACQAJAAkACQAJAIAFFDQAgCQ0AICFFDQEgHUECQaHQAEEAEA9BASEIDAILIAhBBEkNASAhBEAgDyAINgJwIB1BAUH8xgAgD0HwAGoQDwwICyAPIAg2AmAgHUEBQfzGACAPQeAAahAPQQAhBwwICyAdQQJBodAAQQAQDyAaKAIYIgFBHksNAUEBIQwgASAWTw0DDAULIBooAhgiAUEeTQ0BICFFDQAgDyABNgIgIB1BAUGb2wAgD0EgahAPDAULIA8gATYCACAdQQFBm9sAIA8QD0EAIQcMBQsgASAWSQ0BIAhBAkkEQCAIIQwMAQsgASAWRwRAIAghDAwBC0EBIQxBkMcBLQAADQAgIUUEQEGQxwFBAToAACAPIAg2AkAgHUECQabMACAPQUBrEA8MAQtBkMcBLQAARQRAQZDHAUEBOgAAIA8gCDYCUCAdQQJBpswAIA9B0ABqEA8LCwJAAkAgBUECSQ0AIAUgB0sNACAFIAlqIAdNDQELICEEQEEAIQcgHUEBQcLGAEEAEA8MBQtBACEHIB1BAUHCxgBBABAPDAQLAkACQCAFIBFqIhNBAWstAABBBHQgE0ECay0AAEEPcXIiBkECSQ0AIAUgBkgNACAGQfAfSQ0BCyAhBEBBACEHIB1BAUHW8gBBABAPDAULQQAhByAdQQFB1vIAQQAQDwwECyAaKAIcISYgD0EANgKQAiAPQQA2ApgCIA9CADcDiAIgD0IANwOoAiAPQgA3ApwCIA8gBkEBayIHNgKUAiAPIAUgEWogBmsiATYCgAJC/wEhYCAGQQJPBEAgATEAACFgC0EIIQMgD0EINgKQAiAPIAZBAmsiCDYClAIgDyBgQg+EIGAgB0EBRhsiYDcDiAIgDyABIAZBAUpqIgc2AoACIA8gYEL/AVEiDTYCmAICfwJAIAFBA3EiAkEDRg0AQv8BIWEgDQRAQQAgBy0AAEGPAUsNAhoLIAZBA04EQCAHMQAAIWELIA8gBkEDayINNgKUAiAPQQ9BECBgQv8BUSILGyIDNgKQAiAPIAcgBkECSmoiATYCgAIgDyBhQg+EIGEgCEEBRhsiYUL/AVE2ApgCIA8gYEIHQgggCxuGIGGEImA3A4gCIAJBAkYNACBhQv8BUQRAQQAgAS0AAEGPAUsNAhoLQv8BIWIgBkEETgRAIAExAAAhYgsgDyAGQQRrIgc2ApQCIA8gASAGQQNKaiIBNgKAAiAPIGJCD4QgYiANQQFGGyJiQv8BUTYCmAIgDyADQQdBCCBhQv8BUSIIG2oiAzYCkAIgDyBgQgdCCCAIG4YgYoQiYDcDiAIgAkEBRg0AQv8BIWEgYkL/AVEEQEEAIAEtAABBjwFLDQIaCyAGQQVOBEAgATEAACFhCyAPIAZBBWs2ApQCIA8gASAGQQRKajYCgAIgDyBhQg+EIGEgB0EBRhsiYUL/AVE2ApgCIA8gA0EHQQggYkL/AVEiARtqIgM2ApACIA8gYEIHQgggARuGIGGEImA3A4gCCyAPIGBBwAAgA2uthjcDiAJBAQtFBEAgIQRAQQAhByAdQQFBg9UAQQAQDwwFC0EAIQcgHUEBQYPVAEEAEA8MBAsgKyAkayEVIA8gBkECayILNgL0ASAPIAUgEWoiAkEDayIDNgLgASAPIAJBAmstAAAiGUGPAUsiDTYC+AEgDyAZQQR2rSJgNwPoASAPQQNBBCBgQgeDQgdRGyIBNgLwASADQQNxQQFqIgcgCyAHIAtIGyEIAkACQCAGQQJMBEAgDyALIAhrIgI2AvQBDAELIA8gAkEEayIHNgLgASAPIAMtAAAiF0GPAUsiDTYC+AEgDyAXrSJhIAGthiBghCJgNwPoASAPQQhBB0EIIGFC/wCDQv8AURsgGUGPAU0bIAFqIgE2AvABAkAgCEEBRgRAIAchAwwBCyAPIAJBBWsiAzYC4AEgDyAHLQAAIhlBjwFLIg02AvgBIA8gGa0iYSABrYYgYIQiYDcD6AEgD0EIQQdBCCBhQv8Ag0L/AFEbIBdBjwFNGyABaiIBNgLwASAIQQJGDQAgDyACQQZrIgc2AuABIA8gAy0AACIXQY8BSyINNgL4ASAPIBetImEgAa2GIGCEImA3A+gBIA9BCEEHQQggYUL/AINC/wBRGyAZQY8BTRsgAWoiATYC8AEgCEEDRgRAIAchAwwBCyAPIAJBB2siAzYC4AEgDyAHMQAAImFCjwFWIg02AvgBIA8gYSABrYYgYIQiYDcD6AEgD0EIQQdBCCBhQv8Ag0L/AFEbIBdBjwFNGyABaiIBNgLwAQsgDyALIAhrIgI2AvQBIAFBIEsNAQsCQCACQQROBEAgA0EDaygCACEHIA8gAkEEazYC9AEgDyADQQRrNgLgAQwBCyACQQBMBEBBACEHDAELIAJBAXEhRwJAIAJBAUYEQEEYIQhBACEHDAELIAJB/v///wdxIRdBGCEIQQAhB0EAIQsDQCAPIANBAWsiHzYC4AEgAy0AACFGIA8gA0ECayIDNgLgASAPIAJBAWs2AvQBIB8tAAAhHyAPIAJBAmsiAjYC9AEgRiAIdCAHciAfIAhBCGt0ciEHIAhBEGshCCALQQJqIgsgF0cNAAsLIEdFDQAgDyADQQFrNgLgASADLQAAIUggDyACQQFrNgL0ASBIIAh0IAdyIQcLIA8gB0H/AXEiA0GPAUs2AvgBIA9BB0EIIAdBgICA+AdxQYCAgPgHRhtBCCANGyICQQhBB0EIIAdBgID8A3FBgID8A0YbIAdB/////3hNG2oiCEEIQQdBCCAHQYD+AXFBgP4BRhsgB0EQdkH/AXEiDUGPAU0baiILQQhBB0EIIAdB/wBxQf8ARhsgB0EIdkH/AXEiGUGPAU0bIAFqajYC8AEgDyANIAJ0IAdBGHZyIBkgCHRyIAMgC3RyrSABrYYgYIQ3A+gBCyAPQcABaiARIAUgBmtB/wEQWwJ/QQAgDEECSQ0AGiAPQaABaiATIAlBABBbQQAgDEECRg0AGkIAIWBCACFiIA9BATYCmAEgD0EANgKQASAPQgA3A4gBIA8gCUEBayIGNgKUASAPIAUgEWogCWoiA0EBayIBNgKAASABQQNxIQUCQCAJQQBMBEAgASEDDAELIA8gA0ECayIDNgKAASABMQAAIWALIA8gYDcDiAEgDyBgQo8BViIRNgKYASAPQQdBCCBgQv8Ag0L/AFEbIg02ApABAkAgBUUNACAPIAlBAmsiAjYClAECQCAJQQJIBEAgAyEHDAELIA8gA0EBayIHNgKAASADMQAAIWILIA8gYkKPAVYiETYCmAEgDyBiIA2thiBghCJhNwOIASAPQQhBB0EIIGJC/wCDQv8AURsgYEKPAVgbIA1qIg02ApABIAVBAUYEQCAHIQMgYSFgIAYhCSACIQYMAQsgDyAJQQNrIgg2ApQBAkAgCUEDSARAIAchAQwBCyAPIAdBAWsiATYCgAEgBzEAACFjCyAPIGNCjwFWIhE2ApgBIA8gYyANrYYgYYQiYDcDiAEgD0EIQQdBCCBjQv8Ag0L/AFEbIGJCjwFYGyANaiINNgKQASAFQQJGBEAgASEDIAIhCSAIIQYMAQsgDyAJQQRrIgY2ApQBQgAhYgJAIAlBBEgEQCABIQMMAQsgDyABQQFrIgM2AoABIAExAAAhYgsgDyBiQo8BViIRNgKYASAPIGIgDa2GIGCEImA3A4gBIA9BCEEHQQggYkL/AINC/wBRGyBjQo8BWBsgDWoiDTYCkAEgCCEJCyANQSBNBEACQCAJQQVOBEAgA0EDaygCACEHIA8gCUEFazYClAEgDyADQQRrNgKAAQwBC0EAIQcgCUECSA0AQRghCQNAIA8gA0EBayIBNgKAASADLQAAIUkgDyAGQQFrIgI2ApQBIEkgCXQgB3IhByAGQQFLIUogASEDIAlBCGshCSACIQYgSg0ACwsgDyAHQf8BcSIBQY8BSzYCmAEgD0EHQQggB0GAgID4B3FBgICA+AdGG0EIIBEbIgNBCEEHQQggB0GAgPwDcUGAgPwDRhsgB0H/////eE0baiIGQQhBB0EIIAdBgP4BcUGA/gFGGyAHQRB2Qf8BcSIJQY8BTRtqIgJBCEEHQQggB0H/AHFB/wBGGyAHQQh2Qf8BcSIIQY8BTRsgDWpqNgKQASAPIAkgA3QgB0EYdnIgCCAGdHIgASACdHKtIA2thiBghDcDiAELQQELITEgGCASayEfIBZBAWohLCAUQQA6AMAQIBRBwBBqIQsgD0GAAmoQKCECIBVBAEoEQCAmQQFrIRMgFCEDIAshCEEAIREgDiEGQQAhDQNAIA0hBSARQQh0IA9B4AFqEC9B/wBxQQF0ckGg/QBqLwEAIQECQCARDQAgAUEAIAJBAmsiB0F/RhshASACQQFKBEAgByECDAELIA9BgAJqECghAgsgDykD6AEhZCAPKALwASFLIAMgAygCACABQQR2IhhBA3EgAUECdkEwcXIgInRyIhY2AgAgAUEFdkEHcSABQRBxIh5BBHZyIREgSyABQQdxIgdrIQ0gZCAHrYgiYKchCUEAIQcgFSAFQQJySgRAIBFBCHQgCUH/AHFBAXRyQaD9AGovAQAhBwJAIBENACAHQQAgAkECayIJQX9GGyEHIAJBAUoEQCAJIQIMAQsgD0GAAmoQKCECCyAHQQR2QQFxIAdBBXZBB3FyIREgDSAHQQdxIglrIQ0gYCAJrYgiYKchCQsgAyAHQQJ0QYAGcSAHQTBxciAiQQRqdCAWcjYCAAJAIAdBAnZBAnEgAUEDdkEBcXIiF0EDRw0AQQRBAyACQQJrIhZBf0YbIRcgAkEBSgRAIBYhAgwBCyAPQYACahAoIQILAn8gF0UEQCAPQoGAgIAQNwJ4QQAMAQsgF0ECTQRAIA9BASAJQQdxQdSdAWotAAAiFkEFdkF/IBZBAnZBB3EiGXRBf3MgCSAWQQNxIgl2cWpBAWoiFiAXQQFGIhcbNgJ8IA8gFkEBIBcbNgJ4IAkgGWoMAQsgCSAJQQdxQdSdAWotAAAiFkEDcSIZdiEJIBdBA0YEQCAWQQV2QQFqIRcgGUEDRgRAIA8gCUEBcUECcjYCfCAPIBdBfyAWQQJ2QQdxIhZ0QX9zIAlBAXZxajYCeCAWQQRqDAILIA8gFyAJIAlBB3FB1J0Bai0AACIJQQNxIhJ2IiBBfyAWQQJ2QQdxIhZ0QX9zcWo2AnggD0F/IAlBAnZBB3EiF3RBf3MgICAWdnEgCUEFdmpBAWo2AnwgFiAZaiASaiAXagwBCyAPIAkgCUEHcUHUnQFqLQAAIglBA3EiEnYiIEF/IBZBAnZBB3EiF3RBf3NxIBZBBXZqQQNqNgJ4IA9BfyAJQQJ2QQdxIhZ0QX9zICAgF3ZxIAlBBXZqQQNqNgJ8IBIgGWogF2ogFmoLIQkCQCAsIA8oAngiGU8EQCAPKAJ8IhIgLE0NAQsgIQRAQQAhByAdQQFBmfYAQQAQDwwHC0EAIQcgHUEBQZn2AEEAEA8MBgsgDyANIAlrNgLwASAPIGAgCa2INwPoASAHQfABcSAYQQ9xckH/AUH/ASAFQQRqIg0gFWtBAXR2IA0gFUwbIgkgCUHVAHEgH0EBShsiCUF/c3EEQCAhBEBBACEHIB1BAUGv2gBBABAPDAcLQQAhByAdQQFBr9oAQQAQDwwGCwJAAkAgHgRAIA9BwAFqEBshFyAPIA8oAtABIBkgAUETdEEfdWoiFms2AtABIA8gDykDyAEgFq2INwPIASAXQX8gFnRBf3NxIAFBCHZBAXEgFnRyQQFyQQJqIBN0IBdBH3RyIRYMAQtBACEWIAlBAXFFDQELIAYgFjYCAAsCQCABQSBxBEAgD0HAAWoQGyEXIA8gDygC0AEgGSABQRJ0QR91aiIWazYC0AEgDyAPKQPIASAWrYg3A8gBIAYgFUECdGogF0F/IBZ0QX9zcSABQQl2QQFxIBZ0ckEBciIWQQJqIBN0IBdBH3RyNgIAIAhBICAWZ2siFiAILQAAQf8AcSIXIBYgF0sbQYABcjoAAAwBCyAJQQJxRQ0AIAYgFUECdGpBADYCAAsgBkEEaiEXAkACQCABQcAAcQRAIA9BwAFqEBshGCAPIA8oAtABIBkgAUERdEEfdWoiFms2AtABIA8gDykDyAEgFq2INwPIASAYQX8gFnRBf3NxIAFBCnZBAXEgFnRyQQFyQQJqIBN0IBhBH3RyIRYMAQtBACEWIAlBBHFFDQELIBcgFjYCAAsgCEEAOgABAkAgAUGAAXEEQCAPQcABahAbIRggDyAPKALQASAZIAFBEHRBH3VqIhZrNgLQASAPIA8pA8gBIBatiDcDyAEgFyAVQQJ0aiAYQX8gFnRBf3NxIAFBC3ZBAXEgFnRyQQFyIgFBAmogE3QgGEEfdHI2AgAgCEGgfyABZ2s6AAEMAQsgCUEIcUUNACAXIBVBAnRqQQA2AgALIAZBCGohAQJAAkAgB0EQcQRAIA9BwAFqEBshGSAPIA8oAtABIBIgB0ETdEEfdWoiFms2AtABIA8gDykDyAEgFq2INwPIASAZQX8gFnRBf3NxIAdBCHZBAXEgFnRyQQFyQQJqIBN0IBlBH3RyIRcMAQtBACEXIAlBEHFFDQELIAEgFzYCAAsCQCAHQSBxBEAgD0HAAWoQGyEZIA8gDygC0AEgEiAHQRJ0QR91aiIWazYC0AEgDyAPKQPIASAWrYg3A8gBIAEgFUECdGogGUF/IBZ0QX9zcSAHQQl2QQFxIBZ0ckEBciIBQQJqIBN0IBlBH3RyNgIAIAhBICABZ2siASAILQABQf8AcSIWIAEgFksbQYABcjoAAQwBCyAJQSBxRQ0AIAEgFUECdGpBADYCAAsgBkEMaiEBAkACQCAHQcAAcQRAIA9BwAFqEBshGSAPIA8oAtABIBIgB0ERdEEfdWoiFms2AtABIA8gDykDyAEgFq2INwPIASAZQX8gFnRBf3NxIAdBCnZBAXEgFnRyQQFyQQJqIBN0IBlBH3RyIRcMAQtBACEXIAlBwABxRQ0BCyABIBc2AgALIAhBAmoiCEEAOgAAAkAgB0GAAXEEQCAPQcABahAbIRYgDyAPKALQASASIAdBEHRBH3VqIglrNgLQASAPIA8pA8gBIAmtiDcDyAEgASAVQQJ0aiAWQX8gCXRBf3NxIAdBC3ZBAXEgCXRyQQFyIgFBAmogE3QgFkEfdHI2AgAgCEGgfyABZ2s6AAAMAQsgCUGAAUkNACABIBVBAnRqQQA2AgALICJBEHMhIiADIAVBBHFqIQMgBkEQaiEGIA0gFUgNAAsLIApBCHEhOCAUQbAMaiEoIBRBoAhqISkgFEGQBGohJSAfQQNOBEAgFUEDbCE5IBVBAXQhOiAmQQFrISBBAyAmQQJrIgF0IS1BASABdCEuIBVBB2pBAXZB/P///wdxQQRqIT0gKyAkQX9zaiIBQQN2IgNBAnQiPkEEaiE7IANBAWoiP0H8////A3EiHEECdCE8IBxBA3QhEiABQRhJIUBBAiEZA0AgGSETIAstAAAhFiALQQA6AAAgIkFvcUECcyEiAkAgFUEATARAIBNBAmohGQwBCyAlIBQgE0EEcRshESATQQJqIRkgDiATIBVsQQJ0aiEIQQAhCiALIQZBACENA0AgDSEFIAYtAAFBBXZBBHEgCiAWQQd2cnIiA0EIdCAPQeABahAvQf8AcUEBdHJBoI0Bai8BACEBAkAgAw0AIAFBACACQQJrIgNBf0YbIQEgAkEBSgRAIAMhAgwBCyAPQYACahAoIQILIA8pA+gBIWUgDygC8AEhTCARIBEoAgAgAUEEdkEDcSABQQJ2QTBxciAidHIiCTYCACABQcAAcSIqQQV2IAFBgAFxIidBBnZyIQogTCABQQdxIgNrIRcgZSADrYgiYKchDUEAIRgCQCAVIAVBAnJMBEBBACEHDAELIAogBi0AAkEFdkEEcSAGLQABQQd2cnIiA0EIdCANQf8AcUEBdHJBoI0Bai8BACEHAkAgAw0AIAdBACACQQJrIgNBf0YbIQcgAkEBSgRAIAMhAgwBCyAPQYACahAoIQILIAdBBXYgB0EGdnJBAnEhCiAXIAdBB3EiA2shFyBgIAOtiCJgpyENCyARIAdBAnRBgAZxIAdBMHFyICJBBGp0IAlyNgIAQQEhCUEBIQMCQCAHQQJ2QQJxIAFBA3ZBAXFyIh5FDQAgDSANQQdxQdSdAWotAAAiA0EDcSINdiEJIB5BA0cEQEEBIAlBfyADQQJ2QQdxIhh0QX9zcSADQQV2akEBaiIDIB5BAUYiHhshCSADQQEgHhshAyANIBhqIRgMAQsgCUEHcUHUnQFqLQAAIh5BA3EiMyANIANBAnZBB3EiG2pqIB5BAnZBB3EiDWohGCAJIDN2IglBfyAbdEF/c3EgA0EFdmpBAWohA0F/IA10QX9zIAkgG3ZxIB5BBXZqQQFqIQkLIA8gFyAYazYC8AEgDyBgIBitiDcD6AEgAUHwAXEiDSANQQFrcQRAIAMgFkH/AHEiFiAGLQABQf8AcSIXIBYgF0sbIhZBAmsiF0EAIBYgF08baiEDCyAHQfABcSIXIBdBAWtxBEAgCSAGLQABQf8AcSIWIAYtAAJB/wBxIhggFiAYSxsiFkECa0EAIBZBAksbaiEJCyADICxNIAkgLE1xRQRAICEEQEEAIQcgHUEBQf32AEEAEA8MCQtBACEHIB1BAUH99gBBABAPDAgLIAYtAAIhFiAGQQA7AAEgFyANQQR2ckH/AUH/ASAFQQRqIg0gFWtBAXR2IA0gFUwbIhdB1QBxIBcgGSAfShsiGEF/c3EEQCAhBEBBACEHIB1BAUGv2gBBABAPDAkLQQAhByAdQQFBr9oAQQAQDwwICwJAAkAgAUEQcQRAIA9BwAFqEBshHiAPIA8oAtABIAMgAUETdEEfdWoiF2s2AtABIA8gDykDyAEgF62INwPIASAeQX8gF3RBf3NxIAFBCHZBAXEgF3RyQQFyQQJqICB0IB5BH3RyIRcMAQtBACEXIBhBAXFFDQELIAggFzYCAAsCQCABQSBxBEAgD0HAAWoQGyEeIA8gDygC0AEgAyABQRJ0QR91aiIXazYC0AEgDyAPKQPIASAXrYg3A8gBIAggFUECdGogHkF/IBd0QX9zcSABQQl2QQFxIBd0ckEBciIXQQJqICB0IB5BH3RyNgIAIAZBICAXZ2siFyAGLQAAQf8AcSIeIBcgHksbQYABcjoAAAwBCyAYQQJxRQ0AIAggFUECdGpBADYCAAsgCEEEaiEeAkACQCAqBEAgD0HAAWoQGyEbIA8gDygC0AEgAyABQRF0QR91aiIXazYC0AEgDyAPKQPIASAXrYg3A8gBIBtBfyAXdEF/c3EgAUEKdkEBcSAXdHJBAXJBAmogIHQgG0EfdHIhFwwBC0EAIRcgGEEEcUUNAQsgHiAXNgIACwJAICcEQCAPQcABahAbIRcgDyAPKALQASADIAFBEHRBH3VqIgNrNgLQASAPIA8pA8gBIAOtiDcDyAEgHiAVQQJ0aiAXQX8gA3RBf3NxIAFBC3ZBAXEgA3RyQQFyIgFBAmogIHQgF0EfdHI2AgAgBkGgfyABZ2s6AAEMAQsgGEEIcUUNACAeIBVBAnRqQQA2AgALIAhBCGohAQJAAkAgB0EQcQRAIA9BwAFqEBshFyAPIA8oAtABIAkgB0ETdEEfdWoiA2s2AtABIA8gDykDyAEgA62INwPIASAXQX8gA3RBf3NxIAdBCHZBAXEgA3RyQQFyQQJqICB0IBdBH3RyIQMMAQtBACEDIBhBEHFFDQELIAEgAzYCAAsCQCAHQSBxBEAgD0HAAWoQGyEXIA8gDygC0AEgCSAHQRJ0QR91aiIDazYC0AEgDyAPKQPIASADrYg3A8gBIAEgFUECdGogF0F/IAN0QX9zcSAHQQl2QQFxIAN0ckEBciIBQQJqICB0IBdBH3RyNgIAIAZBICABZ2siASAGLQABQf8AcSIDIAEgA0sbQYABcjoAAQwBCyAYQSBxRQ0AIAEgFUECdGpBADYCAAsgCEEMaiEBAkACQCAHQcAAcQRAIA9BwAFqEBshFyAPIA8oAtABIAkgB0ERdEEfdWoiA2s2AtABIA8gDykDyAEgA62INwPIASAXQX8gA3RBf3NxIAdBCnZBAXEgA3RyQQFyQQJqICB0IBdBH3RyIQMMAQtBACEDIBhBwABxRQ0BCyABIAM2AgALIAZBAmohBgJAIAdBgAFxBEAgD0HAAWoQGyEXIA8gDygC0AEgCSAHQRB0QR91aiIDazYC0AEgDyAPKQPIASADrYg3A8gBIAEgFUECdGogF0F/IAN0QX9zcSAHQQt2QQFxIAN0ckEBciIBQQJqICB0IBdBH3RyNgIAIAZBoH8gAWdrOgAADAELIBhBgAFJDQAgASAVQQJ0akEANgIACyAiQRBzISIgESAFQQRxaiERIAhBEGohCCANIBVIDQALCwJAIAxBAkkNACATQQJxRQ0AIBlBBHEhAwJAAn8CQAJAIDEEQCAUICUgAxshFkEAIRggFUEATA0BIA4gE0ECayAVbEECdGohEQNAIA9BgAFqEC8hB0EAIQEgFigCACIIBEAgESAYQQJ0aiEBQQAhCUEPIQYDQAJAIAYgCHFFDQAgBkGRosSIAXEiDSAIcQRAIAEgASgCACAHQX9zQQFxICB0cyAucjYCACAHQQF2IQcLIA1BAXQgCHEEQCABIBVBAnRqIgUgBSgCACAHQX9zQQFxICB0cyAucjYCACAHQQF2IQcLIA1BAnQgCHEEQCABIDpBAnRqIgUgBSgCACAHQX9zQQFxICB0cyAucjYCACAHQQF2IQcLIA1BA3QgCHFFDQAgASA5QQJ0aiINIA0oAgAgB0F/c0EBcSAgdHMgLnI2AgAgB0EBdiEHCyABQQRqIQEgBkEEdCEGIAlBAWoiCUEIRw0ACyAIaSEBCyAWQQRqIRYgDyAPKAKQASABazYCkAEgDyAPKQOIASABrYg3A4gBIBhBCGoiGCAVSA0ACwsgKSAoIAMbIQUgFCAlIAMbIRYgA0UhGCAVQQBMDQNBACEDIEANASAFIBYgO2pJIBYgBSA7aiIHSXENAUEAIAUiASAWIgYgPmpBCGpJIAZBBGogB0lxDQIaIAYgPGohBiABIDxqIQH9DAAAAAAAAAAAAAAAAAAAAAAhXkEAIQcDQCAFIAdBAnQiA2oiCSADIBZqIgP9AAIAIl9BBP2tASBfQQT9qwEgXiBf/Q0MDQ4PEBESExQVFhcYGRobQRz9rQH9UP1QIF/9UCJe/QsCACAJIF4gA/0AAgRBHP2rAf1QIl5BAf2tAf0Md3d3d3d3d3d3d3d3d3d3d/1OIF5BAf2rAf0M7u7u7u7u7u7u7u7u7u7u7v1O/VAgXv1QIF/9T/0LAgAgXyFeIAdBBGoiByAcRw0ACyAcID9GDQMgEiEDIF79GwMMAgsgA0UhGCApICggAxshBQwCCyAFIQEgFiEGQQALIQcDQCAHQRx2IQkgASAGKAIAIgdBBHYgCSAHQQR0cnIgB3IiCTYCACABIAkgBigCBEEcdHIiCUEBdkH37t27B3EgCUEBdEHu3bv3fnFyIAlyIAdBf3NxNgIAIAFBBGohASAGQQRqIQYgA0EIaiIDIBVIDQALCyATQQZJDQBBACEJQQAhESAWIQEgKSAoIBgbIhshByAUICUgGBsiFyEGAkAgFUEATCINDQADQCABQQRqIQMgBygCACEIIAEoAgAhASAHIDgEfyAIBSABQQR0IBFBHHZyIAFBBHZyIAMoAgBBHHRyIAFyQQN0QYiRosR4cSAIcgsgBigCAEF/c3E2AgAgBkEEaiEGIAdBBGohByABIREgAyEBIAlBCGoiCSAVSA0ACyANDQAgDiATQQZrIBVsQQJ0aiFBQQAhHiAXIREDQEEAIQMgGygCACIBBEAgFSAeayFCQQAhB0EAIQoDQCAHIU0gD0GgAWoQGyEHAkAgCiAKQQRqIgYgQiAGIB5qIBVIGyIzTiJDBEBBACEGDAELIBEoAgBBf3MhKiBBIAogHnJBAnRqIRhBACEGQQ8gCiIJQQJ0IkR0Ig0hCANAAkAgASAIcUUNACAIQZGixIgBcSInIAFxBEAgB0EBcQRAIAMgJ3IhA0EyIAlBAnR0ICpxIAFyIQELIAdBAXYhByAGQQFqIQYLIAEgJ0EBdCI0cQRAIAdBAXEEQCADIDRyIQMgAUH0ACAJQQJ0dCAqcXIhAQsgB0EBdiEHIAZBAWohBgsgASAnQQJ0IjRxBEAgB0EBcQRAIAMgNHIhAyABQegBIAlBAnR0ICpxciEBCyAHQQF2IQcgBkEBaiEGCyABICdBA3QiJ3FFDQAgB0EBcQRAIAMgJ3IhAyABQcABIAlBAnR0ICpxciEBCyAGQQFqIQYgB0EBdiEHCyAIQQR0IQggCUEBaiIJIDNIDQALIAMgRHZB//8DcUUNACBDDQADQAJAIAMgDXFFDQAgDUGRosSIAXEiCSADcQRAIBggGCgCACAHQR90ciAtcjYCACAHQQF2IQcgBkEBaiEGCyAJQQF0IANxBEAgGCAVQQJ0aiIIIAgoAgAgB0EfdHIgLXI2AgAgB0EBdiEHIAZBAWohBgsgCUECdCADcQRAIBggOkECdGoiCCAIKAIAIAdBH3RyIC1yNgIAIAdBAXYhByAGQQFqIQYLIAlBA3QgA3FFDQAgGCA5QQJ0aiIJIAkoAgAgB0EfdHIgLXI2AgAgBkEBaiEGIAdBAXYhBwsgDUEEdCENIBhBBGohGCAKQQFqIgogM0gNAAsLIA8gDygCsAEgBms2ArABIA8gDykDqAEgBq2INwOoAUEBIQdBBCEKIE1BAXFFDQALIBsgGygCBCADQRt2QQ5xIANBHXZyIANBHHZyIBEoAgRBf3NxcjYCBAsgESgCACADciIDQQN2QZGixIgBcSIBQQR2IAFBBHRyIAFyIQYgHgRAIAVBBGsiByAHKAIAIBZBBGsoAgBBf3MgAUEcdHFyNgIACyAFIAUoAgAgBiAWKAIAQX9zcXI2AgAgBSAFKAIEIBYoAgRBf3MgA0EfdnFyNgIEIBtBBGohGyARQQRqIREgBUEEaiEFIBZBBGohFiAeQQhqIh4gFUgNAAsLIBdBACA9EBUaCyAZIB9IDQALCwJAIAxBAkkNAAJAIB9BA3FBAWsiFkECSSAxcQRAIBVBAEwNAUEBICZBAmt0IQIgDiAfQfz//wdxIBVsQQJ0aiERICUgFCAfQQRxGyEFICZBAWshCEEAIQogFUEMbCEMIBVBA3QhCwNAIA9BgAFqEC8hB0EAIQEgBSgCACIDBEAgESAKQQJ0aiEBQQ8hBkEAIQkDQAJAIAMgBnFFDQAgBkGRosSIAXEiDSADcQRAIAEgASgCACAHQX9zQQFxIAh0cyACcjYCACAHQQF2IQcLIA1BAXQgA3EEQCABIBVBAnRqIh0gHSgCACAHQX9zQQFxIAh0cyACcjYCACAHQQF2IQcLIA1BAnQgA3EEQCABIAtqIh0gHSgCACAHQX9zQQFxIAh0cyACcjYCACAHQQF2IQcLIA1BA3QgA3FFDQAgASAMaiINIA0oAgAgB0F/c0EBcSAIdHMgAnI2AgAgB0EBdiEHCyABQQRqIQEgBkEEdCEGIAlBAWoiCUEIRw0ACyADaSEBCyAFQQRqIQUgDyAPKAKQASABazYCkAEgDyAPKQOIASABrYg3A4gBIApBCGoiCiAVSA0ACwsgFkEBSw0AIBVBAEwNACAlIBQgH0EEcSIBGyEJICggKSABGyECQQAhAwJ/AkAgKyAkQX9zaiIBQThJDQAgAiAJIAFBAXZB/P///wdxIgZBBGoiB2pJIAkgAiAHaiIHSXENACACIAYgCWpBCGpJIAlBBGogB0lxDQAgAUEDdkEBaiINQfz///8DcSIIQQN0IQMgCSAIQQJ0IgFqIQYgASACaiEB/QwAAAAAAAAAAAAAAAAAAAAAIV5BACEHA0AgAiAHQQJ0IhZqIhEgCSAWaiIW/QACACJfQQT9rQEgX0EE/asBIF4gX/0NDA0ODxAREhMUFRYXGBkaG0Ec/a0B/VD9UCBf/VAiXv0LAgAgESBeIBb9AAIEQRz9qwH9UCJeQQH9rQH9DHd3d3d3d3d3d3d3d3d3d3f9TiBeQQH9qwH9DO7u7u7u7u7u7u7u7u7u7u79Tv1QIF79UCBf/U/9CwIAIF8hXiAHQQRqIgcgCEcNAAsgCCANRg0CIF79GwMMAQsgAiEBIAkhBkEACyEHA0AgB0EcdiEJIAEgBigCACIHQQR2IAkgB0EEdHJyIAdyIgk2AgAgASAJIAYoAgRBHHRyIglBAXZB9+7duwdxIAlBAXRB7t27935xciAJciAHQX9zcTYCACABQQRqIQEgBkEEaiEGIANBCGoiAyAVSA0ACwsgHyAfQQFqQQNxa0EDa0EAIB9BBkobIhEgH04NAEEDICZBAmt0IRkgKyAkQX9zaiIBQQN2IgNBAnQiK0EEaiEdIANBAWoiA0H8////A3EiEkECdCEhIBJBA3QhFiAVQQxsISwgFUEDdCEtIAFBGEkhJiADIBJGIRsDQAJAAkACQAJAAn8CQCAfIBFrIgFBAWsiA0EDTwRAQX8hFyABQQVIDQUgFUEATA0GICUgFCARQQRxIgEbIQIgKCApIAEbIQkgOARAQQAhBiAmDQQgAiAJIB1qSSACIB1qIAlLcQ0EIAIgIWohASAJICFqIQcDQCAJIAZBAnQiA2oiCCAI/QACACACIANq/QACAP1P/QsCACAGQQRqIgYgEkcNAAsgFiEGIBsNBgwFCyAUICUgARshDUEAIQMgJg0BIAkgDSAdakkgDSAJIB1qIgFJcQ0BIAkgDSArakEIakkgDUEEaiABSXENASAJIAIgHWpJIAEgAktxDQEgAiAhaiEIIAkgIWohASANICFqIQf9DAAAAAAAAAAAAAAAAAAAAAAhXkEAIQYDQCAJIAZBAnQiA2oiBSADIA1qIgz9AAIAIl9BBP2tASBfQQT9qwEgXiBf/Q0MDQ4PEBESExQVFhcYGRobQRz9rQH9UP1QIAz9AAIEQRz9qwH9UCBf/VBBA/2rAf0MiIiIiIiIiIiIiIiIiIiIiP1OIAX9AAIA/VAgAiADav0AAgD9T/0LAgAgXyFeIAZBBGoiBiASRw0ACyAbDQUgFiEDIF79GwMMAgsgA0ECdEHcnQFqKAIAIRcMBAsgDSEHIAkhASACIQhBAAshBgNAIAZBHHYhCSABIAEoAgAgBygCACIGQQR2IAkgBkEEdHJyIAcoAgRBHHRyIAZyQQN0QYiRosR4cXIgCCgCAEF/c3E2AgAgCEEEaiEIIAFBBGohASAHQQRqIQcgA0EIaiIDIBVIDQALDAILIAkhByACIQELA0AgByAHKAIAIAEoAgBBf3NxNgIAIAFBBGohASAHQQRqIQcgBkEIaiIGIBVIDQALCyAVQQBMDQAgJSAUIBFBBHEiARshCiAoICkgARshAiAUICUgARshEyApICggARshHiAOIBEgFWxBAnRqIS5BACEFA0BBACEDIAIoAgAgF3EiAQRAIBUgBWshKkEAIQdBACENA0AgByFOIA9BoAFqEBshBwJAIA0gDUEEaiIGICogBSAGaiAVSBsiJE4iJwRAQQAhBgwBCyAXIAooAgBBf3NxIRggLiAFIA1yQQJ0aiELQQAhBkEPIA0iCUECdCIcdCIgIQgDQAJAIAEgCHFFDQAgCEGRosSIAXEiIiABcQRAIAdBAXEEQCADICJyIQNBMiAJQQJ0dCAYcSABciEBCyAHQQF2IQcgBkEBaiEGCyABICJBAXQiMXEEQCAHQQFxBEAgAyAxciEDIAFB9AAgCUECdHQgGHFyIQELIAdBAXYhByAGQQFqIQYLIAEgIkECdCIxcQRAIAdBAXEEQCADIDFyIQMgAUHoASAJQQJ0dCAYcXIhAQsgB0EBdiEHIAZBAWohBgsgASAiQQN0IiJxRQ0AIAdBAXEEQCADICJyIQMgAUHAASAJQQJ0dCAYcXIhAQsgBkEBaiEGIAdBAXYhBwsgCEEEdCEIIAlBAWoiCSAkSA0ACyADIBx2Qf//A3FFDQAgJw0AA0ACQCADICBxRQ0AICBBkaLEiAFxIgkgA3EEQCALIAsoAgAgB0EfdHIgGXI2AgAgB0EBdiEHIAZBAWohBgsgCUEBdCADcQRAIAsgFUECdGoiCCAIKAIAIAdBH3RyIBlyNgIAIAdBAXYhByAGQQFqIQYLIAlBAnQgA3EEQCALIC1qIgggCCgCACAHQR90ciAZcjYCACAHQQF2IQcgBkEBaiEGCyAJQQN0IANxRQ0AIAsgLGoiCSAJKAIAIAdBH3RyIBlyNgIAIAZBAWohBiAHQQF2IQcLICBBBHQhICALQQRqIQsgDUEBaiINICRIDQALCyAPIA8oArABIAZrNgKwASAPIA8pA6gBIAatiDcDqAFBASEHQQQhDSBOQQFxRQ0ACyACIAIoAgQgA0EbdkEOcSADQR12ciADQRx2ciAKKAIEQX9zcXI2AgQLIAooAgAgA3IiA0EDdkGRosSIAXEiAUEEdiABQQR0ciABciEGIAUEQCAeQQRrIgcgBygCACATQQRrKAIAQX9zIAFBHHRxcjYCAAsgHiAeKAIAIAYgEygCAEF/c3FyNgIAIB4gHigCBCATKAIEQX9zIANBH3ZxcjYCBCACQQRqIQIgCkEEaiEKIB5BBGohHiATQQRqIRMgBUEIaiIFIBVIDQALCyARQQRqIhEgH0gNAAsLQQEhByAfQQBMDQMgFUEATA0DIBVB/P///wdxIgZBAnQhAiAVQQRJIQhBACEJA0AgDiAJIBVsQQJ0aiEDAkACQCAIBEAgAyEHQQAhAQwBCyACIANqIQdBACEBA0AgAyABQQJ0aiINIA39AAIAIl79DP///3////9/////f////3/9TiJf/aEBIF8gXv0MAAAAAAAAAAAAAAAAAAAAAP05/VL9CwIAIAFBBGoiASAGRw0ACyAGIgEgFUYNAQsDQCAHQQAgBygCACIDQf////8HcSINayANIANBAEgbNgIAIAdBBGohByABQQFqIgEgFUcNAAsLQQEhByAJQQFqIgkgH0cNAAsMAwsgIUUNACAPIBooAhg2AjQgDyAWNgIwIB1BAUHcxwAgD0EwahAPDAELIA8gATYCFCAPIBY2AhAgHUEBQdzHACAPQRBqEA9BACEHDAELQQAhBwsgD0GwAmokACAHDQEMAwsgBCABQQl0QdCpAWo2AmwCfyAEKAJ0IQECQAJAIBooAhAgGigCCGsiBSAaKAIUIBooAgxrIglsIgMgBCgChAFLBEAgARAQIAQgA0ECdBAYIgE2AnRBACABRQ0DGiAEIAM2AoQBDAELIAFFDQELIAFBACADQQJ0EBUaCyAEKAJ4IQECQCAFQQJqIgYgCUEDakECdiIMQQJqbCIDIAQoAogBTQRAIANBAnQhCAwBCyABEBAgBCADQQJ0IggQGCIBNgJ4IAENAEEADAELIAQgAzYCiAEgAUEAIAgQFRoCQCAGRQ0AIAQoAngiByEBAkAgBkEETwRAIAcgBkF8cSINQQJ0aiEBQQAhCANAIAcgCEECdGr9DAAAIEkAACBJAAAgSQAAIEn9CwIAIAhBBGoiCCANRw0ACyAGIA1GDQELA0AgAUGAgIDJBDYCACABQQRqIQEgDUEBaiINIAZHDQALCyAHIAxBAWogBmxBAnRqIQNBACENAkACQCAGQQRJBEAgAyEBDAELIAMgBkF8cSINQQJ0aiEBQQAhCANAIAMgCEECdGr9DAAAIEkAACBJAAAgSQAAIEn9CwIAIAhBBGoiCCANRw0ACyAGIA1GDQELA0AgAUGAgIDJBDYCACABQQRqIQEgDUEBaiINIAZHDQALCyAJQQNxIgFFDQAgBkUNAEGAgIDIBEGAgIDABEGAgICABCABQQJGGyABQQFGGyELIAcgBiAMbEECdGohA0EAIQ0CQCAGQQRJBEAgAyEBDAELIAMgBkF8cSINQQJ0aiEBIAv9ESFfQQAhCANAIAMgCEECdGogX/0LAgAgCEEEaiIIIA1HDQALIAYgDUYNAQsDQCABIAs2AgAgAUEEaiEBIA1BAWoiDSAGRw0ACwsgBCAJNgKAASAEIAU2AnxBAQtFDQIgGigCHCARaiIZQR9OBEAgIUUNAiAjIBk2AhAgHUECQdXBACAjQRBqEA8MAwsgBBBaQQAhASAEQbCpATYCZCAEQdCeATYCYCAEQfCeATYCHAJAAkACQAJAIBooAjQiB0EBSw0AIAQoApABRQ0CIAcNAAwBCyAaKAIEIQMgB0EETwRAIAdBfHEhAkEAIQYDQCADIAZBA3RqIgFBHGogAUEUaiABQQxqIAH9CQIE/VYCAAH9VgIAAv1WAgADIF79rgEhXiAGQQRqIgYgAkcNAAsgXiBeIF79DQgJCgsMDQ4PAAECAwABAgP9rgEiXiBeIF79DQQFBgcAAQIDAAECAwABAgP9rgH9GwAhASACIAdGDQELA0AgAyACQQN0aigCBCABaiEBIAJBAWoiAiAHRw0ACwsgAUECaiIDIAQoApgBSwRAIAQoApQBIAMQFyIGRQ0FIAQgBjYClAEgASAGakEAOwAAIAQgAzYCmAEgGigCNCEHCyAEKAKUASEeIAdFDQEgGigCBCEGQQAhAkEAIQEDQCACIB5qIAYgAUEDdCIDaiIGKAIAIAYoAgQQEhogGigCBCIGIANqKAIEIAJqIQIgAUEBaiIBIBooAjRJDQALDAELIAdBAUcNASAaKAIEKAIAIR4LIBooAjwiAQRAIAQoAnQhLCAEIAE2AnQLIBooAiwEQCAWQQhxISUgBEEcaiEPIBZBAXEhLSAWQQJxRSEuQQIhHwNAIB4gKGohASAaKAIAIClBGGxqIiAoAgAhAwJAIC0gH0ECSSAZIBooAhxBBGtMcXEiIgRAIAQgATYCFCAEIAEgA2oiAzYCGCAEIAMvAAA7AXAgA0H/AToAACAEKAIYQf8BOgABIARBADYCCCAEQQA2AgAgBCABNgIQDAELIAQgATYCFCAEIAEgA2oiBjYCGCAEIAYvAAA7AXAgBkH/AToAACAEKAIYQf8BOgABIAQgBEEcajYCaCAEIAE2AhAgBEEANgIMIAQgAwR/IAEtAABBEHQFQYCA/AcLIgM2AgBBASEGIAFBAWohCSABLQABIQcCfyABLQAAQf8BRgRAIAdBkAFPBEAgBEEBNgIMIANBgP4DcgwCCyAEIAk2AhBBACEGIAdBCXQgA2oMAQsgBCAJNgIQIAdBCHQgA3ILIQEgBCAGNgIIIARBgIACNgIEIAQgAUEHdDYCAAsgICgCACEqAkAgGUEATA0AICAoAghFDQAgIiAuciEnQQAhJgNAAkACQAJAAkACQCAfQQFrDgIBAgALICIEQEEBIBl0IgFBAXYgAXIhESAEKAJ8IgVBAnQiDSAEKAJ4akEMaiEBIAQoAnQhBkEAIQggBCgCgAEiA0EETwRAIAVFDQUgBUEDbCECIAVBAXQhDEEAIBFrIQkDQCAMQQJ0IQtBACEDA0ACQCABIgcoAgAiAUUNAAJAIAFBkICAAXENACABQe8DcUUNACAEKAIAIQECQCAEKAIIIhANACABQf8BRiEKIAQoAhAiEC0AACEBAkAgCkUEQCAEIAE2AgAgBCAQQQFqNgIQDAELIAFBjwFNBEAgBCABNgIAIAQgEEEBajYCEEEHIRAMAgtB/wEhASAEQf8BNgIAC0EIIRALIAQgEEEBayIQNgIIAkAgASAQdkEBcUUNAAJAIBANACABQf8BRiEKIAQoAhAiEC0AACEBAkAgCkUEQCAEIAE2AgAgBCAQQQFqNgIQDAELIAFBjwFNBEAgBCABNgIAIAQgEEEBajYCEEEHIRAMAgtB/wEhASAEQf8BNgIAC0EIIRALIAQgEEEBayIQNgIIIAYgCSARIAEgEHZBAXEiEBs2AgAgBCgCfCEBIAdBBGsiCiAKKAIAQSByNgIAIAcgBygCBEEIcjYCBCAHIAcoAgAgEEETdHJBEHI2AgAgJQ0AIAdBfiABa0ECdGoiASABKAIEQYCAAnI2AgQgASABKAIAIBBBH3RyQYCABHI2AgAgAUEEayIBIAEoAgBBgIAIcjYCAAsgByAHKAIAQYCAgAFyIgE2AgALAkAgAUGAgYAIcQ0AIAFB+B5xRQ0AIAQoAgAhAQJAIAQoAggiEA0AIAFB/wFGIQogBCgCECIQLQAAIQECQCAKRQRAIAQgATYCACAEIBBBAWo2AhAMAQsgAUGPAU0EQCAEIAE2AgAgBCAQQQFqNgIQQQchEAwCC0H/ASEBIARB/wE2AgALQQghEAsgBCAQQQFrIhA2AgggBwJ/IAEgEHZBAXFFBEAgBygCAAwBCwJAIBANACABQf8BRiEKIAQoAhAiEC0AACEBAkAgCkUEQCAEIAE2AgAgBCAQQQFqNgIQDAELIAFBjwFNBEAgBCABNgIAIAQgEEEBajYCEEEHIRAMAgtB/wEhASAEQf8BNgIAC0EIIRALIAQgEEEBayIQNgIIIAYgDWogCSARIAEgEHZBAXEiARs2AgAgB0EEayIQIBAoAgBBgAJyNgIAIAcgBygCBEHAAHI2AgQgBygCACABQRZ0ckGAAXILQYCAgAhyIgE2AgALAkAgAUGAiIDAAHENACABQcD3AXFFDQAgBCgCACEBAkAgBCgCCCIQDQAgAUH/AUYhCiAEKAIQIhAtAAAhAQJAIApFBEAgBCABNgIAIAQgEEEBajYCEAwBCyABQY8BTQRAIAQgATYCACAEIBBBAWo2AhBBByEQDAILQf8BIQEgBEH/ATYCAAtBCCEQCyAEIBBBAWsiEDYCCCAHAn8gASAQdkEBcUUEQCAHKAIADAELAkAgEA0AIAFB/wFGIQogBCgCECIQLQAAIQECQCAKRQRAIAQgATYCACAEIBBBAWo2AhAMAQsgAUGPAU0EQCAEIAE2AgAgBCAQQQFqNgIQQQchEAwCC0H/ASEBIARB/wE2AgALQQghEAsgBCAQQQFrIhA2AgggBiALaiAJIBEgASAQdkEBcSIBGzYCACAHQQRrIhAgECgCAEGAEHI2AgAgByAHKAIEQYAEcjYCBCAHKAIAIAFBGXRyQYAIcgtBgICAwAByIgE2AgALIAFBgMCAgARxDQAgAUGAvA9xRQ0AIAQoAgAhAQJAIAQoAggiEA0AIAFB/wFGIQogBCgCECIQLQAAIQECQCAKRQRAIAQgATYCACAEIBBBAWo2AhAMAQsgAUGPAU0EQCAEIAE2AgAgBCAQQQFqNgIQQQchEAwCC0H/ASEBIARB/wE2AgALQQghEAsgBCAQQQFrIhA2AgggASAQdkEBcQRAIAYgAkECdGohTwJAIBANACABQf8BRiEUIAQoAhAiEC0AACEBAkAgFEUEQCAEIAE2AgAgBCAQQQFqNgIQDAELIAFBjwFNBEAgBCABNgIAIAQgEEEBajYCEEEHIRAMAgtB/wEhASAEQf8BNgIAC0EIIRALIAQgEEEBayIQNgIIIE8gCSARIAEgEHZBAXEiEBs2AgAgBCgCfCEBIAdBBGsiCiAKKAIAQYCAAXI2AgAgByAHKAIEQYAgcjYCBCAHIAcoAgAgEEEcdHJBgMAAcjYCACAHIAFBAnRqIgEgASgCBEEEcjYCBCABIAEoAgxBAXI2AgwgASABKAIIIBBBEnRyQQJyNgIICyAHIAcoAgBBgICAgARyNgIACyAGQQRqIQYgB0EEaiEBIANBAWoiAyAFRw0ACyAHQQxqIQEgBiACQQJ0aiEGIAhBBGoiCCAEKAKAASIDQXxxSQ0ACwsgAyAITQ0DIAVFDQNBACETQQAgEWshCyADIRADQAJAIAggEEYEQCAIIRAMAQsgAUEEayEMIAEoAgAhDUEAIQIDQAJAIA0gAkEDbCIHdiIJQZCAgAFxDQAgCUHvA3FFDQAgBCgCACEDAkAgBCgCCCIJDQAgA0H/AUchECAEKAIQIgktAAAhAwJAIBBFBEAgA0GQAU8EQEH/ASEDIARB/wE2AgAMAgsgBCADNgIAIAQgCUEBajYCEEEHIQkMAgsgBCADNgIAIAQgCUEBajYCEAtBCCEJCyAEIAlBAWsiCTYCCAJAIAMgCXZBAXFFDQAgBiACIAVsQQJ0aiFQAkAgCQ0AIANB/wFHIQ0gBCgCECIJLQAAIQMCQCANRQRAIANBkAFPBEBB/wEhAyAEQf8BNgIADAILIAQgAzYCACAEIAlBAWo2AhBBByEJDAILIAQgAzYCACAEIAlBAWo2AhALQQghCQsgBCAJQQFrIgk2AgggUCALIBEgAyAJdkEBcSIJGzYCACAEKAJ8IRAgDCAMKAIAQSAgB3RyNgIAIAEgASgCACAJQRN0QRByIAd0cjYCACABIAEoAgRBCCAHdHI2AgQgAiAlckUEQCABQX4gEGtBAnRqIgMgAygCBEGAgAJyNgIEIAMgAygCACAJQR90ckGAgARyNgIAIANBBGsiAyADKAIAQYCACHI2AgALIAJBA0cNACABIBBBAnRqIgMgAygCBEEEcjYCBCADIAMoAgxBAXI2AgwgAyADKAIIIAlBEnRyQQJyNgIICyABIAEoAgBBgICAASAHdHIiDTYCACAEKAKAASEDCyADIRAgAkEBaiICIAMgCGtJDQALCyAGQQRqIQYgAUEEaiEBIBNBAWoiEyAFRw0ACwwDC0EAIQdBACENQQAhFwJAAkACQAJAIAQoAnwiEEHAAEcNACAEKAKAAUHAAEcNAEEAQQEgGXQiAUEBdiABciIRayEFIARBHGohECAEKAJ4QYwCaiEGIAQoAgghCCAEKAIEIQMgBCgCACECIAQoAmghDCAEKAJ0IQEgFkEIcQ0BA0BBACEXA0AgASEJIAYiBygCACIGBEACQCAGQZCAgAFxDQAgBkHvA3EiAUUNACADIBAgBCgCbCABai0AAEECdGoiDCgCACILKAIAIgFrIQMCfyABIAJBEHZLBEAgCygCBCEKIAwgC0EIQQwgASADSyIUG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQMgCC0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIANBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCADQQh0IAJqIQILIAhBAWshCCACQQF0IQIgAUEBdCIBQYCAAkkNAAsgASEDIAogCkUgFBsMAQsgAiABQRB0ayECIANBgIACcUUEQCALKAIEIQogDCALQQxBCCABIANLIhQbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiELIAgtAAEhASAILQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAwCCyAEIAs2AhAgAUEJdCACaiECQQchCAwBCyAEIAs2AhBBCCEIIAFBCHQgAmohAgsgCEEBayEIIAJBAXQhAiADQQF0IgNBgIACSQ0ACyAKRSAKIBQbDAELIAsoAgQLBH8gAyAQIAcoAgRBEXZBBHEgB0EEayIKKAIAQRN2QQFxIAZBDnZBEHEgBkEQdkHAAHEgBkGqAXFycnJyIhRB0LkBai0AAEECdGoiDCgCACILKAIAIgFrIQMgFEHQuwFqLQAAIRMgCSAFIBECfyABIAJBEHZLBEAgCygCBCEUIAwgC0EIQQwgASADSyIOG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQMgCC0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIANBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCADQQh0IAJqIQILIAhBAWshCCACQQF0IQIgAUEBdCIBQYCAAkkNAAsgASEDIBQgFEUgDhsMAQsgAiABQRB0ayECIANBgIACcUUEQCALKAIEIRQgDCALQQxBCCABIANLIg4baigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiELIAgtAAEhASAILQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAwCCyAEIAs2AhAgAUEJdCACaiECQQchCAwBCyAEIAs2AhBBCCEIIAFBCHQgAmohAgsgCEEBayEIIAJBAXQhAiADQQF0IgNBgIACSQ0ACyAURSAUIA4bDAELIAsoAgQLIBNzIgEbNgIAIAogCigCAEEgcjYCACAHIAcoAgRBCHI2AgQgB0GMAmsiCyALKAIAQYCACHI2AgAgB0GEAmsiCyALKAIAQYCAAnI2AgAgB0GIAmsiCyALKAIAIAFBH3RyQYCABHI2AgAgBiABQRN0ckEQcgUgBgtBgICAAXIhBgsCQCAGQYCBgAhxDQAgBkH4HnFFDQAgAyAQIAQoAmwgBkEDdiIUQe8DcWotAABBAnRqIgwoAgAiCygCACIBayEDAn8gASACQRB2SwRAIAsoAgQhCiAMIAtBCEEMIAEgA0siExtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEDIAgtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECADQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggA0EIdCACaiECCyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyAKIApFIBMbDAELIAIgAUEQdGshAiADQYCAAnFFBEAgCygCBCEKIAwgC0EMQQggASADSyITG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQEgCC0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIAFBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCABQQh0IAJqIQILIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgCkUgCiATGwwBCyALKAIECwR/IAMgECAHKAIEQRR2QQRxIAdBBGsiCigCAEEWdkEBcSAGQQ92QRBxIAZBE3ZBwABxIBRBqgFxcnJyciIUQdC5AWotAABBAnRqIgwoAgAiCygCACIBayEDIBRB0LsBai0AACETIAkgBSARAn8gASACQRB2SwRAIAsoAgQhFCAMIAtBCEEMIAEgA0siDhtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEDIAgtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECADQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggA0EIdCACaiECCyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyAUIBRFIA4bDAELIAIgAUEQdGshAiADQYCAAnFFBEAgCygCBCEUIAwgC0EMQQggASADSyIOG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQEgCC0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIAFBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCABQQh0IAJqIQILIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgFEUgFCAOGwwBCyALKAIECyATcyIBGzYCgAIgCiAKKAIAQYACcjYCACAHIAcoAgRBwAByNgIEIAYgAUEWdHJBgAFyBSAGC0GAgIAIciEGCwJAIAZBgIiAwABxDQAgBkHA9wFxRQ0AIAMgECAEKAJsIAZBBnYiFEHvA3FqLQAAQQJ0aiIMKAIAIgsoAgAiAWshAwJ/IAEgAkEQdksEQCALKAIEIQogDCALQQhBDCABIANLIhMbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiELIAgtAAEhAyAILQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAwCCyAEIAs2AhAgA0EJdCACaiECQQchCAwBCyAEIAs2AhBBCCEIIANBCHQgAmohAgsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgCiAKRSATGwwBCyACIAFBEHRrIQIgA0GAgAJxRQRAIAsoAgQhCiAMIAtBDEEIIAEgA0siExtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEBIAgtAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECABQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggAUEIdCACaiECCyAIQQFrIQggAkEBdCECIANBAXQiA0GAgAJJDQALIApFIAogExsMAQsgCygCBAsEfyADIBAgBygCBEEXdkEEcSAHQQRrIgooAgBBGXZBAXEgBkESdkEQcSAGQRZ2QcAAcSAUQaoBcXJycnIiFEHQuQFqLQAAQQJ0aiIMKAIAIgsoAgAiAWshAyAUQdC7AWotAAAhEyAJIAUgEQJ/IAEgAkEQdksEQCALKAIEIRQgDCALQQhBDCABIANLIg4baigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiELIAgtAAEhAyAILQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAwCCyAEIAs2AhAgA0EJdCACaiECQQchCAwBCyAEIAs2AhBBCCEIIANBCHQgAmohAgsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgFCAURSAOGwwBCyACIAFBEHRrIQIgA0GAgAJxRQRAIAsoAgQhFCAMIAtBDEEIIAEgA0siDhtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEBIAgtAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECABQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggAUEIdCACaiECCyAIQQFrIQggAkEBdCECIANBAXQiA0GAgAJJDQALIBRFIBQgDhsMAQsgCygCBAsgE3MiARs2AoAEIAogCigCAEGAEHI2AgAgByAHKAIEQYAEcjYCBCAGIAFBGXRyQYAIcgUgBgtBgICAwAByIQYLAkAgBkGAwICABHENACAGQYC8D3FFDQAgAyAQIAQoAmwgBkEJdiIUQe8DcWotAABBAnRqIgwoAgAiCygCACIBayEDAn8gASACQRB2SwRAIAsoAgQhCiAMIAtBCEEMIAEgA0siExtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEDIAgtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECADQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggA0EIdCACaiECCyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyAKIApFIBMbDAELIAIgAUEQdGshAiADQYCAAnFFBEAgCygCBCEKIAwgC0EMQQggASADSyITG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQEgCC0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIAFBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCABQQh0IAJqIQILIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgCkUgCiATGwwBCyALKAIECwR/IAMgECAHKAIEQRp2QQRxIAdBBGsiCigCAEEcdkEBcSAGQRV2QRBxIAZBGXZBwABxIBRBqgFxcnJyciIUQdC5AWotAABBAnRqIgwoAgAiCygCACIBayEDIBRB0LsBai0AACETIAkgBSARAn8gASACQRB2SwRAIAsoAgQhFCAMIAtBCEEMIAEgA0siDhtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEDIAgtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECADQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggA0EIdCACaiECCyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyAUIBRFIA4bDAELIAIgAUEQdGshAiADQYCAAnFFBEAgCygCBCEUIAwgC0EMQQggASADSyIOG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQEgCC0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIAFBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCABQQh0IAJqIQILIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgFEUgFCAOGwwBCyALKAIECyATcyIBGzYCgAYgCiAKKAIAQYCAAXI2AgAgByAHKAIEQYAgcjYCBCAHIAcoAoQCQQRyNgKEAiAHIAcoAowCQQFyNgKMAiAHIAcoAogCIAFBEnRyQQJyNgKIAiAGIAFBHHRyQYDAAHIFIAYLQYCAgIAEciEGCyAHIAY2AgALIAdBBGohBiAJQQRqIQEgF0EBaiIXQcAARw0ACyAHQQxqIQYgCUGEBmohASANQTxJIVEgDUEEaiENIFENAAsMAgtBASAZdCIBQQF2IAFyIQ0gBCgCeCIJIBBBAnRqQQxqIQYgBCgCgAEhASAEKAIIIQggBCgCBCEDIAQoAgAhAiAEKAJoIQwgBCgCdCERAkAgFkEIcQRAAkAgAUEESQ0AIBAEQEEAIA1rIRQgBEEcaiEFIBBBDGwhEyAQQQN0IRUDQEEAIQsDQCAGIgkoAgAiBgRAAkAgBkGQgIABcQ0AIAZB7wNxIgFFDQAgAyAFIAQoAmwgAWotAABBAnRqIgwoAgAiCigCACIBayEDAn8gASACQRB2TQRAIAIgAUEQdGshAiADQYCAAnEEQCAKKAIEDAILIAooAgQhDiAMIApBDEEIIAEgA0siEhtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQogCC0AASEBIAgtAABB/wFHBEAgBCAKNgIQQQghCCABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAo2AhAgAUEJdCACaiECQQchCAwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEICyAIQQFrIQggAkEBdCECIANBAXQiA0GAgAJJDQALIA5FIA4gEhsMAQsgCigCBCEOIAwgCkEIQQwgASADSyISG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCiAILQABIQMgCC0AAEH/AUcEQCAEIAo2AhBBCCEIIANBCHQgAmohAgwBCyADQY8BTQRAIAQgCjYCECADQQl0IAJqIQJBByEIDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgLIAhBAWshCCACQQF0IQIgAUEBdCIBQYCAAkkNAAsgASEDIA4gDkUgEhsLBH8gAyAFIAkoAgRBEXZBBHEgCUEEayIOKAIAQRN2QQFxIAZBDnZBEHEgBkEQdkHAAHEgBkGqAXFycnJyIhJB0LkBai0AAEECdGoiDCgCACIKKAIAIgFrIQMgEkHQuwFqLQAAIRggESAUIA0CfyABIAJBEHZNBEAgAiABQRB0ayECIANBgIACcQRAIAooAgQMAgsgCigCBCESIAwgCkEMQQggASADSyIbG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCiAILQABIQEgCC0AAEH/AUcEQCAEIAo2AhBBCCEIIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCjYCECABQQl0IAJqIQJBByEIDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgLIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgEkUgEiAbGwwBCyAKKAIEIRIgDCAKQQhBDCABIANLIhsbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhAyAILQAAQf8BRwRAIAQgCjYCEEEIIQggA0EIdCACaiECDAELIANBjwFNBEAgBCAKNgIQIANBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgEiASRSAbGwsgGHMiARs2AgAgDiAOKAIAQSByNgIAIAkgCSgCBEEIcjYCBCAGIAFBE3RyQRByBSAGC0GAgIABciEGCwJAIAZBgIGACHENACAGQfgecUUNACADIAUgBCgCbCAGQQN2IhJB7wNxai0AAEECdGoiDCgCACIKKAIAIgFrIQMCfyABIAJBEHZNBEAgAiABQRB0ayECIANBgIACcQRAIAooAgQMAgsgCigCBCEOIAwgCkEMQQggASADSyIYG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCiAILQABIQEgCC0AAEH/AUcEQCAEIAo2AhBBCCEIIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCjYCECABQQl0IAJqIQJBByEIDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgLIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgDkUgDiAYGwwBCyAKKAIEIQ4gDCAKQQhBDCABIANLIhgbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhAyAILQAAQf8BRwRAIAQgCjYCEEEIIQggA0EIdCACaiECDAELIANBjwFNBEAgBCAKNgIQIANBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgDiAORSAYGwsEfyADIAUgCSgCBEEUdkEEcSAJQQRrIg4oAgBBFnZBAXEgBkEPdkEQcSAGQRN2QcAAcSASQaoBcXJycnIiEkHQuQFqLQAAQQJ0aiIMKAIAIgooAgAiAWshAyASQdC7AWotAAAhGCARIBBBAnRqIBQgDQJ/IAEgAkEQdk0EQCACIAFBEHRrIQIgA0GAgAJxBEAgCigCBAwCCyAKKAIEIRIgDCAKQQxBCCABIANLIhsbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhASAILQAAQf8BRwRAIAQgCjYCEEEIIQggAUEIdCACaiECDAELIAFBjwFNBEAgBCAKNgIQIAFBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiADQQF0IgNBgIACSQ0ACyASRSASIBsbDAELIAooAgQhEiAMIApBCEEMIAEgA0siGxtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQogCC0AASEDIAgtAABB/wFHBEAgBCAKNgIQQQghCCADQQh0IAJqIQIMAQsgA0GPAU0EQCAEIAo2AhAgA0EJdCACaiECQQchCAwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEICyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyASIBJFIBsbCyAYcyIBGzYCACAOIA4oAgBBgAJyNgIAIAkgCSgCBEHAAHI2AgQgBiABQRZ0ckGAAXIFIAYLQYCAgAhyIQYLAkAgBkGAiIDAAHENACAGQcD3AXFFDQAgAyAFIAQoAmwgBkEGdiISQe8DcWotAABBAnRqIgwoAgAiCigCACIBayEDAn8gASACQRB2TQRAIAIgAUEQdGshAiADQYCAAnEEQCAKKAIEDAILIAooAgQhDiAMIApBDEEIIAEgA0siGBtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQogCC0AASEBIAgtAABB/wFHBEAgBCAKNgIQQQghCCABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAo2AhAgAUEJdCACaiECQQchCAwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEICyAIQQFrIQggAkEBdCECIANBAXQiA0GAgAJJDQALIA5FIA4gGBsMAQsgCigCBCEOIAwgCkEIQQwgASADSyIYG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCiAILQABIQMgCC0AAEH/AUcEQCAEIAo2AhBBCCEIIANBCHQgAmohAgwBCyADQY8BTQRAIAQgCjYCECADQQl0IAJqIQJBByEIDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgLIAhBAWshCCACQQF0IQIgAUEBdCIBQYCAAkkNAAsgASEDIA4gDkUgGBsLBH8gAyAFIAkoAgRBF3ZBBHEgCUEEayIOKAIAQRl2QQFxIAZBEnZBEHEgBkEWdkHAAHEgEkGqAXFycnJyIhJB0LkBai0AAEECdGoiDCgCACIKKAIAIgFrIQMgEkHQuwFqLQAAIRggESAVaiAUIA0CfyABIAJBEHZNBEAgAiABQRB0ayECIANBgIACcQRAIAooAgQMAgsgCigCBCESIAwgCkEMQQggASADSyIbG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCiAILQABIQEgCC0AAEH/AUcEQCAEIAo2AhBBCCEIIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCjYCECABQQl0IAJqIQJBByEIDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgLIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgEkUgEiAbGwwBCyAKKAIEIRIgDCAKQQhBDCABIANLIhsbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhAyAILQAAQf8BRwRAIAQgCjYCEEEIIQggA0EIdCACaiECDAELIANBjwFNBEAgBCAKNgIQIANBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgEiASRSAbGwsgGHMiARs2AgAgDiAOKAIAQYAQcjYCACAJIAkoAgRBgARyNgIEIAYgAUEZdHJBgAhyBSAGC0GAgIDAAHIhBgsCQCAGQYDAgIAEcQ0AIAZBgLwPcUUNACADIAUgBCgCbCAGQQl2IhJB7wNxai0AAEECdGoiDCgCACIKKAIAIgFrIQMCfyABIAJBEHZNBEAgAiABQRB0ayECIANBgIACcQRAIAooAgQMAgsgCigCBCEOIAwgCkEMQQggASADSyIYG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCiAILQABIQEgCC0AAEH/AUcEQCAEIAo2AhBBCCEIIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCjYCECABQQl0IAJqIQJBByEIDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgLIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgDkUgDiAYGwwBCyAKKAIEIQ4gDCAKQQhBDCABIANLIhgbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhAyAILQAAQf8BRwRAIAQgCjYCEEEIIQggA0EIdCACaiECDAELIANBjwFNBEAgBCAKNgIQIANBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgDiAORSAYGwsEfyADIAUgCSgCBEEadkEEcSAJQQRrIg4oAgBBHHZBAXEgBkEVdkEQcSAGQRl2QcAAcSASQaoBcXJycnIiEkHQuQFqLQAAQQJ0aiIMKAIAIgooAgAiAWshAyASQdC7AWotAAAhGCARIBNqIBQgDQJ/IAEgAkEQdk0EQCACIAFBEHRrIQIgA0GAgAJxBEAgCigCBAwCCyAKKAIEIRIgDCAKQQxBCCABIANLIhsbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhASAILQAAQf8BRwRAIAQgCjYCEEEIIQggAUEIdCACaiECDAELIAFBjwFNBEAgBCAKNgIQIAFBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiADQQF0IgNBgIACSQ0ACyASRSASIBsbDAELIAooAgQhEiAMIApBCEEMIAEgA0siGxtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQogCC0AASEDIAgtAABB/wFHBEAgBCAKNgIQQQghCCADQQh0IAJqIQIMAQsgA0GPAU0EQCAEIAo2AhAgA0EJdCACaiECQQchCAwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEICyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyASIBJFIBsbCyAYcyIKGzYCACAOIA4oAgBBgIABcjYCACAJIAkoAgRBgCByNgIEIAQoAnxBAnQgCWoiASABKAIEQQRyNgIEIAEgASgCDEEBcjYCDCABIAEoAgggCkESdHJBAnI2AgggBiAKQRx0ckGAwAByBSAGC0GAgICABHIhBgsgCSAGNgIACyAJQQRqIQYgEUEEaiERIAtBAWoiCyAQRw0ACyAJQQxqIQYgESATaiERIAdBBGoiByAEKAKAASIBQXxxSQ0ACwwBC0EEIAFBfHEiBiAGQQRNG0EBayIGQXxxQQRqIQcgCSAGQQF0QXhxakEUaiEGCyAEIAg2AgggBCADNgIEIAQgAjYCACAEIAw2AmggEEUNASABIAdNDQEDQCABIAdGIVJBACEIIAchASBSRQRAA0AgBCAGIBEgCCAQbEECdGogDSAIIAQoAnxBAmpBARBZIAhBAWoiCCAEKAKAASIBIAdrSQ0ACwsgBkEEaiEGIBFBBGohESAXQQFqIhcgEEcNAAsMAQsCQCABQQRJDQAgEARAQQAgDWshFCAEQRxqIQUgEEEMbCETIBBBA3QhFQNAQQAhCwNAIAYiCSgCACIGBEACQCAGQZCAgAFxDQAgBkHvA3EiAUUNACADIAUgBCgCbCABai0AAEECdGoiDCgCACIKKAIAIgFrIQMCfyABIAJBEHZNBEAgAiABQRB0ayECIANBgIACcQRAIAooAgQMAgsgCigCBCEOIAwgCkEMQQggASADSyISG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCiAILQABIQEgCC0AAEH/AUcEQCAEIAo2AhBBCCEIIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCjYCECABQQl0IAJqIQJBByEIDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgLIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgDkUgDiASGwwBCyAKKAIEIQ4gDCAKQQhBDCABIANLIhIbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhAyAILQAAQf8BRwRAIAQgCjYCEEEIIQggA0EIdCACaiECDAELIANBjwFNBEAgBCAKNgIQIANBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgDiAORSASGwsEfyADIAUgCSgCBEERdkEEcSAJQQRrIg4oAgBBE3ZBAXEgBkEOdkEQcSAGQRB2QcAAcSAGQaoBcXJycnIiEkHQuQFqLQAAQQJ0aiIMKAIAIgooAgAiAWshAyASQdC7AWotAAAhGCARIBQgDQJ/IAEgAkEQdk0EQCACIAFBEHRrIQIgA0GAgAJxBEAgCigCBAwCCyAKKAIEIRIgDCAKQQxBCCABIANLIhsbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhASAILQAAQf8BRwRAIAQgCjYCEEEIIQggAUEIdCACaiECDAELIAFBjwFNBEAgBCAKNgIQIAFBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiADQQF0IgNBgIACSQ0ACyASRSASIBsbDAELIAooAgQhEiAMIApBCEEMIAEgA0siGxtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQogCC0AASEDIAgtAABB/wFHBEAgBCAKNgIQQQghCCADQQh0IAJqIQIMAQsgA0GPAU0EQCAEIAo2AhAgA0EJdCACaiECQQchCAwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEICyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyASIBJFIBsbCyAYcyIKGzYCACAOIA4oAgBBIHI2AgAgCSAJKAIEQQhyNgIEIAlBfiAEKAJ8a0ECdGoiASABKAIEQYCAAnI2AgQgASABKAIAIApBH3RyQYCABHI2AgAgAUEEayIBIAEoAgBBgIAIcjYCACAGIApBE3RyQRByBSAGC0GAgIABciEGCwJAIAZBgIGACHENACAGQfgecUUNACADIAUgBCgCbCAGQQN2IhJB7wNxai0AAEECdGoiDCgCACIKKAIAIgFrIQMCfyABIAJBEHZNBEAgAiABQRB0ayECIANBgIACcQRAIAooAgQMAgsgCigCBCEOIAwgCkEMQQggASADSyIYG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCiAILQABIQEgCC0AAEH/AUcEQCAEIAo2AhBBCCEIIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCjYCECABQQl0IAJqIQJBByEIDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgLIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgDkUgDiAYGwwBCyAKKAIEIQ4gDCAKQQhBDCABIANLIhgbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhAyAILQAAQf8BRwRAIAQgCjYCEEEIIQggA0EIdCACaiECDAELIANBjwFNBEAgBCAKNgIQIANBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgDiAORSAYGwsEfyADIAUgCSgCBEEUdkEEcSAJQQRrIg4oAgBBFnZBAXEgBkEPdkEQcSAGQRN2QcAAcSASQaoBcXJycnIiEkHQuQFqLQAAQQJ0aiIMKAIAIgooAgAiAWshAyASQdC7AWotAAAhGCARIBBBAnRqIBQgDQJ/IAEgAkEQdk0EQCACIAFBEHRrIQIgA0GAgAJxBEAgCigCBAwCCyAKKAIEIRIgDCAKQQxBCCABIANLIhsbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhASAILQAAQf8BRwRAIAQgCjYCEEEIIQggAUEIdCACaiECDAELIAFBjwFNBEAgBCAKNgIQIAFBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiADQQF0IgNBgIACSQ0ACyASRSASIBsbDAELIAooAgQhEiAMIApBCEEMIAEgA0siGxtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQogCC0AASEDIAgtAABB/wFHBEAgBCAKNgIQQQghCCADQQh0IAJqIQIMAQsgA0GPAU0EQCAEIAo2AhAgA0EJdCACaiECQQchCAwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEICyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyASIBJFIBsbCyAYcyIBGzYCACAOIA4oAgBBgAJyNgIAIAkgCSgCBEHAAHI2AgQgBiABQRZ0ckGAAXIFIAYLQYCAgAhyIQYLAkAgBkGAiIDAAHENACAGQcD3AXFFDQAgAyAFIAQoAmwgBkEGdiISQe8DcWotAABBAnRqIgwoAgAiCigCACIBayEDAn8gASACQRB2TQRAIAIgAUEQdGshAiADQYCAAnEEQCAKKAIEDAILIAooAgQhDiAMIApBDEEIIAEgA0siGBtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQogCC0AASEBIAgtAABB/wFHBEAgBCAKNgIQQQghCCABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAo2AhAgAUEJdCACaiECQQchCAwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEICyAIQQFrIQggAkEBdCECIANBAXQiA0GAgAJJDQALIA5FIA4gGBsMAQsgCigCBCEOIAwgCkEIQQwgASADSyIYG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCiAILQABIQMgCC0AAEH/AUcEQCAEIAo2AhBBCCEIIANBCHQgAmohAgwBCyADQY8BTQRAIAQgCjYCECADQQl0IAJqIQJBByEIDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgLIAhBAWshCCACQQF0IQIgAUEBdCIBQYCAAkkNAAsgASEDIA4gDkUgGBsLBH8gAyAFIAkoAgRBF3ZBBHEgCUEEayIOKAIAQRl2QQFxIAZBEnZBEHEgBkEWdkHAAHEgEkGqAXFycnJyIhJB0LkBai0AAEECdGoiDCgCACIKKAIAIgFrIQMgEkHQuwFqLQAAIRggESAVaiAUIA0CfyABIAJBEHZNBEAgAiABQRB0ayECIANBgIACcQRAIAooAgQMAgsgCigCBCESIAwgCkEMQQggASADSyIbG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCiAILQABIQEgCC0AAEH/AUcEQCAEIAo2AhBBCCEIIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCjYCECABQQl0IAJqIQJBByEIDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgLIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgEkUgEiAbGwwBCyAKKAIEIRIgDCAKQQhBDCABIANLIhsbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhAyAILQAAQf8BRwRAIAQgCjYCEEEIIQggA0EIdCACaiECDAELIANBjwFNBEAgBCAKNgIQIANBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgEiASRSAbGwsgGHMiARs2AgAgDiAOKAIAQYAQcjYCACAJIAkoAgRBgARyNgIEIAYgAUEZdHJBgAhyBSAGC0GAgIDAAHIhBgsCQCAGQYDAgIAEcQ0AIAZBgLwPcUUNACADIAUgBCgCbCAGQQl2IhJB7wNxai0AAEECdGoiDCgCACIKKAIAIgFrIQMCfyABIAJBEHZNBEAgAiABQRB0ayECIANBgIACcQRAIAooAgQMAgsgCigCBCEOIAwgCkEMQQggASADSyIYG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCiAILQABIQEgCC0AAEH/AUcEQCAEIAo2AhBBCCEIIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCjYCECABQQl0IAJqIQJBByEIDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgLIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgDkUgDiAYGwwBCyAKKAIEIQ4gDCAKQQhBDCABIANLIhgbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhAyAILQAAQf8BRwRAIAQgCjYCEEEIIQggA0EIdCACaiECDAELIANBjwFNBEAgBCAKNgIQIANBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgDiAORSAYGwsEfyADIAUgCSgCBEEadkEEcSAJQQRrIg4oAgBBHHZBAXEgBkEVdkEQcSAGQRl2QcAAcSASQaoBcXJycnIiEkHQuQFqLQAAQQJ0aiIMKAIAIgooAgAiAWshAyASQdC7AWotAAAhGCARIBNqIBQgDQJ/IAEgAkEQdk0EQCACIAFBEHRrIQIgA0GAgAJxBEAgCigCBAwCCyAKKAIEIRIgDCAKQQxBCCABIANLIhsbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiEKIAgtAAEhASAILQAAQf8BRwRAIAQgCjYCEEEIIQggAUEIdCACaiECDAELIAFBjwFNBEAgBCAKNgIQIAFBCXQgAmohAkEHIQgMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAsgCEEBayEIIAJBAXQhAiADQQF0IgNBgIACSQ0ACyASRSASIBsbDAELIAooAgQhEiAMIApBCEEMIAEgA0siGxtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQogCC0AASEDIAgtAABB/wFHBEAgBCAKNgIQQQghCCADQQh0IAJqIQIMAQsgA0GPAU0EQCAEIAo2AhAgA0EJdCACaiECQQchCAwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEICyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyASIBJFIBsbCyAYcyIKGzYCACAOIA4oAgBBgIABcjYCACAJIAkoAgRBgCByNgIEIAQoAnxBAnQgCWoiASABKAIEQQRyNgIEIAEgASgCDEEBcjYCDCABIAEoAgggCkESdHJBAnI2AgggBiAKQRx0ckGAwAByBSAGC0GAgICABHIhBgsgCSAGNgIACyAJQQRqIQYgEUEEaiERIAtBAWoiCyAQRw0ACyAJQQxqIQYgESATaiERIAdBBGoiByAEKAKAASIBQXxxSQ0ACwwBC0EEIAFBfHEiBiAGQQRNG0EBayIGQXxxQQRqIQcgCSAGQQF0QXhxakEUaiEGCyAEIAg2AgggBCADNgIEIAQgAjYCACAEIAw2AmggEEUNACABIAdNDQADQCABIAdGIVNBACEIIAchASBTRQRAA0AgBCAGIBEgCCAQbEECdGogDSAIIAQoAnxBAmpBABBZIAhBAWoiCCAEKAKAASIBIAdrSQ0ACwsgBkEEaiEGIBFBBGohESAXQQFqIhcgEEcNAAsLDAILA0BBACEXA0AgASEJIAYiBygCACIGBEACQCAGQZCAgAFxDQAgBkHvA3EiAUUNACADIBAgBCgCbCABai0AAEECdGoiDCgCACILKAIAIgFrIQMCfyABIAJBEHZLBEAgCygCBCEKIAwgC0EIQQwgASADSyIUG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQMgCC0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIANBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCADQQh0IAJqIQILIAhBAWshCCACQQF0IQIgAUEBdCIBQYCAAkkNAAsgASEDIAogCkUgFBsMAQsgAiABQRB0ayECIANBgIACcUUEQCALKAIEIQogDCALQQxBCCABIANLIhQbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiELIAgtAAEhASAILQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAwCCyAEIAs2AhAgAUEJdCACaiECQQchCAwBCyAEIAs2AhBBCCEIIAFBCHQgAmohAgsgCEEBayEIIAJBAXQhAiADQQF0IgNBgIACSQ0ACyAKRSAKIBQbDAELIAsoAgQLBH8gAyAQIAcoAgRBEXZBBHEgB0EEayIKKAIAQRN2QQFxIAZBDnZBEHEgBkEQdkHAAHEgBkGqAXFycnJyIhRB0LkBai0AAEECdGoiDCgCACILKAIAIgFrIQMgFEHQuwFqLQAAIRMgCSAFIBECfyABIAJBEHZLBEAgCygCBCEUIAwgC0EIQQwgASADSyIOG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQMgCC0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIANBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCADQQh0IAJqIQILIAhBAWshCCACQQF0IQIgAUEBdCIBQYCAAkkNAAsgASEDIBQgFEUgDhsMAQsgAiABQRB0ayECIANBgIACcUUEQCALKAIEIRQgDCALQQxBCCABIANLIg4baigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiELIAgtAAEhASAILQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAwCCyAEIAs2AhAgAUEJdCACaiECQQchCAwBCyAEIAs2AhBBCCEIIAFBCHQgAmohAgsgCEEBayEIIAJBAXQhAiADQQF0IgNBgIACSQ0ACyAURSAUIA4bDAELIAsoAgQLIBNzIgEbNgIAIAogCigCAEEgcjYCACAHIAcoAgRBCHI2AgQgBiABQRN0ckEQcgUgBgtBgICAAXIhBgsCQCAGQYCBgAhxDQAgBkH4HnFFDQAgAyAQIAQoAmwgBkEDdiIUQe8DcWotAABBAnRqIgwoAgAiCygCACIBayEDAn8gASACQRB2SwRAIAsoAgQhCiAMIAtBCEEMIAEgA0siExtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEDIAgtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECADQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggA0EIdCACaiECCyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyAKIApFIBMbDAELIAIgAUEQdGshAiADQYCAAnFFBEAgCygCBCEKIAwgC0EMQQggASADSyITG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQEgCC0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIAFBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCABQQh0IAJqIQILIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgCkUgCiATGwwBCyALKAIECwR/IAMgECAHKAIEQRR2QQRxIAdBBGsiCigCAEEWdkEBcSAGQQ92QRBxIAZBE3ZBwABxIBRBqgFxcnJyciIUQdC5AWotAABBAnRqIgwoAgAiCygCACIBayEDIBRB0LsBai0AACETIAkgBSARAn8gASACQRB2SwRAIAsoAgQhFCAMIAtBCEEMIAEgA0siDhtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEDIAgtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECADQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggA0EIdCACaiECCyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyAUIBRFIA4bDAELIAIgAUEQdGshAiADQYCAAnFFBEAgCygCBCEUIAwgC0EMQQggASADSyIOG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQEgCC0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIAFBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCABQQh0IAJqIQILIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgFEUgFCAOGwwBCyALKAIECyATcyIBGzYCgAIgCiAKKAIAQYACcjYCACAHIAcoAgRBwAByNgIEIAYgAUEWdHJBgAFyBSAGC0GAgIAIciEGCwJAIAZBgIiAwABxDQAgBkHA9wFxRQ0AIAMgECAEKAJsIAZBBnYiFEHvA3FqLQAAQQJ0aiIMKAIAIgsoAgAiAWshAwJ/IAEgAkEQdksEQCALKAIEIQogDCALQQhBDCABIANLIhMbaigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiELIAgtAAEhAyAILQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAwCCyAEIAs2AhAgA0EJdCACaiECQQchCAwBCyAEIAs2AhBBCCEIIANBCHQgAmohAgsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgCiAKRSATGwwBCyACIAFBEHRrIQIgA0GAgAJxRQRAIAsoAgQhCiAMIAtBDEEIIAEgA0siExtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEBIAgtAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECABQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggAUEIdCACaiECCyAIQQFrIQggAkEBdCECIANBAXQiA0GAgAJJDQALIApFIAogExsMAQsgCygCBAsEfyADIBAgBygCBEEXdkEEcSAHQQRrIgooAgBBGXZBAXEgBkESdkEQcSAGQRZ2QcAAcSAUQaoBcXJycnIiFEHQuQFqLQAAQQJ0aiIMKAIAIgsoAgAiAWshAyAUQdC7AWotAAAhEyAJIAUgEQJ/IAEgAkEQdksEQCALKAIEIRQgDCALQQhBDCABIANLIg4baigCADYCAANAAkAgCA0AIAQoAhAiCEEBaiELIAgtAAEhAyAILQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghCAwCCyAEIAs2AhAgA0EJdCACaiECQQchCAwBCyAEIAs2AhBBCCEIIANBCHQgAmohAgsgCEEBayEIIAJBAXQhAiABQQF0IgFBgIACSQ0ACyABIQMgFCAURSAOGwwBCyACIAFBEHRrIQIgA0GAgAJxRQRAIAsoAgQhFCAMIAtBDEEIIAEgA0siDhtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEBIAgtAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECABQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggAUEIdCACaiECCyAIQQFrIQggAkEBdCECIANBAXQiA0GAgAJJDQALIBRFIBQgDhsMAQsgCygCBAsgE3MiARs2AoAEIAogCigCAEGAEHI2AgAgByAHKAIEQYAEcjYCBCAGIAFBGXRyQYAIcgUgBgtBgICAwAByIQYLAkAgBkGAwICABHENACAGQYC8D3FFDQAgAyAQIAQoAmwgBkEJdiIUQe8DcWotAABBAnRqIgwoAgAiCygCACIBayEDAn8gASACQRB2SwRAIAsoAgQhCiAMIAtBCEEMIAEgA0siExtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEDIAgtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECADQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggA0EIdCACaiECCyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyAKIApFIBMbDAELIAIgAUEQdGshAiADQYCAAnFFBEAgCygCBCEKIAwgC0EMQQggASADSyITG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQEgCC0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIAFBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCABQQh0IAJqIQILIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgCkUgCiATGwwBCyALKAIECwR/IAMgECAHKAIEQRp2QQRxIAdBBGsiCigCAEEcdkEBcSAGQRV2QRBxIAZBGXZBwABxIBRBqgFxcnJyciIUQdC5AWotAABBAnRqIgwoAgAiCygCACIBayEDIBRB0LsBai0AACETIAkgBSARAn8gASACQRB2SwRAIAsoAgQhFCAMIAtBCEEMIAEgA0siDhtqKAIANgIAA0ACQCAIDQAgBCgCECIIQQFqIQsgCC0AASEDIAgtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEIDAILIAQgCzYCECADQQl0IAJqIQJBByEIDAELIAQgCzYCEEEIIQggA0EIdCACaiECCyAIQQFrIQggAkEBdCECIAFBAXQiAUGAgAJJDQALIAEhAyAUIBRFIA4bDAELIAIgAUEQdGshAiADQYCAAnFFBEAgCygCBCEUIAwgC0EMQQggASADSyIOG2ooAgA2AgADQAJAIAgNACAEKAIQIghBAWohCyAILQABIQEgCC0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQgMAgsgBCALNgIQIAFBCXQgAmohAkEHIQgMAQsgBCALNgIQQQghCCABQQh0IAJqIQILIAhBAWshCCACQQF0IQIgA0EBdCIDQYCAAkkNAAsgFEUgFCAOGwwBCyALKAIECyATcyIBGzYCgAYgCiAKKAIAQYCAAXI2AgAgByAHKAIEQYAgcjYCBCAHIAcoAoQCQQRyNgKEAiAHIAcoAowCQQFyNgKMAiAHIAcoAogCIAFBEnRyQQJyNgKIAiAGIAFBHHRyQYDAAHIFIAYLQYCAgIAEciEGCyAHIAY2AgALIAdBBGohBiAJQQRqIQEgF0EBaiIXQcAARw0ACyAHQQxqIQYgCUGEBmohASANQTxJIVQgDUEEaiENIFQNAAsLIAQgCDYCCCAEIAM2AgQgBCACNgIAIAQgDDYCaAsMAgsgIgRAQQEgGXRBAXYhCSAEKAJ8IhFBAnQiDCAEKAJ4akEMaiEBIAQoAnQhBkEAIQ0gBCgCgAEiA0EETwRAIBFFDQQgEUEDbCEFIBFBAXQhC0EAIAlrIQIDQCALQQJ0IQpBACEDA0ACQCABIgcoAgAiAUUNACABQZCAgAFxQRBGBEAgBCgCACEBAkAgBCgCCCIQDQAgAUH/AUYhECAEKAIQIggtAAAhAQJAIBBFBEAgBCABNgIAIAQgCEEBajYCEAwBCyABQY8BTQRAIAQgATYCACAEIAhBAWo2AhBBByEQDAILQf8BIQEgBEH/ATYCAAtBCCEQCyAEIBBBAWsiCDYCCCAGIAIgCSABIAh2QQFxIAYoAgAiAUEfdkYbIAFqNgIAIAcgBygCAEGAgMAAciIBNgIACyABQYCBgAhxQYABRgRAIAQoAgAhAQJAIAQoAggiEA0AIAFB/wFGIRAgBCgCECIILQAAIQECQCAQRQRAIAQgATYCACAEIAhBAWo2AhAMAQsgAUGPAU0EQCAEIAE2AgAgBCAIQQFqNgIQQQchEAwCC0H/ASEBIARB/wE2AgALQQghEAsgBCAQQQFrIgg2AgggBiAMaiIQIAIgCSABIAh2QQFxIBAoAgAiAUEfdkYbIAFqNgIAIAcgBygCAEGAgIAEciIBNgIACyABQYCIgMAAcUGACEYEQCAEKAIAIQECQCAEKAIIIhANACABQf8BRiEQIAQoAhAiCC0AACEBAkAgEEUEQCAEIAE2AgAgBCAIQQFqNgIQDAELIAFBjwFNBEAgBCABNgIAIAQgCEEBajYCEEEHIRAMAgtB/wEhASAEQf8BNgIAC0EIIRALIAQgEEEBayIINgIIIAYgCmoiECACIAkgASAIdkEBcSAQKAIAIgFBH3ZGGyABajYCACAHIAcoAgBBgICAIHIiATYCAAsgAUGAwICABHFBgMAARw0AIAYgBUECdGohECAEKAIAIQECQCAEKAIIIggNACABQf8BRiEUIAQoAhAiCC0AACEBAkAgFEUEQCAEIAE2AgAgBCAIQQFqNgIQDAELIAFBjwFNBEAgBCABNgIAIAQgCEEBajYCEEEHIQgMAgtB/wEhASAEQf8BNgIAC0EIIQgLIAQgCEEBayIINgIIIBAgAiAJIAEgCHZBAXEgECgCACIBQR92RhsgAWo2AgAgByAHKAIAQYCAgIACcjYCAAsgBkEEaiEGIAdBBGohASADQQFqIgMgEUcNAAsgB0EMaiEBIAYgBUECdGohBiANQQRqIg0gBCgCgAEiA0F8cUkNAAsLIAMgDU0NAiARRQ0CQQAhE0EAIAlrIQUgAyEHA0ACQCAHIA1GBEAgDSEHDAELIAEoAgAhEEEAIQIDQEGQgIABIAJBA2wiB3QgEHFBECAHdEYEQCAGIAIgEWxBAnRqIRAgBCgCACEDAkAgBCgCCCIIDQAgA0H/AUchDCAEKAIQIggtAAAhAwJAIAxFBEAgA0GQAU8EQEH/ASEDIARB/wE2AgAMAgsgBCADNgIAIAQgCEEBajYCEEEHIQgMAgsgBCADNgIAIAQgCEEBajYCEAtBCCEICyAEIAhBAWsiCDYCCCAQIAUgCSADIAh2QQFxIBAoAgAiA0EfdkYbIANqNgIAIAEgASgCAEGAgMAAIAd0ciIQNgIAIAQoAoABIQMLIAMhByACQQFqIgIgAyANa0kNAAsLIAZBBGohBiABQQRqIQEgE0EBaiITIBFHDQALDAILIAQoAnghCCAEKAJ0IQcgBCgCgAEhAwJAIAQoAnwiDEHAAEcNACADQcAARw0AIAhBjAJqIQNBACETQQBBASAZdEEBdiIFayEMIAQoAgghAiAEKAIEIQYgBCgCACEBIAQoAmghDQNAQQAhCANAIAchCSADIhAoAgAiBwRAIAMhVSAHQZCAgAFxQRBGBEAgBiAPQRBBD0EOIAdB7wNxGyAHQYCAwABxG0ECdGoiDSgCACIRKAIAIgNrIQYCfyADIAFBEHZLBEAgESgCBCELIA0gEUEIQQwgAyAGSyIKG2ooAgA2AgADQAJAIAINACAEKAIQIgJBAWohESACLQABIQYgAi0AAEH/AUYEQCAGQZABTwRAIAQgBCgCDEEBajYCDCABQYD+A2ohAUEIIQIMAgsgBCARNgIQIAZBCXQgAWohAUEHIQIMAQsgBCARNgIQQQghAiAGQQh0IAFqIQELIAJBAWshAiABQQF0IQEgA0EBdCIDQYCAAkkNAAsgAyEGIAsgC0UgChsMAQsgASADQRB0ayEBIAZBgIACcUUEQCARKAIEIQsgDSARQQxBCCADIAZLIgobaigCADYCAANAAkAgAg0AIAQoAhAiAkEBaiERIAItAAEhAyACLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAFBgP4DaiEBQQghAgwCCyAEIBE2AhAgA0EJdCABaiEBQQchAgwBCyAEIBE2AhBBCCECIANBCHQgAWohAQsgAkEBayECIAFBAXQhASAGQQF0IgZBgIACSQ0ACyALRSALIAobDAELIBEoAgQLIQMgCSAMIAUgAyAJKAIAIhFBH3ZGGyARajYCACAHQYCAwAByIQcLIAdBgIGACHFBgAFGBEAgBiAPQRBBD0EOIAdB+B5xGyAHQYCAgARxG0ECdGoiDSgCACIRKAIAIgNrIQYCfyADIAFBEHZLBEAgESgCBCELIA0gEUEIQQwgAyAGSyIKG2ooAgA2AgADQAJAIAINACAEKAIQIgJBAWohESACLQABIQYgAi0AAEH/AUYEQCAGQZABTwRAIAQgBCgCDEEBajYCDCABQYD+A2ohAUEIIQIMAgsgBCARNgIQIAZBCXQgAWohAUEHIQIMAQsgBCARNgIQQQghAiAGQQh0IAFqIQELIAJBAWshAiABQQF0IQEgA0EBdCIDQYCAAkkNAAsgAyEGIAsgC0UgChsMAQsgASADQRB0ayEBIAZBgIACcUUEQCARKAIEIQsgDSARQQxBCCADIAZLIgobaigCADYCAANAAkAgAg0AIAQoAhAiAkEBaiERIAItAAEhAyACLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAFBgP4DaiEBQQghAgwCCyAEIBE2AhAgA0EJdCABaiEBQQchAgwBCyAEIBE2AhBBCCECIANBCHQgAWohAQsgAkEBayECIAFBAXQhASAGQQF0IgZBgIACSQ0ACyALRSALIAobDAELIBEoAgQLIQMgCSAMIAUgAyAJKAKAAiIRQR92RhsgEWo2AoACIAdBgICABHIhBwsgB0GAiIDAAHFBgAhGBEAgBiAPQRBBD0EOIAdBwPcBcRsgB0GAgIAgcRtBAnRqIg0oAgAiESgCACIDayEGAn8gAyABQRB2SwRAIBEoAgQhCyANIBFBCEEMIAMgBksiChtqKAIANgIAA0ACQCACDQAgBCgCECICQQFqIREgAi0AASEGIAItAABB/wFGBEAgBkGQAU8EQCAEIAQoAgxBAWo2AgwgAUGA/gNqIQFBCCECDAILIAQgETYCECAGQQl0IAFqIQFBByECDAELIAQgETYCEEEIIQIgBkEIdCABaiEBCyACQQFrIQIgAUEBdCEBIANBAXQiA0GAgAJJDQALIAMhBiALIAtFIAobDAELIAEgA0EQdGshASAGQYCAAnFFBEAgESgCBCELIA0gEUEMQQggAyAGSyIKG2ooAgA2AgADQAJAIAINACAEKAIQIgJBAWohESACLQABIQMgAi0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCABQYD+A2ohAUEIIQIMAgsgBCARNgIQIANBCXQgAWohAUEHIQIMAQsgBCARNgIQQQghAiADQQh0IAFqIQELIAJBAWshAiABQQF0IQEgBkEBdCIGQYCAAkkNAAsgC0UgCyAKGwwBCyARKAIECyEDIAkgDCAFIAMgCSgCgAQiEUEfdkYbIBFqNgKABCAHQYCAgCByIQcLIFUgB0GAwICABHFBgMAARgR/IAYgD0EQQQ9BDiAHQYC8D3EbIAdBgICAgAJxG0ECdGoiDSgCACIRKAIAIgNrIQYCfyADIAFBEHZLBEAgESgCBCELIA0gEUEIQQwgAyAGSyIKG2ooAgA2AgADQAJAIAINACAEKAIQIgJBAWohESACLQABIQYgAi0AAEH/AUYEQCAGQZABTwRAIAQgBCgCDEEBajYCDCABQYD+A2ohAUEIIQIMAgsgBCARNgIQIAZBCXQgAWohAUEHIQIMAQsgBCARNgIQQQghAiAGQQh0IAFqIQELIAJBAWshAiABQQF0IQEgA0EBdCIDQYCAAkkNAAsgAyEGIAsgC0UgChsMAQsgASADQRB0ayEBIAZBgIACcUUEQCARKAIEIQsgDSARQQxBCCADIAZLIgobaigCADYCAANAAkAgAg0AIAQoAhAiAkEBaiERIAItAAEhAyACLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAFBgP4DaiEBQQghAgwCCyAEIBE2AhAgA0EJdCABaiEBQQchAgwBCyAEIBE2AhBBCCECIANBCHQgAWohAQsgAkEBayECIAFBAXQhASAGQQF0IgZBgIACSQ0ACyALRSALIAobDAELIBEoAgQLIQMgCSAMIAUgAyAJKAKABiIRQR92RhsgEWo2AoAGIAdBgICAgAJyBSAHCzYCAAsgEEEEaiEDIAlBBGohByAIQQFqIghBwABHDQALIBBBDGohAyAJQYQGaiEHIBNBPEkhViATQQRqIRMgVg0ACyAEIAI2AgggBCAGNgIEIAQgATYCACAEIA02AmgMAgtBASAZdEEBdiELIAggDEECdCIOakEMaiEJIAQoAgghAiAEKAIEIQYgBCgCACEBIAQoAmghDUEAIRECQCADQQRJDQAgDARAIAxBA2whFCAMQQF0IRdBACALayEKA0AgF0ECdCESQQAhCANAIAkiBSgCACIQBEAgEEGQgIABcUEQRgRAIAYgD0EQQQ9BDiAQQe8DcRsgEEGAgMAAcRtBAnRqIg0oAgAiCSgCACIDayEGAn8gAyABQRB2TQRAIAEgA0EQdGshASAGQYCAAnEEQCAJKAIEDAILIAkoAgQhEyANIAlBDEEIIAMgBksiFRtqKAIANgIAA0ACQCACDQAgBCgCECIJQQFqIQIgCS0AASEDIAktAABB/wFHBEAgBCACNgIQQQghAiADQQh0IAFqIQEMAQsgA0GPAU0EQCAEIAI2AhAgA0EJdCABaiEBQQchAgwBCyAEIAQoAgxBAWo2AgwgAUGA/gNqIQFBCCECCyACQQFrIQIgAUEBdCEBIAZBAXQiBkGAgAJJDQALIBNFIBMgFRsMAQsgCSgCBCETIA0gCUEIQQwgAyAGSyIVG2ooAgA2AgADQAJAIAINACAEKAIQIglBAWohAiAJLQABIQYgCS0AAEH/AUcEQCAEIAI2AhBBCCECIAZBCHQgAWohAQwBCyAGQY8BTQRAIAQgAjYCECAGQQl0IAFqIQFBByECDAELIAQgBCgCDEEBajYCDCABQYD+A2ohAUEIIQILIAJBAWshAiABQQF0IQEgA0EBdCIDQYCAAkkNAAsgAyEGIBMgE0UgFRsLIQMgByAKIAsgAyAHKAIAIglBH3ZGGyAJajYCACAQQYCAwAByIRALIBBBgIGACHFBgAFGBEAgBiAPQRBBD0EOIBBB+B5xGyAQQYCAgARxG0ECdGoiDSgCACIJKAIAIgNrIQYCfyADIAFBEHZNBEAgASADQRB0ayEBIAZBgIACcQRAIAkoAgQMAgsgCSgCBCETIA0gCUEMQQggAyAGSyIVG2ooAgA2AgADQAJAIAINACAEKAIQIglBAWohAiAJLQABIQMgCS0AAEH/AUcEQCAEIAI2AhBBCCECIANBCHQgAWohAQwBCyADQY8BTQRAIAQgAjYCECADQQl0IAFqIQFBByECDAELIAQgBCgCDEEBajYCDCABQYD+A2ohAUEIIQILIAJBAWshAiABQQF0IQEgBkEBdCIGQYCAAkkNAAsgE0UgEyAVGwwBCyAJKAIEIRMgDSAJQQhBDCADIAZLIhUbaigCADYCAANAAkAgAg0AIAQoAhAiCUEBaiECIAktAAEhBiAJLQAAQf8BRwRAIAQgAjYCEEEIIQIgBkEIdCABaiEBDAELIAZBjwFNBEAgBCACNgIQIAZBCXQgAWohAUEHIQIMAQsgBCAEKAIMQQFqNgIMIAFBgP4DaiEBQQghAgsgAkEBayECIAFBAXQhASADQQF0IgNBgIACSQ0ACyADIQYgEyATRSAVGwshAyAHIA5qIgkgCiALIAMgCSgCACIJQR92RhsgCWo2AgAgEEGAgIAEciEQCyAQQYCIgMAAcUGACEYEQCAGIA9BEEEPQQ4gEEHA9wFxGyAQQYCAgCBxG0ECdGoiDSgCACIJKAIAIgNrIQYCfyADIAFBEHZNBEAgASADQRB0ayEBIAZBgIACcQRAIAkoAgQMAgsgCSgCBCETIA0gCUEMQQggAyAGSyIVG2ooAgA2AgADQAJAIAINACAEKAIQIglBAWohAiAJLQABIQMgCS0AAEH/AUcEQCAEIAI2AhBBCCECIANBCHQgAWohAQwBCyADQY8BTQRAIAQgAjYCECADQQl0IAFqIQFBByECDAELIAQgBCgCDEEBajYCDCABQYD+A2ohAUEIIQILIAJBAWshAiABQQF0IQEgBkEBdCIGQYCAAkkNAAsgE0UgEyAVGwwBCyAJKAIEIRMgDSAJQQhBDCADIAZLIhUbaigCADYCAANAAkAgAg0AIAQoAhAiCUEBaiECIAktAAEhBiAJLQAAQf8BRwRAIAQgAjYCEEEIIQIgBkEIdCABaiEBDAELIAZBjwFNBEAgBCACNgIQIAZBCXQgAWohAUEHIQIMAQsgBCAEKAIMQQFqNgIMIAFBgP4DaiEBQQghAgsgAkEBayECIAFBAXQhASADQQF0IgNBgIACSQ0ACyADIQYgEyATRSAVGwshAyAHIBJqIgkgCiALIAMgCSgCACIJQR92RhsgCWo2AgAgEEGAgIAgciEQCyAFIBBBgMCAgARxQYDAAEYEfyAGIA9BEEEPQQ4gEEGAvA9xGyAQQYCAgIACcRtBAnRqIg0oAgAiCSgCACIDayEGAn8gAyABQRB2TQRAIAEgA0EQdGshASAGQYCAAnEEQCAJKAIEDAILIAkoAgQhEyANIAlBDEEIIAMgBksiFRtqKAIANgIAA0ACQCACDQAgBCgCECIJQQFqIQIgCS0AASEDIAktAABB/wFHBEAgBCACNgIQQQghAiADQQh0IAFqIQEMAQsgA0GPAU0EQCAEIAI2AhAgA0EJdCABaiEBQQchAgwBCyAEIAQoAgxBAWo2AgwgAUGA/gNqIQFBCCECCyACQQFrIQIgAUEBdCEBIAZBAXQiBkGAgAJJDQALIBNFIBMgFRsMAQsgCSgCBCETIA0gCUEIQQwgAyAGSyIVG2ooAgA2AgADQAJAIAINACAEKAIQIglBAWohAiAJLQABIQYgCS0AAEH/AUcEQCAEIAI2AhBBCCECIAZBCHQgAWohAQwBCyAGQY8BTQRAIAQgAjYCECAGQQl0IAFqIQFBByECDAELIAQgBCgCDEEBajYCDCABQYD+A2ohAUEIIQILIAJBAWshAiABQQF0IQEgA0EBdCIDQYCAAkkNAAsgAyEGIBMgE0UgFRsLIQMgByAUQQJ0aiIJIAogCyADIAkoAgAiCUEfdkYbIAlqNgIAIBBBgICAgAJyBSAQCzYCAAsgBUEEaiEJIAdBBGohByAIQQFqIgggDEcNAAsgBUEMaiEJIAcgFEECdGohByARQQRqIhEgBCgCgAEiA0F8cUkNAAsMAQtBBCADQXxxIgkgCUEETRtBAWsiCUF8cUEEaiERIAggCUEBdEF4cWpBFGohCQsgBCACNgIIIAQgBjYCBCAEIAE2AgAgBCANNgJoIAxFDQEgAyARTQ0BQQAhE0EAIAtrIRQgAyEBA0ACQCABIBFGBEAgESEBDAELIAkoAgAhAkEAIRADQEGQgIABIBBBA2wiCHQgAnFBECAIdEYEQCAHIAwgEGxBAnRqIQUgBCAPQRBBD0EOIAIgCHYiAUHvA3EbIAFBgIDAAHEbQQJ0aiINNgJoIAQgBCgCBCANKAIAIgIoAgAiAWsiAzYCBAJ/IAEgBCgCACIGQRB2SwRAIAIoAgQhCiAEIAE2AgQgDSACQQhBDCABIANLIg4baigCADYCACAEKAIIIQIDQAJAIAINACAEKAIQIgJBAWohDSACLQABIQMgAi0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCAGQYD+A2ohBkEIIQIMAgsgBCANNgIQIANBCXQgBmohBkEHIQIMAQsgBCANNgIQQQghAiADQQh0IAZqIQYLIAQgAkEBayICNgIIIAQgBkEBdCIGNgIAIAQgAUEBdCIBNgIEIAFBgIACSQ0ACyAKIApFIA4bDAELIAQgBiABQRB0ayIGNgIAIANBgIACcUUEQCACKAIEIQogDSACQQxBCCABIANLIg4baigCADYCACAEKAIIIQIDQAJAIAINACAEKAIQIgJBAWohDSACLQABIQEgAi0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCAGQYD+A2ohBkEIIQIMAgsgBCANNgIQIAFBCXQgBmohBkEHIQIMAQsgBCANNgIQQQghAiABQQh0IAZqIQYLIAQgAkEBayICNgIIIAQgBkEBdCIGNgIAIAQgA0EBdCIDNgIEIANBgIACSQ0ACyAKRSAKIA4bDAELIAIoAgQLIQEgBSAUIAsgASAFKAIAIgNBH3ZGGyADajYCACAJIAkoAgBBgIDAACAIdHIiAjYCACAEKAKAASEDCyAQQQFqIhAgAyIBIBFrSQ0ACwsgCUEEaiEJIAdBBGohByATQQFqIhMgDEcNAAsMAQtBACERQQAhFwJAAkACQAJAIAQoAnwiFEHAAEcNACAEKAKAAUHAAEcNAEEAQQEgGXQiAUEBdiABciIUayETIARB5ABqIQggBEHgAGohECAEQRxqIQsgBCgCeEGMAmohBiAEKAIIIQUgBCgCBCEBIAQoAgAhAiAEKAJoIQkgBCgCdCEDIBZBCHENAQNAQQAhDANAIAMhEQJAAkACfwJAAkAgBiINKAIAIgZFBEAgASAQKAIAIgMoAgAiBmshAQJ/IAYgAkEQdksEQCADKAIEIQcgECADQQhBDCABIAZJIgobaigCADYCAANAAkAgBQ0AIAQoAhAiA0EBaiEJIAMtAAEhASADLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAk2AhAgAUEJdCACaiECQQchBQwBCyAEIAk2AhBBCCEFIAFBCHQgAmohAgsgBUEBayEFIAJBAXQhAiAGQQF0IgZBgIACSQ0ACyAGIQEgByAHRSAKGwwBCyACIAZBEHRrIQIgAUGAgAJxRQRAIAMoAgQhByAQIANBDEEIIAEgBkkiChtqKAIANgIAA0ACQCAFDQAgBCgCECIGQQFqIQkgBi0AASEDIAYtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgCTYCECADQQl0IAJqIQJBByEFDAELIAQgCTYCEEEIIQUgA0EIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAdFIAcgChsMAQsgAygCBAtFBEAgECEJDAYLIAEgCCgCACIDKAIAIgZrIQECfyAGIAJBEHZLBEAgAygCBCEHIAggA0EIQQwgASAGSSIKG2ooAgAiAzYCAANAAkAgBQ0AIAQoAhAiCUEBaiEFIAktAAEhASAJLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIAFBCHQgAmohAgsgBUEBayEFIAJBAXQhAiAGQQF0IgZBgIACSQ0ACyAGIQEgByAHRSAKGwwBCyACIAZBEHRrIQIgAUGAgAJxRQRAIAMoAgQhByAIIANBDEEIIAEgBkkiChtqKAIAIgM2AgADQAJAIAUNACAEKAIQIglBAWohBSAJLQABIQYgCS0AAEH/AUYEQCAGQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIAZBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSAGQQh0IAJqIQILIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgB0UgByAKGwwBCyADKAIECyEKIAEgAygCACIGayEBAn8gBiACQRB2SwRAIAMoAgQhByAIIANBCEEMIAEgBkkiDhtqKAIANgIAA0ACQCAFDQAgBCgCECIDQQFqIQkgAy0AASEBIAMtAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgCTYCECABQQl0IAJqIQJBByEFDAELIAQgCTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIAZBAXQiBkGAgAJJDQALIAYhASAHIAdFIA4bDAELIAIgBkEQdGshAiABQYCAAnFFBEAgAygCBCEHIAggA0EMQQggASAGSSIOG2ooAgA2AgADQAJAIAUNACAEKAIQIgZBAWohCSAGLQABIQMgBi0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAJNgIQIANBCXQgAmohAkEHIQUMAQsgBCAJNgIQQQghBSADQQh0IAJqIQILIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgB0UgByAOGwwBCyADKAIECyEDQQAhBiAIIQkCQAJAAkACfwJAAkAgAyAKQQF0cg4EAAEDBQoLIAEgCyANKAIEQRF2QQRxIA1BBGsiBygCAEETdkEBcXIiDkHQuQFqLQAAQQJ0aiIJKAIAIgMoAgAiBmshAQJ/IAYgAkEQdksEQCADKAIEIQogCSADQQhBDCABIAZJIhIbaigCADYCAANAAkAgBQ0AIAQoAhAiA0EBaiEJIAMtAAEhASADLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAk2AhAgAUEJdCACaiECQQchBQwBCyAEIAk2AhBBCCEFIAFBCHQgAmohAgsgBUEBayEFIAJBAXQhAiAGQQF0IgZBgIACSQ0ACyAGIQEgCiAKRSASGwwBCyACIAZBEHRrIQIgAUGAgAJxRQRAIAMoAgQhCiAJIANBDEEIIAEgBkkiEhtqKAIANgIAA0ACQCAFDQAgBCgCECIGQQFqIQkgBi0AASEDIAYtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgCTYCECADQQl0IAJqIQJBByEFDAELIAQgCTYCEEEIIQUgA0EIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIApFIAogEhsMAQsgAygCBAshAyARIBMgFCADIA5B0LsBai0AAHMiAxs2AgAgByAHKAIAQSByNgIAIA0gDSgCBEEIcjYCBCANQYwCayIGIAYoAgBBgIAIcjYCACANQYQCayIGIAYoAgBBgIACcjYCACANQYgCayIGIAYoAgAgA0EfdHJBgIAEcjYCACADQRN0IVcgASALIAQoAmwtAAJBAnRqIgcoAgAiAygCACIGayEBAn8gBiACQRB2SwRAIAMoAgQhCSAHIANBCEEMIAEgBkkiDhtqKAIANgIAA0ACQCAFDQAgBCgCECIDQQFqIQcgAy0AASEBIAMtAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBzYCECABQQl0IAJqIQJBByEFDAELIAQgBzYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIAZBAXQiBkGAgAJJDQALIAYhASAJIAlFIA4bDAELIAIgBkEQdGshAiABQYCAAnFFBEAgAygCBCEJIAcgA0EMQQggASAGSSIOG2ooAgA2AgADQAJAIAUNACAEKAIQIgZBAWohByAGLQABIQMgBi0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAHNgIQIANBCXQgAmohAkEHIQUMAQsgBCAHNgIQQQghBSADQQh0IAJqIQILIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgCUUgCSAOGwwBCyADKAIECyEDIFdBEHIiBiADRQ0BGgsgASALIA0oAgRBFHZBBHEgDUEEayIJKAIAQRZ2QQFxIAZBD3ZBEHEgBkETdkHAAHEgBkEDdkGqAXFycnJyIhJB0LkBai0AAEECdGoiCigCACIHKAIAIgNrIQECfyADIAJBEHZLBEAgBygCBCEOIAogB0EIQQwgASADSSIKG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIA4gDkUgChsMAQsgAiADQRB0ayECIAFBgIACcUUEQCAHKAIEIQ4gCiAHQQxBCCABIANJIgobaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhAyAHLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgA0EJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIANBCHQgAmohAgsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAORSAOIAobDAELIAcoAgQLIQMgESATIBQgAyASQdC7AWotAABzIgMbNgKAAiAJIAkoAgBBgAJyNgIAIA0gDSgCBEHAAHI2AgQgBiADQRZ0ckGAAXILIQYgASALIAQoAmwgBkEGdkHvA3FqLQAAQQJ0aiIJKAIAIgcoAgAiA2shAQJ/IAMgAkEQdksEQCAHKAIEIQogCSAHQQhBDCABIANJIg4baigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEJIActAAEhASAHLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAk2AhAgAUEJdCACaiECQQchBQwBCyAEIAk2AhBBCCEFIAFBCHQgAmohAgsgBUEBayEFIAJBAXQhAiADQQF0IgNBgIACSQ0ACyADIQEgCiAKRSAOGwwBCyACIANBEHRrIQIgAUGAgAJxRQRAIAcoAgQhCiAJIAdBDEEIIAEgA0kiDhtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQkgBy0AASEDIActAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgCTYCECADQQl0IAJqIQJBByEFDAELIAQgCTYCEEEIIQUgA0EIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIApFIAogDhsMAQsgBygCBAtFDQELIAEgCyANKAIEQRd2QQRxIA1BBGsiCSgCAEEZdkEBcSAGQRJ2QRBxIAZBFnZBwABxIAZBBnZBqgFxcnJyciISQdC5AWotAABBAnRqIgooAgAiBygCACIDayEBAn8gAyACQRB2SwRAIAcoAgQhDiAKIAdBCEEMIAEgA0kiChtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASAOIA5FIAobDAELIAIgA0EQdGshAiABQYCAAnFFBEAgBygCBCEOIAogB0EMQQggASADSSIKG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQMgBy0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIANBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSADQQh0IAJqIQILIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgDkUgDiAKGwwBCyAHKAIECyEDIBEgEyAUIAMgEkHQuwFqLQAAcyIDGzYCgAQgCSAJKAIAQYAQcjYCACANIA0oAgRBgARyNgIEIAYgA0EZdHJBgAhyIQYLIAEgCyAEKAJsIAZBCXZB7wNxai0AAEECdGoiCSgCACIHKAIAIgNrIQECfyADIAJBEHZLBEAgBygCBCEKIAkgB0EIQQwgASADSSIOG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIAogCkUgDhsMAQsgAiADQRB0ayECIAFBgIACcUUEQCAHKAIEIQogCSAHQQxBCCABIANJIg4baigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhAyAHLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgA0EJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIANBCHQgAmohAgsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAKRSAKIA4bDAELIAcoAgQLRQ0FCyABIAsgDSgCBEEadkEEcSANQQRrIg4oAgBBHHZBAXEgBkEVdkEQcSAGQRl2QcAAcSAGQQl2QaoBcXJycnIiCkHQuQFqLQAAQQJ0aiIJKAIAIgcoAgAiA2shASADIAJBEHZLBEAgBygCBCESIAkgB0EIQQwgASADSSIVG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIBIgEkUgFRsMBAsgAiADQRB0ayECIAFBgIACcQ0BIAcoAgQhEiAJIAdBDEEIIAEgA0kiFRtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEDIActAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECADQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgA0EIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIBJFIBIgFRsMAwsCQCAGQZCAgAFxDQAgASALIAQoAmwgBkHvA3FqLQAAQQJ0aiIJKAIAIgcoAgAiA2shAQJ/IAMgAkEQdksEQCAHKAIEIQogCSAHQQhBDCABIANJIg4baigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhASAHLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIAFBCHQgAmohAgsgBUEBayEFIAJBAXQhAiADQQF0IgNBgIACSQ0ACyADIQEgCiAKRSAOGwwBCyACIANBEHRrIQIgAUGAgAJxRQRAIAcoAgQhCiAJIAdBDEEIIAEgA0kiDhtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEDIActAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECADQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgA0EIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIApFIAogDhsMAQsgBygCBAtFDQAgASALIA0oAgRBEXZBBHEgDUEEayIKKAIAQRN2QQFxIAZBDnZBEHEgBkEQdkHAAHEgBkGqAXFycnJyIhJB0LkBai0AAEECdGoiCSgCACIHKAIAIgNrIQECfyADIAJBEHZLBEAgBygCBCEOIAkgB0EIQQwgASADSSIVG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIA4gDkUgFRsMAQsgAiADQRB0ayECIAFBgIACcUUEQCAHKAIEIQ4gCSAHQQxBCCABIANJIhUbaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhAyAHLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgA0EJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIANBCHQgAmohAgsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAORSAOIBUbDAELIAcoAgQLIQMgESATIBQgAyASQdC7AWotAABzIgMbNgIAIAogCigCAEEgcjYCACANIA0oAgRBCHI2AgQgDUGMAmsiByAHKAIAQYCACHI2AgAgDUGEAmsiByAHKAIAQYCAAnI2AgAgDUGIAmsiByAHKAIAIANBH3RyQYCABHI2AgAgBiADQRN0ckEQciEGCwJAIAZBgIGACHENACABIAsgBCgCbCAGQQN2Ig5B7wNxai0AAEECdGoiCSgCACIHKAIAIgNrIQECfyADIAJBEHZLBEAgBygCBCEKIAkgB0EIQQwgASADSSISG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIAogCkUgEhsMAQsgAiADQRB0ayECIAFBgIACcUUEQCAHKAIEIQogCSAHQQxBCCABIANJIhIbaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhAyAHLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgA0EJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIANBCHQgAmohAgsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAKRSAKIBIbDAELIAcoAgQLRQ0AIAEgCyANKAIEQRR2QQRxIA1BBGsiCigCAEEWdkEBcSAGQQ92QRBxIAZBE3ZBwABxIA5BqgFxcnJyciISQdC5AWotAABBAnRqIgkoAgAiBygCACIDayEBAn8gAyACQRB2SwRAIAcoAgQhDiAJIAdBCEEMIAEgA0kiFRtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASAOIA5FIBUbDAELIAIgA0EQdGshAiABQYCAAnFFBEAgBygCBCEOIAkgB0EMQQggASADSSIVG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQMgBy0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIANBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSADQQh0IAJqIQILIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgDkUgDiAVGwwBCyAHKAIECyEDIBEgEyAUIAMgEkHQuwFqLQAAcyIDGzYCgAIgCiAKKAIAQYACcjYCACANIA0oAgRBwAByNgIEIAYgA0EWdHJBgAFyIQYLAkAgBkGAiIDAAHENACABIAsgBCgCbCAGQQZ2Ig5B7wNxai0AAEECdGoiCSgCACIHKAIAIgNrIQECfyADIAJBEHZLBEAgBygCBCEKIAkgB0EIQQwgASADSSISG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIAogCkUgEhsMAQsgAiADQRB0ayECIAFBgIACcUUEQCAHKAIEIQogCSAHQQxBCCABIANJIhIbaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhAyAHLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgA0EJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIANBCHQgAmohAgsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAKRSAKIBIbDAELIAcoAgQLRQ0AIAEgCyANKAIEQRd2QQRxIA1BBGsiCigCAEEZdkEBcSAGQRJ2QRBxIAZBFnZBwABxIA5BqgFxcnJyciISQdC5AWotAABBAnRqIgkoAgAiBygCACIDayEBAn8gAyACQRB2SwRAIAcoAgQhDiAJIAdBCEEMIAEgA0kiFRtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASAOIA5FIBUbDAELIAIgA0EQdGshAiABQYCAAnFFBEAgBygCBCEOIAkgB0EMQQggASADSSIVG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQMgBy0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIANBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSADQQh0IAJqIQILIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgDkUgDiAVGwwBCyAHKAIECyEDIBEgEyAUIAMgEkHQuwFqLQAAcyIDGzYCgAQgCiAKKAIAQYAQcjYCACANIA0oAgRBgARyNgIEIAYgA0EZdHJBgAhyIQYLIAZBgMCAgARxDQMgASALIAQoAmwgBkEJdiISQe8DcWotAABBAnRqIgkoAgAiASgCACIDayEHAn8gAyACQRB2SwRAIAEoAgQhCiAJIAFBCEEMIAMgB0siDhtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhByAKIApFIA4bDAELIAIgA0EQdGshAiAHQYCAAnFFBEAgASgCBCEKIAkgAUEMQQggAyAHSyIOG2ooAgA2AgADQAJAIAUNACAEKAIQIgNBAWohBSADLQABIQEgAy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgB0EBdCIHQYCAAkkNAAsgCkUgCiAOGwwBCyABKAIEC0UEQCAHIQEMBAsgByALIA0oAgRBGnZBBHEgDUEEayIOKAIAQRx2QQFxIAZBFXZBEHEgBkEZdkHAAHEgEkGqAXFycnJyIgpB0LkBai0AAEECdGoiCSgCACIHKAIAIgFrIQMgASACQRB2SwRAIAcoAgQhEiAJIAdBCEEMIAEgA0siFRtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEDIActAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECADQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgA0EIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIBIgEkUgFRsMAwsgAiABQRB0ayECIANBgIACcUUNASADIQELIAcoAgQMAQsgBygCBCESIAkgB0EMQQggASADSyIVG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIBJFIBIgFRsLIQMgESATIBQgAyAKQdC7AWotAABzIgMbNgKABiAOIA4oAgBBgIABcjYCACANIA0oAgRBgCByNgIEIA0gDSgChAJBBHI2AoQCIA0gDSgCjAJBAXI2AowCIA0gDSgCiAIgA0ESdHJBAnI2AogCIAYgA0EcdHJBgMAAciEGCyANIAZB////tntxNgIACyANQQRqIQYgEUEEaiEDIAxBAWoiDEHAAEcNAAsgDUEMaiEGIBFBhAZqIQMgF0E8SSFYIBdBBGohFyBYDQALDAILQQEgGXQiAUEBdiABciEOIAQoAngiByAUQQJ0akEMaiEDIAQoAoABIQYgBCgCCCEFIAQoAgQhASAEKAIAIQIgBCgCaCEJIAQoAnQhCwJAAkAgFkEIcQRAIAZBBEkNAiAURQ0BIARB5ABqIRAgBEHgAGohDSAUQQNsIRsgFEEBdCEkQQAgDmshFSAEQRxqIRIDQEEAIRgDQAJAAkACfwJAIAMiCCgCACIDBEACQCADQZCAgAFxDQAgASASIAQoAmwgA0HvA3FqLQAAQQJ0aiIJKAIAIgcoAgAiBmshAQJ/IAYgAkEQdk0EQCACIAZBEHRrIQIgAUGAgAJxBEAgBygCBAwCCyAHKAIEIQwgCSAHQQxBCCABIAZJIgobaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhBiAHLQAAQf8BRwRAIAQgBTYCEEEIIQUgBkEIdCACaiECDAELIAZBjwFNBEAgBCAFNgIQIAZBCXQgAmohAkEHIQUMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAMRSAMIAobDAELIAcoAgQhDCAJIAdBCEEMIAEgBkkiChtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFHBEAgBCAFNgIQQQghBSABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAZBAXQiBkGAgAJJDQALIAYhASAMIAxFIAobC0UNACABIBIgCCgCBEERdkEEcSAIQQRrIgwoAgBBE3ZBAXEgA0EOdkEQcSADQRB2QcAAcSADQaoBcXJycnIiE0HQuQFqLQAAQQJ0aiIJKAIAIgcoAgAiBmshAQJ/IAYgAkEQdk0EQCACIAZBEHRrIQIgAUGAgAJxBEAgBygCBAwCCyAHKAIEIQogCSAHQQxBCCABIAZJIhwbaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhBiAHLQAAQf8BRwRAIAQgBTYCEEEIIQUgBkEIdCACaiECDAELIAZBjwFNBEAgBCAFNgIQIAZBCXQgAmohAkEHIQUMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAKRSAKIBwbDAELIAcoAgQhCiAJIAdBCEEMIAEgBkkiHBtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFHBEAgBCAFNgIQQQghBSABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAZBAXQiBkGAgAJJDQALIAYhASAKIApFIBwbCyEGIAsgFSAOIAYgE0HQuwFqLQAAcyIGGzYCACAMIAwoAgBBIHI2AgAgCCAIKAIEQQhyNgIEIAMgBkETdHJBEHIhAwsCQCADQYCBgAhxDQAgASASIAQoAmwgA0EDdiIKQe8DcWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhDCAJIAdBDEEIIAEgBkkiExtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAxFIAwgExsMAQsgBygCBCEMIAkgB0EIQQwgASAGSSITG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAwgDEUgExsLRQ0AIAEgEiAIKAIEQRR2QQRxIAhBBGsiDCgCAEEWdkEBcSADQQ92QRBxIANBE3ZBwABxIApBqgFxcnJyciITQdC5AWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhCiAJIAdBDEEIIAEgBkkiHBtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIApFIAogHBsMAQsgBygCBCEKIAkgB0EIQQwgASAGSSIcG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAogCkUgHBsLIQYgCyAUQQJ0aiAVIA4gBiATQdC7AWotAABzIgYbNgIAIAwgDCgCAEGAAnI2AgAgCCAIKAIEQcAAcjYCBCADIAZBFnRyQYABciEDCwJAIANBgIiAwABxDQAgASASIAQoAmwgA0EGdiIKQe8DcWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhDCAJIAdBDEEIIAEgBkkiExtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAxFIAwgExsMAQsgBygCBCEMIAkgB0EIQQwgASAGSSITG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAwgDEUgExsLRQ0AIAEgEiAIKAIEQRd2QQRxIAhBBGsiDCgCAEEZdkEBcSADQRJ2QRBxIANBFnZBwABxIApBqgFxcnJyciITQdC5AWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhCiAJIAdBDEEIIAEgBkkiHBtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIApFIAogHBsMAQsgBygCBCEKIAkgB0EIQQwgASAGSSIcG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAogCkUgHBsLIQYgCyAkQQJ0aiAVIA4gBiATQdC7AWotAABzIgYbNgIAIAwgDCgCAEGAEHI2AgAgCCAIKAIEQYAEcjYCBCADIAZBGXRyQYAIciEDCyADQYDAgIAEcQ0DIAEgEiAEKAJsIANBCXYiCkHvA3FqLQAAQQJ0aiIJKAIAIgEoAgAiBmshBwJ/IAYgAkEQdk0EQCACIAZBEHRrIQIgB0GAgAJxBEAgASgCBAwCCyABKAIEIQwgCSABQQxBCCAGIAdLIhMbaigCADYCAANAAkAgBQ0AIAQoAhAiBkEBaiEFIAYtAAEhASAGLQAAQf8BRwRAIAQgBTYCEEEIIQUgAUEIdCACaiECDAELIAFBjwFNBEAgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQsgBUEBayEFIAJBAXQhAiAHQQF0IgdBgIACSQ0ACyAMRSAMIBMbDAELIAEoAgQhDCAJIAFBCEEMIAYgB0siExtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFHBEAgBCAFNgIQQQghBSABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAZBAXQiBkGAgAJJDQALIAYhByAMIAxFIBMbC0UEQCAHIQEMBAsgByASIAgoAgRBGnZBBHEgCEEEayIMKAIAQRx2QQFxIANBFXZBEHEgA0EZdkHAAHEgCkGqAXFycnJyIhNB0LkBai0AAEECdGoiCSgCACIKKAIAIgFrIQYgASACQRB2TQRAIAIgAUEQdGshAiAGQYCAAnEEQCAGIQEMAwsgCigCBCEHIAkgCkEMQQggASAGSyIcG2ooAgA2AgADQAJAIAUNACAEKAIQIgVBAWohCiAFLQABIQEgBS0AAEH/AUcEQCAEIAo2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCjYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAdFIAcgHBsMAwsgCigCBCEHIAkgCkEIQQwgASAGSyIcG2ooAgA2AgADQAJAIAUNACAEKAIQIgVBAWohCiAFLQABIQYgBS0AAEH/AUcEQCAEIAo2AhBBCCEFIAZBCHQgAmohAgwBCyAGQY8BTQRAIAQgCjYCECAGQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgByAHRSAcGwwCCyABIA0oAgAiBigCACIDayEBAn8gAyACQRB2TQRAIAIgA0EQdGshAiABQYCAAnEEQCAGKAIEDAILIAYoAgQhByANIAZBDEEIIAEgA0kiDBtqKAIANgIAA0ACQCAFDQAgBCgCECIGQQFqIQkgBi0AASEDIAYtAABB/wFHBEAgBCAJNgIQQQghBSADQQh0IAJqIQIMAQsgA0GPAU0EQCAEIAk2AhAgA0EJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAdFIAcgDBsMAQsgBigCBCEHIA0gBkEIQQwgASADSSIMG2ooAgA2AgADQAJAIAUNACAEKAIQIgZBAWohCSAGLQABIQEgBi0AAEH/AUcEQCAEIAk2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIAcgB0UgDBsLRQRAIA0hCQwECyABIBAoAgAiBigCACIDayEBAn8gAyACQRB2TQRAIAIgA0EQdGshAiABQYCAAnEEQCAGKAIEDAILIAYoAgQhByAQIAZBDEEIIAEgA0kiDBtqKAIAIgY2AgADQAJAIAUNACAEKAIQIglBAWohBSAJLQABIQMgCS0AAEH/AUcEQCAEIAU2AhBBCCEFIANBCHQgAmohAgwBCyADQY8BTQRAIAQgBTYCECADQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgB0UgByAMGwwBCyAGKAIEIQcgECAGQQhBDCABIANJIgwbaigCACIGNgIAA0ACQCAFDQAgBCgCECIJQQFqIQUgCS0AASEBIAktAABB/wFHBEAgBCAFNgIQQQghBSABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASAHIAdFIAwbCyEMIAEgBigCACIDayEBAn8gAyACQRB2TQRAIAIgA0EQdGshAiABQYCAAnEEQCAGKAIEDAILIAYoAgQhByAQIAZBDEEIIAEgA0kiChtqKAIANgIAA0ACQCAFDQAgBCgCECIGQQFqIQkgBi0AASEDIAYtAABB/wFHBEAgBCAJNgIQQQghBSADQQh0IAJqIQIMAQsgA0GPAU0EQCAEIAk2AhAgA0EJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAdFIAcgChsMAQsgBigCBCEHIBAgBkEIQQwgASADSSIKG2ooAgA2AgADQAJAIAUNACAEKAIQIgZBAWohCSAGLQABIQEgBi0AAEH/AUcEQCAEIAk2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIAcgB0UgChsLIQZBACEDIBAhCQJAAkACQAJ/AkACQCAGIAxBAXRyDgQAAQMFCAsgASASIAgoAgRBEXZBBHEgCEEEayIHKAIAQRN2QQFxciIKQdC5AWotAABBAnRqIgkoAgAiBigCACIDayEBAn8gAyACQRB2TQRAIAIgA0EQdGshAiABQYCAAnEEQCAGKAIEDAILIAYoAgQhDCAJIAZBDEEIIAEgA0kiExtqKAIANgIAA0ACQCAFDQAgBCgCECIGQQFqIQkgBi0AASEDIAYtAABB/wFHBEAgBCAJNgIQQQghBSADQQh0IAJqIQIMAQsgA0GPAU0EQCAEIAk2AhAgA0EJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAxFIAwgExsMAQsgBigCBCEMIAkgBkEIQQwgASADSSITG2ooAgA2AgADQAJAIAUNACAEKAIQIgZBAWohCSAGLQABIQEgBi0AAEH/AUcEQCAEIAk2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIAwgDEUgExsLIQMgCyAVIA4gAyAKQdC7AWotAABzIgMbNgIAIAcgBygCAEEgcjYCACAIIAgoAgRBCHI2AgQgA0ETdCFZIAEgEiAEKAJsLQACQQJ0aiIHKAIAIgYoAgAiA2shAQJ/IAMgAkEQdk0EQCACIANBEHRrIQIgAUGAgAJxBEAgBigCBAwCCyAGKAIEIQkgByAGQQxBCCABIANJIgobaigCADYCAANAAkAgBQ0AIAQoAhAiBkEBaiEHIAYtAAEhAyAGLQAAQf8BRwRAIAQgBzYCEEEIIQUgA0EIdCACaiECDAELIANBjwFNBEAgBCAHNgIQIANBCXQgAmohAkEHIQUMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAJRSAJIAobDAELIAYoAgQhCSAHIAZBCEEMIAEgA0kiChtqKAIANgIAA0ACQCAFDQAgBCgCECIGQQFqIQcgBi0AASEBIAYtAABB/wFHBEAgBCAHNgIQQQghBSABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAc2AhAgAUEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASAJIAlFIAobCyEGIFlBEHIiAyAGRQ0BGgsgASASIAgoAgRBFHZBBHEgCEEEayIJKAIAQRZ2QQFxIANBD3ZBEHEgA0ETdkHAAHEgA0EDdkGqAXFycnJyIhNB0LkBai0AAEECdGoiDCgCACIHKAIAIgZrIQECfyAGIAJBEHZNBEAgAiAGQRB0ayECIAFBgIACcQRAIAcoAgQMAgsgBygCBCEKIAwgB0EMQQggASAGSSIMG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQYgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAZBCHQgAmohAgwBCyAGQY8BTQRAIAQgBTYCECAGQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgCkUgCiAMGwwBCyAHKAIEIQogDCAHQQhBDCABIAZJIgwbaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhASAHLQAAQf8BRwRAIAQgBTYCEEEIIQUgAUEIdCACaiECDAELIAFBjwFNBEAgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQsgBUEBayEFIAJBAXQhAiAGQQF0IgZBgIACSQ0ACyAGIQEgCiAKRSAMGwshBiALIBRBAnRqIBUgDiAGIBNB0LsBai0AAHMiBhs2AgAgCSAJKAIAQYACcjYCACAIIAgoAgRBwAByNgIEIAMgBkEWdHJBgAFyCyEDIAEgEiAEKAJsIANBBnZB7wNxai0AAEECdGoiCSgCACIHKAIAIgZrIQECfyAGIAJBEHZNBEAgAiAGQRB0ayECIAFBgIACcQRAIAcoAgQMAgsgBygCBCEMIAkgB0EMQQggASAGSSIKG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohCSAHLQABIQYgBy0AAEH/AUcEQCAEIAk2AhBBCCEFIAZBCHQgAmohAgwBCyAGQY8BTQRAIAQgCTYCECAGQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgDEUgDCAKGwwBCyAHKAIEIQwgCSAHQQhBDCABIAZJIgobaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEJIActAAEhASAHLQAAQf8BRwRAIAQgCTYCEEEIIQUgAUEIdCACaiECDAELIAFBjwFNBEAgBCAJNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQsgBUEBayEFIAJBAXQhAiAGQQF0IgZBgIACSQ0ACyAGIQEgDCAMRSAKGwtFDQELIAEgEiAIKAIEQRd2QQRxIAhBBGsiCSgCAEEZdkEBcSADQRJ2QRBxIANBFnZBwABxIANBBnZBqgFxcnJyciITQdC5AWotAABBAnRqIgwoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhCiAMIAdBDEEIIAEgBkkiDBtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIApFIAogDBsMAQsgBygCBCEKIAwgB0EIQQwgASAGSSIMG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAogCkUgDBsLIQYgCyAkQQJ0aiAVIA4gBiATQdC7AWotAABzIgYbNgIAIAkgCSgCAEGAEHI2AgAgCCAIKAIEQYAEcjYCBCADIAZBGXRyQYAIciEDCyABIBIgBCgCbCADQQl2Qe8DcWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhDCAJIAdBDEEIIAEgBkkiChtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAxFIAwgChsMAQsgBygCBCEMIAkgB0EIQQwgASAGSSIKG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAwgDEUgChsLRQ0DCyABIBIgCCgCBEEadkEEcSAIQQRrIgwoAgBBHHZBAXEgA0EVdkEQcSADQRl2QcAAcSADQQl2QaoBcXJycnIiE0HQuQFqLQAAQQJ0aiIJKAIAIgooAgAiBmshASAGIAJBEHZNBEAgAiAGQRB0ayECIAFBgIACcQ0BIAooAgQhByAJIApBDEEIIAEgBkkiHBtqKAIANgIAA0ACQCAFDQAgBCgCECIFQQFqIQogBS0AASEGIAUtAABB/wFHBEAgBCAKNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAo2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAdFIAcgHBsMAgsgCigCBCEHIAkgCkEIQQwgASAGSSIcG2ooAgA2AgADQAJAIAUNACAEKAIQIgVBAWohCiAFLQABIQEgBS0AAEH/AUcEQCAEIAo2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCjYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAcgB0UgHBsMAQsgCigCBAshBiALIBtBAnRqIBUgDiAGIBNB0LsBai0AAHMiBxs2AgAgDCAMKAIAQYCAAXI2AgAgCCAIKAIEQYAgcjYCBCAEKAJ8QQJ0IAhqIgYgBigCBEEEcjYCBCAGIAYoAgxBAXI2AgwgBiAGKAIIIAdBEnRyQQJyNgIIIAMgB0EcdHJBgMAAciEDCyAIIANB////tntxNgIACyAIQQRqIQMgC0EEaiELIBhBAWoiGCAURw0ACyAIQQxqIQMgCyAbQQJ0aiELIBFBBGoiESAEKAKAASIGQXxxSQ0ACwwCCwJAIAZBBEkNACAUBEAgBEHkAGohECAEQeAAaiENIBRBA2whGyAUQQF0ISRBACAOayEVIARBHGohEgNAQQAhGANAAkACQAJ/AkAgAyIIKAIAIgMEQAJAIANBkICAAXENACABIBIgBCgCbCADQe8DcWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhDCAJIAdBDEEIIAEgBkkiChtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAxFIAwgChsMAQsgBygCBCEMIAkgB0EIQQwgASAGSSIKG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAwgDEUgChsLRQ0AIAEgEiAIKAIEQRF2QQRxIAhBBGsiDCgCAEETdkEBcSADQQ52QRBxIANBEHZBwABxIANBqgFxcnJyciITQdC5AWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhCiAJIAdBDEEIIAEgBkkiHBtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIApFIAogHBsMAQsgBygCBCEKIAkgB0EIQQwgASAGSSIcG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAogCkUgHBsLIQYgCyAVIA4gBiATQdC7AWotAABzIgcbNgIAIAwgDCgCAEEgcjYCACAIIAgoAgRBCHI2AgQgCEF+IAQoAnxrQQJ0aiIGIAYoAgRBgIACcjYCBCAGIAYoAgAgB0EfdHJBgIAEcjYCACAGQQRrIgYgBigCAEGAgAhyNgIAIAMgB0ETdHJBEHIhAwsCQCADQYCBgAhxDQAgASASIAQoAmwgA0EDdiIKQe8DcWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhDCAJIAdBDEEIIAEgBkkiExtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAxFIAwgExsMAQsgBygCBCEMIAkgB0EIQQwgASAGSSITG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAwgDEUgExsLRQ0AIAEgEiAIKAIEQRR2QQRxIAhBBGsiDCgCAEEWdkEBcSADQQ92QRBxIANBE3ZBwABxIApBqgFxcnJyciITQdC5AWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhCiAJIAdBDEEIIAEgBkkiHBtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIApFIAogHBsMAQsgBygCBCEKIAkgB0EIQQwgASAGSSIcG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAogCkUgHBsLIQYgCyAUQQJ0aiAVIA4gBiATQdC7AWotAABzIgYbNgIAIAwgDCgCAEGAAnI2AgAgCCAIKAIEQcAAcjYCBCADIAZBFnRyQYABciEDCwJAIANBgIiAwABxDQAgASASIAQoAmwgA0EGdiIKQe8DcWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhDCAJIAdBDEEIIAEgBkkiExtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAxFIAwgExsMAQsgBygCBCEMIAkgB0EIQQwgASAGSSITG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAwgDEUgExsLRQ0AIAEgEiAIKAIEQRd2QQRxIAhBBGsiDCgCAEEZdkEBcSADQRJ2QRBxIANBFnZBwABxIApBqgFxcnJyciITQdC5AWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhCiAJIAdBDEEIIAEgBkkiHBtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIApFIAogHBsMAQsgBygCBCEKIAkgB0EIQQwgASAGSSIcG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAogCkUgHBsLIQYgCyAkQQJ0aiAVIA4gBiATQdC7AWotAABzIgYbNgIAIAwgDCgCAEGAEHI2AgAgCCAIKAIEQYAEcjYCBCADIAZBGXRyQYAIciEDCyADQYDAgIAEcQ0DIAEgEiAEKAJsIANBCXYiCkHvA3FqLQAAQQJ0aiIJKAIAIgEoAgAiBmshBwJ/IAYgAkEQdk0EQCACIAZBEHRrIQIgB0GAgAJxBEAgASgCBAwCCyABKAIEIQwgCSABQQxBCCAGIAdLIhMbaigCADYCAANAAkAgBQ0AIAQoAhAiBkEBaiEFIAYtAAEhASAGLQAAQf8BRwRAIAQgBTYCEEEIIQUgAUEIdCACaiECDAELIAFBjwFNBEAgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQsgBUEBayEFIAJBAXQhAiAHQQF0IgdBgIACSQ0ACyAMRSAMIBMbDAELIAEoAgQhDCAJIAFBCEEMIAYgB0siExtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFHBEAgBCAFNgIQQQghBSABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAZBAXQiBkGAgAJJDQALIAYhByAMIAxFIBMbC0UEQCAHIQEMBAsgByASIAgoAgRBGnZBBHEgCEEEayIMKAIAQRx2QQFxIANBFXZBEHEgA0EZdkHAAHEgCkGqAXFycnJyIhNB0LkBai0AAEECdGoiCSgCACIKKAIAIgFrIQYgASACQRB2TQRAIAIgAUEQdGshAiAGQYCAAnEEQCAGIQEMAwsgCigCBCEHIAkgCkEMQQggASAGSyIcG2ooAgA2AgADQAJAIAUNACAEKAIQIgVBAWohCiAFLQABIQEgBS0AAEH/AUcEQCAEIAo2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCjYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAdFIAcgHBsMAwsgCigCBCEHIAkgCkEIQQwgASAGSyIcG2ooAgA2AgADQAJAIAUNACAEKAIQIgVBAWohCiAFLQABIQYgBS0AAEH/AUcEQCAEIAo2AhBBCCEFIAZBCHQgAmohAgwBCyAGQY8BTQRAIAQgCjYCECAGQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgByAHRSAcGwwCCyABIA0oAgAiBigCACIDayEBAn8gAyACQRB2TQRAIAIgA0EQdGshAiABQYCAAnEEQCAGKAIEDAILIAYoAgQhByANIAZBDEEIIAEgA0kiDBtqKAIANgIAA0ACQCAFDQAgBCgCECIGQQFqIQkgBi0AASEDIAYtAABB/wFHBEAgBCAJNgIQQQghBSADQQh0IAJqIQIMAQsgA0GPAU0EQCAEIAk2AhAgA0EJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAdFIAcgDBsMAQsgBigCBCEHIA0gBkEIQQwgASADSSIMG2ooAgA2AgADQAJAIAUNACAEKAIQIgZBAWohCSAGLQABIQEgBi0AAEH/AUcEQCAEIAk2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIAcgB0UgDBsLRQRAIA0hCQwECyABIBAoAgAiBigCACIDayEBAn8gAyACQRB2TQRAIAIgA0EQdGshAiABQYCAAnEEQCAGKAIEDAILIAYoAgQhByAQIAZBDEEIIAEgA0kiDBtqKAIAIgY2AgADQAJAIAUNACAEKAIQIglBAWohBSAJLQABIQMgCS0AAEH/AUcEQCAEIAU2AhBBCCEFIANBCHQgAmohAgwBCyADQY8BTQRAIAQgBTYCECADQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgB0UgByAMGwwBCyAGKAIEIQcgECAGQQhBDCABIANJIgwbaigCACIGNgIAA0ACQCAFDQAgBCgCECIJQQFqIQUgCS0AASEBIAktAABB/wFHBEAgBCAFNgIQQQghBSABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASAHIAdFIAwbCyEMIAEgBigCACIDayEBAn8gAyACQRB2TQRAIAIgA0EQdGshAiABQYCAAnEEQCAGKAIEDAILIAYoAgQhByAQIAZBDEEIIAEgA0kiChtqKAIANgIAA0ACQCAFDQAgBCgCECIGQQFqIQkgBi0AASEDIAYtAABB/wFHBEAgBCAJNgIQQQghBSADQQh0IAJqIQIMAQsgA0GPAU0EQCAEIAk2AhAgA0EJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAdFIAcgChsMAQsgBigCBCEHIBAgBkEIQQwgASADSSIKG2ooAgA2AgADQAJAIAUNACAEKAIQIgZBAWohCSAGLQABIQEgBi0AAEH/AUcEQCAEIAk2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIAcgB0UgChsLIQZBACEDIBAhCQJAAkACQAJ/AkACQCAGIAxBAXRyDgQAAQMFCAsgASASIAgoAgRBEXZBBHEgCEEEayIHKAIAQRN2QQFxciIKQdC5AWotAABBAnRqIgkoAgAiBigCACIDayEBAn8gAyACQRB2TQRAIAIgA0EQdGshAiABQYCAAnEEQCAGKAIEDAILIAYoAgQhDCAJIAZBDEEIIAEgA0kiExtqKAIANgIAA0ACQCAFDQAgBCgCECIGQQFqIQkgBi0AASEDIAYtAABB/wFHBEAgBCAJNgIQQQghBSADQQh0IAJqIQIMAQsgA0GPAU0EQCAEIAk2AhAgA0EJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAxFIAwgExsMAQsgBigCBCEMIAkgBkEIQQwgASADSSITG2ooAgA2AgADQAJAIAUNACAEKAIQIgZBAWohCSAGLQABIQEgBi0AAEH/AUcEQCAEIAk2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIAwgDEUgExsLIQMgCyAVIA4gAyAKQdC7AWotAABzIgYbNgIAIAcgBygCAEEgcjYCACAIIAgoAgRBCHI2AgQgCEF+IAQoAnxrQQJ0aiIDIAMoAgRBgIACcjYCBCADIAMoAgAgBkEfdHJBgIAEcjYCACADQQRrIgMgAygCAEGAgAhyNgIAIAZBE3QhWiABIBIgBCgCbC0AAkECdGoiBygCACIGKAIAIgNrIQECfyADIAJBEHZNBEAgAiADQRB0ayECIAFBgIACcQRAIAYoAgQMAgsgBigCBCEJIAcgBkEMQQggASADSSIKG2ooAgA2AgADQAJAIAUNACAEKAIQIgZBAWohByAGLQABIQMgBi0AAEH/AUcEQCAEIAc2AhBBCCEFIANBCHQgAmohAgwBCyADQY8BTQRAIAQgBzYCECADQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgCUUgCSAKGwwBCyAGKAIEIQkgByAGQQhBDCABIANJIgobaigCADYCAANAAkAgBQ0AIAQoAhAiBkEBaiEHIAYtAAEhASAGLQAAQf8BRwRAIAQgBzYCEEEIIQUgAUEIdCACaiECDAELIAFBjwFNBEAgBCAHNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQsgBUEBayEFIAJBAXQhAiADQQF0IgNBgIACSQ0ACyADIQEgCSAJRSAKGwshBiBaQRByIgMgBkUNARoLIAEgEiAIKAIEQRR2QQRxIAhBBGsiCSgCAEEWdkEBcSADQQ92QRBxIANBE3ZBwABxIANBA3ZBqgFxcnJyciITQdC5AWotAABBAnRqIgwoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhCiAMIAdBDEEIIAEgBkkiDBtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEGIActAABB/wFHBEAgBCAFNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAU2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIApFIAogDBsMAQsgBygCBCEKIAwgB0EIQQwgASAGSSIMG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUcEQCAEIAU2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAogCkUgDBsLIQYgCyAUQQJ0aiAVIA4gBiATQdC7AWotAABzIgYbNgIAIAkgCSgCAEGAAnI2AgAgCCAIKAIEQcAAcjYCBCADIAZBFnRyQYABcgshAyABIBIgBCgCbCADQQZ2Qe8DcWotAABBAnRqIgkoAgAiBygCACIGayEBAn8gBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnEEQCAHKAIEDAILIAcoAgQhDCAJIAdBDEEIIAEgBkkiChtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQkgBy0AASEGIActAABB/wFHBEAgBCAJNgIQQQghBSAGQQh0IAJqIQIMAQsgBkGPAU0EQCAEIAk2AhAgBkEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAxFIAwgChsMAQsgBygCBCEMIAkgB0EIQQwgASAGSSIKG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohCSAHLQABIQEgBy0AAEH/AUcEQCAEIAk2AhBBCCEFIAFBCHQgAmohAgwBCyABQY8BTQRAIAQgCTYCECABQQl0IAJqIQJBByEFDAELIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQULIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAwgDEUgChsLRQ0BCyABIBIgCCgCBEEXdkEEcSAIQQRrIgkoAgBBGXZBAXEgA0ESdkEQcSADQRZ2QcAAcSADQQZ2QaoBcXJycnIiE0HQuQFqLQAAQQJ0aiIMKAIAIgcoAgAiBmshAQJ/IAYgAkEQdk0EQCACIAZBEHRrIQIgAUGAgAJxBEAgBygCBAwCCyAHKAIEIQogDCAHQQxBCCABIAZJIgwbaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhBiAHLQAAQf8BRwRAIAQgBTYCEEEIIQUgBkEIdCACaiECDAELIAZBjwFNBEAgBCAFNgIQIAZBCXQgAmohAkEHIQUMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAKRSAKIAwbDAELIAcoAgQhCiAMIAdBCEEMIAEgBkkiDBtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFHBEAgBCAFNgIQQQghBSABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAZBAXQiBkGAgAJJDQALIAYhASAKIApFIAwbCyEGIAsgJEECdGogFSAOIAYgE0HQuwFqLQAAcyIGGzYCACAJIAkoAgBBgBByNgIAIAggCCgCBEGABHI2AgQgAyAGQRl0ckGACHIhAwsgASASIAQoAmwgA0EJdkHvA3FqLQAAQQJ0aiIJKAIAIgcoAgAiBmshAQJ/IAYgAkEQdk0EQCACIAZBEHRrIQIgAUGAgAJxBEAgBygCBAwCCyAHKAIEIQwgCSAHQQxBCCABIAZJIgobaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhBiAHLQAAQf8BRwRAIAQgBTYCEEEIIQUgBkEIdCACaiECDAELIAZBjwFNBEAgBCAFNgIQIAZBCXQgAmohAkEHIQUMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAMRSAMIAobDAELIAcoAgQhDCAJIAdBCEEMIAEgBkkiChtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFHBEAgBCAFNgIQQQghBSABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAZBAXQiBkGAgAJJDQALIAYhASAMIAxFIAobC0UNAwsgASASIAgoAgRBGnZBBHEgCEEEayIMKAIAQRx2QQFxIANBFXZBEHEgA0EZdkHAAHEgA0EJdkGqAXFycnJyIhNB0LkBai0AAEECdGoiCSgCACIKKAIAIgZrIQEgBiACQRB2TQRAIAIgBkEQdGshAiABQYCAAnENASAKKAIEIQcgCSAKQQxBCCABIAZJIhwbaigCADYCAANAAkAgBQ0AIAQoAhAiBUEBaiEKIAUtAAEhBiAFLQAAQf8BRwRAIAQgCjYCEEEIIQUgBkEIdCACaiECDAELIAZBjwFNBEAgBCAKNgIQIAZBCXQgAmohAkEHIQUMAQsgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAHRSAHIBwbDAILIAooAgQhByAJIApBCEEMIAEgBkkiHBtqKAIANgIAA0ACQCAFDQAgBCgCECIFQQFqIQogBS0AASEBIAUtAABB/wFHBEAgBCAKNgIQQQghBSABQQh0IAJqIQIMAQsgAUGPAU0EQCAEIAo2AhAgAUEJdCACaiECQQchBQwBCyAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFCyAFQQFrIQUgAkEBdCECIAZBAXQiBkGAgAJJDQALIAYhASAHIAdFIBwbDAELIAooAgQLIQYgCyAbQQJ0aiAVIA4gBiATQdC7AWotAABzIgcbNgIAIAwgDCgCAEGAgAFyNgIAIAggCCgCBEGAIHI2AgQgBCgCfEECdCAIaiIGIAYoAgRBBHI2AgQgBiAGKAIMQQFyNgIMIAYgBigCCCAHQRJ0ckECcjYCCCADIAdBHHRyQYDAAHIhAwsgCCADQf///7Z7cTYCAAsgCEEEaiEDIAtBBGohCyAYQQFqIhggFEcNAAsgCEEMaiEDIAsgG0ECdGohCyARQQRqIhEgBCgCgAEiBkF8cUkNAAsMAQtBBCAGQXxxIgMgA0EETRtBAWsiA0F8cUEEaiERIAcgA0EBdEF4cWpBFGohAwsgBCAFNgIIIAQgATYCBCAEIAI2AgAgBCAJNgJoIBRFDQQgBiARTQ0EA0BBACEFIBEgBCgCgAFHBEADQCAEIAMgCyAFIBRsQQJ0aiAOIAVBABBYIAVBAWoiBSAEKAKAASARa0kNAAsLIAMgAygCAEH///+2e3E2AgAgC0EEaiELIANBBGohAyAXQQFqIhcgFEcNAAsMBAtBBCAGQXxxIgMgA0EETRtBAWsiA0F8cUEEaiERIAcgA0EBdEF4cWpBFGohAwsgBCAFNgIIIAQgATYCBCAEIAI2AgAgBCAJNgJoIBRFDQIgBiARTQ0CA0BBACEFIBEgBCgCgAFHBEADQCAEIAMgCyAFIBRsQQJ0aiAOIAVBARBYIAVBAWoiBSAEKAKAASARa0kNAAsLIAMgAygCAEH///+2e3E2AgAgC0EEaiELIANBBGohAyAXQQFqIhcgFEcNAAsMAgsDQEEAIQwDQCADIRECQAJAAn8CQAJAIAYiDSgCACIGRQRAIAEgECgCACIDKAIAIgZrIQECfyAGIAJBEHZLBEAgAygCBCEHIBAgA0EIQQwgASAGSSIKG2ooAgA2AgADQAJAIAUNACAEKAIQIgNBAWohCSADLQABIQEgAy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAJNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAJNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAcgB0UgChsMAQsgAiAGQRB0ayECIAFBgIACcUUEQCADKAIEIQcgECADQQxBCCABIAZJIgobaigCADYCAANAAkAgBQ0AIAQoAhAiBkEBaiEJIAYtAAEhAyAGLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAk2AhAgA0EJdCACaiECQQchBQwBCyAEIAk2AhBBCCEFIANBCHQgAmohAgsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAHRSAHIAobDAELIAMoAgQLRQRAIBAhCQwGCyABIAgoAgAiAygCACIGayEBAn8gBiACQRB2SwRAIAMoAgQhByAIIANBCEEMIAEgBkkiChtqKAIAIgM2AgADQAJAIAUNACAEKAIQIglBAWohBSAJLQABIQEgCS0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAcgB0UgChsMAQsgAiAGQRB0ayECIAFBgIACcUUEQCADKAIEIQcgCCADQQxBCCABIAZJIgobaigCACIDNgIAA0ACQCAFDQAgBCgCECIJQQFqIQUgCS0AASEGIAktAABB/wFGBEAgBkGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECAGQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgBkEIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAdFIAcgChsMAQsgAygCBAshCiABIAMoAgAiBmshAQJ/IAYgAkEQdksEQCADKAIEIQcgCCADQQhBDCABIAZJIg4baigCADYCAANAAkAgBQ0AIAQoAhAiA0EBaiEJIAMtAAEhASADLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAk2AhAgAUEJdCACaiECQQchBQwBCyAEIAk2AhBBCCEFIAFBCHQgAmohAgsgBUEBayEFIAJBAXQhAiAGQQF0IgZBgIACSQ0ACyAGIQEgByAHRSAOGwwBCyACIAZBEHRrIQIgAUGAgAJxRQRAIAMoAgQhByAIIANBDEEIIAEgBkkiDhtqKAIANgIAA0ACQCAFDQAgBCgCECIGQQFqIQkgBi0AASEDIAYtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgCTYCECADQQl0IAJqIQJBByEFDAELIAQgCTYCEEEIIQUgA0EIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAdFIAcgDhsMAQsgAygCBAshA0EAIQYgCCEJAkACQAJAAn8CQAJAIAMgCkEBdHIOBAABAwUKCyABIAsgDSgCBEERdkEEcSANQQRrIgcoAgBBE3ZBAXFyIg5B0LkBai0AAEECdGoiCSgCACIDKAIAIgZrIQECfyAGIAJBEHZLBEAgAygCBCEKIAkgA0EIQQwgASAGSSISG2ooAgA2AgADQAJAIAUNACAEKAIQIgNBAWohCSADLQABIQEgAy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAJNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAJNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgBkEBdCIGQYCAAkkNAAsgBiEBIAogCkUgEhsMAQsgAiAGQRB0ayECIAFBgIACcUUEQCADKAIEIQogCSADQQxBCCABIAZJIhIbaigCADYCAANAAkAgBQ0AIAQoAhAiBkEBaiEJIAYtAAEhAyAGLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAk2AhAgA0EJdCACaiECQQchBQwBCyAEIAk2AhBBCCEFIANBCHQgAmohAgsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAKRSAKIBIbDAELIAMoAgQLIQMgESATIBQgAyAOQdC7AWotAABzIgMbNgIAIAcgBygCAEEgcjYCACANIA0oAgRBCHI2AgQgA0ETdCFbIAEgCyAEKAJsLQACQQJ0aiIHKAIAIgMoAgAiBmshAQJ/IAYgAkEQdksEQCADKAIEIQkgByADQQhBDCABIAZJIg4baigCADYCAANAAkAgBQ0AIAQoAhAiA0EBaiEHIAMtAAEhASADLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAc2AhAgAUEJdCACaiECQQchBQwBCyAEIAc2AhBBCCEFIAFBCHQgAmohAgsgBUEBayEFIAJBAXQhAiAGQQF0IgZBgIACSQ0ACyAGIQEgCSAJRSAOGwwBCyACIAZBEHRrIQIgAUGAgAJxRQRAIAMoAgQhCSAHIANBDEEIIAEgBkkiDhtqKAIANgIAA0ACQCAFDQAgBCgCECIGQQFqIQcgBi0AASEDIAYtAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBzYCECADQQl0IAJqIQJBByEFDAELIAQgBzYCEEEIIQUgA0EIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIAlFIAkgDhsMAQsgAygCBAshAyBbQRByIgYgA0UNARoLIAEgCyANKAIEQRR2QQRxIA1BBGsiCSgCAEEWdkEBcSAGQQ92QRBxIAZBE3ZBwABxIAZBA3ZBqgFxcnJyciISQdC5AWotAABBAnRqIgooAgAiBygCACIDayEBAn8gAyACQRB2SwRAIAcoAgQhDiAKIAdBCEEMIAEgA0kiChtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASAOIA5FIAobDAELIAIgA0EQdGshAiABQYCAAnFFBEAgBygCBCEOIAogB0EMQQggASADSSIKG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQMgBy0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIANBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSADQQh0IAJqIQILIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgDkUgDiAKGwwBCyAHKAIECyEDIBEgEyAUIAMgEkHQuwFqLQAAcyIDGzYCgAIgCSAJKAIAQYACcjYCACANIA0oAgRBwAByNgIEIAYgA0EWdHJBgAFyCyEGIAEgCyAEKAJsIAZBBnZB7wNxai0AAEECdGoiCSgCACIHKAIAIgNrIQECfyADIAJBEHZLBEAgBygCBCEKIAkgB0EIQQwgASADSSIOG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohCSAHLQABIQEgBy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAJNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAJNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIAogCkUgDhsMAQsgAiADQRB0ayECIAFBgIACcUUEQCAHKAIEIQogCSAHQQxBCCABIANJIg4baigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEJIActAAEhAyAHLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAk2AhAgA0EJdCACaiECQQchBQwBCyAEIAk2AhBBCCEFIANBCHQgAmohAgsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAKRSAKIA4bDAELIAcoAgQLRQ0BCyABIAsgDSgCBEEXdkEEcSANQQRrIgkoAgBBGXZBAXEgBkESdkEQcSAGQRZ2QcAAcSAGQQZ2QaoBcXJycnIiEkHQuQFqLQAAQQJ0aiIKKAIAIgcoAgAiA2shAQJ/IAMgAkEQdksEQCAHKAIEIQ4gCiAHQQhBDCABIANJIgobaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhASAHLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIAFBCHQgAmohAgsgBUEBayEFIAJBAXQhAiADQQF0IgNBgIACSQ0ACyADIQEgDiAORSAKGwwBCyACIANBEHRrIQIgAUGAgAJxRQRAIAcoAgQhDiAKIAdBDEEIIAEgA0kiChtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEDIActAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECADQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgA0EIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIA5FIA4gChsMAQsgBygCBAshAyARIBMgFCADIBJB0LsBai0AAHMiAxs2AoAEIAkgCSgCAEGAEHI2AgAgDSANKAIEQYAEcjYCBCAGIANBGXRyQYAIciEGCyABIAsgBCgCbCAGQQl2Qe8DcWotAABBAnRqIgkoAgAiBygCACIDayEBAn8gAyACQRB2SwRAIAcoAgQhCiAJIAdBCEEMIAEgA0kiDhtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASAKIApFIA4bDAELIAIgA0EQdGshAiABQYCAAnFFBEAgBygCBCEKIAkgB0EMQQggASADSSIOG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQMgBy0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIANBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSADQQh0IAJqIQILIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgCkUgCiAOGwwBCyAHKAIEC0UNBQsgASALIA0oAgRBGnZBBHEgDUEEayIOKAIAQRx2QQFxIAZBFXZBEHEgBkEZdkHAAHEgBkEJdkGqAXFycnJyIgpB0LkBai0AAEECdGoiCSgCACIHKAIAIgNrIQEgAyACQRB2SwRAIAcoAgQhEiAJIAdBCEEMIAEgA0kiFRtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASASIBJFIBUbDAQLIAIgA0EQdGshAiABQYCAAnENASAHKAIEIRIgCSAHQQxBCCABIANJIhUbaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhAyAHLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgA0EJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIANBCHQgAmohAgsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyASRSASIBUbDAMLAkAgBkGQgIABcQ0AIAEgCyAEKAJsIAZB7wNxai0AAEECdGoiCSgCACIHKAIAIgNrIQECfyADIAJBEHZLBEAgBygCBCEKIAkgB0EIQQwgASADSSIOG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQEgBy0AAEH/AUYEQCABQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIAFBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSABQQh0IAJqIQILIAVBAWshBSACQQF0IQIgA0EBdCIDQYCAAkkNAAsgAyEBIAogCkUgDhsMAQsgAiADQRB0ayECIAFBgIACcUUEQCAHKAIEIQogCSAHQQxBCCABIANJIg4baigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhAyAHLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgA0EJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIANBCHQgAmohAgsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyAKRSAKIA4bDAELIAcoAgQLRQ0AIAEgCyANKAIEQRF2QQRxIA1BBGsiCigCAEETdkEBcSAGQQ52QRBxIAZBEHZBwABxIAZBqgFxcnJyciISQdC5AWotAABBAnRqIgkoAgAiBygCACIDayEBAn8gAyACQRB2SwRAIAcoAgQhDiAJIAdBCEEMIAEgA0kiFRtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASAOIA5FIBUbDAELIAIgA0EQdGshAiABQYCAAnFFBEAgBygCBCEOIAkgB0EMQQggASADSSIVG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQMgBy0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIANBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSADQQh0IAJqIQILIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgDkUgDiAVGwwBCyAHKAIECyEDIBEgEyAUIAMgEkHQuwFqLQAAcyIDGzYCACAKIAooAgBBIHI2AgAgDSANKAIEQQhyNgIEIAYgA0ETdHJBEHIhBgsCQCAGQYCBgAhxDQAgASALIAQoAmwgBkEDdiIOQe8DcWotAABBAnRqIgkoAgAiBygCACIDayEBAn8gAyACQRB2SwRAIAcoAgQhCiAJIAdBCEEMIAEgA0kiEhtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASAKIApFIBIbDAELIAIgA0EQdGshAiABQYCAAnFFBEAgBygCBCEKIAkgB0EMQQggASADSSISG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQMgBy0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIANBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSADQQh0IAJqIQILIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgCkUgCiASGwwBCyAHKAIEC0UNACABIAsgDSgCBEEUdkEEcSANQQRrIgooAgBBFnZBAXEgBkEPdkEQcSAGQRN2QcAAcSAOQaoBcXJycnIiEkHQuQFqLQAAQQJ0aiIJKAIAIgcoAgAiA2shAQJ/IAMgAkEQdksEQCAHKAIEIQ4gCSAHQQhBDCABIANJIhUbaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhASAHLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIAFBCHQgAmohAgsgBUEBayEFIAJBAXQhAiADQQF0IgNBgIACSQ0ACyADIQEgDiAORSAVGwwBCyACIANBEHRrIQIgAUGAgAJxRQRAIAcoAgQhDiAJIAdBDEEIIAEgA0kiFRtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEDIActAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECADQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgA0EIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIA5FIA4gFRsMAQsgBygCBAshAyARIBMgFCADIBJB0LsBai0AAHMiAxs2AoACIAogCigCAEGAAnI2AgAgDSANKAIEQcAAcjYCBCAGIANBFnRyQYABciEGCwJAIAZBgIiAwABxDQAgASALIAQoAmwgBkEGdiIOQe8DcWotAABBAnRqIgkoAgAiBygCACIDayEBAn8gAyACQRB2SwRAIAcoAgQhCiAJIAdBCEEMIAEgA0kiEhtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASAKIApFIBIbDAELIAIgA0EQdGshAiABQYCAAnFFBEAgBygCBCEKIAkgB0EMQQggASADSSISG2ooAgA2AgADQAJAIAUNACAEKAIQIgdBAWohBSAHLQABIQMgBy0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCACQYD+A2ohAkEIIQUMAgsgBCAFNgIQIANBCXQgAmohAkEHIQUMAQsgBCAFNgIQQQghBSADQQh0IAJqIQILIAVBAWshBSACQQF0IQIgAUEBdCIBQYCAAkkNAAsgCkUgCiASGwwBCyAHKAIEC0UNACABIAsgDSgCBEEXdkEEcSANQQRrIgooAgBBGXZBAXEgBkESdkEQcSAGQRZ2QcAAcSAOQaoBcXJycnIiEkHQuQFqLQAAQQJ0aiIJKAIAIgcoAgAiA2shAQJ/IAMgAkEQdksEQCAHKAIEIQ4gCSAHQQhBDCABIANJIhUbaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhASAHLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIAFBCHQgAmohAgsgBUEBayEFIAJBAXQhAiADQQF0IgNBgIACSQ0ACyADIQEgDiAORSAVGwwBCyACIANBEHRrIQIgAUGAgAJxRQRAIAcoAgQhDiAJIAdBDEEIIAEgA0kiFRtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEDIActAABB/wFGBEAgA0GQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECADQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgA0EIdCACaiECCyAFQQFrIQUgAkEBdCECIAFBAXQiAUGAgAJJDQALIA5FIA4gFRsMAQsgBygCBAshAyARIBMgFCADIBJB0LsBai0AAHMiAxs2AoAEIAogCigCAEGAEHI2AgAgDSANKAIEQYAEcjYCBCAGIANBGXRyQYAIciEGCyAGQYDAgIAEcQ0DIAEgCyAEKAJsIAZBCXYiEkHvA3FqLQAAQQJ0aiIJKAIAIgEoAgAiA2shBwJ/IAMgAkEQdksEQCABKAIEIQogCSABQQhBDCADIAdLIg4baigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhASAHLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgAUEJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIAFBCHQgAmohAgsgBUEBayEFIAJBAXQhAiADQQF0IgNBgIACSQ0ACyADIQcgCiAKRSAOGwwBCyACIANBEHRrIQIgB0GAgAJxRQRAIAEoAgQhCiAJIAFBDEEIIAMgB0siDhtqKAIANgIAA0ACQCAFDQAgBCgCECIDQQFqIQUgAy0AASEBIAMtAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIAdBAXQiB0GAgAJJDQALIApFIAogDhsMAQsgASgCBAtFBEAgByEBDAQLIAcgCyANKAIEQRp2QQRxIA1BBGsiDigCAEEcdkEBcSAGQRV2QRBxIAZBGXZBwABxIBJBqgFxcnJyciIKQdC5AWotAABBAnRqIgkoAgAiBygCACIBayEDIAEgAkEQdksEQCAHKAIEIRIgCSAHQQhBDCABIANLIhUbaigCADYCAANAAkAgBQ0AIAQoAhAiB0EBaiEFIActAAEhAyAHLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAJBgP4DaiECQQghBQwCCyAEIAU2AhAgA0EJdCACaiECQQchBQwBCyAEIAU2AhBBCCEFIANBCHQgAmohAgsgBUEBayEFIAJBAXQhAiABQQF0IgFBgIACSQ0ACyASIBJFIBUbDAMLIAIgAUEQdGshAiADQYCAAnFFDQEgAyEBCyAHKAIEDAELIAcoAgQhEiAJIAdBDEEIIAEgA0siFRtqKAIANgIAA0ACQCAFDQAgBCgCECIHQQFqIQUgBy0AASEBIActAABB/wFGBEAgAUGQAU8EQCAEIAQoAgxBAWo2AgwgAkGA/gNqIQJBCCEFDAILIAQgBTYCECABQQl0IAJqIQJBByEFDAELIAQgBTYCEEEIIQUgAUEIdCACaiECCyAFQQFrIQUgAkEBdCECIANBAXQiA0GAgAJJDQALIAMhASASRSASIBUbCyEDIBEgEyAUIAMgCkHQuwFqLQAAcyIDGzYCgAYgDiAOKAIAQYCAAXI2AgAgDSANKAIEQYAgcjYCBCANIA0oAoQCQQRyNgKEAiANIA0oAowCQQFyNgKMAiANIA0oAogCIANBEnRyQQJyNgKIAiAGIANBHHRyQYDAAHIhBgsgDSAGQf///7Z7cTYCAAsgDUEEaiEGIBFBBGohAyAMQQFqIgxBwABHDQALIA1BDGohBiARQYQGaiEDIBdBPEkhXCAXQQRqIRcgXA0ACwsgBCAFNgIIIAQgATYCBCAEIAI2AgAgBCAJNgJoCwJAIBZBIHFFDQAgBCAEQeQAajYCaCAEIAQoAgQgBCgCZCIGKAIAIgFrIgI2AgQCQCABIAQoAgAiBUEQdksEQCAEIAE2AgQgBCAGQQhBDCABIAJLG2ooAgAiBjYCZCAEKAIIIQIDQAJAIAINACAEKAIQIgdBAWohCSAHLQABIQMgBy0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCAFQYD+A2ohBUEIIQIMAgsgBCAJNgIQIANBCXQgBWohBUEHIQIMAQsgBCAJNgIQQQghAiADQQh0IAVqIQULIAQgAkEBayICNgIIIAQgBUEBdCIFNgIAIAQgAUEBdCIBNgIEIAFBgIACSQ0ACyABIQIMAQsgBCAFIAFBEHRrIgU2AgAgAkGAgAJxDQAgBCAGQQxBCCABIAJLG2ooAgAiBjYCZCAEKAIIIQEDQAJAIAENACAEKAIQIgFBAWohByABLQABIQMgAS0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCAFQYD+A2ohBUEIIQEMAgsgBCAHNgIQIANBCXQgBWohBUEHIQEMAQsgBCAHNgIQQQghASADQQh0IAVqIQULIAQgAUEBayIBNgIIIAQgBUEBdCIFNgIAIAQgAkEBdCICNgIEIAJBgIACSQ0ACwsgBCACIAYoAgAiAWsiAjYCBAJAIAEgBUEQdksEQCAEIAE2AgQgBCAGQQhBDCABIAJLG2ooAgAiBjYCZCAEKAIIIQIDQAJAIAINACAEKAIQIgdBAWohCSAHLQABIQMgBy0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCAFQYD+A2ohBUEIIQIMAgsgBCAJNgIQIANBCXQgBWohBUEHIQIMAQsgBCAJNgIQQQghAiADQQh0IAVqIQULIAQgAkEBayICNgIIIAQgBUEBdCIFNgIAIAQgAUEBdCIBNgIEIAFBgIACSQ0ACyABIQIMAQsgBCAFIAFBEHRrIgU2AgAgAkGAgAJxDQAgBCAGQQxBCCABIAJLG2ooAgAiBjYCZCAEKAIIIQEDQAJAIAENACAEKAIQIgFBAWohByABLQABIQMgAS0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCAFQYD+A2ohBUEIIQEMAgsgBCAHNgIQIANBCXQgBWohBUEHIQEMAQsgBCAHNgIQQQghASADQQh0IAVqIQULIAQgAUEBayIBNgIIIAQgBUEBdCIFNgIAIAQgAkEBdCICNgIEIAJBgIACSQ0ACwsgBCACIAYoAgAiAWsiAjYCBAJAIAEgBUEQdksEQCAEIAE2AgQgBCAGQQhBDCABIAJLG2ooAgAiBjYCZCAEKAIIIQIDQAJAIAINACAEKAIQIgdBAWohCSAHLQABIQMgBy0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCAFQYD+A2ohBUEIIQIMAgsgBCAJNgIQIANBCXQgBWohBUEHIQIMAQsgBCAJNgIQQQghAiADQQh0IAVqIQULIAQgAkEBayICNgIIIAQgBUEBdCIFNgIAIAQgAUEBdCIBNgIEIAFBgIACSQ0ACyABIQIMAQsgBCAFIAFBEHRrIgU2AgAgAkGAgAJxDQAgBCAGQQxBCCABIAJLG2ooAgAiBjYCZCAEKAIIIQEDQAJAIAENACAEKAIQIgFBAWohByABLQABIQMgAS0AAEH/AUYEQCADQZABTwRAIAQgBCgCDEEBajYCDCAFQYD+A2ohBUEIIQEMAgsgBCAHNgIQIANBCXQgBWohBUEHIQEMAQsgBCAHNgIQQQghASADQQh0IAVqIQULIAQgAUEBayIBNgIIIAQgBUEBdCIFNgIAIAQgAkEBdCICNgIEIAJBgIACSQ0ACwsgBCACIAYoAgAiAWsiAjYCBCABIAVBEHZLBEAgBCABNgIEIAQgBkEIQQwgASACSxtqKAIANgJkIAQoAgghAgNAAkAgAg0AIAQoAhAiBkEBaiEHIAYtAAEhAyAGLQAAQf8BRgRAIANBkAFPBEAgBCAEKAIMQQFqNgIMIAVBgP4DaiEFQQghAgwCCyAEIAc2AhAgA0EJdCAFaiEFQQchAgwBCyAEIAc2AhBBCCECIANBCHQgBWohBQsgBCACQQFrIgI2AgggBCAFQQF0IgU2AgAgBCABQQF0IgE2AgQgAUGAgAJJDQALDAELIAQgBSABQRB0ayIHNgIAIAJBgIACcQ0AIAQgBkEMQQggASACSxtqKAIANgJkIAQoAgghBQNAAkAgBQ0AIAQoAhAiA0EBaiEGIAMtAAEhASADLQAAQf8BRgRAIAFBkAFPBEAgBCAEKAIMQQFqNgIMIAdBgP4DaiEHQQghBQwCCyAEIAY2AhAgAUEJdCAHaiEHQQchBQwBCyAEIAY2AhBBCCEFIAFBCHQgB2ohBwsgBCAFQQFrIgU2AgggBCAHQQF0Igc2AgAgBCACQQF0IgI2AgQgAkGAgAJJDQALCwsgJw0AIAQQWiAEQbCpATYCZCAEQdCeATYCYCAEQfCeATYCHAtBACAfQQFqIgEgAUEDRiIBGyEfIBkgAWshGSAmQQFqIiYgICgCCE8NASAZQQBKDQALCyAoICpqISggBCgCGCAELwFwOwAAIClBAWoiKSAaKAIsSQ0ACwsCQCArRQ0AAkAgBCgCGCIBIAQoAhAiA0ECaksEQCAhRQ0BICMgASAEKAIUIgZrNgI4ICMgAyAGazYCNCAjIAEgA2tBAms2AjAgHUECQZDyACAjQTBqEA8MAgsgBCgCDCIBQQNJDQEgIQRAICMgATYCUCAdQQJB6TUgI0HQAGoQDwwCCyAjIAE2AkAgHUECQek1ICNBQGsQDwwBCyAjIAEgBCgCFCIGazYCKCAjIAMgBms2AiQgIyABIANrQQJrNgIgIB1BAkGQ8gAgI0EgahAPCyAaKAI8RQ0AIAQgLDYCdAsgMCgCBCEBIBooAgwhXSAaKAIIIDAoAgBrIQggMCgCECIGQQFxBEAgMigCHCA3QZgBbGoiB0GQAWsoAgAgCGogB0GYAWsoAgBrIQgLIF0gAWshAyAGQQJxBEAgMigCHCA3QZgBbGoiAUGMAWsoAgAgA2ogAUGUAWsoAgBrIQMLIBooAjwiBiECIAZFBEAgBCgCdCECCyAEKAKAASEWIAQoAnwhDQJAIC8oAqgGIgdFDQAgFkUgDUVyIQEgB0EeTARAIAENAUEAIRADQCANIBBsIQRBACEBA0AgAiABIARqQQJ0aiIRKAIAIgkgCUEfdSIFcyAFayIFIAd2BEAgEUEAIAUgLygCqAZ2IhFrIBEgCUEASBs2AgALIAFBAWoiASANRw0ACyAQQQFqIhAgFkcNAAsMAQsgAQ0AIAJBACANIBZsQQJ0EBUaCyAGBEAgDSAWbCEGIC8oAhRBAUYEQCAGRQ0FQQAhASAGQQRPBEAgBkF8cSEBQQAhBANAIAIgBEECdGoiAyAD/QACACJe/RsAQQJt/REgXv0bAUECbf0cASBe/RsCQQJt/RwCIF79GwNBAm39HAP9CwIAIARBBGoiBCABRw0ACyABIAZGDQYLA0AgAiABQQJ0aiIDIAMoAgBBAm02AgAgAUEBaiIBIAZHDQALDAULIAZFDQQgMCoCIEMAAAA/lCFmQQAhBAJAIAZBBEkEQCACIQEMAQsgAiAGQXxxIgRBAnRqIQEgZv0TIV5BACEDA0AgAiADQQJ0aiIHIF4gB/0AAgD9+gH95gH9CwIAIANBBGoiAyAERw0ACyAEIAZGDQULA0AgASBmIAEoAgCylDgCACABQQRqIQEgBEEBaiIEIAZHDQALDAQLIDYgNWshESAvKAIUQQFHDQIgFkUNAyAyKAIkIgYgAyARbCIDQQJ0aiAIQQJ0aiEJIA1BfHEiDEEBayIBQQRxIQsgNiANIDVqa0ECdCEaIAFBAnZBAWpB/v///wdxIR0gAyAIakECdCAGaiACayEKQQAhCCABQQNHIRQDQEEAIQECQCAMRQ0AIAggDWwhAyAJIAggEWxBAnRqIQZBACEHIBQEQANAIAYgAUECdGogAiABIANqQQJ0av0AAgAiXv0bAEECbf0RIF79GwFBAm39HAEgXv0bAkECbf0cAiBe/RsDQQJt/RwD/QsCACAGIAFBBHIiBEECdGogAiADIARqQQJ0av0AAgAiXv0bAEECbf0RIF79GwFBAm39HAEgXv0bAkECbf0cAiBe/RsDQQJt/RwD/QsCACABQQhqIQEgB0ECaiIHIB1HDQALCyALDQAgBiABQQJ0aiACIAEgA2pBAnRq/QACACJe/RsAQQJt/REgXv0bAUECbf0cASBe/RsCQQJt/RwCIF79GwNBAm39HAP9CwIAIAFBBGohAQsCQCABIA1PDQAgCCANbCEDIAkgCCARbEECdGohBwJAIA0gAWsiEEEESQRAIAEhBAwBCyAKIAggGmxqQRBJBEAgASEEDAELIAEgEEF8cSIFaiEEQQAhBgNAIAcgASAGaiIhQQJ0aiACIAMgIWpBAnRq/QACACJe/RsAQQJt/REgXv0bAUECbf0cASBe/RsCQQJt/RwCIF79GwNBAm39HAP9CwIAIAZBBGoiBiAFRw0ACyAFIBBGDQELIARBAWohASANIARrQQFxBEAgByAEQQJ0aiACIAMgBGpBAnRqKAIAQQJtNgIAIAEhBAsgASANRg0AA0AgByAEQQJ0aiACIAMgBGpBAnRqKAIAQQJtNgIAIAcgBEEBaiIBQQJ0aiACIAEgA2pBAnRqKAIAQQJtNgIAIARBAmoiBCANRw0ACwsgCEEBaiIIIBZHDQALDAMLICMgGTYCACAdQQJB1cEAICMQDwsgECgCAEEANgIADAELIBZFDQAgDUUNACAyKAIkIAMgEWxBAnRqIAhBAnRqIQcgDUF8cSIDQQJ0IQYgMCoCIEMAAAA/lCJm/RMhXkEAIRAgDUEESSEIA0ACQAJAIAgEQCACIQkgByEBQQAhBAwBCyAGIAdqIQEgAiAGaiEJQQAhBANAIAcgBEECdCIFaiBeIAIgBWr9AAIA/foB/eYB/QsCACAEQQRqIgQgA0cNAAsgCSECIAMiBCANRg0BCyAJIQIDQCABIGYgAigCALKUOAIAIAFBBGohASACQQRqIQIgBEEBaiIEIA1HDQALCyAHIBFBAnRqIQcgEEEBaiIQIBZHDQALCyAAEBAgI0HgAGokAAvWBAEJfyAAKAIsQQhPBEAgACgCKCEFQQghCgNAIAAoAgxBBXQhCCAAKAIAIQQgACgCJCEDAkAgACgCFCIGIAAoAhAiAU0NACAEIAhqIQcgAUEBaiECIAYgAWtBAXEEQCAHIAFBBnRqIgkgBSABIANsQQJ0aiIB/QACAP0LAgAgCSAB/QACEP0LAhAgAiEBCyACIAZGDQADQCAHIAFBBnRqIgIgBSABIANsQQJ0aiIJ/QACAP0LAgAgAiAJ/QACEP0LAhAgByABQQFqIgJBBnRqIgkgBSACIANsQQJ0aiIC/QACEP0LAhAgCSAC/QACAP0LAgAgAUECaiIBIAZHDQALCwJAIAAoAhwiBiAAKAIYIgFNDQAgBCAIa0EgaiEHIAUgACgCCCADbEECdGohCCABQQFqIQIgBiABa0EBcQRAIAcgAUEGdGoiBCAIIAEgA2xBAnRqIgH9AAIA/QsCACAEIAH9AAIQ/QsCECACIQELIAIgBkYNAANAIAcgAUEGdGoiAiAIIAEgA2xBAnRqIgT9AAIA/QsCACACIAT9AAIQ/QsCECAHIAFBAWoiAkEGdGoiBCAIIAIgA2xBAnRqIgL9AAIQ/QsCECAEIAL9AAIA/QsCACABQQJqIgEgBkcNAAsLIAAQIkEAIQEgACgCIARAA0AgBSAAKAIkIAFsQQJ0aiICIAAoAgAgAUEFdGoiA/0AAgD9CwIAIAIgA/0AAhD9CwIQIAFBAWoiASAAKAIgSQ0ACwsgBUEgaiEFIApBCGoiCiAAKAIsTQ0ACwsgACgCABAQIAAQEAv3DQElfyAAKAIsQQhPBEAgACgCJCIKQQV0IR4gCkEHbCEWIApBBmwhFyAKQQVsIRggCkEDbCEZIApBAXQhGiAAKAIoIgEgCkEcbGohHyABIApBGGxqISAgASAKQRRsaiEhIAEgCkEEdGohIiABIApBDGxqISMgASAKQQN0IiRqISUgASAKQQJ0IhtqISZBCCEcA0AgACABIAAoAiRBCBA7IAAQIgJAIAAoAiAiC0UNACAdIB5sIQggACgCACEGQQAhBAJAAkAgC0HoAkkNACAGQQxqIg4gC0EBayICQQV0IgNqIA5JDQAgBkEIaiIPIANqIA9JDQAgAyAGaiAGSQ0AIAZBBGoiECADaiAQSQ0AIAJB////P0sNACABIAggJmoiAyALQQJ0IgVqIgxJIAMgASAFaiIHSXENACABIAggJWoiAiAFaiINSSACIAdJcQ0AIAEgBSAIICNqIglqIgVJIAcgCUtxDQAgBiAHSSABIAYgC0EFdGoiEUEcayISSXENACABIBFBGGsiE0kgByAQS3ENACABIBFBFGsiFEkgByAPS3ENACAHIA5LIAEgEUEQayIHSXENACADIA1JIAIgDElxDQAgAyAFSSAJIAxJcQ0AIAMgEkkgBiAMSXENACADIBNJIAwgEEtxDQAgAyAUSSAMIA9LcQ0AIAMgB0kgDCAOS3ENACACIAVJIAkgDUlxDQAgAiASSSAGIA1JcQ0AIAIgE0kgDSAQS3ENACACIBRJIA0gD0txDQAgAiAHSSANIA5LcQ0AIAkgEkkgBSAGS3ENACAJIBNJIAUgEEtxDQAgCSAUSSAFIA9LcQ0AIAcgCUsgBSAOS3ENACALQfz///8AcSEEQQAhAwNAIAEgA0ECdGogBiADQQV0aiIC/QkCACACKgIg/SABIAJBQGsqAgD9IAIgAioCYP0gA/0LAgAgASADIApqQQJ0aiAC/QkCBCACKgIk/SABIAIqAkT9IAIgAioCZP0gA/0LAgAgASADIBpqQQJ0aiAC/QkCCCACKgIo/SABIAIqAkj9IAIgAioCaP0gA/0LAgAgASADIBlqQQJ0aiAC/QkCDCACKgIs/SABIAIqAkz9IAIgAioCbP0gA/0LAgAgA0EEaiIDIARHDQALIAQgC0YNAQsDQCABIARBAnRqIAYgBEEFdGoiAyoCADgCACABIAQgCmpBAnRqIAMqAgQ4AgAgASAEIBpqQQJ0aiADKgIIOAIAIAEgBCAZakECdGogAyoCDDgCACAEQQFqIgQgC0cNAAsLIAAoAgAhBkEAIQQCQCALQdwASQ0AIAZBHGoiDyALQQFrIgJBBXQiA2ogD0kNACAGQRhqIhAgA2ogEEkNACAGQRBqIhEgA2ogEUkNACAGQRRqIhIgA2ogEkkNACACQf///z9LDQAgCCAiaiIDIAggIWoiAiALQQJ0IgVqIgxJIAIgAyAFaiIHSXENACADIAggIGoiCSAFaiINSSAHIAlLcQ0AIAMgCCAfaiIIIAVqIgVJIAcgCEtxDQAgAyAGIAtBBXRqIg5BDGsiE0kgByARS3ENACADIA5BCGsiFEkgByASS3ENACADIA5BBGsiFUkgByAQS3ENACADIA5JIAcgD0txDQAgAiANSSAJIAxJcQ0AIAIgBUkgCCAMSXENACACIBNJIAwgEUtxDQAgAiAUSSAMIBJLcQ0AIAIgFUkgDCAQS3ENACACIA5JIAwgD0txDQAgCCANSSAFIAlLcQ0AIAkgE0kgDSARS3ENACAJIBRJIA0gEktxDQAgCSAVSSANIBBLcQ0AIAkgDkkgDSAPS3ENACAIIBNJIAUgEUtxDQAgCCAUSSAFIBJLcQ0AIAggFUkgBSAQS3ENACAIIA5JIAUgD0txDQAgC0H8////AHEhBEEAIQMDQCABIAMgG2pBAnRqIAYgA0EFdGoiAv0JAhAgAioCMP0gASACKgJQ/SACIAIqAnD9IAP9CwIAIAEgAyAYakECdGogAv0JAhQgAioCNP0gASACKgJU/SACIAIqAnT9IAP9CwIAIAEgAyAXakECdGogAv0JAhggAioCOP0gASACKgJY/SACIAIqAnj9IAP9CwIAIAEgAyAWakECdGogAv0JAhwgAioCPP0gASACKgJc/SACIAIqAnz9IAP9CwIAIANBBGoiAyAERw0ACyAEIAtGDQELA0AgASAEIBtqQQJ0aiAGIARBBXRqIgMqAhA4AgAgASAEIBhqQQJ0aiADKgIUOAIAIAEgBCAXakECdGogAyoCGDgCACABIAQgFmpBAnRqIAMqAhw4AgAgBEEBaiIEIAtHDQALCyAdQQFqIR0gASAkQQJ0aiEBIBxBCGoiHCAAKAIsTQ0ACwsgACgCABAQIAAQEAtzAQJ/IAAoAhwiAUEIaiIDIAAoAiAiAk0EQANAIAAgACgCGCABQQJ0aiAAKAIUQQgQMCADIgFBCGoiAyAAKAIgIgJNDQALCyABIAJJBEAgACAAKAIYIAFBAnRqIAAoAhQgAiABaxAwCyAAKAIAEBAgABAQC0QAIAAoAhwiASAAKAIgSQRAA0AgACAAKAIYIAAoAhQgAWxBAnRqEF0gAUEBaiIBIAAoAiBJDQALCyAAKAIAEBAgABAQC6gBAQV/IAAoAlQiAygCACEFIAMoAgQiBCAAKAIUIAAoAhwiB2siBiAEIAZJGyIGBEAgBSAHIAYQEhogAyADKAIAIAZqIgU2AgAgAyADKAIEIAZrIgQ2AgQLIAQgAiACIARLGyIEBEAgBSABIAQQEhogAyADKAIAIARqIgU2AgAgAyADKAIEIARrNgIECyAFQQA6AAAgACAAKAIsIgE2AhwgACABNgIUIAILngUCBn4EfyABIAEoAgBBB2pBeHEiAUEQajYCACAAIQsgASkDACEDIAEpAwghByMAQSBrIggkACAHQv///////z+DIQQCfiAHQjCIQv//AYMiBaciCkGB+ABrQf0PTQRAIARCBIYgA0I8iIQhAiAKQYD4AGutIQUCQCADQv//////////D4MiA0KBgICAgICAgAhaBEAgAkIBfCECDAELIANCgICAgICAgIAIUg0AIAJCAYMgAnwhAgtCACACIAJC/////////wdWIgAbIQIgAK0gBXwMAQsCQCADIASEUA0AIAVC//8BUg0AIARCBIYgA0I8iIRCgICAgICAgASEIQJC/w8MAQtC/w8gCkH+hwFLDQAaQgBBgPgAQYH4ACAFUCIBGyIAIAprIglB8ABKDQAaIAMhAiAEIARCgICAgICAwACEIAEbIgYhBAJAQYABIAlrIgFBwABxBEAgAyABQUBqrYYhBEIAIQIMAQsgAUUNACAEIAGtIgWGIAJBwAAgAWutiIQhBCACIAWGIQILIAggAjcDECAIIAQ3AxgCQCAJQcAAcQRAIAYgCUFAaq2IIQNCACEGDAELIAlFDQAgBkHAACAJa62GIAMgCa0iAoiEIQMgBiACiCEGCyAIIAM3AwAgCCAGNwMIIAgpAwhCBIYgCCkDACICQjyIhCEDAkAgACAKRyAIKQMQIAgpAxiEQgBSca0gAkL//////////w+DhCICQoGAgICAgICACFoEQCADQgF8IQMMAQsgAkKAgICAgICAgAhSDQAgA0IBgyADfCEDCyADQoCAgICAgIAIhSADIANC/////////wdWIgAbIQIgAK0LIQMgCEEgaiQAIAsgB0KAgICAgICAgIB/gyADQjSGhCAChL85AwALhhgDE38BfAN+IwBBsARrIgwkACAMQQA2AiwCQCABvSIaQgBTBEBBASERQboIIRMgAZoiAb0hGgwBCyAEQYAQcQRAQQEhEUG9CCETDAELQcAIQbsIIARBAXEiERshEyARRSEVCwJAIBpCgICAgICAgPj/AINCgICAgICAgPj/AFEEQCAAQSAgAiARQQNqIgMgBEH//3txEBwgACATIBEQGSAAQZIJQfYKIAVBIHEiBRtB+wlB+gogBRsgASABYhtBAxAZIABBICACIAMgBEGAwABzEBwgAyACIAIgA0gbIQoMAQsgDEEQaiESAkACfwJAIAEgDEEsahBlIgEgAaAiAUQAAAAAAAAAAGIEQCAMIAwoAiwiBkEBazYCLCAFQSByIg5B4QBHDQEMAwsgBUEgciIOQeEARg0CIAwoAiwhCUEGIAMgA0EASBsMAQsgDCAGQR1rIgk2AiwgAUQAAAAAAACwQaIhAUEGIAMgA0EASBsLIQsgDEEwakGgAkEAIAlBAE4baiINIQcDQCAHAn8gAUQAAAAAAADwQWMgAUQAAAAAAAAAAGZxBEAgAasMAQtBAAsiAzYCACAHQQRqIQcgASADuKFEAAAAAGXNzUGiIgFEAAAAAAAAAABiDQALAkAgCUEATARAIAkhAyAHIQYgDSEIDAELIA0hCCAJIQMDQEEdIAMgA0EdTxshAwJAIAdBBGsiBiAISQ0AIAOtIRxCACEaA0AgBiAaQv////8PgyAGNQIAIByGfCIbQoCU69wDgCIaQoDslKMMfiAbfD4CACAGQQRrIgYgCE8NAAsgG0KAlOvcA1QNACAIQQRrIgggGj4CAAsDQCAIIAciBkkEQCAGQQRrIgcoAgBFDQELCyAMIAwoAiwgA2siAzYCLCAGIQcgA0EASg0ACwsgA0EASARAIAtBGWpBCW5BAWohDyAOQeYARiEQA0BBCUEAIANrIgMgA0EJTxshCgJAIAYgCE0EQCAIKAIARUECdCEHDAELQYCU69wDIAp2IRRBfyAKdEF/cyEWQQAhAyAIIQcDQCAHIAMgBygCACIXIAp2ajYCACAWIBdxIBRsIQMgB0EEaiIHIAZJDQALIAgoAgBFQQJ0IQcgA0UNACAGIAM2AgAgBkEEaiEGCyAMIAwoAiwgCmoiAzYCLCANIAcgCGoiCCAQGyIHIA9BAnRqIAYgBiAHa0ECdSAPShshBiADQQBIDQALC0EAIQMCQCAGIAhNDQAgDSAIa0ECdUEJbCEDQQohByAIKAIAIgpBCkkNAANAIANBAWohAyAKIAdBCmwiB08NAAsLIAsgA0EAIA5B5gBHG2sgDkHnAEYgC0EAR3FrIgcgBiANa0ECdUEJbEEJa0gEQCAMQTBqQYRgQaRiIAlBAEgbaiAHQYDIAGoiCkEJbSIPQQJ0aiEJQQohByAPQXdsIApqIgpBB0wEQANAIAdBCmwhByAKQQFqIgpBCEcNAAsLAkAgCSgCACIQIBAgB24iDyAHbCIKRiAJQQRqIhQgBkZxDQAgECAKayEQAkAgD0EBcUUEQEQAAAAAAABAQyEBIAdBgJTr3ANHDQEgCCAJTw0BIAlBBGstAABBAXFFDQELRAEAAAAAAEBDIQELRAAAAAAAAOA/RAAAAAAAAPA/RAAAAAAAAPg/IAYgFEYbRAAAAAAAAPg/IBAgB0EBdiIURhsgECAUSRshGQJAIBUNACATLQAAQS1HDQAgGZohGSABmiEBCyAJIAo2AgAgASAZoCABYQ0AIAkgByAKaiIDNgIAIANBgJTr3ANPBEADQCAJQQA2AgAgCCAJQQRrIglLBEAgCEEEayIIQQA2AgALIAkgCSgCAEEBaiIDNgIAIANB/5Pr3ANLDQALCyANIAhrQQJ1QQlsIQNBCiEHIAgoAgAiCkEKSQ0AA0AgA0EBaiEDIAogB0EKbCIHTw0ACwsgCUEEaiIHIAYgBiAHSxshBgsDQCAGIgcgCE0iCkUEQCAGQQRrIgYoAgBFDQELCwJAIA5B5wBHBEAgBEEIcSEJDAELIANBf3NBfyALQQEgCxsiBiADSiADQXtKcSIJGyAGaiELQX9BfiAJGyAFaiEFIARBCHEiCQ0AQXchBgJAIAoNACAHQQRrKAIAIg5FDQBBCiEKQQAhBiAOQQpwDQADQCAGIglBAWohBiAOIApBCmwiCnBFDQALIAlBf3MhBgsgByANa0ECdUEJbCEKIAVBX3FBxgBGBEBBACEJIAsgBiAKakEJayIGQQAgBkEAShsiBiAGIAtKGyELDAELQQAhCSALIAMgCmogBmpBCWsiBkEAIAZBAEobIgYgBiALShshCwtBfyEKIAtB/f///wdB/v///wcgCSALciIQG0oNASALIBBBAEdqQQFqIQ4CQCAFQV9xIhVBxgBGBEAgAyAOQf////8Hc0oNAyADQQAgA0EAShshBgwBCyASIAMgA0EfdSIGcyAGa60gEhAqIgZrQQFMBEADQCAGQQFrIgZBMDoAACASIAZrQQJIDQALCyAGQQJrIg8gBToAACAGQQFrQS1BKyADQQBIGzoAACASIA9rIgYgDkH/////B3NKDQILIAYgDmoiAyARQf////8Hc0oNASAAQSAgAiADIBFqIgMgBBAcIAAgEyAREBkgAEEwIAIgAyAEQYCABHMQHAJAAkACQCAVQcYARgRAIAxBEGpBCXIhBSANIAggCCANSxsiCSEIA0AgCDUCACAFECohBgJAIAggCUcEQCAGIAxBEGpNDQEDQCAGQQFrIgZBMDoAACAGIAxBEGpLDQALDAELIAUgBkcNACAGQQFrIgZBMDoAAAsgACAGIAUgBmsQGSAIQQRqIgggDU0NAAsgEARAIABBggxBARAZCyAHIAhNDQEgC0EATA0BA0AgCDUCACAFECoiBiAMQRBqSwRAA0AgBkEBayIGQTA6AAAgBiAMQRBqSw0ACwsgACAGQQkgCyALQQlOGxAZIAtBCWshBiAIQQRqIgggB08NAyALQQlKIRggBiELIBgNAAsMAgsCQCALQQBIDQAgByAIQQRqIAcgCEsbIQ0gDEEQakEJciEFIAghBwNAIAUgBzUCACAFECoiBkYEQCAGQQFrIgZBMDoAAAsCQCAHIAhHBEAgBiAMQRBqTQ0BA0AgBkEBayIGQTA6AAAgBiAMQRBqSw0ACwwBCyAAIAZBARAZIAZBAWohBiAJIAtyRQ0AIABBggxBARAZCyAAIAYgBSAGayIGIAsgBiALSBsQGSALIAZrIQsgB0EEaiIHIA1PDQEgC0EATg0ACwsgAEEwIAtBEmpBEkEAEBwgACAPIBIgD2sQGQwCCyALIQYLIABBMCAGQQlqQQlBABAcCyAAQSAgAiADIARBgMAAcxAcIAMgAiACIANIGyEKDAELIBMgBUEadEEfdUEJcWohCAJAIANBC0sNAEEMIANrIQZEAAAAAAAAMEAhGQNAIBlEAAAAAAAAMECiIRkgBkEBayIGDQALIAgtAABBLUYEQCAZIAGaIBmhoJohAQwBCyABIBmgIBmhIQELIBIgDCgCLCIHIAdBH3UiBnMgBmutIBIQKiIGRgRAIAZBAWsiBkEwOgAACyARQQJyIQsgBUEgcSENIAZBAmsiCSAFQQ9qOgAAIAZBAWtBLUErIAdBAEgbOgAAIARBCHEhBiAMQRBqIQcDQCAHIgUCfyABmUQAAAAAAADgQWMEQCABqgwBC0GAgICAeAsiB0HQxAFqLQAAIA1yOgAAIAEgB7ehRAAAAAAAADBAoiEBAkAgBUEBaiIHIAxBEGprQQFHDQACQCAGDQAgA0EASg0AIAFEAAAAAAAAAABhDQELIAVBLjoAASAFQQJqIQcLIAFEAAAAAAAAAABiDQALQX8hCkH9////ByALIBIgCWsiBmoiDWsgA0gNACAAQSAgAiANIANBAmogByAMQRBqIgdrIgUgBUECayADSBsgBSADGyIKaiIDIAQQHCAAIAggCxAZIABBMCACIAMgBEGAgARzEBwgACAHIAUQGSAAQTAgCiAFa0EAQQAQHCAAIAkgBhAZIABBICACIAMgBEGAwABzEBwgAyACIAIgA0gbIQoLIAxBsARqJAAgCgsEAEIACwQAQQALnwMBCX9B5gohAAJAA0AgAC0AACIBRQ0BIAFBPUYNASAAQQFqIgBBA3ENAAsCQAJAQYCChAggACgCACICayACckGAgYKEeHFBgIGChHhHDQADQEGAgoQIIAJBvfr06QNzIgFrIAFyQYCBgoR4cUGAgYKEeEcNASAAKAIEIQIgAEEEaiIBIQAgAkGAgoQIIAJrckGAgYKEeHFBgIGChHhGDQALDAELIAAhAQsDQCABIgAtAAAiAkUNASAAQQFqIQEgAkE9Rw0ACwsgACIBQeYKRgRAQQAPCwJAIAFB5gprIgBB5gpqLQAADQBBsM8BKAIAIgRFDQAgBCgCACIFRQ0AA0ACQAJ/IAUhAkHmCiEGQQAgACIBRQ0AGkHmCi0AACIDBH8CQANAIAMgAi0AACIHRw0BIAdFDQEgAUEBayIBRQ0BIAJBAWohAiAGLQABIQMgBkEBaiEGIAMNAAtBACEDCyADBUEACyACLQAAawtFBEAgACAFaiIBLQAAQT1GDQELIAQoAgQhBSAEQQRqIQQgBQ0BDAILCyABQQFqIQgLIAgLCQAgACgCPBANC84CAQh/IwBBIGsiAyQAIAMgACgCHCIENgIQIAAoAhQhBSADIAI2AhwgAyABNgIYIAMgBSAEayIBNgIUIAEgAmohBUECIQYgA0EQaiEBAn8DQAJAAkACQCAAKAI8IAEgBiADQQxqEAEiBAR/QZTHASAENgIAQX8FQQALRQRAIAUgAygCDCIHRg0BIAdBAE4NAgwDCyAFQX9HDQILIAAgACgCLCIBNgIcIAAgATYCFCAAIAEgACgCMGo2AhAgAgwDCyABIAcgASgCBCIISyIJQQN0aiIEIAcgCEEAIAkbayIIIAQoAgBqNgIAIAFBDEEEIAkbaiIBIAEoAgAgCGs2AgAgBSAHayEFIAYgCWshBiAEIQEMAQsLIABBADYCHCAAQgA3AxAgACAAKAIAQSByNgIAQQAgBkECRg0AGiACIAEoAgRrCyEKIANBIGokACAKC1YBAn8gACgCPCEEIwBBEGsiACQAIAQgAacgAUIgiKcgAkH/AXEgAEEIahAJIgIEf0GUxwEgAjYCAEF/BUEACyECIAApAwghASAAQRBqJABCfyABIAIbCwYAIAAQAAsGACAAEAML8n4FAnw2fwh7A34GfSMAQeDAAGsiGCQAIBhBADYCIEECIQwCQAJAIAAoAgAiB0GNlJzUAEYNACAHQf+f/Y8FRwRAAkAgB0GAgIDgAEcNACAAKAIEQeqggYECRw0AIAAoAghBjZSc1ABGDQILQc0IEABBASEMDAILQQAhDAsCf0EAQQFB4AAQEyIHRQ0AGiAHQQE2AkwCQAJAAkACQCAMDgMAAwEDCyAHQcMANgJYIAdBxAA2AlQgB0HFADYCUCAHQcYANgIQIAdBxwA2AgQgB0HIADYCHCAHQckANgIYIAdBygA2AhQgB0HLADYCACAHQcwANgJcIAdBzQA2AiwgB0HOADYCKCAHQc8ANgIkIAdB0AA2AiAgB0HRADYCDCAHQdIANgIIIAcQTSIINgIwIAgNAQwCCyAHQdMANgJYIAdB1AA2AlQgB0HVADYCUCAHQdYANgIQIAdB1wA2AgQgB0HYADYCXCAHQdkANgIsIAdB2gA2AiggB0HbADYCJCAHQdwANgIgIAdB3QA2AhwgB0HeADYCGCAHQd8ANgIUIAdB4AA2AgwgB0HhADYCCCAHQeIANgIAIAcCf0EBQYgBEBMiCARAIAgQTSIONgIAAkAgDkUNACAI/QwAAAAAAAAAAAAAAAAAAAAA/QsCbCAIQQA6AHwgCBAzIg42AgQgDkUNACAIEDMiDjYCCCAORQ0AIAgMAgsgCBBwC0EACyIINgIwIAhFDQELIAdBATYCSCAHQQE2AkAgB0EANgI8IAdCADcCNCAHQQE2AkQgBwwBCyAHEBBBAAsiCARAIAhBADYCPCAIQeMANgJICyAIBEAgCEEANgI4IAhB5AA2AkQLIAgEQCAIQQA2AjQgCEHlADYCQAsgGEEkaiIHBEAgB0EAQbjAABAVIgdBADYCuEAgB0J/NwKIQAsgAwRAIBggGCgC3EBBAXI2AtxACyAYIAE2AhwgGCAANgIYIBggADYCFEEBIQxBACEBAkAgGEEUaiIHRQ0AQQFByAAQEyIABH8CfyAAQYCAwAA2AkAgAEGAgMAAEBQiDjYCICAORQRAIAAQEEEADAELIAAgDjYCJCAAQQI2AhwgAEEDNgIYIABBBDYCFCAAQQU2AhAgAEEGNgIsIABBCDYCKCAAIAAoAkRBAnI2AkQgAAsFQQALIgBFDQAgAARAIABBADYCBCAAIAc2AgALIAc1AgghRSAABEAgACBFNwMICwJAIABFDQAgAC0AREECcUUNACAAQT82AhALIAAEQCAAQcEANgIYCyAABEAgAEHCADYCHAsgACEBCyABIQACfyAYQSRqIQECQCAIRQ0AIAFFDQAgCCgCTEUEQCAIQTRqQQFBtMkAQQAQD0EADAILIAgoAjAgASAIKAIYEQMAQQEhCwsgCwtFBEBB3AgQACAAEDQgCBA1DAELAn8gGEEgaiEBQQAhBwJAIABFDQAgCEUNACAIKAJMRQRAIAhBNGpBAUGFygBBABAPQQAMAgsgACAIKAIwIAEgCEE0aiAIKAIAEQEAIQcLIAcLRQRAQfgIEAAgABA0IAgQNSAYKAIgECEMAQsgGCgCICEBQQAhBwJAIAhFDQAgAEUNACAIKAJMRQ0AIAgoAjAgACABIAhBNGogCCgCBBEBACEHCwJAIAcEQEEAIQcCQCAIRQ0AIABFDQAgCCgCTEUNACAIKAIwIAAgCEE0aiAIKAIQEQAAIQcLIAcNAQtB/wkQACAIEDUgABA0IBgoAiAQIQwBCyAAEDQgCBA1IBgoAiAiDSgCHCIABEAgABAQIBgoAiAiDUIANwIcCyANKAIQISECQAJAIAJFBEACQCAERQ0AICFBBEcNAEEBIRlBBCEhDAMLAkACQCANKAIUIgFBA0YNACAhQQNHDQAgDSgCGCIAKAIAIAAoAgRHDQEgACgCNEEBRg0BIA1BAzYCFAwDCyAhQQJLDQAgDUECNgIUDAMLAkACQCABQQNrDgMDAQAECyMAQRBrIg4kAAJAAkACQCANKAIQQQRJDQAgDSgCGCIAKAIAIgEgACgCNEcNACABIAAoAmhHDQAgASAAKAKcAUcNACAAKAIEIgEgACgCOEcNACABIAAoAmxHDQAgASAAKAKgAUYNAQsgDkGHCDYCBCAOQbgKNgIAQejEAUHtPSAOEBYMAQsCQCAAKAIMIAAoAghsIghFBEAgACgCyAEhAQwBC0MAAIA/QX8gACgCtAF0QX9zs5UhSEMAAIA/QX8gACgCgAF0QX9zs5UhSkMAAIA/QX8gACgCTHRBf3OzlSFLQwAAgD9BfyAAKAIYdEF/c7OVIUkgACgCyAEhASAAKAKUASECIAAoAmAhCiAAKAIsIQdBACEAAkAgCEEISQ0AIAcgCiAIQQJ0IgtqIg9JIAogByALaiIXSXENACACIBdJIAcgAiALaiIJSXENACABIBdJIAcgASALaiILSXENACACIA9JIAkgCktxDQAgASAPSSAKIAtJcQ0AIAEgCUkgAiALSXENACAIQXxxIQAgSP0TIT0gSv0TIT4gS/0TIUMgSf0TIUBBACELA0AgAiALQQJ0Ig9qIhf9AAIAIUEgCiAPaiIJ/QACACFCIAcgD2oiEP0MAACAPwAAgD8AAIA/AACAPyBAIBD9AAIA/foB/eYB/eUB/QwAAH9DAAB/QwAAf0MAAH9D/eYB/QwAAIA/AACAPwAAgD8AAIA/ID0gASAPav0AAgD9+gH95gH95QEiP/3mAf34Af0LAgAgCf0MAACAPwAAgD8AAIA/AACAPyBDIEL9+gH95gH95QH9DAAAf0MAAH9DAAB/QwAAf0P95gEgP/3mAf34Af0LAgAgF/0MAACAPwAAgD8AAIA/AACAPyA+IEH9+gH95gH95QH9DAAAf0MAAH9DAAB/QwAAf0P95gEgP/3mAf34Af0LAgAgC0EEaiILIABHDQALIAAgCEYNAQsDQAJ/QwAAgD8gSSAHIABBAnQiC2oiDygCALKUk0MAAH9DlEMAAIA/IEggASALaigCALKUkyJMlCJNi0MAAABPXQRAIE2oDAELQYCAgIB4CyEXIAIgC2oiCSgCACEQIAogC2oiCygCACEMIA8gFzYCACALAn9DAACAPyBLIAyylJNDAAB/Q5QgTJQiTYtDAAAAT10EQCBNqAwBC0GAgICAeAs2AgAgCQJ/QwAAgD8gSiAQspSTQwAAf0OUIEyUIkyLQwAAAE9dBEAgTKgMAQtBgICAgHgLNgIAIABBAWoiACAIRw0ACwsgARAQIA0oAhgiAEEINgKAASAAQQg2AkwgAEEINgIYIABBADYCyAEgDUEBNgIUIA0gDSgCEEEBayIANgIQIABBBEkNAEEDIQADQCANKAIYIABBNGxqIgEgASgCZDYCMCABIAH9AAJU/QsCICABIAH9AAJE/QsCECABIAH9AAI0/QsCACAAQQFqIgAgDSgCEEkNAAsLIA5BEGokAAwDCyMAQRBrIgskAAJAAkACQCANKAIQQQNJDQAgDSgCGCIAKAIAIgEgACgCNEcNACABIAAoAmhHDQAgACgCBCIBIAAoAjhHDQAgASAAKAJsRg0BCyALQcUINgIEIAtBuAo2AgBB6MQBQZc+IAsQFgwBCwJAIAAoAgwgACgCCGwiAkUNAEF/IAAoAhgiCnRBf3MhAUEAQQEgCkEBa3QiCiAAKAKIARshD0EAIAogACgCVBshFyAAKAKUASEKIAAoAmAhByAAKAIsIQ5BACEAAkAgAkEESQ0AIA4gByACQQJ0IghqIglJIAcgCCAOaiIQSXENACAKIBBJIA4gCCAKaiIISXENACAHIAhJIAkgCktxDQAgAkF8cSEAIAH9ESE/IA/9ESFAIBf9ESFBQQAhCANAIA4gCEECdCIJaiIQID8gCSAKaiIM/QACACBA/bEB/foBIj39DGl0sz9pdLM/aXSzP2l0sz/95gEgByAJaiIJ/QACACBB/bEB/foBIj79DLNZGrizWRq4s1kauLNZGrj95gEgEP0AAgD9+gEiQ/3kAf3kAf0MAAAAPwAAAD8AAAA/AAAAP/3kAf34ASJC/QwAAAAAAAAAAAAAAAAAAAAA/bgBID8gQv05/VL9CwIAIAkgPyA9/QwZ0Da/GdA2vxnQNr8Z0Da//eYBIEP9DNUJgD/VCYA/1QmAP9UJgD/95gEgPv0MJzGwvicxsL4nMbC+JzGwvv3mAf3kAf3kAf0MAAAAPwAAAD8AAAA/AAAAP/3kAf34ASJC/QwAAAAAAAAAAAAAAAAAAAAA/bgBID8gQv05/VL9CwIAIAwgPyA9/Qy9Nwa3vTcGt703Bre9Nwa3/eYBIEP9DGb0fz9m9H8/ZvR/P2b0fz/95gEgPv0MNdLiPzXS4j810uI/NdLiP/3mAf3kAf3kAf0MAAAAPwAAAD8AAAA/AAAAP/3kAf34ASI9/QwAAAAAAAAAAAAAAAAAAAAA/bgBID8gPf05/VL9CwIAIAhBBGoiCCAARw0ACyAAIAJGDQELA0ACfyAKIABBAnQiCGoiCSgCACAPa7IiSENpdLM/lCAHIAhqIhAoAgAgF2uyIkpDs1kauJQgCCAOaiIMKAIAsiJLkpJDAAAAP5IiSYtDAAAAT10EQCBJqAwBC0GAgICAeAshCCAMIAEgCEEAIAhBAEobIAEgCEgbNgIAIBAgAQJ/IEhDGdA2v5QgS0PVCYA/lCBKQycxsL6UkpJDAAAAP5IiSYtDAAAAT10EQCBJqAwBC0GAgICAeAsiCEEAIAhBAEobIAEgCEgbNgIAIAkgAQJ/IEhDvTcGt5QgS0Nm9H8/lCBKQzXS4j+UkpJDAAAAP5IiSItDAAAAT10EQCBIqAwBC0GAgICAeAsiCEEAIAhBAEobIAEgCEgbNgIAIABBAWoiACACRw0ACwsgDUEBNgIUCyALQRBqJAAMAgsgISACIAIgIUsbISFBASEZDAELAkACQAJ/AkACQCANKAIYIgEoAgBBAUcNAAJAAkAgASgCNEEBaw4CAQACCyABKAJoQQJHDQECQCABKAIEQQFHDQAgASgCOEECRw0AIAEoAmxBAkcNAEEAIQsgDSIXKAIYIgAoAhghASAAKAKUASERIAAoAmAhCiAAKAIsIRAgACgCCCINIAAoAgwiAmxBAnQiABAYIQcgABAYIQggABAYIQ4CQAJAAkACQAJAAkAgB0UNACAIRQ0AIA5FDQBBfyABdEF/cyEJQQEgAUEBa3QhDCACIBcoAgRBAXEiAGshHiAXKAIAQQFxIRsgAEUNAyANRQ0DAn9BACAMa7K7IgVEarx0kxgE1j+iIAVEDAIrhxbZ5j+ioCIGmUQAAAAAAADgQWMEQCAGqgwBC0GAgICAeAshFAJ/IAVEJzEIrBxa/D+iIgaZRAAAAAAAAOBBYwRAIAaqDAELQYCAgIB4CyEaIA1BCEkhOAJ/IAVEO99PjZdu9j+iIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4CyEdIDgNASAIIAdrQRBJDQEgDiAHa0EQSQ0BIAcgEGtBEEkNASAOIAhrQRBJDQEgCCAQa0EQSQ0BIA4gEGtBEEkNASAOIA1BfHEiC0ECdCICaiEBIAIgB2ohACAa/REhPiAU/REhQyAJ/REhPyAd/REhQANAIAcgD0ECdCITav0MAAAAAAAAAAAAAAAAAAAAACAQIBNq/QACACI9IED9rgEiQSA//bYBIEH9DAAAAAAAAAAAAAAAAAAAAAD9Of1S/QsCACAIIBNq/QwAAAAAAAAAAAAAAAAAAAAAID0gQ/2xASJBID/9tgEgQf0MAAAAAAAAAAAAAAAAAAAAAP05/VL9CwIAIA4gE2r9DAAAAAAAAAAAAAAAAAAAAAAgPSA+/a4BIj0gP/22ASA9/QwAAAAAAAAAAAAAAAAAAAAA/Tn9Uv0LAgAgD0EEaiIPIAtHDQALIAIgEGohECACIAhqIQIgCyANRg0EDAILIAcQECAIEBAgDhAQDAQLIAchACAIIQIgDiEBCwNAIAAgECgCACIPIB1qIhMgCSAJIBNKG0EAIBNBAE4bNgIAIAIgDyAUayITIAkgCSATShtBACATQQBOGzYCACABIA8gGmoiDyAJIAkgD0obQQAgD0EAThs2AgAgAUEEaiEBIAJBBGohAiAAQQRqIQAgEEEEaiEQIAtBAWoiCyANRw0ACwwBCyAOIQEgCCECIAchAAsgDSAbayEaAkAgHkF+cSIdBH8Cf0EAIAxrsrsiBURqvHSTGATWP6IgBUQMAiuHFtnmP6KgIgaZRAAAAAAAAOBBYwRAIAaqDAELQYCAgIB4CyEiIBpBfnEiHEEBayE5An8gBUQnMQisHFr8P6IiBplEAAAAAAAA4EFjBEAgBqoMAQtBgICAgHgLISMgOUF+cSE6An8gBUQ730+Nl272P6IiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLISQgHUEBayElIDpBAmohJiANQQJ0IQ0DQCABIA1qIQ8gAiANaiETIAAgDWohCyANIBBqIRQgGwRAIAAgECgCACIVICRqIhIgCSAJIBJKG0EAIBJBAE4bNgIAIAIgFSAiayISIAkgCSASShtBACASQQBOGzYCACABIBUgI2oiFSAJIAkgFUobQQAgFUEAThs2AgAgCigCACEWIAsCfyARKAIAIAxrsrsiBUQ730+Nl272P6IiBplEAAAAAAAA4EFjBEAgBqoMAQtBgICAgHgLIBQoAgAiFWoiEiAJIAkgEkobQQAgEkEAThs2AgAgEyAVAn8gFiAMa7K7IgZEarx0kxgE1j+iIAVEDAIrhxbZ5j+ioCIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAtrIhIgCSAJIBJKG0EAIBJBAE4bNgIAIA8CfyAGRCcxCKwcWvw/oiIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAsgFWoiFSAJIAkgFUobQQAgFUEAThs2AgAgD0EEaiEPIBNBBGohEyALQQRqIQsgFEEEaiEUIAJBBGohAiAQQQRqIRAgAUEEaiEBIABBBGohAAtBACEVIBwEfwNAIAooAgAhHyAAAn8gESgCACAMa7K7IgVEO99PjZdu9j+iIgaZRAAAAAAAAOBBYwRAIAaqDAELQYCAgIB4CyAQKAIAIhJqIhYgCSAJIBZKG0EAIBZBAE4bNgIAIAIgEgJ/IB8gDGuyuyIGRGq8dJMYBNY/oiAFRAwCK4cW2eY/oqAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLayIWIAkgCSAWShtBACAWQQBOGzYCACABAn8gBkQnMQisHFr8P6IiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLIBJqIhIgCSAJIBJKG0EAIBJBAE4bNgIAIAooAgAhHyAAAn8gESgCACAMa7K7IgVEO99PjZdu9j+iIgaZRAAAAAAAAOBBYwRAIAaqDAELQYCAgIB4CyAQKAIEIhJqIhYgCSAJIBZKG0EAIBZBAE4bNgIEIAIgEgJ/IB8gDGuyuyIGRGq8dJMYBNY/oiAFRAwCK4cW2eY/oqAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLayIWIAkgCSAWShtBACAWQQBOGzYCBCABAn8gBkQnMQisHFr8P6IiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLIBJqIhIgCSAJIBJKG0EAIBJBAE4bNgIEIAooAgAhHyALAn8gESgCACAMa7K7IgVEO99PjZdu9j+iIgaZRAAAAAAAAOBBYwRAIAaqDAELQYCAgIB4CyAUKAIAIhJqIhYgCSAJIBZKG0EAIBZBAE4bNgIAIBMgEgJ/IB8gDGuyuyIGRGq8dJMYBNY/oiAFRAwCK4cW2eY/oqAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLayIWIAkgCSAWShtBACAWQQBOGzYCACAPAn8gBkQnMQisHFr8P6IiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLIBJqIhIgCSAJIBJKG0EAIBJBAE4bNgIAIAooAgAhHyALAn8gESgCACAMa7K7IgVEO99PjZdu9j+iIgaZRAAAAAAAAOBBYwRAIAaqDAELQYCAgIB4CyAUKAIEIhJqIhYgCSAJIBZKG0EAIBZBAE4bNgIEIBMgEgJ/IB8gDGuyuyIGRGq8dJMYBNY/oiAFRAwCK4cW2eY/oqAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLayIWIAkgCSAWShtBACAWQQBOGzYCBCAPAn8gBkQnMQisHFr8P6IiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLIBJqIhIgCSAJIBJKG0EAIBJBAE4bNgIEIBFBBGohESAKQQRqIQogD0EIaiEPIBNBCGohEyALQQhqIQsgFEEIaiEUIAFBCGohASACQQhqIQIgAEEIaiEAIBBBCGohECAVQQJqIhUgHEkNAAsgJgVBAAsgGkkEfyAKKAIAIRYgAAJ/IBEoAgAgDGuyuyIFRDvfT42XbvY/oiIGmUQAAAAAAADgQWMEQCAGqgwBC0GAgICAeAsgECgCACIVaiISIAkgCSASShtBACASQQBOGzYCACACIBUCfyAWIAxrsrsiBkRqvHSTGATWP6IgBUQMAiuHFtnmP6KgIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C2siEiAJIAkgEkobQQAgEkEAThs2AgAgAQJ/IAZEJzEIrBxa/D+iIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4CyAVaiIVIAkgCSAVShtBACAVQQBOGzYCACAKKAIAIRUgCwJ/IBEoAgAgDGuyuyIFRDvfT42XbvY/oiIGmUQAAAAAAADgQWMEQCAGqgwBC0GAgICAeAsgFCgCACILaiIUIAkgCSAUShtBACAUQQBOGzYCACATIAsCfyAVIAxrsrsiBkRqvHSTGATWP6IgBUQMAiuHFtnmP6KgIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C2siEyAJIAkgE0obQQAgE0EAThs2AgAgDwJ/IAZEJzEIrBxa/D+iIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4CyALaiILIAkgCSALShtBACALQQBOGzYCACARQQRqIREgCkEEaiEKIAJBBGohAiAQQQRqIRAgAEEEaiEAIAFBBGoFIAELIA1qIQEgAiANaiECIAAgDWohACANIBBqIRAgIEECaiIgIB1JDQALICVBfnFBAmoFQQALIB5PDQAgGwRAIAACf0EAIAxrsrsiBUQ730+Nl272P6IiBplEAAAAAAAA4EFjBEAgBqoMAQtBgICAgHgLIBAoAgAiC2oiDSAJIAkgDUobQQAgDUEAThs2AgAgAiALAn8gBURqvHSTGATWP6IgBUQMAiuHFtnmP6KgIgaZRAAAAAAAAOBBYwRAIAaqDAELQYCAgIB4C2siDSAJIAkgDUobQQAgDUEAThs2AgAgAQJ/IAVEJzEIrBxa/D+iIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4CyALaiILIAkgCSALShtBACALQQBOGzYCACACQQRqIQIgEEEEaiEQIAFBBGohASAAQQRqIQALIBpBfnEiIAR/ICBBAWsiC0F+cSE7AkACf0EAICBBD0kNABpBACAAIAIgC0EBdiIUQQN0QQhqIhNqIgtJIAIgACATaiINSXENABpBACABIA1JIAAgASATaiIPSXENABpBACAAIBAgE2oiE0kgDSAQS3ENABpBACAKIA1JIAAgCiAUQQJ0QQRqIh5qIhtJcQ0AGkEAIA0gEUsgACARIB5qIg1JcQ0AGkEAIAIgD0kgASALSXENABpBACACIBNJIAsgEEtxDQAaQQAgCiALSSACIBtJcQ0AGkEAIAIgDUkgCyARS3ENABpBACABIBNJIA8gEEtxDQAaQQAgCiAPSSABIBtJcQ0AGkEAIAEgDUkgDyARS3ENABogCiAUQQFqIhZB/P///wdxIhtBAnQiImohCyABIBtBA3QiHmohDSAAIB5qIQ8gCf0RIT8gDP0RIUNBACETA0AgECATQQN0IhRBGHIiHWoiIyAQIBRBEHIiHGoiJCAQIBRBCHIiFWoiJSAQIBRqIib9CQIA/VYCAAH9VgIAAv1WAgADIT0CfyARIBNBAnQiH2r9AAIAIEP9sQH9+gEiPv1fIkD9DDvfT42XbvY/O99PjZdu9j/98gEiQf0hASIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAshJyAKIB9q/QACACFCIAAgFGoiH/0MAAAAAAAAAAAAAAAAAAAAACA9An8gQf0hACIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAv9ESAn/RwBAn8gPiA+/Q0ICQoLDA0ODwABAgMAAQID/V8iQf0MO99PjZdu9j8730+Nl272P/3yASI+/SEAIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C/0cAgJ/ID79IQEiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgL/RwDIkT9rgEiPiA//bYBID79DAAAAAAAAAAAAAAAAAAAAAD9Of1SIj79WgIAACAAIBVqIicgPv1aAgABIAAgHGoiKSA+/VoCAAIgACAdaiIqID79WgIAAwJ/IEIgQ/2xAf36ASI+/V8iQv0Marx0kxgE1j9qvHSTGATWP/3yASBA/QwMAiuHFtnmPwwCK4cW2eY//fIB/fABIkD9IQEiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLISggAiAUaiIr/QwAAAAAAAAAAAAAAAAAAAAAID0CfyBA/SEAIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C/0RICj9HAECfyA+/QwAAAAAAAAAAAAAAAAAAAAA/Q0ICQoLDA0ODwABAgMAAQID/V8iQP0Marx0kxgE1j9qvHSTGATWP/3yASBB/QwMAiuHFtnmPwwCK4cW2eY//fIB/fABIj79IQAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgL/RwCAn8gPv0hASIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAv9HAMiQf2xASI+ID/9tgEgPv0MAAAAAAAAAAAAAAAAAAAAAP05/VIiPv1aAgAAIAIgFWoiKCA+/VoCAAEgAiAcaiIsID79WgIAAiACIB1qIi0gPv1aAgADAn8gQv0MJzEIrBxa/D8nMQisHFr8P/3yASI+/SEBIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4CyEuIAEgFGoiFP0MAAAAAAAAAAAAAAAAAAAAACA9An8gPv0hACIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAv9ESAu/RwBAn8gQP0MJzEIrBxa/D8nMQisHFr8P/3yASI9/SEAIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C/0cAgJ/ID39IQEiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgL/RwDIkD9rgEiPSA//bYBID39DAAAAAAAAAAAAAAAAAAAAAD9Of1SIj39WgIAACABIBVqIhUgPf1aAgABIAEgHGoiHCA9/VoCAAIgASAdaiIdID39WgIAAyAf/QwAAAAAAAAAAAAAAAAAAAAAICNBBGogJEEEaiAlQQRqICb9CQIE/VYCAAH9VgIAAv1WAgADIj4gRP2uASI9ID/9tgEgPf0MAAAAAAAAAAAAAAAAAAAAAP05/VIiPf1aAgQAICcgPf1aAgQBICkgPf1aAgQCICogPf1aAgQDICv9DAAAAAAAAAAAAAAAAAAAAAAgPiBB/bEBIj0gP/22ASA9/QwAAAAAAAAAAAAAAAAAAAAA/Tn9UiI9/VoCBAAgKCA9/VoCBAEgLCA9/VoCBAIgLSA9/VoCBAMgFP0MAAAAAAAAAAAAAAAAAAAAACA+IED9rgEiPSA//bYBID39DAAAAAAAAAAAAAAAAAAAAAD9Of1SIj39WgIEACAVID39WgIEASAcID39WgIEAiAdID39WgIEAyATQQRqIhMgG0cNAAsgESAiaiERIBAgHmohECACIB5qIQIgFiAbRgRAIA8hACANIQEgCyEKDAILIA8hACANIQEgCyEKIBtBAXQLIQsDQCAKKAIAIRMgAAJ/IBEoAgAgDGuyuyIFRDvfT42XbvY/oiIGmUQAAAAAAADgQWMEQCAGqgwBC0GAgICAeAsgECgCACINaiIPIAkgCSAPShtBACAPQQBOGzYCACACIA0CfyATIAxrsrsiBkRqvHSTGATWP6IgBUQMAiuHFtnmP6KgIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C2siDyAJIAkgD0obQQAgD0EAThs2AgAgAQJ/IAZEJzEIrBxa/D+iIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4CyANaiINIAkgCSANShtBACANQQBOGzYCACAKKAIAIRMgAAJ/IBEoAgAgDGuyuyIFRDvfT42XbvY/oiIGmUQAAAAAAADgQWMEQCAGqgwBC0GAgICAeAsgECgCBCINaiIPIAkgCSAPShtBACAPQQBOGzYCBCACIA0CfyATIAxrsrsiBkRqvHSTGATWP6IgBUQMAiuHFtnmP6KgIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C2siDyAJIAkgD0obQQAgD0EAThs2AgQgAQJ/IAZEJzEIrBxa/D+iIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4CyANaiINIAkgCSANShtBACANQQBOGzYCBCARQQRqIREgCkEEaiEKIAFBCGohASACQQhqIQIgAEEIaiEAIBBBCGohECALQQJqIgsgIEkNAAsLIDtBAmoFQQALIBpPDQAgCigCACELIAACfyARKAIAIAxrsrsiBUQ730+Nl272P6IiBplEAAAAAAAA4EFjBEAgBqoMAQtBgICAgHgLIBAoAgAiAGoiCiAJIAkgCkobQQAgCkEAThs2AgAgAiAAAn8gCyAMa7K7IgZEarx0kxgE1j+iIAVEDAIrhxbZ5j+ioCIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAtrIgIgCSACIAlIG0EAIAJBAE4bNgIAIAECfyAGRCcxCKwcWvw/oiIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAsgAGoiACAJIAAgCUgbQQAgAEEAThs2AgALIBcoAhgoAiwQECAXKAIYIgAgBzYCLCAAKAJgEBAgFygCGCIAIAg2AmAgACgClAEQECAXKAIYIgAgDjYClAEgACAA/QACACI//QsCaCAAID/9CwI0IBdBATYCFAsMBwsgASgCBEEBRw0BIAEoAjhBAUcNASABKAJsQQFHDQEgASgCGCEAIAEoApQBIQIgASgCYCEHIAEoAiwhDCABKAIIIgogASgCDCIWbEECdCIBEBghDyABEBghFyABEBghCSAPRQ0FIBdFDQUgCUUNBSAWBEAgCiANKAIAQQFxIh9rISICf0EAQQEgAEEBa3QiFGuyuyIFRGq8dJMYBNY/oiAFRAwCK4cW2eY/oqAiBplEAAAAAAAA4EFjBEAgBqoMAQtBgICAgHgLISdBfyAAdCE8ICJBfnEiHUEBayIKQQF2IgBBAWohIwJ/IAVEJzEIrBxa/D+iIgaZRAAAAAAAAOBBYwRAIAaqDAELQYCAgIB4CyEpIApBfnEhCiAAQQJ0IQggAEEDdCEAICNBfHEhGyA8QX9zIRECfyAFRDvfT42XbvY/oiIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAshKiAKQQJqISQgCEEEaiElIABBCGohICAbQQJ0ISYgG0EDdCEeIBtBAXQhECAR/REhPyAU/REhQyAdQQdJISggDyEKIBchACAJIQ4DQCAfBEAgCiAMKAIAIgEgKmoiCCARIAggEUgbQQAgCEEAThs2AgAgACABICdrIgggESAIIBFIG0EAIAhBAE4bNgIAIA4gASApaiIBIBEgASARSBtBACABQQBOGzYCACAOQQRqIQ4gCkEEaiEKIAxBBGohDCAAQQRqIQALAn8CfyAdRQRAIAchASAOIQsgCiEIQQAMAQtBACEZAkACQCAoDQAgCiAAICBqIgFJIAAgCiAgaiIISXENACAKIA4gIGoiC0kgCCAOS3ENACAKIAwgIGoiGkkgCCAMS3ENACAHIAhJIAogByAlaiIcSXENACACIAhJIAogAiAlaiIISXENACAAIAtJIAEgDktxDQAgACAaSSABIAxLcQ0AIAAgHEkgASAHS3ENACAAIAhJIAEgAktxDQAgDiAaSSALIAxLcQ0AIA4gHEkgByALSXENACACIAtJIAggDktxDQAgByAmaiEBIA4gHmohCyAKIB5qIQgDQCAMIBlBA3QiGkEYciIcaiIrIAwgGkEQciIVaiIsIAwgGkEIciISaiItIAwgGmoiLv0JAgD9VgIAAf1WAgAC/VYCAAMhPQJ/IAIgGUECdCIvav0AAgAgQ/2xAf36ASI+/V8iQP0MO99PjZdu9j8730+Nl272P/3yASJB/SEBIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4CyEwIAcgL2r9AAIAIUIgCiAaaiIv/QwAAAAAAAAAAAAAAAAAAAAAID0CfyBB/SEAIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C/0RIDD9HAECfyA+ID79DQgJCgsMDQ4PAAECAwABAgP9XyJB/Qw730+Nl272PzvfT42XbvY//fIBIj79IQAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgL/RwCAn8gPv0hASIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAv9HAMiRP2uASI+ID/9tgEgPv0MAAAAAAAAAAAAAAAAAAAAAP05/VIiPv1aAgAAIAogEmoiMCA+/VoCAAEgCiAVaiIyID79WgIAAiAKIBxqIjMgPv1aAgADAn8gQiBD/bEB/foBIj79XyJC/QxqvHSTGATWP2q8dJMYBNY//fIBIED9DAwCK4cW2eY/DAIrhxbZ5j/98gH98AEiQP0hASIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAshMSAAIBpqIjT9DAAAAAAAAAAAAAAAAAAAAAAgPQJ/IED9IQAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgL/REgMf0cAQJ/ID79DAAAAAAAAAAAAAAAAAAAAAD9DQgJCgsMDQ4PAAECAwABAgP9XyJA/QxqvHSTGATWP2q8dJMYBNY//fIBIEH9DAwCK4cW2eY/DAIrhxbZ5j/98gH98AEiPv0hACIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAv9HAICfyA+/SEBIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C/0cAyJB/bEBIj4gP/22ASA+/QwAAAAAAAAAAAAAAAAAAAAA/Tn9UiI+/VoCAAAgACASaiIxID79WgIAASAAIBVqIjUgPv1aAgACIAAgHGoiNiA+/VoCAAMCfyBC/QwnMQisHFr8PycxCKwcWvw//fIBIj79IQEiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLITcgDiAaaiIa/QwAAAAAAAAAAAAAAAAAAAAAID0CfyA+/SEAIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C/0RIDf9HAECfyBA/QwnMQisHFr8PycxCKwcWvw//fIBIj39IQAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgL/RwCAn8gPf0hASIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAv9HAMiQP2uASI9ID/9tgEgPf0MAAAAAAAAAAAAAAAAAAAAAP05/VIiPf1aAgAAIA4gEmoiEiA9/VoCAAEgDiAVaiIVID39WgIAAiAOIBxqIhwgPf1aAgADIC/9DAAAAAAAAAAAAAAAAAAAAAAgK0EEaiAsQQRqIC1BBGogLv0JAgT9VgIAAf1WAgAC/VYCAAMiPiBE/a4BIj0gP/22ASA9/QwAAAAAAAAAAAAAAAAAAAAA/Tn9UiI9/VoCBAAgMCA9/VoCBAEgMiA9/VoCBAIgMyA9/VoCBAMgNP0MAAAAAAAAAAAAAAAAAAAAACA+IEH9sQEiPSA//bYBID39DAAAAAAAAAAAAAAAAAAAAAD9Of1SIj39WgIEACAxID39WgIEASA1ID39WgIEAiA2ID39WgIEAyAa/QwAAAAAAAAAAAAAAAAAAAAAID4gQP2uASI9ID/9tgEgPf0MAAAAAAAAAAAAAAAAAAAAAP05/VIiPf1aAgQAIBIgPf1aAgQBIBUgPf1aAgQCIBwgPf1aAgQDIBlBBGoiGSAbRw0ACyACICZqIQIgDCAeaiEMIAAgHmohACAQIRkgJCAbICNGDQIaDAELIAohCCAOIQsgByEBCwNAIAEoAgAhDiAIAn8gAigCACAUa7K7IgVEO99PjZdu9j+iIgaZRAAAAAAAAOBBYwRAIAaqDAELQYCAgIB4CyAMKAIAIgpqIgcgESAHIBFIG0EAIAdBAE4bNgIAIAAgCgJ/IA4gFGuyuyIGRGq8dJMYBNY/oiAFRAwCK4cW2eY/oqAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLayIHIBEgByARSBtBACAHQQBOGzYCACALAn8gBkQnMQisHFr8P6IiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLIApqIgogESAKIBFIG0EAIApBAE4bNgIAIAEoAgAhDiAIAn8gAigCACAUa7K7IgVEO99PjZdu9j+iIgaZRAAAAAAAAOBBYwRAIAaqDAELQYCAgIB4CyAMKAIEIgpqIgcgESAHIBFIG0EAIAdBAE4bNgIEIAAgCgJ/IA4gFGuyuyIGRGq8dJMYBNY/oiAFRAwCK4cW2eY/oqAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLayIHIBEgByARSBtBACAHQQBOGzYCBCALAn8gBkQnMQisHFr8P6IiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgLIApqIgogESAKIBFIG0EAIApBAE4bNgIEIAJBBGohAiABQQRqIQEgC0EIaiELIABBCGohACAIQQhqIQggDEEIaiEMIBlBAmoiGSAdSQ0ACyAkCyAiTwRAIAEhByAIIQogCwwBCyABKAIAIQ4gCAJ/IAIoAgAgFGuyuyIFRDvfT42XbvY/oiIGmUQAAAAAAADgQWMEQCAGqgwBC0GAgICAeAsgDCgCACIKaiIHIBEgByARSBtBACAHQQBOGzYCACAAIAoCfyAOIBRrsrsiBkRqvHSTGATWP6IgBUQMAiuHFtnmP6KgIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C2siByARIAcgEUgbQQAgB0EAThs2AgAgCwJ/IAZEJzEIrBxa/D+iIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4CyAKaiIKIBEgCiARSBtBACAKQQBOGzYCACACQQRqIQIgAUEEaiEHIABBBGohACAIQQRqIQogDEEEaiEMIAtBBGoLIQ4gE0EBaiITIBZHDQALCyANKAIYKAIsEBAgDSgCGCIAIA82AiwgACgCYBAQIA0oAhgiACAXNgJgIAAoApQBEBAgDSgCGCIAIAk2ApQBIAAgAP0AAgAiP/0LAmggACA//QsCNCANQQE2AhRBACEZDAYLIAEoAmhBAUcNACABKAIEQQFHDQAgASgCOEEBRw0AIAEoAmxBAUcNACABKAIYIQIgASgClAEhCCABKAJgIQwgASgCLCEAIAEoAgwgASgCCGwiF0ECdCIBEBghByABEBghDyABEBghDgJAIAdFDQAgD0UNACAORQ0AIBdFDQRBfyACdEF/cyEZQQEgAkEBa3QhESAXQQhJDQIgDyAHa0EQSQ0CIA4gB2tBEEkNAiAHIABrQRBJDQIgByAMa0EQSQ0CIAcgCGtBEEkNAiAOIA9rQRBJDQIgDyAAa0EQSQ0CIA8gDGtBEEkNAiAPIAhrQRBJDQIgDiAAa0EQSQ0CIA4gDGtBEEkNAiAOIAhrQRBJDQIgCCAXQXxxIgpBAnQiCWohCyAJIA5qIQEgByAJaiECIBn9ESE/IBH9ESE9A0ACfyAIIBNBAnQiEGr9AAIAID39sQH9+gEiPv1fIkD9DDvfT42XbvY/O99PjZdu9j/98gEiQf0hASIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAshFCAMIBBq/QACACFCIAcgEGr9DAAAAAAAAAAAAAAAAAAAAAAgACAQav0AAgAiQwJ/IEH9IQAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgL/REgFP0cAQJ/ID4gPv0NCAkKCwwNDg8AAQIDAAECA/1fIj79DDvfT42XbvY/O99PjZdu9j/98gEiQf0hACIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAv9HAICfyBB/SEBIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C/0cA/2uASJBID/9tgEgQf0MAAAAAAAAAAAAAAAAAAAAAP05/VL9CwIAAn8gQiA9/bEB/foBIkH9XyJC/QxqvHSTGATWP2q8dJMYBNY//fIBIED9DAwCK4cW2eY/DAIrhxbZ5j/98gH98AEiQP0hASIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAshFCAPIBBq/QwAAAAAAAAAAAAAAAAAAAAAIEMCfyBA/SEAIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C/0RIBT9HAECfyBB/QwAAAAAAAAAAAAAAAAAAAAA/Q0ICQoLDA0ODwABAgMAAQID/V8iQP0Marx0kxgE1j9qvHSTGATWP/3yASA+/QwMAiuHFtnmPwwCK4cW2eY//fIB/fABIj79IQAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgL/RwCAn8gPv0hASIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAv9HAP9sQEiPiA//bYBID79DAAAAAAAAAAAAAAAAAAAAAD9Of1S/QsCAAJ/IEL9DCcxCKwcWvw/JzEIrBxa/D/98gEiPv0hASIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAshFCAOIBBq/QwAAAAAAAAAAAAAAAAAAAAAIEMCfyA+/SEAIgWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4C/0RIBT9HAECfyBA/QwnMQisHFr8PycxCKwcWvw//fIBIj79IQAiBZlEAAAAAAAA4EFjBEAgBaoMAQtBgICAgHgL/RwCAn8gPv0hASIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAv9HAP9rgEiPiA//bYBID79DAAAAAAAAAAAAAAAAAAAAAD9Of1S/QsCACATQQRqIhMgCkcNAAsgCiAXRg0EIAkgDGohDCAAIAlqIQAgCSAPagwDCyAHEBAgDxAQIA4QEAwFCyAYQbkDNgIEIBhBuAo2AgBB6MQBQcI+IBgQFgwECyAHIQIgDiEBIAghCyAPCyEIA0AgDCgCACETIAICfyALKAIAIBFrsrsiBUQ730+Nl272P6IiBplEAAAAAAAA4EFjBEAgBqoMAQtBgICAgHgLIAAoAgAiCWoiECAZIBAgGUgbQQAgEEEAThs2AgAgCCAJAn8gEyARa7K7IgZEarx0kxgE1j+iIAVEDAIrhxbZ5j+ioCIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAtrIhAgGSAQIBlIG0EAIBBBAE4bNgIAIAECfyAGRCcxCKwcWvw/oiIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAsgCWoiCSAZIAkgGUgbQQAgCUEAThs2AgAgAUEEaiEBIAhBBGohCCACQQRqIQIgC0EEaiELIAxBBGohDCAAQQRqIQAgCkEBaiIKIBdHDQALCyANKAIYKAIsEBAgDSgCGCIAIAc2AiwgACgCYBAQIA0oAhgiACAPNgJgIAAoApQBEBAgDSgCGCAONgKUASANQQE2AhRBACEZDAELIA8QECAXEBAgCRAQCyAYKAIgIQACQCADDQAgIUUNACAAKAIYIQ5BACETA0AgDiATQTRsaiIDKAIYIgJBCEcEQAJAIAJBB00EQCADKAIMIAMoAghsIQEgAygCLCEKIAMoAiAEQCABRQ0CQQEgAkEBa3StIUVBACEHIAFBBE8EQCABQXxxIQcgRf0SIT9BACEMA0AgCiAMQQJ0aiICIAL9AAIAIj39xwFBB/3LASI+/R0AID/9HQAiRn/9EiA+/R0BID/9HQEiR3/9HgEgPSA//Q0ICQoLDA0ODwABAgMAAQID/ccBQQf9ywEiPf0dACBGf/0SID39HQEgR3/9HgH9DQABAgMICQoLEBESExgZGhv9CwIAIAxBBGoiDCAHRw0ACyABIAdGDQMLA0AgCiAHQQJ0aiICIAI0AgBCB4YgRX8+AgAgB0EBaiIHIAFHDQALDAILIAFFDQFBfyACdEF/c60hRUEAIQcgAUEETwRAIAFBfHEhByBF/RIhP0EAIQwDQCAKIAxBAnRqIgIgAv0AAgAiPf3JAf0M/wAAAAAAAAD/AAAAAAAAAP3VASI+/R0AID/9HQAiRoD9EiA+/R0BID/9HQEiR4D9HgEgPSA//Q0ICQoLDA0ODwABAgMAAQID/ckB/Qz/AAAAAAAAAP8AAAAAAAAA/dUBIj39HQAgRoD9EiA9/R0BIEeA/R4B/Q0AAQIDCAkKCxAREhMYGRob/QsCACAMQQRqIgwgB0cNAAsgASAHRg0CCwNAIAogB0ECdGoiAiACNQIAQv8BfiBFgD4CACAHQQFqIgcgAUcNAAsMAQsgAkEIayEKIAMoAgwgAygCCGwhASADKAIsIQggAygCIARAIAFFDQFBACEHIAFBBE8EQCABQXxxIQdBACECA0AgCCACQQJ0aiILIAv9AAIAIAr9rAH9CwIAIAJBBGoiAiAHRw0ACyABIAdGDQILA0AgCCAHQQJ0aiICIAIoAgAgCnU2AgAgB0EBaiIHIAFHDQALDAELIAFFDQBBACEHIAFBBE8EQCABQXxxIQdBACECA0AgCCACQQJ0aiILIAv9AAIAIAr9rQH9CwIAIAJBBGoiAiAHRw0ACyABIAdGDQELA0AgCCAHQQJ0aiICIAIoAgAgCnY2AgAgB0EBaiIHIAFHDQALCyADQQg2AhgLIBNBAWoiEyAhRw0ACwsgACgCDCAAKAIIbCEBAkAgGUUEQCAAKAIUQQJGBEAgACgCEEEBRgRAIAAoAhgoAiwgARAODAMLIARFDQIgACgCGCIAKAIsIAAoAmAgARAIDAILIAAoAhgiACgCLCAAKAJgIAAoApQBIAEQBwwBCwJAAkACQCAhQQFrDgQAAwECAwsgACgCGCgCLCABEAYMAgsgACgCGCIAKAIsIAAoAmAgACgClAEgARAFDAELIAAoAhgiACgCLCAAKAJgIAAoApQBIAAoAsgBIAEQBAsgGCgCIBAhQQAhDAsgGEHgwABqJAAgDAsIAEEIIAAQJQurAgICfgJ/Qn8hAyAALQBEQQhxRQRAIAAgACgCICIGNgIkAkACQAJAIAAgACgCMCIFBH8DQCAGIAUgACgCACAAKAIUEQAAIgVBf0YNAiAAIAAoAiQgBWoiBjYCJCAAIAAoAjAgBWsiBTYCMCAFDQALIAAoAiAFIAYLNgIkIAFCAFUNAUIAIQMMAgsgACAAKAJEQQhyNgJEIAJBBEGB9QBBABAPIABBADYCMCAAIAAoAkRBCHI2AkRCfw8LQgAhAwNAIAEgACgCACAAKAIYEQsAIgRCf1EEQCACQQRB8vQAQQAQDyAAIAAoAkRBCHI2AkQgACAAKQM4IAN8NwM4Qn8gAyADUBsPCyADIAR8IQMgASAEfSIBQgBVDQALCyAAIAApAzggA3w3AzgLIAMLIwEBfyABIAEoAgAgASgCCCIBIACnIgIgASACSRtqNgIEQQELPAICfwF+IAEoAgAgASgCCGoiAyABKAIEIgJGBEBCfw8LIAEgAiAAp2o2AgQgAyACa6wiBCAAIAAgBFUbC5gDAgJ+An8gACgCMCIFIAGnIgZPBEAgACAFIAZrNgIwIAAgACgCJCAGajYCJCAAIAApAzggAXw3AzggAQ8LIAAtAERBBHEEQCAAQQA2AjAgACAAKAIkIAVqNgIkIAAgBa0iASAAKQM4fDcDOCABQn8gBRsPCwJAIAVFBEAMAQsgAEEANgIwIAAgACgCIDYCJCABIAWtIgN9IQELIAFCAFUEQANAIAApAwggACkDOCABIAN8fFQEQCACQQRBm/UAQQAQDyAAQQA2AjAgACAAKAIgNgIkIAAgACkDOCADfCIDNwM4IAApAwgiASADfSEEIAEgACgCACAAKAIcEQoAIQUgACgCRCECIAAgBQR/IAAgATcDOCACQXtxBSACC0EEcjYCREJ/IAQgASADURsPCyABIAAoAgAgACgCGBELACIEQn9RBEAgAkEEQZv1AEEAEA8gACAAKAJEQQRyNgJEIAAgACkDOCADfDcDOEJ/IAMgA1AbDwsgAyAEfCEDIAEgBH0iAUIAVQ0ACwsgACAAKQM4IAN8NwM4IAMLmwEBBX9BASACKAIIIgcgB0EBTRshBCACKAIEIgMgAigCAGshBgNAIAQiBUEBdCEEIAUgBmsgAUkNAAsgBSAHRwRAIAUQFCIDRQRAQX8PCyACKAIAIgQEQCADIAQgBhASGiACKAIAEBALIAIgBTYCCCACIAM2AgAgAiADIAZqIgM2AgQLIAMgACABEBIaIAIgAigCBCABajYCBCABC0YBAn8gAigCACACKAIIaiIEIAIoAgQiA0YEQEF/DwsgACADIAQgA2siACABIAAgAUkbIgAQEhogAiACKAIEIABqNgIEIAALqgIBBH8jAEEQayIEJAACQCAAKAJ0DQAgAkEBTQRAIANBAUH7wgBBABAPDAELIAEgBEEMakECEBEgBCgCDCIGQf//A3EiB0UEQCADQQFBnMMAQQAQDwwBCyACIAdBBmxBAmpJBEAgA0EBQfvCAEEAEA8MAQsgBkEGbBAUIgNFDQAgAEEIEBQiAjYCdCACRQRAIAMQEAwBCyACIAM2AgAgAiAELwEMIgI7AQQgAkUEQEEBIQUMAQtBACECA0AgAUECaiAEQQxqIgVBAhARIAMgAkEGbGoiBiAEKAIMOwEAIAFBBGogBUECEBEgBiAEKAIMOwECIAFBBmoiASAFQQIQESAGIAQoAgw7AQRBASEFIAJBAWoiAiAAKAJ0LwEESQ0ACwsgBEEQaiQAIAUL8AEBBX8jAEEQayIEJAACfyAAKAJ4IgVFBEAgA0EBQc3CAEEAEA9BAAwBCyAFKAIMBEAgA0EBQdvVAEEAEA9BAAwBCyACIAUtABIiBUECdCIGSQRAIANBAUGswgBBABAPQQAMAQtBACAGEBQiAkUNABogBQRAQQAhAwNAIAEgBEEMaiIHQQIQESACIANBAnRqIgYgBCgCDDsBACABQQJqIAdBARARIAYgBCgCDDoAAiABQQNqIAdBARARIAYgBCgCDDoAAyABQQRqIQEgA0EBaiIDIAVHDQALCyAAKAJ4IAI2AgxBAQshCCAEQRBqJAAgCAvwAwEJfyMAQRBrIgUkAAJAIAJBA0kNACAAKAJ4DQAgASAFQQxqQQIQESAFLwEMIglBgQhrQf93TQRAIAUgCTYCACADQQFBtBogBRAPDAELIAFBAmogBUEMakEBEBEgBS8BDCIIRQRAIANBAUHUF0EAEA8MAQsgCEEDaiACSw0AIAggCWxBAnQQFCIHRQ0AIAgQFCIKRQRAIAcQEAwBCyAIEBQiC0UEQCAHEBAgChAQDAELQRQQFCIGRQRAIAcQECAKEBAgCxAQDAELIAFBA2ohAyAGIAo2AgggBiALNgIEIAYgCTsBECAGIAc2AgAgBSgCDCEMIAZBADYCDCAGIAw6ABIgACAGNgJ4A0AgAyAFQQxqQQEQESAEIApqIAUtAAxB/wBxQQFqOgAAIAQgC2ogBSgCDEGAAXFBB3Y6AAAgA0EBaiEDIARBAWoiBCAIRw0ACyAJRQRAQQEhBAwBC0EAIQYDQEEAIQRBACEAA0AgAkEEIAQgCmotAABBB2pBA3YiBCAEQQRPGyIEIAMgAWtqSARAQQAhBAwDCyADIAVBDGogBBARIAcgBSgCDDYCACAHQQRqIQcgAyAEaiEDIABBAWoiAEH//wNxIgQgCEkNAAtBASEEIAZBAWoiBkH//wNxIAlJDQALCyAFQRBqJAAgBAuYAQECfyMAQRBrIgUkACAAKAIYIgRB/wFHBEAgBSAENgIAIANBAkHkEyAFEA8LAkACQCACIAAoAhRGBEAgAg0BQQEhBAwCC0EAIQQgA0EBQbvsAEEAEA8MAQtBACECA0BBASEEIAEgACgCSCACQQxsakEIakEBEBEgAUEBaiEBIAJBAWoiAiAAKAIUSQ0ACwsgBUEQaiQAIAQLjgYBBn8jAEHQAGsiBCQAAkAgAkECTQRAIANBAUGb7ABBABAPDAELIAAtAHwEQCADQQRB7tIAQQAQD0EBIQYMAQtBASEGIAEgAEEoakEBEBEgAUEBaiAAQTRqQQEQESABQQJqIABBLGpBARARIAFBA2ohBQJAAkACQAJAAkAgACgCKCIHQQFrDgIAAQILIAJBBk0EQCAEIAI2AhAgA0EBQcDxACAEQRBqEA9BACEGDAULAkAgAkEHRg0AIAAoAjBBDkYNACAEIAI2AjAgA0ECQcDxACAEQTBqEA8LIAUgAEEwakEEEBEgACgCMEEORw0DQSQQFCIFRQRAQQAhBiADQQFBszxBABAPDAULIAVBDjYCACAEQQA2AkAgBEEANgI4IARBADYCSCAEQQA2AjwgBEEANgJEIARBADYCTEGw6pACIQYgBEGw6pACNgI0IAVBgIyVogQ2AgQCfyACQQdHBEAgAkEjRgRAIAFBB2ogBEHMAGpBBBARIAFBC2ogBEHIAGpBBBARIAFBD2ogBEHEAGpBBBARIAFBE2ogBEFAa0EEEBEgAUEXaiAEQTxqQQQQESABQRtqIARBOGpBBBARIAFBH2ogBEE0akEEEBEgBUEANgIEIAQoAjQhBiAEKAI4IQIgBCgCQCEDIAQoAjwhByAEKAJEIQggBCgCTCEJIAQoAkgMAgsgBCACNgIgIANBAkHk8QAgBEEgahAPC0EAIQJBACEDQQAhB0EACyEBIAUgBzYCGCAFIAg2AhAgBSAJNgIIIAUgBjYCICAFIAI2AhwgBSADNgIUIAUgATYCDCAAQQA2AnAgACAFNgJsDAMLIAAgAkEDayIBNgJwIABBASABEBMiAzYCbCADRQ0BIAJBA0wNAkEAIQIDQCAFIARBzABqQQEQESAAKAJsIAJqIAQoAkw6AAAgBUEBaiEFIAJBAWoiAiABRw0ACwwCCyAHQQNJDQIgBCAHNgIAIANBBEHb9wAgBBAPDAILQQAhBiAAQQA2AnAMAQtBASEGIABBAToAfAsgBEHQAGokACAGC7QDAQN/IwBBIGsiBCQAAkAgACgCSARAIANBAkGNNUEAEA9BASECDAELIAJBDkcEQEEAIQIgA0EBQfrrAEEAEA8MAQsgASAAQRBqQQQQESABQQRqIABBDGpBBBARIAFBCGogAEEUakECEBEgACgCDCEFAkAgBAJ/IAAoAhAiBkUEQCAAKAIUDAELIAAoAhQiAiAFRQ0AGiACDQFBAAs2AgggBCAGNgIEIAQgBTYCACADQQFB3uoAIAQQD0EAIQIMAQsgAkGBgAFrQf//fk0EQEEAIQIgA0EBQYjqAEEAEA8MAQsgACACQQwQEyICNgJIIAJFBEBBACECIANBAUGt6gBBABAPDAELQQEhAiABQQpqIABBGGpBARARIAFBC2ogAEEcakEBEBEgACgCHCIFQQdHBEAgBCAFNgIQIANBBEGd+gAgBEEQahAPCyABQQxqIABBIGpBARARIAFBDWogAEEkakEBEBEgACgCACIBIAEtALwBQfsBcSAAKAIYQf8BRkECdHI6ALwBIAAoAgAiASAAKAIMNgLYASABIAAoAhA2AtwBIABBAToAhQELIARBIGokACACC7oEAQZ/IwBBEGsiBiQAAn8gAC0AZEECcUUEQCADQQFBkdQAQQAQD0EADAELIABBADYCaAJAAkACQCACBEADQCACQQdNBEAgA0EBQbkZQQAQDwwFCyABIAZBDGoiBUEEEBEgBigCDCEEIAFBBGogBUEEEBFBCCEHIAYoAgwhBQJAAkACQAJAIAQOAgEAAwsgAkEQSQRAQeEZIQQMBwsgAUEIaiAGQQhqQQQQESAGKAIIBEBByj8hBAwHCyABQQxqIAZBDGpBBBARIAYoAgwiBA0BQbIYIQQMBgsgA0EBQbIYQQAQDwwGC0EQIQcLIAQgB0kEQCADQQFBhcUAQQAQDwwFCyACIARJBEAgA0EBQb3EAEEAEA9BAAwGCwJAAkAgACABIAdqIAQgB2sgAwJ/AkACQAJAIAVB8di9mwZMBEAgBUHjxsGTBkYNASAFQebKkZsGRg0DIAVB8MK1mwZHDQVB4MABDAQLIAVB8tiNgwdGDQFBwMABIAVB8sihywZGDQMaIAVB8ti9mwZHDQRByMABDAMLQdDAAQwCC0HYwAEMAQtB6MABCygCBBEBAA0BQQAMBwsgACAAKAJoQf////8HcjYCaAtBASAIIAVB8sihywZGGyEIIAEgBGohASACIARrIgINAAsgCA0BCyADQQFB2cMAQQAQD0EADAMLIABBAToAhAEgACAAKAJkQQRyNgJkQQEMAgsgA0EBIARBABAPCyADQQFBng5BABAPQQALIQkgBkEQaiQAIAkL4gEBAX8gACgCZEEBRwRAIANBAUG+1ABBABAPQQAPCwJAIAJBB00EQAwBCyABIABBOGpBBBARIAFBBGogAEE8akEEEBEgAkEDcQRADAELIAAgAkEIayICQQJ2IgQ2AkACQCACRQ0AIAAgBEEEEBMiAjYCRCACRQRAIANBAUGpEEEAEA9BAA8LIAAoAkBFDQAgAUEIaiEDQQAhAgNAIAMgACgCRCACQQJ0akEEEBEgA0EEaiEDIAJBAWoiAiAAKAJASQ0ACwsgACAAKAJkQQJyNgJkQQEPCyADQQFBqi1BABAPQQALxAEBAn8gACAAKAIgIgQ2AiQCQCAAKAIwIgMEQANAIAQgAyAAKAIAIAAoAhQRAAAiA0F/Rg0CIAAgACgCJCADaiIENgIkIAAgACgCMCADayIDNgIwIAMNAAsgACgCICEECyAAQQA2AjAgACAENgIkIAEgACgCACAAKAIcEQoARQRAIAAgACgCREEIcjYCREEADwsgACABNwM4QQEPCyAAIAAoAkRBCHI2AkQgAkEEQYH1AEEAEA8gACAAKAJEQQhyNgJEQQALggEBAn8jAEEQayIEJAACfyAAKAJkBEAgA0EBQdvTAEEAEA9BAAwBCyACQQRHBEAgA0EBQc4tQQAQD0EADAELIAEgBEEMakEEEBEgBCgCDEGKjqroAEcEQCADQQFB9iVBABAPQQAMAQsgACAAKAJkQQFyNgJkQQELIQUgBEEQaiQAIAULDQAgACgCACABIAIQRQsJACAAKAIAEEoLCQAgACgCABBJCw0AIAAoAgAgASACEEwLQQEBfyACBH8gA0ECQdvLAEEAEA8gACgCACABIAIgAyAEEEZFBEAgA0EBQakvQQAQD0EADwsgACACIAMQcQVBAAsLFQAgACgCACABIAIgAyAEIAUgBhBOCw8AIAAoAgAgASACIAMQTwsTACAAKAIAIAEgAiADIAQgBRArCx0AIAAoAgAgASACIAMgBCAFIAYgByAIIAkgChAnC+oEAQd/AkAgASgCCEE1IAMQJEUNACABKAIEIgcoAgAhBSAHKAIIIQQCQCAFBEBBASEGIAVBAUcEQCAFQX5xIQoDQAJ/QQAgBkUNABpBACABIAAgAyAEKAIAEQAARQ0AGiABIAAgAyAEKAIEEQAAQQBHCyEGIARBCGohBCAJQQJqIgkgCkcNAAsLAkAgBUEBcQRAIAZFDQEgASAAIAMgBCgCABEAAEEARyEGCyAHQQA2AgAgBkUNAwwCCyAHQQA2AgBBAA8LIAdBADYCAAsgASgCCCIHKAIAIQUgBygCCCEEAkACQAJ/AkAgBQRAQQEhBiAFQQFxIQggBUEBRw0BQQAMAgsgB0EANgIADAILIAVBfnEhBUEAIQkDQAJ/QQAgBkUNABpBACABIAAgAyAEKAIAEQAARQ0AGiABIAAgAyAEKAIEEQAAQQBHCyEGIARBCGohBCAJQQJqIgkgBUcNAAsgBkULIQUgCARAIAUNAiABIAAgAyAEKAIAEQAAQQBHIQYLIAdBADYCAEEAIQggBkUNAgsgAS0AhAFFBEAgA0EBQb3WAEEAEA9BAA8LIAEtAIUBRQRAIANBAUGg1gBBABAPQQAPCyAAIAEoAgAgAiADEFAhCCACRQ0BIAIoAgAiAEUNAUEBIQQCQAJAAkACQAJAAkAgASgCMEEMaw4NAwQEBAUAAQQEBAQEAgQLQQIhBAwEC0EDIQQMAwtBBCEEDAILQQUhBAwBC0F/IQQLIAAgBDYCFCABKAJsIgNFDQEgACADNgIcIAIoAgAgASgCcDYCICABQQA2AmwgCA8LIAdBADYCAEEAIQgLIAgL5AkCCn8BfiMAQfAAayIDJABBgAghCAJ/AkBBAUGACBATIgYEQCADQdwAaiELIANB7ABqIQkDQAJAAkACQCABIANB6ABqIgRBCCACEBpBCEcNACAEIANB2ABqQQQQESAJIAtBBBARQQghBQJAAkACQAJAAkAgAygCWA4CAAEECyABKQMIIg1QBH5CAAUgDSABKQM4fQsiDUL4////D1MNASACQQFByj9BABAPDAQLIAEgA0HoAGoiBEEIIAIQGkEIRw0DIAQgA0HkAGpBBBARIAMoAmRFDQEgAkEBQco/QQAQDwwDCyADIA2nQQhqNgJYDAELIAkgA0HYAGpBBBARQRAhBQsgAygCXCIEQePkwNMGRgRAIAAoAmQiAUEEcQRAIAAgAUEIcjYCZAwCCyACQQFBrStBABAPIAYQEEEADAcLIAMoAlgiB0UEQCACQQFBshhBABAPIAYQEEEADAcLIAUgB0sEQCADIAQ2AgQgAyAHNgIAIAJBAUH65wAgAxAPDAYLAkACfwJ/AkACfwJAAkACQAJAAkAgBEHx2L2bBkwEQCAEQePGwZMGRg0CIARB5sqRmwZGDQQgBEHwwrWbBkcNAUHgwAEMBgsgBEGfwMDSBkwEQCAEQfLYvZsGRg0FQcDAASAEQfLIocsGRg0GGiAEQfDy0bMGRw0BQajAAQwICyAEQfLYjYMHRg0CIARBoMDA0gZGDQZBsMABIARB6OTA0wZGDQcaCyAAKAJkIgRBAXENCCACQQFB/A5BABAPIAYQEEEADA8LQdDAAQwDC0HYwAEMAgtB6MABDAELQcjAAQshCiADIARB/wFxNgJMIAMgBEEYdjYCQCADIARBCHZB/wFxNgJIIAMgBEEQdkH/AXE2AkQgAkECQckOIANBQGsQDyAHIAVrIgUgAC0AZEEEcQ0CGiADIAMoAlwiBEEYdjYCMCADIARB/wFxNgI8IAMgBEEQdkH/AXE2AjQgAyAEQQh2Qf8BcTYCOCACQQJB2jMgA0EwahAPIAAgACgCZEH/////B3I2AmQgASAFrSINIAIgASgCKBEIACANUQ0HIAJBAUGSHEEAEA8gBhAQQQAMCgtBoMABCyEKIAcgBWsLIQUgASkDCCINUAR+QgAFIA0gASkDOH0LIAWtUwRAIAMoAlghBCADKAJcIQAgAyABKQMIIg1QBH5CAAUgDSABKQM4fQs+AiggAyAFNgIkIAMgAEH/AXE2AiAgAyAAQRh2NgIUIAMgBDYCECADIABBCHZB/wFxNgIcIAMgAEEQdkH/AXE2AhggAkEBQc31ACADQRBqEA8MBwsgBSAITQRAIAYhBAwECyAFIQggBiAFEBciBA0DIAYQECACQQFB/w9BABAPQQAMBwsgBEECcUUEQCACQQFBwg9BABAPIAYQEEEADAcLIAAgBEH/////B3I2AmQgASAHIAVrrSINIAIgASgCKBEIACANUQ0DIAAtAGRBCHFFDQEgAkECQZIcQQAQDwsgBhAQQQEMBQsgAkEBQZIcQQAQDyAGEBBBAAwECyABIAQgBSACEBogBUcEQCACQQFBxBxBABAPIAQQEEEADAQLIAAgBCIGIAUgAiAKKAIEEQEADQALIAQQEEEADAILIAJBAUGiJUEAEA9BAAwBCyAGEBBBAAshDCADQfAAaiQAIAwL5gEBBn8gACgCCEE1IAIQJARAAkAgACgCCCIGKAIAIQMgBigCCCEFAkACQAJ/AkAgAwRAQQEhBCADQQFxIQcgA0EBRw0BQQAMAgsgBkEANgIADAILIANBfnEhAwNAAn9BACAERQ0AGkEAIAAgASACIAUoAgARAABFDQAaIAAgASACIAUoAgQRAABBAEcLIQQgBUEIaiEFIAhBAmoiCCADRw0ACyAERQshAyAHBEAgAw0CIAAgASACIAUoAgARAABBAEchBAsgBkEANgIAIARFDQILIAAoAgAaQQEPCyAGQQA2AgALC0EACwoAIAAoAgAaQQALFAAgACgCACIABEAgACABNgK4AQsLIQAgACgCACABEFMgAEEAOgB8IAAgASgCuEBBAXE2AoABCzIAIAJFBEBBAA8LIAAoAgAgASACIAMQSEUEQCADQQFBqS9BABAPQQAPCyAAIAIgAxBxC2kCAn8BfCMAQRBrIgMkACACBEADQCAAIANBCGoQRCABAn8gAysDCCIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAs2AgAgAUEEaiEBIABBCGohACAEQQFqIgQgAkcNAAsLIANBEGokAAuEAQICfwF9IwBBEGsiAyQAIAIEQANAIAMgAC0AADoADyADIAAtAAE6AA4gAyAALQACOgANIAMgAC0AAzoADCABAn8gAyoCDCIFi0MAAABPXQRAIAWoDAELQYCAgIB4CzYCACABQQRqIQEgAEEEaiEAIARBAWoiBCACRw0ACwsgA0EQaiQAC0sBAn8jAEEQayIDJAAgAgRAA0AgACADQQxqQQQQESABIAMoAgw2AgAgAUEEaiEBIABBBGohACAEQQFqIgQgAkcNAAsLIANBEGokAAtLAQJ/IwBBEGsiAyQAIAIEQANAIAAgA0EMakECEBEgASADKAIMNgIAIAFBBGohASAAQQJqIQAgBEEBaiIEIAJHDQALCyADQRBqJAALSgECfyMAQRBrIgMkACACBEADQCAAIANBCGoQRCABIAMrAwi2OAIAIAFBBGohASAAQQhqIQAgBEEBaiIEIAJHDQALCyADQRBqJAALaAECfyMAQRBrIgMkACACBEADQCADIAAtAAA6AA8gAyAALQABOgAOIAMgAC0AAjoADSADIAAtAAM6AAwgASADKgIMOAIAIAFBBGohASAAQQRqIQAgBEEBaiIEIAJHDQALCyADQRBqJAALTAECfyMAQRBrIgMkACACBEADQCAAIANBDGpBBBARIAEgAygCDLM4AgAgAUEEaiEBIABBBGohACAEQQFqIgQgAkcNAAsLIANBEGokAAtMAQJ/IwBBEGsiAyQAIAIEQANAIAAgA0EMakECEBEgASADKAIMszgCACABQQRqIQEgAEECaiEAIARBAWoiBCACRw0ACwsgA0EQaiQAC6oIAg1/AXsjAEEQayIIJAACfyAAKAIIQRBGBEAgACgCnAEgACgCzAFBjCxsagwBCyAAKAIMCyEJAkAgAkUEQCADQQFB8B9BABAPDAELIAAoAkghBkEBIQQgASAIQQhqQQEQESAIKAIIIgVBAk8EQCADQQJBxsgAQQAQDwwBCyACIAVBAWpHBEBBACEEIANBAkHwH0EAEA8MAQsCQCAGKAIQIgNFDQAgCSgC0CshBCADQQhPBEAgA0F4cSEGQQAhAgNAIARBADYCvEMgBEEANgKEOyAEQQA2AswyIARBADYClCogBEEANgLcISAEQQA2AqQZIARBADYC7BAgBEEANgK0CCAEQcDDAGohBCACQQhqIgIgBkcNAAsLIANBB3EiA0UNAEEAIQIDQCAEQQA2ArQIIARBuAhqIQQgAkEBaiICIANHDQALCyAJKALoKyICBH8gAhAQIAlBADYC6CsgCCgCCAUgBQtFBEBBASEEDAELA0AgAUEBaiIBIAhBDGpBARARAkAgCSgCgCxF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KT0ALgAobnVsbCkAKCVkLCVkKSAAJXN9CgAJCSB9CgBbREVWXSBEdW1wIGFuIGltYWdlX2NvbXBfaGVhZGVyIHN0cnVjdCB7CgBbREVWXSBEdW1wIGFuIGltYWdlX2hlYWRlciBzdHJ1Y3QgewoASW1hZ2UgaW5mbyB7CgAJIGRlZmF1bHQgdGlsZSB7CgAlcwkgY29tcG9uZW50ICVkIHsKAAkJIGNvbXAgJWQgewoACSBUaWxlIGluZGV4OiB7CgAJIE1hcmtlciBsaXN0OiB7CgBDb2Rlc3RyZWFtIGluZGV4IGZyb20gbWFpbiBoZWFkZXI6IHsKAENvZGVzdHJlYW0gaW5mbyBmcm9tIG1haW4gaGVhZGVyOiB7CgBTdHJlYW0gZXJyb3Igd2hpbGUgcmVhZGluZyBKUDIgSGVhZGVyIGJveAoARm91bmQgYSBtaXNwbGFjZWQgJyVjJWMlYyVjJyBib3ggb3V0c2lkZSBqcDJoIGJveAoATWFsZm9ybWVkIEpQMiBmaWxlIGZvcm1hdDogZmlyc3QgYm94IG11c3QgYmUgSlBFRyAyMDAwIHNpZ25hdHVyZSBib3gKAE1hbGZvcm1lZCBKUDIgZmlsZSBmb3JtYXQ6IHNlY29uZCBib3ggbXVzdCBiZSBmaWxlIHR5cGUgYm94CgBOb3QgZW5vdWdoIG1lbW9yeSB0byBoYW5kbGUganBlZzIwMDAgYm94CgBOb3QgZW5vdWdoIG1lbW9yeSB3aXRoIEZUWVAgQm94CgBBIG1hcmtlciBJRCB3YXMgZXhwZWN0ZWQgKDB4ZmYtLSkgaW5zdGVhZCBvZiAlLjh4CgAJCSBtY3Q9JXgKAAkJCSBjYmxrc3R5PSUjeAoACQkJIGNzdHk9JSN4CgAJCSBwcmc9JSN4CgBJbnRlZ2VyIG92ZXJmbG93CgAJIHRkeD0ldSwgdGR5PSV1CgAJIHR3PSV1LCB0aD0ldQoACSB0eDA9JXUsIHR5MD0ldQoASW52YWxpZCBjb21wb25lbnQgaW5kZXg6ICV1CgBTdHJlYW0gdG9vIHNob3J0CgBNYXJrZXIgaGFuZGxlciBmdW5jdGlvbiBmYWlsZWQgdG8gcmVhZCB0aGUgbWFya2VyIHNlZ21lbnQKAE5vdCBlbm91Z2ggbWVtb3J5IGZvciBjdXJyZW50IHByZWNpbmN0IGNvZGVibG9jayBlbGVtZW50CgBFcnJvciByZWFkaW5nIFNQQ29kIFNQQ29jIGVsZW1lbnQKAEVycm9yIHJlYWRpbmcgU1FjZCBvciBTUWNjIGVsZW1lbnQKAEEgQlBDQyBoZWFkZXIgYm94IGlzIGF2YWlsYWJsZSBhbHRob3VnaCBCUEMgZ2l2ZW4gYnkgdGhlIElIRFIgYm94ICglZCkgaW5kaWNhdGUgY29tcG9uZW50cyBiaXQgZGVwdGggaXMgY29uc3RhbnQKAEVycm9yIHdpdGggU0laIG1hcmtlcjogaWxsZWdhbCB0aWxlIG9mZnNldAoASW52YWxpZCBwcmVjaW5jdAoATm90IGVub3VnaCBtZW1vcnkgdG8gaGFuZGxlIGJhbmQgcHJlY2ludHMKAEZhaWxlZCB0byBkZWNvZGUgYWxsIHVzZWQgY29tcG9uZW50cwoAU2l6ZSBvZiBjb2RlIGJsb2NrIGRhdGEgZXhjZWVkcyBzeXN0ZW0gbGltaXRzCgBTaXplIG9mIHRpbGUgZGF0YSBleGNlZWRzIHN5c3RlbSBsaW1pdHMKAENhbm5vdCB0YWtlIGluIGNoYXJnZSBtdWx0aXBsZSBNQ1QgbWFya2VycwoAQ29ycnVwdGVkIFBQTSBtYXJrZXJzCgBOb3QgZW5vdWdoIG1lbW9yeSBmb3IgdGlsZSByZXNvbHV0aW9ucwoAQ2Fubm90IHRha2UgaW4gY2hhcmdlIG11bHRpcGxlIGNvbGxlY3Rpb25zCgBJbnZhbGlkIFBDTFIgYm94LiBSZXBvcnRzIDAgcGFsZXR0ZSBjb2x1bW5zCgBXZSBkbyBub3Qgc3VwcG9ydCBST0kgaW4gZGVjb2RpbmcgSFQgY29kZWJsb2NrcwoAQ2Fubm90IGhhbmRsZSBib3ggb2YgdW5kZWZpbmVkIHNpemVzCgBDYW5ub3QgdGFrZSBpbiBjaGFyZ2UgY29sbGVjdGlvbnMgd2l0aG91dCBzYW1lIG51bWJlciBvZiBpbmRpeGVzCgBJbnZhbGlkIHRpbGVjLT53aW5feHh4IHZhbHVlcwoAQ2Fubm90IGhhbmRsZSBib3ggb2YgbGVzcyB0aGFuIDggYnl0ZXMKAENhbm5vdCBoYW5kbGUgWEwgYm94IG9mIGxlc3MgdGhhbiAxNiBieXRlcwoAQ29tcG9uZW50IGluZGV4ICV1IHVzZWQgc2V2ZXJhbCB0aW1lcwoASW52YWxpZCBQQ0xSIGJveC4gUmVwb3J0cyAlZCBlbnRyaWVzCgBOb3QgZW5vdWdoIG1lbW9yeSB0byBjcmVhdGUgVGFnLXRyZWUgbm9kZXMKAENhbm5vdCB0YWtlIGluIGNoYXJnZSBtY3QgZGF0YSB3aXRoaW4gbXVsdGlwbGUgTUNUIHJlY29yZHMKAENhbm5vdCBkZWNvZGUgdGlsZSwgbWVtb3J5IGVycm9yCgBvcGpfajJrX2FwcGx5X25iX3RpbGVfcGFydHNfY29ycmVjdGlvbiBlcnJvcgoAUHJvYmxlbSB3aXRoIHNraXBwaW5nIEpQRUcyMDAwIGJveCwgc3RyZWFtIGVycm9yCgBQcm9ibGVtIHdpdGggcmVhZGluZyBKUEVHMjAwMCBib3gsIHN0cmVhbSBlcnJvcgoAVW5rbm93biBtYXJrZXIKAE5vdCBlbm91Z2ggbWVtb3J5IHRvIGFkZCB0bCBtYXJrZXIKAE5vdCBlbm91Z2ggbWVtb3J5IHRvIGFkZCBtaCBtYXJrZXIKAE5vdCBlbm91Z2ggbWVtb3J5IHRvIHRha2UgaW4gY2hhcmdlIFNJWiBtYXJrZXIKAEVycm9yIHJlYWRpbmcgUFBUIG1hcmtlcgoATm90IGVub3VnaCBtZW1vcnkgdG8gcmVhZCBQUFQgbWFya2VyCgBFcnJvciByZWFkaW5nIFNPVCBtYXJrZXIKAEVycm9yIHJlYWRpbmcgUExUIG1hcmtlcgoARXJyb3IgcmVhZGluZyBNQ1QgbWFya2VyCgBOb3QgZW5vdWdoIG1lbW9yeSB0byByZWFkIE1DVCBtYXJrZXIKAE5vdCBlbm91Z2ggc3BhY2UgZm9yIGV4cGVjdGVkIFNPUCBtYXJrZXIKAEV4cGVjdGVkIFNPUCBtYXJrZXIKAEVycm9yIHJlYWRpbmcgTUNPIG1hcmtlcgoARXJyb3IgcmVhZGluZyBSR04gbWFya2VyCgBFcnJvciByZWFkaW5nIFBQTSBtYXJrZXIKAE5vdCBlbm91Z2ggbWVtb3J5IHRvIHJlYWQgUFBNIG1hcmtlcgoARXJyb3IgcmVhZGluZyBUTE0gbWFya2VyCgBFcnJvciByZWFkaW5nIFBMTSBtYXJrZXIKAE5vdCBlbm91Z2ggc3BhY2UgZm9yIGV4cGVjdGVkIEVQSCBtYXJrZXIKAEV4cGVjdGVkIEVQSCBtYXJrZXIKAEVycm9yIHJlYWRpbmcgQ1JHIG1hcmtlcgoAVW5rbm93biBwcm9ncmVzc2lvbiBvcmRlciBpbiBDT0QgbWFya2VyCgBVbmtub3duIFNjb2QgdmFsdWUgaW4gQ09EIG1hcmtlcgoARXJyb3IgcmVhZGluZyBDT0QgbWFya2VyCgBFcnJvciByZWFkaW5nIFFDRCBtYXJrZXIKAENycm9yIHJlYWRpbmcgQ0JEIG1hcmtlcgoARXJyb3IgcmVhZGluZyBQT0MgbWFya2VyCgBFcnJvciByZWFkaW5nIENPQyBtYXJrZXIKAEVycm9yIHJlYWRpbmcgUUNDIG1hcmtlcgoARXJyb3IgcmVhZGluZyBNQ0MgbWFya2VyCgBOb3QgZW5vdWdoIG1lbW9yeSB0byByZWFkIE1DQyBtYXJrZXIKAHJlcXVpcmVkIFNJWiBtYXJrZXIgbm90IGZvdW5kIGluIG1haW4gaGVhZGVyCgByZXF1aXJlZCBDT0QgbWFya2VyIG5vdCBmb3VuZCBpbiBtYWluIGhlYWRlcgoAcmVxdWlyZWQgUUNEIG1hcmtlciBub3QgZm91bmQgaW4gbWFpbiBoZWFkZXIKAE5vdCBlbm91Z2ggbWVtb3J5IHRvIGhhbmRsZSBqcGVnMjAwMCBmaWxlIGhlYWRlcgoATm90IGVub3VnaCBtZW1vcnkgdG8gcmVhZCBoZWFkZXIKAEVycm9yIHdpdGggSlAgU2lnbmF0dXJlIDogYmFkIG1hZ2ljIG51bWJlcgoASW4gU09UIG1hcmtlciwgVFBTb3QgKCVkKSBpcyBub3QgdmFsaWQgcmVnYXJkcyB0byB0aGUgY3VycmVudCBudW1iZXIgb2YgdGlsZS1wYXJ0ICglZCksIGdpdmluZyB1cAoASW4gU09UIG1hcmtlciwgVFBTb3QgKCVkKSBpcyBub3QgdmFsaWQgcmVnYXJkcyB0byB0aGUgcHJldmlvdXMgbnVtYmVyIG9mIHRpbGUtcGFydCAoJWQpLCBnaXZpbmcgdXAKAEluIFNPVCBtYXJrZXIsIFRQU290ICglZCkgaXMgbm90IHZhbGlkIHJlZ2FyZHMgdG8gdGhlIGN1cnJlbnQgbnVtYmVyIG9mIHRpbGUtcGFydCAoaGVhZGVyKSAoJWQpLCBnaXZpbmcgdXAKAHRpbGVzIHJlcXVpcmUgYXQgbGVhc3Qgb25lIHJlc29sdXRpb24KAE1hcmtlciBpcyBub3QgY29tcGxpYW50IHdpdGggaXRzIHBvc2l0aW9uCgBQcm9ibGVtIHdpdGggc2VlayBmdW5jdGlvbgoARXJyb3IgcmVhZGluZyBTUENvZCBTUENvYyBlbGVtZW50LCBJbnZhbGlkIGNibGt3L2NibGtoIGNvbWJpbmF0aW9uCgBJbnZhbGlkIG11bHRpcGxlIGNvbXBvbmVudCB0cmFuc2Zvcm1hdGlvbgoAQ2Fubm90IHRha2UgaW4gY2hhcmdlIGNvbGxlY3Rpb25zIG90aGVyIHRoYW4gYXJyYXkgZGVjb3JyZWxhdGlvbgoAVG9vIGxhcmdlIHZhbHVlIGZvciBOcHBtCgBOb3QgZW5vdWdoIGJ5dGVzIHRvIHJlYWQgTnBwbQoAYmFkIHBsYWNlZCBqcGVnIGNvZGVzdHJlYW0KAAkgTWFpbiBoZWFkZXIgc3RhcnQgcG9zaXRpb249JWxsaQoJIE1haW4gaGVhZGVyIGVuZCBwb3NpdGlvbj0lbGxpCgBNYXJrZXIgc2l6ZSBpbmNvbnNpc3RlbnQgd2l0aCBzdHJlYW0gbGVuZ3RoCgBUaWxlIHBhcnQgbGVuZ3RoIHNpemUgaW5jb25zaXN0ZW50IHdpdGggc3RyZWFtIGxlbmd0aAoAQ2Fubm90IHRha2UgaW4gY2hhcmdlIG11bHRpcGxlIGRhdGEgc3Bhbm5pbmcKAFdyb25nIGZsYWcKAEVycm9yIHdpdGggRlRZUCBzaWduYXR1cmUgQm94IHNpemUKAEVycm9yIHdpdGggSlAgc2lnbmF0dXJlIEJveCBzaXplCgBJbnZhbGlkIHByZWNpbmN0IHNpemUKAEluY29uc2lzdGVudCBtYXJrZXIgc2l6ZQoASW52YWxpZCBtYXJrZXIgc2l6ZQoARXJyb3Igd2l0aCBTSVogbWFya2VyIHNpemUKAE5vdCBlbm91Z2ggbWVtb3J5IHRvIGFkZCBhIG5ldyB2YWxpZGF0aW9uIHByb2NlZHVyZQoATm90IGVub3VnaCBtZW1vcnkgdG8gZGVjb2RlIHRpbGUKAEZhaWxlZCB0byBkZWNvZGUgdGhlIGNvZGVzdHJlYW0gaW4gdGhlIEpQMiBmaWxlCgBDYW5ub3QgdGFrZSBpbiBjaGFyZ2UgY29sbGVjdGlvbnMgd2l0aCBpbmRpeCBzaHVmZmxlCgBDYW5ub3QgYWxsb2NhdGUgVGllciAxIGhhbmRsZQoATm8gZGVjb2RlZCBhcmVhIHBhcmFtZXRlcnMsIHNldCB0aGUgZGVjb2RlZCBhcmVhIHRvIHRoZSB3aG9sZSBpbWFnZQoATm90IGVub3VnaCBtZW1vcnkgdG8gY3JlYXRlIFRhZy10cmVlCgBOb3QgZW5vdWdoIG1lbW9yeSB0byByZWluaXRpYWxpemUgdGhlIHRhZyB0cmVlCgBFcnJvciByZWFkaW5nIFNQQ29kIFNQQ29jIGVsZW1lbnQsIEludmFsaWQgdHJhbnNmb3JtYXRpb24gZm91bmQKAEVycm9yIHJlYWRpbmcgU1BDb2QgU1BDb2MgZWxlbWVudC4gVW5zdXBwb3J0ZWQgTWl4ZWQgSFQgY29kZS1ibG9jayBzdHlsZSBmb3VuZAoAVGlsZSBZIGNvb3JkaW5hdGVzIGFyZSBub3Qgc3VwcG9ydGVkCgBUaWxlIFggY29vcmRpbmF0ZXMgYXJlIG5vdCBzdXBwb3J0ZWQKAEltYWdlIGNvb3JkaW5hdGVzIGFib3ZlIElOVF9NQVggYXJlIG5vdCBzdXBwb3J0ZWQKAEpQRUcyMDAwIEhlYWRlciBib3ggbm90IHJlYWQgeWV0LCAnJWMlYyVjJWMnIGJveCB3aWxsIGJlIGlnbm9yZWQKAG9wal9qMmtfbWVyZ2VfcHB0KCkgaGFzIGFscmVhZHkgYmVlbiBjYWxsZWQKAE5vdCBlbm91Z2ggbWVtb3J5IHRvIHJlYWQgU09UIG1hcmtlci4gVGlsZSBpbmRleCBhbGxvY2F0aW9uIGZhaWxlZAoASWdub3JpbmcgaWhkciBib3guIEZpcnN0IGloZHIgYm94IGFscmVhZHkgcmVhZAoAWnBwdCAldSBhbHJlYWR5IHJlYWQKAFpwcG0gJXUgYWxyZWFkeSByZWFkCgBQVEVSTSBjaGVjayBmYWlsdXJlOiAlZCBzeW50aGV0aXplZCAweEZGIG1hcmtlcnMgcmVhZAoACQkJIGNibGt3PTJeJWQKAAkJCSBjYmxraD0yXiVkCgAJCQkgcW50c3R5PSVkCgAlcyBkeD0lZCwgZHk9JWQKAAkJCSByb2lzaGlmdD0lZAoACQkJIG51bWdiaXRzPSVkCgAJCSBudW1sYXllcnM9JWQKACVzIG51bWNvbXBzPSVkCgBvcGpfanAyX2FwcGx5X2NkZWY6IGFjbj0lZCwgbnVtY29tcHM9JWQKAG9wal9qcDJfYXBwbHlfY2RlZjogY249JWQsIG51bWNvbXBzPSVkCgAJCQkgbnVtcmVzb2x1dGlvbnM9JWQKAAkJIHR5cGU9JSN4LCBwb3M9JWxsaSwgbGVuPSVkCgAlcyBzZ25kPSVkCgAJCQkgcW1mYmlkPSVkCgAlcyBwcmVjPSVkCgAJCSBuYiBvZiB0aWxlLXBhcnQgaW4gdGlsZSBbJWRdPSVkCgAlcyB4MT0lZCwgeTE9JWQKACVzIHgwPSVkLCB5MD0lZAoARmFpbGVkIHRvIGRlY29kZSB0aWxlICVkLyVkCgBTZXR0aW5nIGRlY29kaW5nIGFyZWEgdG8gJWQsJWQsJWQsJWQKAEZhaWxlZCB0byBkZWNvZGUgY29tcG9uZW50ICVkCgBJbnZhbGlkIHZhbHVlIGZvciBudW1yZXNvbHV0aW9ucyA6ICVkLCBtYXggdmFsdWUgaXMgc2V0IGluIG9wZW5qcGVnLmggYXQgJWQKAEludmFsaWQgY29tcG9uZW50IG51bWJlcjogJWQsIHJlZ2FyZGluZyB0aGUgbnVtYmVyIG9mIGNvbXBvbmVudHMgJWQKAFRvbyBtYW55IFBPQ3MgJWQKAEludmFsaWQgdGlsZSBudW1iZXIgJWQKAEludmFsaWQgdGlsZSBwYXJ0IGluZGV4IGZvciB0aWxlIG51bWJlciAlZC4gR290ICVkLCBleHBlY3RlZCAlZAoARXJyb3Igd2l0aCBTSVogbWFya2VyOiBudW1iZXIgb2YgY29tcG9uZW50IGlzIGlsbGVnYWwgLT4gJWQKAE5vdCBlbm91Z2ggbWVtb3J5IGZvciBjaWVsYWIKAENhbm5vdCBhbGxvY2F0ZSBjYmxrLT5kZWNvZGVkX2RhdGEKAEZhaWxlZCB0byBtZXJnZSBQUFQgZGF0YQoARmFpbGVkIHRvIG1lcmdlIFBQTSBkYXRhCgBJbnZhbGlkIG51bWJlciBvZiBsYXllcnMgaW4gQ09EIG1hcmtlciA6ICVkIG5vdCBpbiByYW5nZSBbMS02NTUzNV0KACVzOiVkOmNvbG9yX2NteWtfdG9fcmdiCglDQU4gTk9UIENPTlZFUlQKACVzOiVkOmNvbG9yX2VzeWNjX3RvX3JnYgoJQ0FOIE5PVCBDT05WRVJUCgAlczolZDpjb2xvcl9zeWNjX3RvX3JnYgoJQ0FOIE5PVCBDT05WRVJUCgBTdHJlYW0gdG9vIHNob3J0LCBleHBlY3RlZCBTT1QKAFVuYWJsZSB0byBzZXQgdDEgaGFuZGxlIGFzIFRMUwoAU3RyZWFtIGRvZXMgbm90IGVuZCB3aXRoIEVPQwoAQ2Fubm90IGhhbmRsZSBib3ggc2l6ZXMgaGlnaGVyIHRoYW4gMl4zMgoAb3BqX3BpX25leHRfbHJjcCgpOiBpbnZhbGlkIGNvbXBubzAvY29tcG5vMQoAb3BqX3BpX25leHRfcmxjcCgpOiBpbnZhbGlkIGNvbXBubzAvY29tcG5vMQoAb3BqX3BpX25leHRfY3BybCgpOiBpbnZhbGlkIGNvbXBubzAvY29tcG5vMQoAb3BqX3BpX25leHRfcGNybCgpOiBpbnZhbGlkIGNvbXBubzAvY29tcG5vMQoAb3BqX3BpX25leHRfcnBjbCgpOiBpbnZhbGlkIGNvbXBubzAvY29tcG5vMQoAb3BqX3QxX2RlY29kZV9jYmxrKCk6IHVuc3VwcG9ydGVkIGJwbm9fcGx1c19vbmUgPSAlZCA+PSAzMQoARmFpbGVkIHRvIGRlY29kZSB0aWxlIDEvMQoASW5zdWZmaWNpZW50IGRhdGEgZm9yIENNQVAgYm94LgoATmVlZCB0byByZWFkIGEgUENMUiBib3ggYmVmb3JlIHRoZSBDTUFQIGJveC4KAEluc3VmZmljaWVudCBkYXRhIGZvciBDREVGIGJveC4KAE51bWJlciBvZiBjaGFubmVsIGRlc2NyaXB0aW9uIGlzIGVxdWFsIHRvIHplcm8gaW4gQ0RFRiBib3guCgBTdHJlYW0gZXJyb3Igd2hpbGUgcmVhZGluZyBKUDIgSGVhZGVyIGJveDogbm8gJ2loZHInIGJveC4KAE5vbiBjb25mb3JtYW50IGNvZGVzdHJlYW0gVFBzb3Q9PVROc290LgoAU3RyZWFtIGVycm9yIHdoaWxlIHJlYWRpbmcgSlAyIEhlYWRlciBib3g6IGJveCBsZW5ndGggaXMgaW5jb25zaXN0ZW50LgoAQm94IGxlbmd0aCBpcyBpbmNvbnNpc3RlbnQuCgBSZXNvbHV0aW9uIGZhY3RvciBpcyBncmVhdGVyIHRoYW4gdGhlIG1heGltdW0gcmVzb2x1dGlvbiBpbiB0aGUgY29tcG9uZW50LgoAQ29tcG9uZW50IG1hcHBpbmcgc2VlbXMgd3JvbmcuIFRyeWluZyB0byBjb3JyZWN0LgoASW5jb21wbGV0ZSBjaGFubmVsIGRlZmluaXRpb25zLgoATWFsZm9ybWVkIEhUIGNvZGVibG9jay4gSW52YWxpZCBjb2RlYmxvY2sgbGVuZ3RoIHZhbHVlcy4KAFdlIGRvIG5vdCBzdXBwb3J0IG1vcmUgdGhhbiAzIGNvZGluZyBwYXNzZXMgaW4gYW4gSFQgY29kZWJsb2NrOyBUaGlzIGNvZGVibG9ja3MgaGFzICVkIHBhc3Nlcy4KAE1hbGZvcm1lZCBIVCBjb2RlYmxvY2suIERlY29kaW5nIHRoaXMgY29kZWJsb2NrIGlzIHN0b3BwZWQuIFRoZXJlIGFyZSAlZCB6ZXJvIGJpdHBsYW5lcyBpbiAlZCBiaXRwbGFuZXMuCgBDYW5ub3QgdGFrZSBpbiBjaGFyZ2UgbXVsdGlwbGUgdHJhbnNmb3JtYXRpb24gc3RhZ2VzLgoAVW5rbm93biBtYXJrZXIgaGFzIGJlZW4gZGV0ZWN0ZWQgYW5kIGdlbmVyYXRlZCBlcnJvci4KAENvZGVjIHByb3ZpZGVkIHRvIHRoZSBvcGpfc2V0dXBfZGVjb2RlciBmdW5jdGlvbiBpcyBub3QgYSBkZWNvbXByZXNzb3IgaGFuZGxlci4KAENvZGVjIHByb3ZpZGVkIHRvIHRoZSBvcGpfcmVhZF9oZWFkZXIgZnVuY3Rpb24gaXMgbm90IGEgZGVjb21wcmVzc29yIGhhbmRsZXIuCgBUaWxlcyBkb24ndCBhbGwgaGF2ZSB0aGUgc2FtZSBkaW1lbnNpb24uIFNraXAgdGhlIE1DVCBzdGVwLgoATnVtYmVyIG9mIGNvbXBvbmVudHMgKCVkKSBpcyBpbmNvbnNpc3RlbnQgd2l0aCBhIE1DVC4gU2tpcCB0aGUgTUNUIHN0ZXAuCgBKUDIgYm94IHdoaWNoIGFyZSBhZnRlciB0aGUgY29kZXN0cmVhbSB3aWxsIG5vdCBiZSByZWFkIGJ5IHRoaXMgZnVuY3Rpb24uCgBNYWxmb3JtZWQgSFQgY29kZWJsb2NrLiBXaGVuIHRoZSBudW1iZXIgb2YgemVybyBwbGFuZXMgYml0cGxhbmVzIGlzIGVxdWFsIHRvIHRoZSBudW1iZXIgb2YgYml0cGxhbmVzLCBvbmx5IHRoZSBjbGVhbnVwIHBhc3MgbWFrZXMgc2Vuc2UsIGJ1dCB3ZSBoYXZlICVkIHBhc3NlcyBpbiB0aGlzIGNvZGVibG9jay4gVGhlcmVmb3JlLCBvbmx5IHRoZSBjbGVhbnVwIHBhc3Mgd2lsbCBiZSBkZWNvZGVkLiBUaGlzIG1lc3NhZ2Ugd2lsbCBub3QgYmUgZGlzcGxheWVkIGFnYWluLgoASW1hZ2UgaGFzIGxlc3MgY29tcG9uZW50cyB0aGFuIGNvZGVzdHJlYW0uCgBOZWVkIHRvIGRlY29kZSB0aGUgbWFpbiBoZWFkZXIgYmVmb3JlIGJlZ2luIHRvIGRlY29kZSB0aGUgcmVtYWluaW5nIGNvZGVzdHJlYW0uCgBQc290IHZhbHVlIG9mIHRoZSBjdXJyZW50IHRpbGUtcGFydCBpcyBlcXVhbCB0byB6ZXJvLCB3ZSBhc3N1bWluZyBpdCBpcyB0aGUgbGFzdCB0aWxlLXBhcnQgb2YgdGhlIGNvZGVzdHJlYW0uCgBBIG1hbGZvcm1lZCBjb2RlYmxvY2sgdGhhdCBoYXMgbW9yZSB0aGFuIG9uZSBjb2RpbmcgcGFzcywgYnV0IHplcm8gbGVuZ3RoIGZvciAybmQgYW5kIHBvdGVudGlhbGx5IHRoZSAzcmQgcGFzcyBpbiBhbiBIVCBjb2RlYmxvY2suCgAJCQkgdGlsZS1wYXJ0WyVkXTogc3Rhcl9wb3M9JWxsaSwgZW5kX2hlYWRlcj0lbGxpLCBlbmRfcG9zPSVsbGkuCgBUaWxlICV1IGhhcyBUUHNvdCA9PSAwIGFuZCBUTnNvdCA9PSAwLCBidXQgbm8gb3RoZXIgdGlsZS1wYXJ0cyB3ZXJlIGZvdW5kLiBFT0MgaXMgYWxzbyBtaXNzaW5nLgoAQ29tcG9uZW50ICVkIGRvZXNuJ3QgaGF2ZSBhIG1hcHBpbmcuCgBBIGNvbmZvcm1pbmcgSlAyIHJlYWRlciBzaGFsbCBpZ25vcmUgYWxsIENvbG91ciBTcGVjaWZpY2F0aW9uIGJveGVzIGFmdGVyIHRoZSBmaXJzdCwgc28gd2UgaWdub3JlIHRoaXMgb25lLgoAVGhlIHNpZ25hdHVyZSBib3ggbXVzdCBiZSB0aGUgZmlyc3QgYm94IGluIHRoZSBmaWxlLgoAVGhlICBib3ggbXVzdCBiZSB0aGUgZmlyc3QgYm94IGluIHRoZSBmaWxlLgoAVGhlIGZ0eXAgYm94IG11c3QgYmUgdGhlIHNlY29uZCBib3ggaW4gdGhlIGZpbGUuCgBGYWlsZWQgdG8gZGVjb2RlLgoATWFsZm9ybWVkIEhUIGNvZGVibG9jay4gSW5jb3JyZWN0IE1FTCBzZWdtZW50IHNlcXVlbmNlLgoAQ29tcG9uZW50ICVkIGlzIG1hcHBlZCB0d2ljZS4KAE9ubHkgb25lIENNQVAgYm94IGlzIGFsbG93ZWQuCgBXZSBuZWVkIGFuIGltYWdlIHByZXZpb3VzbHkgY3JlYXRlZC4KAElIRFIgYm94X21pc3NpbmcuIFJlcXVpcmVkLgoASlAySCBib3ggbWlzc2luZy4gUmVxdWlyZWQuCgBOb3Qgc3VyZSBob3cgdGhhdCBoYXBwZW5lZC4KAE1haW4gaGVhZGVyIGhhcyBiZWVuIGNvcnJlY3RseSBkZWNvZGVkLgoAVGlsZSAlZC8lZCBoYXMgYmVlbiBkZWNvZGVkLgoASGVhZGVyIG9mIHRpbGUgJWQgLyAlZCBoYXMgYmVlbiByZWFkLgoARW1wdHkgU09UIG1hcmtlciBkZXRlY3RlZDogUHNvdD0lZC4KAERpcmVjdCB1c2UgYXQgIyVkIGhvd2V2ZXIgcGNvbD0lZC4KAEltcGxlbWVudGF0aW9uIGxpbWl0YXRpb246IGZvciBwYWxldHRlIG1hcHBpbmcsIHBjb2xbJWRdIHNob3VsZCBiZSBlcXVhbCB0byAlZCwgYnV0IGlzIGVxdWFsIHRvICVkLgoASW52YWxpZCBjb21wb25lbnQvcGFsZXR0ZSBpbmRleCBmb3IgZGlyZWN0IG1hcHBpbmcgJWQuCgBJbnZhbGlkIHZhbHVlIGZvciBjbWFwWyVkXS5tdHlwID0gJWQuCgBQc290IHZhbHVlIGlzIG5vdCBjb3JyZWN0IHJlZ2FyZHMgdG8gdGhlIEpQRUcyMDAwIG5vcm06ICVkLgoATWFsZm9ybWVkIEhUIGNvZGVibG9jay4gVkxDIGNvZGUgcHJvZHVjZXMgc2lnbmlmaWNhbnQgc2FtcGxlcyBvdXRzaWRlIHRoZSBjb2RlYmxvY2sgYXJlYS4KAFVuZXhwZWN0ZWQgT09NLgoAMzIgYml0cyBhcmUgbm90IGVub3VnaCB0byBkZWNvZGUgdGhpcyBjb2RlYmxvY2ssIHNpbmNlIHRoZSBudW1iZXIgb2YgYml0cGxhbmUsICVkLCBpcyBsYXJnZXIgdGhhbiAzMC4KAEJvdHRvbSBwb3NpdGlvbiBvZiB0aGUgZGVjb2RlZCBhcmVhIChyZWdpb25feTE9JWQpIHNob3VsZCBiZSA+IDAuCgBSaWdodCBwb3NpdGlvbiBvZiB0aGUgZGVjb2RlZCBhcmVhIChyZWdpb25feDE9JWQpIHNob3VsZCBiZSA+IDAuCgBVcCBwb3NpdGlvbiBvZiB0aGUgZGVjb2RlZCBhcmVhIChyZWdpb25feTA9JWQpIHNob3VsZCBiZSA+PSAwLgoATGVmdCBwb3NpdGlvbiBvZiB0aGUgZGVjb2RlZCBhcmVhIChyZWdpb25feDA9JWQpIHNob3VsZCBiZSA+PSAwLgoARXJyb3IgcmVhZGluZyBQUFQgbWFya2VyOiBwYWNrZXQgaGVhZGVyIGhhdmUgYmVlbiBwcmV2aW91c2x5IGZvdW5kIGluIHRoZSBtYWluIGhlYWRlciAoUFBNIG1hcmtlcikuCgBTdGFydCB0byByZWFkIGoyayBtYWluIGhlYWRlciAoJWxsZCkuCgBCb3R0b20gcG9zaXRpb24gb2YgdGhlIGRlY29kZWQgYXJlYSAocmVnaW9uX3kxPSVkKSBpcyBvdXRzaWRlIHRoZSBpbWFnZSBhcmVhIChZc2l6PSVkKS4KAFVwIHBvc2l0aW9uIG9mIHRoZSBkZWNvZGVkIGFyZWEgKHJlZ2lvbl95MD0lZCkgaXMgb3V0c2lkZSB0aGUgaW1hZ2UgYXJlYSAoWXNpej0lZCkuCgBSaWdodCBwb3NpdGlvbiBvZiB0aGUgZGVjb2RlZCBhcmVhIChyZWdpb25feDE9JWQpIGlzIG91dHNpZGUgdGhlIGltYWdlIGFyZWEgKFhzaXo9JWQpLgoATGVmdCBwb3NpdGlvbiBvZiB0aGUgZGVjb2RlZCBhcmVhIChyZWdpb25feDA9JWQpIGlzIG91dHNpZGUgdGhlIGltYWdlIGFyZWEgKFhzaXo9JWQpLgoAQm90dG9tIHBvc2l0aW9uIG9mIHRoZSBkZWNvZGVkIGFyZWEgKHJlZ2lvbl95MT0lZCkgaXMgb3V0c2lkZSB0aGUgaW1hZ2UgYXJlYSAoWU9zaXo9JWQpLgoAVXAgcG9zaXRpb24gb2YgdGhlIGRlY29kZWQgYXJlYSAocmVnaW9uX3kwPSVkKSBpcyBvdXRzaWRlIHRoZSBpbWFnZSBhcmVhIChZT3Npej0lZCkuCgBSaWdodCBwb3NpdGlvbiBvZiB0aGUgZGVjb2RlZCBhcmVhIChyZWdpb25feDE9JWQpIGlzIG91dHNpZGUgdGhlIGltYWdlIGFyZWEgKFhPc2l6PSVkKS4KAExlZnQgcG9zaXRpb24gb2YgdGhlIGRlY29kZWQgYXJlYSAocmVnaW9uX3gwPSVkKSBpcyBvdXRzaWRlIHRoZSBpbWFnZSBhcmVhIChYT3Npej0lZCkuCgBTaXplIHggb2YgdGhlIGRlY29kZWQgY29tcG9uZW50IGltYWdlIGlzIGluY29ycmVjdCAoY29tcFslZF0udz0lZCkuCgBTaXplIHkgb2YgdGhlIGRlY29kZWQgY29tcG9uZW50IGltYWdlIGlzIGluY29ycmVjdCAoY29tcFslZF0uaD0lZCkuCgBUaWxlIHJlYWQsIGRlY29kZWQgYW5kIHVwZGF0ZWQgaXMgbm90IHRoZSBkZXNpcmVkIG9uZSAoJWQgdnMgJWQpLgoASW52YWxpZCBjb21wb25lbnQgaW5kZXggJWQgKD49ICVkKS4KAG9wal9yZWFkX2hlYWRlcigpIHNob3VsZCBiZSBjYWxsZWQgYmVmb3JlIG9wal9zZXRfZGVjb2RlZF9jb21wb25lbnRzKCkuCgBNZW1vcnkgYWxsb2NhdGlvbiBmYWlsdXJlIGluIG9wal9qcDJfYXBwbHlfcGNscigpLgoAaW1hZ2UtPmNvbXBzWyVkXS5kYXRhID09IE5VTEwgaW4gb3BqX2pwMl9hcHBseV9wY2xyKCkuCgBpbnZhbGlkIGJveCBzaXplICVkICgleCkKAEZhaWwgdG8gcmVhZCB0aGUgY3VycmVudCBtYXJrZXIgc2VnbWVudCAoJSN4KQoARXJyb3Igd2l0aCBTSVogbWFya2VyOiBJSERSIHcoJXUpIGgoJXUpIHZzLiBTSVogdygldSkgaCgldSkKAEVycm9yIHJlYWRpbmcgQ09DIG1hcmtlciAoYmFkIG51bWJlciBvZiBjb21wb25lbnRzKQoASW52YWxpZCBudW1iZXIgb2YgdGlsZXMgOiAldSB4ICV1IChtYXhpbXVtIGZpeGVkIGJ5IGpwZWcyMDAwIG5vcm0gaXMgNjU1MzUgdGlsZXMpCgBJbnZhbGlkIG51bWJlciBvZiBjb21wb25lbnRzIChpaGRyKQoATm90IGVub3VnaCBtZW1vcnkgdG8gaGFuZGxlIGltYWdlIGhlYWRlciAoaWhkcikKAFdyb25nIHZhbHVlcyBmb3I6IHcoJWQpIGgoJWQpIG51bWNvbXBzKCVkKSAoaWhkcikKAEludmFsaWQgdmFsdWVzIGZvciBjb21wID0gJWQgOiBkeD0ldSBkeT0ldSAoc2hvdWxkIGJlIGJldHdlZW4gMSBhbmQgMjU1IGFjY29yZGluZyB0byB0aGUgSlBFRzIwMDAgbm9ybSkKAEJhZCBpbWFnZSBoZWFkZXIgYm94IChiYWQgc2l6ZSkKAEJhZCBDT0xSIGhlYWRlciBib3ggKGJhZCBzaXplKQoAQmFkIEJQQ0MgaGVhZGVyIGJveCAoYmFkIHNpemUpCgBFcnJvciB3aXRoIFNJWiBtYXJrZXI6IG5lZ2F0aXZlIG9yIHplcm8gaW1hZ2Ugc2l6ZSAoJWxsZCB4ICVsbGQpCgBza2lwOiBzZWdtZW50IHRvbyBsb25nICglZCkgd2l0aCBtYXggKCVkKSBmb3IgY29kZWJsb2NrICVkIChwPSVkLCBiPSVkLCByPSVkLCBjPSVkKQoAcmVhZDogc2VnbWVudCB0b28gbG9uZyAoJWQpIHdpdGggbWF4ICglZCkgZm9yIGNvZGVibG9jayAlZCAocD0lZCwgYj0lZCwgcj0lZCwgYz0lZCkKAERlc3BpdGUgSlAyIEJQQyE9MjU1LCBwcmVjaXNpb24gYW5kL29yIHNnbmQgdmFsdWVzIGZvciBjb21wWyVkXSBpcyBkaWZmZXJlbnQgdGhhbiBjb21wWzBdOgogICAgICAgIFswXSBwcmVjKCVkKSBzZ25kKCVkKSBbJWRdIHByZWMoJWQpIHNnbmQoJWQpCgBiYWQgY29tcG9uZW50IG51bWJlciBpbiBSR04gKCVkIHdoZW4gdGhlcmUgYXJlIG9ubHkgJWQpCgBFcnJvciB3aXRoIFNJWiBtYXJrZXI6IG51bWJlciBvZiBjb21wb25lbnQgaXMgbm90IGNvbXBhdGlibGUgd2l0aCB0aGUgcmVtYWluaW5nIG51bWJlciBvZiBwYXJhbWV0ZXJzICggJWQgdnMgJWQpCgBFcnJvciB3aXRoIFNJWiBtYXJrZXI6IGludmFsaWQgdGlsZSBzaXplICh0ZHg6ICVkLCB0ZHk6ICVkKQoAQmFkIENPTFIgaGVhZGVyIGJveCAoYmFkIHNpemU6ICVkKQoAQmFkIENPTFIgaGVhZGVyIGJveCAoQ0lFTGFiLCBiYWQgc2l6ZTogJWQpCgBQVEVSTSBjaGVjayBmYWlsdXJlOiAlZCByZW1haW5pbmcgYnl0ZXMgaW4gY29kZSBibG9jayAoJWQgdXNlZCAvICVkKQoATWFsZm9ybWVkIEhUIGNvZGVibG9jay4gT25lIG9mIHRoZSBmb2xsb3dpbmcgY29uZGl0aW9uIGlzIG5vdCBtZXQ6IDIgPD0gU2N1cCA8PSBtaW4oTGN1cCwgNDA3OSkKAEludmFsaWQgdmFsdWVzIGZvciBjb21wID0gJWQgOiBwcmVjPSV1IChzaG91bGQgYmUgYmV0d2VlbiAxIGFuZCAzOCBhY2NvcmRpbmcgdG8gdGhlIEpQRUcyMDAwIG5vcm0uIE9wZW5KcGVnIG9ubHkgc3VwcG9ydHMgdXAgdG8gMzEpCgBJbnZhbGlkIGJpdCBudW1iZXIgJWQgaW4gb3BqX3QyX3JlYWRfcGFja2V0X2hlYWRlcigpCgBTdHJlYW0gZXJyb3IhCgBFcnJvciBvbiB3cml0aW5nIHN0cmVhbSEKAFN0cmVhbSByZWFjaGVkIGl0cyBlbmQgIQoARXhwZWN0ZWQgYSBTT0MgbWFya2VyIAoASW52YWxpZCBib3ggc2l6ZSAlZCBmb3IgYm94ICclYyVjJWMlYycuIE5lZWQgJWQgYnl0ZXMsICVkIGJ5dGVzIHJlbWFpbmluZyAKAE1hbGZvcm1lZCBIVCBjb2RlYmxvY2suIERlY29kaW5nIHRoaXMgY29kZWJsb2NrIGlzIHN0b3BwZWQuIFVfcSBpcyBsYXJnZXIgdGhhbiB6ZXJvIGJpdHBsYW5lcyArIDEgCgBNYWxmb3JtZWQgSFQgY29kZWJsb2NrLiBEZWNvZGluZyB0aGlzIGNvZGVibG9jayBpcyBzdG9wcGVkLiBVX3EgaXNsYXJnZXIgdGhhbiBiaXRwbGFuZXMgKyAxIAoAQ09MUiBCT1ggbWV0aCB2YWx1ZSBpcyBub3QgYSByZWd1bGFyIHZhbHVlICglZCksIHNvIHdlIHdpbGwgaWdub3JlIHRoZSBlbnRpcmUgQ29sb3VyIFNwZWNpZmljYXRpb24gYm94LiAKAFdoaWxlIHJlYWRpbmcgQ0NQX1FOVFNUWSBlbGVtZW50IGluc2lkZSBRQ0Qgb3IgUUNDIG1hcmtlciBzZWdtZW50LCBudW1iZXIgb2Ygc3ViYmFuZHMgKCVkKSBpcyBncmVhdGVyIHRvIE9QSl9KMktfTUFYQkFORFMgKCVkKS4gU28gd2UgbGltaXQgdGhlIG51bWJlciBvZiBlbGVtZW50cyBzdG9yZWQgdG8gT1BKX0oyS19NQVhCQU5EUyAoJWQpIGFuZCBza2lwIHRoZSByZXN0LiAKAEpQMiBJSERSIGJveDogY29tcHJlc3Npb24gdHlwZSBpbmRpY2F0ZSB0aGF0IHRoZSBmaWxlIGlzIG5vdCBhIGNvbmZvcm1pbmcgSlAyIGZpbGUgKCVkKSAKAFRpbGUgaW5kZXggcHJvdmlkZWQgYnkgdGhlIHVzZXIgaXMgaW5jb3JyZWN0ICVkIChtYXggPSAlZCkgCgBFcnJvciBkZWNvZGluZyBjb21wb25lbnQgJWQuClRoZSBudW1iZXIgb2YgcmVzb2x1dGlvbnMgdG8gcmVtb3ZlICglZCkgaXMgZ3JlYXRlciBvciBlcXVhbCB0aGFuIHRoZSBudW1iZXIgb2YgcmVzb2x1dGlvbnMgb2YgdGhpcyBjb21wb25lbnQgKCVkKQpNb2RpZnkgdGhlIGNwX3JlZHVjZSBwYXJhbWV0ZXIuCgoASW1hZ2UgZGF0YSBoYXMgYmVlbiB1cGRhdGVkIHdpdGggdGlsZSAlZC4KCgBBoP0AC4AgIwClAEMAZgCDAO6oFADf2CMAvhBDAP/1gwB+IFUAX1EjADUAQwBORIMAzsQUAM/MIwD+4kMA/5mDAJYAxQA/MSMApQBDAF5EgwDOyBQA3xEjAP70QwD//IMAngBVAHcAIwA1AEMA//GDAK6IFAC3ACMA/vhDAO/kgwCOiMUAHxEjAKUAQwBmAIMA7qgUAN9UIwC+EEMA7yKDAH4gVQB/IiMANQBDAE5EgwDOxBQAvxEjAP7iQwD3AIMAlgDFAD8iIwClAEMAXkSDAM7IFADXACMA/vRDAP+6gwCeAFUAbwAjADUAQwD/5oMArogUAK+iIwD++EMA5wCDAI6IxQAvIgIAxQCEAH4gAgDOxCQA9wACAP6iRABWAAIAngAUANcAAgC+EIQAZgACAK6IJADfEQIA7qhEADYAAgCOiBQAHxECAMUAhABuAAIAzogkAP+IAgD+uEQATkQCAJYAFAC3AAIA/uSEAF5EAgCmACQA5wACAN5URAAuIgIAPgAUAHcAAgDFAIQAfiACAM7EJAD/8QIA/qJEAFYAAgCeABQAvxECAL4QhABmAAIArogkAO8iAgDuqEQANgACAI6IFAB/IgIAxQCEAG4AAgDOiCQA7+QCAP64RABORAIAlgAUAK+iAgD+5IQAXkQCAKYAJADf2AIA3lREAC4iAgA+ABQAX1ECAFUAhABmAAIA3ogkAP8yAgD+EUQATkQCAK4AFAC3AAIAfjGEAF5RAgDGACQA1wACAO4gRAAeEQIAngAUAHcAAgBVAIQAXlQCAM5EJADnAAIA/vFEADYAAgCmABQAX1UCAP50hAA+EQIAviAkAH90AgDexEQA//gCAJYAFAAvIgIAVQCEAGYAAgDeiCQA9wACAP4RRABORAIArgAUAI+IAgB+MYQAXlECAMYAJADPyAIA7iBEAB4RAgCeABQAbwACAFUAhABeVAIAzkQkAN/RAgD+8UQANgACAKYAFAB/IgIA/nSEAD4RAgC+ICQAvyICAN7ERADvIgIAlgAUAD8yAwDe1P30//wUAD4RVQCPiAMAvjKFAOcAJQBeUf6qf3IDAM5E/fjvRBQAfmRFAK+iAwCmAF1V35n98TYA/vVvYgMA3tH99P/mFAB+cVUAv7EDAK6IhQDf1SUATkT+8n9mAwDGAP347+IUAF5URQCfEQMAlgBdVc/I/fEeEe7IZwADAN7U/fT/8xQAPhFVAL8RAwC+MoUA39glAF5R/qovIgMAzkT9+PcAFAB+ZEUAn5gDAKYAXVXXAP3xNgD+9W9EAwDe0f30/7kUAH5xVQC3AAMAroiFAN/cJQBORP7ydwADAMYA/fjv5BQAXlRFAH9zAwCWAF1Vv7j98R4R7sg/MgIApQCEAH5AAgDeECQA3xECAP5yRABWAAIArqgUAL+yAgCWAIQAZgACAMYAJADnAAIA7shEAC4iAgCOiBQAdwACAKUAhABuAAIAzogkAPcAAgD+kUQANgACAK6iFACvqgIA/riEAF4AAgC+ACQAz8QCAO5ERAD/9AIAPiIUAB8RAgClAIQAfkACAN4QJAD/mQIA/nJEAFYAAgCuqBQAtwACAJYAhABmAAIAxgAkANcAAgDuyEQALiICAI6IFABPRAIApQCEAG4AAgDOiCQA7+ICAP6RRAA2AAIArqIUAH9EAgD+uIQAXgACAL4AJACfAAIA7kREAP92AgA+IhQAPzEDAMYAhQD/2f3yfmT+8b+ZAwCuoiUA72b99FYA7uJ/cwMAvphFAPcA/fhmAP52n4gDAI6IFQDf1aUALiLemE9EAwC+soUA//z98m4ilgC3AAMArqolAN/R/fQ2AN7Ub2QDAK6oRQDv6v34XkTu6H9xAwA+MhUAz8SlAP/6zog/MQMAxgCFAP93/fJ+ZP7xv7MDAK6iJQDnAP30VgDu4ncAAwC+mEUA7+T9+GYA/nZ/ZgMAjogVANcApQAuIt6YPzMDAL6yhQD/df3ybiKWAJ+RAwCuqiUA35n99DYA3tRfUQMArqhFAO/s/fheRO7of3IDAD4yFQC/saUA//POiB8RAwDeVP3yHhEUAH5k/vjPzAMAvpFFAO8iJQAuIv7zj4gDAMYAhQD3ABQAXhH+/K+oAwCmADUA38j98T4x/mZvZAMAzsj98v/1FABmAP70v7oDAK4iRQDnACUAPjL+6n9zAwC+soUA31UUAFYAfnGfEQMAlgA1AM/E/fE+M+7oT0QDAN5U/fIeERQAfmT++L+ZAwC+kUUA7+IlAC4i/vN/ZgMAxgCFAO/kFABeEf78n5gDAKYANQDXAP3xPjH+Zm8iAwDOyP3y/7kUAGYA/vS3AAMAriJFAN/RJQA+Mv7qdwADAL6yhQDv7BQAVgB+cX9yAwCWADUAv7j98T4z7uhfVPzx3tH9+tcA/PgWAP3/f3T89H5x/fO/s/zy7+ru6E9E/PGuIgUAv7j8+PcA/vx3APz0XhH99X91/PLf2O7iPzP88b6y/frPiPz4//v9/39z/PRuAP3ztwD88u9m/vk/MfzxngAFAL+6/Pj//f72ZwD89CYA/fWPiPzy39ze1C8i/PHe0f36z8T8+BYA/f9/cvz0fnH987+Z/PLv7O7oRwD88a4iBQCnAPz4//f+/FcA/PReEf31lwD88t/V7uI3APzxvrL9+scA/Pj//v3/f2b89G4A/fOvqPzy5wD++T8y/PGeAAUAv7H8+O/k/vZfVPz0JgD99YcA/PLfmd7UHxETAGUAQwDeAIMAjYgjAE5EEwClAEMAroiDADUAIwDXABMAxQBDAJ4AgwBVACMALiITAJUAQwB+AIMA/hAjAHcAEwBlAEMAzoiDAI2IIwAeERMApQBDAF4AgwA1ACMA5wATAMUAQwC+AIMAVQAjAP8REwCVAEMAPgCDAO5AIwCvohMAZQBDAN4AgwCNiCMATkQTAKUAQwCuiIMANQAjAO9EEwDFAEMAngCDAFUAIwAuIhMAlQBDAH4AgwD+ECMAtwATAGUAQwDOiIMAjYgjAB4REwClAEMAXgCDADUAIwDPxBMAxQBDAL4AgwBVACMA9wATAJUAQwA+AIMA7kAjAG8AAQCEAAEAVgABABQAAQDXAAEAJAABAJYAAQBFAAEAdwABAIQAAQDGAAEAFAABAI+IAQAkAAEA9wABADUAAQAvIgEAhAABAP5AAQAUAAEAtwABACQAAQC/AAEARQABAGcAAQCEAAEApgABABQAAQBPRAEAJAABAOcAAQA1AAEAPxEBAIQAAQBWAAEAFAABAM8AAQAkAAEAlgABAEUAAQBvAAEAhAABAMYAAQAUAAEAnwABACQAAQDvAAEANQABAD8yAQCEAAEA/kABABQAAQCvAAEAJAABAP9EAQBFAAEAXwABAIQAAQCmAAEAFAABAH8AAQAkAAEA3wABADUAAQAfEQEAJAABAFYAAQCFAAEAvwABABQAAQD3AAEAxgABAHcAAQAkAAEA//gBAEUAAQB/AAEAFAABAN8AAQCmAAEAPzEBACQAAQAuIgEAhQABALcAAQAUAAEA70QBAK6iAQBnAAEAJAABAP9RAQBFAAEAlwABABQAAQDPAAEANgABAD8iAQAkAAEAVgABAIUAAQC/sgEAFAABAO9AAQDGAAEAbwABACQAAQD/cgEARQABAJ8AAQAUAAEA1wABAKYAAQBPRAEAJAABAC4iAQCFAAEAr6gBABQAAQDnAAEArqIBAF8AAQAkAAEA/0QBAEUAAQCPiAEAFAABAK+qAQA2AAEAHxECAP74JABWAAIAtgCFAP9mAgDOABQAHhECAJYANQCvqAIA9gAkAD4xAgCmAEUAv7MCAL6yFAD/9QIAZgB+UV9UAgD+8iQALiICAK4ihQDvRAIAxgAUAP/0AgB2ADUAf0QCAN5AJAA+MgIAngBFANcAAgC+iBQA//oCAF4R/vFPRAIA/vgkAFYAAgC2AIUA78gCAM4AFAAeEQIAlgA1AI+IAgD2ACQAPjECAKYARQDfRAIAvrIUAP+oAgBmAH5RbwACAP7yJAAuIgIAriKFAOcAAgDGABQA7+ICAHYANQB/cgIA3kAkAD4yAgCeAEUAv7ECAL6IFAD/cwIAXhH+8T8zAQCEAAEA7iABAMUAAQDPxAEARAABAP8yAQAVAAEAj4gBAIQAAQBmAAEAJQABAK8AAQBEAAEA7yIBAKYAAQBfAAEAhAABAE5EAQDFAAEAz8wBAEQAAQD3AAEAFQABAG8AAQCEAAEAVgABACUAAQCfAAEARAABAN8AAQD+MAEALyIBAIQAAQDuIAEAxQABAM/IAQBEAAEA/xEBABUAAQB3AAEAhAABAGYAAQAlAAEAfwABAEQAAQDnAAEApgABADcAAQCEAAEATkQBAMUAAQC3AAEARAABAL8AAQAVAAEAPwABAIQAAQBWAAEAJQABAJcAAQBEAAEA1wABAP4wAQAfEQIA7qhEAI6IAgDWAMUA//MCAP78JQA+AAIAtgBVAN/YAgD++EQAZgACAH4ghQD/mQIA5gD1ADYAAgCmABUAnwACAP7yRAB2AAIAzkTFAP92AgD+8SUATkQCAK4AVQDPyAIA/vREAF5EAgC+EIUA7+QCAN5U9QAeEQIAlgAVAC8iAgDuqEQAjogCANYAxQD/+gIA/vwlAD4AAgC2AFUAvxECAP74RABmAAIAfiCFAO8iAgDmAPUANgACAKYAFQB/IgIA/vJEAHYAAgDORMUA/9UCAP7xJQBORAIArgBVAG8AAgD+9EQAXkQCAL4QhQDfEQIA3lT1AB4RAgCWABUAX1EDAPYAFAAeEUQAjoilAN/UAwCuolUA/3YkAD4itgCvqgMA5gAUAP/1RABmAIUAz8wDAJ4AxQDvRCQANgD++H8xAwDu6BQA//FEAHYApQDPxAMAfiJVAN/RJABORP70X1EDANYAFADv4kQAXkSFAL8iAwCWAMUA38gkAC4i/vJvIgMA9gAUAB4RRACOiKUAv7EDAK6iVQD/MyQAPiK2AK+oAwDmABQA/7lEAGYAhQC/qAMAngDFAO/kJAA2AP74b2QDAO7oFAD//EQAdgClAM/IAwB+IlUA7+okAE5E/vR/dAMA1gAUAP/6RABeRIUAv7IDAJYAxQDfRCQALiL+8j8x8wD++v3xNgAEAL4ydQDfEfMA3lT98u/k1QB+cf78f3PzAP7z/fgeEQQAlgBVAL+x8wDOALUA39j99GYA/rlfVPMA/nb98SYABACmAHUAnwDzAK4A/fL/99UARgD+9X908wDmAP34FgAEAIYAVQCPiPMAxgC1AO/i/fReEe6oPxHzAP76/fE2AAQAvjJ1AN/R8wDeVP3y//vVAH5x/vx/RPMA/vP9+B4RBACWAFUAf3LzAM4AtQDvIv30ZgD+uU9E8wD+dv3xJgAEAKYAdQC/EfMArgD98v//1QBGAP71PzLzAOYA/fgWAAQAhgBVAG8A8wDGALUAv7j99F4R7qgvIgBBrJ0BC6QeAQAAAAEAAAABAAAAAgAAAAIAAAACAAAAAwAAAAMAAAAEAAAABQAAALchQiFnIUIhERERETMzMzN3d3d3AAAAAAAAAAABVgAAAAAAABBPAAAgTwAAAVYAAAEAAAAgTwAAEE8AAAE0AAAAAAAAME8AALBPAAABNAAAAQAAAEBPAADATwAAARgAAAAAAABQTwAAEFAAAAEYAAABAAAAYE8AACBQAADBCgAAAAAAAHBPAABwUAAAwQoAAAEAAACATwAAgFAAACEFAAAAAAAAkE8AAJBSAAAhBQAAAQAAAKBPAACgUgAAIQIAAAAAAACwUwAAEFMAACECAAABAAAAwFMAACBTAAABVgAAAAAAANBPAADATwAAAVYAAAEAAADgTwAAsE8AAAFUAAAAAAAA8E8AALBQAAABVAAAAQAAAABQAADAUAAAAUgAAAAAAAAQUAAAsFAAAAFIAAABAAAAIFAAAMBQAAABOAAAAAAAADBQAACwUAAAATgAAAEAAABAUAAAwFAAAAEwAAAAAAAAUFAAABBRAAABMAAAAQAAAGBQAAAgUQAAASQAAAAAAABwUAAAMFEAAAEkAAABAAAAgFAAAEBRAAABHAAAAAAAAJBQAABwUQAAARwAAAEAAACgUAAAgFEAAAEWAAAAAAAAkFIAAJBRAAABFgAAAQAAAKBSAACgUQAAAVYAAAAAAADQUAAAwFAAAAFWAAABAAAA4FAAALBQAAABVAAAAAAAAPBQAACwUAAAAVQAAAEAAAAAUQAAwFAAAAFRAAAAAAAAEFEAANBQAAABUQAAAQAAACBRAADgUAAAAUgAAAAAAAAwUQAA8FAAAAFIAAABAAAAQFEAAABRAAABOAAAAAAAAFBRAAAQUQAAATgAAAEAAABgUQAAIFEAAAE0AAAAAAAAcFEAADBRAAABNAAAAQAAAIBRAABAUQAAATAAAAAAAACQUQAAUFEAAAEwAAABAAAAoFEAAGBRAAABKAAAAAAAALBRAABQUQAAASgAAAEAAADAUQAAYFEAAAEkAAAAAAAA0FEAAHBRAAABJAAAAQAAAOBRAACAUQAAASIAAAAAAADwUQAAkFEAAAEiAAABAAAAAFIAAKBRAAABHAAAAAAAABBSAACwUQAAARwAAAEAAAAgUgAAwFEAAAEYAAAAAAAAMFIAANBRAAABGAAAAQAAAEBSAADgUQAAARYAAAAAAABQUgAA8FEAAAEWAAABAAAAYFIAAABSAAABFAAAAAAAAHBSAAAQUgAAARQAAAEAAACAUgAAIFIAAAESAAAAAAAAkFIAADBSAAABEgAAAQAAAKBSAABAUgAAAREAAAAAAACwUgAAUFIAAAERAAABAAAAwFIAAGBSAADBCgAAAAAAANBSAABwUgAAwQoAAAEAAADgUgAAgFIAAMEJAAAAAAAA8FIAAJBSAADBCQAAAQAAAABTAACgUgAAoQgAAAAAAAAQUwAAsFIAAKEIAAABAAAAIFMAAMBSAAAhBQAAAAAAADBTAADQUgAAIQUAAAEAAABAUwAA4FIAAEEEAAAAAAAAUFMAAPBSAABBBAAAAQAAAGBTAAAAUwAAoQIAAAAAAABwUwAAEFMAAKECAAABAAAAgFMAACBTAAAhAgAAAAAAAJBTAAAwUwAAIQIAAAEAAACgUwAAQFMAAEEBAAAAAAAAsFMAAFBTAABBAQAAAQAAAMBTAABgUwAAEQEAAAAAAADQUwAAcFMAABEBAAABAAAA4FMAAIBTAACFAAAAAAAAAPBTAACQUwAAhQAAAAEAAAAAVAAAoFMAAEkAAAAAAAAAEFQAALBTAABJAAAAAQAAACBUAADAUwAAJQAAAAAAAAAwVAAA0FMAACUAAAABAAAAQFQAAOBTAAAVAAAAAAAAAFBUAADwUwAAFQAAAAEAAABgVAAAAFQAAAkAAAAAAAAAcFQAABBUAAAJAAAAAQAAAIBUAAAgVAAABQAAAAAAAACQVAAAMFQAAAUAAAABAAAAoFQAAEBUAAABAAAAAAAAAJBUAABQVAAAAQAAAAEAAACgVAAAYFQAAAFWAAAAAAAAsFQAALBUAAABVgAAAQAAAMBUAADAVAAAAAEDAwECAwMFBgcHBgYHBwABAwMBAgMDBQYHBwYGBwcFBgcHBgYHBwgICAgICAgIBQYHBwYGBwcICAgICAgICAECAwMCAgMDBgYHBwYGBwcBAgMDAgIDAwYGBwcGBgcHBgYHBwYGBwcICAgICAgICAYGBwcGBgcHCAgICAgICAgDAwQEAwMEBAcHBwcHBwcHAwMEBAMDBAQHBwcHBwcHBwcHBwcHBwcHCAgICAgICAgHBwcHBwcHBwgICAgICAgIAwMEBAMDBAQHBwcHBwcHBwMDBAQDAwQEBwcHBwcHBwcHBwcHBwcHBwgICAgICAgIBwcHBwcHBwcICAgICAgICAECAwMCAgMDBgYHBwYGBwcBAgMDAgIDAwYGBwcGBgcHBgYHBwYGBwcICAgICAgICAYGBwcGBgcHCAgICAgICAgCAgMDAgIDAwYGBwcGBgcHAgIDAwICAwMGBgcHBgYHBwYGBwcGBgcHCAgICAgICAgGBgcHBgYHBwgICAgICAgIAwMEBAMDBAQHBwcHBwcHBwMDBAQDAwQEBwcHBwcHBwcHBwcHBwcHBwgICAgICAgIBwcHBwcHBwcICAgICAgICAMDBAQDAwQEBwcHBwcHBwcDAwQEAwMEBAcHBwcHBwcHBwcHBwcHBwcICAgICAgICAcHBwcHBwcHCAgICAgICAgAAQUGAQIGBgMDBwcDAwcHAAEFBgECBgYDAwcHAwMHBwMDBwcDAwcHBAQHBwQEBwcDAwcHAwMHBwQEBwcEBAcHAQIGBgICBgYDAwcHAwMHBwECBgYCAgYGAwMHBwMDBwcDAwcHAwMHBwQEBwcEBAcHAwMHBwMDBwcEBAcHBAQHBwUGCAgGBggIBwcICAcHCAgFBggIBgYICAcHCAgHBwgIBwcICAcHCAgHBwgIBwcICAcHCAgHBwgIBwcICAcHCAgGBggIBgYICAcHCAgHBwgIBgYICAYGCAgHBwgIBwcICAcHCAgHBwgIBwcICAcHCAgHBwgIBwcICAcHCAgHBwgIAQIGBgICBgYDAwcHAwMHBwECBgYCAgYGAwMHBwMDBwcDAwcHAwMHBwQEBwcEBAcHAwMHBwMDBwcEBAcHBAQHBwICBgYCAgYGAwMHBwMDBwcCAgYGAgIGBgMDBwcDAwcHAwMHBwMDBwcEBAcHBAQHBwMDBwcDAwcHBAQHBwQEBwcGBggIBgYICAcHCAgHBwgIBgYICAYGCAgHBwgIBwcICAcHCAgHBwgIBwcICAcHCAgHBwgIBwcICAcHCAgHBwgIBgYICAYGCAgHBwgIBwcICAYGCAgGBggIBwcICAcHCAgHBwgIBwcICAcHCAgHBwgIBwcICAcHCAgHBwgIBwcICAABAwMBAgMDBQYHBwYGBwcAAQMDAQIDAwUGBwcGBgcHBQYHBwYGBwcICAgICAgICAUGBwcGBgcHCAgICAgICAgBAgMDAgIDAwYGBwcGBgcHAQIDAwICAwMGBgcHBgYHBwYGBwcGBgcHCAgICAgICAgGBgcHBgYHBwgICAgICAgIAwMEBAMDBAQHBwcHBwcHBwMDBAQDAwQEBwcHBwcHBwcHBwcHBwcHBwgICAgICAgIBwcHBwcHBwcICAgICAgICAMDBAQDAwQEBwcHBwcHBwcDAwQEAwMEBAcHBwcHBwcHBwcHBwcHBwcICAgICAgICAcHBwcHBwcHCAgICAgICAgBAgMDAgIDAwYGBwcGBgcHAQIDAwICAwMGBgcHBgYHBwYGBwcGBgcHCAgICAgICAgGBgcHBgYHBwgICAgICAgIAgIDAwICAwMGBgcHBgYHBwICAwMCAgMDBgYHBwYGBwcGBgcHBgYHBwgICAgICAgIBgYHBwYGBwcICAgICAgICAMDBAQDAwQEBwcHBwcHBwcDAwQEAwMEBAcHBwcHBwcHBwcHBwcHBwcICAgICAgICAcHBwcHBwcHCAgICAgICAgDAwQEAwMEBAcHBwcHBwcHAwMEBAMDBAQHBwcHBwcHBwcHBwcHBwcHCAgICAgICAgHBwcHBwcHBwgICAgICAgIAAMBBAMGBAcBBAIFBAcFBwADAQQDBgQHAQQCBQQHBQcBBAIFBAcFBwIFAgUFBwUHAQQCBQQHBQcCBQIFBQcFBwMGBAcGCAcIBAcFBwcIBwgDBgQHBggHCAQHBQcHCAcIBAcFBwcIBwgFBwUHBwgHCAQHBQcHCAcIBQcFBwcIBwgBBAIFBAcFBwIFAgUFBwUHAQQCBQQHBQcCBQIFBQcFBwIFAgUFBwUHAgUCBQUHBQcCBQIFBQcFBwIFAgUFBwUHBAcFBwcIBwgFBwUHBwgHCAQHBQcHCAcIBQcFBwcIBwgFBwUHBwgHCAUHBQcHCAcIBQcFBwcIBwgFBwUHBwgHCAMGBAcGCAcIBAcFBwcIBwgDBgQHBggHCAQHBQcHCAcIBAcFBwcIBwgFBwUHBwgHCAQHBQcHCAcIBQcFBwcIBwgGCAcICAgICAcIBwgICAgIBggHCAgICAgHCAcICAgICAcIBwgICAgIBwgHCAgICAgHCAcICAgICAcIBwgICAgIBAcFBwcIBwgFBwUHBwgHCAQHBQcHCAcIBQcFBwcIBwgFBwUHBwgHCAUHBQcHCAcIBQcFBwcIBwgFBwUHBwgHCAcIBwgICAgIBwgHCAgICAgHCAcICAgICAcIBwgICAgIBwgHCAgICAgHCAcICAgICAcIBwgICAgIBwgHCAgICAgJCQoKCQkKCgwMDQsMDA0LCQkKCgkJCgoMDAsNDAwLDQwMDQ0MDAsLDAkNCgkMCgsMDAsLDAwNDQwJCwoJDAoNCQkKCgkJCgoMDA0LDAwNCwkJCgoJCQoKDAwLDQwMCw0MDA0NDAwLCwwJDQoJDAoLDAwLCwwMDQ0MCQsKCQwKDQoKCgoKCgoKDQsNCw0LDQsKCgkJCgoJCQ0LDAwNCwwMDQ0NDQsLCwsNCg0KCgsKCw0NDAwLCwwMDQoMCQoLCQwKCgkJCgoJCQsNDAwLDQwMCgoKCgoKCgoLDQsNCw0LDQsLDAwNDQwMCwoMCQoNCQwLCwsLDQ0NDQsKCwoKDQoNAEHZuwELNwEAAQABAAEAAAEBAAABAQABAAEAAQABAAAAAAEBAQEAAAAAAAEAAQAAAAABAQEBAAAAAQABAQEAQZm8AQs3AQABAAEAAQAAAQEAAAEBAAEAAQABAAEAAAAAAQEBAQAAAAAAAQABAAAAAAEBAQEAAAABAAEBAQBB2bwBCwcBAAEAAQABAEHpvAELlQIBAAEAAQABAAAAAAEBAQEAAAAAAAEAAQAAAAABAQEBAAAAAAABAAEBAQAAAQEAAAABAAEAAQABAQEBAQEBAQEAAQABAAEAAQAAAAABAQEBAAEAAAEBAAEAAAAAAQEBAQABAAEBAQEBAgAAAAQAAAAEAAAACAAAAJD/AAAMAAAAGAAAAFL/AAAUAAAAGQAAAFP/AAAUAAAAGgAAAF7/AAAUAAAAGwAAAFz/AAAUAAAAHAAAAF3/AAAUAAAAHQAAAF//AAAUAAAAHgAAAFH/AAACAAAAHwAAAFX/AAAEAAAAIAAAAFf/AAAEAAAAIQAAAFj/AAAQAAAAIgAAAGD/AAAEAAAAIwAAAGH/AAAQAAAAJAAAAJH/AEGIvwELZWP/AAAEAAAAJQAAAGT/AAAUAAAAJgAAAHT/AAAUAAAAJwAAAHj/AAAEAAAAKAAAAFD/AAAEAAAAKQAAAFn/AAAEAAAAKgAAAHX/AAAUAAAAKwAAAHf/AAAUAAAALAAAAAAAAAAUAEGAwAELNS0AAAAuAAAALwAAADAAAAAxAAAAMgAAADMAAAA0AAAAICBQajYAAABweXRmNwAAAGgycGo4AEHAwAELMnJkaGk5AAAAcmxvYzoAAABjY3BiOwAAAHJsY3A8AAAAcGFtYz0AAABmZWRjPgAAAPhiAEGAwQELQRkACwAZGRkAAAAABQAAAAAAAAkAAAAACwAAAAAAAAAAGQAKChkZGQMKBwABAAkLGAAACQYLAAALAAYZAAAAGRkZAEHRwQELIQ4AAAAAAAAAABkACw0ZGRkADQAAAgAJDgAAAAkADgAADgBBi8IBCwEMAEGXwgELFRMAAAAAEwAAAAAJDAAAAAAADAAADABBxcIBCwEQAEHRwgELFQ8AAAAEDwAAAAAJEAAAAAAAEAAAEABB/8IBCwESAEGLwwELHhEAAAAAEQAAAAAJEgAAAAAAEgAAEgAAGgAAABoaGgBBwsMBCw4aAAAAGhoaAAAAAAAACQBB88MBCwEUAEH/wwELFRcAAAAAFwAAAAAJFAAAAAAAFAAAFABBrcQBCwEWAEG5xAELJxUAAAAAFQAAAAAJFgAAAAAAFgAAFgAAMDEyMzQ1Njc4OUFCQ0RFRgBB4MQBCwmQbAEAAAAAAAUAQfTEAQsBaQBBjMUBCwpqAAAAawAAAHhoAEGkxQELAQIAQbTFAQsI//////////8AQfjFAQsBBQBBhMYBCwFsAEGcxgELDmoAAABtAAAAiGgAAAAEAEG0xgELAQEAQcTGAQsF/////wo="),n(v(I,A)[0])}();function L(){function t(){w||(w=!0,r.calledRun=!0,m(C),e(r),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)e=r.postRun.shift(),B.unshift(e);var e;m(B)}())}Q>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)e=r.preRun.shift(),f.unshift(e);var e;m(f)}(),Q>0||(r.setStatus?(r.setStatus("Running..."),setTimeout((function(){setTimeout((function(){r.setStatus("")}),1),t()}),1)):t()))}if(N.q,r._malloc=N.r,r._free=N.s,r._jp2_decode=N.u,d=function e(){w||L(),w||(d=e)},r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();return L(),r});const Ya=Ha;function Pa(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function Oa(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ta(A.key),A)}}function Ka(e,t,r){return t&&Oa(e.prototype,t),r&&Oa(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ta(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function qa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ja(e,t,r){return t=Za(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Wa()?Reflect.construct(t,r||[],Za(e).constructor):t.apply(e,r))}function Wa(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Wa=function(){return!!e})()}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Za(e)}function _a(e,t){return _a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_a(e,t)}var Xa=function(e){function t(e){return qa(this,t),ja(this,t,[e,"JpxError"])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_a(e,t)}(t,X),Ka(t)}(),Va=function(){function e(){qa(this,e)}return Ka(e,null,[{key:"decode",value:function(t,r){r||(r={}),Pa(e,this,za)._||(za._=Pa(e,this,Ya({warn:q})));var A=Pa(e,this,za)._.decode(t,r);if("string"==typeof A)throw new Xa(A);return A}},{key:"cleanup",value:function(){za._=Pa(e,this,null)}},{key:"parseImageProperties",value:function(e){for(var t=e.getByte();t>=0;)if(65361==(t<<8|(t=e.getByte()))){e.skip(4);var r=e.getInt32()>>>0,A=e.getInt32()>>>0,n=e.getInt32()>>>0,i=e.getInt32()>>>0;return e.skip(16),{width:r-n,height:A-i,bitsPerComponent:8,componentsCount:e.getUint16()}}throw new Xa("No size marker found in JPX stream")}}])}(),za={_:null};function $a(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,eo(A.key),A)}}function eo(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function to(e,t,r){return t=Ao(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ro()?Reflect.construct(t,r||[],Ao(e).constructor):t.apply(e,r))}function ro(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ro=function(){return!!e})()}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ao(e)}function no(e,t){return no=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},no(e,t)}var io=function(e){function t(e,r,A){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=to(this,t,[r])).stream=e,n.dict=e.dict,n.maybeLength=r,n.params=A,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&no(e,t)}(t,XA),r=t,(A=[{key:"bytes",get:function(){return _(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(e){this.decodeImage(null,e)}},{key:"decodeImage",value:function(e,t){return this.eof||(e||(e=this.bytes),this.buffer=Va.decode(e,t),this.bufferLength=this.buffer.length,this.eof=!0),this.buffer}},{key:"canAsyncDecodeImageFromBuffer",get:function(){return this.stream.isAsync}}])&&$a(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function ao(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,oo(A.key),A)}}function oo(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function so(e,t,r){return t=go(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,co()?Reflect.construct(t,r||[],go(e).constructor):t.apply(e,r))}function co(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(co=function(){return!!e})()}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},go(e)}function uo(e,t){return uo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uo(e,t)}var lo=function(e){function t(e,r,A){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=so(this,t,[r])).str=e,n.dict=e.dict,n.cachedData=0,n.bitsCached=0;for(var i=4096,a={earlyChange:A,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(i),dictionaryLengths:new Uint16Array(i),dictionaryPrevCodes:new Uint16Array(i),currentSequence:new Uint8Array(i),currentSequenceLength:0},o=0;o<256;++o)a.dictionaryValues[o]=o,a.dictionaryLengths[o]=1;return n.lzwState=a,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uo(e,t)}(t,XA),r=t,(A=[{key:"readBits",value:function(e){for(var t=this.bitsCached,r=this.cachedData;t<e;){var A=this.str.getByte();if(-1===A)return this.eof=!0,null;r=r<<8|A,t+=8}return this.bitsCached=t-=e,this.cachedData=r,this.lastCode=null,r>>>t&(1<<e)-1}},{key:"readBlock",value:function(){var e,t,r,A=1024,n=this.lzwState;if(n){var i=n.earlyChange,a=n.nextCode,o=n.dictionaryValues,s=n.dictionaryLengths,c=n.dictionaryPrevCodes,g=n.codeLength,u=n.prevCode,l=n.currentSequence,h=n.currentSequenceLength,I=0,f=this.bufferLength,C=this.ensureBuffer(this.bufferLength+A);for(e=0;e<512;e++){var B=this.readBits(g),Q=h>0;if(B<256)l[0]=B,h=1;else{if(!(B>=258)){if(256===B){g=9,a=258,h=0;continue}this.eof=!0,delete this.lzwState;break}if(B<a)for(t=(h=s[B])-1,r=B;t>=0;t--)l[t]=o[r],r=c[r];else l[h++]=l[0]}if(Q&&(c[a]=u,s[a]=s[u]+1,o[a]=l[0],g=++a+i&a+i-1?g:0|Math.min(Math.log(a+i)/.6931471805599453+1,12)),u=B,A<(I+=h)){do{A+=512}while(A<I);C=this.ensureBuffer(this.bufferLength+A)}for(t=0;t<h;t++)C[f++]=l[t]}n.nextCode=a,n.codeLength=g,n.prevCode=u,n.currentSequenceLength=h,this.bufferLength=f}}}])&&ao(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function ho(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Io(A.key),A)}}function Io(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function fo(e,t,r){return t=Qo(t),Co(e,Bo()?Reflect.construct(t,r||[],Qo(e).constructor):t.apply(e,r))}function Co(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Bo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Bo=function(){return!!e})()}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qo(e)}function Eo(e,t){return Eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Eo(e,t)}var yo=function(e){function t(e,r,A){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=fo(this,t,[r]),!(A instanceof He))return Co(n,e);var i=n.predictor=A.get("Predictor")||1;if(i<=1)return Co(n,e);if(2!==i&&(i<10||i>15))throw new re("Unsupported predictor: ".concat(i));n.readBlock=2===i?n.readBlockTiff:n.readBlockPng,n.str=e,n.dict=e.dict;var a=n.colors=A.get("Colors")||1,o=n.bits=A.get("BPC","BitsPerComponent")||8,s=n.columns=A.get("Columns")||1;return n.pixBytes=a*o+7>>3,n.rowBytes=s*a*o+7>>3,Co(n,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Eo(e,t)}(t,XA),r=t,(A=[{key:"readBlockTiff",value:function(){var e=this.rowBytes,t=this.bufferLength,r=this.ensureBuffer(t+e),A=this.bits,n=this.colors,i=this.str.getBytes(e);if(this.eof=!i.length,!this.eof){var a,o=0,s=0,c=0,g=0,u=t;if(1===A&&1===n)for(a=0;a<e;++a){var l=i[a]^o;l^=l>>1,l^=l>>2,o=(1&(l^=l>>4))<<7,r[u++]=l}else if(8===A){for(a=0;a<n;++a)r[u++]=i[a];for(;a<e;++a)r[u]=r[u-n]+i[a],u++}else if(16===A){var h=2*n;for(a=0;a<h;++a)r[u++]=i[a];for(;a<e;a+=2){var I=((255&i[a])<<8)+(255&i[a+1])+((255&r[u-h])<<8)+(255&r[u-h+1]);r[u++]=I>>8&255,r[u++]=255&I}}else{var f=new Uint8Array(n+1),C=(1<<A)-1,B=0,Q=t,E=this.columns;for(a=0;a<E;++a)for(var d=0;d<n;++d)c<A&&(o=o<<8|255&i[B++],c+=8),f[d]=f[d]+(o>>c-A)&C,c-=A,s=s<<A|f[d],(g+=A)>=8&&(r[Q++]=s>>g-8&255,g-=8);g>0&&(r[Q++]=(s<<8-g)+(o&(1<<8-g)-1))}this.bufferLength+=e}}},{key:"readBlockPng",value:function(){var e=this.rowBytes,t=this.pixBytes,r=this.str.getByte(),A=this.str.getBytes(e);if(this.eof=!A.length,!this.eof){var n=this.bufferLength,i=this.ensureBuffer(n+e),a=i.subarray(n-e,n);0===a.length&&(a=new Uint8Array(e));var o,s,c,g=n;switch(r){case 0:for(o=0;o<e;++o)i[g++]=A[o];break;case 1:for(o=0;o<t;++o)i[g++]=A[o];for(;o<e;++o)i[g]=i[g-t]+A[o]&255,g++;break;case 2:for(o=0;o<e;++o)i[g++]=a[o]+A[o]&255;break;case 3:for(o=0;o<t;++o)i[g++]=(a[o]>>1)+A[o];for(;o<e;++o)i[g]=(a[o]+i[g-t]>>1)+A[o]&255,g++;break;case 4:for(o=0;o<t;++o)s=a[o],c=A[o],i[g++]=s+c;for(;o<e;++o){s=a[o];var u=a[o-t],l=i[g-t],h=l+s-u,I=h-l;I<0&&(I=-I);var f=h-s;f<0&&(f=-f);var C=h-u;C<0&&(C=-C),c=A[o],i[g++]=I<=f&&I<=C?l+c:f<=C?s+c:u+c}break;default:throw new re("Unsupported predictor: ".concat(r))}this.bufferLength+=e}}}])&&ho(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function po(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,vo(A.key),A)}}function vo(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function mo(e,t,r){return t=bo(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wo()?Reflect.construct(t,r||[],bo(e).constructor):t.apply(e,r))}function wo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wo=function(){return!!e})()}function bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bo(e)}function ko(e,t){return ko=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ko(e,t)}var Do=function(e){function t(e,r){var A;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(A=mo(this,t,[r])).str=e,A.dict=e.dict,A}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ko(e,t)}(t,XA),r=t,(A=[{key:"readBlock",value:function(){var e=this.str.getBytes(2);if(!e||e.length<2||128===e[0])this.eof=!0;else{var t,r=this.bufferLength,A=e[0];if(A<128){if((t=this.ensureBuffer(r+A+1))[r++]=e[1],A>0){var n=this.str.getBytes(A);t.set(n,r),r+=A}}else{A=257-A;var i=e[1];t=this.ensureBuffer(r+A+1);for(var a=0;a<A;a++)t[r++]=i}this.bufferLength=r}}}])&&po(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function So(e){return function(e){if(Array.isArray(e))return Ro(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||xo(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fo(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=xo(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function xo(e,t){if(e){if("string"==typeof e)return Ro(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ro(e,t):void 0}}function Ro(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Go(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function No(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Uo(A.key),A)}}function Lo(e,t,r){return t&&No(e.prototype,t),r&&No(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Uo(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Mo=new WeakSet,Jo=function(){return Lo((function e(t){var r=t.lexer,A=t.xref,n=t.allowStreams,i=void 0!==n&&n,a=t.recoveryMode,o=void 0!==a&&a;Go(this,e),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(this,Mo),this.lexer=r,this.xref=A,this.allowStreams=i,this.recoveryMode=o,this.imageCache=Object.create(null),this._imageId=0,this.refill()}),[{key:"refill",value:function(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()}},{key:"shift",value:function(){this.buf2 instanceof Me&&"ID"===this.buf2.cmd?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())}},{key:"tryShift",value:function(){try{return this.shift(),!0}catch(e){if(e instanceof Ct)throw e;return!1}}},{key:"getObj",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.buf1;if(this.shift(),t instanceof Me)switch(t.cmd){case"BI":return this.makeInlineImage(e);case"[":for(var r=[];!Te(this.buf1,"]")&&this.buf1!==Re;)r.push(this.getObj(e));if(this.buf1===Re){if(this.recoveryMode)return r;throw new Bt("End of file inside array.")}return this.shift(),r;case"<<":for(var A=new He(this.xref);!Te(this.buf1,">>")&&this.buf1!==Re;)if(this.buf1 instanceof Ue){var n=this.buf1.name;if(this.shift(),this.buf1===Re)break;A.set(n,this.getObj(e))}else T("Malformed dictionary: key must be a name object"),this.shift();if(this.buf1===Re){if(this.recoveryMode)return A;throw new Bt("End of file inside dictionary.")}return Te(this.buf2,"stream")?this.allowStreams?this.makeStream(A,e):A:(this.shift(),A);default:return t}if(Number.isInteger(t)){if(Number.isInteger(this.buf1)&&Te(this.buf2,"R")){var i=Ye.get(t,this.buf1);return this.shift(),this.shift(),i}return t}return"string"==typeof t&&e?e.decryptString(t):t}},{key:"findDefaultInlineStreamEnd",value:function(e){for(var t,r,A=this.lexer.knownCommands,n=e.pos,i=0;-1!==(t=e.getByte());)if(0===i)i=69===t?1:0;else if(1===i)i=73===t?2:0;else if(32===t||10===t||13===t){r=e.pos;var a=e.peekBytes(15),o=a.length;if(0===o)break;for(var s=0;s<o;s++)if((0!==(t=a[s])||0===a[s+1])&&10!==t&&13!==t&&(t<32||t>127)){i=0;break}if(2!==i)continue;if(!A){q("findDefaultInlineStreamEnd - \`lexer.knownCommands\` is undefined.");continue}var c=new Oo(new ar(a.slice()),A);c._hexStringWarn=function(){};for(var g=0;;){var u=c.getObj();if(u===Re){i=0;break}if(u instanceof Me){var l=A[u.cmd];if(!l){i=0;break}if(l.variableArgs?g<=l.numArgs:g===l.numArgs)break;g=0}else g++}if(2===i)break}else i=0;-1===t&&(q("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),r&&(q('... trying to recover by using the last "EI" occurrence.'),e.skip(-(e.pos-r))));var h=4;return e.skip(-h),t=e.peekByte(),e.skip(h),Dt(t)||h--,e.pos-h-n}},{key:"findDCTDecodeInlineStreamEnd",value:function(e){for(var t,r,A=e.pos,n=!1;-1!==(t=e.getByte());)if(255===t){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:n=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:(r=e.getUint16())>2?e.skip(r-2):e.skip(-2)}if(n)break}var i=e.pos-A;return-1===t?(q("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),e.skip(-i),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),i)}},{key:"findASCII85DecodeInlineStreamEnd",value:function(e){for(var t,r=e.pos;-1!==(t=e.getByte());)if(126===t){var A=e.pos;for(t=e.peekByte();Dt(t);)e.skip(),t=e.peekByte();if(62===t){e.skip();break}if(e.pos>A){var n=e.peekBytes(2);if(69===n[0]&&73===n[1])break}}var i=e.pos-r;return-1===t?(q("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-i),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),i)}},{key:"findASCIIHexDecodeInlineStreamEnd",value:function(e){for(var t,r=e.pos;-1!==(t=e.getByte())&&62!==t;);var A=e.pos-r;return-1===t?(q("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-A),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),A)}},{key:"inlineStreamSkipEI",value:function(e){for(var t,r=0;-1!==(t=e.getByte());)if(0===r)r=69===t?1:0;else if(1===r)r=73===t?2:0;else if(2===r)break}},{key:"makeInlineImage",value:function(e){for(var t,r=this.lexer,A=r.stream,n=Object.create(null);!Te(this.buf1,"ID")&&this.buf1!==Re;){if(!(this.buf1 instanceof Ue))throw new re("Dictionary key must be a name object");var i=this.buf1.name;if(this.shift(),this.buf1===Re)break;n[i]=this.getObj(e)}-1!==r.beginInlineImagePos&&(t=A.pos-r.beginInlineImagePos);var a,o=this.xref.fetchIfRef(n.F||n.Filter);if(o instanceof Ue)a=o.name;else if(Array.isArray(o)){var s=this.xref.fetchIfRef(o[0]);s instanceof Ue&&(a=s.name)}var c,g,u=A.pos;switch(a){case"DCT":case"DCTDecode":c=this.findDCTDecodeInlineStreamEnd(A);break;case"A85":case"ASCII85Decode":c=this.findASCII85DecodeInlineStreamEnd(A);break;case"AHx":case"ASCIIHexDecode":c=this.findASCIIHexDecodeInlineStreamEnd(A);break;default:c=this.findDefaultInlineStreamEnd(A)}if(c<1e3&&t>0){var l=A.pos;A.pos=r.beginInlineImagePos,g=function(e){for(var t=[],r=e.length,A=0;A<r-1;)t.push(e[A++]<<8|e[A++]);return A<r&&t.push(e[A]),r+"_"+String.fromCharCode.apply(null,t)}(A.getBytes(t+c)),A.pos=l;var h=this.imageCache[g];if(void 0!==h)return this.buf2=Me.get("EI"),this.shift(),h.reset(),h}var I=new He(this.xref);for(var f in n)I.set(f,n[f]);var C=A.makeSubStream(u,c,I);return e&&(C=e.createStream(C,c)),(C=this.filter(C,I,c)).dict=I,void 0!==g&&(C.cacheKey="inline_img_".concat(++this._imageId),this.imageCache[g]=C),this.buf2=Me.get("EI"),this.shift(),C}},{key:"makeStream",value:function(e,t){var r=this.lexer,A=r.stream;r.skipToNextLine();var n=A.pos-1,i=e.get("Length");if(Number.isInteger(i)||(T('Bad length "'.concat(i&&i.toString(),'" in stream.')),i=0),A.pos=n+i,r.nextChar(),this.tryShift()&&Te(this.buf2,"endstream"))this.shift();else{if(i=function(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}(Mo,this,Ho).call(this,n),i<0)throw new re("Missing endstream command.");r.nextChar(),this.shift(),this.shift()}return this.shift(),A=A.makeSubStream(n,i,e),t&&(A=t.createStream(A,i)),(A=this.filter(A,e,i)).dict=e,A}},{key:"filter",value:function(e,t,r){var A=t.get("F","Filter"),n=t.get("DP","DecodeParms");if(A instanceof Ue)return Array.isArray(n)&&q("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(e,A.name,r,n);var i=r;if(Array.isArray(A))for(var a=A,o=n,s=0,c=a.length;s<c;++s){if(!((A=this.xref.fetchIfRef(a[s]))instanceof Ue))throw new re('Bad filter name "'.concat(A,'"'));n=null,Array.isArray(o)&&s in o&&(n=this.xref.fetchIfRef(o[s])),e=this.makeFilter(e,A.name,i,n),i=null}return e}},{key:"makeFilter",value:function(e,t,r,A){if(0===r)return q('Empty "'.concat(t,'" stream.')),new sr;try{switch(t){case"Fl":case"FlateDecode":return A?new yo(new _n(e,r),r,A):new _n(e,r);case"LZW":case"LZWDecode":var n=1;return A?(A.has("EarlyChange")&&(n=A.get("EarlyChange")),new yo(new lo(e,r,n),r,A)):new lo(e,r,n);case"DCT":case"DCTDecode":return new Ja(e,r,A);case"JPX":case"JPXDecode":return new io(e,r,A);case"A85":case"ASCII85Decode":return new nn(e,r);case"AHx":case"ASCIIHexDecode":return new hn(e,r);case"CCF":case"CCITTFaxDecode":return new Fn(e,r,A);case"RL":case"RunLengthDecode":return new Do(e,r);case"JBIG2Decode":return new Vi(e,r,A)}return q('Filter "'.concat(t,'" is not supported.')),e}catch(e){if(e instanceof Ct)throw e;return q('Invalid stream: "'.concat(e,'"')),new sr}}}])}();function Ho(e){var t=this.lexer.stream;t.pos=e;for(var r=new Uint8Array([101,110,100]),A=r.length,n=[new Uint8Array([115,116,114,101,97,109]),new Uint8Array([115,116,101,97,109]),new Uint8Array([115,116,114,101,97])],i=9-A;t.pos<t.end;){var a=t.peekBytes(2048),o=a.length-9;if(o<=0)break;for(var s=0;s<o;){for(var c=0;c<A&&a[s+c]===r[c];)c++;if(c>=A){var g,u=!1,l=Fo(n);try{for(l.s();!(g=l.n()).done;){for(var h=g.value,I=h.length,f=0;f<I&&a[s+c+f]===h[f];)f++;if(f>=i){u=!0;break}if(f>=I){Dt(a[s+c+f])&&(T('Found "'.concat(ne([].concat(So(r),So(h))),'" when ')+"searching for endstream command."),u=!0);break}}}catch(e){l.e(e)}finally{l.f()}if(u)return t.pos+=s,t.pos-e}s++}t.pos+=o}return-1}var Yo=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Po(e){return e>=48&&e<=57?15&e:e>=65&&e<=70||e>=97&&e<=102?9+(15&e):-1}var Oo=function(){return Lo((function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Go(this,e),this.stream=t,this.nextChar(),this.strBuf=[],this.knownCommands=r,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}),[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"peekChar",value:function(){return this.stream.peekByte()}},{key:"getNumber",value:function(){var e=this.currentChar,t=!1,r=0,A=1;if(45===e?(A=-1,45===(e=this.nextChar())&&(e=this.nextChar())):43===e&&(e=this.nextChar()),10===e||13===e)do{e=this.nextChar()}while(10===e||13===e);if(46===e&&(r=10,e=this.nextChar()),e<48||e>57){var n="Invalid number: ".concat(String.fromCharCode(e)," (charCode ").concat(e,")");if(Dt(e)||-1===e)return T('Lexer.getNumber - "'.concat(n,'".')),0;throw new re(n)}for(var i=e-48,a=0,o=1;(e=this.nextChar())>=0;)if(e>=48&&e<=57){var s=e-48;t?a=10*a+s:(0!==r&&(r*=10),i=10*i+s)}else if(46===e){if(0!==r)break;r=1}else if(45===e)q("Badly formatted number: minus sign in the middle");else{if(69!==e&&101!==e)break;if(43===(e=this.peekChar())||45===e)o=45===e?-1:1,this.nextChar();else if(e<48||e>57)break;t=!0}return 0!==r&&(i/=r),t&&(i*=Math.pow(10,o*a)),A*i}},{key:"getString",value:function(){var e=1,t=!1,r=this.strBuf;r.length=0;for(var A=this.nextChar();;){var n=!1;switch(0|A){case-1:q("Unterminated string"),t=!0;break;case 40:++e,r.push("(");break;case 41:0==--e?(this.nextChar(),t=!0):r.push(")");break;case 92:switch(A=this.nextChar()){case-1:q("Unterminated string"),t=!0;break;case 110:r.push("\\n");break;case 114:r.push("\\r");break;case 116:r.push("\\t");break;case 98:r.push("\\b");break;case 102:r.push("\\f");break;case 92:case 40:case 41:r.push(String.fromCharCode(A));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var i=15&A;n=!0,(A=this.nextChar())>=48&&A<=55&&(i=(i<<3)+(15&A),(A=this.nextChar())>=48&&A<=55&&(n=!1,i=(i<<3)+(15&A))),r.push(String.fromCharCode(i));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:r.push(String.fromCharCode(A))}break;default:r.push(String.fromCharCode(A))}if(t)break;n||(A=this.nextChar())}return r.join("")}},{key:"getName",value:function(){var e,t,r=this.strBuf;for(r.length=0;(e=this.nextChar())>=0&&!Yo[e];)if(35===e){if(e=this.nextChar(),Yo[e]){q("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),r.push("#");break}var A=Po(e);if(-1!==A){t=e;var n=Po(e=this.nextChar());if(-1===n){if(q("Lexer_getName: Illegal digit (".concat(String.fromCharCode(e),") ")+"in hexadecimal number."),r.push("#",String.fromCharCode(t)),Yo[e])break;r.push(String.fromCharCode(e));continue}r.push(String.fromCharCode(A<<4|n))}else r.push("#",String.fromCharCode(e))}else r.push(String.fromCharCode(e));return r.length>127&&q("Name token is longer than allowed by the spec: ".concat(r.length)),Ue.get(r.join(""))}},{key:"_hexStringWarn",value:function(e){5!=this._hexStringNumWarn++?this._hexStringNumWarn>5||q("getHexString - ignoring invalid character: ".concat(e)):q("getHexString - ignoring additional invalid characters.")}},{key:"getHexString",value:function(){var e=this.strBuf;e.length=0;var t=this.currentChar,r=-1,A=-1;for(this._hexStringNumWarn=0;;){if(t<0){q("Unterminated hex string");break}if(62===t){this.nextChar();break}1!==Yo[t]?(-1===(A=Po(t))?this._hexStringWarn(t):-1===r?r=A:(e.push(String.fromCharCode(r<<4|A)),r=-1),t=this.nextChar()):t=this.nextChar()}return-1!==r&&e.push(String.fromCharCode(r<<4)),e.join("")}},{key:"getObj",value:function(){for(var e=!1,t=this.currentChar;;){if(t<0)return Re;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(1!==Yo[t])break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),Me.get("[");case 93:return this.nextChar(),Me.get("]");case 60:return 60===(t=this.nextChar())?(this.nextChar(),Me.get("<<")):this.getHexString();case 62:return 62===(t=this.nextChar())?(this.nextChar(),Me.get(">>")):Me.get(">");case 123:return this.nextChar(),Me.get("{");case 125:return this.nextChar(),Me.get("}");case 41:throw this.nextChar(),new re("Illegal character: ".concat(t))}var r=String.fromCharCode(t);if(t<32||t>127){var A=this.peekChar();if(A>=32&&A<=127)return this.nextChar(),Me.get(r)}for(var n=this.knownCommands,i=void 0!==(null==n?void 0:n[r]);(t=this.nextChar())>=0&&!Yo[t];){var a=r+String.fromCharCode(t);if(i&&void 0===n[a])break;if(128===r.length)throw new re("Command token too long: ".concat(r.length));r=a,i=void 0!==(null==n?void 0:n[r])}return"true"===r||"false"!==r&&("null"===r?null:("BI"===r&&(this.beginInlineImagePos=this.stream.pos),Me.get(r)))}},{key:"skipToNextLine",value:function(){for(var e=this.currentChar;e>=0;){if(13===e){10===(e=this.nextChar())&&this.nextChar();break}if(10===e){this.nextChar();break}e=this.nextChar()}}}])}(),Ko=function(){return Lo((function e(){Go(this,e)}),null,[{key:"create",value:function(e){function t(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],A=e.get(t);if(Number.isInteger(A)&&(r?A>=0:A>0))return A;throw new Error('The "'.concat(t,'" parameter in the linearization ')+"dictionary is invalid.")}var r,A,n=new Jo({lexer:new Oo(e),xref:null}),i=n.getObj(),a=n.getObj(),o=n.getObj(),s=n.getObj();if(!(Number.isInteger(i)&&Number.isInteger(a)&&Te(o,"obj")&&s instanceof He&&"number"==typeof(r=s.get("Linearized"))&&r>0))return null;if((A=t(s,"L"))!==e.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:A,hints:function(e){var t,r=e.get("H");if(Array.isArray(r)&&(2===(t=r.length)||4===t)){for(var A=0;A<t;A++){var n=r[A];if(!(Number.isInteger(n)&&n>0))throw new Error("Hint (".concat(A,") in the linearization dictionary is invalid."))}return r}throw new Error("Hint array in the linearization dictionary is invalid.")}(s),objectNumberFirst:t(s,"O"),endFirst:t(s,"E"),numPages:t(s,"N"),mainXRefEntriesOffset:t(s,"T"),pageFirst:s.has("P")?t(s,"P",!0):0}}}])}();function To(){To=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function qo(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function jo(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){qo(i,A,n,a,o,"next",e)}function o(e){qo(i,A,n,a,o,"throw",e)}a(void 0)}))}}function Wo(e,t,r){return t=_o(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Zo()?Reflect.construct(t,r||[],_o(e).constructor):t.apply(e,r))}function Zo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Zo=function(){return!!e})()}function _o(e){return _o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_o(e)}function Xo(e,t){return Xo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xo(e,t)}function Vo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zo(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,es(A.key),A)}}function $o(e,t,r){return t&&zo(e.prototype,t),r&&zo(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function es(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var ts=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],rs=Math.pow(2,24)-1,As=function(){return $o((function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Vo(this,e),this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=t}),[{key:"addCodespaceRange",value:function(e,t,r){this.codespaceRanges[e-1].push(t,r),this.numCodespaceRanges++}},{key:"mapCidRange",value:function(e,t,r){if(t-e>rs)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;e<=t;)this._map[e++]=r++}},{key:"mapBfRange",value:function(e,t,r){if(t-e>rs)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");for(var A=r.length-1;e<=t;){this._map[e++]=r;var n=r.charCodeAt(A)+1;r=n>255?r.substring(0,A-1)+String.fromCharCode(r.charCodeAt(A-1)+1)+"\\0":r.substring(0,A)+String.fromCharCode(n)}}},{key:"mapBfRangeToArray",value:function(e,t,r){if(t-e>rs)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");for(var A=r.length,n=0;e<=t&&n<A;)this._map[e]=r[n++],++e}},{key:"mapOne",value:function(e,t){this._map[e]=t}},{key:"lookup",value:function(e){return this._map[e]}},{key:"contains",value:function(e){return void 0!==this._map[e]}},{key:"forEach",value:function(e){var t=this._map,r=t.length;if(r<=65536)for(var A=0;A<r;A++)void 0!==t[A]&&e(A,t[A]);else for(var n in t)e(n,t[n])}},{key:"charCodeOf",value:function(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(var r in t)if(t[r]===e)return 0|r;return-1}},{key:"getMap",value:function(){return this._map}},{key:"readCharCode",value:function(e,t,r){for(var A=0,n=this.codespaceRanges,i=0,a=n.length;i<a;i++){A=(A<<8|e.charCodeAt(t+i))>>>0;for(var o=n[i],s=0,c=o.length;s<c;){var g=o[s++],u=o[s++];if(A>=g&&A<=u)return r.charcode=A,void(r.length=i+1)}}r.charcode=0,r.length=1}},{key:"getCharCodeLength",value:function(e){for(var t=this.codespaceRanges,r=0,A=t.length;r<A;r++)for(var n=t[r],i=0,a=n.length;i<a;){var o=n[i++],s=n[i++];if(e>=o&&e<=s)return r+1}return 1}},{key:"length",get:function(){return this._map.length}},{key:"isIdentityCMap",get:function(){if("Identity-H"!==this.name&&"Identity-V"!==this.name)return!1;if(65536!==this._map.length)return!1;for(var e=0;e<65536;e++)if(this._map[e]!==e)return!1;return!0}}])}(),ns=function(e){function t(e,r){var A;return Vo(this,t),(A=Wo(this,t)).vertical=e,A.addCodespaceRange(r,0,65535),A}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xo(e,t)}(t,As),$o(t,[{key:"mapCidRange",value:function(e,t,r){j("should not call mapCidRange")}},{key:"mapBfRange",value:function(e,t,r){j("should not call mapBfRange")}},{key:"mapBfRangeToArray",value:function(e,t,r){j("should not call mapBfRangeToArray")}},{key:"mapOne",value:function(e,t){j("should not call mapCidOne")}},{key:"lookup",value:function(e){return Number.isInteger(e)&&e<=65535?e:void 0}},{key:"contains",value:function(e){return Number.isInteger(e)&&e<=65535}},{key:"forEach",value:function(e){for(var t=0;t<=65535;t++)e(t,t)}},{key:"charCodeOf",value:function(e){return Number.isInteger(e)&&e<=65535?e:-1}},{key:"getMap",value:function(){for(var e=new Array(65536),t=0;t<=65535;t++)e[t]=t;return e}},{key:"length",get:function(){return 65536}},{key:"isIdentityCMap",get:function(){j("should not access .isIdentityCMap")}}])}();function is(e){for(var t=0,r=0;r<e.length;r++)t=t<<8|e.charCodeAt(r);return t>>>0}function as(e){if("string"!=typeof e)throw new re("Malformed CMap: expected string.")}function os(e){if(!Number.isInteger(e))throw new re("Malformed CMap: expected int.")}function ss(e,t){for(;;){var r=t.getObj();if(r===Re)break;if(Te(r,"endbfchar"))return;as(r);var A=is(r);as(r=t.getObj());var n=r;e.mapOne(A,n)}}function cs(e,t){for(;;){var r=t.getObj();if(r===Re)break;if(Te(r,"endbfrange"))return;as(r);var A=is(r);as(r=t.getObj());var n=is(r);if(r=t.getObj(),Number.isInteger(r)||"string"==typeof r){var i=Number.isInteger(r)?String.fromCharCode(r):r;e.mapBfRange(A,n,i)}else{if(!Te(r,"["))break;r=t.getObj();for(var a=[];!Te(r,"]")&&r!==Re;)a.push(r),r=t.getObj();e.mapBfRangeToArray(A,n,a)}}throw new re("Invalid bf range.")}function gs(e,t){for(;;){var r=t.getObj();if(r===Re)break;if(Te(r,"endcidchar"))return;as(r);var A=is(r);os(r=t.getObj());var n=r;e.mapOne(A,n)}}function us(e,t){for(;;){var r=t.getObj();if(r===Re)break;if(Te(r,"endcidrange"))return;as(r);var A=is(r);as(r=t.getObj());var n=is(r);os(r=t.getObj());var i=r;e.mapCidRange(A,n,i)}}function ls(e,t){for(;;){var r=t.getObj();if(r===Re)break;if(Te(r,"endcodespacerange"))return;if("string"!=typeof r)break;var A=is(r);if("string"!=typeof(r=t.getObj()))break;var n=is(r);e.addCodespaceRange(r.length,A,n)}throw new re("Invalid codespace range.")}function hs(e,t){var r=t.getObj();Number.isInteger(r)&&(e.vertical=!!r)}function Is(e,t){var r=t.getObj();r instanceof Ue&&(e.name=r.name)}function fs(e,t,r,A){return Cs.apply(this,arguments)}function Cs(){return(Cs=jo(To().mark((function e(t,r,A,n){var i,a,o;return To().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,(o=r.getObj())!==Re){e.next=7;break}return e.abrupt("break",39);case 7:if(!(o instanceof Ue)){e.next=12;break}"WMode"===o.name?hs(t,r):"CMapName"===o.name&&Is(t,r),i=o,e.next=29;break;case 12:if(!(o instanceof Me)){e.next=29;break}e.t0=o.cmd,e.next="endcmap"===e.t0?16:"usecmap"===e.t0?17:"begincodespacerange"===e.t0?19:"beginbfchar"===e.t0?21:"begincidchar"===e.t0?23:"beginbfrange"===e.t0?25:"begincidrange"===e.t0?27:29;break;case 16:return e.abrupt("break",39);case 17:return i instanceof Ue&&(a=i.name),e.abrupt("break",29);case 19:return ls(t,r),e.abrupt("break",29);case 21:return ss(t,r),e.abrupt("break",29);case 23:return gs(t,r),e.abrupt("break",29);case 25:return cs(t,r),e.abrupt("break",29);case 27:return us(t,r),e.abrupt("break",29);case 29:e.next=37;break;case 31:if(e.prev=31,e.t1=e.catch(1),!(e.t1 instanceof Ct)){e.next=35;break}throw e.t1;case 35:return q("Invalid cMap data: "+e.t1),e.abrupt("continue",0);case 37:e.next=0;break;case 39:if(!n&&a&&(n=a),!n){e.next=42;break}return e.abrupt("return",Bs(t,A,n));case 42:return e.abrupt("return",t);case 43:case"end":return e.stop()}}),e,null,[[1,31]])})))).apply(this,arguments)}function Bs(e,t,r){return Qs.apply(this,arguments)}function Qs(){return(Qs=jo(To().mark((function e(t,r,A){var n,i;return To().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Es(A,r);case 2:if(t.useCMap=e.sent,0===t.numCodespaceRanges){for(n=t.useCMap.codespaceRanges,i=0;i<n.length;i++)t.codespaceRanges[i]=n[i].slice();t.numCodespaceRanges=t.useCMap.numCodespaceRanges}return t.useCMap.forEach((function(e,r){t.contains(e)||t.mapOne(e,t.useCMap.lookup(e))})),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Es(e,t){return ds.apply(this,arguments)}function ds(){return(ds=jo(To().mark((function e(t,r){var A,n,i,a,o;return To().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Identity-H"!==t){e.next=4;break}return e.abrupt("return",new ns(!1,2));case 4:if("Identity-V"!==t){e.next=6;break}return e.abrupt("return",new ns(!0,2));case 6:if(ts.includes(t)){e.next=8;break}throw new Error("Unknown CMap name: "+t);case 8:if(r){e.next=10;break}throw new Error("Built-in CMap parameters are not provided.");case 10:return e.next=12,r(t);case 12:if(A=e.sent,n=A.cMapData,i=A.compressionType,a=new As(!0),i!==F.BINARY){e.next=18;break}return e.abrupt("return",(new GA).process(n,a,(function(e){return Bs(a,r,e)})));case 18:if(i!==F.NONE){e.next=21;break}return o=new Oo(new ar(n)),e.abrupt("return",fs(a,o,r,null));case 21:throw new Error('Invalid CMap "compressionType" value: '.concat(i));case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ys=function(){return $o((function e(){Vo(this,e)}),null,[{key:"create",value:(e=jo(To().mark((function e(t){var r,A,n,i;return To().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.encoding,A=t.fetchBuiltInCMap,n=t.useCMap,!(r instanceof Ue)){e.next=5;break}return e.abrupt("return",Es(r.name,A));case 5:if(!(r instanceof ze)){e.next=12;break}return e.next=8,fs(new As,new Oo(r),A,n);case 8:if(!(i=e.sent).isIdentityCMap){e.next=11;break}return e.abrupt("return",Es(i.name,A));case 11:return e.abrupt("return",i);case 12:throw new Error("Encoding required.");case 13:case"end":return e.stop()}}),e)}))),function(t){return e.apply(this,arguments)})}]);var e}(),ps=(r(7987),[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","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","quoteleft","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","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"]),vs=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],ms=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"],ws=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],bs=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""],ks=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"],Ds=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","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","quoteleft","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","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""],Ss=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","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"],Fs=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""],xs=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""];function Rs(e){switch(e){case"WinAnsiEncoding":return Ss;case"StandardEncoding":return Ds;case"MacRomanEncoding":return ks;case"SymbolSetEncoding":return Fs;case"ZapfDingbatsEncoding":return xs;case"ExpertEncoding":return ws;case"MacExpertEncoding":return bs;default:return null}}function Gs(e){return function(e){if(Array.isArray(e))return Os(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ps(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ns(e,t,r){return t=Us(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ls()?Reflect.construct(t,r||[],Us(e).constructor):t.apply(e,r))}function Ls(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ls=function(){return!!e})()}function Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Us(e)}function Ms(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Js(e,t)}function Js(e,t){return Js=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Js(e,t)}function Hs(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Ps(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ys(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ps(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function Ps(e,t){if(e){if("string"==typeof e)return Os(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Os(e,t):void 0}}function Os(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ts(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,js(A.key),A)}}function qs(e,t,r){return t&&Ts(e.prototype,t),r&&Ts(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function js(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Ws=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","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","quoteleft","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","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],Zs=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],_s=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]+e[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]-e[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]/e[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(e,t){e[t-1]=-e[t-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]*e[t-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}],Xs=function(){return qs((function e(t,r,A){Ks(this,e),this.bytes=t.getBytes(),this.properties=r,this.seacAnalysisEnabled=!!A}),[{key:"parse",value:function(){var e=this.properties,t=new Vs;this.cff=t;var r=this.parseHeader(),A=this.parseIndex(r.endPos),n=this.parseIndex(A.endPos),i=this.parseIndex(n.endPos),a=this.parseIndex(i.endPos),o=this.parseDict(n.obj.get(0)),s=this.createDict(Ac,o,t.strings);t.header=r.obj,t.names=this.parseNameIndex(A.obj),t.strings=this.parseStringIndex(i.obj),t.topDict=s,t.globalSubrIndex=a.obj,this.parsePrivateDict(t.topDict),t.isCIDFont=s.hasName("ROS");var c=s.getByName("CharStrings"),g=this.parseIndex(c).obj,u=s.getByName("FontMatrix");u&&(e.fontMatrix=u);var l,h,I=s.getByName("FontBBox");if(I&&(e.ascent=Math.max(I[3],I[1]),e.descent=Math.min(I[1],I[3]),e.ascentScaled=!0),t.isCIDFont){for(var f=this.parseIndex(s.getByName("FDArray")).obj,C=0,B=f.count;C<B;++C){var Q=f.get(C),E=this.createDict(Ac,this.parseDict(Q),t.strings);this.parsePrivateDict(E),t.fdArray.push(E)}h=null,l=this.parseCharsets(s.getByName("charset"),g.count,t.strings,!0),t.fdSelect=this.parseFDSelect(s.getByName("FDSelect"),g.count)}else l=this.parseCharsets(s.getByName("charset"),g.count,t.strings,!1),h=this.parseEncoding(s.getByName("Encoding"),e,t.strings,l.charset);t.charset=l,t.encoding=h;var d=this.parseCharStrings({charStrings:g,localSubrIndex:s.privateDict.subrsIndex,globalSubrIndex:a.obj,fdSelect:t.fdSelect,fdArray:t.fdArray,privateDict:s.privateDict});return t.charStrings=d.charStrings,t.seacs=d.seacs,t.widths=d.widths,t}},{key:"parseHeader",value:function(){for(var e=this.bytes,t=e.length,r=0;r<t&&1!==e[r];)++r;if(r>=t)throw new re("Invalid CFF header");0!==r&&(T("cff data is shifted"),e=e.subarray(r),this.bytes=e);var A=e[0],n=e[1],i=e[2],a=e[3];return{obj:new zs(A,n,i,a),endPos:i}}},{key:"parseDict",value:function(e){var t=0;var r,A=[],n=[];t=0;for(var i=e.length;t<i;){var a=e[t];a<=21?(12===a&&(a=a<<8|e[++t]),n.push([a,A]),A=[],++t):A.push((r=void 0,30===(r=e[t++])?function(){for(var r="",A=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],n=e.length;t<n;){var i=e[t++],a=i>>4,o=15&i;if(15===a)break;if(r+=A[a],15===o)break;r+=A[o]}return parseFloat(r)}():28===r?r=((r=e[t++])<<24|e[t++]<<16)>>16:29===r?r=(r=(r=(r=e[t++])<<8|e[t++])<<8|e[t++])<<8|e[t++]:r>=32&&r<=246?r-139:r>=247&&r<=250?256*(r-247)+e[t++]+108:r>=251&&r<=254?-256*(r-251)-e[t++]-108:(q('CFFParser_parseDict: "'+r+'" is a reserved command.'),NaN)))}return n}},{key:"parseIndex",value:function(e){var t,r,A=new ec,n=this.bytes,i=n[e++]<<8|n[e++],a=[],o=e;if(0!==i){var s=n[e++],c=e+(i+1)*s-1;for(t=0,r=i+1;t<r;++t){for(var g=0,u=0;u<s;++u)g<<=8,g+=n[e++];a.push(c+g)}o=a[i]}for(t=0,r=a.length-1;t<r;++t){var l=a[t],h=a[t+1];A.add(n.subarray(l,h))}return{obj:A,endPos:o}}},{key:"parseNameIndex",value:function(e){for(var t=[],r=0,A=e.count;r<A;++r){var n=e.get(r);t.push(ne(n))}return t}},{key:"parseStringIndex",value:function(e){for(var t=new $s,r=0,A=e.count;r<A;++r){var n=e.get(r);t.add(ne(n))}return t}},{key:"createDict",value:function(e,t,r){var A,n=new e(r),i=Ys(t);try{for(i.s();!(A=i.n()).done;){var a=Hs(A.value,2),o=a[0],s=a[1];n.setByKey(o,s)}}catch(e){i.e(e)}finally{i.f()}return n}},{key:"parseCharString",value:function(e,t,r,A){if(!t||e.callDepth>10)return!1;for(var n=e.stackSize,i=e.stack,a=t.length,o=0;o<a;){var s=t[o++],c=null;if(12===s){var g=t[o++];0===g?(t[o-2]=139,t[o-1]=22,n=0):c=_s[g]}else if(28===s)i[n]=(t[o]<<24|t[o+1]<<16)>>16,o+=2,n++;else if(14===s){if(n>=4&&(n-=4,this.seacAnalysisEnabled))return e.seac=i.slice(n,n+4),!1;c=Zs[s]}else if(s>=32&&s<=246)i[n]=s-139,n++;else if(s>=247&&s<=254)i[n]=s<251?(s-247<<8)+t[o]+108:-(s-251<<8)-t[o]-108,o++,n++;else if(255===s)i[n]=(t[o]<<24|t[o+1]<<16|t[o+2]<<8|t[o+3])/65536,o+=4,n++;else if(19===s||20===s){if(e.hints+=n>>1,0===e.hints){t.copyWithin(o-1,o,-1),o-=1,a-=1;continue}o+=e.hints+7>>3,n%=2,c=Zs[s]}else{if(10===s||29===s){var u=10===s?r:A;if(!u)return q("Missing subrsIndex for "+(c=Zs[s]).id),!1;var l=32768;u.count<1240?l=107:u.count<33900&&(l=1131);var h=i[--n]+l;if(h<0||h>=u.count||isNaN(h))return q("Out of bounds subrIndex for "+(c=Zs[s]).id),!1;if(e.stackSize=n,e.callDepth++,!this.parseCharString(e,u.get(h),r,A))return!1;e.callDepth--,n=e.stackSize;continue}if(11===s)return e.stackSize=n,!0;if(0===s&&o===t.length)t[o-1]=14,c=Zs[14];else{if(9===s){t.copyWithin(o-1,o,-1),o-=1,a-=1;continue}c=Zs[s]}}if(c){if(c.stem&&(e.hints+=n>>1,3===s||23===s?e.hasVStems=!0:!e.hasVStems||1!==s&&18!==s||(q("CFF stem hints are in wrong order"),t[o-1]=1===s?3:23)),"min"in c&&!e.undefStack&&n<c.min)return q("Not enough parameters for "+c.id+"; actual: "+n+", expected: "+c.min),0===n&&(t[o-1]=14,!0);e.firstStackClearing&&c.stackClearing&&(e.firstStackClearing=!1,(n-=c.min)>=2&&c.stem?n%=2:n>1&&q("Found too many parameters for stack-clearing command"),n>0&&(e.width=i[n-1])),"stackDelta"in c?("stackFn"in c&&c.stackFn(i,n),n+=c.stackDelta):c.stackClearing?n=0:c.resetStack?(n=0,e.undefStack=!1):c.undefStack&&(n=0,e.undefStack=!0,e.firstStackClearing=!1)}}return a<t.length&&t.fill(14,a),e.stackSize=n,!0}},{key:"parseCharStrings",value:function(e){for(var t=e.charStrings,r=e.localSubrIndex,A=e.globalSubrIndex,n=e.fdSelect,i=e.fdArray,a=e.privateDict,o=[],s=[],c=t.count,g=0;g<c;g++){var u=t.get(g),l={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1},h=!0,I=null,f=a;if(n&&i.length){var C=n.getFDIndex(g);-1===C&&(q("Glyph index is not in fd select."),h=!1),C>=i.length&&(q("Invalid fd index for glyph index."),h=!1),h&&(I=(f=i[C].privateDict).subrsIndex)}else r&&(I=r);if(h&&(h=this.parseCharString(l,u,I,A)),null!==l.width){var B=f.getByName("nominalWidthX");s[g]=B+l.width}else{var Q=f.getByName("defaultWidthX");s[g]=Q}null!==l.seac&&(o[g]=l.seac),h||t.set(g,new Uint8Array([14]))}return{charStrings:t,seacs:o,widths:s}}},{key:"emptyPrivateDictionary",value:function(e){var t=this.createDict(ic,[],e.strings);e.setByKey(18,[0,0]),e.privateDict=t}},{key:"parsePrivateDict",value:function(e){if(e.hasName("Private")){var t=e.getByName("Private");if(Array.isArray(t)&&2===t.length){var r=t[0],A=t[1];if(0===r||A>=this.bytes.length)this.emptyPrivateDictionary(e);else{var n=A+r,i=this.bytes.subarray(A,n),a=this.parseDict(i),o=this.createDict(ic,a,e.strings);if(e.privateDict=o,0===o.getByName("ExpansionFactor")&&o.setByName("ExpansionFactor",.06),o.getByName("Subrs")){var s=o.getByName("Subrs"),c=A+s;if(0===s||c>=this.bytes.length)this.emptyPrivateDictionary(e);else{var g=this.parseIndex(c);o.subrsIndex=g.obj}}}}else e.removeByName("Private")}else this.emptyPrivateDictionary(e)}},{key:"parseCharsets",value:function(e,t,r,A){if(0===e)return new oc(!0,ac.ISO_ADOBE,ps);if(1===e)return new oc(!0,ac.EXPERT,vs);if(2===e)return new oc(!0,ac.EXPERT_SUBSET,ms);var n,i,a,o=this.bytes,s=e,c=o[e++],g=[A?0:".notdef"];switch(t-=1,c){case 0:for(a=0;a<t;a++)n=o[e++]<<8|o[e++],g.push(A?n:r.get(n));break;case 1:for(;g.length<=t;)for(n=o[e++]<<8|o[e++],i=o[e++],a=0;a<=i;a++)g.push(A?n++:r.get(n++));break;case 2:for(;g.length<=t;)for(n=o[e++]<<8|o[e++],i=o[e++]<<8|o[e++],a=0;a<=i;a++)g.push(A?n++:r.get(n++));break;default:throw new re("Unknown charset format")}var u=e,l=o.subarray(s,u);return new oc(!1,c,g,l)}},{key:"parseEncoding",value:function(e,t,r,A){var n,i,a,o=Object.create(null),s=this.bytes,c=!1,g=null;if(0===e||1===e){c=!0,n=e;var u=e?ws:Ds;for(i=0,a=A.length;i<a;i++){var l=u.indexOf(A[i]);-1!==l&&(o[l]=i)}}else{var h=e;switch(127&(n=s[e++])){case 0:var I=s[e++];for(i=1;i<=I;i++)o[s[e++]]=i;break;case 1:var f=s[e++],C=1;for(i=0;i<f;i++)for(var B=s[e++],Q=s[e++],E=B;E<=B+Q;E++)o[E]=C++;break;default:throw new re("Unknown encoding format: ".concat(n," in CFF"))}var d=e;128&n&&(s[h]&=127,function(){var t=s[e++];for(i=0;i<t;i++){var n=s[e++],a=(s[e++]<<8)+(255&s[e++]);o[n]=A.indexOf(r.get(a))}}()),g=s.subarray(h,d)}return new sc(c,n&=127,o,g)}},{key:"parseFDSelect",value:function(e,t){var r,A=this.bytes,n=A[e++],i=[];switch(n){case 0:for(r=0;r<t;++r){var a=A[e++];i.push(a)}break;case 3:var o=A[e++]<<8|A[e++];for(r=0;r<o;++r){var s=A[e++]<<8|A[e++];0===r&&0!==s&&(q("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),s=0);for(var c=A[e++],g=A[e]<<8|A[e+1],u=s;u<g;++u)i.push(c)}e+=2;break;default:throw new re('parseFDSelect: Unknown format "'.concat(n,'".'))}if(i.length!==t)throw new re("parseFDSelect: Invalid font data.");return new cc(n,i)}}])}(),Vs=function(){return qs((function e(){Ks(this,e),this.header=null,this.names=[],this.topDict=null,this.strings=new $s,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}),[{key:"duplicateFirstGlyph",value:function(){if(this.charStrings.count>=65535)q("Not enough space in charstrings to duplicate first glyph.");else{var e=this.charStrings.get(0);this.charStrings.add(e),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}}},{key:"hasGlyphId",value:function(e){return!(e<0||e>=this.charStrings.count)&&this.charStrings.get(e).length>0}}])}(),zs=qs((function e(t,r,A,n){Ks(this,e),this.major=t,this.minor=r,this.hdrSize=A,this.offSize=n})),$s=function(){return qs((function e(){Ks(this,e),this.strings=[]}),[{key:"get",value:function(e){return e>=0&&e<=390?Ws[e]:e-391<=this.strings.length?this.strings[e-391]:Ws[0]}},{key:"getSID",value:function(e){var t=Ws.indexOf(e);return-1!==t?t:-1!==(t=this.strings.indexOf(e))?t+391:-1}},{key:"add",value:function(e){this.strings.push(e)}},{key:"count",get:function(){return this.strings.length}}])}(),ec=function(){return qs((function e(){Ks(this,e),this.objects=[],this.length=0}),[{key:"add",value:function(e){this.length+=e.length,this.objects.push(e)}},{key:"set",value:function(e,t){this.length+=t.length-this.objects[e].length,this.objects[e]=t}},{key:"get",value:function(e){return this.objects[e]}},{key:"count",get:function(){return this.objects.length}}])}(),tc=function(){return qs((function e(t,r){Ks(this,e),this.keyToNameMap=t.keyToNameMap,this.nameToKeyMap=t.nameToKeyMap,this.defaults=t.defaults,this.types=t.types,this.opcodes=t.opcodes,this.order=t.order,this.strings=r,this.values=Object.create(null)}),[{key:"setByKey",value:function(e,t){if(!(e in this.keyToNameMap))return!1;if(0===t.length)return!0;var r,A=Ys(t);try{for(A.s();!(r=A.n()).done;){var n=r.value;if(isNaN(n))return q('Invalid CFFDict value: "'.concat(t,'" for key "').concat(e,'".')),!0}}catch(e){A.e(e)}finally{A.f()}var i=this.types[e];return"num"!==i&&"sid"!==i&&"offset"!==i||(t=t[0]),this.values[e]=t,!0}},{key:"setByName",value:function(e,t){if(!(e in this.nameToKeyMap))throw new re('Invalid dictionary name "'.concat(e,'"'));this.values[this.nameToKeyMap[e]]=t}},{key:"hasName",value:function(e){return this.nameToKeyMap[e]in this.values}},{key:"getByName",value:function(e){if(!(e in this.nameToKeyMap))throw new re("Invalid dictionary name ".concat(e,'"'));var t=this.nameToKeyMap[e];return t in this.values?this.values[t]:this.defaults[t]}},{key:"removeByName",value:function(e){delete this.values[this.nameToKeyMap[e]]}}],[{key:"createTables",value:function(e){var t,r={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},A=Ys(e);try{for(A.s();!(t=A.n()).done;){var n=t.value,i=Array.isArray(n[0])?(n[0][0]<<8)+n[0][1]:n[0];r.keyToNameMap[i]=n[1],r.nameToKeyMap[n[1]]=i,r.types[i]=n[2],r.defaults[i]=n[3],r.opcodes[i]=Array.isArray(n[0])?n[0]:[n[0]],r.order.push(i)}}catch(e){A.e(e)}finally{A.f()}return r}}])}(),rc=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]],Ac=function(e){function t(e){var r;return Ks(this,t),(r=Ns(this,t,[t.tables,e])).privateDict=null,r}return Ms(t,tc),qs(t,null,[{key:"tables",get:function(){return _(this,"tables",this.createTables(rc))}}])}(),nc=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]],ic=function(e){function t(e){var r;return Ks(this,t),(r=Ns(this,t,[t.tables,e])).subrsIndex=null,r}return Ms(t,tc),qs(t,null,[{key:"tables",get:function(){return _(this,"tables",this.createTables(nc))}}])}(),ac={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},oc=qs((function e(t,r,A,n){Ks(this,e),this.predefined=t,this.format=r,this.charset=A,this.raw=n})),sc=qs((function e(t,r,A,n){Ks(this,e),this.predefined=t,this.format=r,this.encoding=A,this.raw=n})),cc=function(){return qs((function e(t,r){Ks(this,e),this.format=t,this.fdSelect=r}),[{key:"getFDIndex",value:function(e){return e<0||e>=this.fdSelect.length?-1:this.fdSelect[e]}}])}(),gc=function(){return qs((function e(){Ks(this,e),this.offsets=Object.create(null)}),[{key:"isTracking",value:function(e){return e in this.offsets}},{key:"track",value:function(e,t){if(e in this.offsets)throw new re("Already tracking location of ".concat(e));this.offsets[e]=t}},{key:"offset",value:function(e){for(var t in this.offsets)this.offsets[t]+=e}},{key:"setEntryLocation",value:function(e,t,r){if(!(e in this.offsets))throw new re("Not tracking location of ".concat(e));for(var A=r.data,n=this.offsets[e],i=0,a=t.length;i<a;++i){var o=5*i+n,s=o+1,c=o+2,g=o+3,u=o+4;if(29!==A[o]||0!==A[s]||0!==A[c]||0!==A[g]||0!==A[u])throw new re("writing to an offset that is not empty");var l=t[i];A[o]=29,A[s]=l>>24&255,A[c]=l>>16&255,A[g]=l>>8&255,A[u]=255&l}}}])}(),uc=function(){function e(t){Ks(this,e),this.cff=t}return qs(e,[{key:"compile",value:function(){var e=this.cff,t={data:[],length:0,add(e){try{var t;(t=this.data).push.apply(t,Gs(e))}catch(t){this.data=this.data.concat(e)}this.length=this.data.length}},r=this.compileHeader(e.header);t.add(r);var A=this.compileNameIndex(e.names);if(t.add(A),e.isCIDFont&&e.topDict.hasName("FontMatrix")){var n=e.topDict.getByName("FontMatrix");e.topDict.removeByName("FontMatrix");var i,a=Ys(e.fdArray);try{for(a.s();!(i=a.n()).done;){var o=i.value,s=n.slice(0);o.hasName("FontMatrix")&&(s=ge.transform(s,o.getByName("FontMatrix"))),o.setByName("FontMatrix",s)}}catch(e){a.e(e)}finally{a.f()}}var c=e.topDict.getByName("XUID");(null==c?void 0:c.length)>16&&e.topDict.removeByName("XUID"),e.topDict.setByName("charset",0);var g=this.compileTopDicts([e.topDict],t.length,e.isCIDFont);t.add(g.output);var u=g.trackers[0],l=this.compileStringIndex(e.strings.strings);t.add(l);var h=this.compileIndex(e.globalSubrIndex);if(t.add(h),e.encoding&&e.topDict.hasName("Encoding"))if(e.encoding.predefined)u.setEntryLocation("Encoding",[e.encoding.format],t);else{var I=this.compileEncoding(e.encoding);u.setEntryLocation("Encoding",[t.length],t),t.add(I)}var f=this.compileCharset(e.charset,e.charStrings.count,e.strings,e.isCIDFont);u.setEntryLocation("charset",[t.length],t),t.add(f);var C=this.compileCharStrings(e.charStrings);if(u.setEntryLocation("CharStrings",[t.length],t),t.add(C),e.isCIDFont){u.setEntryLocation("FDSelect",[t.length],t);var B=this.compileFDSelect(e.fdSelect);t.add(B),g=this.compileTopDicts(e.fdArray,t.length,!0),u.setEntryLocation("FDArray",[t.length],t),t.add(g.output);var Q=g.trackers;this.compilePrivateDicts(e.fdArray,Q,t)}return this.compilePrivateDicts([e.topDict],[u],t),t.add([0]),t.data}},{key:"encodeNumber",value:function(e){return Number.isInteger(e)?this.encodeInteger(e):this.encodeFloat(e)}},{key:"encodeFloat",value:function(t){var r=t.toString(),A=e.EncodeFloatRegExp.exec(r);if(A){var n=parseFloat("1e"+((A[2]?+A[2]:0)+A[1].length));r=(Math.round(t*n)/n).toString()}var i,a,o="";for(i=0,a=r.length;i<a;++i){var s=r[i];o+="e"===s?"-"===r[++i]?"c":"b":"."===s?"a":"-"===s?"e":s}var c=[30];for(i=0,a=(o+=1&o.length?"f":"ff").length;i<a;i+=2)c.push(parseInt(o.substring(i,i+2),16));return c}},{key:"encodeInteger",value:function(e){return e>=-107&&e<=107?[e+139]:e>=108&&e<=1131?[247+((e-=108)>>8),255&e]:e>=-1131&&e<=-108?[251+((e=-e-108)>>8),255&e]:e>=-32768&&e<=32767?[28,e>>8&255,255&e]:[29,e>>24&255,e>>16&255,e>>8&255,255&e]}},{key:"compileHeader",value:function(e){return[e.major,e.minor,4,e.offSize]}},{key:"compileNameIndex",value:function(e){var t,r=new ec,A=Ys(e);try{for(A.s();!(t=A.n()).done;){for(var n=t.value,i=Math.min(n.length,127),a=new Array(i),o=0;o<i;o++){var s=n[o];(s<"!"||s>"~"||"["===s||"]"===s||"("===s||")"===s||"{"===s||"}"===s||"<"===s||">"===s||"/"===s||"%"===s)&&(s="_"),a[o]=s}""===(a=a.join(""))&&(a="Bad_Font_Name"),r.add(ie(a))}}catch(e){A.e(e)}finally{A.f()}return this.compileIndex(r)}},{key:"compileTopDicts",value:function(e,t,r){var A,n=[],i=new ec,a=Ys(e);try{for(a.s();!(A=a.n()).done;){var o=A.value;r&&(o.removeByName("CIDFontVersion"),o.removeByName("CIDFontRevision"),o.removeByName("CIDFontType"),o.removeByName("CIDCount"),o.removeByName("UIDBase"));var s=new gc,c=this.compileDict(o,s);n.push(s),i.add(c),s.offset(t)}}catch(e){a.e(e)}finally{a.f()}return{trackers:n,output:i=this.compileIndex(i,n)}}},{key:"compilePrivateDicts",value:function(e,t,r){for(var A=0,n=e.length;A<n;++A){var i=e[A],a=i.privateDict;if(!a||!i.hasName("Private"))throw new re("There must be a private dictionary.");var o=new gc,s=this.compileDict(a,o),c=r.length;if(o.offset(c),s.length||(c=0),t[A].setEntryLocation("Private",[s.length,c],r),r.add(s),a.subrsIndex&&a.hasName("Subrs")){var g=this.compileIndex(a.subrsIndex);o.setEntryLocation("Subrs",[s.length],r),r.add(g)}}}},{key:"compileDict",value:function(e,t){var r,A=[],n=Ys(e.order);try{for(n.s();!(r=n.n()).done;){var i=r.value;if(i in e.values){var a=e.values[i],o=e.types[i];if(Array.isArray(o)||(o=[o]),Array.isArray(a)||(a=[a]),0!==a.length){for(var s=0,c=o.length;s<c;++s){var g=o[s],u=a[s];switch(g){case"num":case"sid":A.push.apply(A,Gs(this.encodeNumber(u)));break;case"offset":var l=e.keyToNameMap[i];t.isTracking(l)||t.track(l,A.length),A.push(29,0,0,0,0);break;case"array":case"delta":A.push.apply(A,Gs(this.encodeNumber(u)));for(var h=1,I=a.length;h<I;++h)A.push.apply(A,Gs(this.encodeNumber(a[h])));break;default:throw new re("Unknown data type of ".concat(g))}}A.push.apply(A,Gs(e.opcodes[i]))}}}}catch(e){n.e(e)}finally{n.f()}return A}},{key:"compileStringIndex",value:function(e){var t,r=new ec,A=Ys(e);try{for(A.s();!(t=A.n()).done;){var n=t.value;r.add(ie(n))}}catch(e){A.e(e)}finally{A.f()}return this.compileIndex(r)}},{key:"compileCharStrings",value:function(e){for(var t=new ec,r=0;r<e.count;r++){var A=e.get(r);0!==A.length?t.add(A):t.add(new Uint8Array([139,14]))}return this.compileIndex(t)}},{key:"compileCharset",value:function(e,t,r,A){var n,i=t-1;if(A)n=new Uint8Array([2,0,0,i>>8&255,255&i]);else{(n=new Uint8Array(1+2*i))[0]=0;for(var a=0,o=e.charset.length,s=!1,c=1;c<n.length;c+=2){var g=0;if(a<o){var u=e.charset[a++];-1===(g=r.getSID(u))&&(g=0,s||(s=!0,q("Couldn't find ".concat(u," in CFF strings"))))}n[c]=g>>8&255,n[c+1]=255&g}}return this.compileTypedArray(n)}},{key:"compileEncoding",value:function(e){return this.compileTypedArray(e.raw)}},{key:"compileFDSelect",value:function(e){var t,r,A=e.format;switch(A){case 0:for((t=new Uint8Array(1+e.fdSelect.length))[0]=A,r=0;r<e.fdSelect.length;r++)t[r+1]=e.fdSelect[r];break;case 3:var n=e.fdSelect[0],i=[A,0,0,0,0,n];for(r=1;r<e.fdSelect.length;r++){var a=e.fdSelect[r];a!==n&&(i.push(r>>8&255,255&r,a),n=a)}var o=(i.length-3)/3;i[1]=o>>8&255,i[2]=255&o,i.push(r>>8&255,255&r),t=new Uint8Array(i)}return this.compileTypedArray(t)}},{key:"compileTypedArray",value:function(e){return Array.from(e)}},{key:"compileIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.objects,A=r.length;if(0===A)return[0,0];var n,i,a=[A>>8&255,255&A],o=1;for(n=0;n<A;++n)o+=r[n].length;i=o<256?1:o<65536?2:o<16777216?3:4,a.push(i);var s=1;for(n=0;n<A+1;n++)1===i?a.push(255&s):2===i?a.push(s>>8&255,255&s):3===i?a.push(s>>16&255,s>>8&255,255&s):a.push(s>>>24&255,s>>16&255,s>>8&255,255&s),r[n]&&(s+=r[n].length);for(n=0;n<A;n++)t[n]&&t[n].offset(a.length),a.push.apply(a,Gs(r[n]));return a}}],[{key:"EncodeFloatRegExp",get:function(){return _(this,"EncodeFloatRegExp",/\\.(\\d*?)(?:9{5,20}|0{5,20})\\d{0,2}(?:e(.+)|$)/)}}])}(),lc=ft((function(e){e.A=65,e.AE=198,e.AEacute=508,e.AEmacron=482,e.AEsmall=63462,e.Aacute=193,e.Aacutesmall=63457,e.Abreve=258,e.Abreveacute=7854,e.Abrevecyrillic=1232,e.Abrevedotbelow=7862,e.Abrevegrave=7856,e.Abrevehookabove=7858,e.Abrevetilde=7860,e.Acaron=461,e.Acircle=9398,e.Acircumflex=194,e.Acircumflexacute=7844,e.Acircumflexdotbelow=7852,e.Acircumflexgrave=7846,e.Acircumflexhookabove=7848,e.Acircumflexsmall=63458,e.Acircumflextilde=7850,e.Acute=63177,e.Acutesmall=63412,e.Acyrillic=1040,e.Adblgrave=512,e.Adieresis=196,e.Adieresiscyrillic=1234,e.Adieresismacron=478,e.Adieresissmall=63460,e.Adotbelow=7840,e.Adotmacron=480,e.Agrave=192,e.Agravesmall=63456,e.Ahookabove=7842,e.Aiecyrillic=1236,e.Ainvertedbreve=514,e.Alpha=913,e.Alphatonos=902,e.Amacron=256,e.Amonospace=65313,e.Aogonek=260,e.Aring=197,e.Aringacute=506,e.Aringbelow=7680,e.Aringsmall=63461,e.Asmall=63329,e.Atilde=195,e.Atildesmall=63459,e.Aybarmenian=1329,e.B=66,e.Bcircle=9399,e.Bdotaccent=7682,e.Bdotbelow=7684,e.Becyrillic=1041,e.Benarmenian=1330,e.Beta=914,e.Bhook=385,e.Blinebelow=7686,e.Bmonospace=65314,e.Brevesmall=63220,e.Bsmall=63330,e.Btopbar=386,e.C=67,e.Caarmenian=1342,e.Cacute=262,e.Caron=63178,e.Caronsmall=63221,e.Ccaron=268,e.Ccedilla=199,e.Ccedillaacute=7688,e.Ccedillasmall=63463,e.Ccircle=9400,e.Ccircumflex=264,e.Cdot=266,e.Cdotaccent=266,e.Cedillasmall=63416,e.Chaarmenian=1353,e.Cheabkhasiancyrillic=1212,e.Checyrillic=1063,e.Chedescenderabkhasiancyrillic=1214,e.Chedescendercyrillic=1206,e.Chedieresiscyrillic=1268,e.Cheharmenian=1347,e.Chekhakassiancyrillic=1227,e.Cheverticalstrokecyrillic=1208,e.Chi=935,e.Chook=391,e.Circumflexsmall=63222,e.Cmonospace=65315,e.Coarmenian=1361,e.Csmall=63331,e.D=68,e.DZ=497,e.DZcaron=452,e.Daarmenian=1332,e.Dafrican=393,e.Dcaron=270,e.Dcedilla=7696,e.Dcircle=9401,e.Dcircumflexbelow=7698,e.Dcroat=272,e.Ddotaccent=7690,e.Ddotbelow=7692,e.Decyrillic=1044,e.Deicoptic=1006,e.Delta=8710,e.Deltagreek=916,e.Dhook=394,e.Dieresis=63179,e.DieresisAcute=63180,e.DieresisGrave=63181,e.Dieresissmall=63400,e.Digammagreek=988,e.Djecyrillic=1026,e.Dlinebelow=7694,e.Dmonospace=65316,e.Dotaccentsmall=63223,e.Dslash=272,e.Dsmall=63332,e.Dtopbar=395,e.Dz=498,e.Dzcaron=453,e.Dzeabkhasiancyrillic=1248,e.Dzecyrillic=1029,e.Dzhecyrillic=1039,e.E=69,e.Eacute=201,e.Eacutesmall=63465,e.Ebreve=276,e.Ecaron=282,e.Ecedillabreve=7708,e.Echarmenian=1333,e.Ecircle=9402,e.Ecircumflex=202,e.Ecircumflexacute=7870,e.Ecircumflexbelow=7704,e.Ecircumflexdotbelow=7878,e.Ecircumflexgrave=7872,e.Ecircumflexhookabove=7874,e.Ecircumflexsmall=63466,e.Ecircumflextilde=7876,e.Ecyrillic=1028,e.Edblgrave=516,e.Edieresis=203,e.Edieresissmall=63467,e.Edot=278,e.Edotaccent=278,e.Edotbelow=7864,e.Efcyrillic=1060,e.Egrave=200,e.Egravesmall=63464,e.Eharmenian=1335,e.Ehookabove=7866,e.Eightroman=8551,e.Einvertedbreve=518,e.Eiotifiedcyrillic=1124,e.Elcyrillic=1051,e.Elevenroman=8554,e.Emacron=274,e.Emacronacute=7702,e.Emacrongrave=7700,e.Emcyrillic=1052,e.Emonospace=65317,e.Encyrillic=1053,e.Endescendercyrillic=1186,e.Eng=330,e.Enghecyrillic=1188,e.Enhookcyrillic=1223,e.Eogonek=280,e.Eopen=400,e.Epsilon=917,e.Epsilontonos=904,e.Ercyrillic=1056,e.Ereversed=398,e.Ereversedcyrillic=1069,e.Escyrillic=1057,e.Esdescendercyrillic=1194,e.Esh=425,e.Esmall=63333,e.Eta=919,e.Etarmenian=1336,e.Etatonos=905,e.Eth=208,e.Ethsmall=63472,e.Etilde=7868,e.Etildebelow=7706,e.Euro=8364,e.Ezh=439,e.Ezhcaron=494,e.Ezhreversed=440,e.F=70,e.Fcircle=9403,e.Fdotaccent=7710,e.Feharmenian=1366,e.Feicoptic=996,e.Fhook=401,e.Fitacyrillic=1138,e.Fiveroman=8548,e.Fmonospace=65318,e.Fourroman=8547,e.Fsmall=63334,e.G=71,e.GBsquare=13191,e.Gacute=500,e.Gamma=915,e.Gammaafrican=404,e.Gangiacoptic=1002,e.Gbreve=286,e.Gcaron=486,e.Gcedilla=290,e.Gcircle=9404,e.Gcircumflex=284,e.Gcommaaccent=290,e.Gdot=288,e.Gdotaccent=288,e.Gecyrillic=1043,e.Ghadarmenian=1346,e.Ghemiddlehookcyrillic=1172,e.Ghestrokecyrillic=1170,e.Gheupturncyrillic=1168,e.Ghook=403,e.Gimarmenian=1331,e.Gjecyrillic=1027,e.Gmacron=7712,e.Gmonospace=65319,e.Grave=63182,e.Gravesmall=63328,e.Gsmall=63335,e.Gsmallhook=667,e.Gstroke=484,e.H=72,e.H18533=9679,e.H18543=9642,e.H18551=9643,e.H22073=9633,e.HPsquare=13259,e.Haabkhasiancyrillic=1192,e.Hadescendercyrillic=1202,e.Hardsigncyrillic=1066,e.Hbar=294,e.Hbrevebelow=7722,e.Hcedilla=7720,e.Hcircle=9405,e.Hcircumflex=292,e.Hdieresis=7718,e.Hdotaccent=7714,e.Hdotbelow=7716,e.Hmonospace=65320,e.Hoarmenian=1344,e.Horicoptic=1e3,e.Hsmall=63336,e.Hungarumlaut=63183,e.Hungarumlautsmall=63224,e.Hzsquare=13200,e.I=73,e.IAcyrillic=1071,e.IJ=306,e.IUcyrillic=1070,e.Iacute=205,e.Iacutesmall=63469,e.Ibreve=300,e.Icaron=463,e.Icircle=9406,e.Icircumflex=206,e.Icircumflexsmall=63470,e.Icyrillic=1030,e.Idblgrave=520,e.Idieresis=207,e.Idieresisacute=7726,e.Idieresiscyrillic=1252,e.Idieresissmall=63471,e.Idot=304,e.Idotaccent=304,e.Idotbelow=7882,e.Iebrevecyrillic=1238,e.Iecyrillic=1045,e.Ifraktur=8465,e.Igrave=204,e.Igravesmall=63468,e.Ihookabove=7880,e.Iicyrillic=1048,e.Iinvertedbreve=522,e.Iishortcyrillic=1049,e.Imacron=298,e.Imacroncyrillic=1250,e.Imonospace=65321,e.Iniarmenian=1339,e.Iocyrillic=1025,e.Iogonek=302,e.Iota=921,e.Iotaafrican=406,e.Iotadieresis=938,e.Iotatonos=906,e.Ismall=63337,e.Istroke=407,e.Itilde=296,e.Itildebelow=7724,e.Izhitsacyrillic=1140,e.Izhitsadblgravecyrillic=1142,e.J=74,e.Jaarmenian=1345,e.Jcircle=9407,e.Jcircumflex=308,e.Jecyrillic=1032,e.Jheharmenian=1355,e.Jmonospace=65322,e.Jsmall=63338,e.K=75,e.KBsquare=13189,e.KKsquare=13261,e.Kabashkircyrillic=1184,e.Kacute=7728,e.Kacyrillic=1050,e.Kadescendercyrillic=1178,e.Kahookcyrillic=1219,e.Kappa=922,e.Kastrokecyrillic=1182,e.Kaverticalstrokecyrillic=1180,e.Kcaron=488,e.Kcedilla=310,e.Kcircle=9408,e.Kcommaaccent=310,e.Kdotbelow=7730,e.Keharmenian=1364,e.Kenarmenian=1343,e.Khacyrillic=1061,e.Kheicoptic=998,e.Khook=408,e.Kjecyrillic=1036,e.Klinebelow=7732,e.Kmonospace=65323,e.Koppacyrillic=1152,e.Koppagreek=990,e.Ksicyrillic=1134,e.Ksmall=63339,e.L=76,e.LJ=455,e.LL=63167,e.Lacute=313,e.Lambda=923,e.Lcaron=317,e.Lcedilla=315,e.Lcircle=9409,e.Lcircumflexbelow=7740,e.Lcommaaccent=315,e.Ldot=319,e.Ldotaccent=319,e.Ldotbelow=7734,e.Ldotbelowmacron=7736,e.Liwnarmenian=1340,e.Lj=456,e.Ljecyrillic=1033,e.Llinebelow=7738,e.Lmonospace=65324,e.Lslash=321,e.Lslashsmall=63225,e.Lsmall=63340,e.M=77,e.MBsquare=13190,e.Macron=63184,e.Macronsmall=63407,e.Macute=7742,e.Mcircle=9410,e.Mdotaccent=7744,e.Mdotbelow=7746,e.Menarmenian=1348,e.Mmonospace=65325,e.Msmall=63341,e.Mturned=412,e.Mu=924,e.N=78,e.NJ=458,e.Nacute=323,e.Ncaron=327,e.Ncedilla=325,e.Ncircle=9411,e.Ncircumflexbelow=7754,e.Ncommaaccent=325,e.Ndotaccent=7748,e.Ndotbelow=7750,e.Nhookleft=413,e.Nineroman=8552,e.Nj=459,e.Njecyrillic=1034,e.Nlinebelow=7752,e.Nmonospace=65326,e.Nowarmenian=1350,e.Nsmall=63342,e.Ntilde=209,e.Ntildesmall=63473,e.Nu=925,e.O=79,e.OE=338,e.OEsmall=63226,e.Oacute=211,e.Oacutesmall=63475,e.Obarredcyrillic=1256,e.Obarreddieresiscyrillic=1258,e.Obreve=334,e.Ocaron=465,e.Ocenteredtilde=415,e.Ocircle=9412,e.Ocircumflex=212,e.Ocircumflexacute=7888,e.Ocircumflexdotbelow=7896,e.Ocircumflexgrave=7890,e.Ocircumflexhookabove=7892,e.Ocircumflexsmall=63476,e.Ocircumflextilde=7894,e.Ocyrillic=1054,e.Odblacute=336,e.Odblgrave=524,e.Odieresis=214,e.Odieresiscyrillic=1254,e.Odieresissmall=63478,e.Odotbelow=7884,e.Ogoneksmall=63227,e.Ograve=210,e.Ogravesmall=63474,e.Oharmenian=1365,e.Ohm=8486,e.Ohookabove=7886,e.Ohorn=416,e.Ohornacute=7898,e.Ohorndotbelow=7906,e.Ohorngrave=7900,e.Ohornhookabove=7902,e.Ohorntilde=7904,e.Ohungarumlaut=336,e.Oi=418,e.Oinvertedbreve=526,e.Omacron=332,e.Omacronacute=7762,e.Omacrongrave=7760,e.Omega=8486,e.Omegacyrillic=1120,e.Omegagreek=937,e.Omegaroundcyrillic=1146,e.Omegatitlocyrillic=1148,e.Omegatonos=911,e.Omicron=927,e.Omicrontonos=908,e.Omonospace=65327,e.Oneroman=8544,e.Oogonek=490,e.Oogonekmacron=492,e.Oopen=390,e.Oslash=216,e.Oslashacute=510,e.Oslashsmall=63480,e.Osmall=63343,e.Ostrokeacute=510,e.Otcyrillic=1150,e.Otilde=213,e.Otildeacute=7756,e.Otildedieresis=7758,e.Otildesmall=63477,e.P=80,e.Pacute=7764,e.Pcircle=9413,e.Pdotaccent=7766,e.Pecyrillic=1055,e.Peharmenian=1354,e.Pemiddlehookcyrillic=1190,e.Phi=934,e.Phook=420,e.Pi=928,e.Piwrarmenian=1363,e.Pmonospace=65328,e.Psi=936,e.Psicyrillic=1136,e.Psmall=63344,e.Q=81,e.Qcircle=9414,e.Qmonospace=65329,e.Qsmall=63345,e.R=82,e.Raarmenian=1356,e.Racute=340,e.Rcaron=344,e.Rcedilla=342,e.Rcircle=9415,e.Rcommaaccent=342,e.Rdblgrave=528,e.Rdotaccent=7768,e.Rdotbelow=7770,e.Rdotbelowmacron=7772,e.Reharmenian=1360,e.Rfraktur=8476,e.Rho=929,e.Ringsmall=63228,e.Rinvertedbreve=530,e.Rlinebelow=7774,e.Rmonospace=65330,e.Rsmall=63346,e.Rsmallinverted=641,e.Rsmallinvertedsuperior=694,e.S=83,e.SF010000=9484,e.SF020000=9492,e.SF030000=9488,e.SF040000=9496,e.SF050000=9532,e.SF060000=9516,e.SF070000=9524,e.SF080000=9500,e.SF090000=9508,e.SF100000=9472,e.SF110000=9474,e.SF190000=9569,e.SF200000=9570,e.SF210000=9558,e.SF220000=9557,e.SF230000=9571,e.SF240000=9553,e.SF250000=9559,e.SF260000=9565,e.SF270000=9564,e.SF280000=9563,e.SF360000=9566,e.SF370000=9567,e.SF380000=9562,e.SF390000=9556,e.SF400000=9577,e.SF410000=9574,e.SF420000=9568,e.SF430000=9552,e.SF440000=9580,e.SF450000=9575,e.SF460000=9576,e.SF470000=9572,e.SF480000=9573,e.SF490000=9561,e.SF500000=9560,e.SF510000=9554,e.SF520000=9555,e.SF530000=9579,e.SF540000=9578,e.Sacute=346,e.Sacutedotaccent=7780,e.Sampigreek=992,e.Scaron=352,e.Scarondotaccent=7782,e.Scaronsmall=63229,e.Scedilla=350,e.Schwa=399,e.Schwacyrillic=1240,e.Schwadieresiscyrillic=1242,e.Scircle=9416,e.Scircumflex=348,e.Scommaaccent=536,e.Sdotaccent=7776,e.Sdotbelow=7778,e.Sdotbelowdotaccent=7784,e.Seharmenian=1357,e.Sevenroman=8550,e.Shaarmenian=1351,e.Shacyrillic=1064,e.Shchacyrillic=1065,e.Sheicoptic=994,e.Shhacyrillic=1210,e.Shimacoptic=1004,e.Sigma=931,e.Sixroman=8549,e.Smonospace=65331,e.Softsigncyrillic=1068,e.Ssmall=63347,e.Stigmagreek=986,e.T=84,e.Tau=932,e.Tbar=358,e.Tcaron=356,e.Tcedilla=354,e.Tcircle=9417,e.Tcircumflexbelow=7792,e.Tcommaaccent=354,e.Tdotaccent=7786,e.Tdotbelow=7788,e.Tecyrillic=1058,e.Tedescendercyrillic=1196,e.Tenroman=8553,e.Tetsecyrillic=1204,e.Theta=920,e.Thook=428,e.Thorn=222,e.Thornsmall=63486,e.Threeroman=8546,e.Tildesmall=63230,e.Tiwnarmenian=1359,e.Tlinebelow=7790,e.Tmonospace=65332,e.Toarmenian=1337,e.Tonefive=444,e.Tonesix=388,e.Tonetwo=423,e.Tretroflexhook=430,e.Tsecyrillic=1062,e.Tshecyrillic=1035,e.Tsmall=63348,e.Twelveroman=8555,e.Tworoman=8545,e.U=85,e.Uacute=218,e.Uacutesmall=63482,e.Ubreve=364,e.Ucaron=467,e.Ucircle=9418,e.Ucircumflex=219,e.Ucircumflexbelow=7798,e.Ucircumflexsmall=63483,e.Ucyrillic=1059,e.Udblacute=368,e.Udblgrave=532,e.Udieresis=220,e.Udieresisacute=471,e.Udieresisbelow=7794,e.Udieresiscaron=473,e.Udieresiscyrillic=1264,e.Udieresisgrave=475,e.Udieresismacron=469,e.Udieresissmall=63484,e.Udotbelow=7908,e.Ugrave=217,e.Ugravesmall=63481,e.Uhookabove=7910,e.Uhorn=431,e.Uhornacute=7912,e.Uhorndotbelow=7920,e.Uhorngrave=7914,e.Uhornhookabove=7916,e.Uhorntilde=7918,e.Uhungarumlaut=368,e.Uhungarumlautcyrillic=1266,e.Uinvertedbreve=534,e.Ukcyrillic=1144,e.Umacron=362,e.Umacroncyrillic=1262,e.Umacrondieresis=7802,e.Umonospace=65333,e.Uogonek=370,e.Upsilon=933,e.Upsilon1=978,e.Upsilonacutehooksymbolgreek=979,e.Upsilonafrican=433,e.Upsilondieresis=939,e.Upsilondieresishooksymbolgreek=980,e.Upsilonhooksymbol=978,e.Upsilontonos=910,e.Uring=366,e.Ushortcyrillic=1038,e.Usmall=63349,e.Ustraightcyrillic=1198,e.Ustraightstrokecyrillic=1200,e.Utilde=360,e.Utildeacute=7800,e.Utildebelow=7796,e.V=86,e.Vcircle=9419,e.Vdotbelow=7806,e.Vecyrillic=1042,e.Vewarmenian=1358,e.Vhook=434,e.Vmonospace=65334,e.Voarmenian=1352,e.Vsmall=63350,e.Vtilde=7804,e.W=87,e.Wacute=7810,e.Wcircle=9420,e.Wcircumflex=372,e.Wdieresis=7812,e.Wdotaccent=7814,e.Wdotbelow=7816,e.Wgrave=7808,e.Wmonospace=65335,e.Wsmall=63351,e.X=88,e.Xcircle=9421,e.Xdieresis=7820,e.Xdotaccent=7818,e.Xeharmenian=1341,e.Xi=926,e.Xmonospace=65336,e.Xsmall=63352,e.Y=89,e.Yacute=221,e.Yacutesmall=63485,e.Yatcyrillic=1122,e.Ycircle=9422,e.Ycircumflex=374,e.Ydieresis=376,e.Ydieresissmall=63487,e.Ydotaccent=7822,e.Ydotbelow=7924,e.Yericyrillic=1067,e.Yerudieresiscyrillic=1272,e.Ygrave=7922,e.Yhook=435,e.Yhookabove=7926,e.Yiarmenian=1349,e.Yicyrillic=1031,e.Yiwnarmenian=1362,e.Ymonospace=65337,e.Ysmall=63353,e.Ytilde=7928,e.Yusbigcyrillic=1130,e.Yusbigiotifiedcyrillic=1132,e.Yuslittlecyrillic=1126,e.Yuslittleiotifiedcyrillic=1128,e.Z=90,e.Zaarmenian=1334,e.Zacute=377,e.Zcaron=381,e.Zcaronsmall=63231,e.Zcircle=9423,e.Zcircumflex=7824,e.Zdot=379,e.Zdotaccent=379,e.Zdotbelow=7826,e.Zecyrillic=1047,e.Zedescendercyrillic=1176,e.Zedieresiscyrillic=1246,e.Zeta=918,e.Zhearmenian=1338,e.Zhebrevecyrillic=1217,e.Zhecyrillic=1046,e.Zhedescendercyrillic=1174,e.Zhedieresiscyrillic=1244,e.Zlinebelow=7828,e.Zmonospace=65338,e.Zsmall=63354,e.Zstroke=437,e.a=97,e.aabengali=2438,e.aacute=225,e.aadeva=2310,e.aagujarati=2694,e.aagurmukhi=2566,e.aamatragurmukhi=2622,e.aarusquare=13059,e.aavowelsignbengali=2494,e.aavowelsigndeva=2366,e.aavowelsigngujarati=2750,e.abbreviationmarkarmenian=1375,e.abbreviationsigndeva=2416,e.abengali=2437,e.abopomofo=12570,e.abreve=259,e.abreveacute=7855,e.abrevecyrillic=1233,e.abrevedotbelow=7863,e.abrevegrave=7857,e.abrevehookabove=7859,e.abrevetilde=7861,e.acaron=462,e.acircle=9424,e.acircumflex=226,e.acircumflexacute=7845,e.acircumflexdotbelow=7853,e.acircumflexgrave=7847,e.acircumflexhookabove=7849,e.acircumflextilde=7851,e.acute=180,e.acutebelowcmb=791,e.acutecmb=769,e.acutecomb=769,e.acutedeva=2388,e.acutelowmod=719,e.acutetonecmb=833,e.acyrillic=1072,e.adblgrave=513,e.addakgurmukhi=2673,e.adeva=2309,e.adieresis=228,e.adieresiscyrillic=1235,e.adieresismacron=479,e.adotbelow=7841,e.adotmacron=481,e.ae=230,e.aeacute=509,e.aekorean=12624,e.aemacron=483,e.afii00208=8213,e.afii08941=8356,e.afii10017=1040,e.afii10018=1041,e.afii10019=1042,e.afii10020=1043,e.afii10021=1044,e.afii10022=1045,e.afii10023=1025,e.afii10024=1046,e.afii10025=1047,e.afii10026=1048,e.afii10027=1049,e.afii10028=1050,e.afii10029=1051,e.afii10030=1052;e.afii10031=1053,e.afii10032=1054,e.afii10033=1055,e.afii10034=1056,e.afii10035=1057,e.afii10036=1058,e.afii10037=1059,e.afii10038=1060,e.afii10039=1061,e.afii10040=1062,e.afii10041=1063,e.afii10042=1064,e.afii10043=1065,e.afii10044=1066,e.afii10045=1067,e.afii10046=1068,e.afii10047=1069,e.afii10048=1070,e.afii10049=1071,e.afii10050=1168,e.afii10051=1026,e.afii10052=1027,e.afii10053=1028,e.afii10054=1029,e.afii10055=1030,e.afii10056=1031,e.afii10057=1032,e.afii10058=1033,e.afii10059=1034,e.afii10060=1035,e.afii10061=1036,e.afii10062=1038,e.afii10063=63172,e.afii10064=63173,e.afii10065=1072,e.afii10066=1073,e.afii10067=1074,e.afii10068=1075,e.afii10069=1076,e.afii10070=1077,e.afii10071=1105,e.afii10072=1078,e.afii10073=1079,e.afii10074=1080,e.afii10075=1081,e.afii10076=1082,e.afii10077=1083,e.afii10078=1084,e.afii10079=1085,e.afii10080=1086,e.afii10081=1087,e.afii10082=1088,e.afii10083=1089,e.afii10084=1090,e.afii10085=1091,e.afii10086=1092,e.afii10087=1093,e.afii10088=1094,e.afii10089=1095,e.afii10090=1096,e.afii10091=1097,e.afii10092=1098,e.afii10093=1099,e.afii10094=1100,e.afii10095=1101,e.afii10096=1102,e.afii10097=1103,e.afii10098=1169,e.afii10099=1106,e.afii10100=1107,e.afii10101=1108,e.afii10102=1109,e.afii10103=1110,e.afii10104=1111,e.afii10105=1112,e.afii10106=1113,e.afii10107=1114,e.afii10108=1115,e.afii10109=1116,e.afii10110=1118,e.afii10145=1039,e.afii10146=1122,e.afii10147=1138,e.afii10148=1140,e.afii10192=63174,e.afii10193=1119,e.afii10194=1123,e.afii10195=1139,e.afii10196=1141,e.afii10831=63175,e.afii10832=63176,e.afii10846=1241,e.afii299=8206,e.afii300=8207,e.afii301=8205,e.afii57381=1642,e.afii57388=1548,e.afii57392=1632,e.afii57393=1633,e.afii57394=1634,e.afii57395=1635,e.afii57396=1636,e.afii57397=1637,e.afii57398=1638,e.afii57399=1639,e.afii57400=1640,e.afii57401=1641,e.afii57403=1563,e.afii57407=1567,e.afii57409=1569,e.afii57410=1570,e.afii57411=1571,e.afii57412=1572,e.afii57413=1573,e.afii57414=1574,e.afii57415=1575,e.afii57416=1576,e.afii57417=1577,e.afii57418=1578,e.afii57419=1579,e.afii57420=1580,e.afii57421=1581,e.afii57422=1582,e.afii57423=1583,e.afii57424=1584,e.afii57425=1585,e.afii57426=1586,e.afii57427=1587,e.afii57428=1588,e.afii57429=1589,e.afii57430=1590,e.afii57431=1591,e.afii57432=1592,e.afii57433=1593,e.afii57434=1594,e.afii57440=1600,e.afii57441=1601,e.afii57442=1602,e.afii57443=1603,e.afii57444=1604,e.afii57445=1605,e.afii57446=1606,e.afii57448=1608,e.afii57449=1609,e.afii57450=1610,e.afii57451=1611,e.afii57452=1612,e.afii57453=1613,e.afii57454=1614,e.afii57455=1615,e.afii57456=1616,e.afii57457=1617,e.afii57458=1618,e.afii57470=1607,e.afii57505=1700,e.afii57506=1662,e.afii57507=1670,e.afii57508=1688,e.afii57509=1711,e.afii57511=1657,e.afii57512=1672,e.afii57513=1681,e.afii57514=1722,e.afii57519=1746,e.afii57534=1749,e.afii57636=8362,e.afii57645=1470,e.afii57658=1475,e.afii57664=1488,e.afii57665=1489,e.afii57666=1490,e.afii57667=1491,e.afii57668=1492,e.afii57669=1493,e.afii57670=1494,e.afii57671=1495,e.afii57672=1496,e.afii57673=1497,e.afii57674=1498,e.afii57675=1499,e.afii57676=1500,e.afii57677=1501,e.afii57678=1502,e.afii57679=1503,e.afii57680=1504,e.afii57681=1505,e.afii57682=1506,e.afii57683=1507,e.afii57684=1508,e.afii57685=1509,e.afii57686=1510,e.afii57687=1511,e.afii57688=1512,e.afii57689=1513,e.afii57690=1514,e.afii57694=64298,e.afii57695=64299,e.afii57700=64331,e.afii57705=64287,e.afii57716=1520,e.afii57717=1521,e.afii57718=1522,e.afii57723=64309,e.afii57793=1460,e.afii57794=1461,e.afii57795=1462,e.afii57796=1467,e.afii57797=1464,e.afii57798=1463,e.afii57799=1456,e.afii57800=1458,e.afii57801=1457,e.afii57802=1459,e.afii57803=1474,e.afii57804=1473,e.afii57806=1465,e.afii57807=1468,e.afii57839=1469,e.afii57841=1471,e.afii57842=1472,e.afii57929=700,e.afii61248=8453,e.afii61289=8467,e.afii61352=8470,e.afii61573=8236,e.afii61574=8237,e.afii61575=8238,e.afii61664=8204,e.afii63167=1645,e.afii64937=701,e.agrave=224,e.agujarati=2693,e.agurmukhi=2565,e.ahiragana=12354,e.ahookabove=7843,e.aibengali=2448,e.aibopomofo=12574,e.aideva=2320,e.aiecyrillic=1237,e.aigujarati=2704,e.aigurmukhi=2576,e.aimatragurmukhi=2632,e.ainarabic=1593,e.ainfinalarabic=65226,e.aininitialarabic=65227,e.ainmedialarabic=65228,e.ainvertedbreve=515,e.aivowelsignbengali=2504,e.aivowelsigndeva=2376,e.aivowelsigngujarati=2760,e.akatakana=12450,e.akatakanahalfwidth=65393,e.akorean=12623,e.alef=1488,e.alefarabic=1575,e.alefdageshhebrew=64304,e.aleffinalarabic=65166,e.alefhamzaabovearabic=1571,e.alefhamzaabovefinalarabic=65156,e.alefhamzabelowarabic=1573,e.alefhamzabelowfinalarabic=65160,e.alefhebrew=1488,e.aleflamedhebrew=64335,e.alefmaddaabovearabic=1570,e.alefmaddaabovefinalarabic=65154,e.alefmaksuraarabic=1609,e.alefmaksurafinalarabic=65264,e.alefmaksurainitialarabic=65267,e.alefmaksuramedialarabic=65268,e.alefpatahhebrew=64302,e.alefqamatshebrew=64303,e.aleph=8501,e.allequal=8780,e.alpha=945,e.alphatonos=940,e.amacron=257,e.amonospace=65345,e.ampersand=38,e.ampersandmonospace=65286,e.ampersandsmall=63270,e.amsquare=13250,e.anbopomofo=12578,e.angbopomofo=12580,e.angbracketleft=12296,e.angbracketright=12297,e.angkhankhuthai=3674,e.angle=8736,e.anglebracketleft=12296,e.anglebracketleftvertical=65087,e.anglebracketright=12297,e.anglebracketrightvertical=65088,e.angleleft=9001,e.angleright=9002,e.angstrom=8491,e.anoteleia=903,e.anudattadeva=2386,e.anusvarabengali=2434,e.anusvaradeva=2306,e.anusvaragujarati=2690,e.aogonek=261,e.apaatosquare=13056,e.aparen=9372,e.apostrophearmenian=1370,e.apostrophemod=700,e.apple=63743,e.approaches=8784,e.approxequal=8776,e.approxequalorimage=8786,e.approximatelyequal=8773,e.araeaekorean=12686,e.araeakorean=12685,e.arc=8978,e.arighthalfring=7834,e.aring=229,e.aringacute=507,e.aringbelow=7681,e.arrowboth=8596,e.arrowdashdown=8675,e.arrowdashleft=8672,e.arrowdashright=8674,e.arrowdashup=8673,e.arrowdblboth=8660,e.arrowdbldown=8659,e.arrowdblleft=8656,e.arrowdblright=8658,e.arrowdblup=8657,e.arrowdown=8595,e.arrowdownleft=8601,e.arrowdownright=8600,e.arrowdownwhite=8681,e.arrowheaddownmod=709,e.arrowheadleftmod=706,e.arrowheadrightmod=707,e.arrowheadupmod=708,e.arrowhorizex=63719,e.arrowleft=8592,e.arrowleftdbl=8656,e.arrowleftdblstroke=8653,e.arrowleftoverright=8646,e.arrowleftwhite=8678,e.arrowright=8594,e.arrowrightdblstroke=8655,e.arrowrightheavy=10142,e.arrowrightoverleft=8644,e.arrowrightwhite=8680,e.arrowtableft=8676,e.arrowtabright=8677,e.arrowup=8593,e.arrowupdn=8597,e.arrowupdnbse=8616,e.arrowupdownbase=8616,e.arrowupleft=8598,e.arrowupleftofdown=8645,e.arrowupright=8599,e.arrowupwhite=8679,e.arrowvertex=63718,e.asciicircum=94,e.asciicircummonospace=65342,e.asciitilde=126,e.asciitildemonospace=65374,e.ascript=593,e.ascriptturned=594,e.asmallhiragana=12353,e.asmallkatakana=12449,e.asmallkatakanahalfwidth=65383,e.asterisk=42,e.asteriskaltonearabic=1645,e.asteriskarabic=1645,e.asteriskmath=8727,e.asteriskmonospace=65290,e.asterisksmall=65121,e.asterism=8258,e.asuperior=63209,e.asymptoticallyequal=8771,e.at=64,e.atilde=227,e.atmonospace=65312,e.atsmall=65131,e.aturned=592,e.aubengali=2452,e.aubopomofo=12576,e.audeva=2324,e.augujarati=2708,e.augurmukhi=2580,e.aulengthmarkbengali=2519,e.aumatragurmukhi=2636,e.auvowelsignbengali=2508,e.auvowelsigndeva=2380,e.auvowelsigngujarati=2764,e.avagrahadeva=2365,e.aybarmenian=1377,e.ayin=1506,e.ayinaltonehebrew=64288,e.ayinhebrew=1506,e.b=98,e.babengali=2476,e.backslash=92,e.backslashmonospace=65340,e.badeva=2348,e.bagujarati=2732,e.bagurmukhi=2604,e.bahiragana=12400,e.bahtthai=3647,e.bakatakana=12496,e.bar=124,e.barmonospace=65372,e.bbopomofo=12549,e.bcircle=9425,e.bdotaccent=7683,e.bdotbelow=7685,e.beamedsixteenthnotes=9836,e.because=8757,e.becyrillic=1073,e.beharabic=1576,e.behfinalarabic=65168,e.behinitialarabic=65169,e.behiragana=12409,e.behmedialarabic=65170,e.behmeeminitialarabic=64671,e.behmeemisolatedarabic=64520,e.behnoonfinalarabic=64621,e.bekatakana=12505,e.benarmenian=1378,e.bet=1489,e.beta=946,e.betasymbolgreek=976,e.betdagesh=64305,e.betdageshhebrew=64305,e.bethebrew=1489,e.betrafehebrew=64332,e.bhabengali=2477,e.bhadeva=2349,e.bhagujarati=2733,e.bhagurmukhi=2605,e.bhook=595,e.bihiragana=12403,e.bikatakana=12499,e.bilabialclick=664,e.bindigurmukhi=2562,e.birusquare=13105,e.blackcircle=9679,e.blackdiamond=9670,e.blackdownpointingtriangle=9660,e.blackleftpointingpointer=9668,e.blackleftpointingtriangle=9664,e.blacklenticularbracketleft=12304,e.blacklenticularbracketleftvertical=65083,e.blacklenticularbracketright=12305,e.blacklenticularbracketrightvertical=65084,e.blacklowerlefttriangle=9699,e.blacklowerrighttriangle=9698,e.blackrectangle=9644,e.blackrightpointingpointer=9658,e.blackrightpointingtriangle=9654,e.blacksmallsquare=9642,e.blacksmilingface=9787,e.blacksquare=9632,e.blackstar=9733,e.blackupperlefttriangle=9700,e.blackupperrighttriangle=9701,e.blackuppointingsmalltriangle=9652,e.blackuppointingtriangle=9650,e.blank=9251,e.blinebelow=7687,e.block=9608,e.bmonospace=65346,e.bobaimaithai=3610,e.bohiragana=12412,e.bokatakana=12508,e.bparen=9373,e.bqsquare=13251,e.braceex=63732,e.braceleft=123,e.braceleftbt=63731,e.braceleftmid=63730,e.braceleftmonospace=65371,e.braceleftsmall=65115,e.bracelefttp=63729,e.braceleftvertical=65079,e.braceright=125,e.bracerightbt=63742,e.bracerightmid=63741,e.bracerightmonospace=65373,e.bracerightsmall=65116,e.bracerighttp=63740,e.bracerightvertical=65080,e.bracketleft=91,e.bracketleftbt=63728,e.bracketleftex=63727,e.bracketleftmonospace=65339,e.bracketlefttp=63726,e.bracketright=93,e.bracketrightbt=63739,e.bracketrightex=63738,e.bracketrightmonospace=65341,e.bracketrighttp=63737,e.breve=728,e.brevebelowcmb=814,e.brevecmb=774,e.breveinvertedbelowcmb=815,e.breveinvertedcmb=785,e.breveinverteddoublecmb=865,e.bridgebelowcmb=810,e.bridgeinvertedbelowcmb=826,e.brokenbar=166,e.bstroke=384,e.bsuperior=63210,e.btopbar=387,e.buhiragana=12406,e.bukatakana=12502,e.bullet=8226,e.bulletinverse=9688,e.bulletoperator=8729,e.bullseye=9678,e.c=99,e.caarmenian=1390,e.cabengali=2458,e.cacute=263,e.cadeva=2330,e.cagujarati=2714,e.cagurmukhi=2586,e.calsquare=13192,e.candrabindubengali=2433,e.candrabinducmb=784,e.candrabindudeva=2305,e.candrabindugujarati=2689,e.capslock=8682,e.careof=8453,e.caron=711,e.caronbelowcmb=812,e.caroncmb=780,e.carriagereturn=8629,e.cbopomofo=12568,e.ccaron=269,e.ccedilla=231,e.ccedillaacute=7689,e.ccircle=9426,e.ccircumflex=265,e.ccurl=597,e.cdot=267,e.cdotaccent=267,e.cdsquare=13253,e.cedilla=184,e.cedillacmb=807,e.cent=162,e.centigrade=8451,e.centinferior=63199,e.centmonospace=65504,e.centoldstyle=63394,e.centsuperior=63200,e.chaarmenian=1401,e.chabengali=2459,e.chadeva=2331,e.chagujarati=2715,e.chagurmukhi=2587,e.chbopomofo=12564,e.cheabkhasiancyrillic=1213,e.checkmark=10003,e.checyrillic=1095,e.chedescenderabkhasiancyrillic=1215,e.chedescendercyrillic=1207,e.chedieresiscyrillic=1269,e.cheharmenian=1395,e.chekhakassiancyrillic=1228,e.cheverticalstrokecyrillic=1209,e.chi=967,e.chieuchacirclekorean=12919,e.chieuchaparenkorean=12823,e.chieuchcirclekorean=12905,e.chieuchkorean=12618,e.chieuchparenkorean=12809,e.chochangthai=3594,e.chochanthai=3592,e.chochingthai=3593,e.chochoethai=3596,e.chook=392,e.cieucacirclekorean=12918,e.cieucaparenkorean=12822,e.cieuccirclekorean=12904,e.cieuckorean=12616,e.cieucparenkorean=12808,e.cieucuparenkorean=12828,e.circle=9675,e.circlecopyrt=169,e.circlemultiply=8855,e.circleot=8857,e.circleplus=8853,e.circlepostalmark=12342,e.circlewithlefthalfblack=9680,e.circlewithrighthalfblack=9681,e.circumflex=710,e.circumflexbelowcmb=813,e.circumflexcmb=770,e.clear=8999,e.clickalveolar=450,e.clickdental=448,e.clicklateral=449,e.clickretroflex=451,e.club=9827,e.clubsuitblack=9827,e.clubsuitwhite=9831,e.cmcubedsquare=13220,e.cmonospace=65347,e.cmsquaredsquare=13216,e.coarmenian=1409,e.colon=58,e.colonmonetary=8353,e.colonmonospace=65306,e.colonsign=8353,e.colonsmall=65109,e.colontriangularhalfmod=721,e.colontriangularmod=720,e.comma=44,e.commaabovecmb=787,e.commaaboverightcmb=789,e.commaaccent=63171,e.commaarabic=1548,e.commaarmenian=1373,e.commainferior=63201,e.commamonospace=65292,e.commareversedabovecmb=788,e.commareversedmod=701,e.commasmall=65104,e.commasuperior=63202,e.commaturnedabovecmb=786,e.commaturnedmod=699,e.compass=9788,e.congruent=8773,e.contourintegral=8750,e.control=8963,e.controlACK=6,e.controlBEL=7,e.controlBS=8,e.controlCAN=24,e.controlCR=13,e.controlDC1=17,e.controlDC2=18,e.controlDC3=19,e.controlDC4=20,e.controlDEL=127,e.controlDLE=16,e.controlEM=25,e.controlENQ=5,e.controlEOT=4,e.controlESC=27,e.controlETB=23,e.controlETX=3,e.controlFF=12,e.controlFS=28,e.controlGS=29,e.controlHT=9,e.controlLF=10,e.controlNAK=21,e.controlNULL=0,e.controlRS=30,e.controlSI=15,e.controlSO=14,e.controlSOT=2,e.controlSTX=1,e.controlSUB=26,e.controlSYN=22,e.controlUS=31,e.controlVT=11,e.copyright=169,e.copyrightsans=63721,e.copyrightserif=63193,e.cornerbracketleft=12300,e.cornerbracketlefthalfwidth=65378,e.cornerbracketleftvertical=65089,e.cornerbracketright=12301,e.cornerbracketrighthalfwidth=65379,e.cornerbracketrightvertical=65090,e.corporationsquare=13183,e.cosquare=13255,e.coverkgsquare=13254,e.cparen=9374,e.cruzeiro=8354,e.cstretched=663,e.curlyand=8911,e.curlyor=8910,e.currency=164,e.cyrBreve=63185,e.cyrFlex=63186,e.cyrbreve=63188,e.cyrflex=63189,e.d=100,e.daarmenian=1380,e.dabengali=2470,e.dadarabic=1590,e.dadeva=2342,e.dadfinalarabic=65214,e.dadinitialarabic=65215,e.dadmedialarabic=65216,e.dagesh=1468,e.dageshhebrew=1468,e.dagger=8224,e.daggerdbl=8225,e.dagujarati=2726,e.dagurmukhi=2598,e.dahiragana=12384,e.dakatakana=12480,e.dalarabic=1583,e.dalet=1491,e.daletdagesh=64307,e.daletdageshhebrew=64307,e.dalethebrew=1491,e.dalfinalarabic=65194,e.dammaarabic=1615,e.dammalowarabic=1615,e.dammatanaltonearabic=1612,e.dammatanarabic=1612,e.danda=2404,e.dargahebrew=1447,e.dargalefthebrew=1447,e.dasiapneumatacyrilliccmb=1157,e.dblGrave=63187,e.dblanglebracketleft=12298,e.dblanglebracketleftvertical=65085,e.dblanglebracketright=12299,e.dblanglebracketrightvertical=65086,e.dblarchinvertedbelowcmb=811,e.dblarrowleft=8660,e.dblarrowright=8658,e.dbldanda=2405,e.dblgrave=63190,e.dblgravecmb=783,e.dblintegral=8748,e.dbllowline=8215,e.dbllowlinecmb=819,e.dbloverlinecmb=831,e.dblprimemod=698,e.dblverticalbar=8214,e.dblverticallineabovecmb=782,e.dbopomofo=12553,e.dbsquare=13256,e.dcaron=271,e.dcedilla=7697,e.dcircle=9427,e.dcircumflexbelow=7699,e.dcroat=273,e.ddabengali=2465,e.ddadeva=2337,e.ddagujarati=2721,e.ddagurmukhi=2593,e.ddalarabic=1672,e.ddalfinalarabic=64393,e.dddhadeva=2396,e.ddhabengali=2466,e.ddhadeva=2338,e.ddhagujarati=2722,e.ddhagurmukhi=2594,e.ddotaccent=7691,e.ddotbelow=7693,e.decimalseparatorarabic=1643,e.decimalseparatorpersian=1643,e.decyrillic=1076,e.degree=176,e.dehihebrew=1453,e.dehiragana=12391,e.deicoptic=1007,e.dekatakana=12487,e.deleteleft=9003,e.deleteright=8998,e.delta=948,e.deltaturned=397,e.denominatorminusonenumeratorbengali=2552,e.dezh=676,e.dhabengali=2471,e.dhadeva=2343,e.dhagujarati=2727,e.dhagurmukhi=2599,e.dhook=599,e.dialytikatonos=901,e.dialytikatonoscmb=836,e.diamond=9830,e.diamondsuitwhite=9826,e.dieresis=168,e.dieresisacute=63191,e.dieresisbelowcmb=804,e.dieresiscmb=776,e.dieresisgrave=63192,e.dieresistonos=901,e.dihiragana=12386,e.dikatakana=12482,e.dittomark=12291,e.divide=247,e.divides=8739,e.divisionslash=8725,e.djecyrillic=1106,e.dkshade=9619,e.dlinebelow=7695,e.dlsquare=13207,e.dmacron=273,e.dmonospace=65348,e.dnblock=9604,e.dochadathai=3598,e.dodekthai=3604,e.dohiragana=12393,e.dokatakana=12489,e.dollar=36;e.dollarinferior=63203,e.dollarmonospace=65284,e.dollaroldstyle=63268,e.dollarsmall=65129,e.dollarsuperior=63204,e.dong=8363,e.dorusquare=13094,e.dotaccent=729,e.dotaccentcmb=775,e.dotbelowcmb=803,e.dotbelowcomb=803,e.dotkatakana=12539,e.dotlessi=305,e.dotlessj=63166,e.dotlessjstrokehook=644,e.dotmath=8901,e.dottedcircle=9676,e.doubleyodpatah=64287,e.doubleyodpatahhebrew=64287,e.downtackbelowcmb=798,e.downtackmod=725,e.dparen=9375,e.dsuperior=63211,e.dtail=598,e.dtopbar=396,e.duhiragana=12389,e.dukatakana=12485,e.dz=499,e.dzaltone=675,e.dzcaron=454,e.dzcurl=677,e.dzeabkhasiancyrillic=1249,e.dzecyrillic=1109,e.dzhecyrillic=1119,e.e=101,e.eacute=233,e.earth=9793,e.ebengali=2447,e.ebopomofo=12572,e.ebreve=277,e.ecandradeva=2317,e.ecandragujarati=2701,e.ecandravowelsigndeva=2373,e.ecandravowelsigngujarati=2757,e.ecaron=283,e.ecedillabreve=7709,e.echarmenian=1381,e.echyiwnarmenian=1415,e.ecircle=9428,e.ecircumflex=234,e.ecircumflexacute=7871,e.ecircumflexbelow=7705,e.ecircumflexdotbelow=7879,e.ecircumflexgrave=7873,e.ecircumflexhookabove=7875,e.ecircumflextilde=7877,e.ecyrillic=1108,e.edblgrave=517,e.edeva=2319,e.edieresis=235,e.edot=279,e.edotaccent=279,e.edotbelow=7865,e.eegurmukhi=2575,e.eematragurmukhi=2631,e.efcyrillic=1092,e.egrave=232,e.egujarati=2703,e.eharmenian=1383,e.ehbopomofo=12573,e.ehiragana=12360,e.ehookabove=7867,e.eibopomofo=12575,e.eight=56,e.eightarabic=1640,e.eightbengali=2542,e.eightcircle=9319,e.eightcircleinversesansserif=10129,e.eightdeva=2414,e.eighteencircle=9329,e.eighteenparen=9349,e.eighteenperiod=9369,e.eightgujarati=2798,e.eightgurmukhi=2670,e.eighthackarabic=1640,e.eighthangzhou=12328,e.eighthnotebeamed=9835,e.eightideographicparen=12839,e.eightinferior=8328,e.eightmonospace=65304,e.eightoldstyle=63288,e.eightparen=9339,e.eightperiod=9359,e.eightpersian=1784,e.eightroman=8567,e.eightsuperior=8312,e.eightthai=3672,e.einvertedbreve=519,e.eiotifiedcyrillic=1125,e.ekatakana=12456,e.ekatakanahalfwidth=65396,e.ekonkargurmukhi=2676,e.ekorean=12628,e.elcyrillic=1083,e.element=8712,e.elevencircle=9322,e.elevenparen=9342,e.elevenperiod=9362,e.elevenroman=8570,e.ellipsis=8230,e.ellipsisvertical=8942,e.emacron=275,e.emacronacute=7703,e.emacrongrave=7701,e.emcyrillic=1084,e.emdash=8212,e.emdashvertical=65073,e.emonospace=65349,e.emphasismarkarmenian=1371,e.emptyset=8709,e.enbopomofo=12579,e.encyrillic=1085,e.endash=8211,e.endashvertical=65074,e.endescendercyrillic=1187,e.eng=331,e.engbopomofo=12581,e.enghecyrillic=1189,e.enhookcyrillic=1224,e.enspace=8194,e.eogonek=281,e.eokorean=12627,e.eopen=603,e.eopenclosed=666,e.eopenreversed=604,e.eopenreversedclosed=606,e.eopenreversedhook=605,e.eparen=9376,e.epsilon=949,e.epsilontonos=941,e.equal=61,e.equalmonospace=65309,e.equalsmall=65126,e.equalsuperior=8316,e.equivalence=8801,e.erbopomofo=12582,e.ercyrillic=1088,e.ereversed=600,e.ereversedcyrillic=1101,e.escyrillic=1089,e.esdescendercyrillic=1195,e.esh=643,e.eshcurl=646,e.eshortdeva=2318,e.eshortvowelsigndeva=2374,e.eshreversedloop=426,e.eshsquatreversed=645,e.esmallhiragana=12359,e.esmallkatakana=12455,e.esmallkatakanahalfwidth=65386,e.estimated=8494,e.esuperior=63212,e.eta=951,e.etarmenian=1384,e.etatonos=942,e.eth=240,e.etilde=7869,e.etildebelow=7707,e.etnahtafoukhhebrew=1425,e.etnahtafoukhlefthebrew=1425,e.etnahtahebrew=1425,e.etnahtalefthebrew=1425,e.eturned=477,e.eukorean=12641,e.euro=8364,e.evowelsignbengali=2503,e.evowelsigndeva=2375,e.evowelsigngujarati=2759,e.exclam=33,e.exclamarmenian=1372,e.exclamdbl=8252,e.exclamdown=161,e.exclamdownsmall=63393,e.exclammonospace=65281,e.exclamsmall=63265,e.existential=8707,e.ezh=658,e.ezhcaron=495,e.ezhcurl=659,e.ezhreversed=441,e.ezhtail=442,e.f=102,e.fadeva=2398,e.fagurmukhi=2654,e.fahrenheit=8457,e.fathaarabic=1614,e.fathalowarabic=1614,e.fathatanarabic=1611,e.fbopomofo=12552,e.fcircle=9429,e.fdotaccent=7711,e.feharabic=1601,e.feharmenian=1414,e.fehfinalarabic=65234,e.fehinitialarabic=65235,e.fehmedialarabic=65236,e.feicoptic=997,e.female=9792,e.ff=64256,e.f_f=64256,e.ffi=64259,e.f_f_i=64259,e.ffl=64260,e.f_f_l=64260,e.fi=64257,e.f_i=64257,e.fifteencircle=9326,e.fifteenparen=9346,e.fifteenperiod=9366,e.figuredash=8210,e.filledbox=9632,e.filledrect=9644,e.finalkaf=1498,e.finalkafdagesh=64314,e.finalkafdageshhebrew=64314,e.finalkafhebrew=1498,e.finalmem=1501,e.finalmemhebrew=1501,e.finalnun=1503,e.finalnunhebrew=1503,e.finalpe=1507,e.finalpehebrew=1507,e.finaltsadi=1509,e.finaltsadihebrew=1509,e.firsttonechinese=713,e.fisheye=9673,e.fitacyrillic=1139,e.five=53,e.fivearabic=1637,e.fivebengali=2539,e.fivecircle=9316,e.fivecircleinversesansserif=10126,e.fivedeva=2411,e.fiveeighths=8541,e.fivegujarati=2795,e.fivegurmukhi=2667,e.fivehackarabic=1637,e.fivehangzhou=12325,e.fiveideographicparen=12836,e.fiveinferior=8325,e.fivemonospace=65301,e.fiveoldstyle=63285,e.fiveparen=9336,e.fiveperiod=9356,e.fivepersian=1781,e.fiveroman=8564,e.fivesuperior=8309,e.fivethai=3669,e.fl=64258,e.f_l=64258,e.florin=402,e.fmonospace=65350,e.fmsquare=13209,e.fofanthai=3615,e.fofathai=3613,e.fongmanthai=3663,e.forall=8704,e.four=52,e.fourarabic=1636,e.fourbengali=2538,e.fourcircle=9315,e.fourcircleinversesansserif=10125,e.fourdeva=2410,e.fourgujarati=2794,e.fourgurmukhi=2666,e.fourhackarabic=1636,e.fourhangzhou=12324,e.fourideographicparen=12835,e.fourinferior=8324,e.fourmonospace=65300,e.fournumeratorbengali=2551,e.fouroldstyle=63284,e.fourparen=9335,e.fourperiod=9355,e.fourpersian=1780,e.fourroman=8563,e.foursuperior=8308,e.fourteencircle=9325,e.fourteenparen=9345,e.fourteenperiod=9365,e.fourthai=3668,e.fourthtonechinese=715,e.fparen=9377,e.fraction=8260,e.franc=8355,e.g=103,e.gabengali=2455,e.gacute=501,e.gadeva=2327,e.gafarabic=1711,e.gaffinalarabic=64403,e.gafinitialarabic=64404,e.gafmedialarabic=64405,e.gagujarati=2711,e.gagurmukhi=2583,e.gahiragana=12364,e.gakatakana=12460,e.gamma=947,e.gammalatinsmall=611,e.gammasuperior=736,e.gangiacoptic=1003,e.gbopomofo=12557,e.gbreve=287,e.gcaron=487,e.gcedilla=291,e.gcircle=9430,e.gcircumflex=285,e.gcommaaccent=291,e.gdot=289,e.gdotaccent=289,e.gecyrillic=1075,e.gehiragana=12370,e.gekatakana=12466,e.geometricallyequal=8785,e.gereshaccenthebrew=1436,e.gereshhebrew=1523,e.gereshmuqdamhebrew=1437,e.germandbls=223,e.gershayimaccenthebrew=1438,e.gershayimhebrew=1524,e.getamark=12307,e.ghabengali=2456,e.ghadarmenian=1394,e.ghadeva=2328,e.ghagujarati=2712,e.ghagurmukhi=2584,e.ghainarabic=1594,e.ghainfinalarabic=65230,e.ghaininitialarabic=65231,e.ghainmedialarabic=65232,e.ghemiddlehookcyrillic=1173,e.ghestrokecyrillic=1171,e.gheupturncyrillic=1169,e.ghhadeva=2394,e.ghhagurmukhi=2650,e.ghook=608,e.ghzsquare=13203,e.gihiragana=12366,e.gikatakana=12462,e.gimarmenian=1379,e.gimel=1490,e.gimeldagesh=64306,e.gimeldageshhebrew=64306,e.gimelhebrew=1490,e.gjecyrillic=1107,e.glottalinvertedstroke=446,e.glottalstop=660,e.glottalstopinverted=662,e.glottalstopmod=704,e.glottalstopreversed=661,e.glottalstopreversedmod=705,e.glottalstopreversedsuperior=740,e.glottalstopstroke=673,e.glottalstopstrokereversed=674,e.gmacron=7713,e.gmonospace=65351,e.gohiragana=12372,e.gokatakana=12468,e.gparen=9378,e.gpasquare=13228,e.gradient=8711,e.grave=96,e.gravebelowcmb=790,e.gravecmb=768,e.gravecomb=768,e.gravedeva=2387,e.gravelowmod=718,e.gravemonospace=65344,e.gravetonecmb=832,e.greater=62,e.greaterequal=8805,e.greaterequalorless=8923,e.greatermonospace=65310,e.greaterorequivalent=8819,e.greaterorless=8823,e.greateroverequal=8807,e.greatersmall=65125,e.gscript=609,e.gstroke=485,e.guhiragana=12368,e.guillemotleft=171,e.guillemotright=187,e.guilsinglleft=8249,e.guilsinglright=8250,e.gukatakana=12464,e.guramusquare=13080,e.gysquare=13257,e.h=104,e.haabkhasiancyrillic=1193,e.haaltonearabic=1729,e.habengali=2489,e.hadescendercyrillic=1203,e.hadeva=2361,e.hagujarati=2745,e.hagurmukhi=2617,e.haharabic=1581,e.hahfinalarabic=65186,e.hahinitialarabic=65187,e.hahiragana=12399,e.hahmedialarabic=65188,e.haitusquare=13098,e.hakatakana=12495,e.hakatakanahalfwidth=65418,e.halantgurmukhi=2637,e.hamzaarabic=1569,e.hamzalowarabic=1569,e.hangulfiller=12644,e.hardsigncyrillic=1098,e.harpoonleftbarbup=8636,e.harpoonrightbarbup=8640,e.hasquare=13258,e.hatafpatah=1458,e.hatafpatah16=1458,e.hatafpatah23=1458,e.hatafpatah2f=1458,e.hatafpatahhebrew=1458,e.hatafpatahnarrowhebrew=1458,e.hatafpatahquarterhebrew=1458,e.hatafpatahwidehebrew=1458,e.hatafqamats=1459,e.hatafqamats1b=1459,e.hatafqamats28=1459,e.hatafqamats34=1459,e.hatafqamatshebrew=1459,e.hatafqamatsnarrowhebrew=1459,e.hatafqamatsquarterhebrew=1459,e.hatafqamatswidehebrew=1459,e.hatafsegol=1457,e.hatafsegol17=1457,e.hatafsegol24=1457,e.hatafsegol30=1457,e.hatafsegolhebrew=1457,e.hatafsegolnarrowhebrew=1457,e.hatafsegolquarterhebrew=1457,e.hatafsegolwidehebrew=1457,e.hbar=295,e.hbopomofo=12559,e.hbrevebelow=7723,e.hcedilla=7721,e.hcircle=9431,e.hcircumflex=293,e.hdieresis=7719,e.hdotaccent=7715,e.hdotbelow=7717,e.he=1492,e.heart=9829,e.heartsuitblack=9829,e.heartsuitwhite=9825,e.hedagesh=64308,e.hedageshhebrew=64308,e.hehaltonearabic=1729,e.heharabic=1607,e.hehebrew=1492,e.hehfinalaltonearabic=64423,e.hehfinalalttwoarabic=65258,e.hehfinalarabic=65258,e.hehhamzaabovefinalarabic=64421,e.hehhamzaaboveisolatedarabic=64420,e.hehinitialaltonearabic=64424,e.hehinitialarabic=65259,e.hehiragana=12408,e.hehmedialaltonearabic=64425,e.hehmedialarabic=65260,e.heiseierasquare=13179,e.hekatakana=12504,e.hekatakanahalfwidth=65421,e.hekutaarusquare=13110,e.henghook=615,e.herutusquare=13113,e.het=1495,e.hethebrew=1495,e.hhook=614,e.hhooksuperior=689,e.hieuhacirclekorean=12923,e.hieuhaparenkorean=12827,e.hieuhcirclekorean=12909,e.hieuhkorean=12622,e.hieuhparenkorean=12813,e.hihiragana=12402,e.hikatakana=12498,e.hikatakanahalfwidth=65419,e.hiriq=1460,e.hiriq14=1460,e.hiriq21=1460,e.hiriq2d=1460,e.hiriqhebrew=1460,e.hiriqnarrowhebrew=1460,e.hiriqquarterhebrew=1460,e.hiriqwidehebrew=1460,e.hlinebelow=7830,e.hmonospace=65352,e.hoarmenian=1392,e.hohipthai=3627,e.hohiragana=12411,e.hokatakana=12507,e.hokatakanahalfwidth=65422,e.holam=1465,e.holam19=1465,e.holam26=1465,e.holam32=1465,e.holamhebrew=1465,e.holamnarrowhebrew=1465,e.holamquarterhebrew=1465,e.holamwidehebrew=1465,e.honokhukthai=3630,e.hookabovecomb=777,e.hookcmb=777,e.hookpalatalizedbelowcmb=801,e.hookretroflexbelowcmb=802,e.hoonsquare=13122,e.horicoptic=1001,e.horizontalbar=8213,e.horncmb=795,e.hotsprings=9832,e.house=8962,e.hparen=9379,e.hsuperior=688,e.hturned=613,e.huhiragana=12405,e.huiitosquare=13107,e.hukatakana=12501,e.hukatakanahalfwidth=65420,e.hungarumlaut=733,e.hungarumlautcmb=779,e.hv=405,e.hyphen=45,e.hypheninferior=63205,e.hyphenmonospace=65293,e.hyphensmall=65123,e.hyphensuperior=63206,e.hyphentwo=8208,e.i=105,e.iacute=237,e.iacyrillic=1103,e.ibengali=2439,e.ibopomofo=12583,e.ibreve=301,e.icaron=464,e.icircle=9432,e.icircumflex=238,e.icyrillic=1110,e.idblgrave=521,e.ideographearthcircle=12943,e.ideographfirecircle=12939,e.ideographicallianceparen=12863,e.ideographiccallparen=12858,e.ideographiccentrecircle=12965,e.ideographicclose=12294,e.ideographiccomma=12289,e.ideographiccommaleft=65380,e.ideographiccongratulationparen=12855,e.ideographiccorrectcircle=12963,e.ideographicearthparen=12847,e.ideographicenterpriseparen=12861,e.ideographicexcellentcircle=12957,e.ideographicfestivalparen=12864,e.ideographicfinancialcircle=12950,e.ideographicfinancialparen=12854,e.ideographicfireparen=12843,e.ideographichaveparen=12850,e.ideographichighcircle=12964,e.ideographiciterationmark=12293,e.ideographiclaborcircle=12952,e.ideographiclaborparen=12856,e.ideographicleftcircle=12967,e.ideographiclowcircle=12966,e.ideographicmedicinecircle=12969,e.ideographicmetalparen=12846,e.ideographicmoonparen=12842,e.ideographicnameparen=12852,e.ideographicperiod=12290,e.ideographicprintcircle=12958,e.ideographicreachparen=12867,e.ideographicrepresentparen=12857,e.ideographicresourceparen=12862,e.ideographicrightcircle=12968,e.ideographicsecretcircle=12953,e.ideographicselfparen=12866,e.ideographicsocietyparen=12851,e.ideographicspace=12288,e.ideographicspecialparen=12853,e.ideographicstockparen=12849,e.ideographicstudyparen=12859,e.ideographicsunparen=12848,e.ideographicsuperviseparen=12860,e.ideographicwaterparen=12844,e.ideographicwoodparen=12845,e.ideographiczero=12295,e.ideographmetalcircle=12942,e.ideographmooncircle=12938,e.ideographnamecircle=12948,e.ideographsuncircle=12944,e.ideographwatercircle=12940,e.ideographwoodcircle=12941,e.ideva=2311,e.idieresis=239,e.idieresisacute=7727,e.idieresiscyrillic=1253,e.idotbelow=7883,e.iebrevecyrillic=1239,e.iecyrillic=1077,e.ieungacirclekorean=12917,e.ieungaparenkorean=12821,e.ieungcirclekorean=12903,e.ieungkorean=12615,e.ieungparenkorean=12807,e.igrave=236,e.igujarati=2695,e.igurmukhi=2567,e.ihiragana=12356,e.ihookabove=7881,e.iibengali=2440,e.iicyrillic=1080,e.iideva=2312,e.iigujarati=2696,e.iigurmukhi=2568,e.iimatragurmukhi=2624,e.iinvertedbreve=523,e.iishortcyrillic=1081,e.iivowelsignbengali=2496,e.iivowelsigndeva=2368,e.iivowelsigngujarati=2752,e.ij=307,e.ikatakana=12452,e.ikatakanahalfwidth=65394,e.ikorean=12643,e.ilde=732,e.iluyhebrew=1452,e.imacron=299,e.imacroncyrillic=1251,e.imageorapproximatelyequal=8787,e.imatragurmukhi=2623,e.imonospace=65353,e.increment=8710,e.infinity=8734,e.iniarmenian=1387,e.integral=8747,e.integralbottom=8993,e.integralbt=8993,e.integralex=63733,e.integraltop=8992,e.integraltp=8992,e.intersection=8745,e.intisquare=13061,e.invbullet=9688,e.invcircle=9689,e.invsmileface=9787,e.iocyrillic=1105,e.iogonek=303,e.iota=953,e.iotadieresis=970,e.iotadieresistonos=912,e.iotalatin=617,e.iotatonos=943,e.iparen=9380,e.irigurmukhi=2674,e.ismallhiragana=12355,e.ismallkatakana=12451,e.ismallkatakanahalfwidth=65384,e.issharbengali=2554,e.istroke=616,e.isuperior=63213,e.iterationhiragana=12445,e.iterationkatakana=12541,e.itilde=297,e.itildebelow=7725,e.iubopomofo=12585,e.iucyrillic=1102,e.ivowelsignbengali=2495,e.ivowelsigndeva=2367,e.ivowelsigngujarati=2751,e.izhitsacyrillic=1141,e.izhitsadblgravecyrillic=1143,e.j=106,e.jaarmenian=1393,e.jabengali=2460,e.jadeva=2332,e.jagujarati=2716,e.jagurmukhi=2588,e.jbopomofo=12560,e.jcaron=496,e.jcircle=9433,e.jcircumflex=309,e.jcrossedtail=669,e.jdotlessstroke=607,e.jecyrillic=1112,e.jeemarabic=1580,e.jeemfinalarabic=65182,e.jeeminitialarabic=65183,e.jeemmedialarabic=65184,e.jeharabic=1688,e.jehfinalarabic=64395,e.jhabengali=2461,e.jhadeva=2333,e.jhagujarati=2717,e.jhagurmukhi=2589,e.jheharmenian=1403,e.jis=12292,e.jmonospace=65354,e.jparen=9381,e.jsuperior=690,e.k=107,e.kabashkircyrillic=1185,e.kabengali=2453,e.kacute=7729,e.kacyrillic=1082,e.kadescendercyrillic=1179,e.kadeva=2325,e.kaf=1499,e.kafarabic=1603,e.kafdagesh=64315,e.kafdageshhebrew=64315,e.kaffinalarabic=65242,e.kafhebrew=1499,e.kafinitialarabic=65243,e.kafmedialarabic=65244,e.kafrafehebrew=64333,e.kagujarati=2709,e.kagurmukhi=2581,e.kahiragana=12363,e.kahookcyrillic=1220,e.kakatakana=12459,e.kakatakanahalfwidth=65398,e.kappa=954,e.kappasymbolgreek=1008,e.kapyeounmieumkorean=12657,e.kapyeounphieuphkorean=12676,e.kapyeounpieupkorean=12664,e.kapyeounssangpieupkorean=12665,e.karoriisquare=13069,e.kashidaautoarabic=1600,e.kashidaautonosidebearingarabic=1600,e.kasmallkatakana=12533,e.kasquare=13188,e.kasraarabic=1616,e.kasratanarabic=1613,e.kastrokecyrillic=1183,e.katahiraprolongmarkhalfwidth=65392,e.kaverticalstrokecyrillic=1181,e.kbopomofo=12558,e.kcalsquare=13193,e.kcaron=489,e.kcedilla=311,e.kcircle=9434,e.kcommaaccent=311,e.kdotbelow=7731,e.keharmenian=1412,e.kehiragana=12369,e.kekatakana=12465,e.kekatakanahalfwidth=65401,e.kenarmenian=1391,e.kesmallkatakana=12534,e.kgreenlandic=312,e.khabengali=2454,e.khacyrillic=1093,e.khadeva=2326,e.khagujarati=2710,e.khagurmukhi=2582,e.khaharabic=1582,e.khahfinalarabic=65190,e.khahinitialarabic=65191,e.khahmedialarabic=65192,e.kheicoptic=999,e.khhadeva=2393,e.khhagurmukhi=2649,e.khieukhacirclekorean=12920,e.khieukhaparenkorean=12824,e.khieukhcirclekorean=12906,e.khieukhkorean=12619,e.khieukhparenkorean=12810,e.khokhaithai=3586,e.khokhonthai=3589,e.khokhuatthai=3587,e.khokhwaithai=3588,e.khomutthai=3675,e.khook=409,e.khorakhangthai=3590,e.khzsquare=13201,e.kihiragana=12365,e.kikatakana=12461,e.kikatakanahalfwidth=65399,e.kiroguramusquare=13077,e.kiromeetorusquare=13078,e.kirosquare=13076,e.kiyeokacirclekorean=12910,e.kiyeokaparenkorean=12814,e.kiyeokcirclekorean=12896,e.kiyeokkorean=12593,e.kiyeokparenkorean=12800,e.kiyeoksioskorean=12595;e.kjecyrillic=1116,e.klinebelow=7733,e.klsquare=13208,e.kmcubedsquare=13222,e.kmonospace=65355,e.kmsquaredsquare=13218,e.kohiragana=12371,e.kohmsquare=13248,e.kokaithai=3585,e.kokatakana=12467,e.kokatakanahalfwidth=65402,e.kooposquare=13086,e.koppacyrillic=1153,e.koreanstandardsymbol=12927,e.koroniscmb=835,e.kparen=9382,e.kpasquare=13226,e.ksicyrillic=1135,e.ktsquare=13263,e.kturned=670,e.kuhiragana=12367,e.kukatakana=12463,e.kukatakanahalfwidth=65400,e.kvsquare=13240,e.kwsquare=13246,e.l=108,e.labengali=2482,e.lacute=314,e.ladeva=2354,e.lagujarati=2738,e.lagurmukhi=2610,e.lakkhangyaothai=3653,e.lamaleffinalarabic=65276,e.lamalefhamzaabovefinalarabic=65272,e.lamalefhamzaaboveisolatedarabic=65271,e.lamalefhamzabelowfinalarabic=65274,e.lamalefhamzabelowisolatedarabic=65273,e.lamalefisolatedarabic=65275,e.lamalefmaddaabovefinalarabic=65270,e.lamalefmaddaaboveisolatedarabic=65269,e.lamarabic=1604,e.lambda=955,e.lambdastroke=411,e.lamed=1500,e.lameddagesh=64316,e.lameddageshhebrew=64316,e.lamedhebrew=1500,e.lamfinalarabic=65246,e.lamhahinitialarabic=64714,e.laminitialarabic=65247,e.lamjeeminitialarabic=64713,e.lamkhahinitialarabic=64715,e.lamlamhehisolatedarabic=65010,e.lammedialarabic=65248,e.lammeemhahinitialarabic=64904,e.lammeeminitialarabic=64716,e.largecircle=9711,e.lbar=410,e.lbelt=620,e.lbopomofo=12556,e.lcaron=318,e.lcedilla=316,e.lcircle=9435,e.lcircumflexbelow=7741,e.lcommaaccent=316,e.ldot=320,e.ldotaccent=320,e.ldotbelow=7735,e.ldotbelowmacron=7737,e.leftangleabovecmb=794,e.lefttackbelowcmb=792,e.less=60,e.lessequal=8804,e.lessequalorgreater=8922,e.lessmonospace=65308,e.lessorequivalent=8818,e.lessorgreater=8822,e.lessoverequal=8806,e.lesssmall=65124,e.lezh=622,e.lfblock=9612,e.lhookretroflex=621,e.lira=8356,e.liwnarmenian=1388,e.lj=457,e.ljecyrillic=1113,e.ll=63168,e.lladeva=2355,e.llagujarati=2739,e.llinebelow=7739,e.llladeva=2356,e.llvocalicbengali=2529,e.llvocalicdeva=2401,e.llvocalicvowelsignbengali=2531,e.llvocalicvowelsigndeva=2403,e.lmiddletilde=619,e.lmonospace=65356,e.lmsquare=13264,e.lochulathai=3628,e.logicaland=8743,e.logicalnot=172,e.logicalnotreversed=8976,e.logicalor=8744,e.lolingthai=3621,e.longs=383,e.lowlinecenterline=65102,e.lowlinecmb=818,e.lowlinedashed=65101,e.lozenge=9674,e.lparen=9383,e.lslash=322,e.lsquare=8467,e.lsuperior=63214,e.ltshade=9617,e.luthai=3622,e.lvocalicbengali=2444,e.lvocalicdeva=2316,e.lvocalicvowelsignbengali=2530,e.lvocalicvowelsigndeva=2402,e.lxsquare=13267,e.m=109,e.mabengali=2478,e.macron=175,e.macronbelowcmb=817,e.macroncmb=772,e.macronlowmod=717,e.macronmonospace=65507,e.macute=7743,e.madeva=2350,e.magujarati=2734,e.magurmukhi=2606,e.mahapakhhebrew=1444,e.mahapakhlefthebrew=1444,e.mahiragana=12414,e.maichattawalowleftthai=63637,e.maichattawalowrightthai=63636,e.maichattawathai=3659,e.maichattawaupperleftthai=63635,e.maieklowleftthai=63628,e.maieklowrightthai=63627,e.maiekthai=3656,e.maiekupperleftthai=63626,e.maihanakatleftthai=63620,e.maihanakatthai=3633,e.maitaikhuleftthai=63625,e.maitaikhuthai=3655,e.maitholowleftthai=63631,e.maitholowrightthai=63630,e.maithothai=3657,e.maithoupperleftthai=63629,e.maitrilowleftthai=63634,e.maitrilowrightthai=63633,e.maitrithai=3658,e.maitriupperleftthai=63632,e.maiyamokthai=3654,e.makatakana=12510,e.makatakanahalfwidth=65423,e.male=9794,e.mansyonsquare=13127,e.maqafhebrew=1470,e.mars=9794,e.masoracirclehebrew=1455,e.masquare=13187,e.mbopomofo=12551,e.mbsquare=13268,e.mcircle=9436,e.mcubedsquare=13221,e.mdotaccent=7745,e.mdotbelow=7747,e.meemarabic=1605,e.meemfinalarabic=65250,e.meeminitialarabic=65251,e.meemmedialarabic=65252,e.meemmeeminitialarabic=64721,e.meemmeemisolatedarabic=64584,e.meetorusquare=13133,e.mehiragana=12417,e.meizierasquare=13182,e.mekatakana=12513,e.mekatakanahalfwidth=65426,e.mem=1502,e.memdagesh=64318,e.memdageshhebrew=64318,e.memhebrew=1502,e.menarmenian=1396,e.merkhahebrew=1445,e.merkhakefulahebrew=1446,e.merkhakefulalefthebrew=1446,e.merkhalefthebrew=1445,e.mhook=625,e.mhzsquare=13202,e.middledotkatakanahalfwidth=65381,e.middot=183,e.mieumacirclekorean=12914,e.mieumaparenkorean=12818,e.mieumcirclekorean=12900,e.mieumkorean=12609,e.mieumpansioskorean=12656,e.mieumparenkorean=12804,e.mieumpieupkorean=12654,e.mieumsioskorean=12655,e.mihiragana=12415,e.mikatakana=12511,e.mikatakanahalfwidth=65424,e.minus=8722,e.minusbelowcmb=800,e.minuscircle=8854,e.minusmod=727,e.minusplus=8723,e.minute=8242,e.miribaarusquare=13130,e.mirisquare=13129,e.mlonglegturned=624,e.mlsquare=13206,e.mmcubedsquare=13219,e.mmonospace=65357,e.mmsquaredsquare=13215,e.mohiragana=12418,e.mohmsquare=13249,e.mokatakana=12514,e.mokatakanahalfwidth=65427,e.molsquare=13270,e.momathai=3617,e.moverssquare=13223,e.moverssquaredsquare=13224,e.mparen=9384,e.mpasquare=13227,e.mssquare=13235,e.msuperior=63215,e.mturned=623,e.mu=181,e.mu1=181,e.muasquare=13186,e.muchgreater=8811,e.muchless=8810,e.mufsquare=13196,e.mugreek=956,e.mugsquare=13197,e.muhiragana=12416,e.mukatakana=12512,e.mukatakanahalfwidth=65425,e.mulsquare=13205,e.multiply=215,e.mumsquare=13211,e.munahhebrew=1443,e.munahlefthebrew=1443,e.musicalnote=9834,e.musicalnotedbl=9835,e.musicflatsign=9837,e.musicsharpsign=9839,e.mussquare=13234,e.muvsquare=13238,e.muwsquare=13244,e.mvmegasquare=13241,e.mvsquare=13239,e.mwmegasquare=13247,e.mwsquare=13245,e.n=110,e.nabengali=2472,e.nabla=8711,e.nacute=324,e.nadeva=2344,e.nagujarati=2728,e.nagurmukhi=2600,e.nahiragana=12394,e.nakatakana=12490,e.nakatakanahalfwidth=65413,e.napostrophe=329,e.nasquare=13185,e.nbopomofo=12555,e.nbspace=160,e.ncaron=328,e.ncedilla=326,e.ncircle=9437,e.ncircumflexbelow=7755,e.ncommaaccent=326,e.ndotaccent=7749,e.ndotbelow=7751,e.nehiragana=12397,e.nekatakana=12493,e.nekatakanahalfwidth=65416,e.newsheqelsign=8362,e.nfsquare=13195,e.ngabengali=2457,e.ngadeva=2329,e.ngagujarati=2713,e.ngagurmukhi=2585,e.ngonguthai=3591,e.nhiragana=12435,e.nhookleft=626,e.nhookretroflex=627,e.nieunacirclekorean=12911,e.nieunaparenkorean=12815,e.nieuncieuckorean=12597,e.nieuncirclekorean=12897,e.nieunhieuhkorean=12598,e.nieunkorean=12596,e.nieunpansioskorean=12648,e.nieunparenkorean=12801,e.nieunsioskorean=12647,e.nieuntikeutkorean=12646,e.nihiragana=12395,e.nikatakana=12491,e.nikatakanahalfwidth=65414,e.nikhahitleftthai=63641,e.nikhahitthai=3661,e.nine=57,e.ninearabic=1641,e.ninebengali=2543,e.ninecircle=9320,e.ninecircleinversesansserif=10130,e.ninedeva=2415,e.ninegujarati=2799,e.ninegurmukhi=2671,e.ninehackarabic=1641,e.ninehangzhou=12329,e.nineideographicparen=12840,e.nineinferior=8329,e.ninemonospace=65305,e.nineoldstyle=63289,e.nineparen=9340,e.nineperiod=9360,e.ninepersian=1785,e.nineroman=8568,e.ninesuperior=8313,e.nineteencircle=9330,e.nineteenparen=9350,e.nineteenperiod=9370,e.ninethai=3673,e.nj=460,e.njecyrillic=1114,e.nkatakana=12531,e.nkatakanahalfwidth=65437,e.nlegrightlong=414,e.nlinebelow=7753,e.nmonospace=65358,e.nmsquare=13210,e.nnabengali=2467,e.nnadeva=2339,e.nnagujarati=2723,e.nnagurmukhi=2595,e.nnnadeva=2345,e.nohiragana=12398,e.nokatakana=12494,e.nokatakanahalfwidth=65417,e.nonbreakingspace=160,e.nonenthai=3603,e.nonuthai=3609,e.noonarabic=1606,e.noonfinalarabic=65254,e.noonghunnaarabic=1722,e.noonghunnafinalarabic=64415,e.nooninitialarabic=65255,e.noonjeeminitialarabic=64722,e.noonjeemisolatedarabic=64587,e.noonmedialarabic=65256,e.noonmeeminitialarabic=64725,e.noonmeemisolatedarabic=64590,e.noonnoonfinalarabic=64653,e.notcontains=8716,e.notelement=8713,e.notelementof=8713,e.notequal=8800,e.notgreater=8815,e.notgreaternorequal=8817,e.notgreaternorless=8825,e.notidentical=8802,e.notless=8814,e.notlessnorequal=8816,e.notparallel=8742,e.notprecedes=8832,e.notsubset=8836,e.notsucceeds=8833,e.notsuperset=8837,e.nowarmenian=1398,e.nparen=9385,e.nssquare=13233,e.nsuperior=8319,e.ntilde=241,e.nu=957,e.nuhiragana=12396,e.nukatakana=12492,e.nukatakanahalfwidth=65415,e.nuktabengali=2492,e.nuktadeva=2364,e.nuktagujarati=2748,e.nuktagurmukhi=2620,e.numbersign=35,e.numbersignmonospace=65283,e.numbersignsmall=65119,e.numeralsigngreek=884,e.numeralsignlowergreek=885,e.numero=8470,e.nun=1504,e.nundagesh=64320,e.nundageshhebrew=64320,e.nunhebrew=1504,e.nvsquare=13237,e.nwsquare=13243,e.nyabengali=2462,e.nyadeva=2334,e.nyagujarati=2718,e.nyagurmukhi=2590,e.o=111,e.oacute=243,e.oangthai=3629,e.obarred=629,e.obarredcyrillic=1257,e.obarreddieresiscyrillic=1259,e.obengali=2451,e.obopomofo=12571,e.obreve=335,e.ocandradeva=2321,e.ocandragujarati=2705,e.ocandravowelsigndeva=2377,e.ocandravowelsigngujarati=2761,e.ocaron=466,e.ocircle=9438,e.ocircumflex=244,e.ocircumflexacute=7889,e.ocircumflexdotbelow=7897,e.ocircumflexgrave=7891,e.ocircumflexhookabove=7893,e.ocircumflextilde=7895,e.ocyrillic=1086,e.odblacute=337,e.odblgrave=525,e.odeva=2323,e.odieresis=246,e.odieresiscyrillic=1255,e.odotbelow=7885,e.oe=339,e.oekorean=12634,e.ogonek=731,e.ogonekcmb=808,e.ograve=242,e.ogujarati=2707,e.oharmenian=1413,e.ohiragana=12362,e.ohookabove=7887,e.ohorn=417,e.ohornacute=7899,e.ohorndotbelow=7907,e.ohorngrave=7901,e.ohornhookabove=7903,e.ohorntilde=7905,e.ohungarumlaut=337,e.oi=419,e.oinvertedbreve=527,e.okatakana=12458,e.okatakanahalfwidth=65397,e.okorean=12631,e.olehebrew=1451,e.omacron=333,e.omacronacute=7763,e.omacrongrave=7761,e.omdeva=2384,e.omega=969,e.omega1=982,e.omegacyrillic=1121,e.omegalatinclosed=631,e.omegaroundcyrillic=1147,e.omegatitlocyrillic=1149,e.omegatonos=974,e.omgujarati=2768,e.omicron=959,e.omicrontonos=972,e.omonospace=65359,e.one=49,e.onearabic=1633,e.onebengali=2535,e.onecircle=9312,e.onecircleinversesansserif=10122,e.onedeva=2407,e.onedotenleader=8228,e.oneeighth=8539,e.onefitted=63196,e.onegujarati=2791,e.onegurmukhi=2663,e.onehackarabic=1633,e.onehalf=189,e.onehangzhou=12321,e.oneideographicparen=12832,e.oneinferior=8321,e.onemonospace=65297,e.onenumeratorbengali=2548,e.oneoldstyle=63281,e.oneparen=9332,e.oneperiod=9352,e.onepersian=1777,e.onequarter=188,e.oneroman=8560,e.onesuperior=185,e.onethai=3665,e.onethird=8531,e.oogonek=491,e.oogonekmacron=493,e.oogurmukhi=2579,e.oomatragurmukhi=2635,e.oopen=596,e.oparen=9386,e.openbullet=9702,e.option=8997,e.ordfeminine=170,e.ordmasculine=186,e.orthogonal=8735,e.oshortdeva=2322,e.oshortvowelsigndeva=2378,e.oslash=248,e.oslashacute=511,e.osmallhiragana=12361,e.osmallkatakana=12457,e.osmallkatakanahalfwidth=65387,e.ostrokeacute=511,e.osuperior=63216,e.otcyrillic=1151,e.otilde=245,e.otildeacute=7757,e.otildedieresis=7759,e.oubopomofo=12577,e.overline=8254,e.overlinecenterline=65098,e.overlinecmb=773,e.overlinedashed=65097,e.overlinedblwavy=65100,e.overlinewavy=65099,e.overscore=175,e.ovowelsignbengali=2507,e.ovowelsigndeva=2379,e.ovowelsigngujarati=2763,e.p=112,e.paampssquare=13184,e.paasentosquare=13099,e.pabengali=2474,e.pacute=7765,e.padeva=2346,e.pagedown=8671,e.pageup=8670,e.pagujarati=2730,e.pagurmukhi=2602,e.pahiragana=12401,e.paiyannoithai=3631,e.pakatakana=12497,e.palatalizationcyrilliccmb=1156,e.palochkacyrillic=1216,e.pansioskorean=12671,e.paragraph=182,e.parallel=8741,e.parenleft=40,e.parenleftaltonearabic=64830,e.parenleftbt=63725,e.parenleftex=63724,e.parenleftinferior=8333,e.parenleftmonospace=65288,e.parenleftsmall=65113,e.parenleftsuperior=8317,e.parenlefttp=63723,e.parenleftvertical=65077,e.parenright=41,e.parenrightaltonearabic=64831,e.parenrightbt=63736,e.parenrightex=63735,e.parenrightinferior=8334,e.parenrightmonospace=65289,e.parenrightsmall=65114,e.parenrightsuperior=8318,e.parenrighttp=63734,e.parenrightvertical=65078,e.partialdiff=8706,e.paseqhebrew=1472,e.pashtahebrew=1433,e.pasquare=13225,e.patah=1463,e.patah11=1463,e.patah1d=1463,e.patah2a=1463,e.patahhebrew=1463,e.patahnarrowhebrew=1463,e.patahquarterhebrew=1463,e.patahwidehebrew=1463,e.pazerhebrew=1441,e.pbopomofo=12550,e.pcircle=9439,e.pdotaccent=7767,e.pe=1508,e.pecyrillic=1087,e.pedagesh=64324,e.pedageshhebrew=64324,e.peezisquare=13115,e.pefinaldageshhebrew=64323,e.peharabic=1662,e.peharmenian=1402,e.pehebrew=1508,e.pehfinalarabic=64343,e.pehinitialarabic=64344,e.pehiragana=12410,e.pehmedialarabic=64345,e.pekatakana=12506,e.pemiddlehookcyrillic=1191,e.perafehebrew=64334,e.percent=37,e.percentarabic=1642,e.percentmonospace=65285,e.percentsmall=65130,e.period=46,e.periodarmenian=1417,e.periodcentered=183,e.periodhalfwidth=65377,e.periodinferior=63207,e.periodmonospace=65294,e.periodsmall=65106,e.periodsuperior=63208,e.perispomenigreekcmb=834,e.perpendicular=8869,e.perthousand=8240,e.peseta=8359,e.pfsquare=13194,e.phabengali=2475,e.phadeva=2347,e.phagujarati=2731,e.phagurmukhi=2603,e.phi=966,e.phi1=981,e.phieuphacirclekorean=12922,e.phieuphaparenkorean=12826,e.phieuphcirclekorean=12908,e.phieuphkorean=12621,e.phieuphparenkorean=12812,e.philatin=632,e.phinthuthai=3642,e.phisymbolgreek=981,e.phook=421,e.phophanthai=3614,e.phophungthai=3612,e.phosamphaothai=3616,e.pi=960,e.pieupacirclekorean=12915,e.pieupaparenkorean=12819,e.pieupcieuckorean=12662,e.pieupcirclekorean=12901,e.pieupkiyeokkorean=12658,e.pieupkorean=12610,e.pieupparenkorean=12805,e.pieupsioskiyeokkorean=12660,e.pieupsioskorean=12612,e.pieupsiostikeutkorean=12661,e.pieupthieuthkorean=12663,e.pieuptikeutkorean=12659,e.pihiragana=12404,e.pikatakana=12500,e.pisymbolgreek=982,e.piwrarmenian=1411,e.planckover2pi=8463,e.planckover2pi1=8463,e.plus=43,e.plusbelowcmb=799,e.pluscircle=8853,e.plusminus=177,e.plusmod=726,e.plusmonospace=65291,e.plussmall=65122,e.plussuperior=8314,e.pmonospace=65360,e.pmsquare=13272,e.pohiragana=12413,e.pointingindexdownwhite=9759,e.pointingindexleftwhite=9756,e.pointingindexrightwhite=9758,e.pointingindexupwhite=9757,e.pokatakana=12509,e.poplathai=3611,e.postalmark=12306,e.postalmarkface=12320,e.pparen=9387,e.precedes=8826,e.prescription=8478,e.primemod=697,e.primereversed=8245,e.product=8719,e.projective=8965,e.prolongedkana=12540,e.propellor=8984,e.propersubset=8834,e.propersuperset=8835,e.proportion=8759,e.proportional=8733,e.psi=968,e.psicyrillic=1137,e.psilipneumatacyrilliccmb=1158,e.pssquare=13232,e.puhiragana=12407,e.pukatakana=12503,e.pvsquare=13236,e.pwsquare=13242,e.q=113,e.qadeva=2392,e.qadmahebrew=1448,e.qafarabic=1602,e.qaffinalarabic=65238,e.qafinitialarabic=65239,e.qafmedialarabic=65240,e.qamats=1464,e.qamats10=1464,e.qamats1a=1464,e.qamats1c=1464,e.qamats27=1464,e.qamats29=1464,e.qamats33=1464,e.qamatsde=1464,e.qamatshebrew=1464,e.qamatsnarrowhebrew=1464,e.qamatsqatanhebrew=1464,e.qamatsqatannarrowhebrew=1464,e.qamatsqatanquarterhebrew=1464,e.qamatsqatanwidehebrew=1464,e.qamatsquarterhebrew=1464,e.qamatswidehebrew=1464,e.qarneyparahebrew=1439,e.qbopomofo=12561,e.qcircle=9440,e.qhook=672,e.qmonospace=65361,e.qof=1511,e.qofdagesh=64327,e.qofdageshhebrew=64327,e.qofhebrew=1511,e.qparen=9388,e.quarternote=9833,e.qubuts=1467,e.qubuts18=1467,e.qubuts25=1467,e.qubuts31=1467,e.qubutshebrew=1467,e.qubutsnarrowhebrew=1467,e.qubutsquarterhebrew=1467,e.qubutswidehebrew=1467,e.question=63,e.questionarabic=1567,e.questionarmenian=1374,e.questiondown=191,e.questiondownsmall=63423,e.questiongreek=894,e.questionmonospace=65311,e.questionsmall=63295,e.quotedbl=34,e.quotedblbase=8222,e.quotedblleft=8220,e.quotedblmonospace=65282,e.quotedblprime=12318,e.quotedblprimereversed=12317,e.quotedblright=8221,e.quoteleft=8216,e.quoteleftreversed=8219,e.quotereversed=8219,e.quoteright=8217,e.quoterightn=329,e.quotesinglbase=8218,e.quotesingle=39,e.quotesinglemonospace=65287,e.r=114,e.raarmenian=1404,e.rabengali=2480,e.racute=341,e.radeva=2352,e.radical=8730,e.radicalex=63717,e.radoverssquare=13230,e.radoverssquaredsquare=13231,e.radsquare=13229,e.rafe=1471,e.rafehebrew=1471,e.ragujarati=2736,e.ragurmukhi=2608,e.rahiragana=12425,e.rakatakana=12521,e.rakatakanahalfwidth=65431,e.ralowerdiagonalbengali=2545,e.ramiddlediagonalbengali=2544,e.ramshorn=612,e.ratio=8758,e.rbopomofo=12566,e.rcaron=345,e.rcedilla=343,e.rcircle=9441,e.rcommaaccent=343,e.rdblgrave=529,e.rdotaccent=7769,e.rdotbelow=7771,e.rdotbelowmacron=7773,e.referencemark=8251,e.reflexsubset=8838,e.reflexsuperset=8839,e.registered=174,e.registersans=63720,e.registerserif=63194,e.reharabic=1585,e.reharmenian=1408,e.rehfinalarabic=65198,e.rehiragana=12428,e.rekatakana=12524;e.rekatakanahalfwidth=65434,e.resh=1512,e.reshdageshhebrew=64328,e.reshhebrew=1512,e.reversedtilde=8765,e.reviahebrew=1431,e.reviamugrashhebrew=1431,e.revlogicalnot=8976,e.rfishhook=638,e.rfishhookreversed=639,e.rhabengali=2525,e.rhadeva=2397,e.rho=961,e.rhook=637,e.rhookturned=635,e.rhookturnedsuperior=693,e.rhosymbolgreek=1009,e.rhotichookmod=734,e.rieulacirclekorean=12913,e.rieulaparenkorean=12817,e.rieulcirclekorean=12899,e.rieulhieuhkorean=12608,e.rieulkiyeokkorean=12602,e.rieulkiyeoksioskorean=12649,e.rieulkorean=12601,e.rieulmieumkorean=12603,e.rieulpansioskorean=12652,e.rieulparenkorean=12803,e.rieulphieuphkorean=12607,e.rieulpieupkorean=12604,e.rieulpieupsioskorean=12651,e.rieulsioskorean=12605,e.rieulthieuthkorean=12606,e.rieultikeutkorean=12650,e.rieulyeorinhieuhkorean=12653,e.rightangle=8735,e.righttackbelowcmb=793,e.righttriangle=8895,e.rihiragana=12426,e.rikatakana=12522,e.rikatakanahalfwidth=65432,e.ring=730,e.ringbelowcmb=805,e.ringcmb=778,e.ringhalfleft=703,e.ringhalfleftarmenian=1369,e.ringhalfleftbelowcmb=796,e.ringhalfleftcentered=723,e.ringhalfright=702,e.ringhalfrightbelowcmb=825,e.ringhalfrightcentered=722,e.rinvertedbreve=531,e.rittorusquare=13137,e.rlinebelow=7775,e.rlongleg=636,e.rlonglegturned=634,e.rmonospace=65362,e.rohiragana=12429,e.rokatakana=12525,e.rokatakanahalfwidth=65435,e.roruathai=3619,e.rparen=9389,e.rrabengali=2524,e.rradeva=2353,e.rragurmukhi=2652,e.rreharabic=1681,e.rrehfinalarabic=64397,e.rrvocalicbengali=2528,e.rrvocalicdeva=2400,e.rrvocalicgujarati=2784,e.rrvocalicvowelsignbengali=2500,e.rrvocalicvowelsigndeva=2372,e.rrvocalicvowelsigngujarati=2756,e.rsuperior=63217,e.rtblock=9616,e.rturned=633,e.rturnedsuperior=692,e.ruhiragana=12427,e.rukatakana=12523,e.rukatakanahalfwidth=65433,e.rupeemarkbengali=2546,e.rupeesignbengali=2547,e.rupiah=63197,e.ruthai=3620,e.rvocalicbengali=2443,e.rvocalicdeva=2315,e.rvocalicgujarati=2699,e.rvocalicvowelsignbengali=2499,e.rvocalicvowelsigndeva=2371,e.rvocalicvowelsigngujarati=2755,e.s=115,e.sabengali=2488,e.sacute=347,e.sacutedotaccent=7781,e.sadarabic=1589,e.sadeva=2360,e.sadfinalarabic=65210,e.sadinitialarabic=65211,e.sadmedialarabic=65212,e.sagujarati=2744,e.sagurmukhi=2616,e.sahiragana=12373,e.sakatakana=12469,e.sakatakanahalfwidth=65403,e.sallallahoualayhewasallamarabic=65018,e.samekh=1505,e.samekhdagesh=64321,e.samekhdageshhebrew=64321,e.samekhhebrew=1505,e.saraaathai=3634,e.saraaethai=3649,e.saraaimaimalaithai=3652,e.saraaimaimuanthai=3651,e.saraamthai=3635,e.saraathai=3632,e.saraethai=3648,e.saraiileftthai=63622,e.saraiithai=3637,e.saraileftthai=63621,e.saraithai=3636,e.saraothai=3650,e.saraueeleftthai=63624,e.saraueethai=3639,e.saraueleftthai=63623,e.sarauethai=3638,e.sarauthai=3640,e.sarauuthai=3641,e.sbopomofo=12569,e.scaron=353,e.scarondotaccent=7783,e.scedilla=351,e.schwa=601,e.schwacyrillic=1241,e.schwadieresiscyrillic=1243,e.schwahook=602,e.scircle=9442,e.scircumflex=349,e.scommaaccent=537,e.sdotaccent=7777,e.sdotbelow=7779,e.sdotbelowdotaccent=7785,e.seagullbelowcmb=828,e.second=8243,e.secondtonechinese=714,e.section=167,e.seenarabic=1587,e.seenfinalarabic=65202,e.seeninitialarabic=65203,e.seenmedialarabic=65204,e.segol=1462,e.segol13=1462,e.segol1f=1462,e.segol2c=1462,e.segolhebrew=1462,e.segolnarrowhebrew=1462,e.segolquarterhebrew=1462,e.segoltahebrew=1426,e.segolwidehebrew=1462,e.seharmenian=1405,e.sehiragana=12379,e.sekatakana=12475,e.sekatakanahalfwidth=65406,e.semicolon=59,e.semicolonarabic=1563,e.semicolonmonospace=65307,e.semicolonsmall=65108,e.semivoicedmarkkana=12444,e.semivoicedmarkkanahalfwidth=65439,e.sentisquare=13090,e.sentosquare=13091,e.seven=55,e.sevenarabic=1639,e.sevenbengali=2541,e.sevencircle=9318,e.sevencircleinversesansserif=10128,e.sevendeva=2413,e.seveneighths=8542,e.sevengujarati=2797,e.sevengurmukhi=2669,e.sevenhackarabic=1639,e.sevenhangzhou=12327,e.sevenideographicparen=12838,e.seveninferior=8327,e.sevenmonospace=65303,e.sevenoldstyle=63287,e.sevenparen=9338,e.sevenperiod=9358,e.sevenpersian=1783,e.sevenroman=8566,e.sevensuperior=8311,e.seventeencircle=9328,e.seventeenparen=9348,e.seventeenperiod=9368,e.seventhai=3671,e.sfthyphen=173,e.shaarmenian=1399,e.shabengali=2486,e.shacyrillic=1096,e.shaddaarabic=1617,e.shaddadammaarabic=64609,e.shaddadammatanarabic=64606,e.shaddafathaarabic=64608,e.shaddakasraarabic=64610,e.shaddakasratanarabic=64607,e.shade=9618,e.shadedark=9619,e.shadelight=9617,e.shademedium=9618,e.shadeva=2358,e.shagujarati=2742,e.shagurmukhi=2614,e.shalshelethebrew=1427,e.shbopomofo=12565,e.shchacyrillic=1097,e.sheenarabic=1588,e.sheenfinalarabic=65206,e.sheeninitialarabic=65207,e.sheenmedialarabic=65208,e.sheicoptic=995,e.sheqel=8362,e.sheqelhebrew=8362,e.sheva=1456,e.sheva115=1456,e.sheva15=1456,e.sheva22=1456,e.sheva2e=1456,e.shevahebrew=1456,e.shevanarrowhebrew=1456,e.shevaquarterhebrew=1456,e.shevawidehebrew=1456,e.shhacyrillic=1211,e.shimacoptic=1005,e.shin=1513,e.shindagesh=64329,e.shindageshhebrew=64329,e.shindageshshindot=64300,e.shindageshshindothebrew=64300,e.shindageshsindot=64301,e.shindageshsindothebrew=64301,e.shindothebrew=1473,e.shinhebrew=1513,e.shinshindot=64298,e.shinshindothebrew=64298,e.shinsindot=64299,e.shinsindothebrew=64299,e.shook=642,e.sigma=963,e.sigma1=962,e.sigmafinal=962,e.sigmalunatesymbolgreek=1010,e.sihiragana=12375,e.sikatakana=12471,e.sikatakanahalfwidth=65404,e.siluqhebrew=1469,e.siluqlefthebrew=1469,e.similar=8764,e.sindothebrew=1474,e.siosacirclekorean=12916,e.siosaparenkorean=12820,e.sioscieuckorean=12670,e.sioscirclekorean=12902,e.sioskiyeokkorean=12666,e.sioskorean=12613,e.siosnieunkorean=12667,e.siosparenkorean=12806,e.siospieupkorean=12669,e.siostikeutkorean=12668,e.six=54,e.sixarabic=1638,e.sixbengali=2540,e.sixcircle=9317,e.sixcircleinversesansserif=10127,e.sixdeva=2412,e.sixgujarati=2796,e.sixgurmukhi=2668,e.sixhackarabic=1638,e.sixhangzhou=12326,e.sixideographicparen=12837,e.sixinferior=8326,e.sixmonospace=65302,e.sixoldstyle=63286,e.sixparen=9337,e.sixperiod=9357,e.sixpersian=1782,e.sixroman=8565,e.sixsuperior=8310,e.sixteencircle=9327,e.sixteencurrencydenominatorbengali=2553,e.sixteenparen=9347,e.sixteenperiod=9367,e.sixthai=3670,e.slash=47,e.slashmonospace=65295,e.slong=383,e.slongdotaccent=7835,e.smileface=9786,e.smonospace=65363,e.sofpasuqhebrew=1475,e.softhyphen=173,e.softsigncyrillic=1100,e.sohiragana=12381,e.sokatakana=12477,e.sokatakanahalfwidth=65407,e.soliduslongoverlaycmb=824,e.solidusshortoverlaycmb=823,e.sorusithai=3625,e.sosalathai=3624,e.sosothai=3595,e.sosuathai=3626,e.space=32,e.spacehackarabic=32,e.spade=9824,e.spadesuitblack=9824,e.spadesuitwhite=9828,e.sparen=9390,e.squarebelowcmb=827,e.squarecc=13252,e.squarecm=13213,e.squarediagonalcrosshatchfill=9641,e.squarehorizontalfill=9636,e.squarekg=13199,e.squarekm=13214,e.squarekmcapital=13262,e.squareln=13265,e.squarelog=13266,e.squaremg=13198,e.squaremil=13269,e.squaremm=13212,e.squaremsquared=13217,e.squareorthogonalcrosshatchfill=9638,e.squareupperlefttolowerrightfill=9639,e.squareupperrighttolowerleftfill=9640,e.squareverticalfill=9637,e.squarewhitewithsmallblack=9635,e.srsquare=13275,e.ssabengali=2487,e.ssadeva=2359,e.ssagujarati=2743,e.ssangcieuckorean=12617,e.ssanghieuhkorean=12677,e.ssangieungkorean=12672,e.ssangkiyeokkorean=12594,e.ssangnieunkorean=12645,e.ssangpieupkorean=12611,e.ssangsioskorean=12614,e.ssangtikeutkorean=12600,e.ssuperior=63218,e.sterling=163,e.sterlingmonospace=65505,e.strokelongoverlaycmb=822,e.strokeshortoverlaycmb=821,e.subset=8834,e.subsetnotequal=8842,e.subsetorequal=8838,e.succeeds=8827,e.suchthat=8715,e.suhiragana=12377,e.sukatakana=12473,e.sukatakanahalfwidth=65405,e.sukunarabic=1618,e.summation=8721,e.sun=9788,e.superset=8835,e.supersetnotequal=8843,e.supersetorequal=8839,e.svsquare=13276,e.syouwaerasquare=13180,e.t=116,e.tabengali=2468,e.tackdown=8868,e.tackleft=8867,e.tadeva=2340,e.tagujarati=2724,e.tagurmukhi=2596,e.taharabic=1591,e.tahfinalarabic=65218,e.tahinitialarabic=65219,e.tahiragana=12383,e.tahmedialarabic=65220,e.taisyouerasquare=13181,e.takatakana=12479,e.takatakanahalfwidth=65408,e.tatweelarabic=1600,e.tau=964,e.tav=1514,e.tavdages=64330,e.tavdagesh=64330,e.tavdageshhebrew=64330,e.tavhebrew=1514,e.tbar=359,e.tbopomofo=12554,e.tcaron=357,e.tccurl=680,e.tcedilla=355,e.tcheharabic=1670,e.tchehfinalarabic=64379,e.tchehinitialarabic=64380,e.tchehmedialarabic=64381,e.tcircle=9443,e.tcircumflexbelow=7793,e.tcommaaccent=355,e.tdieresis=7831,e.tdotaccent=7787,e.tdotbelow=7789,e.tecyrillic=1090,e.tedescendercyrillic=1197,e.teharabic=1578,e.tehfinalarabic=65174,e.tehhahinitialarabic=64674,e.tehhahisolatedarabic=64524,e.tehinitialarabic=65175,e.tehiragana=12390,e.tehjeeminitialarabic=64673,e.tehjeemisolatedarabic=64523,e.tehmarbutaarabic=1577,e.tehmarbutafinalarabic=65172,e.tehmedialarabic=65176,e.tehmeeminitialarabic=64676,e.tehmeemisolatedarabic=64526,e.tehnoonfinalarabic=64627,e.tekatakana=12486,e.tekatakanahalfwidth=65411,e.telephone=8481,e.telephoneblack=9742,e.telishagedolahebrew=1440,e.telishaqetanahebrew=1449,e.tencircle=9321,e.tenideographicparen=12841,e.tenparen=9341,e.tenperiod=9361,e.tenroman=8569,e.tesh=679,e.tet=1496,e.tetdagesh=64312,e.tetdageshhebrew=64312,e.tethebrew=1496,e.tetsecyrillic=1205,e.tevirhebrew=1435,e.tevirlefthebrew=1435,e.thabengali=2469,e.thadeva=2341,e.thagujarati=2725,e.thagurmukhi=2597,e.thalarabic=1584,e.thalfinalarabic=65196,e.thanthakhatlowleftthai=63640,e.thanthakhatlowrightthai=63639,e.thanthakhatthai=3660,e.thanthakhatupperleftthai=63638,e.theharabic=1579,e.thehfinalarabic=65178,e.thehinitialarabic=65179,e.thehmedialarabic=65180,e.thereexists=8707,e.therefore=8756,e.theta=952,e.theta1=977,e.thetasymbolgreek=977,e.thieuthacirclekorean=12921,e.thieuthaparenkorean=12825,e.thieuthcirclekorean=12907,e.thieuthkorean=12620,e.thieuthparenkorean=12811,e.thirteencircle=9324,e.thirteenparen=9344,e.thirteenperiod=9364,e.thonangmonthothai=3601,e.thook=429,e.thophuthaothai=3602,e.thorn=254,e.thothahanthai=3607,e.thothanthai=3600,e.thothongthai=3608,e.thothungthai=3606,e.thousandcyrillic=1154,e.thousandsseparatorarabic=1644,e.thousandsseparatorpersian=1644,e.three=51,e.threearabic=1635,e.threebengali=2537,e.threecircle=9314,e.threecircleinversesansserif=10124,e.threedeva=2409,e.threeeighths=8540,e.threegujarati=2793,e.threegurmukhi=2665,e.threehackarabic=1635,e.threehangzhou=12323,e.threeideographicparen=12834,e.threeinferior=8323,e.threemonospace=65299,e.threenumeratorbengali=2550,e.threeoldstyle=63283,e.threeparen=9334,e.threeperiod=9354,e.threepersian=1779,e.threequarters=190,e.threequartersemdash=63198,e.threeroman=8562,e.threesuperior=179,e.threethai=3667,e.thzsquare=13204,e.tihiragana=12385,e.tikatakana=12481,e.tikatakanahalfwidth=65409,e.tikeutacirclekorean=12912,e.tikeutaparenkorean=12816,e.tikeutcirclekorean=12898,e.tikeutkorean=12599,e.tikeutparenkorean=12802,e.tilde=732,e.tildebelowcmb=816,e.tildecmb=771,e.tildecomb=771,e.tildedoublecmb=864,e.tildeoperator=8764,e.tildeoverlaycmb=820,e.tildeverticalcmb=830,e.timescircle=8855,e.tipehahebrew=1430,e.tipehalefthebrew=1430,e.tippigurmukhi=2672,e.titlocyrilliccmb=1155,e.tiwnarmenian=1407,e.tlinebelow=7791,e.tmonospace=65364,e.toarmenian=1385,e.tohiragana=12392,e.tokatakana=12488,e.tokatakanahalfwidth=65412,e.tonebarextrahighmod=741,e.tonebarextralowmod=745,e.tonebarhighmod=742,e.tonebarlowmod=744,e.tonebarmidmod=743,e.tonefive=445,e.tonesix=389,e.tonetwo=424,e.tonos=900,e.tonsquare=13095,e.topatakthai=3599,e.tortoiseshellbracketleft=12308,e.tortoiseshellbracketleftsmall=65117,e.tortoiseshellbracketleftvertical=65081,e.tortoiseshellbracketright=12309,e.tortoiseshellbracketrightsmall=65118,e.tortoiseshellbracketrightvertical=65082,e.totaothai=3605,e.tpalatalhook=427,e.tparen=9391,e.trademark=8482,e.trademarksans=63722,e.trademarkserif=63195,e.tretroflexhook=648,e.triagdn=9660,e.triaglf=9668,e.triagrt=9658,e.triagup=9650,e.ts=678,e.tsadi=1510,e.tsadidagesh=64326,e.tsadidageshhebrew=64326,e.tsadihebrew=1510,e.tsecyrillic=1094,e.tsere=1461,e.tsere12=1461,e.tsere1e=1461,e.tsere2b=1461,e.tserehebrew=1461,e.tserenarrowhebrew=1461,e.tserequarterhebrew=1461,e.tserewidehebrew=1461,e.tshecyrillic=1115,e.tsuperior=63219,e.ttabengali=2463,e.ttadeva=2335,e.ttagujarati=2719,e.ttagurmukhi=2591,e.tteharabic=1657,e.ttehfinalarabic=64359,e.ttehinitialarabic=64360,e.ttehmedialarabic=64361,e.tthabengali=2464,e.tthadeva=2336,e.tthagujarati=2720,e.tthagurmukhi=2592,e.tturned=647,e.tuhiragana=12388,e.tukatakana=12484,e.tukatakanahalfwidth=65410,e.tusmallhiragana=12387,e.tusmallkatakana=12483,e.tusmallkatakanahalfwidth=65391,e.twelvecircle=9323,e.twelveparen=9343,e.twelveperiod=9363,e.twelveroman=8571,e.twentycircle=9331,e.twentyhangzhou=21316,e.twentyparen=9351,e.twentyperiod=9371,e.two=50,e.twoarabic=1634,e.twobengali=2536,e.twocircle=9313,e.twocircleinversesansserif=10123,e.twodeva=2408,e.twodotenleader=8229,e.twodotleader=8229,e.twodotleadervertical=65072,e.twogujarati=2792,e.twogurmukhi=2664,e.twohackarabic=1634,e.twohangzhou=12322,e.twoideographicparen=12833,e.twoinferior=8322,e.twomonospace=65298,e.twonumeratorbengali=2549,e.twooldstyle=63282,e.twoparen=9333,e.twoperiod=9353,e.twopersian=1778,e.tworoman=8561,e.twostroke=443,e.twosuperior=178,e.twothai=3666,e.twothirds=8532,e.u=117,e.uacute=250,e.ubar=649,e.ubengali=2441,e.ubopomofo=12584,e.ubreve=365,e.ucaron=468,e.ucircle=9444,e.ucircumflex=251,e.ucircumflexbelow=7799,e.ucyrillic=1091,e.udattadeva=2385,e.udblacute=369,e.udblgrave=533,e.udeva=2313,e.udieresis=252,e.udieresisacute=472,e.udieresisbelow=7795,e.udieresiscaron=474,e.udieresiscyrillic=1265,e.udieresisgrave=476,e.udieresismacron=470,e.udotbelow=7909,e.ugrave=249,e.ugujarati=2697,e.ugurmukhi=2569,e.uhiragana=12358,e.uhookabove=7911,e.uhorn=432,e.uhornacute=7913,e.uhorndotbelow=7921,e.uhorngrave=7915,e.uhornhookabove=7917,e.uhorntilde=7919,e.uhungarumlaut=369,e.uhungarumlautcyrillic=1267,e.uinvertedbreve=535,e.ukatakana=12454,e.ukatakanahalfwidth=65395,e.ukcyrillic=1145,e.ukorean=12636,e.umacron=363,e.umacroncyrillic=1263,e.umacrondieresis=7803,e.umatragurmukhi=2625,e.umonospace=65365,e.underscore=95,e.underscoredbl=8215,e.underscoremonospace=65343,e.underscorevertical=65075,e.underscorewavy=65103,e.union=8746,e.universal=8704,e.uogonek=371,e.uparen=9392,e.upblock=9600,e.upperdothebrew=1476,e.upsilon=965,e.upsilondieresis=971,e.upsilondieresistonos=944,e.upsilonlatin=650,e.upsilontonos=973,e.uptackbelowcmb=797,e.uptackmod=724,e.uragurmukhi=2675,e.uring=367,e.ushortcyrillic=1118,e.usmallhiragana=12357,e.usmallkatakana=12453,e.usmallkatakanahalfwidth=65385,e.ustraightcyrillic=1199,e.ustraightstrokecyrillic=1201,e.utilde=361,e.utildeacute=7801,e.utildebelow=7797,e.uubengali=2442,e.uudeva=2314,e.uugujarati=2698,e.uugurmukhi=2570,e.uumatragurmukhi=2626,e.uuvowelsignbengali=2498,e.uuvowelsigndeva=2370,e.uuvowelsigngujarati=2754,e.uvowelsignbengali=2497,e.uvowelsigndeva=2369,e.uvowelsigngujarati=2753,e.v=118,e.vadeva=2357,e.vagujarati=2741,e.vagurmukhi=2613,e.vakatakana=12535,e.vav=1493,e.vavdagesh=64309,e.vavdagesh65=64309,e.vavdageshhebrew=64309,e.vavhebrew=1493,e.vavholam=64331,e.vavholamhebrew=64331,e.vavvavhebrew=1520,e.vavyodhebrew=1521,e.vcircle=9445,e.vdotbelow=7807,e.vecyrillic=1074,e.veharabic=1700,e.vehfinalarabic=64363,e.vehinitialarabic=64364,e.vehmedialarabic=64365,e.vekatakana=12537,e.venus=9792,e.verticalbar=124,e.verticallineabovecmb=781,e.verticallinebelowcmb=809,e.verticallinelowmod=716,e.verticallinemod=712,e.vewarmenian=1406,e.vhook=651,e.vikatakana=12536,e.viramabengali=2509,e.viramadeva=2381,e.viramagujarati=2765,e.visargabengali=2435,e.visargadeva=2307,e.visargagujarati=2691,e.vmonospace=65366,e.voarmenian=1400,e.voicediterationhiragana=12446,e.voicediterationkatakana=12542,e.voicedmarkkana=12443,e.voicedmarkkanahalfwidth=65438,e.vokatakana=12538,e.vparen=9393,e.vtilde=7805,e.vturned=652,e.vuhiragana=12436,e.vukatakana=12532,e.w=119,e.wacute=7811,e.waekorean=12633,e.wahiragana=12431,e.wakatakana=12527,e.wakatakanahalfwidth=65436,e.wakorean=12632,e.wasmallhiragana=12430,e.wasmallkatakana=12526,e.wattosquare=13143,e.wavedash=12316,e.wavyunderscorevertical=65076,e.wawarabic=1608,e.wawfinalarabic=65262,e.wawhamzaabovearabic=1572,e.wawhamzaabovefinalarabic=65158,e.wbsquare=13277,e.wcircle=9446,e.wcircumflex=373,e.wdieresis=7813,e.wdotaccent=7815,e.wdotbelow=7817,e.wehiragana=12433,e.weierstrass=8472,e.wekatakana=12529,e.wekorean=12638,e.weokorean=12637,e.wgrave=7809,e.whitebullet=9702,e.whitecircle=9675,e.whitecircleinverse=9689,e.whitecornerbracketleft=12302,e.whitecornerbracketleftvertical=65091,e.whitecornerbracketright=12303,e.whitecornerbracketrightvertical=65092,e.whitediamond=9671,e.whitediamondcontainingblacksmalldiamond=9672,e.whitedownpointingsmalltriangle=9663;e.whitedownpointingtriangle=9661,e.whiteleftpointingsmalltriangle=9667,e.whiteleftpointingtriangle=9665,e.whitelenticularbracketleft=12310,e.whitelenticularbracketright=12311,e.whiterightpointingsmalltriangle=9657,e.whiterightpointingtriangle=9655,e.whitesmallsquare=9643,e.whitesmilingface=9786,e.whitesquare=9633,e.whitestar=9734,e.whitetelephone=9743,e.whitetortoiseshellbracketleft=12312,e.whitetortoiseshellbracketright=12313,e.whiteuppointingsmalltriangle=9653,e.whiteuppointingtriangle=9651,e.wihiragana=12432,e.wikatakana=12528,e.wikorean=12639,e.wmonospace=65367,e.wohiragana=12434,e.wokatakana=12530,e.wokatakanahalfwidth=65382,e.won=8361,e.wonmonospace=65510,e.wowaenthai=3623,e.wparen=9394,e.wring=7832,e.wsuperior=695,e.wturned=653,e.wynn=447,e.x=120,e.xabovecmb=829,e.xbopomofo=12562,e.xcircle=9447,e.xdieresis=7821,e.xdotaccent=7819,e.xeharmenian=1389,e.xi=958,e.xmonospace=65368,e.xparen=9395,e.xsuperior=739,e.y=121,e.yaadosquare=13134,e.yabengali=2479,e.yacute=253,e.yadeva=2351,e.yaekorean=12626,e.yagujarati=2735,e.yagurmukhi=2607,e.yahiragana=12420,e.yakatakana=12516,e.yakatakanahalfwidth=65428,e.yakorean=12625,e.yamakkanthai=3662,e.yasmallhiragana=12419,e.yasmallkatakana=12515,e.yasmallkatakanahalfwidth=65388,e.yatcyrillic=1123,e.ycircle=9448,e.ycircumflex=375,e.ydieresis=255,e.ydotaccent=7823,e.ydotbelow=7925,e.yeharabic=1610,e.yehbarreearabic=1746,e.yehbarreefinalarabic=64431,e.yehfinalarabic=65266,e.yehhamzaabovearabic=1574,e.yehhamzaabovefinalarabic=65162,e.yehhamzaaboveinitialarabic=65163,e.yehhamzaabovemedialarabic=65164,e.yehinitialarabic=65267,e.yehmedialarabic=65268,e.yehmeeminitialarabic=64733,e.yehmeemisolatedarabic=64600,e.yehnoonfinalarabic=64660,e.yehthreedotsbelowarabic=1745,e.yekorean=12630,e.yen=165,e.yenmonospace=65509,e.yeokorean=12629,e.yeorinhieuhkorean=12678,e.yerahbenyomohebrew=1450,e.yerahbenyomolefthebrew=1450,e.yericyrillic=1099,e.yerudieresiscyrillic=1273,e.yesieungkorean=12673,e.yesieungpansioskorean=12675,e.yesieungsioskorean=12674,e.yetivhebrew=1434,e.ygrave=7923,e.yhook=436,e.yhookabove=7927,e.yiarmenian=1397,e.yicyrillic=1111,e.yikorean=12642,e.yinyang=9775,e.yiwnarmenian=1410,e.ymonospace=65369,e.yod=1497,e.yoddagesh=64313,e.yoddageshhebrew=64313,e.yodhebrew=1497,e.yodyodhebrew=1522,e.yodyodpatahhebrew=64287,e.yohiragana=12424,e.yoikorean=12681,e.yokatakana=12520,e.yokatakanahalfwidth=65430,e.yokorean=12635,e.yosmallhiragana=12423,e.yosmallkatakana=12519,e.yosmallkatakanahalfwidth=65390,e.yotgreek=1011,e.yoyaekorean=12680,e.yoyakorean=12679,e.yoyakthai=3618,e.yoyingthai=3597,e.yparen=9396,e.ypogegrammeni=890,e.ypogegrammenigreekcmb=837,e.yr=422,e.yring=7833,e.ysuperior=696,e.ytilde=7929,e.yturned=654,e.yuhiragana=12422,e.yuikorean=12684,e.yukatakana=12518,e.yukatakanahalfwidth=65429,e.yukorean=12640,e.yusbigcyrillic=1131,e.yusbigiotifiedcyrillic=1133,e.yuslittlecyrillic=1127,e.yuslittleiotifiedcyrillic=1129,e.yusmallhiragana=12421,e.yusmallkatakana=12517,e.yusmallkatakanahalfwidth=65389,e.yuyekorean=12683,e.yuyeokorean=12682,e.yyabengali=2527,e.yyadeva=2399,e.z=122,e.zaarmenian=1382,e.zacute=378,e.zadeva=2395,e.zagurmukhi=2651,e.zaharabic=1592,e.zahfinalarabic=65222,e.zahinitialarabic=65223,e.zahiragana=12374,e.zahmedialarabic=65224,e.zainarabic=1586,e.zainfinalarabic=65200,e.zakatakana=12470,e.zaqefgadolhebrew=1429,e.zaqefqatanhebrew=1428,e.zarqahebrew=1432,e.zayin=1494,e.zayindagesh=64310,e.zayindageshhebrew=64310,e.zayinhebrew=1494,e.zbopomofo=12567,e.zcaron=382,e.zcircle=9449,e.zcircumflex=7825,e.zcurl=657,e.zdot=380,e.zdotaccent=380,e.zdotbelow=7827,e.zecyrillic=1079,e.zedescendercyrillic=1177,e.zedieresiscyrillic=1247,e.zehiragana=12380,e.zekatakana=12476,e.zero=48,e.zeroarabic=1632,e.zerobengali=2534,e.zerodeva=2406,e.zerogujarati=2790,e.zerogurmukhi=2662,e.zerohackarabic=1632,e.zeroinferior=8320,e.zeromonospace=65296,e.zerooldstyle=63280,e.zeropersian=1776,e.zerosuperior=8304,e.zerothai=3664,e.zerowidthjoiner=65279,e.zerowidthnonjoiner=8204,e.zerowidthspace=8203,e.zeta=950,e.zhbopomofo=12563,e.zhearmenian=1386,e.zhebrevecyrillic=1218,e.zhecyrillic=1078,e.zhedescendercyrillic=1175,e.zhedieresiscyrillic=1245,e.zihiragana=12376,e.zikatakana=12472,e.zinorhebrew=1454,e.zlinebelow=7829,e.zmonospace=65370,e.zohiragana=12382,e.zokatakana=12478,e.zparen=9397,e.zretroflexhook=656,e.zstroke=438,e.zuhiragana=12378,e.zukatakana=12474,e[".notdef"]=0,e.angbracketleftbig=9001,e.angbracketleftBig=9001,e.angbracketleftbigg=9001,e.angbracketleftBigg=9001,e.angbracketrightBig=9002,e.angbracketrightbig=9002,e.angbracketrightBigg=9002,e.angbracketrightbigg=9002,e.arrowhookleft=8618,e.arrowhookright=8617,e.arrowlefttophalf=8636,e.arrowleftbothalf=8637,e.arrownortheast=8599,e.arrownorthwest=8598,e.arrowrighttophalf=8640,e.arrowrightbothalf=8641,e.arrowsoutheast=8600,e.arrowsouthwest=8601,e.backslashbig=8726,e.backslashBig=8726,e.backslashBigg=8726,e.backslashbigg=8726,e.bardbl=8214,e.bracehtipdownleft=65079,e.bracehtipdownright=65079,e.bracehtipupleft=65080,e.bracehtipupright=65080,e.braceleftBig=123,e.braceleftbig=123,e.braceleftbigg=123,e.braceleftBigg=123,e.bracerightBig=125,e.bracerightbig=125,e.bracerightbigg=125,e.bracerightBigg=125,e.bracketleftbig=91,e.bracketleftBig=91,e.bracketleftbigg=91,e.bracketleftBigg=91,e.bracketrightBig=93,e.bracketrightbig=93,e.bracketrightbigg=93,e.bracketrightBigg=93,e.ceilingleftbig=8968,e.ceilingleftBig=8968,e.ceilingleftBigg=8968,e.ceilingleftbigg=8968,e.ceilingrightbig=8969,e.ceilingrightBig=8969,e.ceilingrightbigg=8969,e.ceilingrightBigg=8969,e.circledotdisplay=8857,e.circledottext=8857,e.circlemultiplydisplay=8855,e.circlemultiplytext=8855,e.circleplusdisplay=8853,e.circleplustext=8853,e.contintegraldisplay=8750,e.contintegraltext=8750,e.coproductdisplay=8720,e.coproducttext=8720,e.floorleftBig=8970,e.floorleftbig=8970,e.floorleftbigg=8970,e.floorleftBigg=8970,e.floorrightbig=8971,e.floorrightBig=8971,e.floorrightBigg=8971,e.floorrightbigg=8971,e.hatwide=770,e.hatwider=770,e.hatwidest=770,e.intercal=7488,e.integraldisplay=8747,e.integraltext=8747,e.intersectiondisplay=8898,e.intersectiontext=8898,e.logicalanddisplay=8743,e.logicalandtext=8743,e.logicalordisplay=8744,e.logicalortext=8744,e.parenleftBig=40,e.parenleftbig=40,e.parenleftBigg=40,e.parenleftbigg=40,e.parenrightBig=41,e.parenrightbig=41,e.parenrightBigg=41,e.parenrightbigg=41,e.prime=8242,e.productdisplay=8719,e.producttext=8719,e.radicalbig=8730,e.radicalBig=8730,e.radicalBigg=8730,e.radicalbigg=8730,e.radicalbt=8730,e.radicaltp=8730,e.radicalvertex=8730,e.slashbig=47,e.slashBig=47,e.slashBigg=47,e.slashbigg=47,e.summationdisplay=8721,e.summationtext=8721,e.tildewide=732,e.tildewider=732,e.tildewidest=732,e.uniondisplay=8899,e.unionmultidisplay=8846,e.unionmultitext=8846,e.unionsqdisplay=8852,e.unionsqtext=8852,e.uniontext=8899,e.vextenddouble=8741,e.vextendsingle=8739})),hc=ft((function(e){e.space=32,e.a1=9985,e.a2=9986,e.a202=9987,e.a3=9988,e.a4=9742,e.a5=9990,e.a119=9991,e.a118=9992,e.a117=9993,e.a11=9755,e.a12=9758,e.a13=9996,e.a14=9997,e.a15=9998,e.a16=9999,e.a105=1e4,e.a17=10001,e.a18=10002,e.a19=10003,e.a20=10004,e.a21=10005,e.a22=10006,e.a23=10007,e.a24=10008,e.a25=10009,e.a26=10010,e.a27=10011,e.a28=10012,e.a6=10013,e.a7=10014,e.a8=10015,e.a9=10016,e.a10=10017,e.a29=10018,e.a30=10019,e.a31=10020,e.a32=10021,e.a33=10022,e.a34=10023,e.a35=9733,e.a36=10025,e.a37=10026,e.a38=10027,e.a39=10028,e.a40=10029,e.a41=10030,e.a42=10031,e.a43=10032,e.a44=10033,e.a45=10034,e.a46=10035,e.a47=10036,e.a48=10037,e.a49=10038,e.a50=10039,e.a51=10040,e.a52=10041,e.a53=10042,e.a54=10043,e.a55=10044,e.a56=10045,e.a57=10046,e.a58=10047,e.a59=10048,e.a60=10049,e.a61=10050,e.a62=10051,e.a63=10052,e.a64=10053,e.a65=10054,e.a66=10055,e.a67=10056,e.a68=10057,e.a69=10058,e.a70=10059,e.a71=9679,e.a72=10061,e.a73=9632,e.a74=10063,e.a203=10064,e.a75=10065,e.a204=10066,e.a76=9650,e.a77=9660,e.a78=9670,e.a79=10070,e.a81=9687,e.a82=10072,e.a83=10073,e.a84=10074,e.a97=10075,e.a98=10076,e.a99=10077,e.a100=10078,e.a101=10081,e.a102=10082,e.a103=10083,e.a104=10084,e.a106=10085,e.a107=10086,e.a108=10087,e.a112=9827,e.a111=9830,e.a110=9829,e.a109=9824,e.a120=9312,e.a121=9313,e.a122=9314,e.a123=9315,e.a124=9316,e.a125=9317,e.a126=9318,e.a127=9319,e.a128=9320,e.a129=9321,e.a130=10102,e.a131=10103,e.a132=10104,e.a133=10105,e.a134=10106,e.a135=10107,e.a136=10108,e.a137=10109,e.a138=10110,e.a139=10111,e.a140=10112,e.a141=10113,e.a142=10114,e.a143=10115,e.a144=10116,e.a145=10117,e.a146=10118,e.a147=10119,e.a148=10120,e.a149=10121,e.a150=10122,e.a151=10123,e.a152=10124,e.a153=10125,e.a154=10126,e.a155=10127,e.a156=10128,e.a157=10129,e.a158=10130,e.a159=10131,e.a160=10132,e.a161=8594,e.a163=8596,e.a164=8597,e.a196=10136,e.a165=10137,e.a192=10138,e.a166=10139,e.a167=10140,e.a168=10141,e.a169=10142,e.a170=10143,e.a171=10144,e.a172=10145,e.a173=10146,e.a162=10147,e.a174=10148,e.a175=10149,e.a176=10150,e.a177=10151,e.a178=10152,e.a179=10153,e.a193=10154,e.a180=10155,e.a199=10156,e.a181=10157,e.a200=10158,e.a182=10159,e.a201=10161,e.a183=10162,e.a184=10163,e.a197=10164,e.a185=10165,e.a194=10166,e.a198=10167,e.a186=10168,e.a195=10169,e.a187=10170,e.a188=10171,e.a189=10172,e.a190=10173,e.a191=10174,e.a89=10088,e.a90=10089,e.a93=10090,e.a94=10091,e.a91=10092,e.a92=10093,e.a205=10094,e.a85=10095,e.a206=10096,e.a86=10097,e.a87=10098,e.a88=10099,e.a95=10100,e.a96=10101,e[".notdef"]=0})),Ic=ft((function(e){e[63721]=169,e[63193]=169,e[63720]=174,e[63194]=174,e[63722]=8482,e[63195]=8482,e[63729]=9127,e[63730]=9128,e[63731]=9129,e[63740]=9131,e[63741]=9132,e[63742]=9133,e[63726]=9121,e[63727]=9122,e[63728]=9123,e[63737]=9124,e[63738]=9125,e[63739]=9126,e[63723]=9115,e[63724]=9116,e[63725]=9117,e[63734]=9118,e[63735]=9119,e[63736]=9120}));function fc(e,t){var r=t[e];if(void 0!==r)return r;if(!e)return-1;if("u"===e[0]){var A,n=e.length;if(7===n&&"n"===e[1]&&"i"===e[2])A=e.substring(3);else{if(!(n>=5&&n<=7))return-1;A=e.substring(1)}if(A===A.toUpperCase()&&(r=parseInt(A,16))>=0)return r}return-1}var Cc=[[0,127],[128,255],[256,383],[384,591],[592,687,7424,7551,7552,7615],[688,767,42752,42783],[768,879,7616,7679],[880,1023],[11392,11519],[1024,1279,1280,1327,11744,11775,42560,42655],[1328,1423],[1424,1535],[42240,42559],[1536,1791,1872,1919],[1984,2047],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3584,3711],[3712,3839],[4256,4351,11520,11567],[6912,7039],[4352,4607],[7680,7935,11360,11391,42784,43007],[7936,8191],[8192,8303,11776,11903],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703,10224,10239,10496,10623,11008,11263],[8704,8959,10752,11007,10176,10223,10624,10751],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[12288,12351],[12352,12447],[12448,12543,12784,12799],[12544,12591,12704,12735],[12592,12687],[43072,43135],[12800,13055],[13056,13311],[44032,55215],[55296,57343],[67840,67871],[19968,40959,11904,12031,12032,12255,12272,12287,13312,19903,131072,173791,12688,12703],[57344,63743],[12736,12783,63744,64255,194560,195103],[64256,64335],[64336,65023],[65056,65071],[65040,65055],[65104,65135],[65136,65279],[65280,65519],[65520,65535],[3840,4095],[1792,1871],[1920,1983],[3456,3583],[4096,4255],[4608,4991,4992,5023,11648,11743],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[10240,10495],[40960,42127],[5888,5919,5920,5951,5952,5983,5984,6015],[66304,66351],[66352,66383],[66560,66639],[118784,119039,119040,119295,119296,119375],[119808,120831],[1044480,1048573],[65024,65039,917760,917999],[917504,917631],[6400,6479],[6480,6527],[6528,6623],[6656,6687],[11264,11359],[11568,11647],[19904,19967],[43008,43055],[65536,65663,65664,65791,65792,65855],[65856,65935],[66432,66463],[66464,66527],[66640,66687],[66688,66735],[67584,67647],[68096,68191],[119552,119647],[73728,74751,74752,74879],[119648,119679],[7040,7103],[7168,7247],[7248,7295],[43136,43231],[43264,43311],[43312,43359],[43520,43615],[65936,65999],[66e3,66047],[66208,66271,66176,66207,67872,67903],[127024,127135,126976,127023]];function Bc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(-1!==t)for(var r=Cc[t],A=0,n=r.length;A<n;A+=2)if(e>=r[A]&&e<=r[A+1])return t;for(var i=0,a=Cc.length;i<a;i++)for(var o=Cc[i],s=0,c=o.length;s<c;s+=2)if(e>=o[s]&&e<=o[s+1])return i;return-1}var Qc=new RegExp("^(\\\\s)|(\\\\p{Mn})|(\\\\p{Cf})$","u"),Ec=new Map,dc=!0,yc=[".notdef",".null","nonmarkingreturn","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","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function pc(e,t){if(void 0!==t[e])return e;var r=fc(e,t);if(-1!==r)for(var A in t)if(t[A]===r)return A;return T("Unable to recover a standard glyph name for: "+e),e}function vc(e,t,r){var A,n,i,a=Object.create(null),o=!!(4&e.flags);if(e.isInternalFont)for(i=t,n=0;n<i.length;n++)A=r.indexOf(i[n]),a[n]=A>=0?A:0;else if(e.baseEncodingName)for(i=Rs(e.baseEncodingName),n=0;n<i.length;n++)A=r.indexOf(i[n]),a[n]=A>=0?A:0;else if(o)for(n in t)a[n]=t[n];else for(i=Ds,n=0;n<i.length;n++)A=r.indexOf(i[n]),a[n]=A>=0?A:0;var s,c=e.differences;if(c)for(n in c){var g=c[n];if(-1===(A=r.indexOf(g))){s||(s=lc());var u=pc(g,s);u!==g&&(A=r.indexOf(u))}a[n]=A>=0?A:0}return a}function mc(e){return e.replaceAll(/[,_]/g,"-").replaceAll(/\\s/g,"")}var wc=ft((function(e){e[8211]=65074,e[8212]=65073,e[8229]=65072,e[8230]=65049,e[12289]=65041,e[12290]=65042,e[12296]=65087,e[12297]=65088,e[12298]=65085,e[12299]=65086,e[12300]=65089,e[12301]=65090,e[12302]=65091,e[12303]=65092,e[12304]=65083,e[12305]=65084,e[12308]=65081,e[12309]=65082,e[12310]=65047,e[12311]=65048,e[65103]=65076,e[65281]=65045,e[65288]=65077,e[65289]=65078,e[65292]=65040,e[65306]=65043,e[65307]=65044,e[65311]=65046,e[65339]=65095,e[65341]=65096,e[65343]=65075,e[65371]=65079,e[65373]=65080})),bc=ft((function(e){e["Times-Roman"]="Times-Roman",e.Helvetica="Helvetica",e.Courier="Courier",e.Symbol="Symbol",e["Times-Bold"]="Times-Bold",e["Helvetica-Bold"]="Helvetica-Bold",e["Courier-Bold"]="Courier-Bold",e.ZapfDingbats="ZapfDingbats",e["Times-Italic"]="Times-Italic",e["Helvetica-Oblique"]="Helvetica-Oblique",e["Courier-Oblique"]="Courier-Oblique",e["Times-BoldItalic"]="Times-BoldItalic",e["Helvetica-BoldOblique"]="Helvetica-BoldOblique",e["Courier-BoldOblique"]="Courier-BoldOblique",e.ArialNarrow="Helvetica",e["ArialNarrow-Bold"]="Helvetica-Bold",e["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",e["ArialNarrow-Italic"]="Helvetica-Oblique",e.ArialBlack="Helvetica",e["ArialBlack-Bold"]="Helvetica-Bold",e["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",e["ArialBlack-Italic"]="Helvetica-Oblique",e["Arial-Black"]="Helvetica",e["Arial-Black-Bold"]="Helvetica-Bold",e["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Black-Italic"]="Helvetica-Oblique",e.Arial="Helvetica",e["Arial-Bold"]="Helvetica-Bold",e["Arial-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Italic"]="Helvetica-Oblique",e.ArialMT="Helvetica",e["Arial-BoldItalicMT"]="Helvetica-BoldOblique",e["Arial-BoldMT"]="Helvetica-Bold",e["Arial-ItalicMT"]="Helvetica-Oblique",e["Arial-BoldItalicMT-BoldItalic"]="Helvetica-BoldOblique",e["Arial-BoldMT-Bold"]="Helvetica-Bold",e["Arial-ItalicMT-Italic"]="Helvetica-Oblique",e.ArialUnicodeMS="Helvetica",e["ArialUnicodeMS-Bold"]="Helvetica-Bold",e["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",e["ArialUnicodeMS-Italic"]="Helvetica-Oblique",e["Courier-BoldItalic"]="Courier-BoldOblique",e["Courier-Italic"]="Courier-Oblique",e.CourierNew="Courier",e["CourierNew-Bold"]="Courier-Bold",e["CourierNew-BoldItalic"]="Courier-BoldOblique",e["CourierNew-Italic"]="Courier-Oblique",e["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",e["CourierNewPS-BoldMT"]="Courier-Bold",e["CourierNewPS-ItalicMT"]="Courier-Oblique",e.CourierNewPSMT="Courier",e["Helvetica-BoldItalic"]="Helvetica-BoldOblique",e["Helvetica-Italic"]="Helvetica-Oblique",e["Symbol-Bold"]="Symbol",e["Symbol-BoldItalic"]="Symbol",e["Symbol-Italic"]="Symbol",e.TimesNewRoman="Times-Roman",e["TimesNewRoman-Bold"]="Times-Bold",e["TimesNewRoman-BoldItalic"]="Times-BoldItalic",e["TimesNewRoman-Italic"]="Times-Italic",e.TimesNewRomanPS="Times-Roman",e["TimesNewRomanPS-Bold"]="Times-Bold",e["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",e["TimesNewRomanPS-BoldMT"]="Times-Bold",e["TimesNewRomanPS-Italic"]="Times-Italic",e["TimesNewRomanPS-ItalicMT"]="Times-Italic",e.TimesNewRomanPSMT="Times-Roman",e["TimesNewRomanPSMT-Bold"]="Times-Bold",e["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPSMT-Italic"]="Times-Italic"})),kc=ft((function(e){e.Courier="FoxitFixed.pfb",e["Courier-Bold"]="FoxitFixedBold.pfb",e["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",e["Courier-Oblique"]="FoxitFixedItalic.pfb",e.Helvetica="LiberationSans-Regular.ttf",e["Helvetica-Bold"]="LiberationSans-Bold.ttf",e["Helvetica-BoldOblique"]="LiberationSans-BoldItalic.ttf",e["Helvetica-Oblique"]="LiberationSans-Italic.ttf",e["Times-Roman"]="FoxitSerif.pfb",e["Times-Bold"]="FoxitSerifBold.pfb",e["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",e["Times-Italic"]="FoxitSerifItalic.pfb",e.Symbol="FoxitSymbol.pfb",e.ZapfDingbats="FoxitDingbats.pfb",e["LiberationSans-Regular"]="LiberationSans-Regular.ttf",e["LiberationSans-Bold"]="LiberationSans-Bold.ttf",e["LiberationSans-Italic"]="LiberationSans-Italic.ttf",e["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"})),Dc=ft((function(e){e.Calibri="Helvetica",e["Calibri-Bold"]="Helvetica-Bold",e["Calibri-BoldItalic"]="Helvetica-BoldOblique",e["Calibri-Italic"]="Helvetica-Oblique",e.CenturyGothic="Helvetica",e["CenturyGothic-Bold"]="Helvetica-Bold",e["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",e["CenturyGothic-Italic"]="Helvetica-Oblique",e.ComicSansMS="Comic Sans MS",e["ComicSansMS-Bold"]="Comic Sans MS-Bold",e["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",e["ComicSansMS-Italic"]="Comic Sans MS-Italic",e.GillSansMT="Helvetica",e["GillSansMT-Bold"]="Helvetica-Bold",e["GillSansMT-BoldItalic"]="Helvetica-BoldOblique",e["GillSansMT-Italic"]="Helvetica-Oblique",e.Impact="Helvetica",e["ItcSymbol-Bold"]="Helvetica-Bold",e["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",e["ItcSymbol-Book"]="Helvetica",e["ItcSymbol-BookItalic"]="Helvetica-Oblique",e["ItcSymbol-Medium"]="Helvetica",e["ItcSymbol-MediumItalic"]="Helvetica-Oblique",e.LucidaConsole="Courier",e["LucidaConsole-Bold"]="Courier-Bold",e["LucidaConsole-BoldItalic"]="Courier-BoldOblique",e["LucidaConsole-Italic"]="Courier-Oblique",e["LucidaSans-Demi"]="Helvetica-Bold",e["MS-Gothic"]="MS Gothic",e["MS-Gothic-Bold"]="MS Gothic-Bold",e["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",e["MS-Gothic-Italic"]="MS Gothic-Italic",e["MS-Mincho"]="MS Mincho",e["MS-Mincho-Bold"]="MS Mincho-Bold",e["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",e["MS-Mincho-Italic"]="MS Mincho-Italic",e["MS-PGothic"]="MS PGothic",e["MS-PGothic-Bold"]="MS PGothic-Bold",e["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",e["MS-PGothic-Italic"]="MS PGothic-Italic",e["MS-PMincho"]="MS PMincho",e["MS-PMincho-Bold"]="MS PMincho-Bold",e["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",e["MS-PMincho-Italic"]="MS PMincho-Italic",e.NuptialScript="Times-Italic",e.SegoeUISymbol="Helvetica"})),Sc=ft((function(e){e["Adobe Jenson"]=!0,e["Adobe Text"]=!0,e.Albertus=!0,e.Aldus=!0,e.Alexandria=!0,e.Algerian=!0,e["American Typewriter"]=!0,e.Antiqua=!0,e.Apex=!0,e.Arno=!0,e.Aster=!0,e.Aurora=!0,e.Baskerville=!0,e.Bell=!0,e.Bembo=!0,e["Bembo Schoolbook"]=!0,e.Benguiat=!0,e["Berkeley Old Style"]=!0,e["Bernhard Modern"]=!0,e["Berthold City"]=!0,e.Bodoni=!0,e["Bauer Bodoni"]=!0,e["Book Antiqua"]=!0,e.Bookman=!0,e["Bordeaux Roman"]=!0,e["Californian FB"]=!0,e.Calisto=!0,e.Calvert=!0,e.Capitals=!0,e.Cambria=!0,e.Cartier=!0,e.Caslon=!0,e.Catull=!0,e.Centaur=!0,e["Century Old Style"]=!0,e["Century Schoolbook"]=!0,e.Chaparral=!0,e["Charis SIL"]=!0,e.Cheltenham=!0,e["Cholla Slab"]=!0,e.Clarendon=!0,e.Clearface=!0,e.Cochin=!0,e.Colonna=!0,e["Computer Modern"]=!0,e["Concrete Roman"]=!0,e.Constantia=!0,e["Cooper Black"]=!0,e.Corona=!0,e.Ecotype=!0,e.Egyptienne=!0,e.Elephant=!0,e.Excelsior=!0,e.Fairfield=!0,e["FF Scala"]=!0,e.Folkard=!0,e.Footlight=!0,e.FreeSerif=!0,e["Friz Quadrata"]=!0,e.Garamond=!0,e.Gentium=!0,e.Georgia=!0,e.Gloucester=!0,e["Goudy Old Style"]=!0,e["Goudy Schoolbook"]=!0,e["Goudy Pro Font"]=!0,e.Granjon=!0,e["Guardian Egyptian"]=!0,e.Heather=!0,e.Hercules=!0,e["High Tower Text"]=!0,e.Hiroshige=!0,e["Hoefler Text"]=!0,e["Humana Serif"]=!0,e.Imprint=!0,e["Ionic No. 5"]=!0,e.Janson=!0,e.Joanna=!0,e.Korinna=!0,e.Lexicon=!0,e.LiberationSerif=!0,e["Liberation Serif"]=!0,e["Linux Libertine"]=!0,e.Literaturnaya=!0,e.Lucida=!0,e["Lucida Bright"]=!0,e.Melior=!0,e.Memphis=!0,e.Miller=!0,e.Minion=!0,e.Modern=!0,e["Mona Lisa"]=!0,e["Mrs Eaves"]=!0,e["MS Serif"]=!0,e["Museo Slab"]=!0,e["New York"]=!0,e["Nimbus Roman"]=!0,e["NPS Rawlinson Roadway"]=!0,e.NuptialScript=!0,e.Palatino=!0,e.Perpetua=!0,e.Plantin=!0,e["Plantin Schoolbook"]=!0,e.Playbill=!0,e["Poor Richard"]=!0,e["Rawlinson Roadway"]=!0,e.Renault=!0,e.Requiem=!0,e.Rockwell=!0,e.Roman=!0,e["Rotis Serif"]=!0,e.Sabon=!0,e.Scala=!0,e.Seagull=!0,e.Sistina=!0,e.Souvenir=!0,e.STIX=!0,e["Stone Informal"]=!0,e["Stone Serif"]=!0,e.Sylfaen=!0,e.Times=!0,e.Trajan=!0,e["Trinité"]=!0,e["Trump Mediaeval"]=!0,e.Utopia=!0,e["Vale Type"]=!0,e["Bitstream Vera"]=!0,e["Vera Serif"]=!0,e.Versailles=!0,e.Wanted=!0,e.Weiss=!0,e["Wide Latin"]=!0,e.Windsor=!0,e.XITS=!0})),Fc=ft((function(e){e.Dingbats=!0,e.Symbol=!0,e.ZapfDingbats=!0,e.Wingdings=!0,e["Wingdings-Bold"]=!0,e["Wingdings-Regular"]=!0})),xc=ft((function(e){e[2]=10,e[3]=32,e[4]=33,e[5]=34,e[6]=35,e[7]=36,e[8]=37,e[9]=38,e[10]=39,e[11]=40,e[12]=41,e[13]=42,e[14]=43,e[15]=44,e[16]=45,e[17]=46,e[18]=47,e[19]=48,e[20]=49,e[21]=50,e[22]=51,e[23]=52,e[24]=53,e[25]=54,e[26]=55,e[27]=56,e[28]=57,e[29]=58,e[30]=894,e[31]=60,e[32]=61,e[33]=62,e[34]=63,e[35]=64,e[36]=65,e[37]=66,e[38]=67,e[39]=68,e[40]=69,e[41]=70,e[42]=71,e[43]=72,e[44]=73,e[45]=74,e[46]=75,e[47]=76,e[48]=77,e[49]=78,e[50]=79,e[51]=80,e[52]=81,e[53]=82,e[54]=83,e[55]=84,e[56]=85,e[57]=86,e[58]=87,e[59]=88,e[60]=89,e[61]=90,e[62]=91,e[63]=92,e[64]=93,e[65]=94,e[66]=95,e[67]=96,e[68]=97,e[69]=98,e[70]=99,e[71]=100,e[72]=101,e[73]=102,e[74]=103,e[75]=104,e[76]=105,e[77]=106,e[78]=107,e[79]=108,e[80]=109,e[81]=110,e[82]=111,e[83]=112,e[84]=113,e[85]=114,e[86]=115,e[87]=116,e[88]=117,e[89]=118,e[90]=119,e[91]=120,e[92]=121,e[93]=122,e[94]=123,e[95]=124,e[96]=125,e[97]=126,e[98]=196,e[99]=197,e[100]=199,e[101]=201,e[102]=209,e[103]=214,e[104]=220,e[105]=225,e[106]=224,e[107]=226,e[108]=228,e[109]=227,e[110]=229,e[111]=231,e[112]=233,e[113]=232,e[114]=234,e[115]=235,e[116]=237,e[117]=236,e[118]=238,e[119]=239,e[120]=241,e[121]=243,e[122]=242,e[123]=244,e[124]=246,e[125]=245,e[126]=250,e[127]=249,e[128]=251,e[129]=252,e[130]=8224,e[131]=176,e[132]=162,e[133]=163,e[134]=167,e[135]=8226,e[136]=182,e[137]=223,e[138]=174,e[139]=169,e[140]=8482,e[141]=180,e[142]=168,e[143]=8800,e[144]=198,e[145]=216,e[146]=8734,e[147]=177,e[148]=8804,e[149]=8805,e[150]=165,e[151]=181,e[152]=8706,e[153]=8721,e[154]=8719,e[156]=8747,e[157]=170,e[158]=186,e[159]=8486,e[160]=230,e[161]=248,e[162]=191,e[163]=161,e[164]=172,e[165]=8730,e[166]=402,e[167]=8776,e[168]=8710,e[169]=171,e[170]=187,e[171]=8230,e[179]=8220,e[180]=8221,e[181]=8216,e[182]=8217,e[200]=193,e[203]=205,e[207]=211,e[210]=218,e[223]=711,e[224]=321,e[225]=322,e[226]=352,e[227]=353,e[228]=381,e[229]=382,e[233]=221,e[234]=253,e[252]=263,e[253]=268,e[254]=269,e[258]=258,e[260]=260,e[261]=261,e[265]=280,e[266]=281,e[267]=282,e[268]=283,e[269]=313,e[275]=323,e[276]=324,e[278]=328,e[283]=344,e[284]=345,e[285]=346,e[286]=347,e[292]=367,e[295]=377,e[296]=378,e[298]=380,e[305]=963,e[306]=964,e[307]=966,e[308]=8215,e[309]=8252,e[310]=8319,e[311]=8359,e[312]=8592,e[313]=8593,e[337]=9552,e[493]=1039,e[494]=1040,e[672]=1488,e[673]=1489,e[674]=1490,e[675]=1491,e[676]=1492,e[677]=1493,e[678]=1494,e[679]=1495,e[680]=1496,e[681]=1497,e[682]=1498,e[683]=1499,e[684]=1500,e[685]=1501,e[686]=1502,e[687]=1503,e[688]=1504,e[689]=1505,e[690]=1506,e[691]=1507,e[692]=1508,e[693]=1509,e[694]=1510,e[695]=1511,e[696]=1512,e[697]=1513,e[698]=1514,e[705]=1524,e[706]=8362,e[710]=64288,e[711]=64298,e[759]=1617,e[761]=1776,e[763]=1778,e[775]=1652,e[777]=1764,e[778]=1780,e[779]=1781,e[780]=1782,e[782]=771,e[783]=64726,e[786]=8363,e[788]=8532,e[790]=768,e[791]=769,e[792]=768,e[795]=803,e[797]=64336,e[798]=64337,e[799]=64342,e[800]=64343,e[801]=64344,e[802]=64345,e[803]=64362,e[804]=64363,e[805]=64364,e[2424]=7821,e[2425]=7822,e[2426]=7823,e[2427]=7824,e[2428]=7825,e[2429]=7826,e[2430]=7827,e[2433]=7682,e[2678]=8045,e[2679]=8046,e[2830]=1552,e[2838]=686,e[2840]=751,e[2842]=753,e[2843]=754,e[2844]=755,e[2846]=757,e[2856]=767,e[2857]=848,e[2858]=849,e[2862]=853,e[2863]=854,e[2864]=855,e[2865]=861,e[2866]=862,e[2906]=7460,e[2908]=7462,e[2909]=7463,e[2910]=7464,e[2912]=7466,e[2913]=7467,e[2914]=7468,e[2916]=7470,e[2917]=7471,e[2918]=7472,e[2920]=7474,e[2921]=7475,e[2922]=7476,e[2924]=7478,e[2925]=7479,e[2926]=7480,e[2928]=7482,e[2929]=7483,e[2930]=7484,e[2932]=7486,e[2933]=7487,e[2934]=7488,e[2936]=7490,e[2937]=7491,e[2938]=7492,e[2940]=7494,e[2941]=7495,e[2942]=7496,e[2944]=7498,e[2946]=7500,e[2948]=7502,e[2950]=7504,e[2951]=7505,e[2952]=7506,e[2954]=7508,e[2955]=7509,e[2956]=7510,e[2958]=7512,e[2959]=7513,e[2960]=7514,e[2962]=7516,e[2963]=7517,e[2964]=7518,e[2966]=7520,e[2967]=7521,e[2968]=7522,e[2970]=7524,e[2971]=7525,e[2972]=7526,e[2974]=7528,e[2975]=7529,e[2976]=7530,e[2978]=1537,e[2979]=1538,e[2980]=1539,e[2982]=1549,e[2983]=1551,e[2984]=1552,e[2986]=1554,e[2987]=1555,e[2988]=1556,e[2990]=1623,e[2991]=1624,e[2995]=1775,e[2999]=1791,e[3002]=64290,e[3003]=64291,e[3004]=64292,e[3006]=64294,e[3007]=64295,e[3008]=64296,e[3011]=1900,e[3014]=8223,e[3015]=8244,e[3017]=7532,e[3018]=7533,e[3019]=7534,e[3075]=7590,e[3076]=7591,e[3079]=7594,e[3080]=7595,e[3083]=7598,e[3084]=7599,e[3087]=7602,e[3088]=7603,e[3091]=7606,e[3092]=7607,e[3095]=7610,e[3096]=7611,e[3099]=7614,e[3100]=7615,e[3103]=7618,e[3104]=7619,e[3107]=8337,e[3108]=8338,e[3116]=1884,e[3119]=1885,e[3120]=1885,e[3123]=1886,e[3124]=1886,e[3127]=1887,e[3128]=1887,e[3131]=1888,e[3132]=1888,e[3135]=1889,e[3136]=1889,e[3139]=1890,e[3140]=1890,e[3143]=1891,e[3144]=1891,e[3147]=1892,e[3148]=1892,e[3153]=580,e[3154]=581,e[3157]=584,e[3158]=585,e[3161]=588,e[3162]=589,e[3165]=891,e[3166]=892,e[3169]=1274,e[3170]=1275,e[3173]=1278,e[3174]=1279,e[3181]=7622,e[3182]=7623,e[3282]=11799,e[3316]=578,e[3379]=42785,e[3393]=1159,e[3416]=8377})),Rc=ft((function(e){e[227]=322,e[264]=261,e[291]=346})),Gc=ft((function(e){e[1]=32,e[4]=65,e[5]=192,e[6]=193,e[9]=196,e[17]=66,e[18]=67,e[21]=268,e[24]=68,e[28]=69,e[29]=200,e[30]=201,e[32]=282,e[38]=70,e[39]=71,e[44]=72,e[47]=73,e[48]=204,e[49]=205,e[58]=74,e[60]=75,e[62]=76,e[68]=77,e[69]=78,e[75]=79,e[76]=210,e[80]=214,e[87]=80,e[89]=81,e[90]=82,e[92]=344,e[94]=83,e[97]=352,e[100]=84,e[104]=85,e[109]=220,e[115]=86,e[116]=87,e[121]=88,e[122]=89,e[124]=221,e[127]=90,e[129]=381,e[258]=97,e[259]=224,e[260]=225,e[263]=228,e[268]=261,e[271]=98,e[272]=99,e[273]=263,e[275]=269,e[282]=100,e[286]=101,e[287]=232,e[288]=233,e[290]=283,e[295]=281,e[296]=102,e[336]=103,e[346]=104,e[349]=105,e[350]=236,e[351]=237,e[361]=106,e[364]=107,e[367]=108,e[371]=322,e[373]=109,e[374]=110,e[381]=111,e[382]=242,e[383]=243,e[386]=246,e[393]=112,e[395]=113,e[396]=114,e[398]=345,e[400]=115,e[401]=347,e[403]=353,e[410]=116,e[437]=117,e[442]=252,e[448]=118,e[449]=119,e[454]=120,e[455]=121,e[457]=253,e[460]=122,e[462]=382,e[463]=380,e[853]=44,e[855]=58,e[856]=46,e[876]=47,e[878]=45,e[882]=45,e[894]=40,e[895]=41,e[896]=91,e[897]=93,e[923]=64,e[1004]=48,e[1005]=49,e[1006]=50,e[1007]=51,e[1008]=52,e[1009]=53,e[1010]=54,e[1011]=55,e[1012]=56,e[1013]=57,e[1081]=37,e[1085]=43,e[1086]=45}));function Nc(e){var t=mc(e);return bc()[t]}function Lc(e){var t=mc(e);return!!(bc()[t]||Dc()[t]||Sc()[t]||Fc()[t])}function Uc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mc(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Hc(A.key),A)}}function Jc(e,t,r){return t&&Mc(e.prototype,t),r&&Mc(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Hc(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Yc=function(){return Jc((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Uc(this,e),this._map=t}),[{key:"length",get:function(){return this._map.length}},{key:"forEach",value:function(e){for(var t in this._map)e(t,this._map[t].charCodeAt(0))}},{key:"has",value:function(e){return void 0!==this._map[e]}},{key:"get",value:function(e){return this._map[e]}},{key:"charCodeOf",value:function(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(var r in t)if(t[r]===e)return 0|r;return-1}},{key:"amend",value:function(e){for(var t in e)this._map[t]=e[t]}}])}(),Pc=function(){return Jc((function e(t,r){Uc(this,e),this.firstChar=t,this.lastChar=r}),[{key:"length",get:function(){return this.lastChar+1-this.firstChar}},{key:"forEach",value:function(e){for(var t=this.firstChar,r=this.lastChar;t<=r;t++)e(t,t)}},{key:"has",value:function(e){return this.firstChar<=e&&e<=this.lastChar}},{key:"get",value:function(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}},{key:"charCodeOf",value:function(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}},{key:"amend",value:function(e){j("Should not call amend()")}}])}();function Oc(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Kc(A.key),A)}}function Kc(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Tc=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.properties=r;var A=new Xs(t,r,dc);this.cff=A.parse(),this.cff.duplicateFirstGlyph();var n=new uc(this.cff);this.seacs=this.cff.seacs;try{this.data=n.compile()}catch(e){q("Failed to compile font "+r.loadedName),this.data=t}this._createBuiltInEncoding()},(t=[{key:"numGlyphs",get:function(){return this.cff.charStrings.count}},{key:"getCharset",value:function(){return this.cff.charset.charset}},{key:"getGlyphMapping",value:function(){var e,t,r=this.cff,A=this.properties,n=A.cidToGidMap,i=A.cMap,a=r.charset.charset;if(A.composite){var o,s;if((null==n?void 0:n.length)>0){o=Object.create(null);for(var c=0,g=n.length;c<g;c++){var u=n[c];void 0!==u&&(o[u]=c)}}if(e=Object.create(null),r.isCIDFont)for(t=0;t<a.length;t++){var l,h=a[t];s=i.charCodeOf(h),void 0!==(null===(l=o)||void 0===l?void 0:l[s])&&(s=o[s]),e[s]=t}else for(t=0;t<r.charStrings.count;t++)e[s=i.charCodeOf(t)]=t;return e}var I=r.encoding?r.encoding.encoding:null;return A.isInternalFont&&(I=A.defaultEncoding),vc(A,I,a)}},{key:"hasGlyphId",value:function(e){return this.cff.hasGlyphId(e)}},{key:"_createBuiltInEncoding",value:function(){var e=this.cff,t=e.charset,r=e.encoding;if(t&&r){var A=t.charset,n=r.encoding,i=[];for(var a in n){var o=n[a];if(o>=0){var s=A[o];s&&(i[a]=s)}}i.length>0&&(this.properties.builtInEncoding=i)}}}])&&Oc(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function qc(e,t,r){return t=Wc(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,jc()?Reflect.construct(t,r||[],Wc(e).constructor):t.apply(e,r))}function jc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(jc=function(){return!!e})()}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wc(e)}function Zc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_c(e,t)}function _c(e,t){return _c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_c(e,t)}function Xc(e){return function(e){if(Array.isArray(e))return Vc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Vc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function zc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $c(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,tg(A.key),A)}}function eg(e,t,r){return t&&$c(e.prototype,t),r&&$c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function tg(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function rg(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function Ag(e,t){return e[t]<<8|e[t+1]}function ng(e,t){return(e[t]<<24|e[t+1]<<16)>>16}function ig(e,t){return e[t]<<24>>24}function ag(e,t){return ng(e,t)/16384}function og(e){var t=e.length,r=32768;return t<1240?r=107:t<33900&&(r=1131),r}function sg(e,t,r){var A,n,i,a=1===Ag(e,t+2)?rg(e,t+8):rg(e,t+16),o=Ag(e,t+a);if(4===o){Ag(e,t+a+2);var s=Ag(e,t+a+6)>>1;for(n=t+a+14,A=[],i=0;i<s;i++,n+=2)A[i]={end:Ag(e,n)};for(n+=2,i=0;i<s;i++,n+=2)A[i].start=Ag(e,n);for(i=0;i<s;i++,n+=2)A[i].idDelta=Ag(e,n);for(i=0;i<s;i++,n+=2){var c=Ag(e,n);if(0!==c){A[i].ids=[];for(var g=0,u=A[i].end-A[i].start+1;g<u;g++)A[i].ids[g]=Ag(e,n+c),c+=2}}return A}if(12===o){var l=rg(e,t+a+12);for(n=t+a+16,A=[],i=0;i<l;i++)t=rg(e,n),A.push({start:t,end:rg(e,n+4),idDelta:rg(e,n+8)-t}),n+=12;return A}throw new re("unsupported cmap: ".concat(o))}function cg(e,t,r,A){var n,i,a=new Xs(new ar(e,t,r-t),{},A).parse();return{glyphs:a.charStrings.objects,subrs:null===(n=a.topDict.privateDict)||void 0===n||null===(n=n.subrsIndex)||void 0===n?void 0:n.objects,gsubrs:null===(i=a.globalSubrIndex)||void 0===i?void 0:i.objects,isCFFCIDFont:a.isCIDFont,fdSelect:a.fdSelect,fdArray:a.fdArray}}function gg(e,t){for(var r=t.codePointAt(0),A=0,n=0,i=e.length-1;n<i;){var a=n+i+1>>1;r<e[a].start?i=a-1:n=a}return e[n].start<=r&&r<=e[n].end&&(A=e[n].idDelta+(e[n].ids?e[n].ids[r-e[n].start]:r)&65535),{charCode:r,glyphId:A}}function ug(e,t,r){function A(e,r){t.add(1,[e,r])}function n(e,r){t.add(2,[e,r])}function i(e,r,A,n){t.add(3,[e,r,A,n])}var a,o=0,s=ng(e,o),c=0,g=0;if(o+=10,s<0)do{a=Ag(e,o);var u=Ag(e,o+2);o+=4;var l=void 0,h=void 0;1&a?(2&a?(l=ng(e,o),h=ng(e,o+2)):(l=Ag(e,o),h=Ag(e,o+2)),o+=4):2&a?(l=ig(e,o++),h=ig(e,o++)):(l=e[o++],h=e[o++]),2&a?(c=l,g=h):(c=0,g=0);var I=1,f=1,C=0,B=0;8&a?(I=f=ag(e,o),o+=2):64&a?(I=ag(e,o),f=ag(e,o+2),o+=4):128&a&&(I=ag(e,o),C=ag(e,o+2),B=ag(e,o+4),f=ag(e,o+6),o+=8);var Q=r.glyphs[u];Q&&(t.add(5),t.add(7,[I,C,B,f,c,g]),ug(Q,t,r),t.add(4))}while(32&a);else{var E,d,y=[];for(E=0;E<s;E++)y.push(Ag(e,o)),o+=2;o+=2+Ag(e,o);for(var p=y.at(-1)+1,v=[];v.length<p;){var m=1;for(8&(a=e[o++])&&(m+=e[o++]);m-- >0;)v.push({flags:a})}for(E=0;E<p;E++){switch(18&v[E].flags){case 0:c+=ng(e,o),o+=2;break;case 2:c-=e[o++];break;case 18:c+=e[o++]}v[E].x=c}for(E=0;E<p;E++){switch(36&v[E].flags){case 0:g+=ng(e,o),o+=2;break;case 4:g-=e[o++];break;case 36:g+=e[o++]}v[E].y=g}var w=0;for(o=0;o<s;o++){var b=y[o],k=v.slice(w,b+1);if(1&k[0].flags)k.push(k[0]);else if(1&k.at(-1).flags)k.unshift(k.at(-1));else{var D={flags:1,x:(k[0].x+k.at(-1).x)/2,y:(k[0].y+k.at(-1).y)/2};k.unshift(D),k.push(D)}for(A(k[0].x,k[0].y),E=1,d=k.length;E<d;E++)1&k[E].flags?n(k[E].x,k[E].y):1&k[E+1].flags?(i(k[E].x,k[E].y,k[E+1].x,k[E+1].y),E++):i(k[E].x,k[E].y,(k[E].x+k[E+1].x)/2,(k[E].y+k[E+1].y)/2);w=b+1}}}function lg(e,t,r,A){function n(e,r){t.add(1,[e,r])}function i(e,r){t.add(2,[e,r])}function a(e,r,A,n,i,a){t.add(0,[e,r,A,n,i,a])}var o=[],s=0,c=0,g=0;!function e(u){for(var l=0;l<u.length;){var h=!1,I=u[l++],f=void 0,C=void 0,B=void 0,Q=void 0,E=void 0,d=void 0,y=void 0,p=void 0;switch(I){case 1:case 3:case 18:case 23:g+=o.length>>1,h=!0;break;case 4:c+=o.pop(),n(s,c),h=!0;break;case 5:for(;o.length>0;)s+=o.shift(),c+=o.shift(),i(s,c);break;case 6:for(;o.length>0&&(i(s+=o.shift(),c),0!==o.length);)c+=o.shift(),i(s,c);break;case 7:for(;o.length>0&&(c+=o.shift(),i(s,c),0!==o.length);)i(s+=o.shift(),c);break;case 8:for(;o.length>0;)f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c);break;case 10:if(y=o.pop(),p=null,r.isCFFCIDFont){var v=r.fdSelect.getFDIndex(A);if(v>=0&&v<r.fdArray.length){var m,w=r.fdArray[v],b=void 0;null!==(m=w.privateDict)&&void 0!==m&&m.subrsIndex&&(b=w.privateDict.subrsIndex.objects),b&&(p=b[y+=og(b)])}else q("Invalid fd index for glyph index.")}else p=r.subrs[y+r.subrsBias];p&&e(p);break;case 11:return;case 12:switch(I=u[l++]){case 34:C=(f=s+o.shift())+o.shift(),E=c+o.shift(),s=C+o.shift(),a(f,c,C,E,s,E),C=(f=s+o.shift())+o.shift(),s=C+o.shift(),a(f,E,C,c,s,c);break;case 35:f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c),f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c),o.pop();break;case 36:a(f=s+o.shift(),E=c+o.shift(),C=f+o.shift(),d=E+o.shift(),s=C+o.shift(),d),a(f=s+o.shift(),d,C=f+o.shift(),d+o.shift(),s=C+o.shift(),c);break;case 37:var k=s,D=c;f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c),f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C,c=Q,Math.abs(s-k)>Math.abs(c-D)?s+=o.shift():c+=o.shift(),a(f,B,C,Q,s,c);break;default:throw new re("unknown operator: 12 ".concat(I))}break;case 14:if(o.length>=4){var S=o.pop(),F=o.pop();c=o.pop(),s=o.pop(),t.add(5),t.add(8,[s,c]);var x=gg(r.cmap,String.fromCharCode(r.glyphNameMap[Ds[S]]));lg(r.glyphs[x.glyphId],t,r,x.glyphId),t.add(4),x=gg(r.cmap,String.fromCharCode(r.glyphNameMap[Ds[F]])),lg(r.glyphs[x.glyphId],t,r,x.glyphId)}return;case 19:case 20:l+=(g+=o.length>>1)+7>>3,h=!0;break;case 21:c+=o.pop(),n(s+=o.pop(),c),h=!0;break;case 22:n(s+=o.pop(),c),h=!0;break;case 24:for(;o.length>2;)f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c);s+=o.shift(),c+=o.shift(),i(s,c);break;case 25:for(;o.length>6;)s+=o.shift(),c+=o.shift(),i(s,c);f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c);break;case 26:for(o.length%2&&(s+=o.shift());o.length>0;)f=s,B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C,c=Q+o.shift(),a(f,B,C,Q,s,c);break;case 27:for(o.length%2&&(c+=o.shift());o.length>0;)a(f=s+o.shift(),B=c,C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q);break;case 28:o.push((u[l]<<24|u[l+1]<<16)>>16),l+=2;break;case 29:y=o.pop()+r.gsubrsBias,(p=r.gsubrs[y])&&e(p);break;case 30:for(;o.length>0&&(f=s,B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+(1===o.length?o.shift():0),a(f,B,C,Q,s,c),0!==o.length);)f=s+o.shift(),B=c,C=f+o.shift(),Q=B+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s=C+(1===o.length?o.shift():0),c);break;case 31:for(;o.length>0&&(f=s+o.shift(),B=c,C=f+o.shift(),Q=B+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s=C+(1===o.length?o.shift():0),c),0!==o.length);)f=s,B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+(1===o.length?o.shift():0),a(f,B,C,Q,s,c);break;default:if(I<32)throw new re("unknown operator: ".concat(I));I<247?o.push(I-139):I<251?o.push(256*(I-247)+u[l++]+108):I<255?o.push(256*-(I-251)-u[l++]-108):(o.push((u[l]<<24|u[l+1]<<16|u[l+2]<<8|u[l+3])/65536),l+=4)}h&&(o.length=0)}}(e)}var hg=[],Ig=function(){return eg((function e(){var t,r,A;zc(this,e),t=this,A=[],(r=tg(r="cmds"))in t?Object.defineProperty(t,r,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[r]=A}),[{key:"add",value:function(e,t){if(t)if(St(t,null)){var r;(r=this.cmds).push.apply(r,[e].concat(Xc(t)))}else{var A;q('Commands.add - "'.concat(e,'" has at least one non-number arg: "').concat(t,'".'));var n=t.map((function(e){return"number"==typeof e?e:0}));(A=this.cmds).push.apply(A,[e].concat(Xc(n)))}else this.cmds.push(e)}}])}(),fg=function(){return eg((function e(t){zc(this,e),this.fontMatrix=t,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}),[{key:"getPathJs",value:function(e){var t,r,A,n=gg(this.cmap,e),i=n.charCode,a=n.glyphId,o=this.compiledGlyphs[a];if(!o){try{o=this.compileGlyph(this.glyphs[a],a)}catch(e){o=hg,A=e}this.compiledGlyphs[a]=o}if(null!==(r=(t=this.compiledCharCodeToGlyphId)[i])&&void 0!==r||(t[i]=a),A)throw A;return o}},{key:"compileGlyph",value:function(e,t){if(!e||0===e.length||14===e[0])return hg;var r=this.fontMatrix;if(this.isCFFCIDFont){var A=this.fdSelect.getFDIndex(t);A>=0&&A<this.fdArray.length?r=this.fdArray[A].getByName("FontMatrix")||B:q("Invalid fd index for glyph index.")}var n=new Ig;return n.add(5),n.add(7,r.slice()),n.add(6),this.compileGlyphImpl(e,n,t),n.add(4),n.cmds}},{key:"compileGlyphImpl",value:function(){j("Children classes should implement this.")}},{key:"hasBuiltPath",value:function(e){var t=gg(this.cmap,e),r=t.charCode,A=t.glyphId;return void 0!==this.compiledGlyphs[A]&&void 0!==this.compiledCharCodeToGlyphId[r]}}])}(),Cg=function(e){function t(e,r,A){var n;return zc(this,t),(n=qc(this,t,[A||[488e-6,0,0,488e-6,0,0]])).glyphs=e,n.cmap=r,n}return Zc(t,fg),eg(t,[{key:"compileGlyphImpl",value:function(e,t){ug(e,t,this)}}])}(),Bg=function(e){function t(e,r,A,n){var i;return zc(this,t),(i=qc(this,t,[A||[.001,0,0,.001,0,0]])).glyphs=e.glyphs,i.gsubrs=e.gsubrs||[],i.subrs=e.subrs||[],i.cmap=r,i.glyphNameMap=n||lc(),i.gsubrsBias=og(i.gsubrs),i.subrsBias=og(i.subrs),i.isCFFCIDFont=e.isCFFCIDFont,i.fdSelect=e.fdSelect,i.fdArray=e.fdArray,i}return Zc(t,fg),eg(t,[{key:"compileGlyphImpl",value:function(e,t,r){lg(e,t,this,r)}}])}(),Qg=function(){return eg((function e(){zc(this,e)}),null,[{key:"create",value:function(e,t){for(var r,A,n,i,a,o,s=new Uint8Array(e.data),c=Ag(s,4),g=0,u=12;g<c;g++,u+=16){var l=ne(s.subarray(u,u+4)),h=rg(s,u+8),I=rg(s,u+12);switch(l){case"cmap":r=sg(s,h);break;case"glyf":A=s.subarray(h,h+I);break;case"loca":n=s.subarray(h,h+I);break;case"head":o=Ag(s,h+18),a=Ag(s,h+50);break;case"CFF ":i=cg(s,h,h+I,t)}}if(A){var f=o?[1/o,0,0,1/o,0,0]:e.fontMatrix;return new Cg(function(e,t,r){var A,n;r?(A=4,n=rg):(A=2,n=function(e,t){return 2*Ag(e,t)});for(var i=[],a=n(t,0),o=A;o<t.length;o+=A){var s=n(t,o);i.push(e.subarray(a,s)),a=s}return i}(A,n,a),r,f)}return new Bg(i,r,e.fontMatrix,e.glyphNameMap)}}])}(),Eg=ft((function(e){e.Courier=600,e["Courier-Bold"]=600,e["Courier-BoldOblique"]=600,e["Courier-Oblique"]=600,e.Helvetica=ft((function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-Bold"]=ft((function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-BoldOblique"]=ft((function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-Oblique"]=ft((function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556})),e.Symbol=ft((function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790})),e["Times-Roman"]=ft((function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-Bold"]=ft((function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-BoldItalic"]=ft((function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-Italic"]=ft((function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500})),e.ZapfDingbats=ft((function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918}))})),dg=ft((function(e){e.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},e["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},e["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},e["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},e["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},e["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},e.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},e.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}}));function yg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||vg(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pg(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=vg(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function vg(e,t){if(e){if("string"==typeof e)return mg(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mg(e,t):void 0}}function mg(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function wg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bg(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Dg(A.key),A)}}function kg(e,t,r){return t&&bg(e.prototype,t),r&&bg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Dg(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Sg=function(){return kg((function e(t){var r=t.glyfTable,A=t.isGlyphLocationsLong,n=t.locaTable,i=t.numGlyphs;wg(this,e),this.glyphs=[];for(var a=new DataView(n.buffer,n.byteOffset,n.byteLength),o=new DataView(r.buffer,r.byteOffset,r.byteLength),s=A?4:2,c=A?a.getUint32(0):2*a.getUint16(0),g=0,u=0;u<i;u++){g+=s;var l=A?a.getUint32(g):2*a.getUint16(g);if(l!==c){var h=Fg.parse(c,o);this.glyphs.push(h),c=l}else this.glyphs.push(new Fg({}))}}),[{key:"getSize",value:function(){return this.glyphs.reduce((function(e,t){return e+(t.getSize()+3&-4)}),0)}},{key:"write",value:function(){var e=this.getSize(),t=new DataView(new ArrayBuffer(e)),r=e>131070,A=r?4:2,n=new DataView(new ArrayBuffer((this.glyphs.length+1)*A));r?n.setUint32(0,0):n.setUint16(0,0);var i,a=0,o=0,s=pg(this.glyphs);try{for(s.s();!(i=s.n()).done;)a=(a+=i.value.write(a,t))+3&-4,o+=A,r?n.setUint32(o,a):n.setUint16(o,a>>1)}catch(e){s.e(e)}finally{s.f()}return{isLocationLong:r,loca:new Uint8Array(n.buffer),glyf:new Uint8Array(t.buffer)}}},{key:"scale",value:function(e){for(var t=0,r=this.glyphs.length;t<r;t++)this.glyphs[t].scale(e[t])}}])}(),Fg=function(){function e(t){var r=t.header,A=void 0===r?null:r,n=t.simple,i=void 0===n?null:n,a=t.composites,o=void 0===a?null:a;wg(this,e),this.header=A,this.simple=i,this.composites=o}return kg(e,[{key:"getSize",value:function(){if(!this.header)return 0;var e=this.simple?this.simple.getSize():this.composites.reduce((function(e,t){return e+t.getSize()}),0);return this.header.getSize()+e}},{key:"write",value:function(e,t){if(!this.header)return 0;var r=e;if(e+=this.header.write(e,t),this.simple)e+=this.simple.write(e,t);else{var A,n=pg(this.composites);try{for(n.s();!(A=n.n()).done;)e+=A.value.write(e,t)}catch(e){n.e(e)}finally{n.f()}}return e-r}},{key:"scale",value:function(e){if(this.header){var t=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(t,e),this.simple)this.simple.scale(t,e);else{var r,A=pg(this.composites);try{for(A.s();!(r=A.n()).done;)r.value.scale(t,e)}catch(e){A.e(e)}finally{A.f()}}}}}],[{key:"parse",value:function(t,r){var A=yg(xg.parse(t,r),2),n=A[0],i=A[1];if(t+=n,i.numberOfContours<0){for(var a=[];;){var o=yg(Ng.parse(t,r),2),s=o[0],c=o[1];if(t+=s,a.push(c),!(32&c.flags))break}return new e({header:i,composites:a})}return new e({header:i,simple:Gg.parse(t,r,i.numberOfContours)})}}])}(),xg=function(){function e(t){var r=t.numberOfContours,A=t.xMin,n=t.yMin,i=t.xMax,a=t.yMax;wg(this,e),this.numberOfContours=r,this.xMin=A,this.yMin=n,this.xMax=i,this.yMax=a}return kg(e,[{key:"getSize",value:function(){return 10}},{key:"write",value:function(e,t){return t.setInt16(e,this.numberOfContours),t.setInt16(e+2,this.xMin),t.setInt16(e+4,this.yMin),t.setInt16(e+6,this.xMax),t.setInt16(e+8,this.yMax),10}},{key:"scale",value:function(e,t){this.xMin=Math.round(e+(this.xMin-e)*t),this.xMax=Math.round(e+(this.xMax-e)*t)}}],[{key:"parse",value:function(t,r){return[10,new e({numberOfContours:r.getInt16(t),xMin:r.getInt16(t+2),yMin:r.getInt16(t+4),xMax:r.getInt16(t+6),yMax:r.getInt16(t+8)})]}}])}(),Rg=kg((function e(t){var r=t.flags,A=t.xCoordinates,n=t.yCoordinates;wg(this,e),this.xCoordinates=A,this.yCoordinates=n,this.flags=r})),Gg=function(){function e(t){var r=t.contours,A=t.instructions;wg(this,e),this.contours=r,this.instructions=A}return kg(e,[{key:"getSize",value:function(){var e,t=2*this.contours.length+2+this.instructions.length,r=0,A=0,n=pg(this.contours);try{for(n.s();!(e=n.n()).done;){var i=e.value;t+=i.flags.length;for(var a=0,o=i.xCoordinates.length;a<o;a++){var s=i.xCoordinates[a],c=i.yCoordinates[a],g=Math.abs(s-r);g>255?t+=2:g>0&&(t+=1),r=s,(g=Math.abs(c-A))>255?t+=2:g>0&&(t+=1),A=c}}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"write",value:function(e,t){var r,A=e,n=[],i=[],a=[],o=0,s=0,c=pg(this.contours);try{for(c.s();!(r=c.n()).done;){for(var g=r.value,u=0,l=g.xCoordinates.length;u<l;u++){var h=g.flags[u],I=g.xCoordinates[u],f=I-o;if(0===f)h|=16,n.push(0);else{var C=Math.abs(f);C<=255?(h|=f>=0?18:2,n.push(C)):n.push(f)}o=I;var B=g.yCoordinates[u];if(0==(f=B-s))h|=32,i.push(0);else{var Q=Math.abs(f);Q<=255?(h|=f>=0?36:4,i.push(Q)):i.push(f)}s=B,a.push(h)}t.setUint16(e,n.length-1),e+=2}}catch(e){c.e(e)}finally{c.f()}t.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length);for(var E=0,d=a;E<d.length;E++){var y=d[E];t.setUint8(e++,y)}for(var p=0,v=n.length;p<v;p++){var m=n[p],w=a[p];2&w?t.setUint8(e++,m):16&w||(t.setInt16(e,m),e+=2)}for(var b=0,k=i.length;b<k;b++){var D=i[b],S=a[b];4&S?t.setUint8(e++,D):32&S||(t.setInt16(e,D),e+=2)}return e-A}},{key:"scale",value:function(e,t){var r,A=pg(this.contours);try{for(A.s();!(r=A.n()).done;){var n=r.value;if(0!==n.xCoordinates.length)for(var i=0,a=n.xCoordinates.length;i<a;i++)n.xCoordinates[i]=Math.round(e+(n.xCoordinates[i]-e)*t)}}catch(e){A.e(e)}finally{A.f()}}}],[{key:"parse",value:function(t,r,A){for(var n=[],i=0;i<A;i++){var a=r.getUint16(t);t+=2,n.push(a)}var o=n[A-1]+1,s=r.getUint16(t);t+=2;var c=new Uint8Array(r).slice(t,t+s);t+=s;for(var g=[],u=0;u<o;t++,u++){var l=r.getUint8(t);if(g.push(l),8&l){var h=r.getUint8(++t);l^=8;for(var I=0;I<h;I++)g.push(l);u+=h}}for(var f=[],C=[],B=[],Q=[],E=[],d=0,y=0,p=0;p<o;p++){var v=g[p];if(2&v){var m=r.getUint8(t++);y+=16&v?m:-m,C.push(y)}else 16&v||(y+=r.getInt16(t),t+=2),C.push(y);n[d]===p&&(d++,f.push(C),C=[])}y=0,d=0;for(var w=0;w<o;w++){var b=g[w];if(4&b){var k=r.getUint8(t++);y+=32&b?k:-k,B.push(y)}else 32&b||(y+=r.getInt16(t),t+=2),B.push(y);Q.push(1&b|64&b),n[d]===w&&(C=f[d],d++,E.push(new Rg({flags:Q,xCoordinates:C,yCoordinates:B})),B=[],Q=[])}return new e({contours:E,instructions:c})}}])}(),Ng=function(){function e(t){var r=t.flags,A=t.glyphIndex,n=t.argument1,i=t.argument2,a=t.transf,o=t.instructions;wg(this,e),this.flags=r,this.glyphIndex=A,this.argument1=n,this.argument2=i,this.transf=a,this.instructions=o}return kg(e,[{key:"getSize",value:function(){var e=4+2*this.transf.length;return 256&this.flags&&(e+=2+this.instructions.length),e+=2,2&this.flags?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(e+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(e+=2),e}},{key:"write",value:function(e,t){var r=e;return 2&this.flags?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=1):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=1),t.setUint16(e,this.flags),t.setUint16(e+2,this.glyphIndex),e+=4,1&this.flags?(2&this.flags?(t.setInt16(e,this.argument1),t.setInt16(e+2,this.argument2)):(t.setUint16(e,this.argument1),t.setUint16(e+2,this.argument2)),e+=4):(t.setUint8(e,this.argument1),t.setUint8(e+1,this.argument2),e+=2),256&this.flags&&(t.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length)),e-r}},{key:"scale",value:function(e,t){}}],[{key:"parse",value:function(t,r){var A,n,i=t,a=[],o=r.getUint16(t),s=r.getUint16(t+2);t+=4,1&o?(2&o?(A=r.getInt16(t),n=r.getInt16(t+2)):(A=r.getUint16(t),n=r.getUint16(t+2)),t+=4,o^=1):(2&o?(A=r.getInt8(t),n=r.getInt8(t+1)):(A=r.getUint8(t),n=r.getUint8(t+1)),t+=2),8&o?(a.push(r.getUint16(t)),t+=2):64&o?(a.push(r.getUint16(t),r.getUint16(t+2)),t+=4):128&o&&(a.push(r.getUint16(t),r.getUint16(t+2),r.getUint16(t+4),r.getUint16(t+6)),t+=8);var c=null;if(256&o){var g=r.getUint16(t);t+=2,c=new Uint8Array(r).slice(t,t+g),t+=g}return[t-i,new e({flags:o,glyphIndex:s,argument1:A,argument2:n,transf:a,instructions:c})]}}])}();function Lg(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ug(A.key),A)}}function Ug(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Mg(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Jg(e,t,r){e[t]=r>>8&255,e[t+1]=255&r}function Hg(e,t,r){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}function Yg(e,t,r){if(r instanceof Uint8Array)e.set(r,t);else if("string"==typeof r)for(var A=0,n=r.length;A<n;A++)e[t++]=255&r.charCodeAt(A);else{var i,a=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Mg(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Mg(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(r);try{for(a.s();!(i=a.n()).done;){var o=i.value;e[t++]=255&o}}catch(e){a.e(e)}finally{a.f()}}}var Pg=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sfnt=t,this.tables=Object.create(null)}return t=e,A=[{key:"getSearchParams",value:function(e,t){for(var r=1,A=0;(r^e)>r;)r<<=1,A++;var n=r*t;return{range:n,entry:A,rangeShift:t*e-n}}}],(r=[{key:"toArray",value:function(){var t=this.sfnt,r=this.tables,A=Object.keys(r);A.sort();var n,i,a,o,s,c=A.length,g=12+16*c,u=[g];for(n=0;n<c;n++)g+=((o=r[A[n]]).length+3&-4)>>>0,u.push(g);var l=new Uint8Array(g);for(n=0;n<c;n++)o=r[A[n]],Yg(l,u[n],o);"true"===t&&(t=ae(65536)),l[0]=255&t.charCodeAt(0),l[1]=255&t.charCodeAt(1),l[2]=255&t.charCodeAt(2),l[3]=255&t.charCodeAt(3),Jg(l,4,c);var h=e.getSearchParams(c,16);for(Jg(l,6,h.range),Jg(l,8,h.entry),Jg(l,10,h.rangeShift),g=12,n=0;n<c;n++){s=A[n],l[g]=255&s.charCodeAt(0),l[g+1]=255&s.charCodeAt(1),l[g+2]=255&s.charCodeAt(2),l[g+3]=255&s.charCodeAt(3);var I=0;for(i=u[n],a=u[n+1];i<a;i+=4)I=I+kt(l,i)>>>0;Hg(l,g+4,I),Hg(l,g+8,u[n]),Hg(l,g+12,r[s].length),g+=16}return l}},{key:"addTable",value:function(e,t){if(e in this.tables)throw new Error("Table "+e+" already exists");this.tables[e]=t}}])&&Lg(t.prototype,r),A&&Lg(t,A),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,A}();function Og(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tg(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,jg(A.key),A)}}function qg(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function jg(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Wg=[4],Zg=[5],_g=[6],Xg=[7],Vg=[8],zg=[12,35],$g=[14],eu=[21],tu=[22],ru=[30],Au=[31],nu=function(){return qg((function e(){Kg(this,e),this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}),[{key:"convert",value:function(e,t,r){for(var A,n,i,a=e.length,o=!1,s=0;s<a;s++){var c=e[s];if(c<32){switch(12===c&&(c=(c<<8)+e[++s]),c){case 1:case 3:case 9:case 3072:case 3073:case 3074:case 3105:this.stack=[];break;case 4:if(this.flexing){if(this.stack.length<1){o=!0;break}var g=this.stack.pop();this.stack.push(0,g);break}o=this.executeCommand(1,Wg);break;case 5:o=this.executeCommand(2,Zg);break;case 6:o=this.executeCommand(1,_g);break;case 7:o=this.executeCommand(1,Xg);break;case 8:o=this.executeCommand(6,Vg);break;case 10:if(this.stack.length<1){o=!0;break}if(!t[i=this.stack.pop()]){o=!0;break}o=this.convert(t[i],t,r);break;case 11:return o;case 13:if(this.stack.length<2){o=!0;break}A=this.stack.pop(),n=this.stack.pop(),this.lsb=n,this.width=A,this.stack.push(A,n),o=this.executeCommand(2,tu);break;case 14:this.output.push($g[0]);break;case 21:if(this.flexing)break;o=this.executeCommand(2,eu);break;case 22:if(this.flexing){this.stack.push(0);break}o=this.executeCommand(1,tu);break;case 30:o=this.executeCommand(4,ru);break;case 31:o=this.executeCommand(4,Au);break;case 3078:if(r){var u=this.stack.at(-5);this.seac=this.stack.splice(-4,4),this.seac[0]+=this.lsb-u,o=this.executeCommand(0,$g)}else o=this.executeCommand(4,$g);break;case 3079:if(this.stack.length<4){o=!0;break}this.stack.pop(),A=this.stack.pop();var l=this.stack.pop();n=this.stack.pop(),this.lsb=n,this.width=A,this.stack.push(A,n,l),o=this.executeCommand(3,eu);break;case 3084:if(this.stack.length<2){o=!0;break}var h=this.stack.pop(),I=this.stack.pop();this.stack.push(I/h);break;case 3088:if(this.stack.length<2){o=!0;break}i=this.stack.pop();var f=this.stack.pop();if(0===i&&3===f){var C=this.stack.splice(-17,17);this.stack.push(C[2]+C[0],C[3]+C[1],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14]),o=this.executeCommand(13,zg,!0),this.flexing=!1,this.stack.push(C[15],C[16])}else 1===i&&0===f&&(this.flexing=!0);break;case 3089:break;default:q('Unknown type 1 charstring command of "'+c+'"')}if(o)break}else c<=246?c-=139:c=c<=250?256*(c-247)+e[++s]+108:c<=254?-256*(c-251)-e[++s]-108:(255&e[++s])<<24|(255&e[++s])<<16|(255&e[++s])<<8|(255&e[++s])<<0,this.stack.push(c)}return o}},{key:"executeCommand",value:function(e,t,r){var A,n=this.stack.length;if(e>n)return!0;for(var i=n-e,a=i;a<n;a++){var o=this.stack[a];Number.isInteger(o)?this.output.push(28,o>>8&255,255&o):(o=65536*o|0,this.output.push(255,o>>24&255,o>>16&255,o>>8&255,255&o))}return(A=this.output).push.apply(A,function(e){return function(e){if(Array.isArray(e))return Og(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Og(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Og(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t)),r?this.stack.splice(i,e):this.stack.length=0,!1}}])}();function iu(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function au(e,t,r){if(r>=e.length)return new Uint8Array(0);var A,n,i=0|t;for(A=0;A<r;A++)i=52845*(e[A]+i)+22719&65535;var a=e.length-r,o=new Uint8Array(a);for(A=r,n=0;n<a;A++,n++){var s=e[A];o[n]=s^i>>8,i=52845*(s+i)+22719&65535}return o}function ou(e){return 47===e||91===e||93===e||123===e||125===e||40===e||41===e}var su=function(){return qg((function e(t,r,A){if(Kg(this,e),r){var n=t.getBytes(),i=!((iu(n[0])||Dt(n[0]))&&iu(n[1])&&iu(n[2])&&iu(n[3])&&iu(n[4])&&iu(n[5])&&iu(n[6])&&iu(n[7]));t=new ar(i?au(n,55665,4):function(e,t,r){var A,n,i=55665,a=e.length,o=new Uint8Array(a>>>1);for(A=0,n=0;A<a;A++){var s=e[A];if(iu(s)){A++;for(var c=void 0;A<a&&!iu(c=e[A]);)A++;if(A<a){var g=parseInt(String.fromCharCode(s,c),16);o[n++]=g^i>>8,i=52845*(g+i)+22719&65535}}}return o.slice(4,n)}(n))}this.seacAnalysisEnabled=!!A,this.stream=t,this.nextChar()}),[{key:"readNumberArray",value:function(){this.getToken();for(var e=[];;){var t=this.getToken();if(null===t||"]"===t||"}"===t)break;e.push(parseFloat(t||0))}return e}},{key:"readNumber",value:function(){var e=this.getToken();return parseFloat(e||0)}},{key:"readInt",value:function(){var e=this.getToken();return 0|parseInt(e||0,10)}},{key:"readBoolean",value:function(){return"true"===this.getToken()?1:0}},{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"prevChar",value:function(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var e=!1,t=this.currentChar;;){if(-1===t)return null;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!Dt(t))break;t=this.nextChar()}if(ou(t))return this.nextChar(),String.fromCharCode(t);var r="";do{r+=String.fromCharCode(t),t=this.nextChar()}while(t>=0&&!Dt(t)&&!ou(t));return r}},{key:"readCharStrings",value:function(e,t){return-1===t?e:au(e,4330,t)}},{key:"extractFontProgram",value:function(e){var t=this.stream,r=[],A=[],n=Object.create(null);n.lenIV=4;for(var i,a,o,s,c={subrs:[],charstrings:[],properties:{privateData:n}};null!==(i=this.getToken());)if("/"===i)switch(i=this.getToken()){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();null!==(i=this.getToken())&&"end"!==i;)if("/"===i){var g=this.getToken();a=this.readInt(),this.getToken(),o=a>0?t.getBytes(a):new Uint8Array(0),s=c.properties.privateData.lenIV;var u=this.readCharStrings(o,s);this.nextChar(),"noaccess"===(i=this.getToken())?this.getToken():"/"===i&&this.prevChar(),A.push({glyph:g,encoded:u})}break;case"Subrs":for(this.readInt(),this.getToken();"dup"===this.getToken();){var l=this.readInt();a=this.readInt(),this.getToken(),o=a>0?t.getBytes(a):new Uint8Array(0),s=c.properties.privateData.lenIV;var h=this.readCharStrings(o,s);this.nextChar(),"noaccess"===(i=this.getToken())&&this.getToken(),r[l]=h}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":var I=this.readNumberArray();I.length>0&&I.length;break;case"StemSnapH":case"StemSnapV":c.properties.privateData[i]=this.readNumberArray();break;case"StdHW":case"StdVW":c.properties.privateData[i]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":c.properties.privateData[i]=this.readNumber();break;case"ExpansionFactor":c.properties.privateData[i]=this.readNumber()||.06;break;case"ForceBold":c.properties.privateData[i]=this.readBoolean()}for(var f=0,C=A;f<C.length;f++){var B=C[f],Q=B.encoded,E=B.glyph,d=new nu,y=d.convert(Q,r,this.seacAnalysisEnabled),p=d.output;y&&(p=[14]);var v={glyphName:E,charstring:p,width:d.width,lsb:d.lsb,seac:d.seac};if(".notdef"===E?c.charstrings.unshift(v):c.charstrings.push(v),e.builtInEncoding){var m=e.builtInEncoding.indexOf(E);m>-1&&void 0===e.widths[m]&&m>=e.firstChar&&m<=e.lastChar&&(e.widths[m]=d.width)}}return c}},{key:"extractFontHeader",value:function(e){for(var t;null!==(t=this.getToken());)if("/"===t)switch(t=this.getToken()){case"FontMatrix":var r=this.readNumberArray();e.fontMatrix=r;break;case"Encoding":var A=this.getToken(),n=void 0;if(/^\\d+$/.test(A)){n=[];var i=0|parseInt(A,10);this.getToken();for(var a=0;a<i;a++){for(t=this.getToken();"dup"!==t&&"def"!==t;)if(null===(t=this.getToken()))return;if("def"===t)break;var o=this.readInt();this.getToken();var s=this.getToken();n[o]=s,this.getToken()}}else n=Rs(A);e.builtInEncoding=n;break;case"FontBBox":var c=this.readNumberArray();e.ascent=Math.max(c[3],c[1]),e.descent=Math.min(c[1],c[3]),e.ascentScaled=!0}}}])}();function cu(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return gu(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gu(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function gu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function uu(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,lu(A.key),A)}}function lu(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function hu(e,t,r){for(var A=e.length,n=t.length,i=A-n,a=r,o=!1;a<i;){for(var s=0;s<n&&e[a+s]===t[s];)s++;if(s>=n){for(a+=s;a<A&&Dt(e[a]);)a++;o=!0;break}a++}return{found:o,length:a}}var Iu=function(){return e=function e(t,r,A){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=A.length1,i=(A.length2,r.peekBytes(6)),a=128===i[0]&&1===i[1];a&&(r.skip(6),n=i[5]<<24|i[4]<<16|i[3]<<8|i[2]);var o=function(e,t){var r,A,n,i,a=[101,101,120,101,99],o=e.pos;try{A=(r=e.getBytes(t)).length}catch(e){}if(A===t&&(n=hu(r,a,t-2*a.length)).found&&n.length===t)return{stream:new ar(r),length:t};for(q('Invalid "Length1" property in Type1 font -- trying to recover.'),e.pos=o;0!==(n=hu(e.peekBytes(2048),a,0)).length;)if(e.pos+=n.length,n.found){i=e.pos-o;break}return e.pos=o,i?{stream:new ar(e.getBytes(i)),length:i}:(q('Unable to recover "Length1" property in Type1 font -- using as is.'),{stream:new ar(e.getBytes(t)),length:t})}(r,n);new su(o.stream,!1,dc).extractFontHeader(A),a&&((i=r.getBytes(6))[5],i[4],i[3],i[2]);var s=function(e,t){var r=e.getBytes();if(0===r.length)throw new re("getEexecBlock - no font program found.");return{stream:new ar(r),length:r.length}}(r),c=new su(s.stream,!0,dc).extractFontProgram(A);for(var g in c.properties)A[g]=c.properties[g];var u=c.charstrings,l=this.getType2Charstrings(u),h=this.getType2Subrs(c.subrs);this.charstrings=u,this.data=this.wrap(t,l,this.charstrings,h,A),this.seacs=this.getSeacs(c.charstrings)},(t=[{key:"numGlyphs",get:function(){return this.charstrings.length+1}},{key:"getCharset",value:function(){var e,t=[".notdef"],r=cu(this.charstrings);try{for(r.s();!(e=r.n()).done;){var A=e.value.glyphName;t.push(A)}}catch(e){r.e(e)}finally{r.f()}return t}},{key:"getGlyphMapping",value:function(e){var t=this.charstrings;if(e.composite){for(var r=Object.create(null),A=0,n=t.length;A<n;A++)r[e.cMap.charCodeOf(A)]=A+1;return r}var i,a,o=[".notdef"];for(a=0;a<t.length;a++)o.push(t[a].glyphName);var s=e.builtInEncoding;if(s)for(var c in i=Object.create(null),s)(a=o.indexOf(s[c]))>=0&&(i[c]=a);return vc(e,i,o)}},{key:"hasGlyphId",value:function(e){return!(e<0||e>=this.numGlyphs)&&(0===e||this.charstrings[e-1].charstring.length>0)}},{key:"getSeacs",value:function(e){for(var t=[],r=0,A=e.length;r<A;r++){var n=e[r];n.seac&&(t[r+1]=n.seac)}return t}},{key:"getType2Charstrings",value:function(e){var t,r=[],A=cu(e);try{for(A.s();!(t=A.n()).done;){var n=t.value;r.push(n.charstring)}}catch(e){A.e(e)}finally{A.f()}return r}},{key:"getType2Subrs",value:function(e){var t,r=e.length;t=r<1133?107:r<33769?1131:32768;var A,n=[];for(A=0;A<t;A++)n.push([11]);for(A=0;A<r;A++)n.push(e[A]);return n}},{key:"wrap",value:function(e,t,r,A,n){var i=new Vs;i.header=new zs(1,0,4,4),i.names=[e];var a=new Ac;a.setByName("version",391),a.setByName("Notice",392),a.setByName("FullName",393),a.setByName("FamilyName",394),a.setByName("Weight",395),a.setByName("Encoding",null),a.setByName("FontMatrix",n.fontMatrix),a.setByName("FontBBox",n.bbox),a.setByName("charset",null),a.setByName("CharStrings",null),a.setByName("Private",null),i.topDict=a;var o=new $s;o.add("Version 0.11"),o.add("See original notice"),o.add(e),o.add(e),o.add("Medium"),i.strings=o,i.globalSubrIndex=new ec;var s,c,g=t.length,u=[".notdef"];for(s=0;s<g;s++){var l=r[s].glyphName;-1===Ws.indexOf(l)&&o.add(l),u.push(l)}i.charset=new oc(!1,0,u);var h=new ec;for(h.add([139,14]),s=0;s<g;s++)h.add(t[s]);i.charStrings=h;var I=new ic;I.setByName("Subrs",null);var f=["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"];for(s=0,c=f.length;s<c;s++){var C=f[s];if(C in n.privateData){var B=n.privateData[C];if(Array.isArray(B))for(var Q=B.length-1;Q>0;Q--)B[Q]-=B[Q-1];I.setByName(C,B)}}i.topDict.privateDict=I;var E=new ec;for(s=0,c=A.length;s<c;s++)E.add(A[s]);return I.subrsIndex=E,new uc(i).compile()}}])&&uu(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function fu(e){return function(e){if(Array.isArray(e))return vu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||pu(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qu(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,du(A.key),A)}}function Eu(e,t,r){return t&&Qu(e.prototype,t),r&&Qu(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function du(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function yu(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=pu(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function pu(e,t){if(e){if("string"==typeof e)return vu(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vu(e,t):void 0}}function vu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var mu=[[57344,63743],[1048576,1114109]],wu=1e3,bu=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","isInvalidPDFjsFont","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","systemFontInfo","type","vertical"],ku=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function Du(e){if(e.fontMatrix&&e.fontMatrix[0]!==B[0]){var t=.001/e.fontMatrix[0],r=e.widths;for(var A in r)r[A]*=t;e.defaultWidth*=t}}function Su(e){if(e.fallbackToUnicode&&!(e.toUnicode instanceof Pc)){var t=[];for(var r in e.fallbackToUnicode)e.toUnicode.has(r)||(t[r]=e.fallbackToUnicode[r]);t.length>0&&e.toUnicode.amend(t)}}var Fu=function(){return Eu((function e(t,r,A,n,i,a,o,s,c){Bu(this,e),this.originalCharCode=t,this.fontChar=r,this.unicode=A,this.accent=n,this.width=i,this.vmetric=a,this.operatorListId=o,this.isSpace=s,this.isInFont=c}),[{key:"category",get:function(){return _(this,"category",function(e){var t=Ec.get(e);if(t)return t;var r=e.match(Qc),A={isWhitespace:!(null==r||!r[1]),isZeroWidthDiacritic:!(null==r||!r[2]),isInvisibleFormatMark:!(null==r||!r[3])};return Ec.set(e,A),A}(this.unicode),!0)}}])}();function xu(e,t){return(e<<8)+t}function Ru(e,t,r){e[t+1]=r,e[t]=r>>>8}function Gu(e,t){var r=(e<<8)+t;return 32768&r?r-65536:r}function Nu(e){return String.fromCharCode(e>>8&255,255&e)}function Lu(e){return e>32767?e=32767:e<-32768&&(e=-32768),String.fromCharCode(e>>8&255,255&e)}function Uu(e){return"ttcf"===ne(e.peekBytes(4))}function Mu(e,t){for(var r in t)e[+r]=t[r]}function Ju(e,t,r){for(var A,n=[],i=0,a=e.length;i<a;i++)-1!==(A=fc(e[i],t))&&(n[i]=A);for(var o in r)-1!==(A=fc(r[o],t))&&(n[+o]=A);return n}function Hu(e){return 1===e.platform&&0===e.encoding&&0===e.language}function Yu(e){return 3===e.platform&&1===e.encoding&&1033===e.language}function Pu(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];switch(t.length){case 1:return t.charCodeAt(0);case 2:return t.charCodeAt(0)<<8|t.charCodeAt(1)}var A="Unsupported CID string (charCode ".concat(e,'): "').concat(t,'".');if(r)throw new re(A);return q(A),t}function Ou(e,t,r,A){var n,i=Object.create(null),a=new Map,o=[],s=new Set,c=0,g=mu[c][0],u=mu[c][1];for(var l in e){var h=e[l];if(t(h)){if(g>u){if(++c>=mu.length){q("Ran out of space in font private use area.");break}g=mu[c][0],u=mu[c][1]}var I=g++;0===h&&(h=r);var f=A.get(l);"string"==typeof f&&(f=f.codePointAt(0)),!f||(n=f,mu[0][0]<=n&&n<=mu[0][1]||mu[1][0]<=n&&n<=mu[1][1])||s.has(h)||(a.set(f,h),s.add(h)),i[I]=h,o[l]=I}}return{toFontChar:o,charCodeToGlyphId:i,toUnicodeExtraMap:a,nextAvailableFontCharCode:g}}function Ku(e,t,r){var A,n,i,a,o=function(e,t,r){var A=[];for(var n in e)e[n]>=r||A.push({fontCharCode:0|n,glyphId:e[n]});if(t){var i,a=yu(t);try{for(a.s();!(i=a.n()).done;){var o=Cu(i.value,2),s=o[0],c=o[1];c>=r||A.push({fontCharCode:s,glyphId:c})}}catch(e){a.e(e)}finally{a.f()}}0===A.length&&A.push({fontCharCode:0,glyphId:0}),A.sort((function(e,t){return e.fontCharCode-t.fontCharCode}));for(var g=[],u=A.length,l=0;l<u;){var h=A[l].fontCharCode,I=[A[l].glyphId];++l;for(var f=h;l<u&&f+1===A[l].fontCharCode&&(I.push(A[l].glyphId),++l,65535!=++f););g.push([h,f,I])}return g}(e,t,r),s=o.at(-1)[1]>65535?2:1,c="\\0\\0"+Nu(s)+"\\0\\0"+ae(4+8*s);for(A=o.length-1;A>=0&&!(o[A][0]<=65535);--A);var g=A+1;o[A][0]<65535&&65535===o[A][1]&&(o[A][1]=65534);var u,l,h,I,f=o[A][1]<65535?1:0,C=g+f,B=Pg.getSearchParams(C,2),Q="",E="",d="",y="",p="",v=0;for(A=0,n=g;A<n;A++){l=(u=o[A])[0],h=u[1],Q+=Nu(l),E+=Nu(h);var m=!0;for(i=1,a=(I=u[2]).length;i<a;++i)if(I[i]!==I[i-1]+1){m=!1;break}if(m)d+=Nu(I[0]-l&65535),y+=Nu(0);else{var w=2*(C-A)+2*v;for(v+=h-l+1,d+=Nu(0),y+=Nu(w),i=0,a=I.length;i<a;++i)p+=Nu(I[i])}}f>0&&(E+="ÿÿ",Q+="ÿÿ",d+="\\0",y+="\\0\\0");var b="\\0\\0"+Nu(2*C)+Nu(B.range)+Nu(B.entry)+Nu(B.rangeShift)+E+"\\0\\0"+Q+d+y+p,k="",D="";if(s>1){for(c+="\\0\\0\\n"+ae(4+8*s+4+b.length),k="",A=0,n=o.length;A<n;A++){l=(u=o[A])[0];var S=(I=u[2])[0];for(i=1,a=I.length;i<a;++i)I[i]!==I[i-1]+1&&(h=u[0]+i-1,k+=ae(l)+ae(h)+ae(S),l=h+1,S=I[i]);k+=ae(l)+ae(u[1])+ae(S)}D="\\0\\f\\0\\0"+ae(k.length+16)+"\\0\\0\\0\\0"+ae(k.length/12)}return c+"\\0"+Nu(b.length+4)+b+D+k}function Tu(e,t,r){r||(r={unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0});var A=0,n=0,i=0,a=0,o=null,s=0,c=-1;if(t){for(var g in t)if((o>(g|=0)||!o)&&(o=g),s<g&&(s=g),(c=Bc(g,c))<32)A|=1<<c;else if(c<64)n|=1<<c-32;else if(c<96)i|=1<<c-64;else{if(!(c<123))throw new re("Unicode ranges Bits > 123 are reserved for internal usage");a|=1<<c-96}s>65535&&(s=65535)}else o=0,s=255;var u=e.bbox||[0,0,0,0],l=r.unitsPerEm||(e.fontMatrix?1/Math.max.apply(Math,fu(e.fontMatrix.slice(0,4).map(Math.abs))):1e3),h=e.ascentScaled?1:l/wu,I=r.ascent||Math.round(h*(e.ascent||u[3])),f=r.descent||Math.round(h*(e.descent||u[1]));f>0&&e.descent>0&&u[1]<0&&(f=-f);var C=r.yMax||I,B=-r.yMin||-f;return"\\0$ô\\0\\0\\0Š»\\0\\0\\0ŒŠ»\\0\\0ß\\x001\\0\\0\\0\\0"+String.fromCharCode(e.fixedPitch?9:0)+"\\0\\0\\0\\0\\0\\0"+ae(A)+ae(n)+ae(i)+ae(a)+"*21*"+Nu(e.italicAngle?1:0)+Nu(o||e.firstChar)+Nu(s||e.lastChar)+Nu(I)+Nu(f)+"\\0d"+Nu(C)+Nu(B)+"\\0\\0\\0\\0\\0\\0\\0\\0"+Nu(e.xHeight)+Nu(e.capHeight)+Nu(0)+Nu(o||e.firstChar)+"\\0"}function qu(e){return"\\0\\0\\0"+ae(Math.floor(e.italicAngle*Math.pow(2,16)))+"\\0\\0\\0\\0"+ae(e.fixedPitch?1:0)+"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0"}function ju(e){return e.replaceAll(/[^\\x21-\\x7E]|[[\\](){}<>/%]/g,"").slice(0,63)}function Wu(e,t){t||(t=[[],[]]);var r,A,n,i,a,o=[t[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||ju(e),t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],s=[];for(r=0,A=o.length;r<A;r++){var c=[];for(n=0,i=(a=t[1][r]||o[r]).length;n<i;n++)c.push(Nu(a.charCodeAt(n)));s.push(c.join(""))}var g=[o,s],u=["\\0","\\0"],l=["\\0\\0","\\0"],h=["\\0\\0","\\t"],I=o.length*u.length,f="\\0\\0"+Nu(I)+Nu(12*I+6),C=0;for(r=0,A=u.length;r<A;r++){var B=g[r];for(n=0,i=B.length;n<i;n++)a=B[n],f+=u[r]+l[r]+h[r]+Nu(n)+Nu(a.length)+Nu(C),C+=a.length}return f+(o.join("")+s.join(""))}var Zu=function(){return Eu((function e(t,r,A){var n;Bu(this,e),this.name=t,this.psName=null,this.mimetype=null,this.disableFontFace=!1,this.loadedName=A.loadedName,this.isType3Font=A.isType3Font,this.missingFile=!1,this.cssFontInfo=A.cssFontInfo,this._charsCache=Object.create(null),this._glyphCache=Object.create(null);var i=!!(2&A.flags);if(!i&&!A.isSimulatedFlags){var a,o=t.replaceAll(/[,_]/g,"-").split("-",1)[0],s=Sc(),c=yu(o.split("+"));try{for(c.s();!(a=c.n()).done;)if(s[a.value]){i=!0;break}}catch(e){c.e(e)}finally{c.f()}}this.isSerifFont=i,this.isSymbolicFont=!!(4&A.flags),this.isMonospace=!!(1&A.flags);var g=A.type,u=A.subtype;this.type=g,this.subtype=u,this.systemFontInfo=A.systemFontInfo;var l=t.match(/^InvalidPDFjsFont_(.*)_\\d+$/);if(this.isInvalidPDFjsFont=!!l,this.isInvalidPDFjsFont?this.fallbackName=l[1]:this.isMonospace?this.fallbackName="monospace":this.isSerifFont?this.fallbackName="serif":this.fallbackName="sans-serif",null!==(n=this.systemFontInfo)&&void 0!==n&&n.guessFallback&&(this.systemFontInfo.guessFallback=!1,this.systemFontInfo.css+=",".concat(this.fallbackName)),this.differences=A.differences,this.widths=A.widths,this.defaultWidth=A.defaultWidth,this.composite=A.composite,this.cMap=A.cMap,this.capHeight=A.capHeight/wu,this.ascent=A.ascent/wu,this.descent=A.descent/wu,this.lineHeight=this.ascent-this.descent,this.fontMatrix=A.fontMatrix,this.bbox=A.bbox,this.defaultEncoding=A.defaultEncoding,this.toUnicode=A.toUnicode,this.toFontChar=[],"Type3"!==A.type){if(this.cidEncoding=A.cidEncoding||"",this.vertical=!!A.vertical,this.vertical&&(this.vmetrics=A.vmetrics,this.defaultVMetrics=A.defaultVMetrics),!r||r.isEmpty)return r&&q('Font file is empty in "'+t+'" ('+this.loadedName+")"),void this.fallbackToSystemFont(A);var h,I=Cu(function(e,t){var r,A,n=t.type,i=t.subtype,a=t.composite;return function(e){var t=e.peekBytes(4);return 65536===kt(t,0)||"true"===ne(t)}(e)||Uu(e)?r=a?"CIDFontType2":"TrueType":function(e){return"OTTO"===ne(e.peekBytes(4))}(e)?r=a?"CIDFontType2":"OpenType":function(e){var t=e.peekBytes(2);return 37===t[0]&&33===t[1]||128===t[0]&&1===t[1]}(e)?r=a?"CIDFontType0":"MMType1"===n?"MMType1":"Type1":function(e){var t=e.peekBytes(4);return t[0]>=1&&t[3]>=1&&t[3]<=4}(e)?a?(r="CIDFontType0",A="CIDFontType0C"):(r="MMType1"===n?"MMType1":"Type1",A="Type1C"):(q("getFontFileType: Unable to detect correct font file Type/Subtype."),r=n,A=i),[r,A]}(r,A),2);g=I[0],u=I[1],g===this.type&&u===this.subtype||T("Inconsistent font file Type/SubType, expected: "+"".concat(this.type,"/").concat(this.subtype," but found: ").concat(g,"/").concat(u,"."));try{switch(g){case"MMType1":T("MMType1 font ("+t+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";var f="Type1C"===u||"CIDFontType0C"===u?new Tc(r,A):new Iu(t,r,A);Du(A),h=this.convert(t,f,A);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",h=this.checkAndRepair(t,r,A),this.isOpenType&&(Du(A),g="OpenType");break;default:throw new re("Font ".concat(g," is not supported"))}}catch(e){return q(e),void this.fallbackToSystemFont(A)}Su(A),this.data=h,this.type=g,this.subtype=u,this.fontMatrix=A.fontMatrix,this.widths=A.widths,this.defaultWidth=A.defaultWidth,this.toUnicode=A.toUnicode,this.seacMap=A.seacMap}else for(var C=0;C<256;C++)this.toFontChar[C]=this.differences[C]||A.defaultEncoding[C]}),[{key:"renderer",get:function(){return _(this,"renderer",Qg.create(this,dc))}},{key:"exportData",value:function(){var e,t,r,A=arguments.length>0&&void 0!==arguments[0]&&arguments[0]?[].concat(bu,ku):bu,n=Object.create(null),i=yu(A);try{for(i.s();!(r=i.n()).done;)void 0!==(t=this[e=r.value])&&(n[e]=t)}catch(e){i.e(e)}finally{i.f()}return n}},{key:"fallbackToSystemFont",value:function(e){var t=this;this.missingFile=!0;var r=this.name,A=this.type,n=mc(r),i=bc(),a=Dc(),o=!!i[n],s=!(!a[n]||!i[a[n]]);n=i[n]||a[n]||n;var c=dg()[n];c&&(isNaN(this.ascent)&&(this.ascent=c.ascent/wu),isNaN(this.descent)&&(this.descent=c.descent/wu),isNaN(this.capHeight)&&(this.capHeight=c.capHeight/wu)),this.bold=/bold/gi.test(n),this.italic=/oblique|italic/gi.test(n),this.black=/Black/g.test(r);var g=/Narrow/g.test(r);if(this.remeasure=(!o||g)&&Object.keys(this.widths).length>0,(o||s)&&"CIDFontType2"===A&&this.cidEncoding.startsWith("Identity-")){var u=e.cidToGidMap,l=[];if(Mu(l,xc()),/Arial-?Black/i.test(r)?Mu(l,Rc()):/Calibri/i.test(r)&&Mu(l,Gc()),u){for(var h in l){var I=l[h];void 0!==u[I]&&(l[+h]=u[I])}u.length!==this.toUnicode.length&&e.hasIncludedToUnicodeMap&&this.toUnicode instanceof Pc&&this.toUnicode.forEach((function(e,t){var r=l[e];void 0===u[r]&&(l[+e]=t)}))}this.toUnicode instanceof Pc||this.toUnicode.forEach((function(e,t){l[+e]=t})),this.toFontChar=l,this.toUnicode=new Yc(l)}else if(/Symbol/i.test(n))this.toFontChar=Ju(Fs,lc(),this.differences);else if(/Dingbats/i.test(n))this.toFontChar=Ju(xs,hc(),this.differences);else if(o||s){var f=Ju(this.defaultEncoding,lc(),this.differences);"CIDFontType2"!==A||this.cidEncoding.startsWith("Identity-")||this.toUnicode instanceof Pc||this.toUnicode.forEach((function(e,t){f[+e]=t})),this.toFontChar=f}else{var C=lc(),B=[];this.toUnicode.forEach((function(e,r){if(!t.composite){var A=fc(t.differences[e]||t.defaultEncoding[e],C);-1!==A&&(r=A)}B[+e]=r})),this.composite&&this.toUnicode instanceof Pc&&/Tahoma|Verdana/i.test(r)&&Mu(B,xc()),this.toFontChar=B}Su(e),this.loadedName=n.split("-",1)[0]}},{key:"checkAndRepair",value:function(e,t,r){var A,n,i=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function a(e,t){var r=Object.create(null);r["OS/2"]=null,r.cmap=null,r.head=null,r.hhea=null,r.hmtx=null,r.maxp=null,r.name=null,r.post=null;for(var A=0;A<t;A++){var n=o(e);i.includes(n.tag)&&0!==n.length&&(r[n.tag]=n)}return r}function o(e){var t=e.getString(4),r=e.getInt32()>>>0,A=e.getInt32()>>>0,n=e.getInt32()>>>0,i=e.pos;e.pos=e.start||0,e.skip(A);var a=e.getBytes(n);return e.pos=i,"head"===t&&(a[8]=a[9]=a[10]=a[11]=0,a[17]|=32),{tag:t,checksum:r,length:n,offset:A,data:a}}function s(e){return{version:e.getString(4),numTables:e.getUint16(),searchRange:e.getUint16(),entrySelector:e.getUint16(),rangeShift:e.getUint16()}}function c(e,t,r,A,n,i){var a={length:0,sizeOfInstructions:0};if(t<0||t>=e.length||r>e.length||r-t<=12)return a;var o=e.subarray(t,r),s=Gu(o[2],o[3]),c=Gu(o[4],o[5]),g=Gu(o[6],o[7]),u=Gu(o[8],o[9]);s>g&&(Ru(o,2,g),Ru(o,6,s)),c>u&&(Ru(o,4,u),Ru(o,8,c));var l=Gu(o[0],o[1]);if(l<0)return l<-1||(A.set(o,n),a.length=o.length),a;var h,I=10,f=0;for(h=0;h<l;h++)f=1+(o[I]<<8|o[I+1]),I+=2;var C=I,B=o[I]<<8|o[I+1];a.sizeOfInstructions=B;var Q=I+=2+B,E=0;for(h=0;h<f;h++){var d=o[I++];192&d&&(o[I-1]=63&d);var y=2;2&d?y=1:16&d&&(y=0);var p=2;4&d?p=1:32&d&&(p=0);var v=y+p;if(E+=v,8&d){var m=o[I++];0===m&&(o[I-1]^=8),h+=m,E+=m*v}}if(0===E)return a;var w=I+E;return w>o.length?a:!i&&B>0?(A.set(o.subarray(0,C),n),A.set([0,0],n+C),A.set(o.subarray(Q,w),n+C+2),w-=B,o.length-w>3&&(w=w+3&-4),a.length=w,a):o.length-w>3?(w=w+3&-4,A.set(o.subarray(0,w),n),a.length=w,a):(A.set(o,n),a.length=o.length,a)}function g(e){var r=(t.start||0)+e.offset;t.pos=r;var A=[[],[]],n=[],i=e.length,a=r+i;if(0!==t.getUint16()||i<6)return[A,n];var o,s,c=t.getUint16(),g=t.getUint16();for(o=0;o<c&&t.pos+12<=a;o++){var u={platform:t.getUint16(),encoding:t.getUint16(),language:t.getUint16(),name:t.getUint16(),length:t.getUint16(),offset:t.getUint16()};(Hu(u)||Yu(u))&&n.push(u)}for(o=0,s=n.length;o<s;o++){var l=n[o];if(!(l.length<=0)){var h=r+g+l.offset;if(!(h+l.length>a)){t.pos=h;var I=l.name;if(l.encoding){for(var f="",C=0,B=l.length;C<B;C+=2)f+=String.fromCharCode(t.getUint16());A[1][I]=f}else A[0][I]=t.getString(l.length)}}}return[A,n]}var u,l,h,I,f=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];function C(e,t){for(var r,A,n,i,a,o=e.data,s=0,c=0,g=0,u=[],l=[],h=[],I=t.tooComplexToFollowFunctions,C=!1,B=0,Q=0,E=o.length;s<E;){var d=o[s++];if(64===d)if(A=o[s++],C||Q)s+=A;else for(r=0;r<A;r++)u.push(o[s++]);else if(65===d)if(A=o[s++],C||Q)s+=2*A;else for(r=0;r<A;r++)n=o[s++],u.push(n<<8|o[s++]);else if(176==(248&d))if(A=d-176+1,C||Q)s+=A;else for(r=0;r<A;r++)u.push(o[s++]);else if(184==(248&d))if(A=d-184+1,C||Q)s+=2*A;else for(r=0;r<A;r++)n=o[s++],u.push(Gu(n,o[s++]));else if(43!==d||I)if(44!==d||I){if(45===d)if(C)C=!1,c=s;else{if(!(a=l.pop()))return q("TT: ENDF bad stack"),void(t.hintsValid=!1);i=h.pop(),o=a.data,s=a.i,t.functionsStackDeltas[i]=u.length-a.stackTop}else if(137===d)(C||Q)&&(q("TT: nested IDEFs not allowed"),I=!0),C=!0,g=s;else if(88===d)++B;else if(27===d)Q=B;else if(89===d)Q===B&&(Q=0),--B;else if(28===d&&!C&&!Q){var y=u.at(-1);y>0&&(s+=y-1)}}else(C||Q)&&(q("TT: nested FDEFs not allowed"),I=!0),C=!0,g=s,i=u.pop(),t.functionsDefined[i]={data:o,i:s};else if(!C&&!Q)if(i=u.at(-1),isNaN(i))T("TT: CALL empty stack (or invalid entry).");else if(t.functionsUsed[i]=!0,i in t.functionsStackDeltas){var p=u.length+t.functionsStackDeltas[i];if(p<0)return q("TT: CALL invalid functions stack delta."),void(t.hintsValid=!1);u.length=p}else if(i in t.functionsDefined&&!h.includes(i)){if(l.push({data:o,i:s,stackTop:u.length-1}),h.push(i),!(a=t.functionsDefined[i]))return q("TT: CALL non-existent function"),void(t.hintsValid=!1);o=a.data,s=a.i}if(!C&&!Q){var v=0;for(d<=142?v=f[d]:d>=192&&d<=223?v=-1:d>=224&&(v=-2),d>=113&&d<=117&&(A=u.pop(),isNaN(A)||(v=2*-A));v<0&&u.length>0;)u.pop(),v++;for(;v>0;)u.push(NaN),v--}}t.tooComplexToFollowFunctions=I;var m=[o];s>o.length&&m.push(new Uint8Array(s-o.length)),g>c&&(q("TT: complementing a missing function tail"),m.push(new Uint8Array([34,45]))),function(e,t){if(t.length>1){var r,A,n=0;for(r=0,A=t.length;r<A;r++)n+=t[r].length;n=n+3&-4;var i=new Uint8Array(n),a=0;for(r=0,A=t.length;r<A;r++)i.set(t[r],a),a+=t[r].length;e.data=i,e.length=n}}(e,m)}if(Uu(t=new ar(new Uint8Array(t.getBytes())))){var B=function(e,t){for(var r,A=function(e){var t=e.getString(4);W("ttcf"===t,"Must be a TrueType Collection font.");for(var r=e.getUint16(),A=e.getUint16(),n=e.getInt32()>>>0,i=[],a=0;a<n;a++)i.push(e.getInt32()>>>0);var o={ttcTag:t,majorVersion:r,minorVersion:A,numFonts:n,offsetTable:i};switch(r){case 1:return o;case 2:return o.dsigTag=e.getInt32()>>>0,o.dsigLength=e.getInt32()>>>0,o.dsigOffset=e.getInt32()>>>0,o}throw new re("Invalid TrueType Collection majorVersion: ".concat(r,"."))}(e),n=A.numFonts,i=A.offsetTable,o=t.split("+"),c=0;c<n;c++){e.pos=(e.start||0)+i[c];var u=s(e),l=a(e,u.numTables);if(!l.name)throw new re('TrueType Collection font must contain a "name" table.');for(var h=Cu(g(l.name),1)[0],I=0,f=h.length;I<f;I++)for(var C=0,B=h[I].length;C<B;C++){var Q,E=null===(Q=h[I][C])||void 0===Q?void 0:Q.replaceAll(/\\s/g,"");if(E){if(E===t)return{header:u,tables:l};if(!(o.length<2)){var d,y=yu(o);try{for(y.s();!(d=y.n()).done;){var p=d.value;E===p&&(r={name:p,header:u,tables:l})}}catch(e){y.e(e)}finally{y.f()}}}}}if(r)return q('TrueType Collection does not contain "'.concat(t,'" font, ')+'falling back to "'.concat(r.name,'" font instead.')),{header:r.header,tables:r.tables};throw new re('TrueType Collection does not contain "'.concat(t,'" font.'))}(t,this.name);u=B.header,l=B.tables}else u=s(t),l=a(t,u.numTables);var Q=!l["CFF "];if(Q){if(!l.loca)throw new re('Required "loca" table is not found');l.glyf||(q('Required "glyf" table is not found -- trying to recover.'),l.glyf={tag:"glyf",data:new Uint8Array(0)}),this.isOpenType=!1}else{var E,d=r.composite&&((null===(E=r.cidToGidMap)||void 0===E?void 0:E.length)>0||!(r.cMap instanceof ns));if("OTTO"===u.version&&!d||!l.head||!l.hhea||!l.maxp||!l.post)return I=new ar(l["CFF "].data),h=new Tc(I,r),Du(r),this.convert(e,h,r);delete l.glyf,delete l.loca,delete l.fpgm,delete l.prep,delete l["cvt "],this.isOpenType=!0}if(!l.maxp)throw new re('Required "maxp" table is not found');t.pos=(t.start||0)+l.maxp.offset;var y,p,v=t.getInt32(),m=t.getUint16();if(65536!==v&&20480!==v){if(6===l.maxp.length)v=20480;else{if(!(l.maxp.length>=32))throw new re('"maxp" table has a wrong version number');v=65536}p=v,(y=l.maxp.data)[3+0]=255&p,y[2]=p>>>8,y[1]=p>>>16,y[0]=p>>>24}if((null===(A=r.scaleFactors)||void 0===A?void 0:A.length)===m&&Q){var w=r.scaleFactors,b=xu(l.head.data[50],l.head.data[51]),k=new Sg({glyfTable:l.glyf.data,isGlyphLocationsLong:b,locaTable:l.loca.data,numGlyphs:m});k.scale(w);var D=k.write(),S=D.glyf,F=D.loca,x=D.isLocationLong;l.glyf.data=S,l.loca.data=F,x!==!!b&&(l.head.data[50]=0,l.head.data[51]=x?1:0);for(var R=l.hmtx.data,G=0;G<m;G++){var N=4*G,L=Math.round(w[G]*xu(R[N],R[N+1]));R[N]=L>>8&255,R[N+1]=255&L,Ru(R,N+2,Math.round(w[G]*Gu(R[N+2],R[N+3])))}}var U=m+1,M=!0;U>65535&&(M=!1,U=m,q("Not enough space in glyfs to duplicate first glyph."));var J=0,H=0;v>=65536&&l.maxp.length>=32&&(t.pos+=8,t.getUint16()>2&&(l.maxp.data[14]=0,l.maxp.data[15]=2),t.pos+=4,J=t.getUint16(),t.pos+=4,H=t.getUint16()),l.maxp.data[4]=U>>8,l.maxp.data[5]=255&U;var Y=function(e,t,r,A){var n={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(e&&C(e,n),t&&C(t,n),e&&function(e,t){if(!e.tooComplexToFollowFunctions){if(e.functionsDefined.length>t)return q("TT: more functions defined than expected"),void(e.hintsValid=!1);for(var r=0,A=e.functionsUsed.length;r<A;r++){if(r>t)return q("TT: invalid function id: "+r),void(e.hintsValid=!1);if(e.functionsUsed[r]&&!e.functionsDefined[r])return q("TT: undefined function: "+r),void(e.hintsValid=!1)}}}(n,A),r&&1&r.length){var i=new Uint8Array(r.length+1);i.set(r.data),r.data=i}return n.hintsValid}(l.fpgm,l.prep,l["cvt "],J);if(Y||(delete l.fpgm,delete l.prep,delete l["cvt "]),function(e,t,r,A,n,i){if(t){e.pos=(e.start||0)+t.offset,e.pos+=4,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2;var a=e.getUint16();e.pos+=8,e.pos+=2;var o=e.getUint16();0!==a&&(2&xu(A.data[44],A.data[45])||(t.data[22]=0,t.data[23]=0)),o>n&&(T("The numOfMetrics (".concat(o,") should not be ")+"greater than the numGlyphs (".concat(n,").")),o=n,t.data[34]=(65280&o)>>8,t.data[35]=255&o);var s=n-o-(r.length-4*o>>1);if(s>0){var c=new Uint8Array(r.length+2*s);c.set(r.data),i&&(c[r.length]=r.data[2],c[r.length+1]=r.data[3]),r.data=c}}else r&&(r.data=null)}(t,l.hhea,l.hmtx,l.head,U,M),!l.head)throw new re('Required "head" table is not found');!function(e,t,r){var A=e.data,n=(A[0]<<24)+(A[1]<<16)+(A[2]<<8)+A[3];n>>16!=1&&(T("Attempting to fix invalid version in head table: "+n),A[0]=0,A[1]=1,A[2]=0,A[3]=0);var i=xu(A[50],A[51]);if(i<0||i>1){T("Attempting to fix invalid indexToLocFormat in head table: "+i);var a=t+1;if(r===a<<1)A[50]=0,A[51]=0;else{if(r!==a<<2)throw new re("Could not fix indexToLocFormat: "+i);A[50]=0,A[51]=1}}}(l.head,m,Q?l.loca.length:0);var P=Object.create(null);if(Q){var O=xu(l.head.data[50],l.head.data[51]),K=function(e,t,r,A,n,i,a){var o,s,g;A?(o=4,s=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]},g=function(e,t,r){e[t]=r>>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}):(o=2,s=function(e,t){return e[t]<<9|e[t+1]<<1},g=function(e,t,r){e[t]=r>>9&255,e[t+1]=r>>1&255});var u=i?r+1:r,l=o*(1+u),h=new Uint8Array(l);h.set(e.data.subarray(0,l)),e.data=h;var I,f,C=t.data,B=C.length,Q=new Uint8Array(B),E=[];for(I=0,f=0;I<r+1;I++,f+=o){var d=s(h,f);d>B&&(d=B),E.push({index:I,offset:d,endOffset:0})}for(E.sort((function(e,t){return e.offset-t.offset})),I=0;I<r;I++)E[I].endOffset=E[I+1].offset;for(E.sort((function(e,t){return e.index-t.index})),I=0;I<r;I++){var y=E[I],p=y.offset,v=y.endOffset;if(0!==p||0!==v)break;var m=E[I+1].offset;if(0!==m){E[I].endOffset=m;break}}var w=E.at(-2);0!==w.offset&&0===w.endOffset&&(w.endOffset=B);var b=Object.create(null),k=0;for(g(h,0,k),I=0,f=o;I<r;I++,f+=o){var D=c(C,E[I].offset,E[I].endOffset,Q,k,n),S=D.length;0===S&&(b[I]=!0),D.sizeOfInstructions>a&&(a=D.sizeOfInstructions),g(h,f,k+=S)}if(0===k){var F=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(I=0,f=o;I<u;I++,f+=o)g(h,f,F.length);t.data=F}else if(i){var x=s(h,o);Q.length>x+k?t.data=Q.subarray(0,x+k):(t.data=new Uint8Array(x+k),t.data.set(Q.subarray(0,k))),t.data.set(Q.subarray(0,x),k),g(e.data,h.length-o,k+x)}else t.data=Q.subarray(0,k);return{missingGlyphs:b,maxSizeOfInstructions:a}}(l.loca,l.glyf,m,O,Y,M,H);P=K.missingGlyphs,v>=65536&&l.maxp.length>=32&&(l.maxp.data[26]=K.maxSizeOfInstructions>>8,l.maxp.data[27]=255&K.maxSizeOfInstructions)}if(!l.hhea)throw new re('Required "hhea" table is not found');0===l.hhea.data[10]&&0===l.hhea.data[11]&&(l.hhea.data[10]=255,l.hhea.data[11]=255);var j={unitsPerEm:xu(l.head.data[18],l.head.data[19]),yMax:Gu(l.head.data[42],l.head.data[43]),yMin:Gu(l.head.data[38],l.head.data[39]),ascent:Gu(l.hhea.data[4],l.hhea.data[5]),descent:Gu(l.hhea.data[6],l.hhea.data[7]),lineGap:Gu(l.hhea.data[8],l.hhea.data[9])};this.ascent=j.ascent/j.unitsPerEm,this.descent=j.descent/j.unitsPerEm,this.lineGap=j.lineGap/j.unitsPerEm,null!==(n=this.cssFontInfo)&&void 0!==n&&n.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,l.post&&function(e,r,A){var n=(t.start||0)+e.offset;t.pos=n;var i,a=n+e.length,o=t.getInt32();t.skip(28);var s,c=!0;switch(o){case 65536:i=yc;break;case 131072:var g=t.getUint16();if(g!==A){c=!1;break}var u=[];for(s=0;s<g;++s){var l=t.getUint16();if(l>=32768){c=!1;break}u.push(l)}if(!c)break;for(var h=[],I=[];t.pos<a;){var f=t.getByte();for(I.length=f,s=0;s<f;++s)I[s]=String.fromCharCode(t.getByte());h.push(I.join(""))}for(i=[],s=0;s<g;++s){var C=u[s];C<258?i.push(yc[C]):i.push(h[C-258])}break;case 196608:break;default:q("Unknown/unsupported post table version "+o),c=!1,r.defaultEncoding&&(i=r.defaultEncoding)}r.glyphNames=i}(l.post,r,m),l.post={tag:"post",data:qu(r)};var Z=Object.create(null);function _(e){return!P[e]}if(r.composite){var X=r.cidToGidMap||[],V=0===X.length;r.cMap.forEach((function(e,t){if("string"==typeof t&&(t=Pu(e,t,!0)),t>65535)throw new re("Max size of CID is 65,535");var r=-1;V?r=t:void 0!==X[t]&&(r=X[t]),r>=0&&r<m&&_(r)&&(Z[e]=r)}))}else{var z=function(e,t,r,A){if(!e)return q("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var n,i=(t.start||0)+e.offset;t.pos=i,t.skip(2);for(var a,o=t.getUint16(),s=!1,c=0;c<o;c++){var g,u,l=t.getUint16(),h=t.getUint16(),I=t.getInt32()>>>0,f=!1;if((null===(g=a)||void 0===g?void 0:g.platformId)!==l||(null===(u=a)||void 0===u?void 0:u.encodingId)!==h){if(0!==l||0!==h&&1!==h&&3!==h)if(1===l&&0===h)f=!0;else if(3!==l||1!==h||!A&&a){if(r&&3===l&&0===h){f=!0;var C=!0;if(c<o-1){var B=t.peekBytes(2);xu(B[0],B[1])<l&&(C=!1)}C&&(s=!0)}}else f=!0,r||(s=!0);else f=!0;if(f&&(a={platformId:l,encodingId:h,offset:I}),s)break}}if(a&&(t.pos=i+a.offset),!a||-1===t.peekByte())return q("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var Q,E,d=t.getUint16(),y=!1,p=[];if(0===d){for(t.skip(4),Q=0;Q<256;Q++){var v=t.getByte();v&&p.push({charCode:Q,glyphId:v})}y=!0}else if(2===d){t.skip(4);for(var m=[],w=0,b=0;b<256;b++){var k=t.getUint16()>>3;m.push(k),w=Math.max(k,w)}for(var D=[],S=0;S<=w;S++)D.push({firstCode:t.getUint16(),entryCount:t.getUint16(),idDelta:Gu(t.getByte(),t.getByte()),idRangePos:t.pos+t.getUint16()});for(var F=0;F<256;F++)if(0===m[F])t.pos=D[0].idRangePos+2*F,E=t.getUint16(),p.push({charCode:F,glyphId:E});else{var x=D[m[F]];for(Q=0;Q<x.entryCount;Q++){var R=(F<<8)+Q+x.firstCode;t.pos=x.idRangePos+2*Q,0!==(E=t.getUint16())&&(E=(E+x.idDelta)%65536),p.push({charCode:R,glyphId:E})}}}else if(4===d){t.skip(4);var G=t.getUint16()>>1;t.skip(6);var N,L=[];for(N=0;N<G;N++)L.push({end:t.getUint16()});for(t.skip(2),N=0;N<G;N++)L[N].start=t.getUint16();for(N=0;N<G;N++)L[N].delta=t.getUint16();var U,M=0;for(N=0;N<G;N++){n=L[N];var J=t.getUint16();J?(U=(J>>1)-(G-N),n.offsetIndex=U,M=Math.max(M,U+n.end-n.start+1)):n.offsetIndex=-1}var H=[];for(Q=0;Q<M;Q++)H.push(t.getUint16());for(N=0;N<G;N++){i=(n=L[N]).start;var Y=n.end,P=n.delta;for(U=n.offsetIndex,Q=i;Q<=Y;Q++)65535!==Q&&(E=(E=U<0?Q:H[U+Q-i])+P&65535,p.push({charCode:Q,glyphId:E}))}}else if(6===d){t.skip(4);var O=t.getUint16(),K=t.getUint16();for(Q=0;Q<K;Q++){E=t.getUint16();var T=O+Q;p.push({charCode:T,glyphId:E})}}else{if(12!==d)return q("cmap table has unsupported format: "+d),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};t.skip(10);var j=t.getInt32()>>>0;for(Q=0;Q<j;Q++)for(var W=t.getInt32()>>>0,Z=t.getInt32()>>>0,_=t.getInt32()>>>0,X=W;X<=Z;X++)p.push({charCode:X,glyphId:_++})}p.sort((function(e,t){return e.charCode-t.charCode}));for(var V=1;V<p.length;V++)p[V-1].charCode===p[V].charCode&&(p.splice(V,1),V--);return{platformId:a.platformId,encodingId:a.encodingId,mappings:p,hasShortCmap:y}}(l.cmap,t,this.isSymbolicFont,r.hasEncoding),$=z.platformId,ee=z.encodingId,te=z.mappings,Ae=[],ne=!1;if(!r.hasEncoding||"MacRomanEncoding"!==r.baseEncodingName&&"WinAnsiEncoding"!==r.baseEncodingName||(Ae=Rs(r.baseEncodingName)),r.hasEncoding&&!this.isSymbolicFont&&(3===$&&1===ee||1===$&&0===ee))for(var ie=lc(),ae=0;ae<256;ae++){var oe;if(oe=void 0!==this.differences[ae]?this.differences[ae]:Ae.length&&""!==Ae[ae]?Ae[ae]:Ds[ae]){var se=pc(oe,ie),ce=void 0;if(3===$&&1===ee?ce=ie[se]:1===$&&0===ee&&(ce=ks.indexOf(se)),void 0===ce){if(!r.glyphNames&&r.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof Pc)){var ge=this.toUnicode.get(ae);ge&&(ce=ge.codePointAt(0))}if(void 0===ce)continue}var ue,le=yu(te);try{for(le.s();!(ue=le.n()).done;){var he=ue.value;if(he.charCode===ce){Z[ae]=he.glyphId;break}}}catch(e){le.e(e)}finally{le.f()}}}else if(0===$){var Ie,fe=yu(te);try{for(fe.s();!(Ie=fe.n()).done;){var Ce=Ie.value;Z[Ce.charCode]=Ce.glyphId}}catch(e){fe.e(e)}finally{fe.f()}ne=!0}else if(3===$&&0===ee){var Be,Qe=yu(te);try{for(Qe.s();!(Be=Qe.n()).done;){var Ee=Be.value,de=Ee.charCode;de>=61440&&de<=61695&&(de&=255),Z[de]=Ee.glyphId}}catch(e){Qe.e(e)}finally{Qe.f()}}else{var ye,pe=yu(te);try{for(pe.s();!(ye=pe.n()).done;){var ve=ye.value;Z[ve.charCode]=ve.glyphId}}catch(e){pe.e(e)}finally{pe.f()}}if(r.glyphNames&&(Ae.length||this.differences.length))for(var me=0;me<256;++me)if(ne||void 0===Z[me]){var we=this.differences[me]||Ae[me];if(we){var be=r.glyphNames.indexOf(we);be>0&&_(be)&&(Z[me]=be)}}}0===Z.length&&(Z[0]=0);var ke=U-1;if(M||(ke=0),!r.cssFontInfo){var De=Ou(Z,_,ke,this.toUnicode);this.toFontChar=De.toFontChar,l.cmap={tag:"cmap",data:Ku(De.charCodeToGlyphId,De.toUnicodeExtraMap,U)},l["OS/2"]&&function(e,t){t.pos=(t.start||0)+e.offset;var r=t.getUint16();t.skip(60);var A=t.getUint16();return!(r<4&&768&A||t.getUint16()>t.getUint16()||(t.skip(6),0===t.getUint16()||(e.data[8]=e.data[9]=0,0)))}(l["OS/2"],t)||(l["OS/2"]={tag:"OS/2",data:Tu(r,De.charCodeToGlyphId,j)})}if(!Q)try{I=new ar(l["CFF "].data),(h=new Xs(I,r,dc).parse()).duplicateFirstGlyph();var Se=new uc(h);l["CFF "].data=Se.compile()}catch(e){q("Failed to compile font "+r.loadedName)}if(l.name){var Fe=Cu(g(l.name),2),xe=Fe[0],Re=Fe[1];l.name.data=Wu(e,xe),this.psName=xe[0][6]||null,r.composite||function(e,t,r){if(!e.isInternalFont&&!e.hasIncludedToUnicodeMap&&!e.hasEncoding&&!(e.toUnicode instanceof Pc)&&t&&0!==r.length&&e.defaultEncoding!==Ss){var A,n=yu(r);try{for(n.s();!(A=n.n()).done;)if(!Yu(A.value))return}catch(e){n.e(e)}finally{n.f()}var i=Ss,a=[],o=lc();for(var s in i){var c=i[s];if(""!==c){var g=o[c];void 0!==g&&(a[s]=String.fromCharCode(g))}}a.length>0&&e.toUnicode.amend(a)}}(r,this.isSymbolicFont,Re)}else l.name={tag:"name",data:Wu(this.name)};var Ge=new Pg(u.version);for(var Ne in l)Ge.addTable(Ne,l[Ne].data);return Ge.toArray()}},{key:"convert",value:function(e,t,r){r.fixedPitch=!1,r.builtInEncoding&&function(e,t){if(!e.isInternalFont&&!(e.hasIncludedToUnicodeMap||t===e.defaultEncoding||e.toUnicode instanceof Pc)){var r=[],A=lc();for(var n in t)if(!e.hasEncoding||!e.baseEncodingName&&void 0===e.differences[n]){var i=fc(t[n],A);-1!==i&&(r[n]=String.fromCharCode(i))}r.length>0&&e.toUnicode.amend(r)}}(r,r.builtInEncoding);var A=1;t instanceof Tc&&(A=t.numGlyphs-1);var n=t.getGlyphMapping(r),i=null,a=n,o=null;r.cssFontInfo||(i=Ou(n,t.hasGlyphId.bind(t),A,this.toUnicode),this.toFontChar=i.toFontChar,a=i.charCodeToGlyphId,o=i.toUnicodeExtraMap);var s=t.numGlyphs;function c(e,t){var r=null;for(var A in e)t===e[A]&&(r||(r=[])).push(0|A);return r}function g(e,t){for(var r in e)if(t===e[r])return 0|r;return i.charCodeToGlyphId[i.nextAvailableFontCharCode]=t,i.nextAvailableFontCharCode++}var u=t.seacs;if(i&&null!=u&&u.length){var l=r.fontMatrix||B,h=t.getCharset(),I=Object.create(null);for(var f in u){var C=u[f|=0],Q=Ds[C[2]],E=Ds[C[3]],d=h.indexOf(Q),y=h.indexOf(E);if(!(d<0||y<0)){var p={x:C[0]*l[0]+C[1]*l[2]+l[4],y:C[0]*l[1]+C[1]*l[3]+l[5]},v=c(n,f);if(v){var m,w=yu(v);try{for(w.s();!(m=w.n()).done;){var b=m.value,k=i.charCodeToGlyphId,D=g(k,d),S=g(k,y);I[b]={baseFontCharCode:D,accentFontCharCode:S,accentOffset:p}}}catch(e){w.e(e)}finally{w.f()}}}}r.seacMap=I}var F=r.fontMatrix?1/Math.max.apply(Math,fu(r.fontMatrix.slice(0,4).map(Math.abs))):1e3,x=new Pg("OTTO");return x.addTable("CFF ",t.data),x.addTable("OS/2",Tu(r,a)),x.addTable("cmap",Ku(a,o,s)),x.addTable("head","\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0_<õ\\0\\0"+Lu(F)+"\\0\\0\\0\\0ž\\v~'\\0\\0\\0\\0ž\\v~'\\0\\0"+Lu(r.descent)+"ÿ"+Lu(r.ascent)+Nu(r.italicAngle?2:0)+"\\0\\0\\0\\0\\0\\0\\0"),x.addTable("hhea","\\0\\0\\0"+Lu(r.ascent)+Lu(r.descent)+"\\0\\0ÿÿ\\0\\0\\0\\0\\0\\0"+Lu(r.capHeight)+Lu(Math.tan(r.italicAngle)*r.xHeight)+"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0"+Nu(s)),x.addTable("hmtx",function(){for(var e=t.charstrings,r=t.cff?t.cff.widths:null,A="\\0\\0\\0\\0",n=1,i=s;n<i;n++){var a=0;if(e){var o=e[n-1];a="width"in o?o.width:0}else r&&(a=Math.ceil(r[n]||0));A+=Nu(a)+Nu(0)}return A}()),x.addTable("maxp","\\0\\0P\\0"+Nu(s)),x.addTable("name",Wu(e)),x.addTable("post",qu(r)),x.toArray()}},{key:"_spaceWidth",get:function(){for(var e,t=0,r=["space","minus","one","i","I"];t<r.length;t++){var A=r[t];if(A in this.widths){e=this.widths[A];break}var n=lc()[A],i=0;if(this.composite&&this.cMap.contains(n)&&"string"==typeof(i=this.cMap.lookup(n))&&(i=Pu(n,i)),!i&&this.toUnicode&&(i=this.toUnicode.charCodeOf(n)),i<=0&&(i=n),e=this.widths[i])break}return _(this,"_spaceWidth",e||this.defaultWidth)}},{key:"_charToGlyph",value:function(e){var t,r,A,n,i,a,o,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=this._glyphCache[e];if((null===(t=c)||void 0===t?void 0:t.isSpace)===s)return c;var g=e;null!==(r=this.cMap)&&void 0!==r&&r.contains(e)&&"string"==typeof(g=this.cMap.lookup(e))&&(g=Pu(e,g)),"number"!=typeof(a=this.widths[g])&&(a=this.defaultWidth);var u=null===(A=this.vmetrics)||void 0===A?void 0:A[g],l=this.toUnicode.get(e)||e;"number"==typeof l&&(l=String.fromCharCode(l));var h,I=void 0!==this.toFontChar[e];if(i=this.toFontChar[e]||e,this.missingFile){var f=this.differences[e]||this.defaultEncoding[e];".notdef"!==f&&""!==f||"Type1"!==this.type||(i=32,""===f&&(a||(a=this._spaceWidth),l=String.fromCharCode(i))),i=(h=i)>=65520&&h<=65535?0:h>=62976&&h<=63743?Ic()[h]||h:173===h?45:h}this.isType3Font&&(o=i);var C=null;if(null!==(n=this.seacMap)&&void 0!==n&&n[e]){I=!0;var B=this.seacMap[e];i=B.baseFontCharCode,C={fontChar:String.fromCodePoint(B.accentFontCharCode),offset:B.accentOffset}}var Q="";if("number"==typeof i&&(i<=1114111?Q=String.fromCodePoint(i):q("charToGlyph - invalid fontCharCode: ".concat(i))),this.missingFile&&this.vertical&&1===Q.length){var E=wc()[Q.charCodeAt(0)];E&&(Q=l=String.fromCharCode(E))}return c=new Fu(e,Q,l,C,a,u,o,s,I),this._glyphCache[e]=c}},{key:"charsToGlyphs",value:function(e){var t=this._charsCache[e];if(t)return t;if(t=[],this.cMap)for(var r=Object.create(null),A=e.length,n=0;n<A;){this.cMap.readCharCode(e,n,r);var i=r.charcode,a=r.length;n+=a;var o=this._charToGlyph(i,1===a&&32===e.charCodeAt(n-1));t.push(o)}else for(var s=0,c=e.length;s<c;++s){var g=e.charCodeAt(s),u=this._charToGlyph(g,32===g);t.push(u)}return this._charsCache[e]=t}},{key:"getCharPositions",value:function(e){var t=[];if(this.cMap)for(var r=Object.create(null),A=0;A<e.length;){this.cMap.readCharCode(e,A,r);var n=r.length;t.push([A,A+n]),A+=n}else for(var i=0,a=e.length;i<a;++i)t.push([i,i+1]);return t}},{key:"glyphCacheValues",get:function(){return Object.values(this._glyphCache)}},{key:"encodeString",value:function(e){for(var t=this,r=[],A=[],n=function(){return r.length%2==1},i=this.toUnicode instanceof Pc?function(e){return t.toUnicode.charCodeOf(e)}:function(e){return t.toUnicode.charCodeOf(String.fromCodePoint(e))},a=0,o=e.length;a<o;a++){var s=e.codePointAt(a);if(s>55295&&(s<57344||s>65533)&&a++,this.toUnicode){var c=i(s);if(-1!==c){n()&&(r.push(A.join("")),A.length=0);for(var g=(this.cMap?this.cMap.getCharCodeLength(c):1)-1;g>=0;g--)A.push(String.fromCharCode(c>>8*g&255));continue}}n()||(r.push(A.join("")),A.length=0),A.push(String.fromCodePoint(s))}return r.push(A.join("")),r}}])}(),_u=function(){return Eu((function e(t){Bu(this,e),this.error=t,this.loadedName="g_font_error",this.missingFile=!0}),[{key:"charsToGlyphs",value:function(){return[]}},{key:"encodeString",value:function(e){return[e]}},{key:"exportData",value:function(){return{error:this.error}}}])}();function Xu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Vu(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vu(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function zu(e,t,r){return t=tl(t),$u(e,el()?Reflect.construct(t,r||[],tl(e).constructor):t.apply(e,r))}function $u(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function el(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(el=function(){return!!e})()}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tl(e)}function rl(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Al(e,t)}function Al(e,t){return Al=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Al(e,t)}function nl(e,t,r){return(t=sl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function al(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,sl(A.key),A)}}function ol(e,t,r){return t&&al(e.prototype,t),r&&al(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function sl(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var cl=function(){return ol((function e(){il(this,e),j("Cannot initialize Pattern.")}),null,[{key:"parseShading",value:function(e,t,r,A,n){var i=e instanceof ze?e.dict:e,a=i.get("ShadingType");try{switch(a){case 2:case 3:return new ul(i,t,r,A,n);case 4:case 5:case 6:case 7:return new fl(e,t,r,A,n);default:throw new re("Unsupported ShadingType: "+a)}}catch(e){if(e instanceof Ct)throw e;return q(e),new Cl}}}])}(),gl=function(){return ol((function e(){il(this,e)}),[{key:"getIR",value:function(){j("Abstract method \`getIR\` called.")}}])}();nl(gl,"SMALL_NUMBER",1e-6);var ul=function(e){function t(e,r,A,n,i){var a;il(this,t),(a=zu(this,t)).shadingType=e.get("ShadingType");var o=0;if(2===a.shadingType?o=4:3===a.shadingType&&(o=6),a.coordsArr=e.getArray("Coords"),!St(a.coordsArr,o))throw new re("RadialAxialShading: Invalid /Coords array.");var s=Ur.parse({cs:e.getRaw("CS")||e.getRaw("ColorSpace"),xref:r,resources:A,pdfFunctionFactory:n,localColorSpaceCache:i});a.bbox=Rt(e.getArray("BBox"),null);var c=0,g=1,u=e.getArray("Domain");if(St(u,2)){var l=Xu(u,2);c=l[0],g=l[1]}var h,I=!1,f=!1,C=e.getArray("Extend");if(h=C,2,Array.isArray(h)&&2===h.length&&h.every((function(e){return"boolean"==typeof e}))){var B=Xu(C,2);I=B[0],f=B[1]}if(!(3!==a.shadingType||I&&f)){var Q=Xu(a.coordsArr,6),E=Q[0],d=Q[1],y=Q[2],p=Q[3],v=Q[4],m=Q[5],w=Math.hypot(E-p,d-v);y<=m+w&&m<=y+w&&q("Unsupported radial gradient.")}a.extendStart=I,a.extendEnd=f;var b=e.getRaw("Function"),k=n.createFromArray(b),D=(g-c)/840,S=a.colorStops=[];if(c>=g||D<=0)return T("Bad shading domain."),$u(a);var F,x=new Float32Array(s.numComps),R=new Float32Array(1),G=0;R[0]=c,k(R,0,x,0);var N=s.getRgb(x,0),L=ge.makeHexColor(N[0],N[1],N[2]);S.push([0,L]);var U=1;R[0]=c+D,k(R,0,x,0);for(var M=s.getRgb(x,0),J=M[0]-N[0]+1,H=M[1]-N[1]+1,Y=M[2]-N[2]+1,P=M[0]-N[0]-1,O=M[1]-N[1]-1,K=M[2]-N[2]-1,j=2;j<840;j++){R[0]=c+j*D,k(R,0,x,0),F=s.getRgb(x,0);var W=j-G;if(J=Math.min(J,(F[0]-N[0]+1)/W),H=Math.min(H,(F[1]-N[1]+1)/W),Y=Math.min(Y,(F[2]-N[2]+1)/W),P=Math.max(P,(F[0]-N[0]-1)/W),O=Math.max(O,(F[1]-N[1]-1)/W),K=Math.max(K,(F[2]-N[2]-1)/W),!(P<=J&&O<=H&&K<=Y)){var Z=ge.makeHexColor(M[0],M[1],M[2]);S.push([U/840,Z]),J=F[0]-M[0]+1,H=F[1]-M[1]+1,Y=F[2]-M[2]+1,P=F[0]-M[0]-1,O=F[1]-M[1]-1,K=F[2]-M[2]-1,G=U,N=M}U=j,M=F}var _=ge.makeHexColor(M[0],M[1],M[2]);S.push([1,_]);var X="transparent";return e.has("Background")&&(F=s.getRgb(e.get("Background"),0),X=ge.makeHexColor(F[0],F[1],F[2])),I||(S.unshift([0,X]),S[1][0]+=gl.SMALL_NUMBER),f||(S.at(-1)[0]-=gl.SMALL_NUMBER,S.push([1,X])),a.colorStops=S,a}return rl(t,gl),ol(t,[{key:"getIR",value:function(){var e,t,r,A,n,i=this.coordsArr,a=this.shadingType;return 2===a?(t=[i[0],i[1]],r=[i[2],i[3]],A=null,n=null,e="axial"):3===a?(t=[i[0],i[1]],r=[i[3],i[4]],A=i[2],n=i[5],e="radial"):j("getPattern type unknown: ".concat(a)),["RadialAxial",e,this.bbox,this.colorStops,t,r,A,n]}}])}(),ll=function(){return ol((function e(t,r){il(this,e),this.stream=t,this.context=r,this.buffer=0,this.bufferLength=0;var A=r.numComps;this.tmpCompsBuf=new Float32Array(A);var n=r.colorSpace.numComps;this.tmpCsCompsBuf=r.colorFn?new Float32Array(n):this.tmpCompsBuf}),[{key:"hasData",get:function(){if(this.stream.end)return this.stream.pos<this.stream.end;if(this.bufferLength>0)return!0;var e=this.stream.getByte();return!(e<0||(this.buffer=e,this.bufferLength=8,0))}},{key:"readBits",value:function(e){var t=this.buffer,r=this.bufferLength;if(32===e){if(0===r)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;t=t<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();var A=this.stream.getByte();return this.buffer=A&(1<<r)-1,(t<<8-r|(255&A)>>r)>>>0}if(8===e&&0===r)return this.stream.getByte();for(;r<e;)t=t<<8|this.stream.getByte(),r+=8;return r-=e,this.bufferLength=r,this.buffer=t&(1<<r)-1,t>>r}},{key:"align",value:function(){this.buffer=0,this.bufferLength=0}},{key:"readFlag",value:function(){return this.readBits(this.context.bitsPerFlag)}},{key:"readCoordinate",value:function(){var e=this.context.bitsPerCoordinate,t=this.readBits(e),r=this.readBits(e),A=this.context.decode,n=e<32?1/((1<<e)-1):2.3283064365386963e-10;return[t*n*(A[1]-A[0])+A[0],r*n*(A[3]-A[2])+A[2]]}},{key:"readComponents",value:function(){for(var e=this.context.numComps,t=this.context.bitsPerComponent,r=t<32?1/((1<<t)-1):2.3283064365386963e-10,A=this.context.decode,n=this.tmpCompsBuf,i=0,a=4;i<e;i++,a+=2){var o=this.readBits(t);n[i]=o*r*(A[a+1]-A[a])+A[a]}var s=this.tmpCsCompsBuf;return this.context.colorFn&&this.context.colorFn(n,0,s,0),this.context.colorSpace.getRgb(s,0)}}])}(),hl=Object.create(null);function Il(e){var t;return(t=hl)[e]||(t[e]=function(e){for(var t=[],r=0;r<=e;r++){var A=r/e,n=1-A;t.push(new Float32Array([Math.pow(n,3),3*A*Math.pow(n,2),3*Math.pow(A,2)*n,Math.pow(A,3)]))}return t}(e))}var fl=function(e){function t(e,r,A,n,i){var a;if(il(this,t),a=zu(this,t),!(e instanceof ze))throw new re("Mesh data is not a stream");var o=e.dict;a.shadingType=o.get("ShadingType"),a.bbox=Rt(o.getArray("BBox"),null);var s=Ur.parse({cs:o.getRaw("CS")||o.getRaw("ColorSpace"),xref:r,resources:A,pdfFunctionFactory:n,localColorSpaceCache:i});a.background=o.has("Background")?s.getRgb(o.get("Background"),0):null;var c=o.getRaw("Function"),g=c?n.createFromArray(c):null;a.coords=[],a.colors=[],a.figures=[];var u={bitsPerCoordinate:o.get("BitsPerCoordinate"),bitsPerComponent:o.get("BitsPerComponent"),bitsPerFlag:o.get("BitsPerFlag"),decode:o.getArray("Decode"),colorFn:g,colorSpace:s,numComps:g?1:s.numComps},l=new ll(e,u),h=!1;switch(a.shadingType){case 4:a._decodeType4Shading(l);break;case 5:var I=0|o.get("VerticesPerRow");if(I<2)throw new re("Invalid VerticesPerRow");a._decodeType5Shading(l,I);break;case 6:a._decodeType6Shading(l),h=!0;break;case 7:a._decodeType7Shading(l),h=!0;break;default:j("Unsupported mesh type.")}if(h){a._updateBounds();for(var f=0,C=a.figures.length;f<C;f++)a._buildFigureFromPatch(f)}return a._updateBounds(),a._packData(),a}return rl(t,gl),ol(t,[{key:"_decodeType4Shading",value:function(e){for(var t=this.coords,r=this.colors,A=[],n=[],i=0;e.hasData;){var a=e.readFlag(),o=e.readCoordinate(),s=e.readComponents();if(0===i){if(!(0<=a&&a<=2))throw new re("Unknown type4 flag");switch(a){case 0:i=3;break;case 1:n.push(n.at(-2),n.at(-1)),i=1;break;case 2:n.push(n.at(-3),n.at(-1)),i=1}A.push(a)}n.push(t.length),t.push(o),r.push(s),i--,e.align()}this.figures.push({type:"triangles",coords:new Int32Array(n),colors:new Int32Array(n)})}},{key:"_decodeType5Shading",value:function(e,t){for(var r=this.coords,A=this.colors,n=[];e.hasData;){var i=e.readCoordinate(),a=e.readComponents();n.push(r.length),r.push(i),A.push(a)}this.figures.push({type:"lattice",coords:new Int32Array(n),colors:new Int32Array(n),verticesPerRow:t})}},{key:"_decodeType6Shading",value:function(e){for(var t=this.coords,r=this.colors,A=new Int32Array(16),n=new Int32Array(4);e.hasData;){var i=e.readFlag();if(!(0<=i&&i<=3))throw new re("Unknown type6 flag");for(var a=t.length,o=0,s=0!==i?8:12;o<s;o++)t.push(e.readCoordinate());for(var c=r.length,g=0,u=0!==i?2:4;g<u;g++)r.push(e.readComponents());var l=void 0,h=void 0,I=void 0,f=void 0;switch(i){case 0:A[12]=a+3,A[13]=a+4,A[14]=a+5,A[15]=a+6,A[8]=a+2,A[11]=a+7,A[4]=a+1,A[7]=a+8,A[0]=a,A[1]=a+11,A[2]=a+10,A[3]=a+9,n[2]=c+1,n[3]=c+2,n[0]=c,n[1]=c+3;break;case 1:l=A[12],h=A[13],I=A[14],f=A[15],A[12]=f,A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=I,A[11]=a+3,A[4]=h,A[7]=a+4,A[0]=l,A[1]=a+7,A[2]=a+6,A[3]=a+5,l=n[2],h=n[3],n[2]=h,n[3]=c,n[0]=l,n[1]=c+1;break;case 2:l=A[15],h=A[11],A[12]=A[3],A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=A[7],A[11]=a+3,A[4]=h,A[7]=a+4,A[0]=l,A[1]=a+7,A[2]=a+6,A[3]=a+5,l=n[3],n[2]=n[1],n[3]=c,n[0]=l,n[1]=c+1;break;case 3:A[12]=A[0],A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=A[1],A[11]=a+3,A[4]=A[2],A[7]=a+4,A[0]=A[3],A[1]=a+7,A[2]=a+6,A[3]=a+5,n[2]=n[0],n[3]=c,n[0]=n[1],n[1]=c+1}A[5]=t.length,t.push([(-4*t[A[0]][0]-t[A[15]][0]+6*(t[A[4]][0]+t[A[1]][0])-2*(t[A[12]][0]+t[A[3]][0])+3*(t[A[13]][0]+t[A[7]][0]))/9,(-4*t[A[0]][1]-t[A[15]][1]+6*(t[A[4]][1]+t[A[1]][1])-2*(t[A[12]][1]+t[A[3]][1])+3*(t[A[13]][1]+t[A[7]][1]))/9]),A[6]=t.length,t.push([(-4*t[A[3]][0]-t[A[12]][0]+6*(t[A[2]][0]+t[A[7]][0])-2*(t[A[0]][0]+t[A[15]][0])+3*(t[A[4]][0]+t[A[14]][0]))/9,(-4*t[A[3]][1]-t[A[12]][1]+6*(t[A[2]][1]+t[A[7]][1])-2*(t[A[0]][1]+t[A[15]][1])+3*(t[A[4]][1]+t[A[14]][1]))/9]),A[9]=t.length,t.push([(-4*t[A[12]][0]-t[A[3]][0]+6*(t[A[8]][0]+t[A[13]][0])-2*(t[A[0]][0]+t[A[15]][0])+3*(t[A[11]][0]+t[A[1]][0]))/9,(-4*t[A[12]][1]-t[A[3]][1]+6*(t[A[8]][1]+t[A[13]][1])-2*(t[A[0]][1]+t[A[15]][1])+3*(t[A[11]][1]+t[A[1]][1]))/9]),A[10]=t.length,t.push([(-4*t[A[15]][0]-t[A[0]][0]+6*(t[A[11]][0]+t[A[14]][0])-2*(t[A[12]][0]+t[A[3]][0])+3*(t[A[2]][0]+t[A[8]][0]))/9,(-4*t[A[15]][1]-t[A[0]][1]+6*(t[A[11]][1]+t[A[14]][1])-2*(t[A[12]][1]+t[A[3]][1])+3*(t[A[2]][1]+t[A[8]][1]))/9]),this.figures.push({type:"patch",coords:new Int32Array(A),colors:new Int32Array(n)})}}},{key:"_decodeType7Shading",value:function(e){for(var t=this.coords,r=this.colors,A=new Int32Array(16),n=new Int32Array(4);e.hasData;){var i=e.readFlag();if(!(0<=i&&i<=3))throw new re("Unknown type7 flag");for(var a=t.length,o=0,s=0!==i?12:16;o<s;o++)t.push(e.readCoordinate());for(var c=r.length,g=0,u=0!==i?2:4;g<u;g++)r.push(e.readComponents());var l=void 0,h=void 0,I=void 0,f=void 0;switch(i){case 0:A[12]=a+3,A[13]=a+4,A[14]=a+5,A[15]=a+6,A[8]=a+2,A[9]=a+13,A[10]=a+14,A[11]=a+7,A[4]=a+1,A[5]=a+12,A[6]=a+15,A[7]=a+8,A[0]=a,A[1]=a+11,A[2]=a+10,A[3]=a+9,n[2]=c+1,n[3]=c+2,n[0]=c,n[1]=c+3;break;case 1:l=A[12],h=A[13],I=A[14],f=A[15],A[12]=f,A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=I,A[9]=a+9,A[10]=a+10,A[11]=a+3,A[4]=h,A[5]=a+8,A[6]=a+11,A[7]=a+4,A[0]=l,A[1]=a+7,A[2]=a+6,A[3]=a+5,l=n[2],h=n[3],n[2]=h,n[3]=c,n[0]=l,n[1]=c+1;break;case 2:l=A[15],h=A[11],A[12]=A[3],A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=A[7],A[9]=a+9,A[10]=a+10,A[11]=a+3,A[4]=h,A[5]=a+8,A[6]=a+11,A[7]=a+4,A[0]=l,A[1]=a+7,A[2]=a+6,A[3]=a+5,l=n[3],n[2]=n[1],n[3]=c,n[0]=l,n[1]=c+1;break;case 3:A[12]=A[0],A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=A[1],A[9]=a+9,A[10]=a+10,A[11]=a+3,A[4]=A[2],A[5]=a+8,A[6]=a+11,A[7]=a+4,A[0]=A[3],A[1]=a+7,A[2]=a+6,A[3]=a+5,n[2]=n[0],n[3]=c,n[0]=n[1],n[1]=c+1}this.figures.push({type:"patch",coords:new Int32Array(A),colors:new Int32Array(n)})}}},{key:"_buildFigureFromPatch",value:function(e){var r=this.figures[e];W("patch"===r.type,"Unexpected patch mesh figure");var A=this.coords,n=this.colors,i=r.coords,a=r.colors,o=Math.min(A[i[0]][0],A[i[3]][0],A[i[12]][0],A[i[15]][0]),s=Math.min(A[i[0]][1],A[i[3]][1],A[i[12]][1],A[i[15]][1]),c=Math.max(A[i[0]][0],A[i[3]][0],A[i[12]][0],A[i[15]][0]),g=Math.max(A[i[0]][1],A[i[3]][1],A[i[12]][1],A[i[15]][1]),u=Math.ceil((c-o)*t.TRIANGLE_DENSITY/(this.bounds[2]-this.bounds[0]));u=Math.max(t.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(t.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,u));var l=Math.ceil((g-s)*t.TRIANGLE_DENSITY/(this.bounds[3]-this.bounds[1]));l=Math.max(t.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(t.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,l));for(var h=u+1,I=new Int32Array((l+1)*h),f=new Int32Array((l+1)*h),C=0,B=new Uint8Array(3),Q=new Uint8Array(3),E=n[a[0]],d=n[a[1]],y=n[a[2]],p=n[a[3]],v=Il(l),m=Il(u),w=0;w<=l;w++){B[0]=(E[0]*(l-w)+y[0]*w)/l|0,B[1]=(E[1]*(l-w)+y[1]*w)/l|0,B[2]=(E[2]*(l-w)+y[2]*w)/l|0,Q[0]=(d[0]*(l-w)+p[0]*w)/l|0,Q[1]=(d[1]*(l-w)+p[1]*w)/l|0,Q[2]=(d[2]*(l-w)+p[2]*w)/l|0;for(var b=0;b<=u;b++,C++)if(0!==w&&w!==l||0!==b&&b!==u){for(var k=0,D=0,S=0,F=0;F<=3;F++)for(var x=0;x<=3;x++,S++){var R=v[w][F]*m[b][x];k+=A[i[S]][0]*R,D+=A[i[S]][1]*R}I[C]=A.length,A.push([k,D]),f[C]=n.length;var G=new Uint8Array(3);G[0]=(B[0]*(u-b)+Q[0]*b)/u|0,G[1]=(B[1]*(u-b)+Q[1]*b)/u|0,G[2]=(B[2]*(u-b)+Q[2]*b)/u|0,n.push(G)}}I[0]=i[0],f[0]=a[0],I[u]=i[3],f[u]=a[1],I[h*l]=i[12],f[h*l]=a[2],I[h*l+u]=i[15],f[h*l+u]=a[3],this.figures[e]={type:"lattice",coords:I,colors:f,verticesPerRow:h}}},{key:"_updateBounds",value:function(){for(var e=this.coords[0][0],t=this.coords[0][1],r=e,A=t,n=1,i=this.coords.length;n<i;n++){var a=this.coords[n][0],o=this.coords[n][1];e=e>a?a:e,t=t>o?o:t,r=r<a?a:r,A=A<o?o:A}this.bounds=[e,t,r,A]}},{key:"_packData",value:function(){var e,t,r,A,n=this.coords,i=new Float32Array(2*n.length);for(e=0,r=0,t=n.length;e<t;e++){var a=n[e];i[r++]=a[0],i[r++]=a[1]}this.coords=i;var o=this.colors,s=new Uint8Array(3*o.length);for(e=0,r=0,t=o.length;e<t;e++){var c=o[e];s[r++]=c[0],s[r++]=c[1],s[r++]=c[2]}this.colors=s;var g=this.figures;for(e=0,t=g.length;e<t;e++){var u=g[e],l=u.coords,h=u.colors;for(r=0,A=l.length;r<A;r++)l[r]*=2,h[r]*=3}}},{key:"getIR",value:function(){var e=this.bounds;if(e[2]-e[0]==0||e[3]-e[1]==0)throw new re("Invalid MeshShading bounds: [".concat(e,"]."));return["Mesh",this.shadingType,this.coords,this.colors,this.figures,e,this.bbox,this.background]}}])}();nl(fl,"MIN_SPLIT_PATCH_CHUNKS_AMOUNT",3),nl(fl,"MAX_SPLIT_PATCH_CHUNKS_AMOUNT",20),nl(fl,"TRIANGLE_DENSITY",20);var Cl=function(e){function t(){return il(this,t),zu(this,t,arguments)}return rl(t,gl),ol(t,[{key:"getIR",value:function(){return["Dummy"]}}])}();function Bl(e,t,r){var A=Ft(t.getArray("Matrix"),C),n=Rt(t.getArray("BBox"),null);if(!n||n[2]-n[0]==0||n[3]-n[1]==0)throw new re("Invalid getTilingPatternIR /BBox array.");var i=t.get("XStep");if("number"!=typeof i)throw new re("Invalid getTilingPatternIR /XStep value.");var a=t.get("YStep");if("number"!=typeof a)throw new re("Invalid getTilingPatternIR /YStep value.");var o=t.get("PaintType");if(!Number.isInteger(o))throw new re("Invalid getTilingPatternIR /PaintType value.");var s=t.get("TilingType");if(!Number.isInteger(s))throw new re("Invalid getTilingPatternIR /TilingType value.");return["TilingPattern",r,e,A,n,i,a,o,s]}var Ql=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],El={lineHeight:1.2207,lineGap:.2207},dl=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],yl={lineHeight:1.2207,lineGap:.2207},pl=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],vl={lineHeight:1.2207,lineGap:.2207},ml=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1],wl={lineHeight:1.2207,lineGap:.2207},bl=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],kl={lineHeight:1.2,lineGap:.2},Dl=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],Sl={lineHeight:1.35,lineGap:.2},Fl=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],xl={lineHeight:1.35,lineGap:.2},Rl=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Gl={lineHeight:1.2,lineGap:.2},Nl=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],Ll=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Ul=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],Ml=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Jl=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],Hl=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Yl=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],Pl=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Ol=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.16161,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Kl={lineHeight:1.2,lineGap:.2},Tl=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.20006,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],ql={lineHeight:1.2,lineGap:.2},jl=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05233,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Wl={lineHeight:1.2,lineGap:.2},Zl=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05638,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],_l={lineHeight:1.2,lineGap:.2},Xl=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Vl={lineHeight:1.33008,lineGap:0},zl=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],$l={lineHeight:1.33008,lineGap:0},eh=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],th={lineHeight:1.33008,lineGap:0},rh=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1],Ah={lineHeight:1.33008,lineGap:0};function nh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||ih(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ih(e,t){if(e){if("string"==typeof e)return ah(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ah(e,t):void 0}}function ah(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var oh=ft((function(e){e["MyriadPro-Regular"]=e["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:Zl,baseWidths:Yl,baseMapping:Pl,metrics:_l},e["MyriadPro-Bold"]=e["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:Ol,baseWidths:Nl,baseMapping:Ll,metrics:Kl},e["MyriadPro-It"]=e["MyriadPro-Italic"]=e["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:jl,baseWidths:Jl,baseMapping:Hl,metrics:Wl},e["MyriadPro-BoldIt"]=e["MyriadPro-BoldItalic"]=e["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:Tl,baseWidths:Ul,baseMapping:Ml,metrics:ql},e.ArialMT=e.Arial=e["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:Yl,baseMapping:Pl},e["Arial-BoldMT"]=e["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:Nl,baseMapping:Ll},e["Arial-ItalicMT"]=e["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:Jl,baseMapping:Hl},e["Arial-BoldItalicMT"]=e["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:Ul,baseMapping:Ml},e["Calibri-Regular"]={name:"LiberationSans-Regular",factors:ml,baseWidths:Yl,baseMapping:Pl,metrics:wl},e["Calibri-Bold"]={name:"LiberationSans-Bold",factors:Ql,baseWidths:Nl,baseMapping:Ll,metrics:El},e["Calibri-Italic"]={name:"LiberationSans-Italic",factors:pl,baseWidths:Jl,baseMapping:Hl,metrics:vl},e["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:dl,baseWidths:Ul,baseMapping:Ml,metrics:yl},e["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:rh,baseWidths:Yl,baseMapping:Pl,metrics:Ah},e["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:Xl,baseWidths:Nl,baseMapping:Ll,metrics:Vl},e["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:eh,baseWidths:Jl,baseMapping:Hl,metrics:th},e["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:zl,baseWidths:Ul,baseMapping:Ml,metrics:$l},e["Helvetica-Regular"]=e.Helvetica={name:"LiberationSans-Regular",factors:Rl,baseWidths:Yl,baseMapping:Pl,metrics:Gl},e["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:bl,baseWidths:Nl,baseMapping:Ll,metrics:kl},e["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:Fl,baseWidths:Jl,baseMapping:Hl,metrics:xl},e["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:Dl,baseWidths:Ul,baseMapping:Ml,metrics:Sl}}));function sh(e){var t=mc(e);return oh()[t]}function ch(e){var t=function(e){var t=sh(e);if(!t)return null;var r,A,n=t.baseWidths,i=t.baseMapping,a=t.factors,o=a?n.map((function(e,t){return e*a[t]})):n,s=-2,c=[],g=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ih(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(i.map((function(e,t){return[e,t]})).sort((function(e,t){return nh(e,1)[0]-nh(t,1)[0]})));try{for(g.s();!(A=g.n()).done;){var u=nh(A.value,2),l=u[0],h=u[1];-1!==l&&(l===s+1?(r.push(o[h]),s+=1):(s=l,r=[o[h]],c.push(l,r)))}}catch(e){g.e(e)}finally{g.f()}return c}(e),r=new He(null);r.set("BaseFont",Ue.get(e)),r.set("Type",Ue.get("Font")),r.set("Subtype",Ue.get("CIDFontType2")),r.set("Encoding",Ue.get("Identity-H")),r.set("CIDToGIDMap",Ue.get("Identity")),r.set("W",t),r.set("FirstChar",t[0]),r.set("LastChar",t.at(-2)+t.at(-1).length-1);var A=new He(null);r.set("FontDescriptor",A);var n=new He(null);return n.set("Ordering","Identity"),n.set("Registry","Adobe"),n.set("Supplement",0),r.set("CIDSystemInfo",n),r}function gh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uh(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,hh(A.key),A)}}function lh(e,t,r){return t&&uh(e.prototype,t),r&&uh(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function hh(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Ih,fh=function(){return lh((function e(t){gh(this,e),this.lexer=t,this.operators=[],this.token=null,this.prev=null}),[{key:"nextToken",value:function(){this.prev=this.token,this.token=this.lexer.getToken()}},{key:"accept",value:function(e){return this.token.type===e&&(this.nextToken(),!0)}},{key:"expect",value:function(e){if(this.accept(e))return!0;throw new re("Unexpected symbol: found ".concat(this.token.type," expected ").concat(e,"."))}},{key:"parse",value:function(){return this.nextToken(),this.expect(Ch.LBRACE),this.parseBlock(),this.expect(Ch.RBRACE),this.operators}},{key:"parseBlock",value:function(){for(;;)if(this.accept(Ch.NUMBER))this.operators.push(this.prev.value);else if(this.accept(Ch.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(Ch.LBRACE))return;this.parseCondition()}}},{key:"parseCondition",value:function(){var e=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(Ch.RBRACE),this.accept(Ch.IF))this.operators[e]=this.operators.length,this.operators[e+1]="jz";else{if(!this.accept(Ch.LBRACE))throw new re("PS Function: error parsing conditional.");var t=this.operators.length;this.operators.push(null,null);var r=this.operators.length;this.parseBlock(),this.expect(Ch.RBRACE),this.expect(Ch.IFELSE),this.operators[t]=this.operators.length,this.operators[t+1]="j",this.operators[e]=r,this.operators[e+1]="jz"}}}])}(),Ch={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},Bh=function(){function e(t,r){gh(this,e),this.type=t,this.value=r}return lh(e,null,[{key:"opCache",get:function(){return _(this,"opCache",Object.create(null))}},{key:"getOperator",value:function(t){var r;return(r=e.opCache)[t]||(r[t]=new e(Ch.OPERATOR,t))}},{key:"LBRACE",get:function(){return _(this,"LBRACE",new e(Ch.LBRACE,"{"))}},{key:"RBRACE",get:function(){return _(this,"RBRACE",new e(Ch.RBRACE,"}"))}},{key:"IF",get:function(){return _(this,"IF",new e(Ch.IF,"IF"))}},{key:"IFELSE",get:function(){return _(this,"IFELSE",new e(Ch.IFELSE,"IFELSE"))}}])}(),Qh=function(){return lh((function e(t){gh(this,e),this.stream=t,this.nextChar(),this.strBuf=[]}),[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var e=!1,t=this.currentChar;;){if(t<0)return Re;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!Dt(t))break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new Bh(Ch.NUMBER,this.getNumber());case 123:return this.nextChar(),Bh.LBRACE;case 125:return this.nextChar(),Bh.RBRACE}var r=this.strBuf;for(r.length=0,r[0]=String.fromCharCode(t);(t=this.nextChar())>=0&&(t>=65&&t<=90||t>=97&&t<=122);)r.push(String.fromCharCode(t));var A=r.join("");switch(A.toLowerCase()){case"if":return Bh.IF;case"ifelse":return Bh.IFELSE;default:return Bh.getOperator(A)}}},{key:"getNumber",value:function(){var e=this.currentChar,t=this.strBuf;for(t.length=0,t[0]=String.fromCharCode(e);(e=this.nextChar())>=0&&(e>=48&&e<=57||45===e||46===e);)t.push(String.fromCharCode(e));var r=parseFloat(t.join(""));if(isNaN(r))throw new re("Invalid floating point number: ".concat(r));return r}}])}();function Eh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function dh(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function yh(e,t,r){return(t=Gh(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ph(e,t){return e.get(mh(e,t))}function vh(e,t,r){return r(mh(e,t))}function mh(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function wh(e,t,r){return t=kh(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,bh()?Reflect.construct(t,r||[],kh(e).constructor):t.apply(e,r))}function bh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(bh=function(){return!!e})()}function kh(e){return kh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kh(e)}function Dh(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sh(e,t)}function Sh(e,t){return Sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sh(e,t)}function Fh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xh(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Gh(A.key),A)}}function Rh(e,t,r){return t&&xh(e.prototype,t),r&&xh(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Gh(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Nh=function(){return Rh((function e(t){Fh(this,e),this._onlyRefs=!0===(null==t?void 0:t.onlyRefs),this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new Oe}),[{key:"getByName",value:function(e){this._onlyRefs&&j("Should not call \`getByName\` method.");var t=this._nameRefMap.get(e);return t?this.getByRef(t):this._imageMap.get(e)||null}},{key:"getByRef",value:function(e){return this._imageCache.get(e)||null}},{key:"set",value:function(e,t,r){j("Abstract method \`set\` called.")}}])}(),Lh=function(e){function t(){return Fh(this,t),wh(this,t,arguments)}return Dh(t,Nh),Rh(t,[{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!=typeof e)throw new Error('LocalImageCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;return this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}])}(),Uh=function(e){function t(){return Fh(this,t),wh(this,t,arguments)}return Dh(t,Nh),Rh(t,[{key:"set",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!=typeof e&&!t)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(t){if(this._imageCache.has(t))return;return null!==e&&this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}])}(),Mh=function(e){function t(e){return Fh(this,t),wh(this,t,[{onlyRefs:!0}])}return Dh(t,Nh),Rh(t,[{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,t)}}])}(),Jh=function(e){function t(){return Fh(this,t),wh(this,t,arguments)}return Dh(t,Nh),Rh(t,[{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!=typeof e)throw new Error('LocalGStateCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;return this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}])}(),Hh=function(e){function t(e){return Fh(this,t),wh(this,t,[{onlyRefs:!0}])}return Dh(t,Nh),Rh(t,[{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,t)}}])}(),Yh=function(e){function t(e){return Fh(this,t),wh(this,t,[{onlyRefs:!0}])}return Dh(t,Nh),Rh(t,[{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error('RegionalImageCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,t)}}])}(),Ph=new WeakMap,Oh=new WeakSet,Kh=function(){function e(){var t;Fh(this,e),dh(this,t=Oh),t.add(this),function(e,t,r){dh(e,t),t.set(e,r)}(this,Ph,new Pe),this._refCache=new Oe,this._imageCache=new Oe}return Rh(e,[{key:"shouldCache",value:function(t,r){var A=this._refCache.get(t);return A||(A=new Set,this._refCache.put(t,A)),A.add(r),!(A.size<e.NUM_PAGES_THRESHOLD||!this._imageCache.has(t)&&vh(Oh,this,qh))}},{key:"addDecodeFailed",value:function(e){ph(Ph,this).put(e)}},{key:"hasDecodeFailed",value:function(e){return ph(Ph,this).has(e)}},{key:"addByteSize",value:function(e,t){var r=this._imageCache.get(e);r&&(r.byteSize||(r.byteSize=t))}},{key:"getData",value:function(t,r){var A=this._refCache.get(t);if(!A)return null;if(A.size<e.NUM_PAGES_THRESHOLD)return null;var n=this._imageCache.get(t);return n?(A.add(r),n):null}},{key:"setData",value:function(e,t){if(!this._refCache.has(e))throw new Error('GlobalImageCache.setData - expected "shouldCache" to have been called.');this._imageCache.has(e)||(vh(Oh,this,qh)?q("GlobalImageCache.setData - cache limit reached."):this._imageCache.put(e,t))}},{key:"clear",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||(ph(Ph,this).clear(),this._refCache.clear()),this._imageCache.clear()}}])}();function Th(e){var t,r=0,A=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Eh(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Eh(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(e._imageCache);try{for(A.s();!(t=A.n()).done;)r+=t.value.byteSize}catch(e){A.e(e)}finally{A.f()}return r}function qh(e){return!(e._imageCache.size<Ih.MIN_IMAGES_TO_CACHE||vh(Oh,e,Th)<Ih.MAX_BYTE_SIZE)}function jh(e){return function(e){if(Array.isArray(e))return eI(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||$h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wh(e,t,r){return t=_h(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Zh()?Reflect.construct(t,r||[],_h(e).constructor):t.apply(e,r))}function Zh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Zh=function(){return!!e})()}function _h(e){return _h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_h(e)}function Xh(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vh(e,t)}function Vh(e,t){return Vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vh(e,t)}function zh(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=$h(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function $h(e,t){if(e){if("string"==typeof e)return eI(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?eI(e,t):void 0}}function eI(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function tI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rI(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,nI(A.key),A)}}function AI(e,t,r){return t&&rI(e.prototype,t),r&&rI(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function nI(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}Ih=Kh,yh(Kh,"NUM_PAGES_THRESHOLD",2),yh(Kh,"MIN_IMAGES_TO_CACHE",10),yh(Kh,"MAX_BYTE_SIZE",5e7);var iI=function(){return AI((function e(t){var r=t.xref,A=t.isEvalSupported,n=void 0===A||A;tI(this,e),this.xref=r,this.isEvalSupported=!1!==n}),[{key:"create",value:function(e){var t=this.getCached(e);if(t)return t;var r=oI.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:e instanceof Ye?this.xref.fetch(e):e});return this._cache(e,r),r}},{key:"createFromArray",value:function(e){var t=this.getCached(e);if(t)return t;var r=oI.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:e instanceof Ye?this.xref.fetch(e):e});return this._cache(e,r),r}},{key:"getCached",value:function(e){var t;if(e instanceof Ye)t=e;else if(e instanceof He)t=e.objId;else if(e instanceof ze){var r;t=null===(r=e.dict)||void 0===r?void 0:r.objId}if(t){var A=this._localFunctionCache.getByRef(t);if(A)return A}return null}},{key:"_cache",value:function(e,t){if(!t)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');var r;if(e instanceof Ye)r=e;else if(e instanceof He)r=e.objId;else if(e instanceof ze){var A;r=null===(A=e.dict)||void 0===A?void 0:A.objId}r&&this._localFunctionCache.set(null,r,t)}},{key:"_localFunctionCache",get:function(){return _(this,"_localFunctionCache",new Mh)}}])}();function aI(e){return Array.isArray(e)?St(e,null)?e:e.map((function(e){return+e})):null}var oI=function(){return AI((function e(){tI(this,e)}),null,[{key:"getSampleArray",value:function(e,t,r,A){var n,i,a=1;for(n=0,i=e.length;n<i;n++)a*=e[n];a*=t;var o=new Array(a),s=0,c=0,g=1/(Math.pow(2,r)-1),u=A.getBytes((a*r+7)/8),l=0;for(n=0;n<a;n++){for(;s<r;)c<<=8,c|=u[l++],s+=8;s-=r,o[n]=(c>>s)*g,c&=(1<<s)-1}return o}},{key:"parse",value:function(e){var t=e.xref,r=e.isEvalSupported,A=e.fn,n=A.dict||A;switch(n.get("FunctionType")){case 0:return this.constructSampled({xref:t,isEvalSupported:r,fn:A,dict:n});case 1:break;case 2:return this.constructInterpolated({xref:t,isEvalSupported:r,dict:n});case 3:return this.constructStiched({xref:t,isEvalSupported:r,dict:n});case 4:return this.constructPostScript({xref:t,isEvalSupported:r,fn:A,dict:n})}throw new re("Unknown type of function")}},{key:"parseArray",value:function(e){var t=e.xref,r=e.isEvalSupported,A=e.fnObj;if(!Array.isArray(A))return this.parse({xref:t,isEvalSupported:r,fn:A});var n,i=[],a=zh(A);try{for(a.s();!(n=a.n()).done;){var o=n.value;i.push(this.parse({xref:t,isEvalSupported:r,fn:t.fetchIfRef(o)}))}}catch(e){a.e(e)}finally{a.f()}return function(e,t,r,A){for(var n=0,a=i.length;n<a;n++)i[n](e,t,r,A+n)}}},{key:"constructSampled",value:function(e){e.xref,e.isEvalSupported;var t=e.fn,r=e.dict;function A(e){for(var t=e.length,r=[],A=0,n=0;n<t;n+=2)r[A++]=[e[n],e[n+1]];return r}function n(e,t,r,A,n){return A+(n-A)/(r-t)*(e-t)}var i=aI(r.getArray("Domain")),a=aI(r.getArray("Range"));if(!i||!a)throw new re("No domain or range");var o=i.length/2,s=a.length/2;i=A(i),a=A(a);var c=aI(r.getArray("Size")),g=r.get("BitsPerSample"),u=r.get("Order")||1;1!==u&&T("No support for cubic spline interpolation: "+u);var l=aI(r.getArray("Encode"));if(l)l=A(l);else{l=[];for(var h=0;h<o;++h)l.push([0,c[h]-1])}var I=aI(r.getArray("Decode"));I=I?A(I):a;var f=this.getSampleArray(c,s,g,t);return function(e,t,r,A){var g,u,h=1<<o,C=new Float64Array(h),B=new Uint32Array(h);for(u=0;u<h;u++)C[u]=1;var Q=s,E=1;for(g=0;g<o;++g){var d=i[g][0],y=i[g][1],p=n(Math.min(Math.max(e[t+g],d),y),d,y,l[g][0],l[g][1]),v=c[g],m=(p=Math.min(Math.max(p,0),v-1))<v-1?Math.floor(p):p-1,w=m+1-p,b=p-m,k=m*Q,D=k+Q;for(u=0;u<h;u++)u&E?(C[u]*=b,B[u]+=D):(C[u]*=w,B[u]+=k);Q*=v,E<<=1}for(u=0;u<s;++u){var S=0;for(g=0;g<h;g++)S+=f[B[g]+u]*C[g];S=n(S,0,1,I[u][0],I[u][1]),r[A+u]=Math.min(Math.max(S,a[u][0]),a[u][1])}}}},{key:"constructInterpolated",value:function(e){e.xref,e.isEvalSupported;for(var t=e.dict,r=aI(t.getArray("C0"))||[0],A=aI(t.getArray("C1"))||[1],n=t.get("N"),i=[],a=0,o=r.length;a<o;++a)i.push(A[a]-r[a]);var s=i.length;return function(e,t,A,a){for(var o=1===n?e[t]:Math.pow(e[t],n),c=0;c<s;++c)A[a+c]=r[c]+o*i[c]}}},{key:"constructStiched",value:function(e){var t=e.xref,r=e.isEvalSupported,A=e.dict,n=aI(A.getArray("Domain"));if(!n)throw new re("No domain");if(1!=n.length/2)throw new re("Bad domain for stiched function");var i,a=[],o=zh(A.get("Functions"));try{for(o.s();!(i=o.n()).done;){var s=i.value;a.push(this.parse({xref:t,isEvalSupported:r,fn:t.fetchIfRef(s)}))}}catch(e){o.e(e)}finally{o.f()}var c=aI(A.getArray("Bounds")),g=aI(A.getArray("Encode")),u=new Float32Array(1);return function(e,t,r,A){var i,o=function(e,t,r){return e>r?e=r:e<t&&(e=t),e}(e[t],n[0],n[1]),s=c.length;for(i=0;i<s&&!(o<c[i]);++i);var l=n[0];i>0&&(l=c[i-1]);var h=n[1];i<c.length&&(h=c[i]);var I=g[2*i],f=g[2*i+1];u[0]=l===h?I:I+(o-l)*(f-I)/(h-l),a[i](u,0,r,A)}}},{key:"constructPostScript",value:function(e){e.xref;var t=e.isEvalSupported,r=e.fn,A=e.dict,n=aI(A.getArray("Domain")),i=aI(A.getArray("Range"));if(!n)throw new re("No domain.");if(!i)throw new re("No range.");var a=new Qh(r),o=new fh(a).parse();if(t&&se.isEvalSupported){var s=(new wI).compile(o,n,i);if(s)return new Function("src","srcOffset","dest","destOffset",s)}T("Unable to compile PS function");var c=i.length>>1,g=n.length>>1,u=new lI(o),l=Object.create(null),h=8192,I=new Float32Array(g);return function(e,t,r,A){var n,a,o="",s=I;for(n=0;n<g;n++)a=e[t+n],s[n]=a,o+=a+"_";var f=l[o];if(void 0===f){var C=new Float32Array(c),B=u.execute(s),Q=B.length-c;for(n=0;n<c;n++){a=B[Q+n];var E=i[2*n];(a<E||a>(E=i[2*n+1]))&&(a=E),C[n]=a}h>0&&(h--,l[o]=C),r.set(C,A)}else r.set(f,A)}}}])}();function sI(e){var t;if(e instanceof He)t=e;else{if(!(e instanceof ze))return!1;t=e.dict}return t.has("FunctionType")}var cI,gI,uI=function(){function e(t){tI(this,e),this.stack=t?Array.from(t):[]}return AI(e,[{key:"push",value:function(t){if(this.stack.length>=e.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(t)}},{key:"pop",value:function(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}},{key:"copy",value:function(t){if(this.stack.length+t>=e.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");for(var r=this.stack,A=r.length-t,n=t-1;n>=0;n--,A++)r.push(r[A])}},{key:"index",value:function(e){this.push(this.stack[this.stack.length-e-1])}},{key:"roll",value:function(e,t){for(var r=this.stack,A=r.length-e,n=r.length-1,i=A+(t-Math.floor(t/e)*e),a=A,o=n;a<o;a++,o--){var s=r[a];r[a]=r[o],r[o]=s}for(var c=A,g=i-1;c<g;c++,g--){var u=r[c];r[c]=r[g],r[g]=u}for(var l=i,h=n;l<h;l++,h--){var I=r[l];r[l]=r[h],r[h]=I}}}])}();cI=uI,(gI=nI(gI="MAX_STACK_SIZE"))in cI?Object.defineProperty(cI,gI,{value:100,enumerable:!0,configurable:!0,writable:!0}):cI[gI]=100;var lI=function(){return AI((function e(t){tI(this,e),this.operators=t}),[{key:"execute",value:function(e){for(var t,r,A,n=new uI(e),i=0,a=this.operators,o=a.length;i<o;)if("number"!=typeof(t=a[i++]))switch(t){case"jz":A=n.pop(),(r=n.pop())||(i=A);break;case"j":i=r=n.pop();break;case"abs":r=n.pop(),n.push(Math.abs(r));break;case"add":A=n.pop(),r=n.pop(),n.push(r+A);break;case"and":A=n.pop(),"boolean"==typeof(r=n.pop())&&"boolean"==typeof A?n.push(r&&A):n.push(r&A);break;case"atan":A=n.pop(),r=n.pop(),(r=Math.atan2(r,A)/Math.PI*180)<0&&(r+=360),n.push(r);break;case"bitshift":A=n.pop(),(r=n.pop())>0?n.push(r<<A):n.push(r>>A);break;case"ceiling":r=n.pop(),n.push(Math.ceil(r));break;case"copy":r=n.pop(),n.copy(r);break;case"cos":r=n.pop(),n.push(Math.cos(r%360/180*Math.PI));break;case"cvi":r=0|n.pop(),n.push(r);break;case"cvr":break;case"div":A=n.pop(),r=n.pop(),n.push(r/A);break;case"dup":n.copy(1);break;case"eq":A=n.pop(),r=n.pop(),n.push(r===A);break;case"exch":n.roll(2,1);break;case"exp":A=n.pop(),r=n.pop(),n.push(Math.pow(r,A));break;case"false":n.push(!1);break;case"floor":r=n.pop(),n.push(Math.floor(r));break;case"ge":A=n.pop(),r=n.pop(),n.push(r>=A);break;case"gt":A=n.pop(),r=n.pop(),n.push(r>A);break;case"idiv":A=n.pop(),r=n.pop(),n.push(r/A|0);break;case"index":r=n.pop(),n.index(r);break;case"le":A=n.pop(),r=n.pop(),n.push(r<=A);break;case"ln":r=n.pop(),n.push(Math.log(r));break;case"log":r=n.pop(),n.push(Math.log10(r));break;case"lt":A=n.pop(),r=n.pop(),n.push(r<A);break;case"mod":A=n.pop(),r=n.pop(),n.push(r%A);break;case"mul":A=n.pop(),r=n.pop(),n.push(r*A);break;case"ne":A=n.pop(),r=n.pop(),n.push(r!==A);break;case"neg":r=n.pop(),n.push(-r);break;case"not":"boolean"==typeof(r=n.pop())?n.push(!r):n.push(~r);break;case"or":A=n.pop(),"boolean"==typeof(r=n.pop())&&"boolean"==typeof A?n.push(r||A):n.push(r|A);break;case"pop":n.pop();break;case"roll":A=n.pop(),r=n.pop(),n.roll(r,A);break;case"round":r=n.pop(),n.push(Math.round(r));break;case"sin":r=n.pop(),n.push(Math.sin(r%360/180*Math.PI));break;case"sqrt":r=n.pop(),n.push(Math.sqrt(r));break;case"sub":A=n.pop(),r=n.pop(),n.push(r-A);break;case"true":n.push(!0);break;case"truncate":r=(r=n.pop())<0?Math.ceil(r):Math.floor(r),n.push(r);break;case"xor":A=n.pop(),"boolean"==typeof(r=n.pop())&&"boolean"==typeof A?n.push(r!==A):n.push(r^A);break;default:throw new re("Unknown operator ".concat(t))}else n.push(t);return n.stack}}])}(),hI=function(){return AI((function e(t){tI(this,e),this.type=t}),[{key:"visit",value:function(e){j("abstract method")}}])}(),II=function(e){function t(e,r,A){var n;return tI(this,t),(n=Wh(this,t,["args"])).index=e,n.min=r,n.max=A,n}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitArgument(this)}}])}(),fI=function(e){function t(e){var r;return tI(this,t),(r=Wh(this,t,["literal"])).number=e,r.min=e,r.max=e,r}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitLiteral(this)}}])}(),CI=function(e){function t(e,r,A,n,i){var a;return tI(this,t),(a=Wh(this,t,["binary"])).op=e,a.arg1=r,a.arg2=A,a.min=n,a.max=i,a}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitBinaryOperation(this)}}])}(),BI=function(e){function t(e,r){var A;return tI(this,t),(A=Wh(this,t,["max"])).arg=e,A.min=e.min,A.max=r,A}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitMin(this)}}])}(),QI=function(e){function t(e,r,A){var n;return tI(this,t),(n=Wh(this,t,["var"])).index=e,n.min=r,n.max=A,n}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitVariable(this)}}])}(),EI=function(e){function t(e,r){var A;return tI(this,t),(A=Wh(this,t,["definition"])).variable=e,A.arg=r,A}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitVariableDefinition(this)}}])}(),dI=function(){return AI((function e(){tI(this,e),this.parts=[]}),[{key:"visitArgument",value:function(e){this.parts.push("Math.max(",e.min,", Math.min(",e.max,", src[srcOffset + ",e.index,"]))")}},{key:"visitVariable",value:function(e){this.parts.push("v",e.index)}},{key:"visitLiteral",value:function(e){this.parts.push(e.number)}},{key:"visitBinaryOperation",value:function(e){this.parts.push("("),e.arg1.visit(this),this.parts.push(" ",e.op," "),e.arg2.visit(this),this.parts.push(")")}},{key:"visitVariableDefinition",value:function(e){this.parts.push("var "),e.variable.visit(this),this.parts.push(" = "),e.arg.visit(this),this.parts.push(";")}},{key:"visitMin",value:function(e){this.parts.push("Math.min("),e.arg.visit(this),this.parts.push(", ",e.max,")")}},{key:"toString",value:function(){return this.parts.join("")}}])}();function yI(e,t){return"literal"===t.type&&0===t.number?e:"literal"===e.type&&0===e.number?t:"literal"===t.type&&"literal"===e.type?new fI(e.number+t.number):new CI("+",e,t,e.min+t.min,e.max+t.max)}function pI(e,t){if("literal"===t.type){if(0===t.number)return new fI(0);if(1===t.number)return e;if("literal"===e.type)return new fI(e.number*t.number)}if("literal"===e.type){if(0===e.number)return new fI(0);if(1===e.number)return t}var r=Math.min(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max),A=Math.max(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max);return new CI("*",e,t,r,A)}function vI(e,t){if("literal"===t.type){if(0===t.number)return e;if("literal"===e.type)return new fI(e.number-t.number)}return"binary"===t.type&&"-"===t.op&&"literal"===e.type&&1===e.number&&"literal"===t.arg1.type&&1===t.arg1.number?t.arg2:new CI("-",e,t,e.min-t.max,e.max-t.min)}function mI(e,t){return e.min>=t?new fI(t):e.max<=t?e:new BI(e,t)}var wI=function(){return AI((function e(){tI(this,e)}),[{key:"compile",value:function(e,t,r){for(var A,n,i,a,o,s,c,g,u=[],l=[],h=t.length>>1,I=r.length>>1,f=0,C=0;C<h;C++)u.push(new II(C,t[2*C],t[2*C+1]));for(var B=0,Q=e.length;B<Q;B++)if("number"!=typeof(g=e[B]))switch(g){case"add":if(u.length<2)return null;a=u.pop(),i=u.pop(),u.push(yI(i,a));break;case"cvr":if(u.length<1)return null;break;case"mul":if(u.length<2)return null;a=u.pop(),i=u.pop(),u.push(pI(i,a));break;case"sub":if(u.length<2)return null;a=u.pop(),i=u.pop(),u.push(vI(i,a));break;case"exch":if(u.length<2)return null;o=u.pop(),s=u.pop(),u.push(o,s);break;case"pop":if(u.length<1)return null;u.pop();break;case"index":if(u.length<1)return null;if("literal"!==(i=u.pop()).type)return null;if((A=i.number)<0||!Number.isInteger(A)||u.length<A)return null;if("literal"===(o=u[u.length-A-1]).type||"var"===o.type){u.push(o);break}c=new QI(f++,o.min,o.max),u[u.length-A-1]=c,u.push(c),l.push(new EI(c,o));break;case"dup":if(u.length<1)return null;if("number"==typeof e[B+1]&&"gt"===e[B+2]&&e[B+3]===B+7&&"jz"===e[B+4]&&"pop"===e[B+5]&&e[B+6]===e[B+1]){i=u.pop(),u.push(mI(i,e[B+1])),B+=6;break}if("literal"===(o=u.at(-1)).type||"var"===o.type){u.push(o);break}c=new QI(f++,o.min,o.max),u[u.length-1]=c,u.push(c),l.push(new EI(c,o));break;case"roll":if(u.length<2)return null;if(a=u.pop(),i=u.pop(),"literal"!==a.type||"literal"!==i.type)return null;if(n=a.number,(A=i.number)<=0||!Number.isInteger(A)||!Number.isInteger(n)||u.length<A)return null;if(0==(n=(n%A+A)%A))break;u.push.apply(u,jh(u.splice(u.length-A,A-n)));break;default:return null}else u.push(new fI(g));if(u.length!==I)return null;for(var E=[],d=0,y=l;d<y.length;d++){var p=y[d],v=new dI;p.visit(v),E.push(v.toString())}for(var m=0,w=u.length;m<w;m++){var b=u[m],k=new dI;b.visit(k);var D=r[2*m],S=r[2*m+1],F=[k.toString()];D>b.min&&(F.unshift("Math.max(",D,", "),F.push(")")),S<b.max&&(F.unshift("Math.min(",S,", "),F.push(")")),F.unshift("dest[destOffset + ",m,"] = "),F.push(";"),E.push(F.join(""))}return E.join("\\n")}}])}(),bI=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],kI=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function DI(e){return 0!=(1&e)}function SI(e){return 0==(1&e)}function FI(e,t,r){var A,n;for(A=t,n=e.length;A<n;++A)if(e[A]!==r)return A;return A}function xI(e,t,r,A){for(var n=t;n<r;++n)e[n]=A}function RI(e,t,r){for(var A=t,n=r-1;A<n;++A,--n){var i=e[A];e[A]=e[n],e[n]=i}}function GI(e,t){var r="ltr";return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?r="ttb":t||(r="rtl"),{str:e,dir:r}}var NI=[],LI=[];function UI(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],A=!0,n=e.length;if(0===n||r)return GI(e,A,r);NI.length=n,LI.length=n;var i,a,o=0;for(i=0;i<n;++i){NI[i]=e.charAt(i);var s=e.charCodeAt(i),c="L";s<=255?c=bI[s]:1424<=s&&s<=1524?c="R":1536<=s&&s<=1791?(c=kI[255&s])||q("Bidi: invalid Unicode character "+s.toString(16)):(1792<=s&&s<=2220||64336<=s&&s<=65023||65136<=s&&s<=65279)&&(c="AL"),"R"!==c&&"AL"!==c&&"AN"!==c||o++,LI[i]=c}if(0===o)return GI(e,A=!0);-1===t&&(o/n<.3&&n>4?(A=!0,t=0):(A=!1,t=1));var g=[];for(i=0;i<n;++i)g[i]=t;var u,l=DI(t)?"R":"L",h=l,I=h,f=h;for(i=0;i<n;++i)"NSM"===LI[i]?LI[i]=f:f=LI[i];for(f=h,i=0;i<n;++i)"EN"===(u=LI[i])?LI[i]="AL"===f?"AN":"EN":"R"!==u&&"L"!==u&&"AL"!==u||(f=u);for(i=0;i<n;++i)"AL"===(u=LI[i])&&(LI[i]="R");for(i=1;i<n-1;++i)"ES"===LI[i]&&"EN"===LI[i-1]&&"EN"===LI[i+1]&&(LI[i]="EN"),"CS"!==LI[i]||"EN"!==LI[i-1]&&"AN"!==LI[i-1]||LI[i+1]!==LI[i-1]||(LI[i]=LI[i-1]);for(i=0;i<n;++i)if("EN"===LI[i]){for(var C=i-1;C>=0&&"ET"===LI[C];--C)LI[C]="EN";for(var B=i+1;B<n&&"ET"===LI[B];++B)LI[B]="EN"}for(i=0;i<n;++i)"WS"!==(u=LI[i])&&"ES"!==u&&"ET"!==u&&"CS"!==u||(LI[i]="ON");for(f=h,i=0;i<n;++i)"EN"===(u=LI[i])?LI[i]="L"===f?"L":"EN":"R"!==u&&"L"!==u||(f=u);for(i=0;i<n;++i)if("ON"===LI[i]){var Q=FI(LI,i+1,"ON"),E=h;i>0&&(E=LI[i-1]);var d=I;Q+1<n&&(d=LI[Q+1]),"L"!==E&&(E="R"),"L"!==d&&(d="R"),E===d&&xI(LI,i,Q,E),i=Q-1}for(i=0;i<n;++i)"ON"===LI[i]&&(LI[i]=l);for(i=0;i<n;++i)u=LI[i],SI(g[i])?"R"===u?g[i]+=1:"AN"!==u&&"EN"!==u||(g[i]+=2):"L"!==u&&"AN"!==u&&"EN"!==u||(g[i]+=1);var y,p=-1,v=99;for(i=0,a=g.length;i<a;++i)p<(y=g[i])&&(p=y),v>y&&DI(y)&&(v=y);for(y=p;y>=v;--y){var m=-1;for(i=0,a=g.length;i<a;++i)g[i]<y?m>=0&&(RI(NI,m,i),m=-1):m<0&&(m=i);m>=0&&RI(NI,m,g.length)}for(i=0,a=NI.length;i<a;++i){var w=NI[i];"<"!==w&&">"!==w||(NI[i]="")}return GI(NI.join(""),A)}function MI(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||HI(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function JI(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=HI(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function HI(e,t){if(e){if("string"==typeof e)return YI(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?YI(e,t):void 0}}function YI(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var PI={style:"normal",weight:"normal"},OI={style:"normal",weight:"bold"},KI={style:"italic",weight:"normal"},TI={style:"italic",weight:"bold"},qI=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","Linux Libertine O","Libertinus Serif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:PI,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:OI,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:KI,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:TI,ultimate:"serif"}],["Helvetica",{local:["Helvetica","Helvetica Neue","Arial","Arial Nova","Liberation Sans","Arimo","Nimbus Sans","Nimbus Sans L","A030","TeX Gyre Heros","FreeSans","DejaVu Sans","Albany","Bitstream Vera Sans","Arial Unicode MS","Microsoft Sans Serif","Apple Symbols","Cantarell"],path:"LiberationSans-Regular.ttf",style:PI,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:OI,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:KI,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:TI,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono","Linux Libertine Mono O","Libertinus Mono"],style:PI,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:OI,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:KI,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:TI,ultimate:"monospace"}],["ArialBlack",{local:["Arial Black"],style:{style:"normal",weight:"900"},fallback:"Helvetica-Bold"}],["ArialBlack-Bold",{alias:"ArialBlack"}],["ArialBlack-Italic",{alias:"ArialBlack",style:{style:"italic",weight:"900"},fallback:"Helvetica-BoldOblique"}],["ArialBlack-BoldItalic",{alias:"ArialBlack-Italic"}],["ArialNarrow",{local:["Arial Narrow","Liberation Sans Narrow","Helvetica Condensed","Nimbus Sans Narrow","TeX Gyre Heros Cn"],style:PI,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:OI,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:KI,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:TI,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:PI,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:OI,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:KI,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:TI,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:PI}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}]]),jI=new Map([["Arial-Black","ArialBlack"]]);function WI(e){var t=new Set(["thin","extralight","ultralight","demilight","semilight","light","book","regular","normal","medium","demibold","semibold","bold","extrabold","ultrabold","black","heavy","extrablack","ultrablack","roman","italic","oblique","ultracondensed","extracondensed","condensed","semicondensed","normal","semiexpanded","expanded","extraexpanded","ultraexpanded","bolditalic"]);return e.split(/[- ,+]+/g).filter((function(e){return!t.has(e.toLowerCase())})).join(" ")}function ZI(e,t,r){var A=e.alias,n=e.local,i=e.path,a=e.fallback,o=e.style,s=e.ultimate,c=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],g=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",l={style:null,ultimate:null};if(n){var h,I=u?" ".concat(u):"",f=JI(n);try{for(f.s();!(h=f.n()).done;){var C=h.value;t.push("local(".concat(C).concat(I,")"))}}catch(e){f.e(e)}finally{f.f()}}if(A){var B=qI.get(A),Q=u||function(e){switch(e){case OI:return"Bold";case KI:return"Italic";case TI:return"Bold Italic";default:if("bold"===(null==e?void 0:e.weight))return"Bold";if("italic"===(null==e?void 0:e.style))return"Italic"}return""}(o);Object.assign(l,ZI(B,t,r,c&&!a,g&&!i,Q))}if(o&&(l.style=o),s&&(l.ultimate=s),c&&a){var E=ZI(qI.get(a),t,r,c,g&&!i,u).ultimate;l.ultimate||(l.ultimate=E)}return g&&i&&r&&t.push("url(".concat(r).concat(i,")")),l}function _I(e,t,r,A,n,i){if(A.startsWith("InvalidPDFjsFont_"))return null;"TrueType"!==i&&"Type1"!==i||!/^[A-Z]{6}\\+/.test(A)||(A=A.slice(7));var a=A=mc(A),o=e.get(a);if(o)return o;var s=qI.get(A);if(!s){var c,g=JI(jI);try{for(g.s();!(c=g.n()).done;){var u=MI(c.value,2),l=u[0],h=u[1];if(A.startsWith(l)){A="".concat(h).concat(A.substring(l.length)),s=qI.get(A);break}}}catch(e){g.e(e)}finally{g.f()}}var I=!1;s||(s=qI.get(n),I=!0);var f="".concat(t.getDocId(),"_s").concat(t.createFontId());if(!s){if(!Pt(A))return q("Cannot substitute the font because of its name: ".concat(A)),e.set(a,null),null;var C=/bold/gi.test(A),B=/oblique|italic/gi.test(A),Q=C&&B&&TI||C&&OI||B&&KI||PI;return o={css:'"'.concat(WI(A),'",').concat(f),guessFallback:!0,loadedName:f,baseFontName:A,src:"local(".concat(A,")"),style:Q},e.set(a,o),o}var E=[];I&&Pt(A)&&E.push("local(".concat(A,")"));var d=ZI(s,E,r),y=d.style,p=d.ultimate,v=null===p,m=v?"":",".concat(p);return o={css:'"'.concat(WI(A),'",').concat(f).concat(m),guessFallback:v,loadedName:f,baseFontName:A,src:E.join(","),style:y},e.set(a,o),o}function XI(){XI=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function VI(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return zI(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zI(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function zI(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function $I(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function ef(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){$I(i,A,n,a,o,"next",e)}function o(e){$I(i,A,n,a,o,"throw",e)}a(void 0)}))}}function tf(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,rf(A.key),A)}}function rf(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Af=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._imgData=t,this._isMask=r}return function(e,t,r){return t&&tf(e.prototype,t),r&&tf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"_createImage",value:(r=ef(XI().mark((function t(){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v;return XI().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this._encodeBMP(),A=new Blob([r.buffer],{type:"image/bmp"}),n=createImageBitmap(A),i=e.MAX_AREA,a=e.MAX_DIM,o=this._imgData,s=o.width,c=o.height,g=Math.max(s/a,c/a,Math.sqrt(s*c/i)),u=Math.max(g,2),l=Math.round(10*(g+1.25))/10/u,h=Math.floor(Math.log2(l)),(I=new Array(h+2).fill(2))[0]=u,I.splice(-1,1,l/(1<<h)),f=s,C=c,t.next=17,n;case 17:B=t.sent,Q=VI(I);try{for(Q.s();!(E=Q.n()).done;)d=E.value,y=f,p=C,f=Math.floor(f/d)-1,C=Math.floor(C/d)-1,(v=new OffscreenCanvas(f,C)).getContext("2d").drawImage(B,0,0,y,p,0,0,f,C),B=v.transferToImageBitmap()}catch(e){Q.e(e)}finally{Q.f()}return o.data=null,o.bitmap=B,o.width=f,o.height=C,t.abrupt("return",o);case 25:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"_encodeBMP",value:function(){var e,t=this._imgData,r=t.width,A=t.height,n=t.kind,i=this._imgData.data,a=new Uint8Array(0),o=a,s=0;switch(n){case 1:e=1,a=new Uint8Array(this._isMask?[255,255,255,255,0,0,0,0]:[0,0,0,0,255,255,255,255]);var c=r+7>>3,g=c+3&-4;if(c!==g){for(var u=new Uint8Array(g*A),l=0,h=0,I=A*c;h<I;h+=c,l+=g)u.set(i.subarray(h,h+c),l);i=u}break;case 2:if(e=24,3&r){for(var f=3*r,C=f+3&-4,B=C-f,Q=new Uint8Array(C*A),E=0,d=0,y=A*f;d<y;d+=f){for(var p=i.subarray(d,d+f),v=0;v<f;v+=3)Q[E++]=p[v+2],Q[E++]=p[v+1],Q[E++]=p[v];E+=B}i=Q}else for(var m=0,w=i.length;m<w;m+=3){var b=i[m];i[m]=i[m+2],i[m+2]=b}break;case 3:e=32,s=3,o=new Uint8Array(68);var k=new DataView(o.buffer);se.isLittleEndian?(k.setUint32(0,255,!0),k.setUint32(4,65280,!0),k.setUint32(8,16711680,!0),k.setUint32(12,4278190080,!0)):(k.setUint32(0,4278190080,!0),k.setUint32(4,16711680,!0),k.setUint32(8,65280,!0),k.setUint32(12,255,!0));break;default:throw new Error("invalid format")}var D=0,S=40+o.length,F=14+S+a.length+i.length,x=new Uint8Array(F),R=new DataView(x.buffer);return R.setUint16(D,19778,!0),D+=2,R.setUint32(D,F,!0),D+=4,R.setUint32(D,0,!0),D+=4,R.setUint32(D,14+S+a.length,!0),D+=4,R.setUint32(D,S,!0),D+=4,R.setInt32(D,r,!0),D+=4,R.setInt32(D,-A,!0),D+=4,R.setUint16(D,1,!0),D+=2,R.setUint16(D,e,!0),D+=2,R.setUint32(D,s,!0),D+=4,R.setUint32(D,0,!0),D+=4,R.setInt32(D,0,!0),D+=4,R.setInt32(D,0,!0),D+=4,R.setUint32(D,a.length/4,!0),D+=4,R.setUint32(D,0,!0),D+=4,x.set(o,D),D+=o.length,x.set(a,D),D+=a.length,x.set(i,D),x}}],[{key:"needsToBeResized",value:function(e,t){if(e<=this._goodSquareLength&&t<=this._goodSquareLength)return!1;var r=this.MAX_DIM;if(e>r||t>r)return!0;var A=e*t;return this._hasMaxArea?A>this.MAX_AREA:!(A<Math.pow(this._goodSquareLength,2))&&(this._areGoodDims(e,t)?(this._goodSquareLength=Math.max(this._goodSquareLength,Math.floor(Math.sqrt(e*t))),!1):(this._goodSquareLength=this._guessMax(this._goodSquareLength,r,128,0),A>(this.MAX_AREA=Math.pow(this._goodSquareLength,2))))}},{key:"MAX_DIM",get:function(){return _(this,"MAX_DIM",this._guessMax(2048,65537,0,1))}},{key:"MAX_AREA",get:function(){return this._hasMaxArea=!0,_(this,"MAX_AREA",Math.pow(this._guessMax(e._goodSquareLength,this.MAX_DIM,128,0),2))},set:function(e){e>=0&&(this._hasMaxArea=!0,_(this,"MAX_AREA",e))}},{key:"setMaxArea",value:function(e){this._hasMaxArea||(this.MAX_AREA=e>>2)}},{key:"_areGoodDims",value:function(e,t){try{var r=new OffscreenCanvas(e,t),A=r.getContext("2d");A.fillRect(0,0,1,1);var n=A.getImageData(0,0,1,1).data[3];return r.width=r.height=1,0!==n}catch(e){return!1}}},{key:"_guessMax",value:function(e,t,r,A){for(;e+r+1<t;){var n=Math.floor((e+t)/2),i=A||n;this._areGoodDims(n,i)?e=n:t=n}return e}},{key:"createImage",value:(t=ef(XI().mark((function t(r){var A,n=arguments;return XI().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A=n.length>1&&void 0!==n[1]&&n[1],t.abrupt("return",new e(r,A)._createImage());case 2:case"end":return t.stop()}}),t)}))),function(e){return t.apply(this,arguments)})}]);var t,r}();function nf(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,af(A.key),A)}}function af(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}Af._goodSquareLength=2048;var of,sf=3285377520,cf=4294901760,gf=65535,uf=function(){return function(e,t,r){return t&&nf(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.h1=t?4294967295&t:sf,this.h2=t?4294967295&t:sf}),[{key:"update",value:function(e){var t,r;if("string"==typeof e){t=new Uint8Array(2*e.length),r=0;for(var A=0,n=e.length;A<n;A++){var i=e.charCodeAt(A);i<=255?t[r++]=i:(t[r++]=i>>>8,t[r++]=255&i)}}else{if(!ArrayBuffer.isView(e))throw new Error("Invalid data format, must be a string or TypedArray.");r=(t=e.slice()).byteLength}for(var a=r>>2,o=r-4*a,s=new Uint32Array(t.buffer,0,a),c=0,g=0,u=this.h1,l=this.h2,h=3432918353,I=461845907,f=11601,C=13715,B=0;B<a;B++)1&B?u=5*(u=(u^=c=(c=(c=(c=s[B])*h&cf|c*f&gf)<<15|c>>>17)*I&cf|c*C&gf)<<13|u>>>19)+3864292196:l=5*(l=(l^=g=(g=(g=(g=s[B])*h&cf|g*f&gf)<<15|g>>>17)*I&cf|g*C&gf)<<13|l>>>19)+3864292196;switch(c=0,o){case 3:c^=t[4*a+2]<<16;case 2:c^=t[4*a+1]<<8;case 1:c=(c=(c=(c^=t[4*a])*h&cf|c*f&gf)<<15|c>>>17)*I&cf|c*C&gf,1&a?u^=c:l^=c}this.h1=u,this.h2=l}},{key:"hexdigest",value:function(){var e=this.h1,t=this.h2;return e=3981806797*(e^=t>>>1)&cf|36045*e&gf,e=444984403*(e^=(t=4283543511*t&cf|(2950163797*(t<<16|e>>>16)&cf)>>>16)>>>1)&cf|60499*e&gf,((e^=(t=3301882366*t&cf|(3120437893*(t<<16|e>>>16)&cf)>>>16)>>>1)>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}])}();function lf(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return hf(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?hf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function hf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function If(e,t,r){return(t=pf(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e,t,r){return t=Bf(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Cf()?Reflect.construct(t,r||[],Bf(e).constructor):t.apply(e,r))}function Cf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cf=function(){return!!e})()}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bf(e)}function Qf(e,t){return Qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qf(e,t)}function Ef(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function df(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,pf(A.key),A)}}function yf(e,t,r){return t&&df(e.prototype,t),r&&df(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function pf(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function vf(e,t,r,A,n){for(var i=e,a=0,o=t.length-1;a<o;a++){var s,c=t[a];i=(s=i)[c]||(s[c]=[])}i[t.at(-1)]={checkFn:r,iterateFn:A,processFn:n}}var mf=[];vf(mf,[x,G,86,R],null,(function(e,t){var r=e.fnArray,A=(t-(e.iCurr-3))%4;switch(A){case 0:return r[t]===x;case 1:return r[t]===G;case 2:return 86===r[t];case 3:return r[t]===R}throw new Error("iterateInlineImageGroup - invalid pos: ".concat(A))}),(function(e,t){var r=e.fnArray,A=e.argsArray,n=e.iCurr,i=n-3,a=n-2,o=n-1,s=Math.min(Math.floor((t-i)/4),200);if(s<10)return t-(t-i)%4;for(var c=0,g=[],u=0,l=1,h=1,I=0;I<s;I++){var f=A[a+(I<<2)],C=A[o+(I<<2)][0];l+C.width>1e3&&(c=Math.max(c,l),h+=u+2,l=0,u=0),g.push({transform:f,x:l,y:h,w:C.width,h:C.height}),l+=C.width+2,u=Math.max(u,C.height)}for(var B=Math.max(c,l)+1,Q=h+u+1,E=new Uint8Array(B*Q*4),d=B<<2,y=0;y<s;y++){var p=A[o+(y<<2)][0].data,v=g[y].w<<2,m=0,w=g[y].x+g[y].y*B<<2;E.set(p.subarray(0,v),w-d);for(var b=0,k=g[y].h;b<k;b++)E.set(p.subarray(m,m+v),w),m+=v,w+=d;for(E.set(p.subarray(m-v,m),w);w>=0;)p[w-4]=p[w],p[w-3]=p[w+1],p[w-2]=p[w+2],p[w-1]=p[w+3],p[w+v]=p[w+v-4],p[w+v+1]=p[w+v-3],p[w+v+2]=p[w+v-2],p[w+v+3]=p[w+v-1],w-=d}var D={width:B,height:Q};if(e.isOffscreenCanvasSupported){var S=new OffscreenCanvas(B,Q);S.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(E.buffer),B,Q),0,0),D.bitmap=S.transferToImageBitmap(),D.data=null}else D.kind=3,D.data=E;return r.splice(i,4*s,87),A.splice(i,4*s,[D,g]),i+1})),vf(mf,[x,G,Y,R],null,(function(e,t){var r=e.fnArray,A=(t-(e.iCurr-3))%4;switch(A){case 0:return r[t]===x;case 1:return r[t]===G;case 2:return r[t]===Y;case 3:return r[t]===R}throw new Error("iterateImageMaskGroup - invalid pos: ".concat(A))}),(function(e,t){var r=e.fnArray,A=e.argsArray,n=e.iCurr,i=n-3,a=n-2,o=n-1,s=Math.floor((t-i)/4);if(s<10)return t-(t-i)%4;var c,g,u=!1,l=A[o][0],h=A[a][0],I=A[a][1],f=A[a][2],C=A[a][3];if(I===f){u=!0,c=a+4;for(var B=o+4,Q=1;Q<s;Q++,c+=4,B+=4)if(g=A[c],A[B][0]!==l||g[0]!==h||g[1]!==I||g[2]!==f||g[3]!==C){Q<10?u=!1:s=Q;break}}if(u){s=Math.min(s,1e3);var E=new Float32Array(2*s);c=a;for(var d=0;d<s;d++,c+=4)g=A[c],E[d<<1]=g[4],E[1+(d<<1)]=g[5];r.splice(i,4*s,89),A.splice(i,4*s,[l,h,I,f,C,E])}else{s=Math.min(s,100);for(var y=[],p=0;p<s;p++){g=A[a+(p<<2)];var v=A[o+(p<<2)][0];y.push({data:v.data,width:v.width,height:v.height,interpolate:v.interpolate,count:v.count,transform:g})}r.splice(i,4*s,84),A.splice(i,4*s,[y])}return i+1})),vf(mf,[x,G,P,R],(function(e){var t=e.argsArray,r=e.iCurr-2;return 0===t[r][1]&&0===t[r][2]}),(function(e,t){var r=e.fnArray,A=e.argsArray,n=(t-(e.iCurr-3))%4;switch(n){case 0:return r[t]===x;case 1:if(r[t]!==G)return!1;var i=e.iCurr-2,a=A[i][0],o=A[i][3];return A[t][0]===a&&0===A[t][1]&&0===A[t][2]&&A[t][3]===o;case 2:if(r[t]!==P)return!1;var s=A[e.iCurr-1][0];return A[t][0]===s;case 3:return r[t]===R}throw new Error("iterateImageGroup - invalid pos: ".concat(n))}),(function(e,t){var r=e.fnArray,A=e.argsArray,n=e.iCurr,i=n-3,a=n-2,o=A[n-1][0],s=A[a][0],c=A[a][3],g=Math.min(Math.floor((t-i)/4),1e3);if(g<3)return t-(t-i)%4;for(var u=new Float32Array(2*g),l=a,h=0;h<g;h++,l+=4){var I=A[l];u[h<<1]=I[4],u[1+(h<<1)]=I[5]}var f=[o,s,c,u];return r.splice(i,4*g,88),A.splice(i,4*g,f),i+1})),vf(mf,[31,N,42,L,32],null,(function(e,t){var r=e.fnArray,A=e.argsArray,n=(t-(e.iCurr-4))%5;switch(n){case 0:return 31===r[t];case 1:return r[t]===N;case 2:return 42===r[t];case 3:if(r[t]!==L)return!1;var i=e.iCurr-3,a=A[i][0],o=A[i][1];return A[t][0]===a&&A[t][1]===o;case 4:return 32===r[t]}throw new Error("iterateShowTextGroup - invalid pos: ".concat(n))}),(function(e,t){var r=e.fnArray,A=e.argsArray,n=e.iCurr,i=n-4,a=n-3,o=n-2,s=n-1,c=n,g=A[a][0],u=A[a][1],l=Math.min(Math.floor((t-i)/5),1e3);if(l<3)return t-(t-i)%5;var h=i;i>=4&&r[i-4]===r[a]&&r[i-3]===r[o]&&r[i-2]===r[s]&&r[i-1]===r[c]&&A[i-4][0]===g&&A[i-4][1]===u&&(l++,h-=5);for(var I=h+4,f=1;f<l;f++)r.splice(I,3),A.splice(I,3),I+=2;return I+1}));var wf=function(){return yf((function e(t){Ef(this,e),this.queue=t}),[{key:"_optimize",value:function(){}},{key:"push",value:function(e,t){this.queue.fnArray.push(e),this.queue.argsArray.push(t),this._optimize()}},{key:"flush",value:function(){}},{key:"reset",value:function(){}}])}(),bf=function(e){function t(e){var r;return Ef(this,t),(r=ff(this,t,[e])).state=null,r.context={iCurr:0,fnArray:e.fnArray,argsArray:e.argsArray,isOffscreenCanvasSupported:!1},r.match=null,r.lastProcessed=0,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qf(e,t)}(t,wf),yf(t,[{key:"isOffscreenCanvasSupported",set:function(e){this.context.isOffscreenCanvasSupported=e}},{key:"_optimize",value:function(){var e=this.queue.fnArray,t=this.lastProcessed,r=e.length,A=this.state,n=this.match;if(A||n||t+1!==r||mf[e[t]]){for(var i=this.context;t<r;){if(n){if((0,n.iterateFn)(i,t)){t++;continue}if(t=(0,n.processFn)(i,t+1),n=null,A=null,t>=(r=e.length))break}(A=(A||mf)[e[t]])&&!Array.isArray(A)?(i.iCurr=t,t++,!A.checkFn||(0,A.checkFn)(i)?(n=A,A=null):A=null):t++}this.state=A,this.match=n,this.lastProcessed=t}else this.lastProcessed=r}},{key:"flush",value:function(){for(;this.match;){var e=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,e),this.match=null,this.state=null,this._optimize()}}},{key:"reset",value:function(){this.state=null,this.match=null,this.lastProcessed=0}}])}(),kf=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1?arguments[1]:void 0;Ef(this,e),this._streamSink=r,this.fnArray=[],this.argsArray=[],this.optimizer=!r||256&t?new wf(this):new bf(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=r?null:Promise.resolve()}return yf(e,[{key:"isOffscreenCanvasSupported",set:function(e){this.optimizer.isOffscreenCanvasSupported=e}},{key:"length",get:function(){return this.argsArray.length}},{key:"ready",get:function(){return this._resolved||this._streamSink.ready}},{key:"totalLength",get:function(){return this._totalLength+this.length}},{key:"addOp",value:function(t,r){this.optimizer.push(t,r),this.weight++,this._streamSink&&(this.weight>=e.CHUNK_SIZE||this.weight>=e.CHUNK_SIZE_ABOUT&&(t===R||32===t))&&this.flush()}},{key:"addImageOps",value:function(e,t,r){void 0!==r&&this.addOp(J,["OC",r]),this.addOp(e,t),void 0!==r&&this.addOp(H,[])}},{key:"addDependency",value:function(e){this.dependencies.has(e)||(this.dependencies.add(e),this.addOp(1,[e]))}},{key:"addDependencies",value:function(e){var t,r=lf(e);try{for(r.s();!(t=r.n()).done;){var A=t.value;this.addDependency(A)}}catch(e){r.e(e)}finally{r.f()}}},{key:"addOpList",value:function(t){if(t instanceof e){var r,A=lf(t.dependencies);try{for(A.s();!(r=A.n()).done;){var n=r.value;this.dependencies.add(n)}}catch(e){A.e(e)}finally{A.f()}for(var i=0,a=t.length;i<a;i++)this.addOp(t.fnArray[i],t.argsArray[i])}else q('addOpList - ignoring invalid "opList" parameter.')}},{key:"getIR",value:function(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}}},{key:"_transfers",get:function(){for(var e,t=[],r=this.fnArray,A=this.argsArray,n=this.length,i=0;i<n;i++)switch(r[i]){case 86:case 87:case Y:var a=A[i][0];!a.cached&&(null===(e=a.data)||void 0===e?void 0:e.buffer)instanceof ArrayBuffer&&t.push(a.data.buffer)}return t}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.optimizer.flush();var r=this.length;this._totalLength+=r,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:e,separateAnnots:t,length:r},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}])}();function Df(){Df=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function Sf(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function Ff(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){Sf(i,A,n,a,o,"next",e)}function o(e){Sf(i,A,n,a,o,"throw",e)}a(void 0)}))}}function xf(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Rf(A.key),A)}}function Rf(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Gf(e,t,r,A){return(e=t+e*r)<0?e=0:e>A&&(e=A),e}function Nf(e,t,r,A,n,i){var a,o=n*i;a=t<=8?new Uint8Array(o):t<=16?new Uint16Array(o):new Uint32Array(o);var s,c,g,u,l=r/n,h=A/i,I=0,f=new Uint16Array(n),C=r;for(s=0;s<n;s++)f[s]=Math.floor(s*l);for(s=0;s<i;s++)for(g=Math.floor(s*h)*C,c=0;c<n;c++)u=g+f[c],a[I++]=e[u];return a}of=kf,If(kf,"CHUNK_SIZE",1e3),If(kf,"CHUNK_SIZE_ABOUT",of.CHUNK_SIZE-5);var Lf=function(){function e(t){var r=t.xref,A=t.res,n=t.image,i=t.isInline,a=void 0!==i&&i,o=t.smask,s=void 0===o?null:o,c=t.mask,g=void 0===c?null:c,u=t.isMask,l=void 0!==u&&u,h=t.pdfFunctionFactory,I=t.localColorSpaceCache;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.image=n;var f,C=n.dict,B=C.get("F","Filter");if(B instanceof Ue)f=B.name;else if(Array.isArray(B)){var Q=r.fetchIfRef(B[0]);Q instanceof Ue&&(f=Q.name)}switch(f){case"JPXDecode":var E=Va.parseImageProperties(n.stream);n.width=E.width,n.height=E.height,n.numComps=E.componentsCount,n.bitsPerComponent=E.bitsPerComponent,n.stream.reset(),this.jpxDecoderOptions={numComponents:0,isIndexedColormap:!1,smaskInData:C.has("SMaskInData")};break;case"JBIG2Decode":n.bitsPerComponent=1,n.numComps=1}var d=C.get("W","Width"),y=C.get("H","Height");if(Number.isInteger(n.width)&&n.width>0&&Number.isInteger(n.height)&&n.height>0&&(n.width!==d||n.height!==y)&&(q("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),d=n.width,y=n.height),d<1||y<1)throw new re("Invalid image width: ".concat(d," or height: ").concat(y));this.width=d,this.height=y,this.interpolate=C.get("I","Interpolate"),this.imageMask=C.get("IM","ImageMask")||!1,this.matte=C.get("Matte")||!1;var p=n.bitsPerComponent;if(!p&&!(p=C.get("BPC","BitsPerComponent"))){if(!this.imageMask)throw new re("Bits per component missing in image: ".concat(this.imageMask));p=1}if(this.bpc=p,!this.imageMask){var v,m=C.getRaw("CS")||C.getRaw("ColorSpace"),w=!!m;if(w)null!==(v=this.jpxDecoderOptions)&&void 0!==v&&v.smaskInData&&(m=Ue.get("DeviceRGBA"));else if(this.jpxDecoderOptions)m=Ue.get("DeviceRGBA");else switch(n.numComps){case 1:m=Ue.get("DeviceGray");break;case 3:m=Ue.get("DeviceRGB");break;case 4:m=Ue.get("DeviceCMYK");break;default:throw new Error("Images with ".concat(n.numComps," color components not supported."))}this.colorSpace=Ur.parse({cs:m,xref:r,resources:a?A:null,pdfFunctionFactory:h,localColorSpaceCache:I}),this.numComps=this.colorSpace.numComps,this.jpxDecoderOptions&&(this.jpxDecoderOptions.numComponents=w?this.numComp:0,this.jpxDecoderOptions.isIndexedColormap="Indexed"===this.colorSpace.name)}if(this.decode=C.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,p)||l&&!Ur.isDefaultDecode(this.decode,1))){var b;this.needsDecode=!0;var k=(1<<p)-1;this.decodeCoefficients=[],this.decodeAddends=[];for(var D="Indexed"===(null===(b=this.colorSpace)||void 0===b?void 0:b.name),S=0,F=0;S<this.decode.length;S+=2,++F){var x=this.decode[S],R=this.decode[S+1];this.decodeCoefficients[F]=D?(R-x)/k:R-x,this.decodeAddends[F]=D?x:k*x}}s?this.smask=new e({xref:r,res:A,image:s,isInline:a,pdfFunctionFactory:h,localColorSpaceCache:I}):g&&(g instanceof ze?g.dict.get("IM","ImageMask")?this.mask=new e({xref:r,res:A,image:g,isInline:a,isMask:!0,pdfFunctionFactory:h,localColorSpaceCache:I}):q("Ignoring /Mask in image without /ImageMask."):this.mask=g)}return function(e,t,r){return t&&xf(e.prototype,t),r&&xf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"drawWidth",get:function(){var e,t;return Math.max(this.width,(null===(e=this.smask)||void 0===e?void 0:e.width)||0,(null===(t=this.mask)||void 0===t?void 0:t.width)||0)}},{key:"drawHeight",get:function(){var e,t;return Math.max(this.height,(null===(e=this.smask)||void 0===e?void 0:e.height)||0,(null===(t=this.mask)||void 0===t?void 0:t.height)||0)}},{key:"decodeBuffer",value:function(e){var t,r,A=this.bpc,n=this.numComps,i=this.decodeAddends,a=this.decodeCoefficients,o=(1<<A)-1;if(1!==A){var s=0;for(t=0,r=this.width*this.height;t<r;t++)for(var c=0;c<n;c++)e[s]=Gf(e[s],i[c],a[c],o),s++}else for(t=0,r=e.length;t<r;t++)e[t]=+!e[t]}},{key:"getComponents",value:function(e){var t=this.bpc;if(8===t)return e;var r,A=this.width,n=this.height,i=this.numComps,a=A*n*i,o=0;r=t<=8?new Uint8Array(a):t<=16?new Uint16Array(a):new Uint32Array(a);var s,c,g=A*i,u=(1<<t)-1,l=0;if(1===t)for(var h,I,f,C=0;C<n;C++){for(I=l+(-8&g),f=l+g;l<I;)c=e[o++],r[l]=c>>7&1,r[l+1]=c>>6&1,r[l+2]=c>>5&1,r[l+3]=c>>4&1,r[l+4]=c>>3&1,r[l+5]=c>>2&1,r[l+6]=c>>1&1,r[l+7]=1&c,l+=8;if(l<f)for(c=e[o++],h=128;l<f;)r[l++]=+!!(c&h),h>>=1}else{var B=0;for(c=0,l=0,s=a;l<s;++l){for(l%g==0&&(c=0,B=0);B<t;)c=c<<8|e[o++],B+=8;var Q=B-t,E=c>>Q;E<0?E=0:E>u&&(E=u),r[l]=E,c&=(1<<Q)-1,B=Q}}return r}},{key:"fillOpacity",value:(a=Ff(Df().mark((function t(r,A,n,i,a){var o,s,c,g,u,l,h,I,f,C,B,Q,E;return Df().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=this.smask,s=this.mask,!o){t.next=11;break}return g=o.width,u=o.height,c=new Uint8ClampedArray(g*u),t.next=8,o.fillGrayBuffer(c);case 8:g===A&&u===n||(c=Nf(c,o.bpc,g,u,A,n)),t.next=47;break;case 11:if(!s){t.next=47;break}if(!(s instanceof e)){t.next=23;break}return g=s.width,u=s.height,c=new Uint8ClampedArray(g*u),s.numComps=1,t.next=19,s.fillGrayBuffer(c);case 19:for(l=0,h=g*u;l<h;++l)c[l]=255-c[l];g===A&&u===n||(c=Nf(c,s.bpc,g,u,A,n)),t.next=47;break;case 23:if(!Array.isArray(s)){t.next=46;break}c=new Uint8ClampedArray(A*n),f=this.numComps,l=0,h=A*n;case 27:if(!(l<h)){t.next=44;break}C=0,B=l*f,I=0;case 31:if(!(I<f)){t.next=40;break}if(!((Q=a[B+I])<s[E=2*I]||Q>s[E+1])){t.next=37;break}return C=255,t.abrupt("break",40);case 37:++I,t.next=31;break;case 40:c[l]=C;case 41:++l,t.next=27;break;case 44:t.next=47;break;case 46:throw new re("Unknown mask format.");case 47:if(c)for(l=0,I=3,h=A*i;l<h;++l,I+=4)r[I]=c[l];else for(l=0,I=3,h=A*i;l<h;++l,I+=4)r[I]=255;case 48:case"end":return t.stop()}}),t,this)}))),function(e,t,r,A,n){return a.apply(this,arguments)})},{key:"undoPreblend",value:function(e,t,r){var A,n=null===(A=this.smask)||void 0===A?void 0:A.matte;if(n)for(var i=this.colorSpace.getRgb(n,0),a=i[0],o=i[1],s=i[2],c=t*r*4,g=0;g<c;g+=4){var u=e[g+3];if(0!==u){var l=255/u;e[g]=(e[g]-a)*l+a,e[g+1]=(e[g+1]-o)*l+o,e[g+2]=(e[g+2]-s)*l+s}else e[g]=255,e[g+1]=255,e[g+2]=255}}},{key:"createImageData",value:(i=Ff(Df().mark((function e(){var t,r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x=arguments;return Df().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=x.length>0&&void 0!==x[0]&&x[0],r=x.length>1&&void 0!==x[1]&&x[1],A=this.drawWidth,n=this.drawHeight,i={width:A,height:n,interpolate:this.interpolate,kind:0,data:null},a=this.numComps,o=this.width,s=this.height,c=this.bpc,g=o*a*c+7>>3,u=r&&Af.needsToBeResized(A,n),"DeviceRGBA"!==this.colorSpace.name){e.next=21;break}return i.kind=3,e.next=15,this.getImageBytes(s*o*4,{});case 15:if(l=i.data=e.sent,!r){e.next=20;break}if(u){e.next=19;break}return e.abrupt("return",this.createBitmap(3,A,n,l));case 19:return e.abrupt("return",Af.createImage(i,!1));case 20:return e.abrupt("return",i);case 21:if(t){e.next=68;break}if("DeviceGray"===this.colorSpace.name&&1===c?h=1:"DeviceRGB"!==this.colorSpace.name||8!==c||this.needsDecode||(h=2),!h||this.smask||this.mask||A!==o||n!==s){e.next=35;break}return e.next=26,this.getImageBytes(s*g,{});case 26:if(I=e.sent,!r){e.next=31;break}if(!u){e.next=30;break}return e.abrupt("return",Af.createImage({data:I,kind:h,width:A,height:n,interpolate:this.interpolate},this.needsDecode));case 30:return e.abrupt("return",this.createBitmap(h,o,s,I));case 31:if(i.kind=h,i.data=I,this.needsDecode)for(W(1===h,"PDFImage.createImageData: The image must be grayscale."),f=i.data,C=0,B=f.length;C<B;C++)f[C]^=255;return e.abrupt("return",i);case 35:if(!(this.image instanceof Ja)||this.smask||this.mask||this.needsDecode){e.next=68;break}if(Q=s*g,!r||u){e.next=57;break}E=!1,e.t0=this.colorSpace.name,e.next="DeviceGray"===e.t0?42:"DeviceRGB"===e.t0?45:"DeviceCMYK"===e.t0?48:50;break;case 42:return Q*=4,E=!0,e.abrupt("break",50);case 45:return Q=Q/3*4,E=!0,e.abrupt("break",50);case 48:return E=!0,e.abrupt("break",50);case 50:if(!E){e.next=55;break}return e.next=53,this.getImageBytes(Q,{drawWidth:A,drawHeight:n,forceRGBA:!0});case 53:return d=e.sent,e.abrupt("return",this.createBitmap(3,A,n,d));case 55:e.next=68;break;case 57:e.t1=this.colorSpace.name,e.next="DeviceGray"===e.t1?60:"DeviceRGB"===e.t1||"DeviceCMYK"===e.t1?61:68;break;case 60:Q*=3;case 61:return i.kind=2,e.next=64,this.getImageBytes(Q,{drawWidth:A,drawHeight:n,forceRGB:!0});case 64:if(i.data=e.sent,!u){e.next=67;break}return e.abrupt("return",Af.createImage(i));case 67:return e.abrupt("return",i);case 68:return e.next=70,this.getImageBytes(s*g,{internal:!0});case 70:if(y=e.sent,p=0|y.length/g*n/s,v=this.getComponents(y),r&&!u&&(b=new OffscreenCanvas(A,n),k=b.getContext("2d"),D=k.createImageData(A,n),S=D.data),i.kind=3,t||this.smask||this.mask){e.next=80;break}!r||u?(i.kind=2,S=new Uint8ClampedArray(A*n*3),m=0):(new Uint32Array(S.buffer).fill(se.isLittleEndian?4278190080:255),m=1),w=!1,e.next=85;break;case 80:return r&&!u||(S=new Uint8ClampedArray(A*n*4)),m=1,w=!0,e.next=85,this.fillOpacity(S,A,n,p,v);case 85:if(this.needsDecode&&this.decodeBuffer(v),this.colorSpace.fillRgb(S,o,s,A,n,p,c,v,m),w&&this.undoPreblend(S,A,p),!r||u){e.next=92;break}return k.putImageData(D,0,0),F=b.transferToImageBitmap(),e.abrupt("return",{data:null,width:A,height:n,bitmap:F,interpolate:this.interpolate});case 92:if(i.data=S,!u){e.next=95;break}return e.abrupt("return",Af.createImage(i));case 95:return e.abrupt("return",i);case 96:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"fillGrayBuffer",value:(n=Ff(Df().mark((function e(t){var r,A,n,i,a,o,s,c,g,u;return Df().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(1===(r=this.numComps)){e.next=3;break}throw new re("Reading gray scale from a color image: ".concat(r));case 3:return A=this.width,n=this.height,i=this.bpc,a=A*r*i+7>>3,e.next=9,this.getImageBytes(n*a,{internal:!0});case 9:if(o=e.sent,s=this.getComponents(o),1!==i){e.next=15;break}if(g=A*n,this.needsDecode)for(c=0;c<g;++c)t[c]=s[c]-1&255;else for(c=0;c<g;++c)t[c]=255&-s[c];return e.abrupt("return");case 15:for(this.needsDecode&&this.decodeBuffer(s),g=A*n,u=255/((1<<i)-1),c=0;c<g;++c)t[c]=u*s[c];case 19:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"createBitmap",value:function(e,t,r,A){var n,i=new OffscreenCanvas(t,r),a=i.getContext("2d");return 3===e?n=new ImageData(A,t,r):(n=a.createImageData(t,r),function(e){switch(e.kind){case 1:return $i(e);case 2:return function(e){var t=e.src,r=e.srcPos,A=void 0===r?0:r,n=e.dest,i=e.destPos,a=void 0===i?0:i,o=(e.width,e.height,0),s=t.length>>2,c=new Uint32Array(t.buffer,A,s);if(se.isLittleEndian){for(;o<s-2;o+=3,a+=4){var g=c[o],u=c[o+1],l=c[o+2];n[a]=4278190080|g,n[a+1]=g>>>24|u<<8|4278190080,n[a+2]=u>>>16|l<<16|4278190080,n[a+3]=l>>>8|4278190080}for(var h=4*o,I=t.length;h<I;h+=3)n[a++]=t[h]|t[h+1]<<8|t[h+2]<<16|4278190080}else{for(;o<s-2;o+=3,a+=4){var f=c[o],C=c[o+1],B=c[o+2];n[a]=255|f,n[a+1]=f<<24|C>>>8|255,n[a+2]=C<<16|B>>>16|255,n[a+3]=B<<8|255}for(var Q=4*o,E=t.length;Q<E;Q+=3)n[a++]=t[Q]<<24|t[Q+1]<<16|t[Q+2]<<8|255}return{srcPos:A,destPos:a}}(e)}}({kind:e,src:A,dest:new Uint32Array(n.data.buffer),width:t,height:r,inverseDecode:this.needsDecode})),a.putImageData(n,0,0),{data:null,width:t,height:r,bitmap:i.transferToImageBitmap(),interpolate:this.interpolate}}},{key:"getImageBytes",value:(A=Ff(Df().mark((function e(t,r){var A,n,i,a,o,s,c,g,u;return Df().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A=r.drawWidth,n=r.drawHeight,i=r.forceRGBA,a=void 0!==i&&i,o=r.forceRGB,s=void 0!==o&&o,c=r.internal,g=void 0!==c&&c,this.image.reset(),this.image.drawWidth=A||this.width,this.image.drawHeight=n||this.height,this.image.forceRGBA=!!a,this.image.forceRGB=!!s,e.next=8,this.image.getImageData(t,this.jpxDecoderOptions);case 8:if(u=e.sent,!(g||this.image instanceof XA)){e.next=11;break}return e.abrupt("return",u);case 11:return W(u instanceof Uint8Array,'PDFImage.getImageBytes: Unsupported "imageBytes" type.'),e.abrupt("return",new Uint8Array(u));case 13:case"end":return e.stop()}}),e,this)}))),function(e,t){return A.apply(this,arguments)})}],[{key:"buildImage",value:(r=Ff(Df().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I;return Df().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A=r.xref,n=r.res,i=r.image,a=r.isInline,o=void 0!==a&&a,s=r.pdfFunctionFactory,c=r.localColorSpaceCache,g=i,u=null,l=null,h=i.dict.get("SMask"),I=i.dict.get("Mask"),h?h instanceof ze?u=h:q("Unsupported /SMask format."):I&&(I instanceof ze||Array.isArray(I)?l=I:q("Unsupported /Mask format.")),t.abrupt("return",new e({xref:A,res:n,image:g,isInline:o,smask:u,mask:l,pdfFunctionFactory:s,localColorSpaceCache:c}));case 8:case"end":return t.stop()}}),t)}))),function(e){return r.apply(this,arguments)})},{key:"createRawMask",value:function(e){var t,r,A=e.imgArray,n=e.width,i=e.height,a=e.imageIsFromDecodeStream,o=e.inverseDecode,s=e.interpolate,c=(n+7>>3)*i,g=A.byteLength;if(!a||o&&c!==g?o?((t=new Uint8Array(c)).set(A),t.fill(255,g)):t=new Uint8Array(A):t=A,o)for(r=0;r<g;r++)t[r]^=255;return{data:t,width:n,height:i,interpolate:s}}},{key:"createMask",value:(t=Ff(Df().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f;return Df().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.imgArray,A=t.width,n=t.height,i=t.imageIsFromDecodeStream,a=t.inverseDecode,o=t.interpolate,s=t.isOffscreenCanvasSupported,c=void 0!==s&&s,!(g=1===A&&1===n&&a===(0===r.length||!!(128&r[0])))){e.next=4;break}return e.abrupt("return",{isSingleOpaquePixel:g});case 4:if(!c){e.next=16;break}if(!Af.needsToBeResized(A,n)){e.next=9;break}return u=new Uint8ClampedArray(A*n*4),$i({src:r,dest:u,width:A,height:n,nonBlackColor:0,inverseDecode:a}),e.abrupt("return",Af.createImage({kind:3,data:u,width:A,height:n,interpolate:o}));case 9:return l=new OffscreenCanvas(A,n),h=l.getContext("2d"),I=h.createImageData(A,n),$i({src:r,dest:I.data,width:A,height:n,nonBlackColor:0,inverseDecode:a}),h.putImageData(I,0,0),f=l.transferToImageBitmap(),e.abrupt("return",{data:null,width:A,height:n,interpolate:o,bitmap:f});case 16:return e.abrupt("return",this.createRawMask({imgArray:r,width:A,height:n,inverseDecode:a,imageIsFromDecodeStream:i,interpolate:o}));case 17:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]);var t,r,A,n,i,a}();function Uf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Wf(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mf(e){return function(e){if(Array.isArray(e))return Zf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Wf(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jf(){Jf=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function Hf(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function Yf(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){Hf(i,A,n,a,o,"next",e)}function o(e){Hf(i,A,n,a,o,"throw",e)}a(void 0)}))}}function Pf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,qf(A.key),A)}}function Kf(e,t,r){return t&&Of(e.prototype,t),r&&Of(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tf(e,t,r){return(t=qf(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function jf(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Wf(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function Wf(e,t){if(e){if("string"==typeof e)return Zf(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zf(e,t):void 0}}function Zf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var _f=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,isOffscreenCanvasSupported:!1,canvasMaxAreaInBytes:-1,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),Xf=Promise.resolve();function Vf(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(e)){var r,A=jf(e);try{for(A.s();!(r=A.n()).done;){var n=Vf(r.value,!0);if(n)return n}}catch(e){A.e(e)}finally{A.f()}return q("Unsupported blend mode Array: ".concat(e)),"source-over"}if(!(e instanceof Ue))return t?null:"source-over";switch(e.name){case"Normal":case"Compatible":return"source-over";case"Multiply":return"multiply";case"Screen":return"screen";case"Overlay":return"overlay";case"Darken":return"darken";case"Lighten":return"lighten";case"ColorDodge":return"color-dodge";case"ColorBurn":return"color-burn";case"HardLight":return"hard-light";case"SoftLight":return"soft-light";case"Difference":return"difference";case"Exclusion":return"exclusion";case"Hue":return"hue";case"Saturation":return"saturation";case"Color":return"color";case"Luminosity":return"luminosity"}return t?null:(q("Unsupported blend mode: ".concat(e.name)),"source-over")}function zf(e,t){var r;t.objId&&e.addDependency(t.objId),e.addImageOps(t.fn,t.args,t.optionalContent),t.fn===Y&&(null===(r=t.args[0])||void 0===r?void 0:r.count)>0&&t.args[0].count++}var $f=function(){function e(){Pf(this,e),this.reset()}return Kf(e,[{key:"check",value:function(){return!(++this.checked<e.CHECK_TIME_EVERY)&&(this.checked=0,this.endTime<=Date.now())}},{key:"reset",value:function(){this.endTime=Date.now()+e.TIME_SLOT_DURATION_MS,this.checked=0}}])}();Tf($f,"TIME_SLOT_DURATION_MS",20),Tf($f,"CHECK_TIME_EVERY",100);var eC=function(){function e(t){var r=t.xref,A=t.handler,n=t.pageIndex,i=t.idFactory,a=t.fontCache,o=t.builtInCMapCache,s=t.standardFontDataCache,c=t.globalImageCache,g=t.systemFontCache,u=t.options,l=void 0===u?null:u;Pf(this,e),this.xref=r,this.handler=A,this.pageIndex=n,this.idFactory=i,this.fontCache=a,this.builtInCMapCache=o,this.standardFontDataCache=s,this.globalImageCache=c,this.systemFontCache=g,this.options=l||_f,this.type3FontRefs=null,this._regionalImageCache=new Yh,this._fetchBuiltInCMapBound=this.fetchBuiltInCMap.bind(this),Af.setMaxArea(this.options.canvasMaxAreaInBytes)}return Kf(e,[{key:"_pdfFunctionFactory",get:function(){return _(this,"_pdfFunctionFactory",new iI({xref:this.xref,isEvalSupported:this.options.isEvalSupported}))}},{key:"parsingType3Font",get:function(){return!!this.type3FontRefs}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=Object.create(this);return t.options=Object.assign(Object.create(null),this.options,e),t}},{key:"hasBlendModes",value:function(e,t){if(!(e instanceof He))return!1;if(e.objId&&t.has(e.objId))return!1;var r=new Pe(t);e.objId&&r.put(e.objId);for(var A=[e],n=this.xref;A.length;){var i=A.shift(),a=i.get("ExtGState");if(a instanceof He){var o,s=jf(a.getRawValues());try{for(s.s();!(o=s.n()).done;){var c=o.value;if(c instanceof Ye){if(r.has(c))continue;try{c=n.fetch(c)}catch(e){r.put(c),T('hasBlendModes - ignoring ExtGState: "'.concat(e,'".'));continue}}if(c instanceof He){c.objId&&r.put(c.objId);var g=c.get("BM");if(g instanceof Ue){if("Normal"!==g.name)return!0}else if(void 0!==g&&Array.isArray(g)){var u,l=jf(g);try{for(l.s();!(u=l.n()).done;){var h=u.value;if(h instanceof Ue&&"Normal"!==h.name)return!0}}catch(e){l.e(e)}finally{l.f()}}}}}catch(e){s.e(e)}finally{s.f()}}var I=i.get("XObject");if(I instanceof He){var f,C=jf(I.getRawValues());try{for(C.s();!(f=C.n()).done;){var B=f.value;if(B instanceof Ye){if(r.has(B))continue;try{B=n.fetch(B)}catch(e){r.put(B),T('hasBlendModes - ignoring XObject: "'.concat(e,'".'));continue}}if(B instanceof ze){B.dict.objId&&r.put(B.dict.objId);var Q=B.dict.get("Resources");Q instanceof He&&(Q.objId&&r.has(Q.objId)||(A.push(Q),Q.objId&&r.put(Q.objId)))}}}catch(e){C.e(e)}finally{C.f()}}}var E,d=jf(r);try{for(d.s();!(E=d.n()).done;){var y=E.value;t.put(y)}}catch(e){d.e(e)}finally{d.f()}return!1}},{key:"fetchBuiltInCMap",value:(u=Yf(Jf().mark((function e(t){var r,A,n,i;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this.builtInCMapCache.get(t))){e.next=3;break}return e.abrupt("return",r);case 3:if(null===this.options.cMapUrl){e.next=19;break}return n="".concat(this.options.cMapUrl).concat(t,".bcmap"),e.next=7,fetch(n);case 7:if((i=e.sent).ok){e.next=10;break}throw new Error('fetchBuiltInCMap: failed to fetch file "'.concat(n,'" with "').concat(i.statusText,'".'));case 10:return e.t0=Uint8Array,e.next=13,i.arrayBuffer();case 13:e.t1=e.sent,e.t2=new e.t0(e.t1),e.t3=F.BINARY,A={cMapData:e.t2,compressionType:e.t3},e.next=22;break;case 19:return e.next=21,this.handler.sendWithPromise("FetchBuiltInCMap",{name:t});case 21:A=e.sent;case 22:return A.compressionType!==F.NONE&&this.builtInCMapCache.set(t,A),e.abrupt("return",A);case 24:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"fetchStandardFontData",value:(g=Yf(Jf().mark((function e(t){var r,A,n,i,a,o;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this.standardFontDataCache.get(t))){e.next=3;break}return e.abrupt("return",new ar(r));case 3:if(!this.options.useSystemFonts||"Symbol"===t||"ZapfDingbats"===t){e.next=5;break}return e.abrupt("return",null);case 5:if(A=kc(),n=A[t],null===this.options.standardFontDataUrl){e.next=22;break}return a="".concat(this.options.standardFontDataUrl).concat(n),e.next=10,fetch(a);case 10:if((o=e.sent).ok){e.next=15;break}q('fetchStandardFontData: failed to fetch file "'.concat(a,'" with "').concat(o.statusText,'".')),e.next=20;break;case 15:return e.t0=Uint8Array,e.next=18,o.arrayBuffer();case 18:e.t1=e.sent,i=new e.t0(e.t1);case 20:e.next=31;break;case 22:return e.prev=22,e.next=25,this.handler.sendWithPromise("FetchStandardFontData",{filename:n});case 25:i=e.sent,e.next=31;break;case 28:e.prev=28,e.t2=e.catch(22),q('fetchStandardFontData: failed to fetch file "'.concat(n,'" with "').concat(e.t2,'".'));case 31:if(i){e.next=33;break}return e.abrupt("return",null);case 33:return this.standardFontDataCache.set(t,i),e.abrupt("return",new ar(i));case 35:case"end":return e.stop()}}),e,this,[[22,28]])}))),function(e){return g.apply(this,arguments)})},{key:"buildFormXObject",value:(c=Yf(Jf().mark((function e(t,r,A,n,i,a,o){var s,c,g,u,l,h,I,f,C,B,Q;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=r.dict,c=Ft(s.getArray("Matrix"),null),g=Rt(s.getArray("BBox"),null),!s.has("OC")){e.next=7;break}return e.next=6,this.parseMarkedContentProps(s.get("OC"),t);case 6:u=e.sent;case 7:if(void 0!==u&&n.addOp(J,["OC",u]),!(h=s.get("Group"))){e.next=28;break}if(l={matrix:c,bbox:g,smask:A,isolated:!1,knockout:!1},I=h.get("S"),f=null,!Ke(I,"Transparency")){e.next=26;break}if(l.isolated=h.get("I")||!1,l.knockout=h.get("K")||!1,!h.has("CS")){e.next=26;break}if(C=h.getRaw("CS"),!(B=Ur.getCached(C,this.xref,o))){e.next=23;break}f=B,e.next=26;break;case 23:return e.next=25,this.parseColorSpace({cs:C,resources:t,localColorSpaceCache:o});case 25:f=e.sent;case 26:null!=A&&A.backdrop&&(f||(f=Ur.singletons.rgb),A.backdrop=f.getRgb(A.backdrop,0)),n.addOp(76,[l]);case 28:return Q=h?[c,null]:[c,g],n.addOp(74,Q),e.next=32,this.getOperatorList({stream:r,task:i,resources:s.get("Resources")||t,operatorList:n,initialState:a});case 32:n.addOp(75,[]),h&&n.addOp(77,[l]),void 0!==u&&n.addOp(H,[]);case 35:case"end":return e.stop()}}),e,this)}))),function(e,t,r,A,n,i,a){return c.apply(this,arguments)})},{key:"_sendImgData",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],A=t?[t.bitmap||t.data.buffer]:null;return this.parsingType3Font||r?this.handler.send("commonobj",[e,"Image",t],A):this.handler.send("obj",[e,this.pageIndex,"Image",t],A)}},{key:"buildPaintImageXObject",value:(s=Yf(Jf().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G=this;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.resources,A=t.image,n=t.isInline,i=void 0!==n&&n,a=t.operatorList,o=t.cacheKey,s=t.localImageCache,c=t.localColorSpaceCache,g=A.dict,u=g.objId,l=g.get("W","Width"),h=g.get("H","Height"),l&&"number"==typeof l&&h&&"number"==typeof h){e.next=8;break}return q("Image dimensions are missing, or not numbers."),e.abrupt("return");case 8:if(!(-1!==(I=this.options.maxImageSize)&&l*h>I)){e.next=15;break}if(f="Image exceeded maximum allowed size and was removed.",!this.options.ignoreErrors){e.next=14;break}return q(f),e.abrupt("return");case 14:throw new Error(f);case 15:if(!g.has("OC")){e.next=19;break}return e.next=18,this.parseMarkedContentProps(g.get("OC"),r);case 18:C=e.sent;case 19:if(!g.get("IM","ImageMask")){e.next=47;break}if(E=g.get("I","Interpolate"),d=l+7>>3,y=A.getBytes(d*h),p=g.getArray("D","Decode"),!this.parsingType3Font){e.next=32;break}return(B=Lf.createRawMask({imgArray:y,width:l,height:h,imageIsFromDecodeStream:A instanceof XA,inverseDecode:(null==p?void 0:p[0])>0,interpolate:E})).cached=!!o,Q=[B],a.addImageOps(Y,Q,C),o&&(v={fn:Y,args:Q,optionalContent:C},s.set(o,u,v),u&&this._regionalImageCache.set(null,u,v)),e.abrupt("return");case 32:return e.next=34,Lf.createMask({imgArray:y,width:l,height:h,imageIsFromDecodeStream:A instanceof XA,inverseDecode:(null==p?void 0:p[0])>0,interpolate:E,isOffscreenCanvasSupported:this.options.isOffscreenCanvasSupported});case 34:if(!(B=e.sent).isSingleOpaquePixel){e.next=39;break}return a.addImageOps(90,[],C),o&&(m={fn:90,args:[],optionalContent:C},s.set(o,u,m),u&&this._regionalImageCache.set(null,u,m)),e.abrupt("return");case 39:return w="mask_".concat(this.idFactory.createObjId()),a.addDependency(w),B.dataLen=B.bitmap?B.width*B.height*4:B.data.length,this._sendImgData(w,B),Q=[{data:w,width:B.width,height:B.height,interpolate:B.interpolate,count:1}],a.addImageOps(Y,Q,C),o&&(b={objId:w,fn:Y,args:Q,optionalContent:C},s.set(o,u,b),u&&this._regionalImageCache.set(null,u,b)),e.abrupt("return");case 47:if(!(i&&l+h<200)||g.has("SMask")||g.has("Mask")){e.next=65;break}return e.prev=49,k=new Lf({xref:this.xref,res:r,image:A,isInline:i,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:c}),e.next=53,k.createImageData(!0,!1);case 53:B=e.sent,a.isOffscreenCanvasSupported=this.options.isOffscreenCanvasSupported,a.addImageOps(86,[B],C),e.next=64;break;case 58:if(e.prev=58,e.t0=e.catch(49),D='Unable to decode inline image: "'.concat(e.t0,'".'),this.options.ignoreErrors){e.next=63;break}throw new Error(D);case 63:q(D);case 64:return e.abrupt("return");case 65:if(S="img_".concat(this.idFactory.createObjId()),F=!1,this.parsingType3Font?S="".concat(this.idFactory.getDocId(),"_type3_").concat(S):o&&u&&(F=this.globalImageCache.shouldCache(u,this.pageIndex))&&(W(!i,"Cannot cache an inline image globally."),S="".concat(this.idFactory.getDocId(),"_").concat(S)),a.addDependency(S),Q=[S,l,h],a.addImageOps(P,Q,C),!F){e.next=83;break}if(!this.globalImageCache.hasDecodeFailed(u)){e.next=75;break}return this.globalImageCache.setData(u,{objId:S,fn:P,args:Q,optionalContent:C,byteSize:0}),this._sendImgData(S,null,F),e.abrupt("return");case 75:if(!(l*h>25e4||g.has("SMask")||g.has("Mask"))){e.next=83;break}return e.next=78,this.handler.sendWithPromise("commonobj",[S,"CopyLocalImage",{imageRef:u}]);case 78:if(!(x=e.sent)){e.next=83;break}return this.globalImageCache.setData(u,{objId:S,fn:P,args:Q,optionalContent:C,byteSize:0}),this.globalImageCache.addByteSize(u,x),e.abrupt("return");case 83:Lf.buildImage({xref:this.xref,res:r,image:A,isInline:i,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:c}).then(function(){var e=Yf(Jf().mark((function e(t){return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.createImageData(!1,G.options.isOffscreenCanvasSupported);case 2:return(B=e.sent).dataLen=B.bitmap?B.width*B.height*4:B.data.length,B.ref=u,F&&G.globalImageCache.addByteSize(u,B.dataLen),e.abrupt("return",G._sendImgData(S,B,F));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){return q('Unable to decode image "'.concat(S,'": "').concat(e,'".')),u&&G.globalImageCache.addDecodeFailed(u),G._sendImgData(S,null,F)})),o&&(R={objId:S,fn:P,args:Q,optionalContent:C},s.set(o,u,R),u&&(this._regionalImageCache.set(null,u,R),F&&this.globalImageCache.setData(u,{objId:S,fn:P,args:Q,optionalContent:C,byteSize:0})));case 85:case"end":return e.stop()}}),e,this,[[49,58]])}))),function(e){return s.apply(this,arguments)})},{key:"handleSMask",value:function(e,t,r,A,n,i){var a=e.get("G"),o={subtype:e.get("S").name,backdrop:e.get("BC")},s=e.get("TR");if(sI(s)){for(var c=this._pdfFunctionFactory.create(s),g=new Uint8Array(256),u=new Float32Array(1),l=0;l<256;l++)u[0]=l/255,c(u,0,u,0),g[l]=255*u[0]|0;o.transferMap=g}return this.buildFormXObject(t,a,o,r,A,n.state.clone(),i)}},{key:"handleTransferFunction",value:function(e){var t;if(Array.isArray(e))t=e;else{if(!sI(e))return null;t=[e]}var r,A=[],n=0,i=0,a=jf(t);try{for(a.s();!(r=a.n()).done;){var o=r.value,s=this.xref.fetchIfRef(o);if(n++,Ke(s,"Identity"))A.push(null);else{if(!sI(s))return null;for(var c=this._pdfFunctionFactory.create(s),g=new Uint8Array(256),u=new Float32Array(1),l=0;l<256;l++)u[0]=l/255,c(u,0,u,0),g[l]=255*u[0]|0;A.push(g),i++}}}catch(e){a.e(e)}finally{a.f()}return 1!==n&&4!==n||0===i?null:A}},{key:"handleTilingType",value:function(e,t,r,A,n,i,a,o){var s=this,c=new kf,g=He.merge({xref:this.xref,dictArray:[n.get("Resources"),r]});return this.getOperatorList({stream:A,task:a,resources:g,operatorList:c}).then((function(){var r=c.getIR(),A=Bl(r,n,t);i.addDependencies(c.dependencies),i.addOp(e,A),n.objId&&o.set(null,n.objId,{operatorListIR:r,dict:n})})).catch((function(e){if(!(e instanceof Ae)){if(!s.options.ignoreErrors)throw e;q('handleTilingType - ignoring pattern: "'.concat(e,'".'))}}))}},{key:"handleSetFont",value:(o=Yf(Jf().mark((function e(t,r,A,n,i,a){var o,s,c,g,u=arguments;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=u.length>6&&void 0!==u[6]?u[6]:null,s=u.length>7&&void 0!==u[7]?u[7]:null,c=(null==r?void 0:r[0])instanceof Ue?r[0].name:null,e.next=5,this.loadFont(c,A,t,o,s);case 5:if(!(g=e.sent).font.isType3Font){e.next=16;break}return e.prev=7,e.next=10,g.loadType3Data(this,t,i);case 10:n.addDependencies(g.type3Dependencies),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(7),g=new tC({loadedName:"g_font_error",font:new _u("Type3 font load error: ".concat(e.t0)),dict:g.font,evaluatorOptions:this.options});case 16:return a.font=g.font,g.send(this.handler),e.abrupt("return",g.loadedName);case 19:case"end":return e.stop()}}),e,this,[[7,13]])}))),function(e,t,r,A,n,i){return o.apply(this,arguments)})},{key:"handleText",value:function(t,r){var A=r.font,n=A.charsToGlyphs(t);return A.data&&(4&r.textRenderingMode||"Pattern"===r.fillColorSpace.name||A.disableFontFace||this.options.disableFontFace)&&e.buildFontPaths(A,n,this.handler,this.options),n}},{key:"ensureStateFont",value:function(e){if(!e.font){var t=new re("Missing setFont (Tf) operator before text rendering operator.");if(!this.options.ignoreErrors)throw t;q('ensureStateFont: "'.concat(t,'".'))}}},{key:"setGState",value:(a=Yf(Jf().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B=this;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.resources,A=t.gState,n=t.operatorList,i=t.cacheKey,a=t.task,o=t.stateManager,s=t.localGStateCache,c=t.localColorSpaceCache,g=A.objId,u=!0,l=[],h=Promise.resolve(),I=jf(A.getKeys()),e.prev=6,C=Jf().mark((function e(){var t,i,s;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=f.value,i=A.get(t),e.t0=t,e.next="Type"===e.t0?5:"LW"===e.t0||"LC"===e.t0||"LJ"===e.t0||"ML"===e.t0||"D"===e.t0||"RI"===e.t0||"FL"===e.t0||"CA"===e.t0||"ca"===e.t0?6:"Font"===e.t0?8:"BM"===e.t0?11:"SMask"===e.t0?13:"TR"===e.t0?18:"OP"===e.t0||"op"===e.t0||"OPM"===e.t0||"BG"===e.t0||"BG2"===e.t0||"UCR"===e.t0||"UCR2"===e.t0||"TR2"===e.t0||"HT"===e.t0||"SM"===e.t0||"SA"===e.t0||"AIS"===e.t0||"TK"===e.t0?21:23;break;case 5:return e.abrupt("break",25);case 6:return l.push([t,i]),e.abrupt("break",25);case 8:return u=!1,h=h.then((function(){return B.handleSetFont(r,null,i[0],n,a,o.state).then((function(e){n.addDependency(e),l.push([t,[e,i[1]]])}))})),e.abrupt("break",25);case 11:return l.push([t,Vf(i)]),e.abrupt("break",25);case 13:if(!Ke(i,"None")){e.next=16;break}return l.push([t,!1]),e.abrupt("break",25);case 16:return i instanceof He?(u=!1,h=h.then((function(){return B.handleSMask(i,r,n,a,o,c)})),l.push([t,!0])):q("Unsupported SMask type"),e.abrupt("break",25);case 18:return s=B.handleTransferFunction(i),l.push([t,s]),e.abrupt("break",25);case 21:return T("graphic state operator "+t),e.abrupt("break",25);case 23:return T("Unknown graphic state operator "+t),e.abrupt("break",25);case 25:case"end":return e.stop()}}),e)})),I.s();case 9:if((f=I.n()).done){e.next=13;break}return e.delegateYield(C(),"t0",11);case 11:e.next=9;break;case 13:e.next=18;break;case 15:e.prev=15,e.t1=e.catch(6),I.e(e.t1);case 18:return e.prev=18,I.f(),e.finish(18);case 21:return e.next=23,h;case 23:l.length>0&&n.addOp(9,[l]),u&&s.set(i,g,l);case 25:case"end":return e.stop()}}),e,null,[[6,15,18,21]])}))),function(e){return a.apply(this,arguments)})},{key:"loadFont",value:function(t,r,A){var n,i,a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,c=function(){var e=Yf(Jf().mark((function e(){return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new tC({loadedName:"g_font_error",font:new _u('Font "'.concat(t,'" is not available.')),dict:r,evaluatorOptions:a.options}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(r)r instanceof Ye&&(i=r);else{var g=A.get("Font");g&&(i=g.getRaw(t))}if(i){var u;if(null!==(u=this.type3FontRefs)&&void 0!==u&&u.has(i))return c();if(this.fontCache.has(i))return this.fontCache.get(i);try{r=this.xref.fetchIfRef(i)}catch(e){q('loadFont - lookup failed: "'.concat(e,'".'))}}if(!(r instanceof He)){if(!this.options.ignoreErrors&&!this.parsingType3Font)return q('Font "'.concat(t,'" is not available.')),c();q('Font "'.concat(t,'" is not available -- attempting to fallback to a default font.')),r=o||e.fallbackFontDict}if(r.cacheKey&&this.fontCache.has(r.cacheKey))return this.fontCache.get(r.cacheKey);var l,h=Promise.withResolvers(),I=h.promise,f=h.resolve;try{(l=this.preEvaluateFont(r)).cssFontInfo=s}catch(e){return q('loadFont - preEvaluateFont failed: "'.concat(e,'".')),c()}var C,B=l,Q=B.descriptor,E=B.hash,d=i instanceof Ye;if(E&&Q instanceof He){var y=Q.fontAliases||(Q.fontAliases=Object.create(null));if(y[E]){var p=y[E].aliasRef;if(d&&p&&this.fontCache.has(p))return this.fontCache.putAlias(i,p),this.fontCache.get(i)}else y[E]={fontID:this.idFactory.createFontId()};d&&(y[E].aliasRef=i),C=y[E].fontID}else C=this.idFactory.createFontId();return W(null===(n=C)||void 0===n?void 0:n.startsWith("f"),'The "fontID" must be (correctly) defined.'),d?this.fontCache.put(i,I):(r.cacheKey="cacheKey_".concat(C),this.fontCache.put(r.cacheKey,I)),r.loadedName="".concat(this.idFactory.getDocId(),"_").concat(C),this.translateFont(l).then((function(e){f(new tC({loadedName:r.loadedName,font:e,dict:r,evaluatorOptions:a.options}))})).catch((function(e){q('loadFont - translateFont failed: "'.concat(e,'".')),f(new tC({loadedName:r.loadedName,font:new _u(e instanceof Error?e.message:e),dict:r,evaluatorOptions:a.options}))})),I}},{key:"buildPath",value:function(e,t,r){var A=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=e.length-1;if(r||(r=[]),n<0||91!==e.fnArray[n]){var i;switch(A&&(q('Encountered path operator "'.concat(t,'" inside of a text object.')),e.addOp(x,null)),t){case 19:var a=r[0]+r[2],o=r[1]+r[3];i=[Math.min(r[0],a),Math.min(r[1],o),Math.max(r[0],a),Math.max(r[1],o)];break;case 13:case 14:i=[r[0],r[1],r[0],r[1]];break;default:i=[1/0,1/0,-1/0,-1/0]}e.addOp(91,[[t],r,i]),A&&e.addOp(R,null)}else{var s,c=e.argsArray[n];c[0].push(t),(s=c[1]).push.apply(s,Mf(r));var g=c[2];switch(t){case 19:var u=r[0]+r[2],l=r[1]+r[3];g[0]=Math.min(g[0],r[0],u),g[1]=Math.min(g[1],r[1],l),g[2]=Math.max(g[2],r[0],u),g[3]=Math.max(g[3],r[1],l);break;case 13:case 14:g[0]=Math.min(g[0],r[0]),g[1]=Math.min(g[1],r[1]),g[2]=Math.max(g[2],r[0]),g[3]=Math.max(g[3],r[1])}}}},{key:"parseColorSpace",value:function(e){var t=this,r=e.cs,A=e.resources,n=e.localColorSpaceCache;return Ur.parseAsync({cs:r,xref:this.xref,resources:A,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:n}).catch((function(e){if(e instanceof Ae)return null;if(t.options.ignoreErrors)return q('parseColorSpace - ignoring ColorSpace: "'.concat(e,'".')),null;throw e}))}},{key:"parseShading",value:function(e){var t,r=e.shading,A=e.resources,n=e.localColorSpaceCache,i=e.localShadingPatternCache,a=i.get(r);if(a)return a;try{t=cl.parseShading(r,this.xref,A,this._pdfFunctionFactory,n).getIR()}catch(e){if(e instanceof Ae)return null;if(this.options.ignoreErrors)return q('parseShading - ignoring shading: "'.concat(e,'".')),i.set(r,null),null;throw e}return a="pattern_".concat(this.idFactory.createObjId()),this.parsingType3Font&&(a="".concat(this.idFactory.getDocId(),"_type3_").concat(a)),i.set(r,a),this.parsingType3Font?this.handler.send("commonobj",[a,"Pattern",t]):this.handler.send("obj",[a,this.pageIndex,"Pattern",t]),a}},{key:"handleColorN",value:function(e,t,r,A,n,i,a,o,s,c){var g=r.pop();if(g instanceof Ue){var u=n.getRaw(g.name),l=u instanceof Ye&&s.getByRef(u);if(l)try{var h=A.base?A.base.getRgb(r,0):null,I=Bl(l.operatorListIR,l.dict,h);return void e.addOp(t,I)}catch(e){}var f=this.xref.fetchIfRef(u);if(f){var C=f instanceof ze?f.dict:f,B=C.get("PatternType");if(1===B){var Q=A.base?A.base.getRgb(r,0):null;return this.handleTilingType(t,Q,i,f,C,e,a,s)}if(2===B){var E=C.get("Shading"),d=this.parseShading({shading:E,resources:i,localColorSpaceCache:o,localShadingPatternCache:c});if(d){var y=Ft(C.getArray("Matrix"),null);e.addOp(t,["Shading",d,y])}return}throw new re("Unknown PatternType: ".concat(B))}}throw new re("Unknown PatternName: ".concat(g))}},{key:"_parseVisibilityExpression",value:function(e,t,r){if(++t>10)q("Visibility expression is too deeply nested");else{var A=e.length,n=this.xref.fetchIfRef(e[0]);if(!(A<2)&&n instanceof Ue){switch(n.name){case"And":case"Or":case"Not":r.push(n.name);break;default:return void q("Invalid operator ".concat(n.name," in visibility expression"))}for(var i=1;i<A;i++){var a=e[i],o=this.xref.fetchIfRef(a);if(Array.isArray(o)){var s=[];r.push(s),this._parseVisibilityExpression(o,t,s)}else a instanceof Ye&&r.push(a.toString())}}else q("Invalid visibility expression")}}},{key:"parseMarkedContentProps",value:(i=Yf(Jf().mark((function e(t,r){var A,n,i,a,o,s,c,g,u,l,h;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof Ue)){e.next=5;break}i=r.get("Properties"),n=i.get(t.name),e.next=10;break;case 5:if(!(t instanceof He)){e.next=9;break}n=t,e.next=10;break;case 9:throw new re("Optional content properties malformed.");case 10:if("OCG"!==(a=null===(A=n.get("Type"))||void 0===A?void 0:A.name)){e.next=15;break}return e.abrupt("return",{type:a,id:n.objId});case 15:if("OCMD"!==a){e.next=31;break}if(o=n.get("VE"),!Array.isArray(o)){e.next=22;break}if(s=[],this._parseVisibilityExpression(o,0,s),!(s.length>0)){e.next=22;break}return e.abrupt("return",{type:"OCMD",expression:s});case 22:if(c=n.get("OCGs"),!(Array.isArray(c)||c instanceof He)){e.next=29;break}if(g=[],Array.isArray(c)){u=jf(c);try{for(u.s();!(l=u.n()).done;)h=l.value,g.push(h.toString())}catch(e){u.e(e)}finally{u.f()}}else g.push(c.objId);return e.abrupt("return",{type:a,ids:g,policy:n.get("P")instanceof Ue?n.get("P").name:null,expression:null});case 29:if(!(c instanceof Ye)){e.next=31;break}return e.abrupt("return",{type:a,id:c.toString()});case 31:return e.abrupt("return",null);case 32:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"getOperatorList",value:function(e){var t=this,r=e.stream,A=e.task,n=e.resources,i=e.operatorList,a=e.initialState,o=void 0===a?null:a,s=e.fallbackFontDict,c=void 0===s?null:s;if(n||(n=He.empty),o||(o=new nC),!i)throw new Error('getOperatorList: missing "operatorList" parameter');var g=this,u=this.xref,l=!1,h=new Lh,I=new Uh,f=new Jh,C=new Hh,B=new Map,Q=n.get("XObject")||He.empty,E=n.get("Pattern")||He.empty,d=new rC(o),y=new iC(r,u,d),p=new $f;function v(e){for(var t=0,r=y.savedStatesDepth;t<r;t++)i.addOp(R,[])}return new Promise((function e(t,r){var a=function(A){Promise.all([A,i.ready]).then((function(){try{e(t,r)}catch(e){r(e)}}),r)};A.ensureNotTerminated(),p.reset();for(var o,s,m,w,b,k,D={};!(o=p.check())&&(D.args=null,y.read(D));){var S=D.args,F=D.fn;switch(0|F){case 66:if(k=S[0]instanceof Ue,b=S[0].name,k){var x=h.getByName(b);if(x){zf(i,x),S=null;continue}}return void a(new Promise((function(e,t){if(!k)throw new re("XObject must be referred to by name.");var r=Q.getRaw(b);if(r instanceof Ye){var a=h.getByRef(r)||g._regionalImageCache.getByRef(r);if(a)return zf(i,a),void e();var o=g.globalImageCache.getData(r,g.pageIndex);if(o)return i.addDependency(o.objId),i.addImageOps(o.fn,o.args,o.optionalContent),void e();r=u.fetch(r)}if(!(r instanceof ze))throw new re("XObject should be a stream");var s=r.dict.get("Subtype");if(!(s instanceof Ue))throw new re("XObject should have a Name subtype");if("Form"===s.name)return d.save(),void g.buildFormXObject(n,r,null,i,A,d.state.clone(),I).then((function(){d.restore(),e()}),t);if("Image"!==s.name){if("PS"!==s.name)throw new re("Unhandled XObject subtype ".concat(s.name));T("Ignored XObject subtype PS"),e()}else g.buildPaintImageXObject({resources:n,image:r,operatorList:i,cacheKey:b,localImageCache:h,localColorSpaceCache:I}).then(e,t)})).catch((function(e){if(!(e instanceof Ae)){if(!g.options.ignoreErrors)throw e;q('getOperatorList - ignoring XObject: "'.concat(e,'".'))}})));case N:var R=S[1];return void a(g.handleSetFont(n,S,null,i,A,d.state,c).then((function(e){i.addDependency(e),i.addOp(N,[e,R])})));case 31:l=!0;break;case 32:l=!1;break;case 65:var G=S[0].cacheKey;if(G){var H=h.getByName(G);if(H){zf(i,H),S=null;continue}}return void a(g.buildPaintImageXObject({resources:n,image:S[0],isInline:!0,operatorList:i,cacheKey:G,localImageCache:h,localColorSpaceCache:I}));case L:if(!d.state.font){g.ensureStateFont(d.state);continue}S[0]=g.handleText(S[0],d.state);break;case 45:if(!d.state.font){g.ensureStateFont(d.state);continue}var Y,P=[],O=d.state,K=jf(S[0]);try{for(K.s();!(Y=K.n()).done;){var j,W=Y.value;"string"==typeof W?(j=P).push.apply(j,Mf(g.handleText(W,O))):"number"==typeof W&&P.push(W)}}catch(e){K.e(e)}finally{K.f()}S[0]=P,F=L;break;case 46:if(!d.state.font){g.ensureStateFont(d.state);continue}i.addOp(43),S[0]=g.handleText(S[0],d.state),F=L;break;case 47:if(!d.state.font){g.ensureStateFont(d.state);continue}i.addOp(43),i.addOp(34,[S.shift()]),i.addOp(33,[S.shift()]),S[0]=g.handleText(S[0],d.state),F=L;break;case 38:d.state.textRenderingMode=S[0];break;case 51:var Z=Ur.getCached(S[0],u,I);if(Z){d.state.fillColorSpace=Z;continue}return void a(g.parseColorSpace({cs:S[0],resources:n,localColorSpaceCache:I}).then((function(e){d.state.fillColorSpace=e||Ur.singletons.gray})));case 50:var _=Ur.getCached(S[0],u,I);if(_){d.state.strokeColorSpace=_;continue}return void a(g.parseColorSpace({cs:S[0],resources:n,localColorSpaceCache:I}).then((function(e){d.state.strokeColorSpace=e||Ur.singletons.gray})));case 54:S=(w=d.state.fillColorSpace).getRgb(S,0),F=M;break;case 52:S=(w=d.state.strokeColorSpace).getRgb(S,0),F=U;break;case 57:d.state.fillColorSpace=Ur.singletons.gray,S=Ur.singletons.gray.getRgb(S,0),F=M;break;case 56:d.state.strokeColorSpace=Ur.singletons.gray,S=Ur.singletons.gray.getRgb(S,0),F=U;break;case 61:d.state.fillColorSpace=Ur.singletons.cmyk,S=Ur.singletons.cmyk.getRgb(S,0),F=M;break;case 60:d.state.strokeColorSpace=Ur.singletons.cmyk,S=Ur.singletons.cmyk.getRgb(S,0),F=U;break;case M:d.state.fillColorSpace=Ur.singletons.rgb,S=Ur.singletons.rgb.getRgb(S,0);break;case U:d.state.strokeColorSpace=Ur.singletons.rgb,S=Ur.singletons.rgb.getRgb(S,0);break;case 55:if(!(w=d.state.patternFillColorSpace)){S=[],F=93;break}if("Pattern"===w.name)return void a(g.handleColorN(i,55,S,w,E,n,A,I,C,B));S=w.getRgb(S,0),F=M;break;case 53:if(!(w=d.state.patternStrokeColorSpace)){S=[],F=92;break}if("Pattern"===w.name)return void a(g.handleColorN(i,53,S,w,E,n,A,I,C,B));S=w.getRgb(S,0),F=U;break;case 62:var X=void 0;try{var V=n.get("Shading");if(!V)throw new re("No shading resource found");if(!(X=V.get(S[0].name)))throw new re("No shading object found")}catch(e){if(e instanceof Ae)continue;if(g.options.ignoreErrors){q('getOperatorList - ignoring Shading: "'.concat(e,'".'));continue}throw e}var z=g.parseShading({shading:X,resources:n,localColorSpaceCache:I,localShadingPatternCache:B});if(!z)continue;S=[z],F=62;break;case 9:if(k=S[0]instanceof Ue,b=S[0].name,k){var $=f.getByName(b);if($){$.length>0&&i.addOp(9,[$]),S=null;continue}}return void a(new Promise((function(e,t){if(!k)throw new re("GState must be referred to by name.");var r=n.get("ExtGState");if(!(r instanceof He))throw new re("ExtGState should be a dictionary.");var a=r.get(b);if(!(a instanceof He))throw new re("GState should be a dictionary.");g.setGState({resources:n,gState:a,operatorList:i,cacheKey:b,task:A,stateManager:d,localGStateCache:f,localColorSpaceCache:I}).then(e,t)})).catch((function(e){if(!(e instanceof Ae)){if(!g.options.ignoreErrors)throw e;q('getOperatorList - ignoring ExtGState: "'.concat(e,'".'))}})));case 13:case 14:case 15:case 16:case 17:case 18:case 19:g.buildPath(i,F,S,l);continue;case 67:case 68:case 72:case 73:continue;case J:if(!(S[0]instanceof Ue)){q("Expected name for beginMarkedContentProps arg0=".concat(S[0])),i.addOp(J,["OC",null]);continue}if("OC"===S[0].name)return void a(g.parseMarkedContentProps(S[1],n).then((function(e){i.addOp(J,["OC",e])})).catch((function(e){if(!(e instanceof Ae)){if(g.options.ignoreErrors)return q('getOperatorList - ignoring beginMarkedContentProps: "'.concat(e,'".')),void i.addOp(J,["OC",null]);throw e}})));S=[S[0].name,S[1]instanceof He?S[1].get("MCID"):null];break;default:if(null!==S){for(s=0,m=S.length;s<m&&!(S[s]instanceof He);s++);if(s<m){q("getOperatorList - ignoring operator: "+F);continue}}}i.addOp(F,S)}o?a(Xf):(v(),t())})).catch((function(e){if(!(e instanceof Ae)){if(t.options.ignoreErrors)return q('getOperatorList - ignoring errors during "'.concat(A.name,'" ')+'task: "'.concat(e,'".')),void v();throw e}}))}},{key:"getTextContent",value:function(e){var t=this,r=e.stream,A=e.task,n=e.resources,i=e.stateManager,a=void 0===i?null:i,o=e.includeMarkedContent,s=void 0!==o&&o,c=e.sink,g=e.seenStyles,u=void 0===g?new Set:g,l=e.viewBox,h=e.lang,I=void 0===h?null:h,f=e.markedContentData,Q=void 0===f?null:f,E=e.disableNormalization,d=void 0!==E&&E,y=e.keepWhiteSpace,p=void 0!==y&&y;n||(n=He.empty),a||(a=new rC(new AC)),s&&(Q||(Q={level:0}));var v={items:[],styles:Object.create(null),lang:I},m={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},w=[" "," "],b=0;function k(e){var t=(b+1)%2,r=" "!==w[b]&&" "===w[t];return w[b]=e,b=t,!p&&r}function D(){return!p&&" "!==w[b]&&" "===w[(b+1)%2]}function S(){w[0]=w[1]=" ",b=0}var F,x=.102,G=.03,U=-.2,M=.102,Y=.6,P=.25,O=this,K=this.xref,T=[],j=null,W=new Lh,Z=new Jh,_=new iC(r,K,a);function X(e){var t=e.width,r=void 0===t?0:t,A=e.height,n=void 0===A?0:A,i=e.transform,a=void 0===i?m.prevTransform:i,o=e.fontName,s=void 0===o?m.fontName:o;v.items.push({str:" ",dir:"ltr",width:r,height:n,transform:a,fontName:s,hasEOL:!1})}function V(){var e=F.font,t=[F.fontSize*F.textHScale,0,0,F.fontSize,0,F.textRise];if(e.isType3Font&&(F.fontSize<=1||e.isCharBBox)&&!Be(F.fontMatrix,B)){var r=e.bbox[3]-e.bbox[1];r>0&&(t[3]*=r*F.fontMatrix[3])}return ge.transform(F.ctm,ge.transform(F.textMatrix,t))}function z(){if(m.initialized)return m;var e=F,t=e.font,r=e.loadedName;if(!u.has(r)&&(u.add(r),v.styles[r]={fontFamily:t.fallbackName,ascent:t.ascent,descent:t.descent,vertical:t.vertical},O.options.fontExtraProperties&&t.systemFontInfo)){var A=v.styles[r];A.fontSubstitution=t.systemFontInfo.css,A.fontSubstitutionLoadedName=t.systemFontInfo.loadedName}m.fontName=r;var n=m.transform=V();t.vertical?(m.width=m.totalWidth=Math.hypot(n[0],n[1]),m.height=m.totalHeight=0,m.vertical=!0):(m.width=m.totalWidth=0,m.height=m.totalHeight=Math.hypot(n[2],n[3]),m.vertical=!1);var i=Math.hypot(F.textLineMatrix[0],F.textLineMatrix[1]),a=Math.hypot(F.ctm[0],F.ctm[1]);m.textAdvanceScale=a*i;var o=F.fontSize;return m.trackingSpaceMin=o*x,m.notASpace=o*G,m.negativeSpaceMax=o*U,m.spaceInFlowMin=o*M,m.spaceInFlowMax=o*Y,m.hasEOL=!1,m.initialized=!0,m}function $(){if(m.initialized){var e=Math.hypot(F.textLineMatrix[0],F.textLineMatrix[1]),t=Math.hypot(F.ctm[0],F.ctm[1])*e;t!==m.textAdvanceScale&&(m.vertical?(m.totalHeight+=m.height*m.textAdvanceScale,m.height=0):(m.totalWidth+=m.width*m.textAdvanceScale,m.width=0),m.textAdvanceScale=t)}}function ee(e,t){return te.apply(this,arguments)}function te(){return(te=Yf(Jf().mark((function e(t,r){var i;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.loadFont(t,r,n);case 2:if(!(i=e.sent).font.isType3Font){e.next=11;break}return e.prev=4,e.next=7,i.loadType3Data(O,n,A);case 7:e.next=11;break;case 9:e.prev=9,e.t0=e.catch(4);case 11:F.loadedName=i.loadedName,F.font=i.font,F.fontMatrix=i.font.fontMatrix||B;case 14:case"end":return e.stop()}}),e,null,[[4,9]])})))).apply(this,arguments)}function ne(e,t,r){var A=Math.hypot(r[0],r[1]);return[(r[0]*e+r[1]*t)/A,(r[2]*e+r[3]*t)/A]}function ie(e){var t,r=V(),A=r[4],n=r[5];if(null!==(t=F.font)&&void 0!==t&&t.vertical){if(A<l[0]||A>l[2]||n+e<l[1]||n>l[3])return!1}else if(A+e<l[0]||A>l[2]||n<l[1]||n>l[3])return!1;if(!F.font||!m.prevTransform)return!0;var i=m.prevTransform[4],a=m.prevTransform[5];if(i===A&&a===n)return!0;var o=-1;switch(r[0]&&0===r[1]&&0===r[2]?o=r[0]>0?0:180:r[1]&&0===r[0]&&0===r[3]&&(o=r[1]>0?90:270),o){case 0:break;case 90:var s=[n,A];A=s[0],n=s[1];var c=[a,i];i=c[0],a=c[1];break;case 180:var g=[-A,-n,-i,-a];A=g[0],n=g[1],i=g[2],a=g[3];break;case 270:var u=[-n,-A];A=u[0],n=u[1];var h=[-a,-i];i=h[0],a=h[1];break;default:var I=Uf(ne(A,n,r),2);A=I[0],n=I[1];var f=Uf(ne(i,a,m.prevTransform),2);i=f[0],a=f[1]}if(F.font.vertical){var C=(a-n)/m.textAdvanceScale,B=A-i,Q=Math.sign(m.height);return C<Q*m.negativeSpaceMax?Math.abs(B)>.5*m.width?(oe(),!0):(S(),ce(),!0):Math.abs(B)>m.width?(oe(),!0):(C<=Q*m.notASpace&&S(),C<=Q*m.trackingSpaceMin?D()?(S(),ce(),X({height:Math.abs(C)})):m.height+=C:se(C,m.prevTransform,Q)||(0===m.str.length?(S(),X({height:Math.abs(C)})):m.height+=C),Math.abs(B)>m.width*P&&ce(),!0)}var E=(A-i)/m.textAdvanceScale,d=n-a,y=Math.sign(m.width);return E<y*m.negativeSpaceMax?Math.abs(d)>.5*m.height?(oe(),!0):(S(),ce(),!0):Math.abs(d)>m.height?(oe(),!0):(E<=y*m.notASpace&&S(),E<=y*m.trackingSpaceMin?D()?(S(),ce(),X({width:Math.abs(E)})):m.width+=E:se(E,m.prevTransform,y)||(0===m.str.length?(S(),X({width:Math.abs(E)})):m.width+=E),Math.abs(d)>m.height*P&&ce(),!0)}function ae(e){var t=e.chars,r=e.extraSpacing,A=F.font;if(!t){var n=F.charSpacing+r;return n&&(A.vertical?F.translateTextMatrix(0,-n):F.translateTextMatrix(n*F.textHScale,0)),void(p&&ie(0))}for(var i=A.charsToGlyphs(t),a=F.fontMatrix[0]*F.fontSize,o=0,s=i.length;o<s;o++){var c=i[o],g=c.category;if(!g.isInvisibleFormatMark){var u=F.charSpacing+(o+1===s?r:0),l=c.width;A.vertical&&(l=c.vmetric?c.vmetric[0]:-l);var h=l*a;if(p||!g.isWhitespace)if(g.isZeroWidthDiacritic||ie(h)){var I=z();g.isZeroWidthDiacritic&&(h=0),A.vertical?(F.translateTextMatrix(0,h),h=Math.abs(h),I.height+=h):(h*=F.textHScale,F.translateTextMatrix(h,0),I.width+=h),h&&(I.prevTransform=V());var f=c.unicode;k(f)&&I.str.push(" "),I.str.push(f),u&&(A.vertical?F.translateTextMatrix(0,-u):F.translateTextMatrix(u*F.textHScale,0))}else A.vertical?F.translateTextMatrix(0,h):F.translateTextMatrix(h*F.textHScale,0);else A.vertical?(u+=-h+F.wordSpacing,F.translateTextMatrix(0,-u)):(u+=h+F.wordSpacing,F.translateTextMatrix(u*F.textHScale,0)),k(" ")}}}function oe(){S(),m.initialized?(m.hasEOL=!0,ce()):v.items.push({str:"",dir:"ltr",width:0,height:0,transform:V(),fontName:F.loadedName,hasEOL:!0})}function se(e,t,r){if(r*m.spaceInFlowMin<=e&&e<=r*m.spaceInFlowMax)return m.initialized&&(S(),m.str.push(" ")),!1;var A=m.fontName,n=0;return m.vertical&&(n=e,e=0),ce(),S(),X({width:Math.abs(e),height:Math.abs(n),transform:t||V(),fontName:A}),!0}function ce(){m.initialized&&m.str&&(m.vertical?m.totalHeight+=m.height*m.textAdvanceScale:m.totalWidth+=m.width*m.textAdvanceScale,v.items.push(function(e){var t,r=e.str.join("");d||(t=r,Ee||(Ee=/([\\xA0\\xB5\\u037E\\u0EB3\\u2000-\\u200A\\u202F\\u2126\\uFB00-\\uFB04\\uFB06\\uFB20-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBA1\\uFBA4-\\uFBA9\\uFBAE-\\uFBB1\\uFBD3-\\uFBDC\\uFBDE-\\uFBE7\\uFBEA-\\uFBF8\\uFBFC\\uFBFD\\uFC00-\\uFC5D\\uFC64-\\uFCF1\\uFCF5-\\uFD3D\\uFD88\\uFDF4\\uFDFA\\uFDFB\\uFE71\\uFE77\\uFE79\\uFE7B\\uFE7D]+)|(\\uFB05+)/g,de=new Map([["ſt","ſt"]])),r=t.replaceAll(Ee,(function(e,t,r){return t?t.normalize("NFKC"):de.get(r)})));var A=UI(r,-1,e.vertical);return{str:A.str,dir:A.dir,width:Math.abs(e.totalWidth),height:Math.abs(e.totalHeight),transform:e.transform,fontName:e.fontName,hasEOL:e.hasEOL}}(m)),m.initialized=!1,m.str.length=0)}function ue(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.items.length;0!==t&&(e&&t<10||(c.enqueue(v,t),v.items=[],v.styles=Object.create(null)))}var le=new $f;return new Promise((function e(t,r){var i=function(A){ue(!0),Promise.all([A,c.ready]).then((function(){try{e(t,r)}catch(e){r(e)}}),r)};A.ensureNotTerminated(),le.reset();for(var o,g={},h=[];!(o=le.check())&&(h.length=0,g.args=h,_.read(g));){var f=F;F=a.state;var B=g.fn;switch(h=g.args,0|B){case N:var E=h[0].name,y=h[1];if(F.font&&E===F.fontName&&y===F.fontSize)break;return ce(),F.fontName=E,F.fontSize=y,void i(ee(E,null));case 39:F.textRise=h[0];break;case 35:F.textHScale=h[0]/100;break;case 36:F.leading=h[0];break;case 40:F.translateTextLineMatrix(h[0],h[1]),F.textMatrix=F.textLineMatrix.slice();break;case 41:F.leading=-h[1],F.translateTextLineMatrix(h[0],h[1]),F.textMatrix=F.textLineMatrix.slice();break;case 43:F.carriageReturn();break;case 42:F.setTextMatrix(h[0],h[1],h[2],h[3],h[4],h[5]),F.setTextLineMatrix(h[0],h[1],h[2],h[3],h[4],h[5]),$();break;case 33:F.charSpacing=h[0];break;case 34:F.wordSpacing=h[0];break;case 31:F.textMatrix=C.slice(),F.textLineMatrix=C.slice();break;case 45:if(!a.state.font){O.ensureStateFont(a.state);continue}for(var m=(F.font.vertical?1:-1)*F.fontSize/1e3,w=h[0],b=0,k=w.length;b<k;b++){var D=w[b];if("string"==typeof D)T.push(D);else if("number"==typeof D&&0!==D){var S=T.join("");T.length=0,ae({chars:S,extraSpacing:D*m})}}if(T.length>0){var x=T.join("");T.length=0,ae({chars:x,extraSpacing:0})}break;case L:if(!a.state.font){O.ensureStateFont(a.state);continue}ae({chars:h[0],extraSpacing:0});break;case 46:if(!a.state.font){O.ensureStateFont(a.state);continue}F.carriageReturn(),ae({chars:h[0],extraSpacing:0});break;case 47:if(!a.state.font){O.ensureStateFont(a.state);continue}F.wordSpacing=h[0],F.charSpacing=h[1],F.carriageReturn(),ae({chars:h[2],extraSpacing:0});break;case 66:ce(),j||(j=n.get("XObject")||He.empty);var G=h[0]instanceof Ue,U=h[0].name;if(G&&W.getByName(U))break;return void i(new Promise((function(e,t){if(!G)throw new re("XObject must be referred to by name.");var r=j.getRaw(U);if(r instanceof Ye){if(W.getByRef(r))return void e();if(O.globalImageCache.getData(r,O.pageIndex))return void e();r=K.fetch(r)}if(!(r instanceof ze))throw new re("XObject should be a stream");var i=r.dict.get("Subtype");if(!(i instanceof Ue))throw new re("XObject should have a Name subtype");if("Form"!==i.name)return W.set(U,r.dict.objId,!0),void e();var o=a.state.clone(),g=new rC(o),h=Ft(r.dict.getArray("Matrix"),null);h&&g.transform(h),ue();var f={enqueueInvoked:!1,enqueue(e,t){this.enqueueInvoked=!0,c.enqueue(e,t)},get desiredSize(){return c.desiredSize},get ready(){return c.ready}};O.getTextContent({stream:r,task:A,resources:r.dict.get("Resources")||n,stateManager:g,includeMarkedContent:s,sink:f,seenStyles:u,viewBox:l,lang:I,markedContentData:Q,disableNormalization:d,keepWhiteSpace:p}).then((function(){f.enqueueInvoked||W.set(U,r.dict.objId,!0),e()}),t)})).catch((function(e){if(!(e instanceof Ae)){if(!O.options.ignoreErrors)throw e;q('getTextContent - ignoring XObject: "'.concat(e,'".'))}})));case 9:if(G=h[0]instanceof Ue,U=h[0].name,G&&Z.getByName(U))break;return void i(new Promise((function(e,t){if(!G)throw new re("GState must be referred to by name.");var r=n.get("ExtGState");if(!(r instanceof He))throw new re("ExtGState should be a dictionary.");var A=r.get(U);if(!(A instanceof He))throw new re("GState should be a dictionary.");var i=A.get("Font");if(!i)return Z.set(U,A.objId,!0),void e();ce(),F.fontName=null,F.fontSize=i[1],ee(null,i[0]).then(e,t)})).catch((function(e){if(!(e instanceof Ae)){if(!O.options.ignoreErrors)throw e;q('getTextContent - ignoring ExtGState: "'.concat(e,'".'))}})));case 69:ce(),s&&(Q.level++,v.items.push({type:"beginMarkedContent",tag:h[0]instanceof Ue?h[0].name:null}));break;case J:if(ce(),s){Q.level++;var M=null;h[1]instanceof He&&(M=h[1].get("MCID")),v.items.push({type:"beginMarkedContentProps",id:Number.isInteger(M)?"".concat(O.idFactory.getPageObjId(),"_mc").concat(M):null,tag:h[0]instanceof Ue?h[0].name:null})}break;case H:if(ce(),s){if(0===Q.level)break;Q.level--,v.items.push({type:"endMarkedContent"})}break;case R:!f||f.font===F.font&&f.fontSize===F.fontSize&&f.fontName===F.fontName||ce()}if(v.items.length>=c.desiredSize){o=!0;break}}o?i(Xf):(ce(),ue(),t())})).catch((function(e){if(!(e instanceof Ae)){if(t.options.ignoreErrors)return q('getTextContent - ignoring errors during "'.concat(A.name,'" ')+'task: "'.concat(e,'".')),ce(),void ue();throw e}}))}},{key:"extractDataStructures",value:(n=Yf(Jf().mark((function e(t,r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(A=this.xref,i=this.readToUnicode(r.toUnicode),!r.composite){e.next=15;break}(a=t.get("CIDSystemInfo"))instanceof He&&(r.cidSystemInfo={registry:Ie(a.get("Registry")),ordering:Ie(a.get("Ordering")),supplement:a.get("Supplement")}),e.prev=5,(o=t.get("CIDToGIDMap"))instanceof ze&&(n=o.getBytes()),e.next=15;break;case 10:if(e.prev=10,e.t0=e.catch(5),this.options.ignoreErrors){e.next=14;break}throw e.t0;case 14:q('extractDataStructures - ignoring CIDToGIDMap data: "'.concat(e.t0,'".'));case 15:if(s=[],c=null,!t.has("Encoding")){e.next=61;break}if(!((g=t.get("Encoding"))instanceof He)){e.next=52;break}if(c=(c=g.get("BaseEncoding"))instanceof Ue?c.name:null,!g.has("Differences")){e.next=50;break}u=g.get("Differences"),l=0,h=jf(u),e.prev=26,h.s();case 28:if((I=h.n()).done){e.next=42;break}if(f=I.value,"number"!=typeof(C=A.fetchIfRef(f))){e.next=35;break}l=C,e.next=40;break;case 35:if(!(C instanceof Ue)){e.next=39;break}s[l++]=C.name,e.next=40;break;case 39:throw new re("Invalid entry in 'Differences' array: ".concat(C));case 40:e.next=28;break;case 42:e.next=47;break;case 44:e.prev=44,e.t1=e.catch(26),h.e(e.t1);case 47:return e.prev=47,h.f(),e.finish(47);case 50:e.next=60;break;case 52:if(!(g instanceof Ue)){e.next=56;break}c=g.name,e.next=60;break;case 56:if(B="Encoding is not a Name nor a Dict",this.options.ignoreErrors){e.next=59;break}throw new re(B);case 59:q(B);case 60:"MacRomanEncoding"!==c&&"MacExpertEncoding"!==c&&"WinAnsiEncoding"!==c&&(c=null);case 61:return Q=!r.file||r.isInternalFont,E=Fc()[r.name],c&&Q&&E&&(c=null),c?r.defaultEncoding=Rs(c):(d=!!(4&r.flags),y=!!(32&r.flags),g=Ds,"TrueType"!==r.type||y||(g=Ss),(d||E)&&(g=ks,Q&&(/Symbol/i.test(r.name)?g=Fs:/Dingbats/i.test(r.name)?g=xs:/Wingdings/i.test(r.name)&&(g=Ss))),r.defaultEncoding=g),r.differences=s,r.baseEncodingName=c,r.hasEncoding=!!c||s.length>0,r.dict=t,e.next=70,i;case 70:return r.toUnicode=e.sent,e.next=73,this.buildToUnicode(r);case 73:return p=e.sent,r.toUnicode=p,n&&(r.cidToGidMap=this.readCidToGidMap(n,p)),e.abrupt("return",r);case 77:case"end":return e.stop()}}),e,this,[[5,10],[26,44,47,50]])}))),function(e,t){return n.apply(this,arguments)})},{key:"_simpleFontToUnicode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];W(!e.composite,"Must be a simple font.");var r=[],A=e.defaultEncoding.slice(),n=e.baseEncodingName,i=e.differences;for(var a in i){var o=i[a];".notdef"!==o&&(A[a]=o)}var s=lc();for(var c in A){var g=A[c];if(""!==g){var u=s[g];if(void 0===u){var l=0;switch(g[0]){case"G":3===g.length&&(l=parseInt(g.substring(1),16));break;case"g":5===g.length&&(l=parseInt(g.substring(1),16));break;case"C":case"c":if(g.length>=3&&g.length<=4){var h=g.substring(1);if(t){l=parseInt(h,16);break}if(l=+h,Number.isNaN(l)&&Number.isInteger(parseInt(h,16)))return this._simpleFontToUnicode(e,!0)}break;case"u":-1!==(u=fc(g,s))&&(l=u);break;default:switch(g){case"f_h":case"f_t":case"T_h":r[c]=g.replaceAll("_","");continue}}if(l>0&&l<=1114111&&Number.isInteger(l)){if(n&&l===+c){var I=Rs(n);if(I&&(g=I[c])){r[c]=String.fromCharCode(s[g]);continue}}r[c]=String.fromCodePoint(l)}}else r[c]=String.fromCharCode(u)}}return r}},{key:"buildToUnicode",value:(A=Yf(Jf().mark((function e(t){var r,A,n,i,a,o,s,c,g;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.hasIncludedToUnicodeMap=(null===(r=t.toUnicode)||void 0===r?void 0:r.length)>0,!t.hasIncludedToUnicodeMap){e.next=4;break}return!t.composite&&t.hasEncoding&&(t.fallbackToUnicode=this._simpleFontToUnicode(t)),e.abrupt("return",t.toUnicode);case 4:if(t.composite){e.next=6;break}return e.abrupt("return",new Yc(this._simpleFontToUnicode(t)));case 6:if(!t.composite||(!t.cMap.builtInCMap||t.cMap instanceof ns)&&("Adobe"!==(null===(A=t.cidSystemInfo)||void 0===A?void 0:A.registry)||"GB1"!==t.cidSystemInfo.ordering&&"CNS1"!==t.cidSystemInfo.ordering&&"Japan1"!==t.cidSystemInfo.ordering&&"Korea1"!==t.cidSystemInfo.ordering)){e.next=15;break}return n=t.cidSystemInfo,i=n.registry,a=n.ordering,o=Ue.get("".concat(i,"-").concat(a,"-UCS2")),e.next=11,ys.create({encoding:o,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 11:return s=e.sent,c=[],g=[],t.cMap.forEach((function(e,t){if(t>65535)throw new re("Max size of CID is 65,535");var r=s.lookup(t);if(r){g.length=0;for(var A=0,n=r.length;A<n;A+=2)g.push((r.charCodeAt(A)<<8)+r.charCodeAt(A+1));c[e]=String.fromCharCode.apply(String,g)}})),e.abrupt("return",new Yc(c));case 15:return e.abrupt("return",new Pc(t.firstChar,t.lastChar));case 16:case"end":return e.stop()}}),e,this)}))),function(e){return A.apply(this,arguments)})},{key:"readToUnicode",value:(r=Yf(Jf().mark((function e(t){var r,A,n;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",null);case 2:if(!(t instanceof Ue)){e.next=9;break}return e.next=5,ys.create({encoding:t,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 5:if(!((r=e.sent)instanceof ns)){e.next=8;break}return e.abrupt("return",new Pc(0,65535));case 8:return e.abrupt("return",new Yc(r.getMap()));case 9:if(!(t instanceof ze)){e.next=29;break}return e.prev=10,e.next=13,ys.create({encoding:t,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 13:if(!((A=e.sent)instanceof ns)){e.next=16;break}return e.abrupt("return",new Pc(0,65535));case 16:return n=new Array(A.length),A.forEach((function(e,t){if("number"!=typeof t){t.length%2!=0&&(t="\\0"+t);for(var r=[],A=0;A<t.length;A+=2){var i=t.charCodeAt(A)<<8|t.charCodeAt(A+1);if(55296==(63488&i)){A+=2;var a=t.charCodeAt(A)<<8|t.charCodeAt(A+1);r.push(((1023&i)<<10)+(1023&a)+65536)}else r.push(i)}n[e]=String.fromCodePoint.apply(String,r)}else n[e]=String.fromCodePoint(t)})),e.abrupt("return",new Yc(n));case 21:if(e.prev=21,e.t0=e.catch(10),!(e.t0 instanceof Ae)){e.next=25;break}return e.abrupt("return",null);case 25:if(!this.options.ignoreErrors){e.next=28;break}return q('readToUnicode - ignoring ToUnicode data: "'.concat(e.t0,'".')),e.abrupt("return",null);case 28:throw e.t0;case 29:return e.abrupt("return",null);case 30:case"end":return e.stop()}}),e,this,[[10,21]])}))),function(e){return r.apply(this,arguments)})},{key:"readCidToGidMap",value:function(e,t){for(var r=[],A=0,n=e.length;A<n;A++){var i=e[A++]<<8|e[A],a=A>>1;(0!==i||t.has(a))&&(r[a]=i)}return r}},{key:"extractWidths",value:function(e,t,r){var A,n=this.xref,i=[],a=0,o=[];if(r.composite){var s=e.get("DW");a="number"==typeof s?Math.ceil(s):1e3;var c=e.get("W");if(Array.isArray(c))for(var g=0,u=c.length;g<u;g++){var l=n.fetchIfRef(c[g++]);if(!Number.isInteger(l))break;var h=n.fetchIfRef(c[g]);if(Array.isArray(h)){var I,f=jf(h);try{for(f.s();!(I=f.n()).done;){var C=I.value,B=n.fetchIfRef(C);"number"==typeof B&&(i[l]=B),l++}}catch(e){f.e(e)}finally{f.f()}}else{if(!Number.isInteger(h))break;var Q=n.fetchIfRef(c[++g]);if("number"!=typeof Q)continue;for(var E=l;E<=h;E++)i[E]=Q}}if(r.vertical){var d=e.getArray("DW2"),y=St(d,2)?d:[880,-1e3];if(A=[y[1],.5*a,y[0]],y=e.get("W2"),Array.isArray(y))for(var p=0,v=y.length;p<v;p++){var m=n.fetchIfRef(y[p++]);if(!Number.isInteger(m))break;var w=n.fetchIfRef(y[p]);if(Array.isArray(w))for(var b=0,k=w.length;b<k;b++){var D=[n.fetchIfRef(w[b++]),n.fetchIfRef(w[b++]),n.fetchIfRef(w[b])];St(D,null)&&(o[m]=D),m++}else{if(!Number.isInteger(w))break;var S=[n.fetchIfRef(y[++p]),n.fetchIfRef(y[++p]),n.fetchIfRef(y[++p])];if(!St(S,null))continue;for(var F=m;F<=w;F++)o[F]=S}}}}else{var x=e.get("Widths");if(Array.isArray(x)){var R,G=r.firstChar,N=jf(x);try{for(N.s();!(R=N.n()).done;){var L=R.value,U=n.fetchIfRef(L);"number"==typeof U&&(i[G]=U),G++}}catch(e){N.e(e)}finally{N.f()}var M=t.get("MissingWidth");a="number"==typeof M?M:0}else{var J=e.get("BaseFont");if(J instanceof Ue){var H=this.getBaseFontMetrics(J.name);i=this.buildCharCodeToWidth(H.widths,r),a=H.defaultWidth}}}var Y=!0,P=a;for(var O in i){var K=i[O];if(K)if(P){if(P!==K){Y=!1;break}}else P=K}Y?r.flags|=1:r.flags&=-2,r.defaultWidth=a,r.widths=i,r.defaultVMetrics=A,r.vmetrics=o}},{key:"isSerifFont",value:function(e){var t=e.split("-",1)[0];return t in Sc()||/serif/gi.test(t)}},{key:"getBaseFontMetrics",value:function(e){var t=0,r=Object.create(null),A=!1,n=bc()[e]||e,i=Eg();n in i||(n=this.isSerifFont(e)?"Times-Roman":"Helvetica");var a=i[n];return"number"==typeof a?(t=a,A=!0):r=a(),{defaultWidth:t,monospace:A,widths:r}}},{key:"buildCharCodeToWidth",value:function(e,t){for(var r=Object.create(null),A=t.differences,n=t.defaultEncoding,i=0;i<256;i++)i in A&&e[A[i]]?r[i]=e[A[i]]:i in n&&e[n[i]]&&(r[i]=e[n[i]]);return r}},{key:"preEvaluateFont",value:function(e){var t=e,r=e.get("Subtype");if(!(r instanceof Ue))throw new re("invalid font Subtype");var A,n=!1;if("Type0"===r.name){var i=e.get("DescendantFonts");if(!i)throw new re("Descendant fonts are not specified");if(!((e=Array.isArray(i)?this.xref.fetchIfRef(i[0]):i)instanceof He))throw new re("Descendant font is not a dictionary.");if(!((r=e.get("Subtype"))instanceof Ue))throw new re("invalid font Subtype");n=!0}var a=e.get("FirstChar");Number.isInteger(a)||(a=0);var o=e.get("LastChar");Number.isInteger(o)||(o=n?65535:255);var s=e.get("FontDescriptor"),c=e.get("ToUnicode")||t.get("ToUnicode");if(s){A=new uf;var g=t.getRaw("Encoding");if(g instanceof Ue)A.update(g.name);else if(g instanceof Ye)A.update(g.toString());else if(g instanceof He){var u,l=jf(g.getRawValues());try{for(l.s();!(u=l.n()).done;){var h=u.value;if(h instanceof Ue)A.update(h.name);else if(h instanceof Ye)A.update(h.toString());else if(Array.isArray(h)){for(var I=h.length,f=new Array(I),C=0;C<I;C++){var B=h[C];B instanceof Ue?f[C]=B.name:("number"==typeof B||B instanceof Ye)&&(f[C]=B.toString())}A.update(f.join())}}}catch(e){l.e(e)}finally{l.f()}}if(A.update("".concat(a,"-").concat(o)),c instanceof ze){var Q=c.str||c,E=Q.buffer?new Uint8Array(Q.buffer.buffer,0,Q.bufferLength):new Uint8Array(Q.bytes.buffer,Q.start,Q.end-Q.start);A.update(E)}else c instanceof Ue&&A.update(c.name);var d=e.get("Widths")||t.get("Widths");if(Array.isArray(d)){var y,p=[],v=jf(d);try{for(v.s();!(y=v.n()).done;){var m=y.value;("number"==typeof m||m instanceof Ye)&&p.push(m.toString())}}catch(e){v.e(e)}finally{v.f()}A.update(p.join())}if(n){A.update("compositeFont");var w=e.get("W")||t.get("W");if(Array.isArray(w)){var b,k=[],D=jf(w);try{for(D.s();!(b=D.n()).done;){var S=b.value;if("number"==typeof S||S instanceof Ye)k.push(S.toString());else if(Array.isArray(S)){var F,x=[],R=jf(S);try{for(R.s();!(F=R.n()).done;){var G=F.value;("number"==typeof G||G instanceof Ye)&&x.push(G.toString())}}catch(e){R.e(e)}finally{R.f()}k.push("[".concat(x.join(),"]"))}}}catch(e){D.e(e)}finally{D.f()}A.update(k.join())}var N=e.getRaw("CIDToGIDMap")||t.getRaw("CIDToGIDMap");N instanceof Ue?A.update(N.name):N instanceof Ye?A.update(N.toString()):N instanceof ze&&A.update(N.peekBytes())}}return{descriptor:s,dict:e,baseDict:t,composite:n,type:r.name,firstChar:a,lastChar:o,toUnicode:c,hash:A?A.hexdigest():""}}},{key:"translateFont",value:(t=Yf(Jf().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U,M,J,H,Y,P,O,K,j,W,Z,_,X,V,z,$,ee,te,Ae,ne,ie,ae;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.descriptor,i=t.dict,a=t.baseDict,o=t.composite,s=t.type,c=t.firstChar,g=t.lastChar,u=t.toUnicode,l=t.cssFontInfo,h="Type3"===s,n){e.next=32;break}if(!h){e.next=10;break}I=Rt(i.getArray("FontBBox"),[0,0,0,0]),(n=new He(null)).set("FontName",Ue.get(s)),n.set("FontBBox",I),e.next=32;break;case 10:if((f=i.get("BaseFont"))instanceof Ue){e.next=13;break}throw new re("Base font is not specified");case 13:if(f=f.name.replaceAll(/[,_]/g,"-"),C=this.getBaseFontMetrics(f),Q=f.split("-",1)[0],E=(this.isSerifFont(Q)?2:0)|(C.monospace?1:0)|(Fc()[Q]?4:32),d={type:s,name:f,loadedName:a.loadedName,systemFontInfo:null,widths:C.widths,defaultWidth:C.defaultWidth,isSimulatedFlags:!0,flags:E,firstChar:c,lastChar:g,toUnicode:u,xHeight:0,capHeight:0,italicAngle:0,isType3Font:h},y=i.get("Widths"),p=Nc(f),v=null,!p){e.next=26;break}return e.next=24,this.fetchStandardFontData(p);case 24:v=e.sent,d.isInternalFont=!!v;case 26:return!d.isInternalFont&&this.options.useSystemFonts&&(d.systemFontInfo=_I(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,f,p,s)),e.next=29,this.extractDataStructures(i,d);case 29:if(m=e.sent,Array.isArray(y)){w=[],b=c,k=jf(y);try{for(k.s();!(D=k.n()).done;)S=D.value,"number"==typeof(F=this.xref.fetchIfRef(S))&&(w[b]=F),b++}catch(e){k.e(e)}finally{k.f()}m.widths=w}else m.widths=this.buildCharCodeToWidth(C.widths,m);return e.abrupt("return",new Zu(f,v,m));case 32:if(x=n.get("FontName"),R=i.get("BaseFont"),"string"==typeof x&&(x=Ue.get(x)),"string"==typeof R&&(R=Ue.get(R)),G=null===(r=x)||void 0===r?void 0:r.name,N=null===(A=R)||void 0===A?void 0:A.name,h||G===N||(T("The FontDescriptor's FontName is \\"".concat(G,'" but ')+"should be the same as the Font's BaseFont \\"".concat(N,'".')),G&&N&&(N.startsWith(G)||!Lc(G)&&Lc(N))&&(x=null)),x||(x=R),x instanceof Ue){e.next=42;break}throw new re("invalid font name");case 42:e.prev=42,L=n.get("FontFile","FontFile2","FontFile3"),e.next=52;break;case 46:if(e.prev=46,e.t0=e.catch(42),this.options.ignoreErrors){e.next=50;break}throw e.t0;case 50:q('translateFont - fetching "'.concat(x.name,'" font file: "').concat(e.t0,'".')),L=new sr;case 52:if(Y=!1,P=null,O=null,!L){e.next=59;break}L.dict&&((K=L.dict.get("Subtype"))instanceof Ue&&(U=K.name),M=L.dict.get("Length1"),J=L.dict.get("Length2"),H=L.dict.get("Length3")),e.next=81;break;case 59:if(!l){e.next=73;break}if(!(j=sh(x.name))){e.next=71;break}return l.fontFamily="".concat(l.fontFamily,"-PdfJS-XFA"),l.metrics=j.metrics||null,P=j.factors||null,e.next=67,this.fetchStandardFontData(j.name);case 67:L=e.sent,Y=!!L,a=i=ch(x.name),o=!0;case 71:e.next=81;break;case 73:if(h){e.next=81;break}if(!(W=Nc(x.name))){e.next=80;break}return e.next=78,this.fetchStandardFontData(W);case 78:L=e.sent,Y=!!L;case 80:!Y&&this.options.useSystemFonts&&(O=_I(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,x.name,W,s));case 81:if(Z=Ft(i.getArray("FontMatrix"),B),_=Rt(n.getArray("FontBBox")||i.getArray("FontBBox"),void 0),"number"!=typeof(X=n.get("Ascent"))&&(X=void 0),"number"!=typeof(V=n.get("Descent"))&&(V=void 0),"number"!=typeof(z=n.get("XHeight"))&&(z=0),"number"!=typeof($=n.get("CapHeight"))&&($=0),ee=n.get("Flags"),Number.isInteger(ee)||(ee=0),"number"!=typeof(te=n.get("ItalicAngle"))&&(te=0),Ae={type:s,name:x.name,subtype:U,file:L,length1:M,length2:J,length3:H,isInternalFont:Y,loadedName:a.loadedName,composite:o,fixedPitch:!1,fontMatrix:Z,firstChar:c,lastChar:g,toUnicode:u,bbox:_,ascent:X,descent:V,xHeight:z,capHeight:$,flags:ee,italicAngle:te,isType3Font:h,cssFontInfo:l,scaleFactors:P,systemFontInfo:O},!o){e.next=104;break}return(ne=a.get("Encoding"))instanceof Ue&&(Ae.cidEncoding=ne.name),e.next=101,ys.create({encoding:ne,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 101:ie=e.sent,Ae.cMap=ie,Ae.vertical=Ae.cMap.vertical;case 104:return e.next=106,this.extractDataStructures(i,Ae);case 106:return ae=e.sent,this.extractWidths(i,n,ae),e.abrupt("return",new Zu(x.name,L,ae));case 109:case"end":return e.stop()}}),e,this,[[42,46]])}))),function(e){return t.apply(this,arguments)})}],[{key:"buildFontPaths",value:function(e,t,r,A){function n(t){var n="".concat(e.loadedName,"_path_").concat(t);try{if(e.renderer.hasBuiltPath(t))return;r.send("commonobj",[n,"FontPath",e.renderer.getPathJs(t)])}catch(e){if(A.ignoreErrors)return void q("buildFontPaths - ignoring ".concat(n,' glyph: "').concat(e,'".'));throw e}}var i,a=jf(t);try{for(a.s();!(i=a.n()).done;){var o=i.value;n(o.fontChar);var s=o.accent;null!=s&&s.fontChar&&n(s.fontChar)}}catch(e){a.e(e)}finally{a.f()}}},{key:"fallbackFontDict",get:function(){var e=new He;return e.set("BaseFont",Ue.get("Helvetica")),e.set("Type",Ue.get("FallbackType")),e.set("Subtype",Ue.get("FallbackType")),e.set("Encoding",Ue.get("WinAnsiEncoding")),_(this,"fallbackFontDict",e)}}]);var t,r,A,n,i,a,o,s,c,g,u}(),tC=function(){return Kf((function e(t){var r=t.loadedName,A=t.font,n=t.dict,i=t.evaluatorOptions;Pf(this,e),this.loadedName=r,this.font=A,this.dict=n,this._evaluatorOptions=i||_f,this.type3Loaded=null,this.type3Dependencies=A.isType3Font?new Set:null,this.sent=!1}),[{key:"send",value:function(e){this.sent||(this.sent=!0,e.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}},{key:"fallback",value:function(e){this.font.data&&(this.font.disableFontFace=!0,eC.buildFontPaths(this.font,this.font.glyphCacheValues,e,this._evaluatorOptions))}},{key:"loadType3Data",value:function(e,t,r){var A=this;if(this.type3Loaded)return this.type3Loaded;if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");var n=e.clone({ignoreErrors:!1}),i=new Pe(e.type3FontRefs);this.dict.objId&&!i.has(this.dict.objId)&&i.put(this.dict.objId),n.type3FontRefs=i;var a,o=this.font,s=this.type3Dependencies,c=Promise.resolve(),g=this.dict.get("CharProcs"),u=this.dict.get("Resources")||t,l=Object.create(null),h=ge.normalizeRect(o.bbox||[0,0,0,0]),I=h[2]-h[0],f=h[3]-h[1],C=Math.hypot(I,f),B=jf(g.getKeys());try{var Q=function(){var e=a.value;c=c.then((function(){var t=g.get(e),i=new kf;return n.getOperatorList({stream:t,task:r,resources:u,operatorList:i}).then((function(){49===i.fnArray[0]&&A._removeType3ColorOperators(i,C),l[e]=i.getIR();var t,r=jf(i.dependencies);try{for(r.s();!(t=r.n()).done;){var n=t.value;s.add(n)}}catch(e){r.e(e)}finally{r.f()}})).catch((function(t){q('Type3 font resource "'.concat(e,'" is not available.'));var r=new kf;l[e]=r.getIR()}))}))};for(B.s();!(a=B.n()).done;)Q()}catch(e){B.e(e)}finally{B.f()}return this.type3Loaded=c.then((function(){o.charProcOperatorList=l,A._bbox&&(o.isCharBBox=!0,o.bbox=A._bbox)})),this.type3Loaded}},{key:"_removeType3ColorOperators",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,r=ge.normalizeRect(e.argsArray[0].slice(2)),A=r[2]-r[0],n=r[3]-r[1],i=Math.hypot(A,n);0===A||0===n?(e.fnArray.splice(0,1),e.argsArray.splice(0,1)):(0===t||Math.round(i/t)>=10)&&(this._bbox||(this._bbox=[1/0,1/0,-1/0,-1/0]),this._bbox[0]=Math.min(this._bbox[0],r[0]),this._bbox[1]=Math.min(this._bbox[1],r[1]),this._bbox[2]=Math.max(this._bbox[2],r[2]),this._bbox[3]=Math.max(this._bbox[3],r[3]));for(var a=0,o=e.length;a<o;){switch(e.fnArray[a]){case 49:break;case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case U:case M:case 60:case 61:case 62:case 7:e.fnArray.splice(a,1),e.argsArray.splice(a,1),o--;continue;case 9:for(var s=Uf(e.argsArray[a],1)[0],c=0,g=s.length;c<g;){switch(Uf(s[c],1)[0]){case"TR":case"TR2":case"HT":case"BG":case"BG2":case"UCR":case"UCR2":s.splice(c,1),g--;continue}c++}}a++}}}])}(),rC=function(){return Kf((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new nC;Pf(this,e),this.state=t,this.stateStack=[]}),[{key:"save",value:function(){var e=this.state;this.stateStack.push(this.state),this.state=e.clone()}},{key:"restore",value:function(){var e=this.stateStack.pop();e&&(this.state=e)}},{key:"transform",value:function(e){this.state.ctm=ge.transform(this.state.ctm,e)}}])}(),AC=function(){return Kf((function e(){Pf(this,e),this.ctm=new Float32Array(C),this.fontName=null,this.fontSize=0,this.loadedName=null,this.font=null,this.fontMatrix=B,this.textMatrix=C.slice(),this.textLineMatrix=C.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}),[{key:"setTextMatrix",value:function(e,t,r,A,n,i){var a=this.textMatrix;a[0]=e,a[1]=t,a[2]=r,a[3]=A,a[4]=n,a[5]=i}},{key:"setTextLineMatrix",value:function(e,t,r,A,n,i){var a=this.textLineMatrix;a[0]=e,a[1]=t,a[2]=r,a[3]=A,a[4]=n,a[5]=i}},{key:"translateTextMatrix",value:function(e,t){var r=this.textMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5]}},{key:"translateTextLineMatrix",value:function(e,t){var r=this.textLineMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5]}},{key:"carriageReturn",value:function(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}},{key:"clone",value:function(){var e=Object.create(this);return e.textMatrix=this.textMatrix.slice(),e.textLineMatrix=this.textLineMatrix.slice(),e.fontMatrix=this.fontMatrix.slice(),e}}])}(),nC=function(){return Kf((function e(){Pf(this,e),this.ctm=new Float32Array(C),this.font=null,this.textRenderingMode=0,this._fillColorSpace=Ur.singletons.gray,this._strokeColorSpace=Ur.singletons.gray,this.patternFillColorSpace=null,this.patternStrokeColorSpace=null}),[{key:"fillColorSpace",get:function(){return this._fillColorSpace},set:function(e){this._fillColorSpace=this.patternFillColorSpace=e}},{key:"strokeColorSpace",get:function(){return this._strokeColorSpace},set:function(e){this._strokeColorSpace=this.patternStrokeColorSpace=e}},{key:"clone",value:function(){return Object.create(this)}}])}(),iC=function(){function e(t,r){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new rC;Pf(this,e),this.parser=new Jo({lexer:new Oo(t,e.opMap),xref:r}),this.stateManager=A,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}return Kf(e,[{key:"savedStatesDepth",get:function(){return this.stateManager.stateStack.length}},{key:"read",value:function(t){for(var r=t.args;;){var A=this.parser.getObj();if(A instanceof Me){var n=A.cmd,i=e.opMap[n];if(!i){q('Unknown command "'.concat(n,'".'));continue}var a=i.id,o=i.numArgs,s=null!==r?r.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=a>=13&&a<=28,i.variableArgs)s>o&&T("Command ".concat(n,": expected [0, ").concat(o,"] args, ")+"but received ".concat(s," args."));else{if(s!==o){for(var c=this.nonProcessedArgs;s>o;)c.push(r.shift()),s--;for(;s<o&&0!==c.length;)null===r&&(r=[]),r.unshift(c.pop()),s++}if(s<o){var g="command ".concat(n,": expected ").concat(o," args, ")+"but received ".concat(s," args.");if(this._isPathOp&&++this._numInvalidPathOPS>e.MAX_INVALID_PATH_OPS)throw new re("Invalid ".concat(g));q("Skipping ".concat(g)),null!==r&&(r.length=0);continue}}return this.preprocessCommand(a,r),t.fn=a,t.args=r,!0}if(A===Re)return!1;if(null!==A&&(null===r&&(r=[]),r.push(A),r.length>33))throw new re("Too many arguments")}}},{key:"preprocessCommand",value:function(e,t){switch(0|e){case x:this.stateManager.save();break;case R:this.stateManager.restore();break;case G:this.stateManager.transform(t)}}}],[{key:"opMap",get:function(){return _(this,"opMap",Object.assign(Object.create(null),{w:{id:2,numArgs:1,variableArgs:!1},J:{id:3,numArgs:1,variableArgs:!1},j:{id:4,numArgs:1,variableArgs:!1},M:{id:5,numArgs:1,variableArgs:!1},d:{id:6,numArgs:2,variableArgs:!1},ri:{id:7,numArgs:1,variableArgs:!1},i:{id:8,numArgs:1,variableArgs:!1},gs:{id:9,numArgs:1,variableArgs:!1},q:{id:x,numArgs:0,variableArgs:!1},Q:{id:R,numArgs:0,variableArgs:!1},cm:{id:G,numArgs:6,variableArgs:!1},m:{id:13,numArgs:2,variableArgs:!1},l:{id:14,numArgs:2,variableArgs:!1},c:{id:15,numArgs:6,variableArgs:!1},v:{id:16,numArgs:4,variableArgs:!1},y:{id:17,numArgs:4,variableArgs:!1},h:{id:18,numArgs:0,variableArgs:!1},re:{id:19,numArgs:4,variableArgs:!1},S:{id:20,numArgs:0,variableArgs:!1},s:{id:21,numArgs:0,variableArgs:!1},f:{id:22,numArgs:0,variableArgs:!1},F:{id:22,numArgs:0,variableArgs:!1},"f*":{id:23,numArgs:0,variableArgs:!1},B:{id:24,numArgs:0,variableArgs:!1},"B*":{id:25,numArgs:0,variableArgs:!1},b:{id:26,numArgs:0,variableArgs:!1},"b*":{id:27,numArgs:0,variableArgs:!1},n:{id:28,numArgs:0,variableArgs:!1},W:{id:29,numArgs:0,variableArgs:!1},"W*":{id:30,numArgs:0,variableArgs:!1},BT:{id:31,numArgs:0,variableArgs:!1},ET:{id:32,numArgs:0,variableArgs:!1},Tc:{id:33,numArgs:1,variableArgs:!1},Tw:{id:34,numArgs:1,variableArgs:!1},Tz:{id:35,numArgs:1,variableArgs:!1},TL:{id:36,numArgs:1,variableArgs:!1},Tf:{id:N,numArgs:2,variableArgs:!1},Tr:{id:38,numArgs:1,variableArgs:!1},Ts:{id:39,numArgs:1,variableArgs:!1},Td:{id:40,numArgs:2,variableArgs:!1},TD:{id:41,numArgs:2,variableArgs:!1},Tm:{id:42,numArgs:6,variableArgs:!1},"T*":{id:43,numArgs:0,variableArgs:!1},Tj:{id:L,numArgs:1,variableArgs:!1},TJ:{id:45,numArgs:1,variableArgs:!1},"'":{id:46,numArgs:1,variableArgs:!1},'"':{id:47,numArgs:3,variableArgs:!1},d0:{id:48,numArgs:2,variableArgs:!1},d1:{id:49,numArgs:6,variableArgs:!1},CS:{id:50,numArgs:1,variableArgs:!1},cs:{id:51,numArgs:1,variableArgs:!1},SC:{id:52,numArgs:4,variableArgs:!0},SCN:{id:53,numArgs:33,variableArgs:!0},sc:{id:54,numArgs:4,variableArgs:!0},scn:{id:55,numArgs:33,variableArgs:!0},G:{id:56,numArgs:1,variableArgs:!1},g:{id:57,numArgs:1,variableArgs:!1},RG:{id:U,numArgs:3,variableArgs:!1},rg:{id:M,numArgs:3,variableArgs:!1},K:{id:60,numArgs:4,variableArgs:!1},k:{id:61,numArgs:4,variableArgs:!1},sh:{id:62,numArgs:1,variableArgs:!1},BI:{id:63,numArgs:0,variableArgs:!1},ID:{id:64,numArgs:0,variableArgs:!1},EI:{id:65,numArgs:1,variableArgs:!1},Do:{id:66,numArgs:1,variableArgs:!1},MP:{id:67,numArgs:1,variableArgs:!1},DP:{id:68,numArgs:2,variableArgs:!1},BMC:{id:69,numArgs:1,variableArgs:!1},BDC:{id:J,numArgs:2,variableArgs:!1},EMC:{id:H,numArgs:0,variableArgs:!1},BX:{id:72,numArgs:0,variableArgs:!1},EX:{id:73,numArgs:0,variableArgs:!1},BM:null,BD:null,true:null,fa:null,fal:null,fals:null,false:null,nu:null,nul:null,null:null}))}}])}();function aC(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=sC(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function oC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||sC(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sC(e,t){if(e){if("string"==typeof e)return cC(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cC(e,t):void 0}}function cC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function gC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uC(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,hC(A.key),A)}}function lC(e,t,r){return t&&uC(e.prototype,t),r&&uC(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function hC(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function IC(e,t,r){return t=CC(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fC()?Reflect.construct(t,r||[],CC(e).constructor):t.apply(e,r))}function fC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(fC=function(){return!!e})()}function CC(e){return CC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},CC(e)}function BC(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&QC(e,t)}function QC(e,t){return QC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},QC(e,t)}Tf(iC,"MAX_INVALID_PATH_OPS",10);var EC=function(e){function t(e){return gC(this,t),IC(this,t,[new or(e)])}return BC(t,iC),lC(t,[{key:"parse",value:function(){var e={fn:0,args:[]},t={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;e.args.length=0,this.read(e);)if(0===this.savedStatesDepth){var r=e.fn,A=e.args;switch(0|r){case N:var n=oC(A,2),i=n[0],a=n[1];i instanceof Ue&&(t.fontName=i.name),"number"==typeof a&&a>0&&(t.fontSize=a);break;case M:Ur.singletons.rgb.getRgbItem(A,0,t.fontColor,0);break;case 57:Ur.singletons.gray.getRgbItem(A,0,t.fontColor,0);break;case 61:Ur.singletons.cmyk.getRgbItem(A,0,t.fontColor,0)}}}catch(e){q('parseDefaultAppearance - ignoring errors: "'.concat(e,'".'))}return t}}])}();function dC(e){return new EC(e).parse()}var yC=function(e){function t(e,r,A){var n,i;return gC(this,t),(i=IC(this,t,[e])).stream=e,i.evaluatorOptions=r,i.xref=A,i.resources=null===(n=e.dict)||void 0===n?void 0:n.get("Resources"),i}return BC(t,iC),lC(t,[{key:"parse",value:function(){var e={fn:0,args:[]},t={scaleFactor:1,fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3),fillColorSpace:Ur.singletons.gray},r=!1,A=[];try{for(;e.args.length=0,!r&&this.read(e);){var n=e.fn,i=e.args;switch(0|n){case x:A.push({scaleFactor:t.scaleFactor,fontSize:t.fontSize,fontName:t.fontName,fontColor:t.fontColor.slice(),fillColorSpace:t.fillColorSpace});break;case R:t=A.pop()||t;break;case 42:t.scaleFactor*=Math.hypot(i[0],i[1]);break;case N:var a=oC(i,2),o=a[0],s=a[1];o instanceof Ue&&(t.fontName=o.name),"number"==typeof s&&s>0&&(t.fontSize=s*t.scaleFactor);break;case 51:t.fillColorSpace=Ur.parse({cs:i[0],xref:this.xref,resources:this.resources,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:this._localColorSpaceCache});break;case 54:t.fillColorSpace.getRgbItem(i,0,t.fontColor,0);break;case M:Ur.singletons.rgb.getRgbItem(i,0,t.fontColor,0);break;case 57:Ur.singletons.gray.getRgbItem(i,0,t.fontColor,0);break;case 61:Ur.singletons.cmyk.getRgbItem(i,0,t.fontColor,0);break;case L:case 45:case 46:case 47:r=!0}}}catch(e){q('parseAppearanceStream - ignoring errors: "'.concat(e,'".'))}return this.stream.reset(),delete t.scaleFactor,delete t.fillColorSpace,t}},{key:"_localColorSpaceCache",get:function(){return _(this,"_localColorSpaceCache",new Uh)}},{key:"_pdfFunctionFactory",get:function(){return _(this,"_pdfFunctionFactory",new iI({xref:this.xref,isEvalSupported:this.evaluatorOptions.isEvalSupported}))}}])}();function pC(e,t){if(e[0]===e[1]&&e[1]===e[2]){var r=e[0]/255;return"".concat(Tt(r)," ").concat(t?"g":"G")}return Array.from(e,(function(e){return Tt(e/255)})).join(" ")+" ".concat(t?"rg":"RG")}var vC=function(){function e(t,r){gC(this,e),this.xref=t,this.widths=null,this.firstChar=1/0,this.lastChar=-1/0,this.fontFamily=r;var A=new OffscreenCanvas(1,1);this.ctxMeasure=A.getContext("2d",{willReadFrequently:!0}),e._fontNameId||(e._fontNameId=1),this.fontName=Ue.get("InvalidPDFjsFont_".concat(r,"_").concat(e._fontNameId++))}return lC(e,[{key:"fontDescriptorRef",get:function(){if(!e._fontDescriptorRef){var t=new He(this.xref);t.set("Type",Ue.get("FontDescriptor")),t.set("FontName",this.fontName),t.set("FontFamily","MyriadPro Regular"),t.set("FontBBox",[0,0,0,0]),t.set("FontStretch",Ue.get("Normal")),t.set("FontWeight",400),t.set("ItalicAngle",0),e._fontDescriptorRef=this.xref.getNewPersistentRef(t)}return e._fontDescriptorRef}},{key:"descendantFontRef",get:function(){var e=new He(this.xref);e.set("BaseFont",this.fontName),e.set("Type",Ue.get("Font")),e.set("Subtype",Ue.get("CIDFontType0")),e.set("CIDToGIDMap",Ue.get("Identity")),e.set("FirstChar",this.firstChar),e.set("LastChar",this.lastChar),e.set("FontDescriptor",this.fontDescriptorRef),e.set("DW",1e3);var t,r=[],A=null,n=null,i=aC(function(e){return function(e){if(Array.isArray(e))return cC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sC(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this.widths.entries()).sort());try{for(i.s();!(t=i.n()).done;){var a=oC(t.value,2),o=a[0],s=a[1];A?o===A+n.length?n.push(s):(r.push(A,n),A=o,n=[s]):(A=o,n=[s])}}catch(e){i.e(e)}finally{i.f()}A&&r.push(A,n),e.set("W",r);var c=new He(this.xref);return c.set("Ordering","Identity"),c.set("Registry","Adobe"),c.set("Supplement",0),e.set("CIDSystemInfo",c),this.xref.getNewPersistentRef(e)}},{key:"baseFontRef",get:function(){var e=new He(this.xref);return e.set("BaseFont",this.fontName),e.set("Type",Ue.get("Font")),e.set("Subtype",Ue.get("Type0")),e.set("Encoding",Ue.get("Identity-H")),e.set("DescendantFonts",[this.descendantFontRef]),e.set("ToUnicode",Ue.get("Identity-H")),this.xref.getNewPersistentRef(e)}},{key:"resources",get:function(){var e=new He(this.xref),t=new He(this.xref);return t.set(this.fontName.name,this.baseFontRef),e.set("Font",t),e}},{key:"_createContext",value:function(){return this.widths=new Map,this.ctxMeasure.font="1000px ".concat(this.fontFamily),this.ctxMeasure}},{key:"createFontResources",value:function(e){var t,r=this._createContext(),A=aC(e.split(/\\r\\n?|\\n/));try{for(A.s();!(t=A.n()).done;){var n,i=aC(t.value.split(""));try{for(i.s();!(n=i.n()).done;){var a=n.value,o=a.charCodeAt(0);if(!this.widths.has(o)){var s=r.measureText(a),c=Math.ceil(s.width);this.widths.set(o,c),this.firstChar=Math.min(o,this.firstChar),this.lastChar=Math.max(o,this.lastChar)}}}catch(e){i.e(e)}finally{i.f()}}}catch(e){A.e(e)}finally{A.f()}return this.resources}},{key:"createAppearance",value:function(e,t,r,A,n,i){var a,o=this._createContext(),s=[],c=-1/0,g=aC(e.split(/\\r\\n?|\\n/));try{for(g.s();!(a=g.n()).done;){var u=a.value;s.push(u);var l=o.measureText(u).width;c=Math.max(c,l);var h,I=aC(Ht(u));try{for(I.s();!(h=I.n()).done;){var f=h.value,C=String.fromCodePoint(f),B=this.widths.get(f);if(void 0===B){var E=o.measureText(C);B=Math.ceil(E.width),this.widths.set(f,B),this.firstChar=Math.min(f,this.firstChar),this.lastChar=Math.max(f,this.lastChar)}}}catch(e){I.e(e)}finally{I.f()}}}catch(e){g.e(e)}finally{g.f()}c*=A/1e3;var d=oC(t,4),y=d[0],p=d[1],v=d[2]-y,m=d[3]-p;if(r%180!=0){var w=[m,v];v=w[0],m=w[1]}var b=1;c>v&&(b=v/c);var k=1,D=Q*A,S=.35*A,F=D*s.length;F>m&&(k=m/F);var x=A*Math.min(b,k),R=["q","0 0 ".concat(Tt(v)," ").concat(Tt(m)," re W n"),"BT","1 0 0 1 0 ".concat(Tt(m+S)," Tm 0 Tc ").concat(pC(n,!0)),"/".concat(this.fontName.name," ").concat(Tt(x)," Tf")],G=this.resources;if(1!==(i="number"==typeof i&&i>=0&&i<=1?i:1)){R.push("/R0 gs");var N=new He(this.xref),L=new He(this.xref);L.set("ca",i),L.set("CA",i),L.set("Type",Ue.get("ExtGState")),N.set("R0",L),G.set("ExtGState",N)}for(var U=Tt(D),M=0,J=s;M<J.length;M++){var H=J[M];R.push("0 -".concat(U," Td <").concat(Wt(H),"> Tj"))}R.push("ET","Q");var Y=R.join("\\n"),P=new He(this.xref);if(P.set("Subtype",Ue.get("Form")),P.set("Type",Ue.get("XObject")),P.set("BBox",[0,0,v,m]),P.set("Length",Y.length),P.set("Resources",G),r){var O=_t(r,v,m);P.set("Matrix",O)}var K=new or(Y);return K.dict=P,K}}],[{key:"getFirstPositionInfo",value:function(e,t,r){var A=oC(e,4),n=A[0],i=A[1],a=A[2]-n,o=A[3]-i;if(t%180!=0){var s=[o,a];a=s[0],o=s[1]}var c=Q*r;return{coords:[0,o+.35*r-c],bbox:[0,0,a,o],matrix:0!==t?_t(t,o,c):void 0}}}])}();function mC(e,t,r){return t=bC(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wC()?Reflect.construct(t,r||[],bC(e).constructor):t.apply(e,r))}function wC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wC=function(){return!!e})()}function bC(e){return bC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bC(e)}function kC(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&DC(e,t)}function DC(e,t){return DC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},DC(e,t)}function SC(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return FC(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?FC(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function FC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function xC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RC(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,NC(A.key),A)}}function GC(e,t,r){return t&&RC(e.prototype,t),r&&RC(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function NC(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}r(6851),r(9750);var LC=function(){return GC((function e(t,r,A){xC(this,e),this.root=t,this.xref=r,this._type=A}),[{key:"getAll",value:function(){var e=new Map;if(!this.root)return e;var t=this.xref,r=new Pe;r.put(this.root);for(var A=[this.root];A.length>0;){var n=t.fetchIfRef(A.shift());if(n instanceof He)if(n.has("Kids")){var i=n.get("Kids");if(!Array.isArray(i))continue;var a,o=SC(i);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(r.has(s))throw new re('Duplicate entry in "'.concat(this._type,'" tree.'));A.push(s),r.put(s)}}catch(e){o.e(e)}finally{o.f()}}else{var c=n.get(this._type);if(Array.isArray(c))for(var g=0,u=c.length;g<u;g+=2)e.set(t.fetchIfRef(c[g]),t.fetchIfRef(c[g+1]))}}return e}},{key:"getRaw",value:function(e){if(!this.root)return null;for(var t=this.xref,r=t.fetchIfRef(this.root),A=0;r.has("Kids");){if(++A>10)return q('Search depth limit reached for "'.concat(this._type,'" tree.')),null;var n=r.get("Kids");if(!Array.isArray(n))return null;for(var i=0,a=n.length-1;i<=a;){var o=i+a>>1,s=t.fetchIfRef(n[o]),c=s.get("Limits");if(e<t.fetchIfRef(c[0]))a=o-1;else{if(!(e>t.fetchIfRef(c[1]))){r=s;break}i=o+1}}if(i>a)return null}var g=r.get(this._type);if(Array.isArray(g))for(var u=0,l=g.length-2;u<=l;){var h=u+l>>1,I=h+(1&h),f=t.fetchIfRef(g[I]);if(e<f)l=I-2;else{if(!(e>f))return g[I+1];u=I+2}}return null}},{key:"get",value:function(e){return this.xref.fetchIfRef(this.getRaw(e))}}])}(),UC=function(e){function t(e,r){return xC(this,t),mC(this,t,[e,r,"Names"])}return kC(t,LC),GC(t)}(),MC=function(e){function t(e,r){return xC(this,t),mC(this,t,[e,r,"Nums"])}return kC(t,LC),GC(t)}();function JC(){hl=Object.create(null),Ge=Object.create(null),Ne=Object.create(null),Le=Object.create(null),Ec.clear(),Va.cleanup()}function HC(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,YC(A.key),A)}}function YC(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function PC(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function OC(e){return e instanceof He?e.has("UF")?e.get("UF"):e.has("F")?e.get("F"):e.has("Unix")?e.get("Unix"):e.has("Mac")?e.get("Mac"):e.has("DOS")?e.get("DOS"):null:null}var KC=new WeakMap,TC=function(){return function(e,t,r){return t&&HC(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r){var A,n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(this,KC,!1),t instanceof He&&(this.xref=r,this.root=t,t.has("FS")&&(this.fs=t.get("FS")),t.has("RF")&&q("Related file specifications are not supported"),i||(t.has("EF")?(n=this,(A=KC).set(PC(A,n),!0)):q("Non-embedded file specifications are not supported")))}),[{key:"filename",get:function(){var e="",t=OC(this.root);return t&&"string"==typeof t&&(e=Ie(t).replaceAll("\\\\\\\\","\\\\").replaceAll("\\\\/","/").replaceAll("\\\\","/")),_(this,"filename",e||"unnamed")}},{key:"content",get:function(){var e,t;if(this,!(t=KC).get(PC(t,this)))return null;this._contentRef||(this._contentRef=OC(null===(e=this.root)||void 0===e?void 0:e.get("EF")));var r=null;if(this._contentRef){var A=this.xref.fetchIfRef(this._contentRef);A instanceof ze?r=A.getBytes():q("Embedded file specification points to non-existing/invalid content")}else q("Embedded file specification does not have any content");return r}},{key:"description",get:function(){var e,t="",r=null===(e=this.root)||void 0===e?void 0:e.get("Desc");return r&&"string"==typeof r&&(t=Ie(r)),_(this,"description",t)}},{key:"serializable",get:function(){return{rawFilename:this.filename,filename:(e=this.filename,e.substring(e.lastIndexOf("/")+1)),content:this.content,description:this.description};var e}}])}();function qC(e,t,r){return t=WC(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,jC()?Reflect.construct(t,r||[],WC(e).constructor):t.apply(e,r))}function jC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(jC=function(){return!!e})()}function WC(e){return WC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},WC(e)}function ZC(e,t){return ZC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZC(e,t)}function _C(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=VC(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function XC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||VC(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function VC(e,t){if(e){if("string"==typeof e)return zC(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zC(e,t):void 0}}function zC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function $C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eB(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,rB(A.key),A)}}function tB(e,t,r){return t&&eB(e.prototype,t),r&&eB(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function rB(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}r(9210);function AB(e,t){var r=e[t];return" "===r||"\\n"===r||"\\r"===r||"\\t"===r}var nB=function(){return tB((function e(){$C(this,e)}),[{key:"_resolveEntities",value:function(e){var t=this;return e.replaceAll(/&([^;]+);/g,(function(e,r){if("#x"===r.substring(0,2))return String.fromCodePoint(parseInt(r.substring(2),16));if("#"===r.substring(0,1))return String.fromCodePoint(parseInt(r.substring(1),10));switch(r){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return t.onResolveEntity(r)}))}},{key:"_parseContent",value:function(e,t){var r=[],A=t;function n(){for(;A<e.length&&AB(e,A);)++A}for(;A<e.length&&!AB(e,A)&&">"!==e[A]&&"/"!==e[A];)++A;var i=e.substring(t,A);for(n();A<e.length&&">"!==e[A]&&"/"!==e[A]&&"?"!==e[A];){n();for(var a,o="";A<e.length&&!AB(e,A)&&"="!==e[A];)o+=e[A],++A;if(n(),"="!==e[A])return null;++A,n();var s=e[A];if('"'!==s&&"'"!==s)return null;var c=e.indexOf(s,++A);if(c<0)return null;a=e.substring(A,c),r.push({name:o,value:this._resolveEntities(a)}),A=c+1,n()}return{name:i,attributes:r,parsed:A-t}}},{key:"_parseProcessingInstruction",value:function(e,t){for(var r=t;r<e.length&&!AB(e,r)&&">"!==e[r]&&"?"!==e[r]&&"/"!==e[r];)++r;var A=e.substring(t,r);!function(){for(;r<e.length&&AB(e,r);)++r}();for(var n=r;r<e.length&&("?"!==e[r]||">"!==e[r+1]);)++r;return{name:A,value:e.substring(n,r),parsed:r-t}}},{key:"parseXml",value:function(e){for(var t=0;t<e.length;){var r=t;if("<"===e[t]){var A=void 0;switch(e[++r]){case"/":if(++r,(A=e.indexOf(">",r))<0)return void this.onError(-9);this.onEndElement(e.substring(r,A)),r=A+1;break;case"?":++r;var n=this._parseProcessingInstruction(e,r);if("?>"!==e.substring(r+n.parsed,r+n.parsed+2))return void this.onError(-3);this.onPi(n.name,n.value),r+=n.parsed+2;break;case"!":if("--"===e.substring(r+1,r+3)){if((A=e.indexOf("--\\x3e",r+3))<0)return void this.onError(-5);this.onComment(e.substring(r+3,A)),r=A+3}else if("[CDATA["===e.substring(r+1,r+8)){if((A=e.indexOf("]]>",r+8))<0)return void this.onError(-2);this.onCdata(e.substring(r+8,A)),r=A+3}else{if("DOCTYPE"!==e.substring(r+1,r+8))return void this.onError(-6);var i=e.indexOf("[",r+8),a=!1;if((A=e.indexOf(">",r+8))<0)return void this.onError(-4);if(i>0&&A>i){if((A=e.indexOf("]>",r+8))<0)return void this.onError(-4);a=!0}var o=e.substring(r+8,A+(a?1:0));this.onDoctype(o),r=A+(a?2:1)}break;default:var s=this._parseContent(e,r);if(null===s)return void this.onError(-6);var c=!1;if("/>"===e.substring(r+s.parsed,r+s.parsed+2))c=!0;else if(">"!==e.substring(r+s.parsed,r+s.parsed+1))return void this.onError(-9);this.onBeginElement(s.name,s.attributes,c),r+=s.parsed+(c?2:1)}}else{for(;r<e.length&&"<"!==e[r];)r++;var g=e.substring(t,r);this.onText(this._resolveEntities(g))}t=r}}},{key:"onResolveEntity",value:function(e){return"&".concat(e,";")}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,r){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}])}(),iB=function(){return tB((function e(t,r){$C(this,e),this.nodeName=t,this.nodeValue=r,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}),[{key:"firstChild",get:function(){var e;return null===(e=this.childNodes)||void 0===e?void 0:e[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes;if(e){var t=e.indexOf(this);if(-1!==t)return e[t+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(e){return e.textContent})).join(""):this.nodeValue||""}},{key:"children",get:function(){return this.childNodes||[]}},{key:"hasChildNodes",value:function(){var e;return(null===(e=this.childNodes)||void 0===e?void 0:e.length)>0}},{key:"searchNode",value:function(e,t){if(t>=e.length)return this;var r=e[t];if(r.name.startsWith("#")&&t<e.length-1)return this.searchNode(e,t+1);for(var A=[],n=this;;){var i;if(r.name===n.nodeName){if(0!==r.pos){if(0===A.length)return null;var a,o=0,s=_C(XC(A.pop(),1)[0].childNodes);try{for(s.s();!(a=s.n()).done;){var c=a.value;if(r.name===c.nodeName){if(o===r.pos)return c.searchNode(e,t+1);o++}}}catch(e){s.e(e)}finally{s.f()}return n.searchNode(e,t+1)}var g=n.searchNode(e,t+1);if(null!==g)return g}if((null===(i=n.childNodes)||void 0===i?void 0:i.length)>0)A.push([n,0]),n=n.childNodes[0];else{if(0===A.length)return null;for(;0!==A.length;){var u=XC(A.pop(),2),l=u[0],h=u[1]+1;if(h<l.childNodes.length){A.push([l,h]),n=l.childNodes[h];break}}if(0===A.length)return null}}}},{key:"dump",value:function(e){if("#text"!==this.nodeName){if(e.push("<".concat(this.nodeName)),this.attributes){var t,r=_C(this.attributes);try{for(r.s();!(t=r.n()).done;){var A=t.value;e.push(" ".concat(A.name,'="').concat(Yt(A.value),'"'))}}catch(e){r.e(e)}finally{r.f()}}if(this.hasChildNodes()){e.push(">");var n,i=_C(this.childNodes);try{for(i.s();!(n=i.n()).done;)n.value.dump(e)}catch(e){i.e(e)}finally{i.f()}e.push("</".concat(this.nodeName,">"))}else this.nodeValue?e.push(">".concat(Yt(this.nodeValue),"</").concat(this.nodeName,">")):e.push("/>")}else e.push(Yt(this.nodeValue))}}])}(),aB=function(e){function t(e){var r,A=e.hasAttributes,n=void 0!==A&&A,i=e.lowerCaseName,a=void 0!==i&&i;return $C(this,t),(r=qC(this,t))._currentFragment=null,r._stack=null,r._errorCode=0,r._hasAttributes=n,r._lowerCaseName=a,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZC(e,t)}(t,nB),tB(t,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=0,this.parseXml(e),0===this._errorCode){var t=XC(this._currentFragment,1)[0];if(t)return{documentElement:t}}}},{key:"onText",value:function(e){if(!function(e){for(var t=0,r=e.length;t<r;t++)if(!AB(e,t))return!1;return!0}(e)){var t=new iB("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new iB("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,r){this._lowerCaseName&&(e=e.toLowerCase());var A=new iB(e);A.childNodes=[],this._hasAttributes&&(A.attributes=t),this._currentFragment.push(A),r||(this._stack.push(this._currentFragment),this._currentFragment=A.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop()||[];var t=this._currentFragment.at(-1);if(!t)return null;var r,A=_C(t.childNodes);try{for(A.s();!(r=A.n()).done;)r.value.parentNode=t}catch(e){A.e(e)}finally{A.f()}return t}},{key:"onError",value:function(e){this._errorCode=e}}])}();function oB(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=sB(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function sB(e,t){if(e){if("string"==typeof e)return cB(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cB(e,t):void 0}}function cB(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function gB(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,uB(A.key),A)}}function uB(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var lB=function(){return function(e,t,r){return t&&gB(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this._repair(t);var r=new aB({lowerCaseName:!0}).parseFromString(t);this._metadataMap=new Map,this._data=t,r&&this._parse(r)}),[{key:"_repair",value:function(e){return e.replace(/^[^<]+/,"").replaceAll(/>\\\\376\\\\377([^<]+)/g,(function(e,t){for(var r=t.replaceAll(/\\\\([0-3])([0-7])([0-7])/g,(function(e,t,r,A){return String.fromCharCode(64*t+8*r+1*A)})).replaceAll(/&(amp|apos|gt|lt|quot);/g,(function(e,t){switch(t){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(t," isn't defined."))})),A=[">"],n=0,i=r.length;n<i;n+=2){var a=256*r.charCodeAt(n)+r.charCodeAt(n+1);a>=32&&a<127&&60!==a&&62!==a&&38!==a?A.push(String.fromCharCode(a)):A.push("&#x"+(65536+a).toString(16).substring(1)+";")}return A.join("")}))}},{key:"_getSequence",value:function(e){var t=e.nodeName;return"rdf:bag"!==t&&"rdf:seq"!==t&&"rdf:alt"!==t?null:e.childNodes.filter((function(e){return"rdf:li"===e.nodeName}))}},{key:"_parseArray",value:function(e){if(e.hasChildNodes()){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||sB(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.childNodes,1)[0],r=this._getSequence(t)||[];this._metadataMap.set(e.nodeName,r.map((function(e){return e.textContent.trim()})))}}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName)for(t=t.firstChild;t&&"rdf:rdf"!==t.nodeName;)t=t.nextSibling;if(t&&"rdf:rdf"===t.nodeName&&t.hasChildNodes()){var r,A=oB(t.childNodes);try{for(A.s();!(r=A.n()).done;){var n=r.value;if("rdf:description"===n.nodeName){var i,a=oB(n.childNodes);try{for(a.s();!(i=a.n()).done;){var o=i.value,s=o.nodeName;switch(s){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(o);continue}this._metadataMap.set(s,o.textContent.trim())}}catch(e){a.e(e)}finally{a.f()}}}}catch(e){A.e(e)}finally{A.f()}}}},{key:"serializable",get:function(){return{parsedData:this._metadataMap,rawData:this._data}}}])}();function hB(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,IB(A.key),A)}}function IB(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function fB(e,t,r){return t=BB(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,CB()?Reflect.construct(t,r||[],BB(e).constructor):t.apply(e,r))}function CB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(CB=function(){return!!e})()}function BB(e){return BB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},BB(e)}function QB(e,t){return QB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},QB(e,t)}var EB=function(e){function t(e,r,A){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=fB(this,t,[r])).str=e,n.dict=e.dict,n.decrypt=A,n.nextChunk=null,n.initialized=!1,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&QB(e,t)}(t,XA),function(e,t,r){return t&&hB(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"readBlock",value:function(){var e,t;if(this.initialized?t=this.nextChunk:(t=this.str.getBytes(512),this.initialized=!0),t&&0!==t.length){this.nextChunk=this.str.getBytes(512);var r=(null===(e=this.nextChunk)||void 0===e?void 0:e.length)>0;t=(0,this.decrypt)(t,!r);var A=this.bufferLength,n=A+t.length;this.ensureBuffer(n).set(t,A),this.bufferLength=n}else this.eof=!0}}])}();function dB(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function yB(e,t,r){return t=vB(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pB()?Reflect.construct(t,r||[],vB(e).constructor):t.apply(e,r))}function pB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pB=function(){return!!e})()}function vB(e){return vB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vB(e)}function mB(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wB(e,t)}function wB(e,t){return wB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wB(e,t)}function bB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kB(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,SB(A.key),A)}}function DB(e,t,r){return t&&kB(e.prototype,t),r&&kB(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function SB(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var FB=function(){return DB((function e(t){bB(this,e),this.a=0,this.b=0;for(var r=new Uint8Array(256),A=t.length,n=0;n<256;++n)r[n]=n;for(var i=0,a=0;i<256;++i){var o=r[i];a=a+o+t[i%A]&255,r[i]=r[a],r[a]=o}this.s=r}),[{key:"encryptBlock",value:function(e){for(var t=this.a,r=this.b,A=this.s,n=e.length,i=new Uint8Array(n),a=0;a<n;++a){var o=A[t=t+1&255],s=A[r=r+o&255];A[t]=s,A[r]=o,i[a]=e[a]^A[o+s&255]}return this.a=t,this.b=r,i}},{key:"decryptBlock",value:function(e){return this.encryptBlock(e)}},{key:"encrypt",value:function(e){return this.encryptBlock(e)}}])}(),xB=function(){var e=new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]),t=new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]);return function(r,A,n){var i,a,o=1732584193,s=-271733879,c=-1732584194,g=271733878,u=n+72&-64,l=new Uint8Array(u);for(i=0;i<n;++i)l[i]=r[A++];l[i++]=128;for(var h=u-8;i<h;)l[i++]=0;l[i++]=n<<3&255,l[i++]=n>>5&255,l[i++]=n>>13&255,l[i++]=n>>21&255,l[i++]=n>>>29&255,l[i++]=0,l[i++]=0,l[i++]=0;var I=new Int32Array(16);for(i=0;i<u;){for(a=0;a<16;++a,i+=4)I[a]=l[i]|l[i+1]<<8|l[i+2]<<16|l[i+3]<<24;var f=o,C=s,B=c,Q=g,E=void 0,d=void 0;for(a=0;a<64;++a){a<16?(E=C&B|~C&Q,d=a):a<32?(E=Q&C|~Q&B,d=5*a+1&15):a<48?(E=C^B^Q,d=3*a+5&15):(E=B^(C|~Q),d=7*a&15);var y=Q,p=f+E+t[a]+I[d]|0,v=e[a];Q=B,B=C,C=C+(p<<v|p>>>32-v)|0,f=y}o=o+f|0,s=s+C|0,c=c+B|0,g=g+Q|0}return new Uint8Array([255&o,o>>8&255,o>>16&255,o>>>24&255,255&s,s>>8&255,s>>16&255,s>>>24&255,255&c,c>>8&255,c>>16&255,c>>>24&255,255&g,g>>8&255,g>>16&255,g>>>24&255])}}(),RB=function(){return DB((function e(t,r){bB(this,e),this.high=0|t,this.low=0|r}),[{key:"and",value:function(e){this.high&=e.high,this.low&=e.low}},{key:"xor",value:function(e){this.high^=e.high,this.low^=e.low}},{key:"or",value:function(e){this.high|=e.high,this.low|=e.low}},{key:"shiftRight",value:function(e){e>=32?(this.low=this.high>>>e-32|0,this.high=0):(this.low=this.low>>>e|this.high<<32-e,this.high=this.high>>>e|0)}},{key:"shiftLeft",value:function(e){e>=32?(this.high=this.low<<e-32,this.low=0):(this.high=this.high<<e|this.low>>>32-e,this.low<<=e)}},{key:"rotateRight",value:function(e){var t,r;32&e?(r=this.low,t=this.high):(t=this.low,r=this.high),e&=31,this.low=t>>>e|r<<32-e,this.high=r>>>e|t<<32-e}},{key:"not",value:function(){this.high=~this.high,this.low=~this.low}},{key:"add",value:function(e){var t=(this.low>>>0)+(e.low>>>0),r=(this.high>>>0)+(e.high>>>0);t>4294967295&&(r+=1),this.low=0|t,this.high=0|r}},{key:"copyTo",value:function(e,t){e[t]=this.high>>>24&255,e[t+1]=this.high>>16&255,e[t+2]=this.high>>8&255,e[t+3]=255&this.high,e[t+4]=this.low>>>24&255,e[t+5]=this.low>>16&255,e[t+6]=this.low>>8&255,e[t+7]=255&this.low}},{key:"assign",value:function(e){this.high=e.high,this.low=e.low}}])}(),GB=function(){function e(e,t){return e>>>t|e<<32-t}function t(e,t,r){return e&t^~e&r}function r(e,t,r){return e&t^e&r^t&r}function A(t){return e(t,2)^e(t,13)^e(t,22)}function n(t){return e(t,6)^e(t,11)^e(t,25)}function i(t){return e(t,7)^e(t,18)^t>>>3}var a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];return function(o,s,c){var g,u,l=1779033703,h=3144134277,I=1013904242,f=2773480762,C=1359893119,B=2600822924,Q=528734635,E=1541459225,d=64*Math.ceil((c+9)/64),y=new Uint8Array(d);for(g=0;g<c;++g)y[g]=o[s++];y[g++]=128;for(var p=d-8;g<p;)y[g++]=0;y[g++]=0,y[g++]=0,y[g++]=0,y[g++]=c>>>29&255,y[g++]=c>>21&255,y[g++]=c>>13&255,y[g++]=c>>5&255,y[g++]=c<<3&255;var v,m=new Uint32Array(64);for(g=0;g<d;){for(u=0;u<16;++u)m[u]=y[g]<<24|y[g+1]<<16|y[g+2]<<8|y[g+3],g+=4;for(u=16;u<64;++u)m[u]=0|(e(v=m[u-2],17)^e(v,19)^v>>>10)+m[u-7]+i(m[u-15])+m[u-16];var w=l,b=h,k=I,D=f,S=C,F=B,x=Q,R=E,G=void 0,N=void 0;for(u=0;u<64;++u)G=R+n(S)+t(S,F,x)+a[u]+m[u],N=A(w)+r(w,b,k),R=x,x=F,F=S,S=D+G|0,D=k,k=b,b=w,w=G+N|0;l=l+w|0,h=h+b|0,I=I+k|0,f=f+D|0,C=C+S|0,B=B+F|0,Q=Q+x|0,E=E+R|0}return new Uint8Array([l>>24&255,l>>16&255,l>>8&255,255&l,h>>24&255,h>>16&255,h>>8&255,255&h,I>>24&255,I>>16&255,I>>8&255,255&I,f>>24&255,f>>16&255,f>>8&255,255&f,C>>24&255,C>>16&255,C>>8&255,255&C,B>>24&255,B>>16&255,B>>8&255,255&B,Q>>24&255,Q>>16&255,Q>>8&255,255&Q,E>>24&255,E>>16&255,E>>8&255,255&E])}}(),NB=function(){function e(e,t,r,A,n){e.assign(t),e.and(r),n.assign(t),n.not(),n.and(A),e.xor(n)}function t(e,t,r,A,n){e.assign(t),e.and(r),n.assign(t),n.and(A),e.xor(n),n.assign(r),n.and(A),e.xor(n)}function r(e,t,r){e.assign(t),e.rotateRight(28),r.assign(t),r.rotateRight(34),e.xor(r),r.assign(t),r.rotateRight(39),e.xor(r)}function A(e,t,r){e.assign(t),e.rotateRight(14),r.assign(t),r.rotateRight(18),e.xor(r),r.assign(t),r.rotateRight(41),e.xor(r)}function n(e,t,r){e.assign(t),e.rotateRight(1),r.assign(t),r.rotateRight(8),e.xor(r),r.assign(t),r.shiftRight(7),e.xor(r)}function i(e,t,r){e.assign(t),e.rotateRight(19),r.assign(t),r.rotateRight(61),e.xor(r),r.assign(t),r.shiftRight(6),e.xor(r)}var a=[new RB(1116352408,3609767458),new RB(1899447441,602891725),new RB(3049323471,3964484399),new RB(3921009573,2173295548),new RB(961987163,4081628472),new RB(1508970993,3053834265),new RB(2453635748,2937671579),new RB(2870763221,3664609560),new RB(3624381080,2734883394),new RB(310598401,1164996542),new RB(607225278,1323610764),new RB(1426881987,3590304994),new RB(1925078388,4068182383),new RB(2162078206,991336113),new RB(2614888103,633803317),new RB(3248222580,3479774868),new RB(3835390401,2666613458),new RB(4022224774,944711139),new RB(264347078,2341262773),new RB(604807628,2007800933),new RB(770255983,1495990901),new RB(1249150122,1856431235),new RB(1555081692,3175218132),new RB(1996064986,2198950837),new RB(2554220882,3999719339),new RB(2821834349,766784016),new RB(2952996808,2566594879),new RB(3210313671,3203337956),new RB(3336571891,1034457026),new RB(3584528711,2466948901),new RB(113926993,3758326383),new RB(338241895,168717936),new RB(666307205,1188179964),new RB(773529912,1546045734),new RB(1294757372,1522805485),new RB(1396182291,2643833823),new RB(1695183700,2343527390),new RB(1986661051,1014477480),new RB(2177026350,1206759142),new RB(2456956037,344077627),new RB(2730485921,1290863460),new RB(2820302411,3158454273),new RB(3259730800,3505952657),new RB(3345764771,106217008),new RB(3516065817,3606008344),new RB(3600352804,1432725776),new RB(4094571909,1467031594),new RB(275423344,851169720),new RB(430227734,3100823752),new RB(506948616,1363258195),new RB(659060556,3750685593),new RB(883997877,3785050280),new RB(958139571,3318307427),new RB(1322822218,3812723403),new RB(1537002063,2003034995),new RB(1747873779,3602036899),new RB(1955562222,1575990012),new RB(2024104815,1125592928),new RB(2227730452,2716904306),new RB(2361852424,442776044),new RB(2428436474,593698344),new RB(2756734187,3733110249),new RB(3204031479,2999351573),new RB(3329325298,3815920427),new RB(3391569614,3928383900),new RB(3515267271,566280711),new RB(3940187606,3454069534),new RB(4118630271,4000239992),new RB(116418474,1914138554),new RB(174292421,2731055270),new RB(289380356,3203993006),new RB(460393269,320620315),new RB(685471733,587496836),new RB(852142971,1086792851),new RB(1017036298,365543100),new RB(1126000580,2618297676),new RB(1288033470,3409855158),new RB(1501505948,4234509866),new RB(1607167915,987167468),new RB(1816402316,1246189591)];return function(o,s,c){var g,u,l,h,I,f,C,B,Q=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Q?(g=new RB(3418070365,3238371032),u=new RB(1654270250,914150663),l=new RB(2438529370,812702999),h=new RB(355462360,4144912697),I=new RB(1731405415,4290775857),f=new RB(2394180231,1750603025),C=new RB(3675008525,1694076839),B=new RB(1203062813,3204075428)):(g=new RB(1779033703,4089235720),u=new RB(3144134277,2227873595),l=new RB(1013904242,4271175723),h=new RB(2773480762,1595750129),I=new RB(1359893119,2917565137),f=new RB(2600822924,725511199),C=new RB(528734635,4215389547),B=new RB(1541459225,327033209));var E,d,y=128*Math.ceil((c+17)/128),p=new Uint8Array(y);for(E=0;E<c;++E)p[E]=o[s++];p[E++]=128;for(var v=y-16;E<v;)p[E++]=0;p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=c>>>29&255,p[E++]=c>>21&255,p[E++]=c>>13&255,p[E++]=c>>5&255,p[E++]=c<<3&255;var m=new Array(80);for(E=0;E<80;E++)m[E]=new RB(0,0);var w,b,k=new RB(0,0),D=new RB(0,0),S=new RB(0,0),F=new RB(0,0),x=new RB(0,0),R=new RB(0,0),G=new RB(0,0),N=new RB(0,0),L=new RB(0,0),U=new RB(0,0),M=new RB(0,0),J=new RB(0,0);for(E=0;E<y;){for(d=0;d<16;++d)m[d].high=p[E]<<24|p[E+1]<<16|p[E+2]<<8|p[E+3],m[d].low=p[E+4]<<24|p[E+5]<<16|p[E+6]<<8|p[E+7],E+=8;for(d=16;d<80;++d)i(w=m[d],m[d-2],J),w.add(m[d-7]),n(M,m[d-15],J),w.add(M),w.add(m[d-16]);for(k.assign(g),D.assign(u),S.assign(l),F.assign(h),x.assign(I),R.assign(f),G.assign(C),N.assign(B),d=0;d<80;++d)L.assign(N),A(M,x,J),L.add(M),e(M,x,R,G,J),L.add(M),L.add(a[d]),L.add(m[d]),r(U,k,J),t(M,k,D,S,J),U.add(M),w=N,N=G,G=R,R=x,F.add(L),x=F,F=S,S=D,D=k,w.assign(L),w.add(U),k=w;g.add(k),u.add(D),l.add(S),h.add(F),I.add(x),f.add(R),C.add(G),B.add(N)}return Q?(b=new Uint8Array(48),g.copyTo(b,0),u.copyTo(b,8),l.copyTo(b,16),h.copyTo(b,24),I.copyTo(b,32),f.copyTo(b,40)):(b=new Uint8Array(64),g.copyTo(b,0),u.copyTo(b,8),l.copyTo(b,16),h.copyTo(b,24),I.copyTo(b,32),f.copyTo(b,40),C.copyTo(b,48),B.copyTo(b,56)),b}}(),LB=function(){return DB((function e(){bB(this,e)}),[{key:"decryptBlock",value:function(e){return e}},{key:"encrypt",value:function(e){return e}}])}(),UB=function(){return DB((function e(){bB(this,e),this._s=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),this._inv_s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]),this._mix=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]),this._mixCol=new Uint8Array(256);for(var t=0;t<256;t++)this._mixCol[t]=t<128?t<<1:t<<1^27;this.buffer=new Uint8Array(16),this.bufferPosition=0}),[{key:"_expandKey",value:function(e){j("Cannot call \`_expandKey\` on the base class")}},{key:"_decrypt",value:function(e,t){var r,A,n,i=new Uint8Array(16);i.set(e);for(var a=0,o=this._keySize;a<16;++a,++o)i[a]^=t[o];for(var s=this._cyclesOfRepetition-1;s>=1;--s){r=i[13],i[13]=i[9],i[9]=i[5],i[5]=i[1],i[1]=r,r=i[14],A=i[10],i[14]=i[6],i[10]=i[2],i[6]=r,i[2]=A,r=i[15],A=i[11],n=i[7],i[15]=i[3],i[11]=r,i[7]=A,i[3]=n;for(var c=0;c<16;++c)i[c]=this._inv_s[i[c]];for(var g=0,u=16*s;g<16;++g,++u)i[g]^=t[u];for(var l=0;l<16;l+=4){var h=this._mix[i[l]],I=this._mix[i[l+1]],f=this._mix[i[l+2]],C=this._mix[i[l+3]];r=h^I>>>8^I<<24^f>>>16^f<<16^C>>>24^C<<8,i[l]=r>>>24&255,i[l+1]=r>>16&255,i[l+2]=r>>8&255,i[l+3]=255&r}}r=i[13],i[13]=i[9],i[9]=i[5],i[5]=i[1],i[1]=r,r=i[14],A=i[10],i[14]=i[6],i[10]=i[2],i[6]=r,i[2]=A,r=i[15],A=i[11],n=i[7],i[15]=i[3],i[11]=r,i[7]=A,i[3]=n;for(var B=0;B<16;++B)i[B]=this._inv_s[i[B]],i[B]^=t[B];return i}},{key:"_encrypt",value:function(e,t){var r,A,n,i=this._s,a=new Uint8Array(16);a.set(e);for(var o=0;o<16;++o)a[o]^=t[o];for(var s=1;s<this._cyclesOfRepetition;s++){for(var c=0;c<16;++c)a[c]=i[a[c]];n=a[1],a[1]=a[5],a[5]=a[9],a[9]=a[13],a[13]=n,n=a[2],A=a[6],a[2]=a[10],a[6]=a[14],a[10]=n,a[14]=A,n=a[3],A=a[7],r=a[11],a[3]=a[15],a[7]=n,a[11]=A,a[15]=r;for(var g=0;g<16;g+=4){var u=a[g+0],l=a[g+1],h=a[g+2],I=a[g+3];r=u^l^h^I,a[g+0]^=r^this._mixCol[u^l],a[g+1]^=r^this._mixCol[l^h],a[g+2]^=r^this._mixCol[h^I],a[g+3]^=r^this._mixCol[I^u]}for(var f=0,C=16*s;f<16;++f,++C)a[f]^=t[C]}for(var B=0;B<16;++B)a[B]=i[a[B]];n=a[1],a[1]=a[5],a[5]=a[9],a[9]=a[13],a[13]=n,n=a[2],A=a[6],a[2]=a[10],a[6]=a[14],a[10]=n,a[14]=A,n=a[3],A=a[7],r=a[11],a[3]=a[15],a[7]=n,a[11]=A,a[15]=r;for(var Q=0,E=this._keySize;Q<16;++Q,++E)a[Q]^=t[E];return a}},{key:"_decryptBlock2",value:function(e,t){for(var r=e.length,A=this.buffer,n=this.bufferPosition,i=[],a=this.iv,o=0;o<r;++o)if(A[n]=e[o],!(++n<16)){for(var s=this._decrypt(A,this._key),c=0;c<16;++c)s[c]^=a[c];a=A,i.push(s),A=new Uint8Array(16),n=0}if(this.buffer=A,this.bufferLength=n,this.iv=a,0===i.length)return new Uint8Array(0);var g=16*i.length;if(t){var u=i.at(-1),l=u[15];if(l<=16){for(var h=15,I=16-l;h>=I;--h)if(u[h]!==l){l=0;break}g-=l,i[i.length-1]=u.subarray(0,16-l)}}for(var f=new Uint8Array(g),C=0,B=0,Q=i.length;C<Q;++C,B+=16)f.set(i[C],B);return f}},{key:"decryptBlock",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,A=e.length,n=this.buffer,i=this.bufferPosition;if(r)this.iv=r;else{for(var a=0;i<16&&a<A;++a,++i)n[i]=e[a];if(i<16)return this.bufferLength=i,new Uint8Array(0);this.iv=n,e=e.subarray(16)}return this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=this._decryptBlock2,this.decryptBlock(e,t)}},{key:"encrypt",value:function(e,t){var r=e.length,A=this.buffer,n=this.bufferPosition,i=[];t||(t=new Uint8Array(16));for(var a=0;a<r;++a)if(A[n]=e[a],!(++n<16)){for(var o=0;o<16;++o)A[o]^=t[o];var s=this._encrypt(A,this._key);t=s,i.push(s),A=new Uint8Array(16),n=0}if(this.buffer=A,this.bufferLength=n,this.iv=t,0===i.length)return new Uint8Array(0);for(var c=16*i.length,g=new Uint8Array(c),u=0,l=0,h=i.length;u<h;++u,l+=16)g.set(i[u],l);return g}}])}(),MB=function(e){function t(e){var r;return bB(this,t),(r=yB(this,t))._cyclesOfRepetition=10,r._keySize=160,r._rcon=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]),r._key=r._expandKey(e),r}return mB(t,UB),DB(t,[{key:"_expandKey",value:function(e){var t=this._s,r=this._rcon,A=new Uint8Array(176);A.set(e);for(var n=16,i=1;n<176;++i){var a=A[n-3],o=A[n-2],s=A[n-1],c=A[n-4];a=t[a],o=t[o],s=t[s],c=t[c],a^=r[i];for(var g=0;g<4;++g)A[n]=a^=A[n-16],A[++n]=o^=A[n-16],A[++n]=s^=A[n-16],A[++n]=c^=A[n-16],n++}return A}}])}(),JB=function(e){function t(e){var r;return bB(this,t),(r=yB(this,t))._cyclesOfRepetition=14,r._keySize=224,r._key=r._expandKey(e),r}return mB(t,UB),DB(t,[{key:"_expandKey",value:function(e){var t=this._s,r=new Uint8Array(240);r.set(e);for(var A,n,i,a,o=1,s=32,c=1;s<240;++c){s%32==16?(A=t[A],n=t[n],i=t[i],a=t[a]):s%32==0&&(A=r[s-3],n=r[s-2],i=r[s-1],a=r[s-4],A=t[A],n=t[n],i=t[i],a=t[a],A^=o,(o<<=1)>=256&&(o=255&(27^o)));for(var g=0;g<4;++g)r[s]=A^=r[s-32],r[++s]=n^=r[s-32],r[++s]=i^=r[s-32],r[++s]=a^=r[s-32],s++}return r}}])}(),HB=function(){return DB((function e(){bB(this,e)}),[{key:"checkOwnerPassword",value:function(e,t,r,A){var n=new Uint8Array(e.length+56);return n.set(e,0),n.set(t,e.length),n.set(r,e.length+t.length),Be(GB(n,0,n.length),A)}},{key:"checkUserPassword",value:function(e,t,r){var A=new Uint8Array(e.length+8);return A.set(e,0),A.set(t,e.length),Be(GB(A,0,A.length),r)}},{key:"getOwnerKey",value:function(e,t,r,A){var n=new Uint8Array(e.length+56);n.set(e,0),n.set(t,e.length),n.set(r,e.length+t.length);var i=GB(n,0,n.length);return new JB(i).decryptBlock(A,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(e,t,r){var A=new Uint8Array(e.length+8);A.set(e,0),A.set(t,e.length);var n=GB(A,0,A.length);return new JB(n).decryptBlock(r,!1,new Uint8Array(16))}}])}(),YB=function(){return DB((function e(){bB(this,e)}),[{key:"_hash",value:function(e,t,r){for(var A,n,i=GB(t,0,t.length).subarray(0,32),a=[0],o=0;o<64||a.at(-1)>o-32;){var s=e.length+i.length+r.length,c=new Uint8Array(s),g=0;c.set(e,g),g+=e.length,c.set(i,g),g+=i.length,c.set(r,g);for(var u=new Uint8Array(64*s),l=0,h=0;l<64;l++,h+=s)u.set(c,h);var I=(a=new MB(i.subarray(0,16)).encrypt(u,i.subarray(16,32))).slice(0,16).reduce((function(e,t){return e+t}),0)%3;0===I?i=GB(a,0,a.length):1===I?(A=a,0,n=a.length,i=NB(A,0,n,!0)):2===I&&(i=NB(a,0,a.length)),o++}return i.subarray(0,32)}},{key:"checkOwnerPassword",value:function(e,t,r,A){var n=new Uint8Array(e.length+56);return n.set(e,0),n.set(t,e.length),n.set(r,e.length+t.length),Be(this._hash(e,n,r),A)}},{key:"checkUserPassword",value:function(e,t,r){var A=new Uint8Array(e.length+8);return A.set(e,0),A.set(t,e.length),Be(this._hash(e,A,[]),r)}},{key:"getOwnerKey",value:function(e,t,r,A){var n=new Uint8Array(e.length+56);n.set(e,0),n.set(t,e.length),n.set(r,e.length+t.length);var i=this._hash(e,n,r);return new JB(i).decryptBlock(A,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(e,t,r){var A=new Uint8Array(e.length+8);A.set(e,0),A.set(t,e.length);var n=this._hash(e,A,[]);return new JB(n).decryptBlock(r,!1,new Uint8Array(16))}}])}(),PB=function(){return DB((function e(t,r){bB(this,e),this.StringCipherConstructor=t,this.StreamCipherConstructor=r}),[{key:"createStream",value:function(e,t){var r=new this.StreamCipherConstructor;return new EB(e,t,(function(e,t){return r.decryptBlock(e,t)}))}},{key:"decryptString",value:function(e){var t=new this.StringCipherConstructor,r=ie(e);return ne(r=t.decryptBlock(r,!0))}},{key:"encryptString",value:function(e){var t=new this.StringCipherConstructor;if(t instanceof UB){var r=16-e.length%16;e+=String.fromCharCode(r).repeat(r);var A=new Uint8Array(16);if("undefined"!=typeof crypto)crypto.getRandomValues(A);else for(var n=0;n<16;n++)A[n]=Math.floor(256*Math.random());var i=ie(e);i=t.encrypt(i,A);var a=new Uint8Array(16+i.length);return a.set(A),a.set(i,16),ne(a)}var o=ie(e);return ne(o=t.encrypt(o))}}])}(),OB=new WeakSet,KB=function(){return DB((function e(t,r,A){bB(this,e),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(this,OB);var n=t.get("Filter");if(!Ke(n,"Standard"))throw new re("unknown encryption method");this.filterName=n.name,this.dict=t;var i=t.get("V");if(!Number.isInteger(i)||1!==i&&2!==i&&4!==i&&5!==i)throw new re("unsupported encryption algorithm");this.algorithm=i;var a=t.get("Length");if(!a)if(i<=3)a=40;else{var o=t.get("CF"),s=t.get("StmF");if(o instanceof He&&s instanceof Ue){o.suppressEncryption=!0;var c=o.get(s.name);(a=(null==c?void 0:c.get("Length"))||128)<40&&(a<<=3)}}if(!Number.isInteger(a)||a<40||a%8!=0)throw new re("invalid key length");var g=ie(t.get("O")),u=ie(t.get("U")),l=g.subarray(0,32),h=u.subarray(0,32),I=t.get("P"),f=t.get("R"),C=(4===i||5===i)&&!1!==t.get("EncryptMetadata");this.encryptMetadata=C;var B,Q,E=ie(r);if(A){if(6===f)try{A=Ce(A)}catch(e){q("CipherTransformFactory: Unable to convert UTF8 encoded password.")}B=ie(A)}if(5!==i)Q=dB(OB,this,qB).call(this,E,B,l,h,I,f,a,C);else{var d=g.subarray(32,40),y=g.subarray(40,48),p=u.subarray(0,48),v=u.subarray(32,40),m=u.subarray(40,48),w=ie(t.get("OE")),b=ie(t.get("UE")),k=ie(t.get("Perms"));Q=dB(OB,this,TB).call(this,f,B,l,d,y,p,h,v,m,w,b,k)}if(!Q&&!A)throw new V("No password given",1);if(!Q&&A){var D=dB(OB,this,jB).call(this,B,l,f,a);Q=dB(OB,this,qB).call(this,E,D,l,h,I,f,a,C)}if(!Q)throw new V("Incorrect Password",2);if(this.encryptionKey=Q,i>=4){var S=t.get("CF");S instanceof He&&(S.suppressEncryption=!0),this.cf=S,this.stmf=t.get("StmF")||Ue.get("Identity"),this.strf=t.get("StrF")||Ue.get("Identity"),this.eff=t.get("EFF")||this.stmf}}),[{key:"createCipherTransform",value:function(e,t){if(4===this.algorithm||5===this.algorithm)return new PB(dB(OB,this,ZB).call(this,this.cf,this.strf,e,t,this.encryptionKey),dB(OB,this,ZB).call(this,this.cf,this.stmf,e,t,this.encryptionKey));var r=dB(OB,this,WB).call(this,e,t,this.encryptionKey,!1),A=function(){return new FB(r)};return new PB(A,A)}}])}();function TB(e,t,r,A,n,i,a,o,s,c,g,u){if(t){var l=Math.min(127,t.length);t=t.subarray(0,l)}else t=[];var h=6===e?new YB:new HB;return h.checkUserPassword(t,o,a)?h.getUserKey(t,s,g):t.length&&h.checkOwnerPassword(t,A,i,r)?h.getOwnerKey(t,n,i,c):null}function qB(e,t,r,A,n,i,a,o){var s,c,g=40+r.length+e.length,u=new Uint8Array(g),l=0;if(t)for(c=Math.min(32,t.length);l<c;++l)u[l]=t[l];for(s=0;l<32;)u[l++]=XB._[s++];for(s=0,c=r.length;s<c;++s)u[l++]=r[s];for(u[l++]=255&n,u[l++]=n>>8&255,u[l++]=n>>16&255,u[l++]=n>>>24&255,s=0,c=e.length;s<c;++s)u[l++]=e[s];i>=4&&!o&&(u[l++]=255,u[l++]=255,u[l++]=255,u[l++]=255);var h=xB(u,0,l),I=a>>3;if(i>=3)for(s=0;s<50;++s)h=xB(h,0,I);var f,C=h.subarray(0,I);if(i>=3){for(l=0;l<32;++l)u[l]=XB._[l];for(s=0,c=e.length;s<c;++s)u[l++]=e[s];f=new FB(C).encryptBlock(xB(u,0,l)),c=C.length;var B=new Uint8Array(c);for(s=1;s<=19;++s){for(var Q=0;Q<c;++Q)B[Q]=C[Q]^s;f=new FB(B).encryptBlock(f)}for(s=0,c=f.length;s<c;++s)if(A[s]!==f[s])return null}else for(s=0,c=(f=new FB(C).encryptBlock(XB._)).length;s<c;++s)if(A[s]!==f[s])return null;return C}function jB(e,t,r,A){for(var n=new Uint8Array(32),i=0,a=Math.min(32,e.length);i<a;++i)n[i]=e[i];for(var o=0;i<32;)n[i++]=XB._[o++];var s,c=xB(n,0,i),g=A>>3;if(r>=3)for(o=0;o<50;++o)c=xB(c,0,c.length);if(r>=3){s=t;var u=new Uint8Array(g);for(o=19;o>=0;o--){for(var l=0;l<g;++l)u[l]=c[l]^o;s=new FB(u).encryptBlock(s)}}else s=new FB(c.subarray(0,g)).encryptBlock(t);return s}function WB(e,t,r){var A,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=new Uint8Array(r.length+9),a=r.length;for(A=0;A<a;++A)i[A]=r[A];return i[A++]=255&e,i[A++]=e>>8&255,i[A++]=e>>16&255,i[A++]=255&t,i[A++]=t>>8&255,n&&(i[A++]=115,i[A++]=65,i[A++]=108,i[A++]=84),xB(i,0,A).subarray(0,Math.min(r.length+5,16))}function ZB(e,t,r,A,n){if(!(t instanceof Ue))throw new re("Invalid crypt filter name.");var i=this,a=e.get(t.name),o=null==a?void 0:a.get("CFM");if(!o||"None"===o.name)return function(){return new LB};if("V2"===o.name)return function(){return new FB(dB(OB,i,WB).call(i,r,A,n,!1))};if("AESV2"===o.name)return function(){return new MB(dB(OB,i,WB).call(i,r,A,n,!0))};if("AESV3"===o.name)return function(){return new JB(n)};throw new re("Unknown crypto method")}var _B,XB={_:new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122])};function VB(e){return function(e){if(Array.isArray(e))return rQ(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||tQ(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||tQ(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $B(){$B=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function eQ(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=tQ(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function tQ(e,t){if(e){if("string"==typeof e)return rQ(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rQ(e,t):void 0}}function rQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function AQ(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function nQ(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){AQ(i,A,n,a,o,"next",e)}function o(e){AQ(i,A,n,a,o,"throw",e)}a(void 0)}))}}function iQ(e,t,r,A){return aQ.apply(this,arguments)}function aQ(){return(aQ=nQ($B().mark((function e(t,r,A,n){var i,a,o;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.encrypt,o=null==(a=void 0===i?null:i)?void 0:a.createCipherTransform(t.num,t.gen),A.push("".concat(t.num," ").concat(t.gen," obj\\n")),!(r instanceof He)){e.next=8;break}return e.next=6,oQ(r,A,o);case 6:e.next=16;break;case 8:if(!(r instanceof ze)){e.next=13;break}return e.next=11,cQ(r,A,o);case 11:e.next=16;break;case 13:if(!Array.isArray(r)&&!ArrayBuffer.isView(r)){e.next=16;break}return e.next=16,uQ(r,A,o);case 16:A.push("\\nendobj\\n");case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function oQ(e,t,r){return sQ.apply(this,arguments)}function sQ(){return(sQ=nQ($B().mark((function e(t,r,A){var n,i,a;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r.push("<<"),n=eQ(t.getKeys()),e.prev=2,n.s();case 4:if((i=n.n()).done){e.next=11;break}return a=i.value,r.push(" /".concat(Nt(a)," ")),e.next=9,hQ(t.getRaw(a),r,A);case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),n.e(e.t0);case 16:return e.prev=16,n.f(),e.finish(16);case 19:r.push(">>");case 20:case"end":return e.stop()}}),e,null,[[2,13,16,19]])})))).apply(this,arguments)}function cQ(e,t,r){return gQ.apply(this,arguments)}function gQ(){return(gQ=nQ($B().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.getBytes(),i=t.dict,e.next=4,Promise.all([i.getAsync("Filter"),i.getAsync("DecodeParms")]);case 4:if(a=e.sent,o=zB(a,2),s=o[0],c=o[1],!Array.isArray(s)){e.next=14;break}return e.next=11,i.xref.fetchIfRefAsync(s[0]);case 11:e.t0=e.sent,e.next=15;break;case 14:e.t0=s;case 15:if(g=e.t0,u=Ke(g,"FlateDecode"),!(n.length>=256||u)){e.next=37;break}return e.prev=19,l=new CompressionStream("deflate"),h=l.writable.getWriter(),e.next=24,h.ready;case 24:return h.write(n).then(nQ($B().mark((function e(){return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h.ready;case 2:return e.next=4,h.close();case 4:case"end":return e.stop()}}),e)})))).catch((function(){})),e.next=27,new Response(l.readable).arrayBuffer();case 27:I=e.sent,n=new Uint8Array(I),s?u||(f=Array.isArray(s)?[Ue.get("FlateDecode")].concat(VB(s)):[Ue.get("FlateDecode"),s],c&&(C=Array.isArray(c)?[null].concat(VB(c)):[null,c])):f=Ue.get("FlateDecode"),f&&i.set("Filter",f),C&&i.set("DecodeParms",C),e.next=37;break;case 34:e.prev=34,e.t1=e.catch(19),T('writeStream - cannot compress data: "'.concat(e.t1,'".'));case 37:return B=ne(n),A&&(B=A.encryptString(B)),i.set("Length",B.length),e.next=42,oQ(i,r,A);case 42:r.push(" stream\\n",B,"\\nendstream");case 43:case"end":return e.stop()}}),e,null,[[19,34]])})))).apply(this,arguments)}function uQ(e,t,r){return lQ.apply(this,arguments)}function lQ(){return(lQ=nQ($B().mark((function e(t,r,A){var n,i,a,o;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r.push("["),n=!0,i=eQ(t),e.prev=3,i.s();case 5:if((a=i.n()).done){e.next=12;break}return o=a.value,n?n=!1:r.push(" "),e.next=10,hQ(o,r,A);case 10:e.next=5;break;case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(3),i.e(e.t0);case 17:return e.prev=17,i.f(),e.finish(17);case 20:r.push("]");case 21:case"end":return e.stop()}}),e,null,[[3,14,17,20]])})))).apply(this,arguments)}function hQ(e,t,r){return IQ.apply(this,arguments)}function IQ(){return(IQ=nQ($B().mark((function e(t,r,A){return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof Ue)){e.next=4;break}r.push("/".concat(Nt(t.name))),e.next=37;break;case 4:if(!(t instanceof Ye)){e.next=8;break}r.push("".concat(t.num," ").concat(t.gen," R")),e.next=37;break;case 8:if(!Array.isArray(t)&&!ArrayBuffer.isView(t)){e.next=13;break}return e.next=11,uQ(t,r,A);case 11:e.next=37;break;case 13:if("string"!=typeof t){e.next=18;break}A&&(t=A.encryptString(t)),r.push("(".concat(Lt(t),")")),e.next=37;break;case 18:if("number"!=typeof t){e.next=22;break}r.push(Tt(t)),e.next=37;break;case 22:if("boolean"!=typeof t){e.next=26;break}r.push(t.toString()),e.next=37;break;case 26:if(!(t instanceof He)){e.next=31;break}return e.next=29,oQ(t,r,A);case 29:e.next=37;break;case 31:if(!(t instanceof ze)){e.next=36;break}return e.next=34,cQ(t,r,A);case 34:e.next=37;break;case 36:null===t?r.push("null"):q("Unhandled value in writer: ".concat(typeof t,", please file a bug."));case 37:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function fQ(e,t,r,A){for(var n=t+r-1;n>r-1;n--)A[n]=255&e,e>>=8;return r+t}function CQ(e,t,r){for(var A=0,n=e.length;A<n;A++)r[t+A]=255&e.charCodeAt(A)}function BQ(e){return QQ.apply(this,arguments)}function QQ(){return(QQ=nQ($B().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.xref,A=t.acroForm,n=t.acroFormRef,i=t.hasXfa,a=t.hasXfaDatasetsEntry,o=t.xfaDatasetsRef,s=t.needAppearances,c=t.newRefs,!i||a||o||q("XFA - Cannot save it"),s||i&&o&&!a){e.next=4;break}return e.abrupt("return");case 4:return g=A.clone(),i&&!a&&((u=A.get("XFA").slice()).splice(2,0,"datasets"),u.splice(3,0,o),g.set("XFA",u)),s&&g.set("NeedAppearances",!0),l=[],e.next=10,iQ(n,g,l,r);case 10:c.push({ref:n,data:l.join("")});case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function EQ(e){var t=e.xfaData,r=e.xfaDatasetsRef,A=e.newRefs,n=e.xref;null===t&&(t=function(e,t){var r,A=new aB({hasAttributes:!0}).parseFromString(e),n=eQ(t);try{for(n.s();!(r=n.n()).done;){var i=r.value.xfa;if(i){var a=i.path,o=i.value;if(a){var s=Gt(a),c=A.documentElement.searchNode(s,0);!c&&s.length>1&&(c=A.documentElement.searchNode([s.at(-1)],0)),c?c.childNodes=Array.isArray(o)?o.map((function(e){return new iB("value",e)})):[new iB("#text",o)]:q("Node not found for path: ".concat(a))}}}}catch(e){n.e(e)}finally{n.f()}var g=[];return A.documentElement.dump(g),g.join("")}(n.fetchIfRef(r).getString(),A));var i=n.encrypt;i&&(t=i.createCipherTransform(r.num,r.gen).encryptString(t));var a="".concat(r.num," ").concat(r.gen," obj\\n")+"<< /Type /EmbeddedFile /Length ".concat(t.length,">>\\nstream\\n")+t+"\\nendstream\\nendobj\\n";A.push({ref:r,data:a})}function dQ(e,t,r,A,n){return yQ.apply(this,arguments)}function yQ(){return(yQ=nQ($B().mark((function e(t,r,A,n,i){var a,o,s,c,g,u,l;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i.push("xref\\n"),a=pQ(A),o=0,s=eQ(A);try{for(s.s();!(c=s.n()).done;)g=c.value,u=g.ref,l=g.data,u.num===a[o]&&(i.push("".concat(a[o]," ").concat(a[o+1],"\\n")),o+=2),null!==l?(i.push("".concat(r.toString().padStart(10,"0")," ").concat(Math.min(u.gen,65535).toString().padStart(5,"0")," n\\r\\n")),r+=l.length):i.push("0000000000 ".concat(Math.min(u.gen+1,65535).toString().padStart(5,"0")," f\\r\\n"))}catch(e){s.e(e)}finally{s.f()}return wQ(r,t,n),i.push("trailer\\n"),e.next=9,oQ(n,i);case 9:i.push("\\nstartxref\\n",r.toString(),"\\n%%EOF\\n");case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function pQ(e){var t,r=[],A=eQ(e);try{for(A.s();!(t=A.n()).done;){var n=t.value.ref;n.num===r.at(-2)+r.at(-1)?r[r.length-1]+=1:r.push(n.num,1)}}catch(e){A.e(e)}finally{A.f()}return r}function vQ(e,t,r,A,n){return mQ.apply(this,arguments)}function mQ(){return(mQ=nQ($B().mark((function e(t,r,A,n,i){var a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=[],o=0,s=0,c=eQ(A);try{for(c.s();!(g=c.n()).done;)u=g.value,l=u.ref,h=u.data,I=void 0,o=Math.max(o,r),null!==h?(I=Math.min(l.gen,65535),a.push([1,r,I]),r+=h.length):(I=Math.min(l.gen+1,65535),a.push([0,0,I])),s=Math.max(s,I)}catch(e){c.e(e)}finally{c.f()}for(n.set("Index",pQ(A)),f=Xt(o),C=Xt(s),B=[1,f,C],n.set("W",B),wQ(r,t,n),Q=B.reduce((function(e,t){return e+t}),0),E=new Uint8Array(Q*a.length),(d=new ar(E)).dict=n,y=0,p=0,v=a;p<v.length;p++)m=zB(v[p],3),w=m[0],b=m[1],k=m[2],y=fQ(w,B[0],y,E),y=fQ(b,B[1],y,E),y=fQ(k,B[2],y,E);return e.next=19,iQ(t.newRef,d,i,{});case 19:i.push("startxref\\n",r.toString(),"\\n%%EOF\\n");case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function wQ(e,t,r){if(Array.isArray(t.fileIds)&&t.fileIds.length>0){var A=function(e,t){for(var r=Math.floor(Date.now()/1e3),A=t.filename||"",n=[r.toString(),A,e.toString()],i=n.reduce((function(e,t){return e+t.length}),0),a=0,o=Object.values(t.info);a<o.length;a++){var s=o[a];n.push(s),i+=s.length}for(var c=new Uint8Array(i),g=0,u=0,l=n;u<l.length;u++){var h=l[u];CQ(h,g,c),g+=h.length}return ne(xB(c))}(e,t);r.set("ID",[t.fileIds[0],A])}}function bQ(e,t,r){var A=new He(null);A.set("Prev",e.startXRef);var n=e.newRef;return r?(t.push({ref:n,data:""}),A.set("Size",n.num+1),A.set("Type",Ue.get("XRef"))):A.set("Size",n.num),null!==e.rootRef&&A.set("Root",e.rootRef),null!==e.infoRef&&A.set("Info",e.infoRef),null!==e.encryptRef&&A.set("Encrypt",e.encryptRef),A}function kQ(e){return DQ.apply(this,arguments)}function DQ(){return(DQ=nQ($B().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.originalData,A=t.xrefInfo,n=t.newRefs,i=t.xref,a=void 0===i?null:i,o=t.hasXfa,s=void 0!==o&&o,c=t.xfaDatasetsRef,g=void 0===c?null:c,u=t.hasXfaDatasetsEntry,l=void 0!==u&&u,h=t.needAppearances,I=t.acroFormRef,f=void 0===I?null:I,C=t.acroForm,B=void 0===C?null:C,Q=t.xfaData,E=void 0===Q?null:Q,d=t.useXrefStream,y=void 0!==d&&d,e.next=3,BQ({xref:a,acroForm:B,acroFormRef:f,hasXfa:s,hasXfaDatasetsEntry:l,xfaDatasetsRef:g,needAppearances:h,newRefs:n});case 3:s&&EQ({xfaData:E,xfaDatasetsRef:g,newRefs:n,xref:a}),p=[],v=r.length,10!==(m=r.at(-1))&&13!==m&&(p.push("\\n"),v+=1),w=bQ(A,n,y),n=n.sort((function(e,t){return e.ref.num-t.ref.num})),b=eQ(n);try{for(b.s();!(k=b.n()).done;)null!==(D=k.value.data)&&p.push(D)}catch(e){b.e(e)}finally{b.f()}return e.next=14,y?vQ(A,v,n,w,p):dQ(A,v,n,w,p);case 14:for(S=p.reduce((function(e,t){return e+t.length}),r.length),(F=new Uint8Array(S)).set(r),x=r.length,R=0,G=p;R<G.length;R++)CQ(N=G[R],x,F),x+=N.length;return e.abrupt("return",F);case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function SQ(){SQ=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function FQ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||RQ(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xQ(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=RQ(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function RQ(e,t){if(e){if("string"==typeof e)return GQ(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?GQ(e,t):void 0}}function GQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function NQ(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function LQ(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){NQ(i,A,n,a,o,"next",e)}function o(e){NQ(i,A,n,a,o,"throw",e)}a(void 0)}))}}function UQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MQ(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,HQ(A.key),A)}}function JQ(e,t,r){return t&&MQ(e.prototype,t),r&&MQ(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function HQ(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function YQ(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var PQ=new WeakSet,OQ=function(){function e(t,r){UQ(this,e),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(this,PQ),this.dict=t,this.ref=r instanceof Ye?r:null,this.roleMap=new Map,this.structParentIds=null}return JQ(e,[{key:"init",value:function(){this.readRoleMap()}},{key:"addAnnotationIdToPage",value:function(e,t){YQ(PQ,this,KQ).call(this,e,t,4)}},{key:"readRoleMap",value:function(){var e=this,t=this.dict.get("RoleMap");t instanceof He&&t.forEach((function(t,r){r instanceof Ue&&e.roleMap.set(t,r.name)}))}},{key:"canUpdateStructTree",value:(n=LQ(SQ().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G;return SQ().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(A=r.pdfManager,n=r.xref,i=r.newAnnotationsByPage,this.ref){t.next=4;break}return q("Cannot update the struct tree: no root reference."),t.abrupt("return",!1);case 4:if(a=this.dict.get("ParentTreeNextKey"),Number.isInteger(a)&&!(a<0)){t.next=8;break}return q("Cannot update the struct tree: invalid next key."),t.abrupt("return",!1);case 8:if((o=this.dict.get("ParentTree"))instanceof He){t.next=12;break}return q("Cannot update the struct tree: ParentTree isn't a dict."),t.abrupt("return",!1);case 12:if(s=o.get("Nums"),Array.isArray(s)){t.next=16;break}return q("Cannot update the struct tree: nums isn't an array."),t.abrupt("return",!1);case 16:c=new MC(o,n),g=xQ(i.keys()),t.prev=18,g.s();case 20:if((u=g.n()).done){t.next=34;break}return l=u.value,t.next=24,A.getPage(l);case 24:if(h=t.sent,(I=h.pageDict).has("StructParents")){t.next=28;break}return t.abrupt("continue",32);case 28:if(f=I.get("StructParents"),Number.isInteger(f)&&Array.isArray(c.get(f))){t.next=32;break}return q("Cannot save the struct tree: page ".concat(l," has a wrong id.")),t.abrupt("return",!1);case 32:t.next=20;break;case 34:t.next=39;break;case 36:t.prev=36,t.t0=t.catch(18),g.e(t.t0);case 39:return t.prev=39,g.f(),t.finish(39);case 42:C=!0,B=xQ(i),t.prev=44,B.s();case 46:if((Q=B.n()).done){t.next=57;break}return E=FQ(Q.value,2),d=E[0],y=E[1],t.next=50,A.getPage(d);case 50:p=t.sent,v=p.pageDict,WQ.call(e,{elements:y,xref:this.dict.xref,pageDict:v,numberTree:c}),m=xQ(y);try{for(m.s();!(w=m.n()).done;)k=w.value,null!==(b=k.accessibilityData)&&void 0!==b&&b.type&&(k.accessibilityData.structParent>=0||(k.parentTreeId=a++),C=!1)}catch(e){m.e(e)}finally{m.f()}case 55:t.next=46;break;case 57:t.next=62;break;case 59:t.prev=59,t.t1=t.catch(44),B.e(t.t1);case 62:return t.prev=62,B.f(),t.finish(62);case 65:if(!C){t.next=69;break}D=xQ(i.values());try{for(D.s();!(S=D.n()).done;){F=S.value,x=xQ(F);try{for(x.s();!(R=x.n()).done;)delete(G=R.value).parentTreeId,delete G.structTreeParent}catch(e){x.e(e)}finally{x.f()}}}catch(e){D.e(e)}finally{D.f()}return t.abrupt("return",!1);case 69:return t.abrupt("return",!0);case 70:case"end":return t.stop()}}),t,this,[[18,36,39,42],[44,59,62,65]])}))),function(e){return n.apply(this,arguments)})},{key:"updateStructureTree",value:(A=LQ(SQ().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d;return SQ().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A=r.newAnnotationsByPage,n=r.pdfManager,i=r.newRefs,a=this.dict.xref,o=this.dict.clone(),s=this.ref,(c=new Oe).put(s,o),(g=o.getRaw("ParentTree"))instanceof Ye?u=a.fetch(g):(u=g,g=a.getNewTemporaryRef(),o.set("ParentTree",g)),u=u.clone(),c.put(g,u),l=u.getRaw("Nums"),h=null,l instanceof Ye&&(h=l,l=a.fetch(h)),l=l.slice(),h||u.set("Nums",l),t.next=17,TQ.call(e,{newAnnotationsByPage:A,structTreeRootRef:s,structTreeRoot:this,kids:null,nums:l,xref:a,pdfManager:n,newRefs:i,cache:c});case 17:if(-1!==(I=t.sent)){t.next=20;break}return t.abrupt("return");case 20:o.set("ParentTreeNextKey",I),h&&c.put(h,l),f=[],C=xQ(c.items()),t.prev=24,C.s();case 26:if((B=C.n()).done){t.next=34;break}return Q=FQ(B.value,2),E=Q[0],d=Q[1],f.length=0,t.next=31,iQ(E,d,f,a);case 31:i.push({ref:E,data:f.join("")});case 32:t.next=26;break;case 34:t.next=39;break;case 36:t.prev=36,t.t0=t.catch(24),C.e(t.t0);case 39:return t.prev=39,C.f(),t.finish(39);case 42:case"end":return t.stop()}}),t,this,[[24,36,39,42]])}))),function(e){return A.apply(this,arguments)})}],[{key:"canCreateStructureTree",value:(r=LQ(SQ().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d;return SQ().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.catalogRef,A=t.pdfManager,n=t.newAnnotationsByPage,r instanceof Ye){e.next=4;break}return q("Cannot save the struct tree: no catalog reference."),e.abrupt("return",!1);case 4:i=0,a=!0,o=xQ(n),e.prev=7,o.s();case 9:if((s=o.n()).done){e.next=23;break}return c=FQ(s.value,2),g=c[0],u=c[1],e.next=13,A.getPage(g);case 13:if(e.sent.ref instanceof Ye){e.next=19;break}return q("Cannot save the struct tree: page ".concat(g," has no ref.")),a=!0,e.abrupt("break",23);case 19:l=xQ(u);try{for(l.s();!(h=l.n()).done;)f=h.value,null!==(I=f.accessibilityData)&&void 0!==I&&I.type&&(f.parentTreeId=i++,a=!1)}catch(e){l.e(e)}finally{l.f()}case 21:e.next=9;break;case 23:e.next=28;break;case 25:e.prev=25,e.t0=e.catch(7),o.e(e.t0);case 28:return e.prev=28,o.f(),e.finish(28);case 31:if(!a){e.next=35;break}C=xQ(n.values());try{for(C.s();!(B=C.n()).done;){Q=B.value,E=xQ(Q);try{for(E.s();!(d=E.n()).done;)delete d.value.parentTreeId}catch(e){E.e(e)}finally{E.f()}}}catch(e){C.e(e)}finally{C.f()}return e.abrupt("return",!1);case 35:return e.abrupt("return",!0);case 36:case"end":return e.stop()}}),e,null,[[7,25,28,31]])}))),function(e){return r.apply(this,arguments)})},{key:"createStructureTree",value:(t=LQ(SQ().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p;return SQ().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A=r.newAnnotationsByPage,n=r.xref,i=r.catalogRef,a=r.pdfManager,o=r.newRefs,s=a.catalog.cloneDict(),(c=new Oe).put(i,s),g=n.getNewTemporaryRef(),s.set("StructTreeRoot",g),(u=new He(n)).set("Type",Ue.get("StructTreeRoot")),l=n.getNewTemporaryRef(),u.set("ParentTree",l),h=[],u.set("K",h),c.put(g,u),I=new He(n),f=[],I.set("Nums",f),t.next=18,YQ(e,this,TQ).call(this,{newAnnotationsByPage:A,structTreeRootRef:g,structTreeRoot:null,kids:h,nums:f,xref:n,pdfManager:a,newRefs:o,cache:c});case 18:C=t.sent,u.set("ParentTreeNextKey",C),c.put(l,I),B=[],Q=xQ(c.items()),t.prev=23,Q.s();case 25:if((E=Q.n()).done){t.next=33;break}return d=FQ(E.value,2),y=d[0],p=d[1],B.length=0,t.next=30,iQ(y,p,B,n);case 30:o.push({ref:y,data:B.join("")});case 31:t.next=25;break;case 33:t.next=38;break;case 35:t.prev=35,t.t0=t.catch(23),Q.e(t.t0);case 38:return t.prev=38,Q.f(),t.finish(38);case 41:case"end":return t.stop()}}),t,this,[[23,35,38,41]])}))),function(e){return t.apply(this,arguments)})}]);var t,r,A,n}();function KQ(e,t,r){if(e instanceof Ye&&!(t<0)){this.structParentIds||(this.structParentIds=new Oe);var A=this.structParentIds.get(e);A||(A=[],this.structParentIds.put(e,A)),A.push([t,r])}}function TQ(e){return qQ.apply(this,arguments)}function qQ(){return(qQ=LQ(SQ().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U,M,J;return SQ().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.newAnnotationsByPage,A=t.structTreeRootRef,n=t.structTreeRoot,i=t.kids,a=t.nums,o=t.xref,s=t.pdfManager,c=t.newRefs,g=t.cache,u=Ue.get("OBJR"),l=-1,I=[],f=xQ(r),e.prev=5,f.s();case 7:if((C=f.n()).done){e.next=59;break}return B=FQ(C.value,2),Q=B[0],E=B[1],e.next=11,s.getPage(Q);case 11:d=e.sent,y=d.ref,p=y instanceof Ye,v=xQ(E),e.prev=15,v.s();case 17:if((m=v.n()).done){e.next=49;break}if(w=m.value,b=w.accessibilityData,k=w.ref,D=w.parentTreeId,S=w.structTreeParent,null!=b&&b.type){e.next=21;break}return e.abrupt("continue",47);case 21:if(F=b.structParent,!(n&&Number.isInteger(F)&&F>=0)){e.next=34;break}if(void 0===(R=(h||(h=new Map)).get(Q))&&(G=new zQ(n,d.pageDict),R=G.collectObjects(y),h.set(Q,R)),!(N=null===(x=R)||void 0===x?void 0:x.get(F))){e.next=34;break}return L=o.fetch(N).clone(),jQ.call(_B,L,b),I.length=0,e.next=32,iQ(N,L,I,o);case 32:return c.push({ref:N,data:I.join("")}),e.abrupt("continue",47);case 34:return l=Math.max(l,D),U=o.getNewTemporaryRef(),M=new He(o),jQ.call(_B,M,b),e.next=40,YQ(_B,this,ZQ).call(this,{structTreeParent:S,tagDict:M,newTagRef:U,structTreeRootRef:A,fallbackKids:i,xref:o,cache:g});case 40:J=new He(o),M.set("K",J),J.set("Type",u),p&&J.set("Pg",y),J.set("Obj",k),g.put(U,M),a.push(D,U);case 47:e.next=17;break;case 49:e.next=54;break;case 51:e.prev=51,e.t0=e.catch(15),v.e(e.t0);case 54:return e.prev=54,v.f(),e.finish(54);case 57:e.next=7;break;case 59:e.next=64;break;case 61:e.prev=61,e.t1=e.catch(5),f.e(e.t1);case 64:return e.prev=64,f.f(),e.finish(64);case 67:return e.abrupt("return",l+1);case 68:case"end":return e.stop()}}),e,this,[[5,61,64,67],[15,51,54,57]])})))).apply(this,arguments)}function jQ(e,t){var r=t.type,A=t.title,n=t.lang,i=t.alt,a=t.expanded,o=t.actualText;e.set("S",Ue.get(r)),A&&e.set("T",jt(A)),n&&e.set("Lang",jt(n)),i&&e.set("Alt",jt(i)),a&&e.set("E",jt(a)),o&&e.set("ActualText",jt(o))}function WQ(e){var t,r=e.elements,A=e.xref,n=e.pageDict,i=e.numberTree,a=new Map,o=xQ(r);try{for(o.s();!(t=o.n()).done;){var s=t.value;if(s.structTreeParentId){var c=parseInt(s.structTreeParentId.split("_mc")[1],10),g=a.get(c);g||(g=[],a.set(c,g)),g.push(s)}}}catch(e){o.e(e)}finally{o.f()}var u=n.get("StructParents");if(Number.isInteger(u)){var l,h=function(e,t,r){var n=a.get(e);if(n){var i=t.getRaw("P"),o=A.fetchIfRef(i);if(i instanceof Ye&&o instanceof He){var s,c={ref:r,dict:t},g=xQ(n);try{for(g.s();!(s=g.n()).done;)s.value.structTreeParent=c}catch(e){g.e(e)}finally{g.f()}}return!0}return!1},I=xQ(i.get(u));try{for(I.s();!(l=I.n()).done;){var f=l.value;if(f instanceof Ye){var C=A.fetch(f),B=C.get("K");if(Number.isInteger(B))h(B,C,f);else if(Array.isArray(B)){var Q,E=xQ(B);try{for(E.s();!(Q=E.n()).done;){var d=Q.value;if(d=A.fetchIfRef(d),Number.isInteger(d)&&h(d,C,f))break;if(d instanceof He){if(!Ke(d.get("Type"),"MCR"))break;var y=d.get("MCID");if(Number.isInteger(y)&&h(y,C,f))break}}}catch(e){E.e(e)}finally{E.f()}}}}}catch(e){I.e(e)}finally{I.f()}}}function ZQ(e){return _Q.apply(this,arguments)}function _Q(){return(_Q=LQ(SQ().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C;return SQ().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.structTreeParent,A=t.tagDict,n=t.newTagRef,i=t.structTreeRootRef,a=t.fallbackKids,o=t.xref,s=t.cache,c=null,r?(c=r.ref,g=r.dict.getRaw("P")||i):g=i,A.set("P",g),u=o.fetchIfRef(g)){e.next=8;break}return a.push(n),e.abrupt("return");case 8:(l=s.get(g))||(l=u.clone(),s.put(g,l)),h=l.getRaw("K"),(I=h instanceof Ye?s.get(h):null)||(I=o.fetchIfRef(h),I=Array.isArray(I)?I.slice():[h],f=o.getNewTemporaryRef(),l.set("K",f),s.put(f,I)),C=I.indexOf(c),I.splice(C>=0?C+1:I.length,0,n);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}_B=OQ;var XQ=function(){return JQ((function e(t,r){UQ(this,e),this.tree=t,this.dict=r,this.kids=[],this.parseKids()}),[{key:"role",get:function(){var e=this.dict.get("S"),t=e instanceof Ue?e.name:"",r=this.tree.root;return r.roleMap.has(t)?r.roleMap.get(t):t}},{key:"parseKids",value:function(){var e=null,t=this.dict.getRaw("Pg");t instanceof Ye&&(e=t.toString());var r=this.dict.get("K");if(Array.isArray(r)){var A,n=xQ(r);try{for(n.s();!(A=n.n()).done;){var i=A.value,a=this.parseKid(e,i);a&&this.kids.push(a)}}catch(e){n.e(e)}finally{n.f()}}else{var o=this.parseKid(e,r);o&&this.kids.push(o)}}},{key:"parseKid",value:function(e,t){if(Number.isInteger(t))return this.tree.pageDict.objId!==e?null:new VQ({type:1,mcid:t,pageObjId:e});var r=null;if(t instanceof Ye?r=this.dict.xref.fetch(t):t instanceof He&&(r=t),!r)return null;var A=r.getRaw("Pg");A instanceof Ye&&(e=A.toString());var n=r.get("Type")instanceof Ue?r.get("Type").name:null;if("MCR"===n){if(this.tree.pageDict.objId!==e)return null;var i=r.getRaw("Stm");return new VQ({type:2,refObjId:i instanceof Ye?i.toString():null,pageObjId:e,mcid:r.get("MCID")})}if("OBJR"===n){if(this.tree.pageDict.objId!==e)return null;var a=r.getRaw("Obj");return new VQ({type:3,refObjId:a instanceof Ye?a.toString():null,pageObjId:e})}return new VQ({type:5,dict:r})}}])}(),VQ=JQ((function e(t){var r=t.type,A=t.dict,n=void 0===A?null:A,i=t.mcid,a=void 0===i?null:i,o=t.pageObjId,s=void 0===o?null:o,c=t.refObjId,g=void 0===c?null:c;UQ(this,e),this.type=r,this.dict=n,this.mcid=a,this.pageObjId=s,this.refObjId=g,this.parentNode=null})),zQ=function(){return JQ((function e(t,r){UQ(this,e),this.root=t,this.rootDict=t?t.dict:null,this.pageDict=r,this.nodes=[]}),[{key:"collectObjects",value:function(e){var t;if(!(this.root&&this.rootDict&&e instanceof Ye))return null;var r=this.rootDict.get("ParentTree");if(!r)return null;var A=null===(t=this.root.structParentIds)||void 0===t?void 0:t.get(e);if(!A)return null;var n,i=new Map,a=new MC(r,this.rootDict.xref),o=xQ(A);try{for(o.s();!(n=o.n()).done;){var s=FQ(n.value,1)[0],c=a.getRaw(s);c instanceof Ye&&i.set(s,c)}}catch(e){o.e(e)}finally{o.f()}return i}},{key:"parse",value:function(e){var t;if(this.root&&this.rootDict&&e instanceof Ye){var r=this.rootDict.get("ParentTree");if(r){var A=this.pageDict.get("StructParents"),n=null===(t=this.root.structParentIds)||void 0===t?void 0:t.get(e);if(Number.isInteger(A)||n){var i=new Map,a=new MC(r,this.rootDict.xref);if(Number.isInteger(A)){var o=a.get(A);if(Array.isArray(o)){var s,c=xQ(o);try{for(c.s();!(s=c.n()).done;){var g=s.value;g instanceof Ye&&this.addNode(this.rootDict.xref.fetch(g),i)}}catch(e){c.e(e)}finally{c.f()}}}if(n){var u,l=xQ(n);try{for(l.s();!(u=l.n()).done;){var h=FQ(u.value,2),I=h[0],f=h[1],C=a.get(I);if(C){var B,Q=this.addNode(this.rootDict.xref.fetchIfRef(C),i);1===(null==Q||null===(B=Q.kids)||void 0===B?void 0:B.length)&&3===Q.kids[0].type&&(Q.kids[0].type=f)}}}catch(e){l.e(e)}finally{l.f()}}}}}}},{key:"addNode",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r>40)return q("StructTree MAX_DEPTH reached."),null;if(!(e instanceof He))return null;if(t.has(e))return t.get(e);var A=new XQ(this,e);t.set(e,A);var n=e.get("P");if(!n||Ke(n.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(e,A)||t.delete(e),A;var i=this.addNode(n,t,r+1);if(!i)return A;var a,o=!1,s=xQ(i.kids);try{for(s.s();!(a=s.n()).done;){var c=a.value;5===c.type&&c.dict===e&&(c.parentNode=A,o=!0)}}catch(e){s.e(e)}finally{s.f()}return o||t.delete(e),A}},{key:"addTopLevelNode",value:function(e,t){var r=this.rootDict.get("K");if(!r)return!1;if(r instanceof He)return r.objId===e.objId&&(this.nodes[0]=t,!0);if(!Array.isArray(r))return!0;for(var A=!1,n=0;n<r.length;n++){var i=r[n];(null==i?void 0:i.toString())===e.objId&&(this.nodes[n]=t,A=!0)}return A}},{key:"serializable",get:function(){function e(t,r){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(A>40)q("StructTree too deep to be fully serialized.");else{var n=Object.create(null);n.role=t.role,n.children=[],r.children.push(n);var i=t.dict.get("Alt");"string"!=typeof i&&(i=t.dict.get("ActualText")),"string"==typeof i&&(n.alt=Ie(i));var a=t.dict.get("A");if(a instanceof He){var o=Rt(a.getArray("BBox"),null);if(o)n.bbox=o;else{var s=a.get("Width"),c=a.get("Height");"number"==typeof s&&s>0&&"number"==typeof c&&c>0&&(n.bbox=[0,0,s,c])}}var g=t.dict.get("Lang");"string"==typeof g&&(n.lang=Ie(g));var u,l=xQ(t.kids);try{for(l.s();!(u=l.n()).done;){var h=u.value,I=5===h.type?h.parentNode:null;I?e(I,n,A+1):1===h.type||2===h.type?n.children.push({type:"content",id:"p".concat(h.pageObjId,"_mc").concat(h.mcid)}):3===h.type?n.children.push({type:"object",id:h.refObjId}):4===h.type&&n.children.push({type:"annotation",id:"".concat("pdfjs_internal_id_").concat(h.refObjId)})}}catch(e){l.e(e)}finally{l.f()}}}var t=Object.create(null);t.children=[],t.role="Root";var r,A=xQ(this.nodes);try{for(A.s();!(r=A.n()).done;){var n=r.value;n&&e(n,t)}}catch(e){A.e(e)}finally{A.f()}return t}}])}();function $Q(){$Q=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function eE(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function tE(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){eE(i,A,n,a,o,"next",e)}function o(e){eE(i,A,n,a,o,"throw",e)}a(void 0)}))}}function rE(e,t){return gE(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||sE(e,t)||oE()}function AE(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,nE(A.key),A)}}function nE(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function iE(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function aE(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=sE(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function oE(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function sE(e,t){if(e){if("string"==typeof e)return cE(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cE(e,t):void 0}}function cE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function gE(e){if(Array.isArray(e))return e}function uE(e){if(!Array.isArray(e)||e.length<2)return!1;var t=function(e){return gE(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sE(e)||oE()}(e),r=t[0],A=t[1],n=t.slice(2);if(!(r instanceof Ye||Number.isInteger(r)))return!1;if(!(A instanceof Ue))return!1;var i=n.length,a=!0;switch(A.name){case"XYZ":if(i<2||i>3)return!1;break;case"Fit":case"FitB":return 0===i;case"FitH":case"FitBH":case"FitV":case"FitBV":if(i>1)return!1;break;case"FitR":if(4!==i)return!1;a=!1;break;default:return!1}var o,s=aE(n);try{for(s.s();!(o=s.n()).done;){var c=o.value;if(!("number"==typeof c||a&&null===c))return!1}}catch(e){s.e(e)}finally{s.f()}return!0}function lE(e){return e instanceof He&&(e=e.get("D")),uE(e)?e:null}function hE(e){var t=e.get("D");if(t){if(t instanceof Ue&&(t=t.name),"string"==typeof t)return Ie(t);if(uE(t))return JSON.stringify(t)}return null}var IE=new WeakSet,fE=function(){function e(t,r){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(this,IE),this.pdfManager=t,this.xref=r,this._catDict=r.getCatalogObj(),!(this._catDict instanceof He))throw new re("Catalog object is not a dictionary.");this.toplevelPagesDict,this._actualNumPages=null,this.fontCache=new Oe,this.builtInCMapCache=new Map,this.standardFontDataCache=new Map,this.globalImageCache=new Kh,this.pageKidsCountCache=new Oe,this.pageIndexCache=new Oe,this.pageDictCache=new Oe,this.nonBlendModesSet=new Pe,this.systemFontCache=new Map}return function(e,t,r){return t&&AE(e.prototype,t),r&&AE(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"cloneDict",value:function(){return this._catDict.clone()}},{key:"version",get:function(){var e=this._catDict.get("Version");if(e instanceof Ue){if(It.test(e.name))return _(this,"version",e.name);q("Invalid PDF catalog version: ".concat(e.name))}return _(this,"version",null)}},{key:"lang",get:function(){var e=this._catDict.get("Lang");return _(this,"lang",e&&"string"==typeof e?Ie(e):null)}},{key:"needsRendering",get:function(){var e=this._catDict.get("NeedsRendering");return _(this,"needsRendering","boolean"==typeof e&&e)}},{key:"collection",get:function(){var e=null;try{var t=this._catDict.get("Collection");t instanceof He&&t.size>0&&(e=t)}catch(e){if(e instanceof Ct)throw e;T("Cannot fetch Collection entry; assuming no collection is present.")}return _(this,"collection",e)}},{key:"acroForm",get:function(){var e=null;try{var t=this._catDict.get("AcroForm");t instanceof He&&t.size>0&&(e=t)}catch(e){if(e instanceof Ct)throw e;T("Cannot fetch AcroForm entry; assuming no forms are present.")}return _(this,"acroForm",e)}},{key:"acroFormRef",get:function(){var e=this._catDict.getRaw("AcroForm");return _(this,"acroFormRef",e instanceof Ye?e:null)}},{key:"metadata",get:function(){var e=this._catDict.getRaw("Metadata");if(!(e instanceof Ye))return _(this,"metadata",null);var t=null;try{var r,A=this.xref.fetch(e,!(null!==(r=this.xref.encrypt)&&void 0!==r&&r.encryptMetadata));if(A instanceof ze&&A.dict instanceof He){var n=A.dict.get("Type"),i=A.dict.get("Subtype");if(Ke(n,"Metadata")&&Ke(i,"XML")){var a=fe(A.getString());a&&(t=new lB(a).serializable)}}}catch(e){if(e instanceof Ct)throw e;T('Skipping invalid Metadata: "'.concat(e,'".'))}return _(this,"metadata",t)}},{key:"markInfo",get:function(){var e=null;try{e=this._readMarkInfo()}catch(e){if(e instanceof Ct)throw e;q("Unable to read mark info.")}return _(this,"markInfo",e)}},{key:"_readMarkInfo",value:function(){var e=this._catDict.get("MarkInfo");if(!(e instanceof He))return null;var t={Marked:!1,UserProperties:!1,Suspects:!1};for(var r in t){var A=e.get(r);"boolean"==typeof A&&(t[r]=A)}return t}},{key:"structTreeRoot",get:function(){var e=null;try{e=this._readStructTreeRoot()}catch(e){if(e instanceof Ct)throw e;q("Unable read to structTreeRoot info.")}return _(this,"structTreeRoot",e)}},{key:"_readStructTreeRoot",value:function(){var e=this._catDict.getRaw("StructTreeRoot"),t=this.xref.fetchIfRef(e);if(!(t instanceof He))return null;var r=new OQ(t,e);return r.init(),r}},{key:"toplevelPagesDict",get:function(){var e=this._catDict.get("Pages");if(!(e instanceof He))throw new re("Invalid top-level pages dictionary.");return _(this,"toplevelPagesDict",e)}},{key:"documentOutline",get:function(){var e=null;try{e=this._readDocumentOutline()}catch(e){if(e instanceof Ct)throw e;q("Unable to read document outline.")}return _(this,"documentOutline",e)}},{key:"_readDocumentOutline",value:function(){var t=this._catDict.get("Outlines");if(!(t instanceof He))return null;if(!((t=t.getRaw("First"))instanceof Ye))return null;var r={items:[]},A=[{obj:t,parent:r}],n=new Pe;n.put(t);for(var i=this.xref,a=new Uint8ClampedArray(3);A.length>0;){var o=A.shift(),s=i.fetchIfRef(o.obj);if(null!==s){s.has("Title")||q("Invalid outline item encountered.");var c={url:null,dest:null,action:null};e.parseDestDictionary({destDict:s,resultObj:c,docBaseUrl:this.baseUrl,docAttachments:this.attachments});var g=s.get("Title"),u=s.get("F")||0,l=s.getArray("C"),h=s.get("Count"),I=a;!St(l,3)||0===l[0]&&0===l[1]&&0===l[2]||(I=Ur.singletons.rgb.getRgb(l,0));var f={action:c.action,attachment:c.attachment,dest:c.dest,url:c.url,unsafeUrl:c.unsafeUrl,newWindow:c.newWindow,setOCGState:c.setOCGState,title:"string"==typeof g?Ie(g):"",color:I,count:Number.isInteger(h)?h:void 0,bold:!!(2&u),italic:!!(1&u),items:[]};o.parent.items.push(f),(t=s.getRaw("First"))instanceof Ye&&!n.has(t)&&(A.push({obj:t,parent:f}),n.put(t)),(t=s.getRaw("Next"))instanceof Ye&&!n.has(t)&&(A.push({obj:t,parent:o.parent}),n.put(t))}}return r.items.length>0?r.items:null}},{key:"permissions",get:function(){var e=null;try{e=this._readPermissions()}catch(e){if(e instanceof Ct)throw e;q("Unable to read permissions.")}return _(this,"permissions",e)}},{key:"_readPermissions",value:function(){var e=this.xref.trailer.get("Encrypt");if(!(e instanceof He))return null;var t=e.get("P");if("number"!=typeof t)return null;t+=Math.pow(2,32);var r=[];for(var A in y){var n=y[A];t&n&&r.push(n)}return r}},{key:"optionalContentConfig",get:function(){var e=null;try{var t=this._catDict.get("OCProperties");if(!t)return _(this,"optionalContentConfig",null);var r=t.get("D");if(!r)return _(this,"optionalContentConfig",null);var A=t.get("OCGs");if(!Array.isArray(A))return _(this,"optionalContentConfig",null);var n,i=[],a=new Pe,o=aE(A);try{for(o.s();!(n=o.n()).done;){var s=n.value;s instanceof Ye&&!a.has(s)&&(a.put(s),i.push(iE(IE,this,CE).call(this,s)))}}catch(e){o.e(e)}finally{o.f()}(e=iE(IE,this,BE).call(this,r,a)).groups=i}catch(e){if(e instanceof Ct)throw e;q("Unable to read optional content config: ".concat(e))}return _(this,"optionalContentConfig",e)}},{key:"setActualNumPages",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._actualNumPages=e}},{key:"hasActualNumPages",get:function(){return null!==this._actualNumPages}},{key:"_pagesCount",get:function(){var e=this.toplevelPagesDict.get("Count");if(!Number.isInteger(e))throw new re("Page count in top-level pages dictionary is not an integer.");return _(this,"_pagesCount",e)}},{key:"numPages",get:function(){return this.hasActualNumPages?this._actualNumPages:this._pagesCount}},{key:"destinations",get:function(){var e=this._readDests(),t=Object.create(null);if(e instanceof UC){var r,A=aE(e.getAll());try{for(A.s();!(r=A.n()).done;){var n=rE(r.value,2),i=n[0],a=lE(n[1]);a&&(t[Ie(i)]=a)}}catch(e){A.e(e)}finally{A.f()}}else e instanceof He&&e.forEach((function(e,r){var A=lE(r);A&&(t[e]=A)}));return _(this,"destinations",t)}},{key:"getDestination",value:function(e){var t=this._readDests();if(t instanceof UC){var r=lE(t.get(e));if(r)return r;var A=this.destinations[e];if(A)return q('Found "'.concat(e,'" at an incorrect position in the NameTree.')),A}else if(t instanceof He){var n=lE(t.get(e));if(n)return n}return null}},{key:"_readDests",value:function(){var e=this._catDict.get("Names");return null!=e&&e.has("Dests")?new UC(e.getRaw("Dests"),this.xref):this._catDict.has("Dests")?this._catDict.get("Dests"):void 0}},{key:"pageLabels",get:function(){var e=null;try{e=this._readPageLabels()}catch(e){if(e instanceof Ct)throw e;q("Unable to read page labels.")}return _(this,"pageLabels",e)}},{key:"_readPageLabels",value:function(){var e=this._catDict.getRaw("PageLabels");if(!e)return null;for(var t=new Array(this.numPages),r=null,A="",n=new MC(e,this.xref).getAll(),i="",a=1,o=0,s=this.numPages;o<s;o++){var c=n.get(o);if(void 0!==c){if(!(c instanceof He))throw new re("PageLabel is not a dictionary.");if(c.has("Type")&&!Ke(c.get("Type"),"PageLabel"))throw new re("Invalid type in PageLabel dictionary.");if(c.has("S")){var g=c.get("S");if(!(g instanceof Ue))throw new re("Invalid style in PageLabel dictionary.");r=g.name}else r=null;if(c.has("P")){var u=c.get("P");if("string"!=typeof u)throw new re("Invalid prefix in PageLabel dictionary.");A=Ie(u)}else A="";if(c.has("St")){var l=c.get("St");if(!(Number.isInteger(l)&&l>=1))throw new re("Invalid start in PageLabel dictionary.");a=l}else a=1}switch(r){case"D":i=a;break;case"R":case"r":i=vt(a,"r"===r);break;case"A":case"a":var h="a"===r?97:65,I=a-1;i=String.fromCharCode(h+I%26).repeat(Math.floor(I/26)+1);break;default:if(r)throw new re('Invalid style "'.concat(r,'" in PageLabel dictionary.'));i=""}t[o]=A+i,a++}return t}},{key:"pageLayout",get:function(){var e=this._catDict.get("PageLayout"),t="";if(e instanceof Ue)switch(e.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":t=e.name}return _(this,"pageLayout",t)}},{key:"pageMode",get:function(){var e=this._catDict.get("PageMode"),t="UseNone";if(e instanceof Ue)switch(e.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":t=e.name}return _(this,"pageMode",t)}},{key:"viewerPreferences",get:function(){var e=this,t=this._catDict.get("ViewerPreferences");if(!(t instanceof He))return _(this,"viewerPreferences",null);var r,A=null,n=aE(t.getKeys());try{for(n.s();!(r=n.n()).done;){var i=r.value,a=t.get(i),o=void 0;switch(i){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":"boolean"==typeof a&&(o=a);break;case"NonFullScreenPageMode":if(a instanceof Ue)switch(a.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":o=a.name;break;default:o="UseNone"}break;case"Direction":if(a instanceof Ue)switch(a.name){case"L2R":case"R2L":o=a.name;break;default:o="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(a instanceof Ue)switch(a.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":o=a.name;break;default:o="CropBox"}break;case"PrintScaling":if(a instanceof Ue)switch(a.name){case"None":case"AppDefault":o=a.name;break;default:o="AppDefault"}break;case"Duplex":if(a instanceof Ue)switch(a.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":o=a.name;break;default:o="None"}break;case"PrintPageRange":Array.isArray(a)&&a.length%2==0&&a.every((function(t,r,A){return Number.isInteger(t)&&t>0&&(0===r||t>=A[r-1])&&t<=e.numPages}))&&(o=a);break;case"NumCopies":Number.isInteger(a)&&a>0&&(o=a);break;default:q("Ignoring non-standard key in ViewerPreferences: ".concat(i,"."));continue}void 0!==o?(A||(A=Object.create(null)),A[i]=o):q('Bad value, for key "'.concat(i,'", in ViewerPreferences: ').concat(a,"."))}}catch(e){n.e(e)}finally{n.f()}return _(this,"viewerPreferences",A)}},{key:"openAction",get:function(){var t=this._catDict.get("OpenAction"),r=Object.create(null);if(t instanceof He){var A=new He(this.xref);A.set("A",t);var n={url:null,dest:null,action:null};e.parseDestDictionary({destDict:A,resultObj:n}),Array.isArray(n.dest)?r.dest=n.dest:n.action&&(r.action=n.action)}else Array.isArray(t)&&(r.dest=t);return _(this,"openAction",oe(r)>0?r:null)}},{key:"attachments",get:function(){var e=this._catDict.get("Names"),t=null;if(e instanceof He&&e.has("EmbeddedFiles")){var r,A=aE(new UC(e.getRaw("EmbeddedFiles"),this.xref).getAll());try{for(A.s();!(r=A.n()).done;){var n=rE(r.value,2),i=n[0],a=n[1],o=new TC(a,this.xref);t||(t=Object.create(null)),t[Ie(i)]=o.serializable}}catch(e){A.e(e)}finally{A.f()}}return _(this,"attachments",t)}},{key:"xfaImages",get:function(){var e=this._catDict.get("Names"),t=null;if(e instanceof He&&e.has("XFAImages")){var r,A=aE(new UC(e.getRaw("XFAImages"),this.xref).getAll());try{for(A.s();!(r=A.n()).done;){var n=rE(r.value,2),i=n[0],a=n[1];t||(t=new He(this.xref)),t.set(Ie(i),a)}}catch(e){A.e(e)}finally{A.f()}}return _(this,"xfaImages",t)}},{key:"_collectJavaScript",value:function(){var e=this._catDict.get("Names"),t=null;function r(e,r){if(r instanceof He&&Ke(r.get("S"),"JavaScript")){var A=r.get("JS");if(A instanceof ze)A=A.getString();else if("string"!=typeof A)return;(A=Ie(A).replaceAll("\\0",""))&&(t||(t=new Map)).set(e,A)}}if(e instanceof He&&e.has("JavaScript")){var A,n=aE(new UC(e.getRaw("JavaScript"),this.xref).getAll());try{for(n.s();!(A=n.n()).done;){var i=rE(A.value,2),a=i[0],o=i[1];r(Ie(a),o)}}catch(e){n.e(e)}finally{n.f()}}var s=this._catDict.get("OpenAction");return s&&r("OpenAction",s),t}},{key:"jsActions",get:function(){var e=this._collectJavaScript(),t=Mt(this.xref,this._catDict,k);if(e){t||(t=Object.create(null));var r,A=aE(e);try{for(A.s();!(r=A.n()).done;){var n=rE(r.value,2),i=n[0],a=n[1];i in t?t[i].push(a):t[i]=[a]}}catch(e){A.e(e)}finally{A.f()}}return _(this,"jsActions",t)}},{key:"fontFallback",value:(n=tE($Q().mark((function e(t,r){var A,n,i,a;return $Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(this.fontCache);case 2:A=e.sent,n=aE(A),e.prev=4,n.s();case 6:if((i=n.n()).done){e.next=13;break}if((a=i.value).loadedName!==t){e.next=11;break}return a.fallback(r),e.abrupt("return");case 11:e.next=6;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),n.e(e.t0);case 18:return e.prev=18,n.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[4,15,18,21]])}))),function(e,t){return n.apply(this,arguments)})},{key:"cleanup",value:(A=tE($Q().mark((function e(){var t,r,A,n,i=arguments;return $Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]&&i[0],JC(),this.globalImageCache.clear(t),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.pageDictCache.clear(),this.nonBlendModesSet.clear(),e.next=9,Promise.all(this.fontCache);case 9:r=e.sent,A=aE(r);try{for(A.s();!(n=A.n()).done;)delete n.value.dict.cacheKey}catch(e){A.e(e)}finally{A.f()}this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear(),this.systemFontCache.clear();case 16:case"end":return e.stop()}}),e,this)}))),function(){return A.apply(this,arguments)})},{key:"getPageDict",value:(r=tE($Q().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E;return $Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=[this.toplevelPagesDict],A=new Pe,(n=this._catDict.getRaw("Pages"))instanceof Ye&&A.put(n),i=this.xref,a=this.pageKidsCountCache,o=this.pageIndexCache,s=this.pageDictCache,c=0;case 6:if(!r.length){e.next=67;break}if(!((g=r.pop())instanceof Ye)){e.next=34;break}if(!((u=a.get(g))>=0&&c+u<=t)){e.next=13;break}return c+=u,e.abrupt("continue",6);case 13:if(!A.has(g)){e.next=15;break}throw new re("Pages tree contains circular reference.");case 15:return A.put(g),e.next=18,s.get(g)||i.fetchAsync(g);case 18:if(!((l=e.sent)instanceof He)){e.next=32;break}if(!((h=l.getRaw("Type"))instanceof Ye)){e.next=25;break}return e.next=24,i.fetchAsync(h);case 24:h=e.sent;case 25:if(!Ke(h,"Page")&&l.has("Kids")){e.next=32;break}if(a.has(g)||a.put(g,1),o.has(g)||o.put(g,c),c!==t){e.next=30;break}return e.abrupt("return",[l,g]);case 30:return c++,e.abrupt("continue",6);case 32:return r.push(l),e.abrupt("continue",6);case 34:if(g instanceof He){e.next=36;break}throw new re("Page dictionary kid reference points to wrong type of object.");case 36:if(I=g.objId,!((f=g.getRaw("Count"))instanceof Ye)){e.next=42;break}return e.next=41,i.fetchAsync(f);case 41:f=e.sent;case 42:if(!(Number.isInteger(f)&&f>=0)){e.next=47;break}if(I&&!a.has(I)&&a.put(I,f),!(c+f<=t)){e.next=47;break}return c+=f,e.abrupt("continue",6);case 47:if(!((C=g.getRaw("Kids"))instanceof Ye)){e.next=52;break}return e.next=51,i.fetchAsync(C);case 51:C=e.sent;case 52:if(Array.isArray(C)){e.next=64;break}if(!((B=g.getRaw("Type"))instanceof Ye)){e.next=58;break}return e.next=57,i.fetchAsync(B);case 57:B=e.sent;case 58:if(!Ke(B,"Page")&&g.has("Kids")){e.next=63;break}if(c!==t){e.next=61;break}return e.abrupt("return",[g,null]);case 61:return c++,e.abrupt("continue",6);case 63:throw new re("Page dictionary kids object is not an array.");case 64:for(Q=C.length-1;Q>=0;Q--)E=C[Q],r.push(E),g===this.toplevelPagesDict&&E instanceof Ye&&!s.has(E)&&s.put(E,i.fetchAsync(E));e.next=6;break;case 67:throw new Error("Page index ".concat(t," not found."));case 68:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"getAllPageDicts",value:(t=tE($Q().mark((function e(){var t,r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E=arguments;return $Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:u=function(e){if(e instanceof Qt&&!t)throw e;t&&r&&0===c&&(q('getAllPageDicts - Skipping invalid first page: "'.concat(e,'".')),e=He.empty),a.set(c++,[e,null])},g=function(e,t){t&&!s.has(t)&&s.put(t,c),a.set(c++,[e,t])},t=E.length>0&&void 0!==E[0]&&E[0],r=this.pdfManager.evaluatorOptions.ignoreErrors,A=[{currentNode:this.toplevelPagesDict,posInKids:0}],n=new Pe,(i=this._catDict.getRaw("Pages"))instanceof Ye&&n.put(i),a=new Map,o=this.xref,s=this.pageIndexCache,c=0;case 10:if(!(A.length>0)){e.next=70;break}if(l=A.at(-1),h=l.currentNode,I=l.posInKids,!((f=h.getRaw("Kids"))instanceof Ye)){e.next=25;break}return e.prev=15,e.next=18,o.fetchAsync(f);case 18:f=e.sent,e.next=25;break;case 21:return e.prev=21,e.t0=e.catch(15),u(e.t0),e.abrupt("break",70);case 25:if(Array.isArray(f)){e.next=28;break}return u(new re("Page dictionary kids object is not an array.")),e.abrupt("break",70);case 28:if(!(I>=f.length)){e.next=31;break}return A.pop(),e.abrupt("continue",10);case 31:if(C=f[I],B=void 0,!(C instanceof Ye)){e.next=50;break}if(!n.has(C)){e.next=37;break}return u(new re("Pages tree contains circular reference.")),e.abrupt("break",70);case 37:return n.put(C),e.prev=38,e.next=41,o.fetchAsync(C);case 41:B=e.sent,e.next=48;break;case 44:return e.prev=44,e.t1=e.catch(38),u(e.t1),e.abrupt("break",70);case 48:e.next=51;break;case 50:B=C;case 51:if(B instanceof He){e.next=54;break}return u(new re("Page dictionary kid reference points to wrong type of object.")),e.abrupt("break",70);case 54:if(!((Q=B.getRaw("Type"))instanceof Ye)){e.next=66;break}return e.prev=56,e.next=59,o.fetchAsync(Q);case 59:Q=e.sent,e.next=66;break;case 62:return e.prev=62,e.t2=e.catch(56),u(e.t2),e.abrupt("break",70);case 66:Ke(Q,"Page")||!B.has("Kids")?g(B,C instanceof Ye?C:null):A.push({currentNode:B,posInKids:0}),l.posInKids++,e.next=10;break;case 70:return e.abrupt("return",a);case 71:case"end":return e.stop()}}),e,this,[[15,21],[38,44],[56,62]])}))),function(){return t.apply(this,arguments)})},{key:"getPageIndex",value:function(e){var t=this,r=this.pageIndexCache.get(e);if(void 0!==r)return Promise.resolve(r);var A=this.xref,n=0,i=function(r){return function(t){var r,n=0;return A.fetchAsync(t).then((function(A){if(je(t,e)&&!qe(A,"Page")&&!(A instanceof He&&!A.has("Type")&&A.has("Contents")))throw new re("The reference does not point to a /Page dictionary.");if(!A)return null;if(!(A instanceof He))throw new re("Node must be a dictionary.");return r=A.getRaw("Parent"),A.getAsync("Parent")})).then((function(e){if(!e)return null;if(!(e instanceof He))throw new re("Parent must be a dictionary.");return e.getAsync("Kids")})).then((function(e){if(!e)return null;var i,a=[],o=!1,s=aE(e);try{for(s.s();!(i=s.n()).done;){var c=i.value;if(!(c instanceof Ye))throw new re("Kid must be a reference.");if(je(c,t)){o=!0;break}a.push(A.fetchAsync(c).then((function(e){if(!(e instanceof He))throw new re("Kid node must be a dictionary.");e.has("Count")?n+=e.get("Count"):n++})))}}catch(e){s.e(e)}finally{s.f()}if(!o)throw new re("Kid reference not found in parent's kids.");return Promise.all(a).then((function(){return[n,r]}))}))}(r).then((function(r){if(!r)return t.pageIndexCache.put(e,n),n;var A=rE(r,2),a=A[0],o=A[1];return n+=a,i(o)}))};return i(e)}},{key:"baseUrl",get:function(){var e=this._catDict.get("URI");if(e instanceof He){var t=e.get("Base");if("string"==typeof t){var r=Z(t,null,{tryConvertEncoding:!0});if(r)return _(this,"baseUrl",r.href)}}return _(this,"baseUrl",this.pdfManager.docBaseUrl)}}],[{key:"parseDestDictionary",value:function(e){var t=e.destDict,r=e.resultObj,A=e.docBaseUrl,n=void 0===A?null:A,i=e.docAttachments,a=void 0===i?null:i;if(t instanceof He){var o,s,c=t.get("A");if(c instanceof He||(t.has("Dest")?c=t.get("Dest"):(c=t.get("AA"))instanceof He&&(c.has("D")?c=c.get("D"):c.has("U")&&(c=c.get("U")))),c instanceof He){var g=c.get("S");if(!(g instanceof Ue))return void q("parseDestDictionary: Invalid type in Action dictionary.");var u=g.name;switch(u){case"ResetForm":var l,h=c.get("Flags"),I=0==(1&("number"==typeof h?h:0)),f=[],C=[],B=aE(c.get("Fields")||[]);try{for(B.s();!(l=B.n()).done;){var Q=l.value;Q instanceof Ye?C.push(Q.toString()):"string"==typeof Q&&f.push(Ie(Q))}}catch(e){B.e(e)}finally{B.f()}r.resetForm={fields:f,refs:C,include:I};break;case"URI":(o=c.get("URI"))instanceof Ue&&(o="/"+o.name);break;case"GoTo":s=c.get("D");break;case"Launch":case"GoToR":var E=c.get("F");E instanceof He?o=new TC(E,null,!0).serializable.rawFilename:"string"==typeof E&&(o=E);var d=hE(c);d&&"string"==typeof o&&(o=o.split("#",1)[0]+"#"+d);var y=c.get("NewWindow");"boolean"==typeof y&&(r.newWindow=y);break;case"GoToE":var p,v=c.get("T");if(a&&v instanceof He){var m=v.get("R"),w=v.get("N");Ke(m,"C")&&"string"==typeof w&&(p=a[Ie(w)])}if(p){r.attachment=p;var b=hE(c);b&&(r.attachmentDest=b)}else q('parseDestDictionary - unimplemented "GoToE" action.');break;case"Named":var k=c.get("N");k instanceof Ue&&(r.action=k.name);break;case"SetOCGState":var D=c.get("State"),S=c.get("PreserveRB");if(!Array.isArray(D)||0===D.length)break;var F,x=[],R=aE(D);try{for(R.s();!(F=R.n()).done;){var G=F.value;if(G instanceof Ue)switch(G.name){case"ON":case"OFF":case"Toggle":x.push(G.name)}else G instanceof Ye&&x.push(G.toString())}}catch(e){R.e(e)}finally{R.f()}if(x.length!==D.length)break;r.setOCGState={state:x,preserveRB:"boolean"!=typeof S||S};break;case"JavaScript":var N,L=c.get("JS");L instanceof ze?N=L.getString():"string"==typeof L&&(N=L);var U=N&&Kt(Ie(N));if(U){o=U.url,r.newWindow=U.newWindow;break}default:if("JavaScript"===u||"SubmitForm"===u)break;q('parseDestDictionary - unsupported action: "'.concat(u,'".'))}}else t.has("Dest")&&(s=t.get("Dest"));if("string"==typeof o){var M=Z(o,n,{addDefaultProtocol:!0,tryConvertEncoding:!0});M&&(r.url=M.href),r.unsafeUrl=o}s&&(s instanceof Ue&&(s=s.name),"string"==typeof s?r.dest=Ie(s):uE(s)&&(r.dest=s))}else q("parseDestDictionary: \`destDict\` must be a dictionary.")}}]);var t,r,A,n}();function CE(e){var t=this.xref.fetch(e),r={id:e.toString(),name:null,intent:null,usage:{print:null,view:null}},A=t.get("Name");"string"==typeof A&&(r.name=Ie(A));var n=t.getArray("Intent");Array.isArray(n)||(n=[n]),n.every((function(e){return e instanceof Ue}))&&(r.intent=n.map((function(e){return e.name})));var i=t.get("Usage");if(!(i instanceof He))return r;var a=r.usage,o=i.get("Print");if(o instanceof He){var s=o.get("PrintState");if(s instanceof Ue)switch(s.name){case"ON":case"OFF":a.print={printState:s.name}}}var c=i.get("View");if(c instanceof He){var g=c.get("ViewState");if(g instanceof Ue)switch(g.name){case"ON":case"OFF":a.view={viewState:g.name}}}return r}function BE(e,t){function r(e){var r=[];if(Array.isArray(e)){var A,n=aE(e);try{for(n.s();!(A=n.n()).done;){var i=A.value;i instanceof Ye&&t.has(i)&&r.push(i.toString())}}catch(e){n.e(e)}finally{n.f()}}return r}function A(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Array.isArray(e))return null;var A,i=[],o=aE(e);try{for(o.s();!(A=o.n()).done;){var s=A.value;if(s instanceof Ye&&t.has(s))a.put(s),i.push(s.toString());else{var c=n(s,r);c&&i.push(c)}}}catch(e){o.e(e)}finally{o.f()}if(r>0)return i;var g,u=[],l=aE(t);try{for(l.s();!(g=l.n()).done;){var h=g.value;a.has(h)||u.push(h.toString())}}catch(e){l.e(e)}finally{l.f()}return u.length&&i.push({name:null,order:u}),i}function n(e,t){if(++t>o)return q("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;var r=i.fetchIfRef(e);if(!Array.isArray(r))return null;var n=i.fetchIfRef(r[0]);if("string"!=typeof n)return null;var a=A(r.slice(1),t);return a&&a.length?{name:Ie(n),order:a}:null}var i=this.xref,a=new Pe,o=10;return{name:"string"==typeof e.get("Name")?Ie(e.get("Name")):null,creator:"string"==typeof e.get("Creator")?Ie(e.get("Creator")):null,baseState:e.get("BaseState")instanceof Ue?e.get("BaseState").name:null,on:r(e.get("ON")),off:r(e.get("OFF")),order:A(e.get("Order")),groups:null}}function QE(){QE=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function EE(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function dE(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){EE(i,A,n,a,o,"next",e)}function o(e){EE(i,A,n,a,o,"throw",e)}a(void 0)}))}}function yE(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,pE(A.key),A)}}function pE(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function vE(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return mE(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mE(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function mE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function wE(e,t){if(e instanceof He)e=e.getRawValues();else if(e instanceof ze)e=e.dict.getRawValues();else if(!Array.isArray(e))return;var r,A,n=vE(e);try{for(n.s();!(r=n.n()).done;){var i=r.value;((A=i)instanceof Ye||A instanceof He||A instanceof ze||Array.isArray(A))&&t.push(i)}}catch(e){n.e(e)}finally{n.f()}}var bE=function(){return function(e,t,r){return t&&yE(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r,A){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.dict=t,this.keys=r,this.xref=A,this.refSet=null}),[{key:"load",value:(t=dE(QE().mark((function e(){var t,r,A,n,i,a,o;return QE().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.xref.stream.isDataLoaded){e.next=2;break}return e.abrupt("return",void 0);case 2:t=this.keys,r=this.dict,this.refSet=new Pe,A=[],n=vE(t);try{for(n.s();!(i=n.n()).done;)a=i.value,void 0!==(o=r.getRaw(a))&&A.push(o)}catch(e){n.e(e)}finally{n.f()}return e.abrupt("return",this._walk(A));case 8:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"_walk",value:(e=dE(QE().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h;return QE().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=[],A=[];case 2:if(!t.length){e.next=48;break}if(!((n=t.pop())instanceof Ye)){e.next=21;break}if(!this.refSet.has(n)){e.next=7;break}return e.abrupt("continue",2);case 7:e.prev=7,this.refSet.put(n),n=this.xref.fetch(n),e.next=21;break;case 12:if(e.prev=12,e.t0=e.catch(7),e.t0 instanceof Ct){e.next=19;break}return q('ObjectLoader._walk - requesting all data: "'.concat(e.t0,'".')),this.refSet=null,i=this.xref.stream.manager,e.abrupt("return",i.requestAllChunks());case 19:r.push(n),A.push({begin:e.t0.begin,end:e.t0.end});case 21:if(!(n instanceof ze)){e.next=45;break}if(!(a=n.getBaseStreams())){e.next=45;break}o=!1,s=vE(a),e.prev=26,s.s();case 28:if((c=s.n()).done){e.next=36;break}if(!(g=c.value).isDataLoaded){e.next=32;break}return e.abrupt("continue",34);case 32:o=!0,A.push({begin:g.start,end:g.end});case 34:e.next=28;break;case 36:e.next=41;break;case 38:e.prev=38,e.t1=e.catch(26),s.e(e.t1);case 41:return e.prev=41,s.f(),e.finish(41);case 44:o&&r.push(n);case 45:wE(n,t),e.next=2;break;case 48:if(!A.length){e.next=54;break}return e.next=51,this.xref.stream.manager.requestRanges(A);case 51:u=vE(r);try{for(u.s();!(l=u.n()).done;)(h=l.value)instanceof Ye&&this.refSet.remove(h)}catch(e){u.e(e)}finally{u.f()}return e.abrupt("return",this._walk(r));case 54:return this.refSet=null,e.abrupt("return",void 0);case 56:case"end":return e.stop()}}),e,this,[[7,12],[26,38,41,44]])}))),function(t){return e.apply(this,arguments)})}]);var e,t}(),kE=Symbol(),DE=Symbol(),SE=Symbol(),FE=Symbol(),xE=Symbol(),RE=Symbol(),GE=Symbol(),NE=Symbol(),LE=Symbol(),UE=Symbol("content"),ME=Symbol("data"),JE=Symbol(),HE=Symbol("extra"),YE=Symbol(),PE=Symbol(),OE=Symbol(),KE=Symbol(),TE=Symbol(),qE=Symbol(),jE=Symbol(),WE=Symbol(),ZE=Symbol(),_E=Symbol(),XE=Symbol(),VE=Symbol(),zE=Symbol(),$E=Symbol(),ed=Symbol(),td=Symbol(),rd=Symbol(),Ad=Symbol(),nd=Symbol(),id=Symbol(),ad=Symbol(),od=Symbol(),sd=Symbol(),cd=Symbol(),gd=Symbol(),ud=Symbol(),ld=Symbol(),hd=Symbol(),Id=Symbol(),fd=Symbol(),Cd=Symbol(),Bd=Symbol(),Qd=Symbol("namespaceId"),Ed=Symbol("nodeName"),dd=Symbol(),yd=Symbol(),pd=Symbol(),vd=Symbol(),md=Symbol(),wd=Symbol(),bd=Symbol(),kd=Symbol(),Dd=Symbol("root"),Sd=Symbol(),Fd=Symbol(),xd=Symbol(),Rd=Symbol(),Gd=Symbol(),Nd=Symbol(),Ld=Symbol(),Ud=Symbol(),Md=Symbol(),Jd=Symbol(),Hd=Symbol(),Yd=Symbol("uid"),Pd=(r(9657),Symbol()),Od={config:{id:0,check:function(e){return e.startsWith("http://www.xfa.org/schema/xci/")}},connectionSet:{id:1,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-connection-set/")}},datasets:{id:2,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-data/")}},form:{id:3,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-form/")}},localeSet:{id:4,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-locale-set/")}},pdf:{id:5,check:function(e){return"http://ns.adobe.com/xdp/pdf/"===e}},signature:{id:6,check:function(e){return"http://www.w3.org/2000/09/xmldsig#"===e}},sourceSet:{id:7,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-source-set/")}},stylesheet:{id:8,check:function(e){return"http://www.w3.org/1999/XSL/Transform"===e}},template:{id:9,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-template/")}},xdc:{id:10,check:function(e){return e.startsWith("http://www.xfa.org/schema/xdc/")}},xdp:{id:11,check:function(e){return"http://ns.adobe.com/xdp/"===e}},xfdf:{id:12,check:function(e){return"http://ns.adobe.com/xfdf/"===e}},xhtml:{id:13,check:function(e){return"http://www.w3.org/1999/xhtml"===e}},xmpmeta:{id:14,check:function(e){return"http://ns.adobe.com/xmpmeta/"===e}}};function Kd(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Td(A.key),A)}}function Td(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function qd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return jd(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jd(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var Wd={pt:function(e){return e},cm:function(e){return e/2.54*72},mm:function(e){return e/25.4*72},in:function(e){return 72*e},px:function(e){return e}},Zd=/([+-]?\\d+\\.?\\d*)(.*)/;function _d(e){return e.startsWith("'")||e.startsWith('"')?e.slice(1,-1):e}function Xd(e){var t=e.data,r=e.defaultValue,A=e.validate;if(!t)return r;t=t.trim();var n=parseInt(t,10);return!isNaN(n)&&A(n)?n:r}function Vd(e){var t=e.data,r=e.defaultValue,A=e.validate;if(!t)return r;t=t.trim();var n=parseFloat(t);return!isNaN(n)&&A(n)?n:r}function zd(e){var t=e.data,r=e.defaultValue,A=e.validate;return t&&A(t=t.trim())?t:r}function $d(e,t){return zd({data:e,defaultValue:t[0],validate:function(e){return t.includes(e)}})}function ey(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(t||(t="0"),!e)return ey(t);var r=e.trim().match(Zd);if(!r)return ey(t);var A=qd(r,3),n=A[1],i=A[2],a=parseFloat(n);if(isNaN(a))return ey(t);if(0===a)return 0;var o=Wd[i];return o?o(a):a}function ty(e){if(!e)return{num:1,den:1};var t=e.trim().split(/\\s*:\\s*/).map((function(e){return parseFloat(e)})).filter((function(e){return!isNaN(e)}));if(1===t.length&&t.push(1),0===t.length)return{num:1,den:1};var r=qd(t,2);return{num:r[0],den:r[1]}}function ry(e){return e?e.trim().split(/\\s+/).map((function(e){return{excluded:"-"===e[0],viewname:e.substring(1)}})):[]}var Ay=function(){function e(t,r,A,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.success=t,this.html=r,this.bbox=A,this.breakNode=n}return function(e,t,r){return t&&Kd(e.prototype,t),r&&Kd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"isBreak",value:function(){return!!this.breakNode}}],[{key:"FAILURE",get:function(){return _(this,"FAILURE",new e(!1,null,null,null))}},{key:"EMPTY",get:function(){return _(this,"EMPTY",new e(!0,null,null,null))}},{key:"breakNode",value:function(t){return new e(!1,null,null,t)}},{key:"success",value:function(t){return new e(!0,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,null)}}])}();function ny(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||ay(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iy(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ay(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function ay(e,t){if(e){if("string"==typeof e)return oy(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?oy(e,t):void 0}}function oy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function sy(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,cy(A.key),A)}}function cy(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var gy=function(){return function(e,t,r){return t&&sy(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(t)}),[{key:"add",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,A=iy(e);try{for(A.s();!(t=A.n()).done;){var n=t.value;this.addPdfFont(n)}}catch(e){A.e(e)}finally{A.f()}var i,a=iy(this.fonts.values());try{for(a.s();!(i=a.n()).done;){var o=i.value;o.regular||(o.regular=o.italic||o.bold||o.bolditalic)}}catch(e){a.e(e)}finally{a.f()}if(r&&0!==r.size){var s,c=this.fonts.get("PdfJS-Fallback-PdfJS-XFA"),g=iy(r);try{for(g.s();!(s=g.n()).done;){var u=s.value;this.fonts.set(u,c)}}catch(e){g.e(e)}finally{g.f()}}}},{key:"addPdfFont",value:function(e){var t=e.cssFontInfo,r=t.fontFamily,A=this.fonts.get(r);A||(A=Object.create(null),this.fonts.set(r,A),this.defaultFont||(this.defaultFont=A));var n,i,a,o="",s=parseFloat(t.fontWeight);0!==parseFloat(t.italicAngle)?o=s>=700?"bolditalic":"italic":s>=700&&(o="bold"),o||((e.name.includes("Bold")||null!==(n=e.psName)&&void 0!==n&&n.includes("Bold"))&&(o="bold"),(e.name.includes("Italic")||e.name.endsWith("It")||null!==(i=e.psName)&&void 0!==i&&i.includes("Italic")||null!==(a=e.psName)&&void 0!==a&&a.endsWith("It"))&&(o+="italic")),o||(o="regular"),A[o]=e}},{key:"getDefault",value:function(){return this.defaultFont}},{key:"find",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.fonts.get(e)||this.cache.get(e);if(r)return r;var A=/,|-|_| |bolditalic|bold|italic|regular|it/gi,n=e.replaceAll(A,"");if(r=this.fonts.get(n))return this.cache.set(e,r),r;n=n.toLowerCase();var i,a=[],o=iy(this.fonts.entries());try{for(o.s();!(i=o.n()).done;){var s=ny(i.value,2),c=s[0],g=s[1];c.replaceAll(A,"").toLowerCase().startsWith(n)&&a.push(g)}}catch(e){o.e(e)}finally{o.f()}if(0===a.length){var u,l=iy(this.fonts.entries());try{for(l.s();!(u=l.n()).done;){var h,I=ny(u.value,2)[1];null!==(h=I.regular.name)&&void 0!==h&&h.replaceAll(A,"").toLowerCase().startsWith(n)&&a.push(I)}}catch(e){l.e(e)}finally{l.f()}}if(0===a.length){n=n.replaceAll(/psmt|mt/gi,"");var f,C=iy(this.fonts.entries());try{for(C.s();!(f=C.n()).done;){var B=ny(f.value,2),Q=B[0],E=B[1];Q.replaceAll(A,"").toLowerCase().startsWith(n)&&a.push(E)}}catch(e){C.e(e)}finally{C.f()}}if(0===a.length){var d,y=iy(this.fonts.values());try{for(y.s();!(d=y.n()).done;){var p,v=d.value;null!==(p=v.regular.name)&&void 0!==p&&p.replaceAll(A,"").toLowerCase().startsWith(n)&&a.push(v)}}catch(e){y.e(e)}finally{y.f()}}return a.length>=1?(1!==a.length&&t&&q("XFA - Too many choices to guess the correct font: ".concat(e)),this.cache.set(e,a[0]),a[0]):(t&&!this.warned.has(e)&&(this.warned.add(e),q("XFA - Cannot find the font: ".concat(e))),null)}}])}();function uy(e,t){return"italic"===e.posture?"bold"===e.weight?t.bolditalic:t.italic:"bold"===e.weight?t.bold:t.regular}function ly(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Iy(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function hy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Iy(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Iy(e,t){if(e){if("string"==typeof e)return fy(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fy(e,t):void 0}}function fy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Cy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function By(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ey(A.key),A)}}function Qy(e,t,r){return t&&By(e.prototype,t),r&&By(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ey(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var dy=function(){return Qy((function e(t,r,A,n){if(Cy(this,e),this.lineHeight=A,this.paraMargin=r||{top:0,bottom:0,left:0,right:0},!t){var i=hy(this.defaultFont(n),2);return this.pdfFont=i[0],void(this.xfaFont=i[1])}this.xfaFont={typeface:t.typeface,posture:t.posture,weight:t.weight,size:t.size,letterSpacing:t.letterSpacing};var a=n.find(t.typeface);if(!a){var o=hy(this.defaultFont(n),2);return this.pdfFont=o[0],void(this.xfaFont=o[1])}if(this.pdfFont=uy(t,a),!this.pdfFont){var s=hy(this.defaultFont(n),2);this.pdfFont=s[0],this.xfaFont=s[1]}}),[{key:"defaultFont",value:function(e){var t=e.find("Helvetica",!1)||e.find("Myriad Pro",!1)||e.find("Arial",!1)||e.getDefault();if(null!=t&&t.regular){var r=t.regular;return[r,{typeface:r.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0}]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}])}(),yy=function(){return Qy((function e(t,r,A,n){Cy(this,e),this.fontFinder=n,this.stack=[new dy(t,r,A,n)]}),[{key:"pushData",value:function(e,t,r){for(var A=this.stack.at(-1),n=0,i=["typeface","posture","weight","size","letterSpacing"];n<i.length;n++){var a=i[n];e[a]||(e[a]=A.xfaFont[a])}for(var o=0,s=["top","bottom","left","right"];o<s.length;o++){var c=s[o];isNaN(t[c])&&(t[c]=A.paraMargin[c])}var g=new dy(e,t,r||A.lineHeight,this.fontFinder);g.pdfFont||(g.pdfFont=A.pdfFont),this.stack.push(g)}},{key:"popFont",value:function(){this.stack.pop()}},{key:"topFont",value:function(){return this.stack.at(-1)}}])}(),py=function(){return Qy((function e(t,r,A,n){Cy(this,e),this.glyphs=[],this.fontSelector=new yy(t,r,A,n),this.extraHeight=0}),[{key:"pushData",value:function(e,t,r){this.fontSelector.pushData(e,t,r)}},{key:"popFont",value:function(e){return this.fontSelector.popFont()}},{key:"addPara",value:function(){var e=this.fontSelector.topFont();this.extraHeight+=e.paraMargin.top+e.paraMargin.bottom}},{key:"addString",value:function(e){if(e){var t=this.fontSelector.topFont(),r=t.xfaFont.size;if(t.pdfFont){var A,n=t.xfaFont.letterSpacing,i=t.pdfFont,a=i.lineHeight||1.2,o=t.lineHeight||Math.max(1.2,a)*r,s=a-(void 0===i.lineGap?.2:i.lineGap),c=Math.max(1,s)*r,g=r/1e3,u=i.defaultWidth||i.charsToGlyphs(" ")[0].width,l=ly(e.split(/[\\u2029\\n]/));try{for(l.s();!(A=l.n()).done;){var h,I=A.value,f=i.encodeString(I).join(""),C=ly(i.charsToGlyphs(f));try{for(C.s();!(h=C.n()).done;){var B=h.value,Q=B.width||u;this.glyphs.push([Q*g+n,o,c,B.unicode,!1])}}catch(e){C.e(e)}finally{C.f()}this.glyphs.push([0,0,0,"\\n",!0])}}catch(e){l.e(e)}finally{l.f()}this.glyphs.pop()}else{var E,d=ly(e.split(/[\\u2029\\n]/));try{for(d.s();!(E=d.n()).done;){var y,p=ly(E.value.split(""));try{for(p.s();!(y=p.n()).done;){var v=y.value;this.glyphs.push([r,1.2*r,r,v,!1])}}catch(e){p.e(e)}finally{p.f()}this.glyphs.push([0,0,0,"\\n",!0])}}catch(e){d.e(e)}finally{d.f()}this.glyphs.pop()}}}},{key:"compute",value:function(e){for(var t=-1,r=0,A=0,n=0,i=0,a=0,o=!1,s=!0,c=0,g=this.glyphs.length;c<g;c++){var u=hy(this.glyphs[c],5),l=u[0],h=u[1],I=u[2],f=" "===u[3],C=s?I:h;u[4]?(A=Math.max(A,i),i=0,n+=a,a=C,t=-1,r=0,s=!1):f?i+l>e?(A=Math.max(A,i),i=0,n+=a,a=C,t=-1,r=0,o=!0,s=!1):(a=Math.max(C,a),r=i,i+=l,t=c):i+l>e?(n+=a,a=C,-1!==t?(c=t,A=Math.max(A,r),i=0,t=-1,r=0):(A=Math.max(A,i),i=l),o=!0,s=!1):(i+=l,a=Math.max(C,a))}return{width:1.02*(A=Math.max(A,i)),height:n+=a+this.extraHeight,isBroken:o}}}])}();function vy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||my(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function my(e,t){if(e){if("string"==typeof e)return wy(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wy(e,t):void 0}}function wy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var by=/^[^.[]+/,ky=/^[^\\]]+/,Dy={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},Sy=new Map([["$data",function(e,t){return e.datasets?e.datasets.data:e}],["$record",function(e,t){return(e.datasets?e.datasets.data:e)[VE]()[0]}],["$template",function(e,t){return e.template}],["$connectionSet",function(e,t){return e.connectionSet}],["$form",function(e,t){return e.form}],["$layout",function(e,t){return e.layout}],["$host",function(e,t){return e.host}],["$dataWindow",function(e,t){return e.dataWindow}],["$event",function(e,t){return e.event}],["!",function(e,t){return e.datasets}],["$xfa",function(e,t){return e}],["xfa",function(e,t){return e}],["$",function(e,t){return t}]]),Fy=new WeakMap;function xy(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],A=e.match(by);if(!A)return null;for(var n,i=vy(A,1)[0],a=[{name:i,cacheName:"."+i,index:0,js:null,formCalc:null,operator:Dy.dot}],o=i.length;o<e.length;){var s=o;if("["!==e.charAt(o++)){var c=void 0;switch(e.charAt(o)){case".":if(!t)return null;o++,c=Dy.dotDot;break;case"#":o++,c=Dy.dotHash;break;case"[":if(r)return q("XFA - SOM expression contains a FormCalc subexpression which is not supported for now."),null;c=Dy.dotBracket;break;case"(":if(r)return q("XFA - SOM expression contains a JavaScript subexpression which is not supported for now."),null;c=Dy.dotParen;break;default:c=Dy.dot}if(!(A=e.slice(o).match(by)))break;o+=(i=vy(A,1)[0]).length,a.push({name:i,cacheName:e.slice(s,o),operator:c,index:0,js:null,formCalc:null})}else{if(!(A=e.slice(o).match(ky)))return q("XFA - Invalid index in SOM expression"),null;a.at(-1).index="*"===(n=(n=A[0]).trim())?1/0:parseInt(n,10)||0,o+=A[0].length+1}}return a}function Ry(e,t,r){var A=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],n=xy(r,!(arguments.length>3&&void 0!==arguments[3])||arguments[3]);if(!n)return null;var i,a=Sy.get(n[0].name),o=0;a?(i=!0,e=[a(e,t)],o=1):(i=null===t,e=[t||e]);for(var s,c=function(){var r,a=n[o],s=a.name,c=a.cacheName,g=a.operator,u=a.index,l=[],h=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=my(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(e);try{for(h.s();!(r=h.n()).done;){var I=r.value;if(I.isXFAObject){var f=void 0,C=void 0;if(A&&((C=Fy.get(I))||(C=new Map,Fy.set(I,C)),f=C.get(c)),!f){switch(g){case Dy.dot:f=I[jE](s,!1);break;case Dy.dotDot:f=I[jE](s,!0);break;case Dy.dotHash:f=(f=I[qE](s)).isXFAObjectArray?f.children:[f]}A&&C.set(c,f)}f.length>0&&l.push(f)}}}catch(e){h.e(e)}finally{h.f()}if(0===l.length&&!i&&0===o){var B=t[td]();return(t=B)?(o=-1,e=[t],0):{v:null}}e=isFinite(u)?l.filter((function(e){return u<e.length})).map((function(e){return e[u]})):l.flat()},g=n.length;o<g;o++)if(0!==(s=c())&&s)return s.v;return 0===e.length?null:e}function Gy(e,t,r){var A=xy(r);if(!A)return null;if(A.some((function(e){return e.operator===Dy.dotDot})))return null;var n=Sy.get(A[0].name),i=0;n?(e=n(e,t),i=1):e=t||e;for(var a=A.length;i<a;i++){var o=A[i],s=o.name,c=o.operator,g=o.index;if(!isFinite(g))return A[i].index=0,e.createNodes(A.slice(i));var u=void 0;switch(c){case Dy.dot:u=e[jE](s,!1);break;case Dy.dotDot:u=e[jE](s,!0);break;case Dy.dotHash:u=(u=e[qE](s)).isXFAObjectArray?u.children:[u]}if(0===u.length)return e.createNodes(A.slice(i));if(!(g<u.length))return A[i].index=g-u.length,e.createNodes(A.slice(i));var l=u[g];if(!l.isXFAObject)return q("XFA - Cannot create a node."),null;e=l}return null}function Ny(e,t,r,A){var n=Ly(Hy(1&A?e.prototype:e),t,r);return 2&A&&"function"==typeof n?function(e){return n.apply(r,e)}:n}function Ly(){return Ly="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Hy(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},Ly.apply(null,arguments)}function Uy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Ty(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function My(e,t,r){return t=Hy(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Jy()?Reflect.construct(t,r||[],Hy(e).constructor):t.apply(e,r))}function Jy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Jy=function(){return!!e})()}function Hy(e){return Hy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hy(e)}function Yy(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Py(e,t)}function Py(e,t){return Py=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Py(e,t)}function Oy(){Oy=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function Ky(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ty(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function Ty(e,t){if(e){if("string"==typeof e)return qy(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qy(e,t):void 0}}function qy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function jy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wy(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,_y(A.key),A)}}function Zy(e,t,r){return t&&Wy(e.prototype,t),r&&Wy(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _y(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Xy=Symbol(),Vy=Symbol(),zy=Symbol(),$y=Symbol("_children"),ep=Symbol(),tp=Symbol(),rp=Symbol(),Ap=Symbol(),np=Symbol(),ip=Symbol(),ap=Symbol(),op=Symbol(),sp=Symbol(),cp=Symbol("parent"),gp=Symbol(),up=Symbol(),lp=Symbol(),hp=0,Ip=Od.datasets.id,fp=function(){function e(t,r){var A=arguments.length>2&&void 0!==arguments[2]&&arguments[2];jy(this,e),this[Qd]=t,this[Ed]=r,this[ap]=A,this[cp]=null,this[$y]=[],this[Yd]="".concat(r).concat(hp++),this[Ad]=null}return Zy(e,[{key:"isXFAObject",get:function(){return!0}},{key:"isXFAObjectArray",get:function(){return!1}},{key:"createNodes",value:function(e){var t,r=this,A=null,n=Ky(e);try{for(n.s();!(t=n.n()).done;){for(var i=t.value,a=i.name,o=i.index,s=0,c=isFinite(o)?o:0;s<=c;s++){var g=r[Qd]===Ip?-1:r[Qd];A=new Qp(g,a),r[SE](A)}r=A}}catch(e){n.e(e)}finally{n.f()}return A}},{key:yd,value:function(e){if(!this[ap]||!this[pd](e))return!1;var t=e[Ed],r=this[t];if(!(r instanceof Cp))return null!==r&&this[kd](r),this[t]=e,this[SE](e),!0;if(r.push(e))return this[SE](e),!0;var A="";return this.id?A=" (id: ".concat(this.id,")"):this.name&&(A=" (name: ".concat(this.name," ").concat(this.h.value,")")),q('XFA - node "'.concat(this[Ed],'"').concat(A,' has already enough "').concat(t,'"!')),!1}},{key:pd,value:function(e){return this.hasOwnProperty(e[Ed])&&e[Qd]===this[Qd]}},{key:ld,value:function(){return!1}},{key:kE,value:function(){return!1}},{key:sd,value:function(){return!1}},{key:cd,value:function(){return!1}},{key:wd,value:function(){this.para&&this[rd]()[HE].paraStack.pop()}},{key:bd,value:function(){this[rd]()[HE].paraStack.push(this.para)}},{key:xd,value:function(e){this.id&&this[Qd]===Od.template.id&&e.set(this.id,this)}},{key:rd,value:function(){return this[Ad].template}},{key:hd,value:function(){return!1}},{key:Id,value:function(){return!1}},{key:SE,value:function(e){e[cp]=this,this[$y].push(e),!e[Ad]&&this[Ad]&&(e[Ad]=this[Ad])}},{key:kd,value:function(e){var t=this[$y].indexOf(e);this[$y].splice(t,1)}},{key:nd,value:function(){return this.hasOwnProperty("value")}},{key:Gd,value:function(e){}},{key:vd,value:function(e){}},{key:YE,value:function(){}},{key:xE,value:function(e){delete this[ap],this[GE]&&(e.clean(this[GE]),delete this[GE])}},{key:ad,value:function(e){return this[$y].indexOf(e)}},{key:od,value:function(e,t){t[cp]=this,this[$y].splice(e,0,t),!t[Ad]&&this[Ad]&&(t[Ad]=this[Ad])}},{key:fd,value:function(){return!this.name}},{key:Bd,value:function(){return""}},{key:Ld,value:function(){return 0===this[$y].length?this[UE]:this[$y].map((function(e){return e[Ld]()})).join("")}},{key:zy,get:function(){var t=Object.getPrototypeOf(this);if(!t._attributes){var r,A=t._attributes=new Set,n=Ky(Object.getOwnPropertyNames(this));try{for(n.s();!(r=n.n()).done;){var i=r.value;if(null===this[i]||this[i]instanceof e||this[i]instanceof Cp)break;A.add(i)}}catch(e){n.e(e)}finally{n.f()}}return _(this,zy,t._attributes)}},{key:ud,value:function(e){for(var t=this;t;){if(t===e)return!0;t=t[td]()}return!1}},{key:td,value:function(){return this[cp]}},{key:ed,value:function(){return this[td]()}},{key:VE,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[e]:this[$y]}},{key:JE,value:function(){var t=Object.create(null);this[UE]&&(t.$content=this[UE]);var r,A=Ky(Object.getOwnPropertyNames(this));try{for(A.s();!(r=A.n()).done;){var n=r.value,i=this[n];null!==i&&(i instanceof e?t[n]=i[JE]():i instanceof Cp?i.isEmpty()||(t[n]=i.dump()):t[n]=i)}}catch(e){A.e(e)}finally{A.f()}return t}},{key:Hd,value:function(){return null}},{key:Md,value:function(){return Ay.EMPTY}},{key:zE,value:Oy().mark((function e(){var t,r,A;return Oy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Ky(this[VE]()),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=9;break}return A=r.value,e.next=7,A;case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))},{key:Ap,value:Oy().mark((function e(t,r){var A,n,i,a,o;return Oy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:A=Ky(this[zE]()),e.prev=1,A.s();case 3:if((n=A.n()).done){e.next=13;break}if(i=n.value,t&&r!==t.has(i[Ed])){e.next=11;break}return a=this[TE](),(o=i[Md](a)).success||(this[HE].failingNode=i),e.next=11,o;case 11:e.next=3;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(1),A.e(e.t0);case 18:return e.prev=18,A.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[1,15,18,21]])}))},{key:PE,value:function(){return null}},{key:DE,value:function(e,t){this[HE].children.push(e)}},{key:TE,value:function(){}},{key:FE,value:function(e){var t=e.filter,r=void 0===t?null:t,A=e.include,n=void 0===A||A;if(this[HE].generator){var i=this[TE](),a=this[HE].failingNode[Md](i);if(!a.success)return a;a.html&&this[DE](a.html,a.bbox),delete this[HE].failingNode}else this[HE].generator=this[Ap](r,n);for(;;){var o=this[HE].generator.next();if(o.done)break;var s=o.value;if(!s.success)return s;s.html&&this[DE](s.html,s.bbox)}return this[HE].generator=null,Ay.EMPTY}},{key:Rd,value:function(e){this[up]=new Set(Object.keys(e))}},{key:ip,value:function(e){var t=this[zy],r=this[up];return function(e){return function(e){if(Array.isArray(e))return qy(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ty(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e).filter((function(e){return t.has(e)&&!r.has(e)}))}},{key:Sd,value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,A=Ky(this[$y]);try{for(A.s();!(t=A.n()).done;)t.value[gp](e,r)}catch(e){A.e(e)}finally{A.f()}}},{key:gp,value:function(e,t){var r=this[np](e,t);r?this[Xy](r,e,t):this[Sd](e,t)}},{key:np,value:function(e,t){var r=this.use,A=this.usehref;if(!r&&!A)return null;var n=null,i=null,a=null,o=r;if(A?(o=A,A.startsWith("#som(")&&A.endsWith(")")?i=A.slice(5,-1):A.startsWith(".#som(")&&A.endsWith(")")?i=A.slice(6,-1):A.startsWith("#")?a=A.slice(1):A.startsWith(".#")&&(a=A.slice(2))):r.startsWith("#")?a=r.slice(1):i=r,this.use=this.usehref="",a?n=e.get(a):(n=Ry(e.get(Dd),this,i,!0,!1))&&(n=n[0]),!n)return q("XFA - Invalid prototype reference: ".concat(o,".")),null;if(n[Ed]!==this[Ed])return q("XFA - Incompatible prototype: ".concat(n[Ed]," !== ").concat(this[Ed],".")),null;if(t.has(n))return q("XFA - Cycle detected in prototypes use."),null;t.add(n);var s=n[np](e,t);return s&&n[Xy](s,e,t),n[Sd](e,t),t.delete(n),n}},{key:Xy,value:function(e,t,r){if(r.has(e))q("XFA - Cycle detected in prototypes use.");else{!this[UE]&&e[UE]&&(this[UE]=e[UE]),new Set(r).add(e);var A,n=Ky(this[ip](e[up]));try{for(n.s();!(A=n.n()).done;){var i=A.value;this[i]=e[i],this[up]&&this[up].add(i)}}catch(e){n.e(e)}finally{n.f()}var a,o=Ky(Object.getOwnPropertyNames(this));try{for(o.s();!(a=o.n()).done;){var s=a.value;if(!this[zy].has(s)){var c=this[s],g=e[s];if(c instanceof Cp){var u,l=Ky(c[$y]);try{for(l.s();!(u=l.n()).done;)u.value[gp](t,r)}catch(e){l.e(e)}finally{l.f()}for(var h=c[$y].length,I=g[$y].length;h<I;h++){var f=e[$y][h][NE]();if(!c.push(f))break;f[cp]=this,this[$y].push(f),f[gp](t,r)}}else if(null===c){if(null!==g){var C=g[NE]();C[cp]=this,this[s]=C,this[$y].push(C),C[gp](t,r)}}else c[Sd](t,r),g&&c[Xy](g,t,r)}}}catch(e){o.e(e)}finally{o.f()}}}},{key:NE,value:function(){var t,r=Object.create(Object.getPrototypeOf(this)),A=Ky(Object.getOwnPropertySymbols(this));try{for(A.s();!(t=A.n()).done;){var n=t.value;try{r[n]=this[n]}catch(e){_(r,n,this[n])}}}catch(e){A.e(e)}finally{A.f()}r[Yd]="".concat(r[Ed]).concat(hp++),r[$y]=[];var i,a=Ky(Object.getOwnPropertyNames(this));try{for(a.s();!(i=a.n()).done;){var o=i.value;if(this[zy].has(o))r[o]=e[ep](this[o]);else{var s=this[o];r[o]=s instanceof Cp?new Cp(s[op]):null}}}catch(e){a.e(e)}finally{a.f()}var c,g=Ky(this[$y]);try{for(g.s();!(c=g.n()).done;){var u=c.value,l=u[Ed],h=u[NE]();r[$y].push(h),h[cp]=r,null===r[l]?r[l]=h:r[l][$y].push(h)}}catch(e){g.e(e)}finally{g.f()}return r}},{key:VE,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[$y].filter((function(t){return t[Ed]===e})):this[$y]}},{key:qE,value:function(e){return this[e]}},{key:jE,value:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Array.from(this[WE](e,t,r))}},{key:WE,value:function(e,t){var r=this,A=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Oy().mark((function n(){var i,a,o;return Oy().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("parent"!==e){n.next=4;break}return n.next=3,r[cp];case 3:return n.abrupt("return");case 4:i=Ky(r[$y]),n.prev=5,i.s();case 7:if((a=i.n()).done){n.next=19;break}if((o=a.value)[Ed]!==e){n.next=12;break}return n.next=12,o;case 12:if(o.name!==e){n.next=15;break}return n.next=15,o;case 15:if(!t&&!o[fd]()){n.next=17;break}return n.delegateYield(o[WE](e,t,!1),"t0",17);case 17:n.next=7;break;case 19:n.next=24;break;case 21:n.prev=21,n.t1=n.catch(5),i.e(n.t1);case 24:return n.prev=24,i.f(),n.finish(24);case 27:if(!A||!r[zy].has(e)){n.next=30;break}return n.next=30,new Bp(r,e,r[e]);case 30:case"end":return n.stop()}}),n,null,[[5,21,24,27]])}))()}}],[{key:ep,value:function(t){return Array.isArray(t)?t.map((function(t){return e[ep](t)})):"object"==typeof t&&null!==t?Object.assign({},t):t}}])}(),Cp=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0;jy(this,e),this[op]=t,this[$y]=[]}return Zy(e,[{key:"isXFAObject",get:function(){return!1}},{key:"isXFAObjectArray",get:function(){return!0}},{key:"push",value:function(e){return this[$y].length<=this[op]?(this[$y].push(e),!0):(q('XFA - node "'.concat(e[Ed],'" accepts no more than ').concat(this[op]," children")),!1)}},{key:"isEmpty",value:function(){return 0===this[$y].length}},{key:"dump",value:function(){return 1===this[$y].length?this[$y][0][JE]():this[$y].map((function(e){return e[JE]()}))}},{key:NE,value:function(){var t=new e(this[op]);return t[$y]=this[$y].map((function(e){return e[NE]()})),t}},{key:"children",get:function(){return this[$y]}},{key:"clear",value:function(){this[$y].length=0}}])}(),Bp=function(){return Zy((function e(t,r,A){jy(this,e),this[cp]=t,this[Ed]=r,this[UE]=A,this[LE]=!1,this[Yd]="attribute".concat(hp++)}),[{key:td,value:function(){return this[cp]}},{key:gd,value:function(){return!0}},{key:ZE,value:function(){return this[UE].trim()}},{key:Gd,value:function(e){e=e.value||"",this[UE]=e.toString()}},{key:Ld,value:function(){return this[UE]}},{key:ud,value:function(e){return this[cp]===e||this[cp][ud](e)}}])}(),Qp=function(e){function t(e,r){var A,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(jy(this,t),(A=My(this,t,[e,r]))[UE]="",A[tp]=null,"#text"!==r){var i=new Map;A[Vy]=i;for(var a=0,o=Object.entries(n);a<o.length;a++){var s=Uy(o[a],2),c=s[0],g=s[1];i.set(c,new Bp(A,c,g))}if(n.hasOwnProperty(dd)){var u=n[dd].xfa.dataNode;void 0!==u&&("dataGroup"===u?A[tp]=!1:"dataValue"===u&&(A[tp]=!0))}}return A[LE]=!1,A}return Yy(t,fp),Zy(t,[{key:Jd,value:function(e){var t=this[Ed];if("#text"!==t){var r=Ce(t),A=this[Qd]===Ip?"xfa:":"";e.push("<".concat(A).concat(r));var n,i=Ky(this[Vy].entries());try{for(i.s();!(n=i.n()).done;){var a=Uy(n.value,2),o=a[0],s=a[1],c=Ce(o);e.push(" ".concat(c,'="').concat(Yt(s[UE]),'"'))}}catch(e){i.e(e)}finally{i.f()}if(null!==this[tp]&&(this[tp]?e.push(' xfa:dataNode="dataValue"'):e.push(' xfa:dataNode="dataGroup"')),this[UE]||0!==this[$y].length){if(e.push(">"),this[UE])"string"==typeof this[UE]?e.push(Yt(this[UE])):this[UE][Jd](e);else{var g,u=Ky(this[$y]);try{for(u.s();!(g=u.n()).done;)g.value[Jd](e)}catch(e){u.e(e)}finally{u.f()}}e.push("</".concat(A).concat(r,">"))}else e.push("/>")}else e.push(Yt(this[UE]))}},{key:yd,value:function(e){if(this[UE]){var r=new t(this[Qd],"#text");this[SE](r),r[UE]=this[UE],this[UE]=""}return this[SE](e),!0}},{key:vd,value:function(e){this[UE]+=e}},{key:YE,value:function(){if(this[UE]&&this[$y].length>0){var e=new t(this[Qd],"#text");this[SE](e),e[UE]=this[UE],delete this[UE]}}},{key:Md,value:function(){return"#text"===this[Ed]?Ay.success({name:"#text",value:this[UE]}):Ay.EMPTY}},{key:VE,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[$y].filter((function(t){return t[Ed]===e})):this[$y]}},{key:KE,value:function(){return this[Vy]}},{key:qE,value:function(e){var t=this[Vy].get(e);return void 0!==t?t:this[VE](e)}},{key:WE,value:Oy().mark((function(e,t){var r,A,n,i;return Oy().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!(r=this[Vy].get(e))){a.next=4;break}return a.next=4,r;case 4:A=Ky(this[$y]),a.prev=5,A.s();case 7:if((n=A.n()).done){a.next=16;break}if((i=n.value)[Ed]!==e){a.next=12;break}return a.next=12,i;case 12:if(!t){a.next=14;break}return a.delegateYield(i[WE](e,t),"t0",14);case 14:a.next=7;break;case 16:a.next=21;break;case 18:a.prev=18,a.t1=a.catch(5),A.e(a.t1);case 21:return a.prev=21,A.f(),a.finish(21);case 24:case"end":return a.stop()}}),r,this,[[5,18,21,24]])}))},{key:OE,value:Oy().mark((function(e,t){var r,A,n,i;return Oy().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!(r=this[Vy].get(e))||t&&r[LE]){a.next=4;break}return a.next=4,r;case 4:A=Ky(this[$y]),a.prev=5,A.s();case 7:if((n=A.n()).done){a.next=12;break}return i=n.value,a.delegateYield(i[OE](e,t),"t0",10);case 10:a.next=7;break;case 12:a.next=17;break;case 14:a.prev=14,a.t1=a.catch(5),A.e(a.t1);case 17:return a.prev=17,A.f(),a.finish(17);case 20:case"end":return a.stop()}}),r,this,[[5,14,17,20]])}))},{key:XE,value:Oy().mark((function e(t,r,A){var n,i,a;return Oy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=Ky(this[$y]),e.prev=1,n.s();case 3:if((i=n.n()).done){e.next=12;break}if((a=i.value)[Ed]!==t||A&&a[LE]){e.next=8;break}return e.next=8,a;case 8:if(!r){e.next=10;break}return e.delegateYield(a[XE](t,r,A),"t0",10);case 10:e.next=3;break;case 12:e.next=17;break;case 14:e.prev=14,e.t1=e.catch(1),n.e(e.t1);case 17:return e.prev=17,n.f(),e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[1,14,17,20]])}))},{key:gd,value:function(){return null===this[tp]?0===this[$y].length||this[$y][0][Qd]===Od.xhtml.id:this[tp]}},{key:ZE,value:function(){return null===this[tp]?0===this[$y].length?this[UE].trim():this[$y][0][Qd]===Od.xhtml.id?this[$y][0][Ld]().trim():null:this[UE].trim()}},{key:Gd,value:function(e){e=e.value||"",this[UE]=e.toString()}},{key:JE,value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=Object.create(null);e&&(t.$ns=this[Qd]),this[UE]&&(t.$content=this[UE]),t.$name=this[Ed],t.children=[];var r,A=Ky(this[$y]);try{for(A.s();!(r=A.n()).done;){var n=r.value;t.children.push(n[JE](e))}}catch(e){A.e(e)}finally{A.f()}t.attributes=Object.create(null);var i,a=Ky(this[Vy]);try{for(a.s();!(i=a.n()).done;){var o=Uy(i.value,2),s=o[0],c=o[1];t.attributes[s]=c[UE]}}catch(e){a.e(e)}finally{a.f()}return t}}])}(),Ep=function(e){function t(e,r){var A;return jy(this,t),(A=My(this,t,[e,r]))[UE]="",A}return Yy(t,fp),Zy(t,[{key:vd,value:function(e){this[UE]+=e}},{key:YE,value:function(){}}])}(),dp=function(e){function t(e,r,A){var n;return jy(this,t),(n=My(this,t,[e,r]))[sp]=A,n}return Yy(t,Ep),Zy(t,[{key:YE,value:function(){var e=this;this[UE]=zd({data:this[UE],defaultValue:this[sp][0],validate:function(t){return e[sp].includes(t)}})}},{key:xE,value:function(e){Ny(t,xE,this,3)([e]),delete this[sp]}}])}(),yp=function(e){function t(){return jy(this,t),My(this,t,arguments)}return Yy(t,Ep),Zy(t,[{key:YE,value:function(){this[UE]=this[UE].trim()}}])}(),pp=function(e){function t(e,r,A,n){var i;return jy(this,t),(i=My(this,t,[e,r]))[rp]=A,i[lp]=n,i}return Yy(t,Ep),Zy(t,[{key:YE,value:function(){this[UE]=Xd({data:this[UE],defaultValue:this[rp],validate:this[lp]})}},{key:xE,value:function(e){Ny(t,xE,this,3)([e]),delete this[rp],delete this[lp]}}])}(),vp=function(e){function t(e,r){return jy(this,t),My(this,t,[e,r,0,function(e){return 1===e}])}return Yy(t,pp),Zy(t)}(),mp=function(e){function t(e,r){return jy(this,t),My(this,t,[e,r,1,function(e){return 0===e}])}return Yy(t,pp),Zy(t)}();function wp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return bp(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bp(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function kp(e){return"string"==typeof e?"0px":Number.isInteger(e)?"".concat(e,"px"):"".concat(e.toFixed(2),"px")}var Dp={anchorType(e,t){var r=e[ed]();if(r&&(!r.layout||"position"===r.layout))switch("transform"in t||(t.transform=""),e.anchorType){case"bottomCenter":t.transform+="translate(-50%, -100%)";break;case"bottomLeft":t.transform+="translate(0,-100%)";break;case"bottomRight":t.transform+="translate(-100%,-100%)";break;case"middleCenter":t.transform+="translate(-50%,-50%)";break;case"middleLeft":t.transform+="translate(0,-50%)";break;case"middleRight":t.transform+="translate(-100%,-50%)";break;case"topCenter":t.transform+="translate(-50%,0)";break;case"topRight":t.transform+="translate(-100%,0)"}},dimensions(e,t){var r,A=e[ed](),n=e.w,i=e.h;if(null!==(r=A.layout)&&void 0!==r&&r.includes("row")){var a,o=A[HE],s=e.colSpan;-1===s?(a=o.columnWidths.slice(o.currentColumn).reduce((function(e,t){return e+t}),0),o.currentColumn=0):(a=o.columnWidths.slice(o.currentColumn,o.currentColumn+s).reduce((function(e,t){return e+t}),0),o.currentColumn=(o.currentColumn+e.colSpan)%o.columnWidths.length),isNaN(a)||(n=e.w=a)}t.width=""!==n?kp(n):"auto",t.height=""!==i?kp(i):"auto"},position(e,t){var r=e[ed]();null!=r&&r.layout&&"position"!==r.layout||(t.position="absolute",t.left=kp(e.x),t.top=kp(e.y))},rotate(e,t){e.rotate&&("transform"in t||(t.transform=""),t.transform+="rotate(-".concat(e.rotate,"deg)"),t.transformOrigin="top left")},presence(e,t){switch(e.presence){case"invisible":t.visibility="hidden";break;case"hidden":case"inactive":t.display="none"}},hAlign(e,t){if("para"===e[Ed])switch(e.hAlign){case"justifyAll":t.textAlign="justify-all";break;case"radix":t.textAlign="left";break;default:t.textAlign=e.hAlign}else switch(e.hAlign){case"left":t.alignSelf="start";break;case"center":t.alignSelf="center";break;case"right":t.alignSelf="end"}},margin(e,t){e.margin&&(t.margin=e.margin[Hd]().margin)}};function Sp(e,t){"position"===e[ed]().layout&&(e.minW>0&&(t.minWidth=kp(e.minW)),e.maxW>0&&(t.maxWidth=kp(e.maxW)),e.minH>0&&(t.minHeight=kp(e.minH)),e.maxH>0&&(t.maxHeight=kp(e.maxH)))}function Fp(e,t,r,A,n,i){var a=new py(t,r,A,n);return"string"==typeof e?a.addString(e):e[md](a),a.compute(i)}function xp(e,t){var r=null,A=null,n=!1;if((!e.w||!e.h)&&e.value){var i=0,a=0;e.margin&&(i=e.margin.leftInset+e.margin.rightInset,a=e.margin.topInset+e.margin.bottomInset);var o=null,s=null;e.para&&(s=Object.create(null),o=""===e.para.lineHeight?null:e.para.lineHeight,s.top=""===e.para.spaceAbove?0:e.para.spaceAbove,s.bottom=""===e.para.spaceBelow?0:e.para.spaceBelow,s.left=""===e.para.marginLeft?0:e.para.marginLeft,s.right=""===e.para.marginRight?0:e.para.marginRight);var c=e.font;if(!c)for(var g=e[rd](),u=e[td]();u&&u!==g;){if(u.font){c=u.font;break}u=u[td]()}var l=(e.w||t.width)-i,h=e[Ad].fontFinder;if(e.value.exData&&e.value.exData[UE]&&"text/html"===e.value.exData.contentType){var I=Fp(e.value.exData[UE],c,s,o,h,l);A=I.width,r=I.height,n=I.isBroken}else{var f=e.value[Ld]();if(f){var C=Fp(f,c,s,o,h,l);A=C.width,r=C.height,n=C.isBroken}}null===A||e.w||(A+=i),null===r||e.h||(r+=a)}return{w:A,h:r,isBroken:n}}function Rp(e,t,r){var A;if(""!==e.w&&""!==e.h)A=[e.x,e.y,e.w,e.h];else{if(!r)return null;var n=e.w;if(""===n){if(0===e.maxW){var i=e[ed]();n="position"===i.layout&&""!==i.w?0:e.minW}else n=Math.min(e.maxW,r.width);t.attributes.style.width=kp(n)}var a=e.h;if(""===a){if(0===e.maxH){var o=e[ed]();a="position"===o.layout&&""!==o.h?0:e.minH}else a=Math.min(e.maxH,r.height);t.attributes.style.height=kp(a)}A=[e.x,e.y,n,a]}return A}function Gp(e){var t,r=e[ed]();if(null!==(t=r.layout)&&void 0!==t&&t.includes("row")){var A,n=r[HE],i=e.colSpan;A=-1===i?n.columnWidths.slice(n.currentColumn).reduce((function(e,t){return e+t}),0):n.columnWidths.slice(n.currentColumn,n.currentColumn+i).reduce((function(e,t){return e+t}),0),isNaN(A)||(e.w=A)}r.layout&&"position"!==r.layout&&(e.x=e.y=0),"table"===e.layout&&""===e.w&&Array.isArray(e.columnWidths)&&(e.w=e.columnWidths.reduce((function(e,t){return e+t}),0))}function Np(e){switch(e.layout){case"position":default:return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb"}}function Lp(e){for(var t=Object.create(null),r=arguments.length,A=new Array(r>1?r-1:0),n=1;n<r;n++)A[n-1]=arguments[n];for(var i=0,a=A;i<a.length;i++){var o=a[i],s=e[o];if(null!==s)if(Dp.hasOwnProperty(o))Dp[o](e,t);else if(s instanceof fp){var c=s[Hd]();c?Object.assign(t,c):q("(DEBUG) - XFA - style for ".concat(o," not implemented yet"))}}return t}function Up(e,t){var r=t.attributes,A=r.style,n={name:"div",attributes:{class:["xfaWrapper"],style:Object.create(null)},children:[]};if(r.class.push("xfaWrapped"),e.border){var i,a,o=e.border[HE],s=o.widths,c=o.insets,g=c[0],u=c[3],l=c[0]+c[2],h=c[1]+c[3];switch(e.border.hand){case"even":g-=s[0]/2,u-=s[3]/2,i="calc(100% + ".concat((s[1]+s[3])/2-h,"px)"),a="calc(100% + ".concat((s[0]+s[2])/2-l,"px)");break;case"left":g-=s[0],u-=s[3],i="calc(100% + ".concat(s[1]+s[3]-h,"px)"),a="calc(100% + ".concat(s[0]+s[2]-l,"px)");break;case"right":i=h?"calc(100% - ".concat(h,"px)"):"100%",a=l?"calc(100% - ".concat(l,"px)"):"100%"}var I=["xfaBorder"];Hp(e.border)&&I.push("xfaPrintOnly");for(var f={name:"div",attributes:{class:I,style:{top:"".concat(g,"px"),left:"".concat(u,"px"),width:i,height:a}},children:[]},C=0,B=["border","borderWidth","borderColor","borderRadius","borderStyle"];C<B.length;C++){var Q=B[C];void 0!==A[Q]&&(f.attributes.style[Q]=A[Q],delete A[Q])}n.children.push(f,t)}else n.children.push(t);for(var E=0,d=["background","backgroundClip","top","left","width","height","minWidth","minHeight","maxWidth","maxHeight","transform","transformOrigin","visibility"];E<d.length;E++){var y=d[E];void 0!==A[y]&&(n.attributes.style[y]=A[y],delete A[y])}return n.attributes.style.position="absolute"===A.position?"absolute":"relative",delete A.position,A.alignSelf&&(n.attributes.style.alignSelf=A.alignSelf,delete A.alignSelf),n}function Mp(e){var t=ey(e.textIndent,"0px");if(!(t>=0)){var r="padding"+("left"==("right"===e.textAlign?"right":"left")?"Left":"Right"),A=ey(e[r],"0px");e[r]="".concat(A-t,"px")}}function Jp(e,t){switch(e.access){case"nonInteractive":t.push("xfaNonInteractive");break;case"readOnly":t.push("xfaReadOnly");break;case"protected":t.push("xfaDisabled")}}function Hp(e){return e.relevant.length>0&&!e.relevant[0].excluded&&"print"===e.relevant[0].viewname}function Yp(e){var t=e[rd]()[HE].paraStack;return t.length?t.at(-1):null}function Pp(e,t,r){var A;if(null!==(A=r.attributes.class)&&void 0!==A&&A.includes("xfaRich")){t&&(""===e.h&&(t.height="auto"),""===e.w&&(t.width="auto"));var n=Yp(e);if(n){var i=r.attributes.style;switch(i.display="flex",i.flexDirection="column",n.vAlign){case"top":i.justifyContent="start";break;case"bottom":i.justifyContent="end";break;case"middle":i.justifyContent="center"}for(var a=n[Hd](),o=0,s=Object.entries(a);o<s.length;o++){var c=wp(s[o],2),g=c[0],u=c[1];g in i||(i[g]=u)}}}}function Op(e,t,r,A){if(r){var n=_d(e.typeface);A.fontFamily='"'.concat(n,'"');var i=r.find(n);if(i){var a=i.regular.cssFontInfo.fontFamily;a!==n&&(A.fontFamily='"'.concat(a,'"'));var o=Yp(t);if(o&&""!==o.lineHeight)return;if(A.lineHeight)return;var s=uy(e,i);s&&(A.lineHeight=Math.max(1.2,s.lineHeight))}}else delete A.fontFamily}function Kp(e){var t=Z(e,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return t?t.href:null}function Tp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||qp(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qp(e,t){if(e){if("string"==typeof e)return jp(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jp(e,t):void 0}}function jp(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Wp(e,t){return{name:"div",attributes:{class:["lr-tb"===e.layout?"xfaLr":"xfaRl"]},children:t}}function Zp(e){if(!e[HE])return null;var t={name:"div",attributes:e[HE].attributes,children:e[HE].children};if(e[HE].failingNode){var r=e[HE].failingNode[PE]();r&&(e.layout.endsWith("-tb")?t.children.push(Wp(e,[r])):t.children.push(r))}return 0===t.children.length?null:t}function _p(e,t,r){var A=e[HE],n=A.availableSpace,i=Tp(r,4),a=i[0],o=i[1],s=i[2],c=i[3];switch(e.layout){case"position":A.width=Math.max(A.width,a+s),A.height=Math.max(A.height,o+c),A.children.push(t);break;case"lr-tb":case"rl-tb":A.line&&1!==A.attempt||(A.line=Wp(e,[]),A.children.push(A.line),A.numberInLine=0),A.numberInLine+=1,A.line.children.push(t),0===A.attempt?(A.currentWidth+=s,A.height=Math.max(A.height,A.prevHeight+c)):(A.currentWidth=s,A.prevHeight=A.height,A.height+=c,A.attempt=0),A.width=Math.max(A.width,A.currentWidth);break;case"rl-row":case"row":A.children.push(t),A.width+=s,A.height=Math.max(A.height,c);var g,u=kp(A.height),l=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=qp(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(A.children);try{for(l.s();!(g=l.n()).done;)g.value.attributes.style.height=u}catch(e){l.e(e)}finally{l.f()}break;case"table":case"tb":A.width=Math.min(n.width,Math.max(A.width,s)),A.height+=c,A.children.push(t)}}function Xp(e){var t=e[HE].availableSpace,r=e.margin?e.margin.topInset+e.margin.bottomInset:0,A=e.margin?e.margin.leftInset+e.margin.rightInset:0;switch(e.layout){case"lr-tb":case"rl-tb":return 0===e[HE].attempt?{width:t.width-A-e[HE].currentWidth,height:t.height-r-e[HE].prevHeight}:{width:t.width-A,height:t.height-r-e[HE].height};case"rl-row":case"row":return{width:e[HE].columnWidths.slice(e[HE].currentColumn).reduce((function(e,t){return e+t})),height:t.height-A};case"table":case"tb":return{width:t.width-A,height:t.height-r-e[HE].height};default:return t}}function Vp(e,t){var r;if(null===e[rd]()[HE].firstUnsplittable)return!0;if(0===e.w||0===e.h)return!0;var A=e[ed](),n=(null===(r=A[HE])||void 0===r?void 0:r.attempt)||0,i=function(e){var t,r,A=""===e.w?NaN:e.w,n=""===e.h?NaN:e.h,i=0,a=0;switch(e.anchorType||""){case"bottomCenter":i=A/2,a=n;break;case"bottomLeft":i=0,a=n;break;case"bottomRight":i=A,a=n;break;case"middleCenter":i=A/2,a=n/2;break;case"middleLeft":i=0,a=n/2;break;case"middleRight":i=A,a=n/2;break;case"topCenter":i=A/2,a=0;break;case"topRight":i=A,a=0}switch(e.rotate||0){case 0:t=-i,r=-a;break;case 90:t=-a,r=i;var o=[n,-A];A=o[0],n=o[1];break;case 180:t=i,r=a;var s=[-A,-n];A=s[0],n=s[1];break;case 270:t=a,r=-i;var c=[-n,A];A=c[0],n=c[1]}return[e.x+t+Math.min(0,A),e.y+r+Math.min(0,n),Math.abs(A),Math.abs(n)]}(e),a=Tp(i,4),o=a[1],s=a[2],c=a[3];switch(A.layout){case"lr-tb":case"rl-tb":return 0===n?e[rd]()[HE].noLayoutFailure?""!==e.w?Math.round(s-t.width)<=2:t.width>2:!(""!==e.h&&Math.round(c-t.height)>2)&&(""!==e.w?Math.round(s-t.width)<=2||0===A[HE].numberInLine&&t.height>2:t.width>2):!!e[rd]()[HE].noLayoutFailure||!(""!==e.h&&Math.round(c-t.height)>2)&&(""===e.w||Math.round(s-t.width)<=2||!A[Id]())&&t.height>2;case"table":case"tb":return!!e[rd]()[HE].noLayoutFailure||(""===e.h||e[hd]()?(""===e.w||Math.round(s-t.width)<=2||!A[Id]())&&t.height>2:Math.round(c-t.height)<=2);case"position":return!!e[rd]()[HE].noLayoutFailure||""===e.h||Math.round(c+o-t.height)<=2||c+o>e[rd]()[HE].currentContentArea.h;case"rl-row":case"row":return!!e[rd]()[HE].noLayoutFailure||""===e.h||Math.round(c-t.height)<=2;default:return!0}}function zp(e,t,r,A){var n=$p(ov(1&A?e.prototype:e),t,r);return 2&A&&"function"==typeof n?function(e){return n.apply(r,e)}:n}function $p(){return $p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=ov(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},$p.apply(null,arguments)}function ev(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||hv(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tv(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Av(A.key),A)}}function rv(e,t,r){return t&&tv(e.prototype,t),r&&tv(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Av(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function nv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iv(e,t,r){return t=ov(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,av()?Reflect.construct(t,r||[],ov(e).constructor):t.apply(e,r))}function av(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(av=function(){return!!e})()}function ov(e){return ov=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ov(e)}function sv(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cv(e,t)}function cv(e,t){return cv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cv(e,t)}function gv(){gv=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}var uv=gv().mark(vv);function lv(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=hv(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function hv(e,t){if(e){if("string"==typeof e)return Iv(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Iv(e,t):void 0}}function Iv(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var fv=Od.template.id,Cv="http://www.w3.org/2000/svg",Bv=/^H(\\d+)$/,Qv=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),Ev=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function dv(e){if(!e||!e.border)return{w:0,h:0};var t=e.border[_E]();return t?{w:t.widths[0]+t.widths[2]+t.insets[0]+t.insets[2],h:t.widths[1]+t.widths[3]+t.insets[1]+t.insets[3]}:{w:0,h:0}}function yv(e){return e.margin&&(e.margin.topInset||e.margin.rightInset||e.margin.bottomInset||e.margin.leftInset)}function pv(e,t){if(!e.value){var r=new Uw({});e[SE](r),e.value=r}e.value[Gd](t)}function vv(e){var t,r,A;return gv().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=lv(e[VE]()),n.prev=1,t.s();case 3:if((r=t.n()).done){n.next=12;break}if(!((A=r.value)instanceof pw)){n.next=8;break}return n.delegateYield(A[zE](),"t0",7);case 7:return n.abrupt("continue",10);case 8:return n.next=10,A;case 10:n.next=3;break;case 12:n.next=17;break;case 14:n.prev=14,n.t1=n.catch(1),t.e(n.t1);case 17:return n.prev=17,t.f(),n.finish(17);case 20:case"end":return n.stop()}}),uv,null,[[1,14,17,20]])}function mv(e){var t;return"error"===(null===(t=e.validate)||void 0===t?void 0:t.nullTest)}function wv(e){for(;e;){if(!e.traversal)return void(e[Nd]=e[td]()[Nd]);if(e[Nd])return;var t,r=null,A=lv(e.traversal[VE]());try{for(A.s();!(t=A.n()).done;){var n=t.value;if("next"===n.operation){r=n;break}}}catch(e){A.e(e)}finally{A.f()}if(!r||!r.ref)return void(e[Nd]=e[td]()[Nd]);var i=e[rd]();e[Nd]=++i[Nd];var a=i[Fd](r.ref,e);if(!a)return;e=a[0]}}function bv(e,t){var r=e.assist;if(r){var A=r[Md]();A&&(t.title=A);var n=r.role.match(Bv);if(n){var i=n[1];t.role="heading",t["aria-level"]=i}}if("table"===e.layout)t.role="table";else if("row"===e.layout)t.role="row";else{var a,o=e[td]();"row"===o.layout&&(t.role="TH"===(null===(a=o.assist)||void 0===a?void 0:a.role)?"columnheader":"cell")}}function kv(e){if(!e.assist)return null;var t=e.assist;return t.speak&&""!==t.speak[UE]?t.speak[UE]:t.toolTip?t.toolTip[UE]:null}function Dv(e){return Ay.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:e}]})}function Sv(e){var t=e[rd]();null===t[HE].firstUnsplittable&&(t[HE].firstUnsplittable=e,t[HE].noLayoutFailure=!0)}function Fv(e){var t=e[rd]();t[HE].firstUnsplittable===e&&(t[HE].noLayoutFailure=!1)}function xv(e){if(e[HE])return!1;if(e[HE]=Object.create(null),"auto"===e.targetType)return!1;var t=e[rd](),r=null;if(e.target){if(!(r=t[Fd](e.target,e[td]())))return!1;r=r[0]}var A=t[HE],n=A.currentPageArea,i=A.currentContentArea;if("pageArea"===e.targetType)return r instanceof tw||(r=null),e.startNew?(e[HE].target=r||n,!0):!(!r||r===n||(e[HE].target=r,0));r instanceof rm||(r=null);var a,o=r&&r[td](),s=o;if(e.startNew)if(r){var c=o.contentArea.children,g=c.indexOf(i),u=c.indexOf(r);-1!==g&&g<u&&(s=null),a=u-1}else a=n.contentArea.children.indexOf(i);else{if(!r||r===i)return!1;a=o.contentArea.children.indexOf(r)-1,s=o===n?null:o}return e[HE].target=s,e[HE].index=a,!0}function Rv(e,t,r){var A=e[rd](),n=A[HE].noLayoutFailure,i=t[ed];t[ed]=function(){return e},A[HE].noLayoutFailure=!0;var a=t[Md](r);e[DE](a.html,a.bbox),A[HE].noLayoutFailure=n,t[ed]=i}var Gv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"appearanceFilter"])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),Nv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"arc",!0])).circular=Xd({data:e.circular,defaultValue:0,validate:function(e){return 1===e}}),r.hand=$d(e.hand,["even","left","right"]),r.id=e.id||"",r.startAngle=Vd({data:e.startAngle,defaultValue:0,validate:function(e){return!0}}),r.sweepAngle=Vd({data:e.sweepAngle,defaultValue:360,validate:function(e){return!0}}),r.use=e.use||"",r.usehref=e.usehref||"",r.edge=null,r.fill=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(){var e,t,r=this.edge||new hm({}),A=r[Hd](),n=Object.create(null);"visible"===(null===(e=this.fill)||void 0===e?void 0:e.presence)?Object.assign(n,this.fill[Hd]()):n.fill="transparent",n.strokeWidth=kp("visible"===r.presence?r.thickness:0),n.stroke=A.color;var i={xmlns:Cv,style:{width:"100%",height:"100%",overflow:"visible"}};if(360===this.sweepAngle)t={name:"ellipse",attributes:{xmlns:Cv,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:n}};else{var a=this.startAngle*Math.PI/180,o=this.sweepAngle*Math.PI/180,s=this.sweepAngle>180?1:0,c=50*(1+Math.cos(a)),g=50*(1-Math.sin(a)),u=50*(1+Math.cos(a+o)),l=50*(1-Math.sin(a+o));t={name:"path",attributes:{xmlns:Cv,d:"M ".concat(c," ").concat(g," A 50 50 0 ").concat(s," 0 ").concat(u," ").concat(l),vectorEffect:"non-scaling-stroke",style:n}},Object.assign(i,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}var h={name:"svg",children:[t],attributes:i};return yv(this[td]()[td]())?Ay.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[h]}):(h.attributes.style.position="absolute",Ay.success(h))}}])}(),Lv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"area",!0])).colSpan=Xd({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),r.id=e.id||"",r.name=e.name||"",r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.desc=null,r.extras=null,r.area=new Cp,r.draw=new Cp,r.exObject=new Cp,r.exclGroup=new Cp,r.field=new Cp,r.subform=new Cp,r.subformSet=new Cp,r}return sv(t,fp),rv(t,[{key:zE,value:gv().mark((function e(){return gv().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(vv(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:fd,value:function(){return!0}},{key:cd,value:function(){return!0}},{key:DE,value:function(e,t){var r=ev(t,4),A=r[0],n=r[1],i=r[2],a=r[3];this[HE].width=Math.max(this[HE].width,A+i),this[HE].height=Math.max(this[HE].height,n+a),this[HE].children.push(e)}},{key:TE,value:function(){return this[HE].availableSpace}},{key:Md,value:function(e){var t=Lp(this,"position"),r={style:t,id:this[Yd],class:["xfaArea"]};Hp(this)&&r.class.push("xfaPrintOnly"),this.name&&(r.xfaName=this.name);var A=[];this[HE]={children:A,width:0,height:0,availableSpace:e};var n=this[FE]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!n.success)return n.isBreak()?n:(delete this[HE],Ay.FAILURE);t.width=kp(this[HE].width),t.height=kp(this[HE].height);var i={name:"div",attributes:r,children:A},a=[this.x,this.y,this[HE].width,this[HE].height];return delete this[HE],Ay.success(i,a)}}])}(),Uv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"assist",!0])).id=e.id||"",r.role=e.role||"",r.use=e.use||"",r.usehref=e.usehref||"",r.speak=null,r.toolTip=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(){var e;return(null===(e=this.toolTip)||void 0===e?void 0:e[UE])||null}}])}(),Mv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"barcode",!0])).charEncoding=zd({data:e.charEncoding?e.charEncoding.toLowerCase():"",defaultValue:"",validate:function(e){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\\d{2}/)}}),r.checksum=$d(e.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),r.dataColumnCount=Xd({data:e.dataColumnCount,defaultValue:-1,validate:function(e){return e>=0}}),r.dataLength=Xd({data:e.dataLength,defaultValue:-1,validate:function(e){return e>=0}}),r.dataPrep=$d(e.dataPrep,["none","flateCompress"]),r.dataRowCount=Xd({data:e.dataRowCount,defaultValue:-1,validate:function(e){return e>=0}}),r.endChar=e.endChar||"",r.errorCorrectionLevel=Xd({data:e.errorCorrectionLevel,defaultValue:-1,validate:function(e){return e>=0&&e<=8}}),r.id=e.id||"",r.moduleHeight=ey(e.moduleHeight,"5mm"),r.moduleWidth=ey(e.moduleWidth,"0.25mm"),r.printCheckDigit=Xd({data:e.printCheckDigit,defaultValue:0,validate:function(e){return 1===e}}),r.rowColumnRatio=ty(e.rowColumnRatio),r.startChar=e.startChar||"",r.textLocation=$d(e.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),r.truncate=Xd({data:e.truncate,defaultValue:0,validate:function(e){return 1===e}}),r.type=$d(e.type?e.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]),r.upsMode=$d(e.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),r.use=e.use||"",r.usehref=e.usehref||"",r.wideNarrowRatio=ty(e.wideNarrowRatio),r.encrypt=null,r.extras=null,r}return sv(t,fp),rv(t)}(),Jv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"bind",!0])).match=$d(e.match,["once","dataRef","global","none"]),r.ref=e.ref||"",r.picture=null,r}return sv(t,fp),rv(t)}(),Hv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"bindItems"])).connection=e.connection||"",r.labelRef=e.labelRef||"",r.ref=e.ref||"",r.valueRef=e.valueRef||"",r}return sv(t,fp),rv(t)}(),Yv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"bookend"])).id=e.id||"",r.leader=e.leader||"",r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),Pv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"boolean"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,vp),rv(t,[{key:Md,value:function(e){return Dv(1===this[UE]?"1":"0")}}])}(),Ov=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"border",!0])).break=$d(e.break,["close","open"]),r.hand=$d(e.hand,["even","left","right"]),r.id=e.id||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.corner=new Cp(4),r.edge=new Cp(4),r.extras=null,r.fill=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:_E,value:function(){if(!this[HE]){var e=this.edge.children.slice();if(e.length<4)for(var t=e.at(-1)||new hm({}),r=e.length;r<4;r++)e.push(t);var A=e.map((function(e){return e.thickness})),n=[0,0,0,0];this.margin&&(n[0]=this.margin.topInset,n[1]=this.margin.rightInset,n[2]=this.margin.bottomInset,n[3]=this.margin.leftInset),this[HE]={widths:A,insets:n,edges:e}}return this[HE]}},{key:Hd,value:function(){var e,t=this[_E]().edges.map((function(e){var t=e[Hd]();return t.color||(t.color="#000000"),t})),r=Object.create(null);if(this.margin&&Object.assign(r,this.margin[Hd]()),"visible"===(null===(e=this.fill)||void 0===e?void 0:e.presence)&&Object.assign(r,this.fill[Hd]()),this.corner.children.some((function(e){return 0!==e.radius}))){var A=this.corner.children.map((function(e){return e[Hd]()}));if(2===A.length||3===A.length)for(var n=A.at(-1),i=A.length;i<4;i++)A.push(n);r.borderRadius=A.map((function(e){return e.radius})).join(" ")}switch(this.presence){case"invisible":case"hidden":r.borderStyle="";break;case"inactive":r.borderStyle="none";break;default:r.borderStyle=t.map((function(e){return e.style})).join(" ")}return r.borderWidth=t.map((function(e){return e.width})).join(" "),r.borderColor=t.map((function(e){return e.color})).join(" "),r}}])}(),Kv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"break",!0])).after=$d(e.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),r.afterTarget=e.afterTarget||"",r.before=$d(e.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),r.beforeTarget=e.beforeTarget||"",r.bookendLeader=e.bookendLeader||"",r.bookendTrailer=e.bookendTrailer||"",r.id=e.id||"",r.overflowLeader=e.overflowLeader||"",r.overflowTarget=e.overflowTarget||"",r.overflowTrailer=e.overflowTrailer||"",r.startNew=Xd({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t)}(),Tv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"breakAfter",!0])).id=e.id||"",r.leader=e.leader||"",r.startNew=Xd({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),r.target=e.target||"",r.targetType=$d(e.targetType,["auto","contentArea","pageArea"]),r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r.script=null,r}return sv(t,fp),rv(t)}(),qv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"breakBefore",!0])).id=e.id||"",r.leader=e.leader||"",r.startNew=Xd({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),r.target=e.target||"",r.targetType=$d(e.targetType,["auto","contentArea","pageArea"]),r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r.script=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){return this[HE]={},Ay.FAILURE}}])}(),jv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"button",!0])).highlight=$d(e.highlight,["inverted","none","outline","push"]),r.id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r=this[td]()[td](),A={name:"button",attributes:{id:this[Yd],class:["xfaButton"],style:{}},children:[]},n=lv(r.event.children);try{for(n.s();!(t=n.n()).done;){var i=t.value;if("click"===i.activity&&i.script){var a=Kt(i.script[UE]);if(a){var o=Kp(a.url);o&&A.children.push({name:"a",attributes:{id:"link"+this[Yd],href:o,newWindow:a.newWindow,class:["xfaLink"],style:{}},children:[]})}}}}catch(e){n.e(e)}finally{n.f()}return Ay.success(A)}}])}(),Wv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"calculate",!0])).id=e.id||"",r.override=$d(e.override,["disabled","error","ignore","warning"]),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.message=null,r.script=null,r}return sv(t,fp),rv(t)}(),Zv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"caption",!0])).id=e.id||"",r.placement=$d(e.placement,["left","bottom","inline","right","top"]),r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.reserve=Math.ceil(ey(e.reserve)),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.font=null,r.margin=null,r.para=null,r.value=null,r}return sv(t,fp),rv(t,[{key:Gd,value:function(e){pv(this,e)}},{key:_E,value:function(e){if(!this[HE]){var t=e.width,r=e.height;switch(this.placement){case"left":case"right":case"inline":t=this.reserve<=0?t:this.reserve;break;case"top":case"bottom":r=this.reserve<=0?r:this.reserve}this[HE]=xp(this,{width:t,height:r})}return this[HE]}},{key:Md,value:function(e){if(!this.value)return Ay.EMPTY;this[bd]();var t=this.value[Md](e).html;if(!t)return this[wd](),Ay.EMPTY;var r=this.reserve;if(this.reserve<=0){var A=this[_E](e),n=A.w,i=A.h;switch(this.placement){case"left":case"right":case"inline":this.reserve=n;break;case"top":case"bottom":this.reserve=i}}var a=[];"string"==typeof t?a.push({name:"#text",value:t}):a.push(t);var o=Lp(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(o.width=kp(this.reserve));break;case"top":case"bottom":this.reserve>0&&(o.height=kp(this.reserve))}return Pp(this,null,t),this[wd](),this.reserve=r,Ay.success({name:"div",attributes:{style:o,class:["xfaCaption"]},children:a})}}])}(),_v=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"certificate"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),Xv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"certificates",!0])).credentialServerPolicy=$d(e.credentialServerPolicy,["optional","required"]),r.id=e.id||"",r.url=e.url||"",r.urlPolicy=e.urlPolicy||"",r.use=e.use||"",r.usehref=e.usehref||"",r.encryption=null,r.issuers=null,r.keyUsage=null,r.oids=null,r.signing=null,r.subjectDNs=null,r}return sv(t,fp),rv(t)}(),Vv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"checkButton",!0])).id=e.id||"",r.mark=$d(e.mark,["default","check","circle","cross","diamond","square","star"]),r.shape=$d(e.shape,["square","round"]),r.size=ey(e.size,"10pt"),r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r,A,n,i=Lp("margin"),a=kp(this.size);i.width=i.height=a;var o,s,c,g=this[td]()[td](),u=g.items.children.length&&g.items.children[0][Md]().html||[],l={on:(void 0!==u[0]?u[0]:"on").toString(),off:(void 0!==u[1]?u[1]:"off").toString()},h=((null===(t=g.value)||void 0===t?void 0:t[Ld]())||"off")===l.on||void 0,I=g[ed](),f=g[Yd];I instanceof mm?(n=I[Yd],r="radio",A="xfaRadio",o=(null===(s=I[ME])||void 0===s?void 0:s[Yd])||I[Yd]):(r="checkbox",A="xfaCheckbox",o=(null===(c=g[ME])||void 0===c?void 0:c[Yd])||g[Yd]);var C={name:"input",attributes:{class:[A],style:i,fieldId:f,dataId:o,type:r,checked:h,xfaOn:l.on,xfaOff:l.off,"aria-label":kv(g),"aria-required":!1}};return n&&(C.attributes.name=n),mv(g)&&(C.attributes["aria-required"]=!0,C.attributes.required=!0),Ay.success({name:"label",attributes:{class:["xfaLabel"]},children:[C]})}}])}(),zv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"choiceList",!0])).commitOn=$d(e.commitOn,["select","exit"]),r.id=e.id||"",r.open=$d(e.open,["userControl","always","multiSelect","onEntry"]),r.textEntry=Xd({data:e.textEntry,defaultValue:0,validate:function(e){return 1===e}}),r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r,A=Lp(this,"border","margin"),n=this[td]()[td](),i=(null===(t=n.font)||void 0===t?void 0:t.size)||10,a={fontSize:"calc(".concat(i,"px * var(--scale-factor))")},o=[];if(n.items.children.length>0){var s,c=n.items,g=0,u=0;2===c.children.length&&(u=1-(g=c.children[0].save));for(var l=c.children[g][Md]().html,h=c.children[u][Md]().html,I=!1,f=(null===(s=n.value)||void 0===s?void 0:s[Ld]())||"",C=0,B=l.length;C<B;C++){var Q={name:"option",attributes:{value:h[C]||l[C],style:a},value:l[C]};h[C]===f&&(Q.attributes.selected=I=!0),o.push(Q)}I||o.splice(0,0,{name:"option",attributes:{hidden:!0,selected:!0},value:" "})}var E={class:["xfaSelect"],fieldId:n[Yd],dataId:(null===(r=n[ME])||void 0===r?void 0:r[Yd])||n[Yd],style:A,"aria-label":kv(n),"aria-required":!1};return mv(n)&&(E["aria-required"]=!0,E.required=!0),"multiSelect"===this.open&&(E.multiple=!0),Ay.success({name:"label",attributes:{class:["xfaLabel"]},children:[{name:"select",children:o,attributes:E}]})}}])}(),$v=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"color",!0])).cSpace=$d(e.cSpace,["SRGB"]),r.id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.value=e.value?function(e){var t=qd(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0],3),r=t[0],A=t[1],n=t[2];if(!e)return{r,g:A,b:n};var i=e.trim().split(/\\s*,\\s*/).map((function(e){return Math.min(Math.max(0,parseInt(e.trim(),10)),255)})).map((function(e){return isNaN(e)?0:e}));if(i.length<3)return{r,g:A,b:n};var a=qd(i,3);return{r:r=a[0],g:A=a[1],b:n=a[2]}}(e.value):"",r.extras=null,r}return sv(t,fp),rv(t,[{key:nd,value:function(){return!1}},{key:Hd,value:function(){return this.value?ge.makeHexColor(this.value.r,this.value.g,this.value.b):null}}])}(),em=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"comb"])).id=e.id||"",r.numberOfCells=Xd({data:e.numberOfCells,defaultValue:0,validate:function(e){return e>=0}}),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),tm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"connect",!0])).connection=e.connection||"",r.id=e.id||"",r.ref=e.ref||"",r.usage=$d(e.usage,["exportAndImport","exportOnly","importOnly"]),r.use=e.use||"",r.usehref=e.usehref||"",r.picture=null,r}return sv(t,fp),rv(t)}(),rm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"contentArea",!0])).h=ey(e.h),r.id=e.id||"",r.name=e.name||"",r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.w=ey(e.w),r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.desc=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t={left:kp(this.x),top:kp(this.y),width:kp(this.w),height:kp(this.h)},r=["xfaContentarea"];return Hp(this)&&r.push("xfaPrintOnly"),Ay.success({name:"div",children:[],attributes:{style:t,class:r,id:this[Yd]}})}}])}(),Am=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"corner",!0])).id=e.id||"",r.inverted=Xd({data:e.inverted,defaultValue:0,validate:function(e){return 1===e}}),r.join=$d(e.join,["square","round"]),r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.radius=ey(e.radius),r.stroke=$d(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),r.thickness=ey(e.thickness,"0.5pt"),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(){var e=Lp(this,"visibility");return e.radius=kp("square"===this.join?0:this.radius),e}}])}(),nm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"date"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){var e=this[UE].trim();this[UE]=e?new Date(e):null}},{key:Md,value:function(e){return Dv(this[UE]?this[UE].toString():"")}}])}(),im=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"dateTime"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){var e=this[UE].trim();this[UE]=e?new Date(e):null}},{key:Md,value:function(e){return Dv(this[UE]?this[UE].toString():"")}}])}(),am=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"dateTimeEdit",!0])).hScrollPolicy=$d(e.hScrollPolicy,["auto","off","on"]),r.id=e.id||"",r.picker=$d(e.picker,["host","none"]),r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.comb=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r=Lp(this,"border","font","margin"),A=this[td]()[td](),n={name:"input",attributes:{type:"text",fieldId:A[Yd],dataId:(null===(t=A[ME])||void 0===t?void 0:t[Yd])||A[Yd],class:["xfaTextfield"],style:r,"aria-label":kv(A),"aria-required":!1}};return mv(A)&&(n.attributes["aria-required"]=!0,n.attributes.required=!0),Ay.success({name:"label",attributes:{class:["xfaLabel"]},children:[n]})}}])}(),om=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"decimal"])).fracDigits=Xd({data:e.fracDigits,defaultValue:2,validate:function(e){return!0}}),r.id=e.id||"",r.leadDigits=Xd({data:e.leadDigits,defaultValue:-1,validate:function(e){return!0}}),r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){var e=parseFloat(this[UE].trim());this[UE]=isNaN(e)?null:e}},{key:Md,value:function(e){return Dv(null!==this[UE]?this[UE].toString():"")}}])}(),sm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"defaultUi",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t)}(),cm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"desc",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new Cp,r.date=new Cp,r.dateTime=new Cp,r.decimal=new Cp,r.exData=new Cp,r.float=new Cp,r.image=new Cp,r.integer=new Cp,r.text=new Cp,r.time=new Cp,r}return sv(t,fp),rv(t)}(),gm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,dp),rv(t)}(),um=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"digestMethods",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.digestMethod=new Cp,r}return sv(t,fp),rv(t)}(),lm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"draw",!0])).anchorType=$d(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=Xd({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),r.h=e.h?ey(e.h):"",r.hAlign=$d(e.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=e.id||"",r.locale=e.locale||"",r.maxH=ey(e.maxH,"0pt"),r.maxW=ey(e.maxW,"0pt"),r.minH=ey(e.minH,"0pt"),r.minW=ey(e.minW,"0pt"),r.name=e.name||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.relevant=ry(e.relevant),r.rotate=Xd({data:e.rotate,defaultValue:0,validate:function(e){return e%90==0}}),r.use=e.use||"",r.usehref=e.usehref||"",r.w=e.w?ey(e.w):"",r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.assist=null,r.border=null,r.caption=null,r.desc=null,r.extras=null,r.font=null,r.keep=null,r.margin=null,r.para=null,r.traversal=null,r.ui=null,r.value=null,r.setProperty=new Cp,r}return sv(t,fp),rv(t,[{key:Gd,value:function(e){pv(this,e)}},{key:Md,value:function(e){if(wv(this),"hidden"===this.presence||"inactive"===this.presence)return Ay.EMPTY;Gp(this),this[bd]();var t=this.w,r=this.h,A=xp(this,e),n=A.w,i=A.h,a=A.isBroken;if(n&&""===this.w){if(a&&this[ed]()[Id]())return this[wd](),Ay.FAILURE;this.w=n}if(i&&""===this.h&&(this.h=i),Sv(this),!Vp(this,e))return this.w=t,this.h=r,this[wd](),Ay.FAILURE;Fv(this);var o=Lp(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");Sp(this,o),o.margin&&(o.padding=o.margin,delete o.margin);var s=["xfaDraw"];this.font&&s.push("xfaFont"),Hp(this)&&s.push("xfaPrintOnly");var c={style:o,id:this[Yd],class:s};this.name&&(c.xfaName=this.name);var g={name:"div",attributes:c,children:[]};bv(this,c);var u=Rp(this,g,e),l=this.value?this.value[Md](e).html:null;return null===l?(this.w=t,this.h=r,this[wd](),Ay.success(Up(this,g),u)):(g.children.push(l),Pp(this,o,l),this.w=t,this.h=r,this[wd](),Ay.success(Up(this,g),u))}}])}(),hm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"edge",!0])).cap=$d(e.cap,["square","butt","round"]),r.id=e.id||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.stroke=$d(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),r.thickness=ey(e.thickness,"0.5pt"),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(){var e=Lp(this,"visibility");if(Object.assign(e,{linecap:this.cap,width:kp(this.thickness),color:this.color?this.color[Hd]():"#000000",style:""}),"visible"!==this.presence)e.style="none";else switch(this.stroke){case"solid":e.style="solid";break;case"dashDot":case"dashDotDot":case"dashed":e.style="dashed";break;case"dotted":e.style="dotted";break;case"embossed":e.style="ridge";break;case"etched":e.style="groove";break;case"lowered":e.style="inset";break;case"raised":e.style="outset"}return e}}])}(),Im=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,dp),rv(t)}(),fm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encodings",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.encoding=new Cp,r}return sv(t,fp),rv(t)}(),Cm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encrypt",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=null,r}return sv(t,fp),rv(t)}(),Bm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encryptData",!0])).id=e.id||"",r.operation=$d(e.operation,["encrypt","decrypt"]),r.target=e.target||"",r.use=e.use||"",r.usehref=e.usehref||"",r.filter=null,r.manifest=null,r}return sv(t,fp),rv(t)}(),Qm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encryption",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new Cp,r}return sv(t,fp),rv(t)}(),Em=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,dp),rv(t)}(),dm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encryptionMethods",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.encryptionMethod=new Cp,r}return sv(t,fp),rv(t)}(),ym=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"event",!0])).activity=$d(e.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]),r.id=e.id||"",r.listen=$d(e.listen,["refOnly","refAndDescendents"]),r.name=e.name||"",r.ref=e.ref||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.encryptData=null,r.execute=null,r.script=null,r.signData=null,r.submit=null,r}return sv(t,fp),rv(t)}(),pm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"exData"])).contentType=e.contentType||"",r.href=e.href||"",r.id=e.id||"",r.maxLength=Xd({data:e.maxLength,defaultValue:-1,validate:function(e){return e>=-1}}),r.name=e.name||"",r.rid=e.rid||"",r.transferEncoding=$d(e.transferEncoding,["none","base64","package"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:sd,value:function(){return"text/html"===this.contentType}},{key:yd,value:function(e){return("text/html"===this.contentType&&e[Qd]===Od.xhtml.id||"text/xml"===this.contentType)&&(this[UE]=e,!0)}},{key:Md,value:function(e){return"text/html"===this.contentType&&this[UE]?this[UE][Md](e):Ay.EMPTY}}])}(),vm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"exObject",!0])).archive=e.archive||"",r.classId=e.classId||"",r.codeBase=e.codeBase||"",r.codeType=e.codeType||"",r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.boolean=new Cp,r.date=new Cp,r.dateTime=new Cp,r.decimal=new Cp,r.exData=new Cp,r.exObject=new Cp,r.float=new Cp,r.image=new Cp,r.integer=new Cp,r.text=new Cp,r.time=new Cp,r}return sv(t,fp),rv(t)}(),mm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"exclGroup",!0])).access=$d(e.access,["open","nonInteractive","protected","readOnly"]),r.accessKey=e.accessKey||"",r.anchorType=$d(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=Xd({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),r.h=e.h?ey(e.h):"",r.hAlign=$d(e.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=e.id||"",r.layout=$d(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),r.maxH=ey(e.maxH,"0pt"),r.maxW=ey(e.maxW,"0pt"),r.minH=ey(e.minH,"0pt"),r.minW=ey(e.minW,"0pt"),r.name=e.name||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.w=e.w?ey(e.w):"",r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.assist=null,r.bind=null,r.border=null,r.calculate=null,r.caption=null,r.desc=null,r.extras=null,r.margin=null,r.para=null,r.traversal=null,r.validate=null,r.connect=new Cp,r.event=new Cp,r.field=new Cp,r.setProperty=new Cp,r}return sv(t,fp),rv(t,[{key:cd,value:function(){return!0}},{key:nd,value:function(){return!0}},{key:Gd,value:function(e){var t,r=lv(this.field.children);try{for(r.s();!(t=r.n()).done;){var A=t.value;if(!A.value){var n=new Uw({});A[SE](n),A.value=n}A.value[Gd](e)}}catch(e){r.e(e)}finally{r.f()}}},{key:Id,value:function(){return this.layout.endsWith("-tb")&&0===this[HE].attempt&&this[HE].numberInLine>0||this[td]()[Id]()}},{key:hd,value:function(){var e,t=this[ed]();return!!t[hd]()&&(void 0!==this[HE]._isSplittable?this[HE]._isSplittable:"position"===this.layout||this.layout.includes("row")?(this[HE]._isSplittable=!1,!1):!(null!==(e=t.layout)&&void 0!==e&&e.endsWith("-tb")&&0!==t[HE].numberInLine||(this[HE]._isSplittable=!0,0)))}},{key:PE,value:function(){return Zp(this)}},{key:DE,value:function(e,t){_p(this,e,t)}},{key:TE,value:function(){return Xp(this)}},{key:Md,value:function(e){if(wv(this),"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return Ay.EMPTY;Gp(this);var t=[],r={id:this[Yd],class:[]};Jp(this,r.class),this[HE]||(this[HE]=Object.create(null)),Object.assign(this[HE],{children:t,attributes:r,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});var A=this[hd]();if(A||Sv(this),!Vp(this,e))return Ay.FAILURE;var n=new Set(["field"]);if(this.layout.includes("row")){var i=this[ed]().columnWidths;Array.isArray(i)&&i.length>0&&(this[HE].columnWidths=i,this[HE].currentColumn=0)}var a=Lp(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),o=["xfaExclgroup"],s=Np(this);s&&o.push(s),Hp(this)&&o.push("xfaPrintOnly"),r.style=a,r.class=o,this.name&&(r.xfaName=this.name),this[bd]();for(var c="lr-tb"===this.layout||"rl-tb"===this.layout,g=c?2:1;this[HE].attempt<g;this[HE].attempt++){c&&1===this[HE].attempt&&(this[HE].numberInLine=0);var u=this[FE]({filter:n,include:!0});if(u.success)break;if(u.isBreak())return this[wd](),u;if(c&&0===this[HE].attempt&&0===this[HE].numberInLine&&!this[rd]()[HE].noLayoutFailure){this[HE].attempt=g;break}}if(this[wd](),A||Fv(this),this[HE].attempt===g)return A||delete this[HE],Ay.FAILURE;var l=0,h=0;this.margin&&(l=this.margin.leftInset+this.margin.rightInset,h=this.margin.topInset+this.margin.bottomInset);var I=Math.max(this[HE].width+l,this.w||0),f=Math.max(this[HE].height+h,this.h||0),C=[this.x,this.y,I,f];""===this.w&&(a.width=kp(I)),""===this.h&&(a.height=kp(f));var B={name:"div",attributes:r,children:t};return bv(this,r),delete this[HE],Ay.success(Up(this,B),C)}}])}(),wm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"execute"])).connection=e.connection||"",r.executeType=$d(e.executeType,["import","remerge"]),r.id=e.id||"",r.runAt=$d(e.runAt,["client","both","server"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),bm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"extras",!0])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new Cp,r.date=new Cp,r.dateTime=new Cp,r.decimal=new Cp,r.exData=new Cp,r.extras=new Cp,r.float=new Cp,r.image=new Cp,r.integer=new Cp,r.text=new Cp,r.time=new Cp,r}return sv(t,fp),rv(t)}(),km=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"field",!0])).access=$d(e.access,["open","nonInteractive","protected","readOnly"]),r.accessKey=e.accessKey||"",r.anchorType=$d(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=Xd({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),r.h=e.h?ey(e.h):"",r.hAlign=$d(e.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=e.id||"",r.locale=e.locale||"",r.maxH=ey(e.maxH,"0pt"),r.maxW=ey(e.maxW,"0pt"),r.minH=ey(e.minH,"0pt"),r.minW=ey(e.minW,"0pt"),r.name=e.name||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.relevant=ry(e.relevant),r.rotate=Xd({data:e.rotate,defaultValue:0,validate:function(e){return e%90==0}}),r.use=e.use||"",r.usehref=e.usehref||"",r.w=e.w?ey(e.w):"",r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.assist=null,r.bind=null,r.border=null,r.calculate=null,r.caption=null,r.desc=null,r.extras=null,r.font=null,r.format=null,r.items=new Cp(2),r.keep=null,r.margin=null,r.para=null,r.traversal=null,r.ui=null,r.validate=null,r.value=null,r.bindItems=new Cp,r.connect=new Cp,r.event=new Cp,r.setProperty=new Cp,r}return sv(t,fp),rv(t,[{key:cd,value:function(){return!0}},{key:Gd,value:function(e){pv(this,e)}},{key:Md,value:function(e){var t;if(wv(this),!this.ui){var r;switch(this.ui=new Nw({}),this.ui[Ad]=this[Ad],this[SE](this.ui),this.items.children.length){case 0:r=new Dw({}),this.ui.textEdit=r;break;case 1:r=new Vv({}),this.ui.checkButton=r;break;case 2:r=new zv({}),this.ui.choiceList=r}this.ui[SE](r)}if(!this.ui||"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return Ay.EMPTY;this.caption&&delete this.caption[HE],this[bd]();var A=this.caption?this.caption[Md](e).html:null,n=this.w,i=this.h,a=0,o=0;this.margin&&(a=this.margin.leftInset+this.margin.rightInset,o=this.margin.topInset+this.margin.bottomInset);var s=null;if(""===this.w||""===this.h){var c=null,g=null,u=0,l=0;if(this.ui.checkButton)u=l=this.ui.checkButton.size;else{var h=xp(this,e),I=h.w,f=h.h;null!==I?(u=I,l=f):l=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=null;if(e){var A=_d(e.typeface),n=e[Ad].fontFinder.find(A);r=uy(e,n)}if(!r)return{lineHeight:12,lineGap:2,lineNoGap:10};var i=e.size||10,a=r.lineHeight?Math.max(t?0:1.2,r.lineHeight):1.2,o=void 0===r.lineGap?.2:r.lineGap;return{lineHeight:a*i,lineGap:o*i,lineNoGap:Math.max(1,a-o)*i}}(this.font,!0).lineNoGap}if(u+=(s=dv(this.ui[_E]())).w,l+=s.h,this.caption){var C=this.caption[_E](e),B=C.w,Q=C.h;if(C.isBroken&&this[ed]()[Id]())return this[wd](),Ay.FAILURE;switch(c=B,g=Q,this.caption.placement){case"left":case"right":case"inline":c+=u;break;case"top":case"bottom":g+=l}}else c=u,g=l;c&&""===this.w&&(c+=a,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1<c?c:this.minW)),g&&""===this.h&&(g+=o,this.h=Math.min(this.maxH<=0?1/0:this.maxH,this.minH+1<g?g:this.minH))}if(this[wd](),Gp(this),Sv(this),!Vp(this,e))return this.w=n,this.h=i,this[wd](),Ay.FAILURE;Fv(this);var E=Lp(this,"font","dimensions","position","rotate","anchorType","presence","margin","hAlign");Sp(this,E);var d=["xfaField"];this.font&&d.push("xfaFont"),Hp(this)&&d.push("xfaPrintOnly");var y={style:E,id:this[Yd],class:d};E.margin&&(E.padding=E.margin,delete E.margin),Jp(this,d),this.name&&(y.xfaName=this.name);var p=[],v={name:"div",attributes:y,children:p};bv(this,y);var m,w=this.border?this.border[Hd]():null,b=Rp(this,v,e),k=this.ui[Md]().html;if(!k)return Object.assign(E,w),Ay.success(Up(this,v),b);this[Nd]&&(null!==(m=k.children)&&void 0!==m&&m[0]?k.children[0].attributes.tabindex=this[Nd]:k.attributes.tabindex=this[Nd]),k.attributes.style||(k.attributes.style=Object.create(null));var D=null;if(this.ui.button?(1===k.children.length&&(D=ev(k.children.splice(0,1),1)[0]),Object.assign(k.attributes.style,w)):Object.assign(E,w),p.push(k),this.value)if(this.ui.imageEdit)k.children.push(this.value[Md]().html);else if(!this.ui.button){var S,F="";if(this.value.exData)F=this.value.exData[Ld]();else if(this.value.text)F=this.value.text[_E]();else{var x=this.value[Md]().html;null!==x&&(F=x.children[0].value)}this.ui.textEdit&&null!==(S=this.value.text)&&void 0!==S&&S.maxChars&&(k.children[0].attributes.maxLength=this.value.text.maxChars),F&&(this.ui.numericEdit&&(F=parseFloat(F),F=isNaN(F)?"":F.toString()),"textarea"===k.children[0].name?k.children[0].attributes.textContent=F:k.children[0].attributes.value=F)}if(!this.ui.imageEdit&&null!==(t=k.children)&&void 0!==t&&t[0]&&this.h){s=s||dv(this.ui[_E]());var R=0;if(this.caption&&["top","bottom"].includes(this.caption.placement)){(R=this.caption.reserve)<=0&&(R=this.caption[_E](e).h);var G=this.h-R-o-s.h;k.children[0].attributes.style.height=kp(G)}else k.children[0].attributes.style.height="100%"}if(D&&k.children.push(D),!A)return k.attributes.class&&k.attributes.class.push("xfaLeft"),this.w=n,this.h=i,Ay.success(Up(this,v),b);if(this.ui.button)return E.padding&&delete E.padding,"div"===A.name&&(A.name="span"),k.children.push(A),Ay.success(v,b);switch(this.ui.checkButton&&(A.attributes.class[0]="xfaCaptionForCheckButton"),k.attributes.class||(k.attributes.class=[]),k.children.splice(0,0,A),this.caption.placement){case"left":case"inline":k.attributes.class.push("xfaLeft");break;case"right":k.attributes.class.push("xfaRight");break;case"top":k.attributes.class.push("xfaTop");break;case"bottom":k.attributes.class.push("xfaBottom")}return this.w=n,this.h=i,Ay.success(Up(this,v),b)}}])}(),Dm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"fill",!0])).id=e.id||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r.linear=null,r.pattern=null,r.radial=null,r.solid=null,r.stipple=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(){var e,t=this[td](),r=t[td]()[td](),A=Object.create(null),n="color",i=n;t instanceof Ov&&(n="background-color",i="background",r instanceof Nw&&(A.backgroundColor="white")),(t instanceof uw||t instanceof Nv)&&(n=i="fill",A.fill="white");var a,o=lv(Object.getOwnPropertyNames(this));try{for(o.s();!(a=o.n()).done;){var s=a.value;if("extras"!==s&&"color"!==s){var c=this[s];if(c instanceof fp){var g=c[Hd](this.color);return g&&(A[g.startsWith("#")?n:i]=g),A}}}}catch(e){o.e(e)}finally{o.f()}if(null!==(e=this.color)&&void 0!==e&&e.value){var u=this.color[Hd]();A[u.startsWith("#")?n:i]=u}return A}}])}(),Sm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"filter",!0])).addRevocationInfo=$d(e.addRevocationInfo,["","required","optional","none"]),r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.version=Xd({data:r.version,defaultValue:5,validate:function(e){return e>=1&&e<=5}}),r.appearanceFilter=null,r.certificates=null,r.digestMethods=null,r.encodings=null,r.encryptionMethods=null,r.handler=null,r.lockDocument=null,r.mdp=null,r.reasons=null,r.timeStamp=null,r}return sv(t,fp),rv(t)}(),Fm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"float"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){var e=parseFloat(this[UE].trim());this[UE]=isNaN(e)?null:e}},{key:Md,value:function(e){return Dv(null!==this[UE]?this[UE].toString():"")}}])}(),xm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"font",!0])).baselineShift=ey(e.baselineShift),r.fontHorizontalScale=Vd({data:e.fontHorizontalScale,defaultValue:100,validate:function(e){return e>=0}}),r.fontVerticalScale=Vd({data:e.fontVerticalScale,defaultValue:100,validate:function(e){return e>=0}}),r.id=e.id||"",r.kerningMode=$d(e.kerningMode,["none","pair"]),r.letterSpacing=ey(e.letterSpacing,"0"),r.lineThrough=Xd({data:e.lineThrough,defaultValue:0,validate:function(e){return 1===e||2===e}}),r.lineThroughPeriod=$d(e.lineThroughPeriod,["all","word"]),r.overline=Xd({data:e.overline,defaultValue:0,validate:function(e){return 1===e||2===e}}),r.overlinePeriod=$d(e.overlinePeriod,["all","word"]),r.posture=$d(e.posture,["normal","italic"]),r.size=ey(e.size,"10pt"),r.typeface=e.typeface||"Courier",r.underline=Xd({data:e.underline,defaultValue:0,validate:function(e){return 1===e||2===e}}),r.underlinePeriod=$d(e.underlinePeriod,["all","word"]),r.use=e.use||"",r.usehref=e.usehref||"",r.weight=$d(e.weight,["normal","bold"]),r.extras=null,r.fill=null,r}return sv(t,fp),rv(t,[{key:xE,value:function(e){zp(t,xE,this,3)([e]),this[Ad].usedTypefaces.add(this.typeface)}},{key:Hd,value:function(){var e=Lp(this,"fill"),t=e.color;return t&&("#000000"===t?delete e.color:t.startsWith("#")||(e.background=t,e.backgroundClip="text",e.color="transparent")),this.baselineShift&&(e.verticalAlign=kp(this.baselineShift)),e.fontKerning="none"===this.kerningMode?"none":"normal",e.letterSpacing=kp(this.letterSpacing),0!==this.lineThrough&&(e.textDecoration="line-through",2===this.lineThrough&&(e.textDecorationStyle="double")),0!==this.overline&&(e.textDecoration="overline",2===this.overline&&(e.textDecorationStyle="double")),e.fontStyle=this.posture,e.fontSize=kp(.99*this.size),Op(this,this,this[Ad].fontFinder,e),0!==this.underline&&(e.textDecoration="underline",2===this.underline&&(e.textDecorationStyle="double")),e.fontWeight=this.weight,e}}])}(),Rm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"format",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.picture=null,r}return sv(t,fp),rv(t)}(),Gm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"handler"])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),Nm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"hyphenation"])).excludeAllCaps=Xd({data:e.excludeAllCaps,defaultValue:0,validate:function(e){return 1===e}}),r.excludeInitialCap=Xd({data:e.excludeInitialCap,defaultValue:0,validate:function(e){return 1===e}}),r.hyphenate=Xd({data:e.hyphenate,defaultValue:0,validate:function(e){return 1===e}}),r.id=e.id||"",r.pushCharacterCount=Xd({data:e.pushCharacterCount,defaultValue:3,validate:function(e){return e>=0}}),r.remainCharacterCount=Xd({data:e.remainCharacterCount,defaultValue:3,validate:function(e){return e>=0}}),r.use=e.use||"",r.usehref=e.usehref||"",r.wordCharacterCount=Xd({data:e.wordCharacterCount,defaultValue:7,validate:function(e){return e>=0}}),r}return sv(t,fp),rv(t)}(),Lm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"image"])).aspect=$d(e.aspect,["fit","actual","height","none","width"]),r.contentType=e.contentType||"",r.href=e.href||"",r.id=e.id||"",r.name=e.name||"",r.transferEncoding=$d(e.transferEncoding,["base64","none","package"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t,[{key:Md,value:function(){if(this.contentType&&!Qv.has(this.contentType.toLowerCase()))return Ay.EMPTY;var e=this[Ad].images&&this[Ad].images.get(this.href);if(!e&&(this.href||!this[UE]))return Ay.EMPTY;if(e||"base64"!==this.transferEncoding||(e=ie(atob(this[UE]))),!e)return Ay.EMPTY;if(!this.contentType){for(var t=0,r=Ev;t<r.length;t++){var A=ev(r[t],2),n=A[0],i=A[1];if(e.length>n.length&&n.every((function(t,r){return t===e[r]}))){this.contentType=i;break}}if(!this.contentType)return Ay.EMPTY}var a,o=new Blob([e],{type:this.contentType});switch(this.aspect){case"fit":case"actual":break;case"height":a={height:"100%",objectFit:"fill"};break;case"none":a={width:"100%",height:"100%",objectFit:"fill"};break;case"width":a={width:"100%",objectFit:"fill"}}var s=this[td]();return Ay.success({name:"img",attributes:{class:["xfaImage"],style:a,src:URL.createObjectURL(o),alt:s?kv(s[td]()):null}})}}])}(),Um=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"imageEdit",!0])).data=$d(e.data,["link","embed"]),r.id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){return"embed"===this.data?Ay.success({name:"div",children:[],attributes:{}}):Ay.EMPTY}}])}(),Mm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"integer"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){var e=parseInt(this[UE].trim(),10);this[UE]=isNaN(e)?null:e}},{key:Md,value:function(e){return Dv(null!==this[UE]?this[UE].toString():"")}}])}(),Jm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"issuers",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new Cp,r}return sv(t,fp),rv(t)}(),Hm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"items",!0])).id=e.id||"",r.name=e.name||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.ref=e.ref||"",r.save=Xd({data:e.save,defaultValue:0,validate:function(e){return 1===e}}),r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new Cp,r.date=new Cp,r.dateTime=new Cp,r.decimal=new Cp,r.exData=new Cp,r.float=new Cp,r.image=new Cp,r.integer=new Cp,r.text=new Cp,r.time=new Cp,r}return sv(t,fp),rv(t,[{key:Md,value:function(){var e,t=[],r=lv(this[VE]());try{for(r.s();!(e=r.n()).done;){var A=e.value;t.push(A[Ld]())}}catch(e){r.e(e)}finally{r.f()}return Ay.success(t)}}])}(),Ym=function(e){function t(e){var r;nv(this,t),(r=iv(this,t,[fv,"keep",!0])).id=e.id||"";var A=["none","contentArea","pageArea"];return r.intact=$d(e.intact,A),r.next=$d(e.next,A),r.previous=$d(e.previous,A),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t)}(),Pm=function(e){function t(e){var r;nv(this,t);var A=["","yes","no"];return(r=iv(this,t,[fv,"keyUsage"])).crlSign=$d(e.crlSign,A),r.dataEncipherment=$d(e.dataEncipherment,A),r.decipherOnly=$d(e.decipherOnly,A),r.digitalSignature=$d(e.digitalSignature,A),r.encipherOnly=$d(e.encipherOnly,A),r.id=e.id||"",r.keyAgreement=$d(e.keyAgreement,A),r.keyCertSign=$d(e.keyCertSign,A),r.keyEncipherment=$d(e.keyEncipherment,A),r.nonRepudiation=$d(e.nonRepudiation,A),r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),Om=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"line",!0])).hand=$d(e.hand,["even","left","right"]),r.id=e.id||"",r.slope=$d(e.slope,["\\\\","/"]),r.use=e.use||"",r.usehref=e.usehref||"",r.edge=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(){var e,t,r,A,n=this[td]()[td](),i=this.edge||new hm({}),a=i[Hd](),o=Object.create(null),s="visible"===i.presence?i.thickness:0;o.strokeWidth=kp(s),o.stroke=a.color;var c="100%",g="100%";n.w<=s?(e="50%",t=0,r="50%",A="100%",c=o.strokeWidth):n.h<=s?(e=0,t="50%",r="100%",A="50%",g=o.strokeWidth):"\\\\"===this.slope?(e=0,t=0,r="100%",A="100%"):(e=0,t="100%",r="100%",A=0);var u={name:"svg",children:[{name:"line",attributes:{xmlns:Cv,x1:e,y1:t,x2:r,y2:A,style:o}}],attributes:{xmlns:Cv,width:c,height:g,style:{overflow:"visible"}}};return yv(n)?Ay.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[u]}):(u.attributes.style.position="absolute",Ay.success(u))}}])}(),Km=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"linear",!0])).id=e.id||"",r.type=$d(e.type,["toRight","toBottom","toLeft","toTop"]),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(e){e=e?e[Hd]():"#FFFFFF";var t=this.type.replace(/([RBLT])/," $1").toLowerCase(),r=this.color?this.color[Hd]():"#000000";return"linear-gradient(".concat(t,", ").concat(e,", ").concat(r,")")}}])}(),Tm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"lockDocument"])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){this[UE]=$d(this[UE],["auto","0","1"])}}])}(),qm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"manifest",!0])).action=$d(e.action,["include","all","exclude"]),r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.ref=new Cp,r}return sv(t,fp),rv(t)}(),jm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"margin",!0])).bottomInset=ey(e.bottomInset,"0"),r.id=e.id||"",r.leftInset=ey(e.leftInset,"0"),r.rightInset=ey(e.rightInset,"0"),r.topInset=ey(e.topInset,"0"),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(){return{margin:kp(this.topInset)+" "+kp(this.rightInset)+" "+kp(this.bottomInset)+" "+kp(this.leftInset)}}}])}(),Wm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"mdp"])).id=e.id||"",r.permissions=Xd({data:e.permissions,defaultValue:2,validate:function(e){return 1===e||3===e}}),r.signatureType=$d(e.signatureType,["filler","author"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),Zm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"medium"])).id=e.id||"",r.imagingBBox=function(e){var t=-1;if(!e)return{x:t,y:t,width:t,height:t};var r=e.trim().split(/\\s*,\\s*/).map((function(e){return ey(e,"-1")}));if(r.length<4||r[2]<0||r[3]<0)return{x:t,y:t,width:t,height:t};var A=qd(r,4);return{x:A[0],y:A[1],width:A[2],height:A[3]}}(e.imagingBBox),r.long=ey(e.long),r.orientation=$d(e.orientation,["portrait","landscape"]),r.short=ey(e.short),r.stock=e.stock||"",r.trayIn=$d(e.trayIn,["auto","delegate","pageFront"]),r.trayOut=$d(e.trayOut,["auto","delegate"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),_m=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"message",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.text=new Cp,r}return sv(t,fp),rv(t)}(),Xm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"numericEdit",!0])).hScrollPolicy=$d(e.hScrollPolicy,["auto","off","on"]),r.id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.comb=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r=Lp(this,"border","font","margin"),A=this[td]()[td](),n={name:"input",attributes:{type:"text",fieldId:A[Yd],dataId:(null===(t=A[ME])||void 0===t?void 0:t[Yd])||A[Yd],class:["xfaTextfield"],style:r,"aria-label":kv(A),"aria-required":!1}};return mv(A)&&(n.attributes["aria-required"]=!0,n.attributes.required=!0),Ay.success({name:"label",attributes:{class:["xfaLabel"]},children:[n]})}}])}(),Vm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"occur",!0])).id=e.id||"",r.initial=""!==e.initial?Xd({data:e.initial,defaultValue:"",validate:function(e){return!0}}):"",r.max=""!==e.max?Xd({data:e.max,defaultValue:1,validate:function(e){return!0}}):"",r.min=""!==e.min?Xd({data:e.min,defaultValue:1,validate:function(e){return!0}}):"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t,[{key:xE,value:function(){var e=this[td](),t=this.min;""===this.min&&(this.min=e instanceof tw||e instanceof rw?0:1),""===this.max&&(this.max=""===t?e instanceof tw||e instanceof rw?-1:1:this.min),-1!==this.max&&this.max<this.min&&(this.max=this.min),""===this.initial&&(this.initial=e instanceof bw?1:this.min)}}])}(),zm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"oid"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),$m=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"oids",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.oid=new Cp,r}return sv(t,fp),rv(t)}(),ew=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"overflow"])).id=e.id||"",r.leader=e.leader||"",r.target=e.target||"",r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t,[{key:_E,value:function(){if(!this[HE]){var e=this[td](),t=this[rd](),r=t[Fd](this.target,e),A=t[Fd](this.leader,e),n=t[Fd](this.trailer,e);this[HE]={target:(null==r?void 0:r[0])||null,leader:(null==A?void 0:A[0])||null,trailer:(null==n?void 0:n[0])||null,addLeader:!1,addTrailer:!1}}return this[HE]}}])}(),tw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"pageArea",!0])).blankOrNotBlank=$d(e.blankOrNotBlank,["any","blank","notBlank"]),r.id=e.id||"",r.initialNumber=Xd({data:e.initialNumber,defaultValue:1,validate:function(e){return!0}}),r.name=e.name||"",r.numbered=Xd({data:e.numbered,defaultValue:1,validate:function(e){return!0}}),r.oddOrEven=$d(e.oddOrEven,["any","even","odd"]),r.pagePosition=$d(e.pagePosition,["any","first","last","only","rest"]),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.desc=null,r.extras=null,r.medium=null,r.occur=null,r.area=new Cp,r.contentArea=new Cp,r.draw=new Cp,r.exclGroup=new Cp,r.field=new Cp,r.subform=new Cp,r}return sv(t,fp),rv(t,[{key:Cd,value:function(){return this[HE]?!this.occur||-1===this.occur.max||this[HE].numberOfUse<this.occur.max:(this[HE]={numberOfUse:0},!0)}},{key:RE,value:function(){delete this[HE]}},{key:$E,value:function(){this[HE]||(this[HE]={numberOfUse:0});var e=this[td]();return"orderedOccurrence"===e.relation&&this[Cd]()?(this[HE].numberOfUse+=1,this):e[$E]()}},{key:TE,value:function(){return this[HE].space||{width:0,height:0}}},{key:Md,value:function(){this[HE]||(this[HE]={numberOfUse:1});var e=[];this[HE].children=e;var t=Object.create(null);if(this.medium&&this.medium.short&&this.medium.long){if(t.width=kp(this.medium.short),t.height=kp(this.medium.long),this[HE].space={width:this.medium.short,height:this.medium.long},"landscape"===this.medium.orientation){var r=t.width;t.width=t.height,t.height=r,this[HE].space={width:this.medium.long,height:this.medium.short}}}else q("XFA - No medium specified in pageArea: please file a bug.");return this[FE]({filter:new Set(["area","draw","field","subform"]),include:!0}),this[FE]({filter:new Set(["contentArea"]),include:!0}),Ay.success({name:"div",children:e,attributes:{class:["xfaPage"],id:this[Yd],style:t,xfaName:this.name}})}}])}(),rw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"pageSet",!0])).duplexImposition=$d(e.duplexImposition,["longEdge","shortEdge"]),r.id=e.id||"",r.name=e.name||"",r.relation=$d(e.relation,["orderedOccurrence","duplexPaginated","simplexPaginated"]),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.occur=null,r.pageArea=new Cp,r.pageSet=new Cp,r}return sv(t,fp),rv(t,[{key:RE,value:function(){var e,t=lv(this.pageArea.children);try{for(t.s();!(e=t.n()).done;)e.value[RE]()}catch(e){t.e(e)}finally{t.f()}var r,A=lv(this.pageSet.children);try{for(A.s();!(r=A.n()).done;)r.value[RE]()}catch(e){A.e(e)}finally{A.f()}}},{key:Cd,value:function(){return!this.occur||-1===this.occur.max||this[HE].numberOfUse<this.occur.max}},{key:$E,value:function(){if(this[HE]||(this[HE]={numberOfUse:1,pageIndex:-1,pageSetIndex:-1}),"orderedOccurrence"===this.relation){if(this[HE].pageIndex+1<this.pageArea.children.length)return this[HE].pageIndex+=1,this.pageArea.children[this[HE].pageIndex][$E]();if(this[HE].pageSetIndex+1<this.pageSet.children.length)return this[HE].pageSetIndex+=1,this.pageSet.children[this[HE].pageSetIndex][$E]();if(this[Cd]())return this[HE].numberOfUse+=1,this[HE].pageIndex=-1,this[HE].pageSetIndex=-1,this[$E]();var e=this[td]();return e instanceof t?e[$E]():(this[RE](),this[$E]())}var r=this[rd]()[HE].pageNumber,A=r%2==0?"even":"odd",n=0===r?"first":"rest",i=this.pageArea.children.find((function(e){return e.oddOrEven===A&&e.pagePosition===n}));return i||((i=this.pageArea.children.find((function(e){return"any"===e.oddOrEven&&e.pagePosition===n})))?i:(i=this.pageArea.children.find((function(e){return"any"===e.oddOrEven&&"any"===e.pagePosition})))||this.pageArea.children[0])}}])}(),Aw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"para",!0])).hAlign=$d(e.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=e.id||"",r.lineHeight=e.lineHeight?ey(e.lineHeight,"0pt"):"",r.marginLeft=e.marginLeft?ey(e.marginLeft,"0pt"):"",r.marginRight=e.marginRight?ey(e.marginRight,"0pt"):"",r.orphans=Xd({data:e.orphans,defaultValue:0,validate:function(e){return e>=0}}),r.preserve=e.preserve||"",r.radixOffset=e.radixOffset?ey(e.radixOffset,"0pt"):"",r.spaceAbove=e.spaceAbove?ey(e.spaceAbove,"0pt"):"",r.spaceBelow=e.spaceBelow?ey(e.spaceBelow,"0pt"):"",r.tabDefault=e.tabDefault?ey(r.tabDefault):"",r.tabStops=(e.tabStops||"").trim().split(/\\s+/).map((function(e,t){return t%2==1?ey(e):e})),r.textIndent=e.textIndent?ey(e.textIndent,"0pt"):"",r.use=e.use||"",r.usehref=e.usehref||"",r.vAlign=$d(e.vAlign,["top","bottom","middle"]),r.widows=Xd({data:e.widows,defaultValue:0,validate:function(e){return e>=0}}),r.hyphenation=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(){var e=Lp(this,"hAlign");return""!==this.marginLeft&&(e.paddingLeft=kp(this.marginLeft)),""!==this.marginRight&&(e.paddingight=kp(this.marginRight)),""!==this.spaceAbove&&(e.paddingTop=kp(this.spaceAbove)),""!==this.spaceBelow&&(e.paddingBottom=kp(this.spaceBelow)),""!==this.textIndent&&(e.textIndent=kp(this.textIndent),Mp(e)),this.lineHeight>0&&(e.lineHeight=kp(this.lineHeight)),""!==this.tabDefault&&(e.tabSize=kp(this.tabDefault)),this.tabStops.length,this.hyphenatation&&Object.assign(e,this.hyphenatation[Hd]()),e}}])}(),nw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"passwordEdit",!0])).hScrollPolicy=$d(e.hScrollPolicy,["auto","off","on"]),r.id=e.id||"",r.passwordChar=e.passwordChar||"*",r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t)}(),iw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"pattern",!0])).id=e.id||"",r.type=$d(e.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(e){e=e?e[Hd]():"#FFFFFF";var t=this.color?this.color[Hd]():"#000000",r="repeating-linear-gradient",A="".concat(e,",").concat(e," ").concat(5,"px,").concat(t," ").concat(5,"px,").concat(t," ").concat(10,"px");switch(this.type){case"crossHatch":return"".concat(r,"(to top,").concat(A,") ").concat(r,"(to right,").concat(A,")");case"crossDiagonal":return"".concat(r,"(45deg,").concat(A,") ").concat(r,"(-45deg,").concat(A,")");case"diagonalLeft":return"".concat(r,"(45deg,").concat(A,")");case"diagonalRight":return"".concat(r,"(-45deg,").concat(A,")");case"horizontal":return"".concat(r,"(to top,").concat(A,")");case"vertical":return"".concat(r,"(to right,").concat(A,")")}return""}}])}(),aw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"picture"])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),ow=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"proto",!0])).appearanceFilter=new Cp,r.arc=new Cp,r.area=new Cp,r.assist=new Cp,r.barcode=new Cp,r.bindItems=new Cp,r.bookend=new Cp,r.boolean=new Cp,r.border=new Cp,r.break=new Cp,r.breakAfter=new Cp,r.breakBefore=new Cp,r.button=new Cp,r.calculate=new Cp,r.caption=new Cp,r.certificate=new Cp,r.certificates=new Cp,r.checkButton=new Cp,r.choiceList=new Cp,r.color=new Cp,r.comb=new Cp,r.connect=new Cp,r.contentArea=new Cp,r.corner=new Cp,r.date=new Cp,r.dateTime=new Cp,r.dateTimeEdit=new Cp,r.decimal=new Cp,r.defaultUi=new Cp,r.desc=new Cp,r.digestMethod=new Cp,r.digestMethods=new Cp,r.draw=new Cp,r.edge=new Cp,r.encoding=new Cp,r.encodings=new Cp,r.encrypt=new Cp,r.encryptData=new Cp,r.encryption=new Cp,r.encryptionMethod=new Cp,r.encryptionMethods=new Cp,r.event=new Cp,r.exData=new Cp,r.exObject=new Cp,r.exclGroup=new Cp,r.execute=new Cp,r.extras=new Cp,r.field=new Cp,r.fill=new Cp,r.filter=new Cp,r.float=new Cp,r.font=new Cp,r.format=new Cp,r.handler=new Cp,r.hyphenation=new Cp,r.image=new Cp,r.imageEdit=new Cp,r.integer=new Cp,r.issuers=new Cp,r.items=new Cp,r.keep=new Cp,r.keyUsage=new Cp,r.line=new Cp,r.linear=new Cp,r.lockDocument=new Cp,r.manifest=new Cp,r.margin=new Cp,r.mdp=new Cp,r.medium=new Cp,r.message=new Cp,r.numericEdit=new Cp,r.occur=new Cp,r.oid=new Cp,r.oids=new Cp,r.overflow=new Cp,r.pageArea=new Cp,r.pageSet=new Cp,r.para=new Cp,r.passwordEdit=new Cp,r.pattern=new Cp,r.picture=new Cp,r.radial=new Cp,r.reason=new Cp,r.reasons=new Cp,r.rectangle=new Cp,r.ref=new Cp,r.script=new Cp,r.setProperty=new Cp,r.signData=new Cp,r.signature=new Cp,r.signing=new Cp,r.solid=new Cp,r.speak=new Cp,r.stipple=new Cp,r.subform=new Cp,r.subformSet=new Cp,r.subjectDN=new Cp,r.subjectDNs=new Cp,r.submit=new Cp,r.text=new Cp,r.textEdit=new Cp,r.time=new Cp,r.timeStamp=new Cp,r.toolTip=new Cp,r.traversal=new Cp,r.traverse=new Cp,r.ui=new Cp,r.validate=new Cp,r.value=new Cp,r.variables=new Cp,r}return sv(t,fp),rv(t)}(),sw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"radial",!0])).id=e.id||"",r.type=$d(e.type,["toEdge","toCenter"]),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(e){e=e?e[Hd]():"#FFFFFF";var t=this.color?this.color[Hd]():"#000000",r="toEdge"===this.type?"".concat(e,",").concat(t):"".concat(t,",").concat(e);return"radial-gradient(circle at center, ".concat(r,")")}}])}(),cw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"reason"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),gw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"reasons",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.reason=new Cp,r}return sv(t,fp),rv(t)}(),uw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"rectangle",!0])).hand=$d(e.hand,["even","left","right"]),r.id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.corner=new Cp(4),r.edge=new Cp(4),r.fill=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(){var e,t=this.edge.children.length?this.edge.children[0]:new hm({}),r=t[Hd](),A=Object.create(null);"visible"===(null===(e=this.fill)||void 0===e?void 0:e.presence)?Object.assign(A,this.fill[Hd]()):A.fill="transparent",A.strokeWidth=kp("visible"===t.presence?t.thickness:0),A.stroke=r.color;var n=(this.corner.children.length?this.corner.children[0]:new Am({}))[Hd](),i={name:"svg",children:[{name:"rect",attributes:{xmlns:Cv,width:"100%",height:"100%",x:0,y:0,rx:n.radius,ry:n.radius,style:A}}],attributes:{xmlns:Cv,style:{overflow:"visible"},width:"100%",height:"100%"}};return yv(this[td]()[td]())?Ay.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[i]}):(i.attributes.style.position="absolute",Ay.success(i))}}])}(),lw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"ref"])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),hw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"script"])).binding=e.binding||"",r.contentType=e.contentType||"",r.id=e.id||"",r.name=e.name||"",r.runAt=$d(e.runAt,["client","both","server"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),Iw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"setProperty"])).connection=e.connection||"",r.ref=e.ref||"",r.target=e.target||"",r}return sv(t,fp),rv(t)}(),fw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"signData",!0])).id=e.id||"",r.operation=$d(e.operation,["sign","clear","verify"]),r.ref=e.ref||"",r.target=e.target||"",r.use=e.use||"",r.usehref=e.usehref||"",r.filter=null,r.manifest=null,r}return sv(t,fp),rv(t)}(),Cw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"signature",!0])).id=e.id||"",r.type=$d(e.type,["PDF1.3","PDF1.6"]),r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.filter=null,r.manifest=null,r.margin=null,r}return sv(t,fp),rv(t)}(),Bw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"signing",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new Cp,r}return sv(t,fp),rv(t)}(),Qw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"solid",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(e){return e?e[Hd]():"#FFFFFF"}}])}(),Ew=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"speak"])).disable=Xd({data:e.disable,defaultValue:0,validate:function(e){return 1===e}}),r.id=e.id||"",r.priority=$d(e.priority,["custom","caption","name","toolTip"]),r.rid=e.rid||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),dw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"stipple",!0])).id=e.id||"",r.rate=Xd({data:e.rate,defaultValue:50,validate:function(e){return e>=0&&e<=100}}),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(e){var t=this.rate/100;return ge.makeHexColor(Math.round(e.value.r*(1-t)+this.value.r*t),Math.round(e.value.g*(1-t)+this.value.g*t),Math.round(e.value.b*(1-t)+this.value.b*t))}}])}(),yw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"subform",!0])).access=$d(e.access,["open","nonInteractive","protected","readOnly"]),r.allowMacro=Xd({data:e.allowMacro,defaultValue:0,validate:function(e){return 1===e}}),r.anchorType=$d(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=Xd({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),r.columnWidths=(e.columnWidths||"").trim().split(/\\s+/).map((function(e){return"-1"===e?-1:ey(e)})),r.h=e.h?ey(e.h):"",r.hAlign=$d(e.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=e.id||"",r.layout=$d(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),r.locale=e.locale||"",r.maxH=ey(e.maxH,"0pt"),r.maxW=ey(e.maxW,"0pt"),r.mergeMode=$d(e.mergeMode,["consumeData","matchTemplate"]),r.minH=ey(e.minH,"0pt"),r.minW=ey(e.minW,"0pt"),r.name=e.name||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.relevant=ry(e.relevant),r.restoreState=$d(e.restoreState,["manual","auto"]),r.scope=$d(e.scope,["name","none"]),r.use=e.use||"",r.usehref=e.usehref||"",r.w=e.w?ey(e.w):"",r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.assist=null,r.bind=null,r.bookend=null,r.border=null,r.break=null,r.calculate=null,r.desc=null,r.extras=null,r.keep=null,r.margin=null,r.occur=null,r.overflow=null,r.pageSet=null,r.para=null,r.traversal=null,r.validate=null,r.variables=null,r.area=new Cp,r.breakAfter=new Cp,r.breakBefore=new Cp,r.connect=new Cp,r.draw=new Cp,r.event=new Cp,r.exObject=new Cp,r.exclGroup=new Cp,r.field=new Cp,r.proto=new Cp,r.setProperty=new Cp,r.subform=new Cp,r.subformSet=new Cp,r}return sv(t,fp),rv(t,[{key:ed,value:function(){var e=this[td]();return e instanceof pw?e[ed]():e}},{key:cd,value:function(){return!0}},{key:Id,value:function(){return this.layout.endsWith("-tb")&&0===this[HE].attempt&&this[HE].numberInLine>0||this[td]()[Id]()}},{key:zE,value:gv().mark((function e(){return gv().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(vv(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:PE,value:function(){return Zp(this)}},{key:DE,value:function(e,t){_p(this,e,t)}},{key:TE,value:function(){return Xp(this)}},{key:hd,value:function(){var e,t=this[ed]();return!!t[hd]()&&(void 0!==this[HE]._isSplittable?this[HE]._isSplittable:"position"===this.layout||this.layout.includes("row")||this.keep&&"none"!==this.keep.intact?(this[HE]._isSplittable=!1,!1):!(null!==(e=t.layout)&&void 0!==e&&e.endsWith("-tb")&&0!==t[HE].numberInLine||(this[HE]._isSplittable=!0,0)))}},{key:Md,value:function(e){var t;if(wv(this),this.break){if("auto"!==this.break.after||""!==this.break.afterTarget){var r=new Tv({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});r[Ad]=this[Ad],this[SE](r),this.breakAfter.push(r)}if("auto"!==this.break.before||""!==this.break.beforeTarget){var A=new qv({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});A[Ad]=this[Ad],this[SE](A),this.breakBefore.push(A)}if(""!==this.break.overflowTarget){var n=new ew({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});n[Ad]=this[Ad],this[SE](n),this.overflow.push(n)}this[kd](this.break),this.break=null}if("hidden"===this.presence||"inactive"===this.presence)return Ay.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&q("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){var i=this.breakBefore.children[0];if(xv(i))return Ay.breakNode(i)}if(null!==(t=this[HE])&&void 0!==t&&t.afterBreakAfter)return Ay.EMPTY;Gp(this);var a=[],o={id:this[Yd],class:[]};Jp(this,o.class),this[HE]||(this[HE]=Object.create(null)),Object.assign(this[HE],{children:a,line:null,attributes:o,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});var s=this[rd](),c=s[HE].noLayoutFailure,g=this[hd]();if(g||Sv(this),!Vp(this,e))return Ay.FAILURE;var u=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){var l=this[ed]().columnWidths;Array.isArray(l)&&l.length>0&&(this[HE].columnWidths=l,this[HE].currentColumn=0)}var h=Lp(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),I=["xfaSubform"],f=Np(this);if(f&&I.push(f),o.style=h,o.class=I,this.name&&(o.xfaName=this.name),this.overflow){var C=this.overflow[_E]();C.addLeader&&(C.addLeader=!1,Rv(this,C.leader,e))}this[bd]();for(var B="lr-tb"===this.layout||"rl-tb"===this.layout,Q=B?2:1;this[HE].attempt<Q;this[HE].attempt++){B&&1===this[HE].attempt&&(this[HE].numberInLine=0);var E=this[FE]({filter:u,include:!0});if(E.success)break;if(E.isBreak())return this[wd](),E;if(B&&0===this[HE].attempt&&0===this[HE].numberInLine&&!s[HE].noLayoutFailure){this[HE].attempt=Q;break}}if(this[wd](),g||Fv(this),s[HE].noLayoutFailure=c,this[HE].attempt===Q)return this.overflow&&(this[rd]()[HE].overflowNode=this.overflow),g||delete this[HE],Ay.FAILURE;if(this.overflow){var d=this.overflow[_E]();d.addTrailer&&(d.addTrailer=!1,Rv(this,d.trailer,e))}var y=0,p=0;this.margin&&(y=this.margin.leftInset+this.margin.rightInset,p=this.margin.topInset+this.margin.bottomInset);var v=Math.max(this[HE].width+y,this.w||0),m=Math.max(this[HE].height+p,this.h||0),w=[this.x,this.y,v,m];if(""===this.w&&(h.width=kp(v)),""===this.h&&(h.height=kp(m)),("0px"===h.width||"0px"===h.height)&&0===a.length)return Ay.EMPTY;var b={name:"div",attributes:o,children:a};bv(this,o);var k=Ay.success(Up(this,b),w);if(this.breakAfter.children.length>=1){var D=this.breakAfter.children[0];if(xv(D))return this[HE].afterBreakAfter=k,Ay.breakNode(D)}return delete this[HE],k}}])}(),pw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"subformSet",!0])).id=e.id||"",r.name=e.name||"",r.relation=$d(e.relation,["ordered","choice","unordered"]),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.bookend=null,r.break=null,r.desc=null,r.extras=null,r.occur=null,r.overflow=null,r.breakAfter=new Cp,r.breakBefore=new Cp,r.subform=new Cp,r.subformSet=new Cp,r}return sv(t,fp),rv(t,[{key:zE,value:gv().mark((function e(){return gv().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(vv(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:ed,value:function(){for(var e=this[td]();!(e instanceof yw);)e=e[td]();return e}},{key:cd,value:function(){return!0}}])}(),vw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"subjectDN"])).delimiter=e.delimiter||",",r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){this[UE]=new Map(this[UE].split(this.delimiter).map((function(e){return(e=e.split("=",2))[0]=e[0].trim(),e})))}}])}(),mw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"subjectDNs",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.subjectDN=new Cp,r}return sv(t,fp),rv(t)}(),ww=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"submit",!0])).embedPDF=Xd({data:e.embedPDF,defaultValue:0,validate:function(e){return 1===e}}),r.format=$d(e.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),r.id=e.id||"",r.target=e.target||"",r.textEncoding=zd({data:e.textEncoding?e.textEncoding.toLowerCase():"",defaultValue:"",validate:function(e){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\\d{2}/)}}),r.use=e.use||"",r.usehref=e.usehref||"",r.xdpContent=e.xdpContent||"",r.encrypt=null,r.encryptData=new Cp,r.signData=new Cp,r}return sv(t,fp),rv(t)}(),bw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"template",!0])).baseProfile=$d(e.baseProfile,["full","interactiveForms"]),r.extras=null,r.subform=new Cp,r}return sv(t,fp),rv(t,[{key:YE,value:function(){0===this.subform.children.length&&q("XFA - No subforms in template node."),this.subform.children.length>=2&&q("XFA - Several subforms in template node: please file a bug."),this[Nd]=5e3}},{key:hd,value:function(){return!0}},{key:Fd,value:function(e,t){return e.startsWith("#")?[this[id].get(e.slice(1))]:Ry(this,t,e,!0,!0)}},{key:Ud,value:gv().mark((function e(){var t,r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E=this;return gv().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.subform.children.length){e.next=2;break}return e.abrupt("return",Ay.success({name:"div",children:[]}));case 2:this[HE]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]},(A=this.subform.children[0]).pageSet[RE](),n=A.pageSet.pageArea.children,i={name:"div",children:[]},a=null,o=null,s=null,A.breakBefore.children.length>=1?(o=A.breakBefore.children[0],s=o.target):A.subform.children.length>=1&&A.subform.children[0].breakBefore.children.length>=1?(o=A.subform.children[0].breakBefore.children[0],s=o.target):null!==(t=A.break)&&void 0!==t&&t.beforeTarget?(o=A.break,s=o.beforeTarget):A.subform.children.length>=1&&null!==(r=A.subform.children[0].break)&&void 0!==r&&r.beforeTarget&&(o=A.subform.children[0].break,s=o.beforeTarget),o&&(c=this[Fd](s,o[td]()))instanceof tw&&(a=c,o[HE]={}),a||(a=n[0]),a[HE]={numberOfUse:1},(g=a[td]())[HE]={numberOfUse:1,pageIndex:g.pageArea.children.indexOf(a),pageSetIndex:0},l=null,h=null,I=!0,f=0,C=0,B=gv().mark((function e(){var t,r,n,o,s,c,g,B,Q,d,y,p,v,m,w,b;return gv().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(I){e.next=7;break}if(i.children.pop(),3!=++f){e.next=5;break}return q("XFA - Something goes wrong: please file a bug."),e.abrupt("return",{v:i});case 5:e.next=8;break;case 7:f=0;case 8:u=null,E[HE].currentPageArea=a,t=a[Md]().html,i.children.push(t),l&&(E[HE].noLayoutFailure=!0,t.children.push(l[Md](a[HE].space).html),l=null),h&&(E[HE].noLayoutFailure=!0,t.children.push(h[Md](a[HE].space).html),h=null),r=a.contentArea.children,n=t.children.filter((function(e){return e.attributes.class.includes("xfaContentarea")})),I=!1,E[HE].firstUnsplittable=null,E[HE].noLayoutFailure=!1,o=function(e){var t,r=A[PE]();r&&(I||(I=(null===(t=r.children)||void 0===t?void 0:t.length)>0),n[e].children.push(r))},s=C,c=r.length;case 21:if(!(s<c)){e.next=56;break}if(g=E[HE].currentContentArea=r[s],B={width:g.w,height:g.h},C=0,l&&(n[s].children.push(l[Md](B).html),l=null),h&&(n[s].children.push(h[Md](B).html),h=null),!(Q=A[Md](B)).success){e.next=31;break}return Q.html?(I||(I=(null===(d=Q.html.children)||void 0===d?void 0:d.length)>0),n[s].children.push(Q.html)):!I&&i.children.length>1&&i.children.pop(),e.abrupt("return",{v:i});case 31:if(!Q.isBreak()){e.next=40;break}if(y=Q.breakNode,o(s),"auto"!==y.targetType){e.next=36;break}return e.abrupt("continue",53);case 36:return y.leader&&(l=(l=E[Fd](y.leader,y[td]()))?l[0]:null),y.trailer&&(h=(h=E[Fd](y.trailer,y[td]()))?h[0]:null),"pageArea"===y.targetType?(u=y[HE].target,s=1/0):y[HE].target?(u=y[HE].target,C=y[HE].index+1,s=1/0):s=y[HE].index,e.abrupt("continue",53);case 40:if(!E[HE].overflowNode){e.next=52;break}return p=E[HE].overflowNode,E[HE].overflowNode=null,v=p[_E](),m=v.target,v.addLeader=null!==v.leader,v.addTrailer=null!==v.trailer,o(s),w=s,s=1/0,m instanceof tw?u=m:m instanceof rm&&(-1!==(b=r.indexOf(m))?b>w?s=b-1:C=b:(u=m[td](),C=u.contentArea.children.indexOf(m))),e.abrupt("continue",53);case 52:o(s);case 53:s++,e.next=21;break;case 56:return E[HE].pageNumber+=1,u&&(u[Cd]()?u[HE].numberOfUse+=1:u=null),a=u||a[$E](),e.next=61,null;case 61:case"end":return e.stop()}}),e)}));case 22:return e.delegateYield(B(),"t0",24);case 24:if(!(Q=e.t0)){e.next=27;break}return e.abrupt("return",Q.v);case 27:e.next=22;break;case 29:case"end":return e.stop()}}),e,this)}))}])}(),kw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"text"])).id=e.id||"",r.maxChars=Xd({data:e.maxChars,defaultValue:0,validate:function(e){return e>=0}}),r.name=e.name||"",r.rid=e.rid||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:kE,value:function(){return!0}},{key:yd,value:function(e){return e[Qd]===Od.xhtml.id?(this[UE]=e,!0):(q("XFA - Invalid content in Text: ".concat(e[Ed],".")),!1)}},{key:vd,value:function(e){this[UE]instanceof fp||zp(t,vd,this,3)([e])}},{key:YE,value:function(){"string"==typeof this[UE]&&(this[UE]=this[UE].replaceAll("\\r\\n","\\n"))}},{key:_E,value:function(){return"string"==typeof this[UE]?this[UE].split(/[\\u2029\\u2028\\n]/).reduce((function(e,t){return t&&e.push(t),e}),[]).join("\\n"):this[UE][Ld]()}},{key:Md,value:function(e){if("string"==typeof this[UE]){var t=Dv(this[UE]).html;return this[UE].includes("\\u2029")?(t.name="div",t.children=[],this[UE].split("\\u2029").map((function(e){return e.split(/[\\u2028\\n]/).reduce((function(e,t){return e.push({name:"span",value:t},{name:"br"}),e}),[])})).forEach((function(e){t.children.push({name:"p",children:e})}))):/[\\u2028\\n]/.test(this[UE])&&(t.name="div",t.children=[],this[UE].split(/[\\u2028\\n]/).forEach((function(e){t.children.push({name:"span",value:e},{name:"br"})}))),Ay.success(t)}return this[UE][Md](e)}}])}(),Dw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"textEdit",!0])).allowRichText=Xd({data:e.allowRichText,defaultValue:0,validate:function(e){return 1===e}}),r.hScrollPolicy=$d(e.hScrollPolicy,["auto","off","on"]),r.id=e.id||"",r.multiLine=Xd({data:e.multiLine,defaultValue:"",validate:function(e){return 0===e||1===e}}),r.use=e.use||"",r.usehref=e.usehref||"",r.vScrollPolicy=$d(e.vScrollPolicy,["auto","off","on"]),r.border=null,r.comb=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r,A,n=Lp(this,"border","font","margin"),i=this[td]()[td]();return""===this.multiLine&&(this.multiLine=i instanceof lm?1:0),t=1===this.multiLine?{name:"textarea",attributes:{dataId:(null===(r=i[ME])||void 0===r?void 0:r[Yd])||i[Yd],fieldId:i[Yd],class:["xfaTextfield"],style:n,"aria-label":kv(i),"aria-required":!1}}:{name:"input",attributes:{type:"text",dataId:(null===(A=i[ME])||void 0===A?void 0:A[Yd])||i[Yd],fieldId:i[Yd],class:["xfaTextfield"],style:n,"aria-label":kv(i),"aria-required":!1}},mv(i)&&(t.attributes["aria-required"]=!0,t.attributes.required=!0),Ay.success({name:"label",attributes:{class:["xfaLabel"]},children:[t]})}}])}(),Sw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"time"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t,[{key:YE,value:function(){var e=this[UE].trim();this[UE]=e?new Date(e):null}},{key:Md,value:function(e){return Dv(this[UE]?this[UE].toString():"")}}])}(),Fw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"timeStamp"])).id=e.id||"",r.server=e.server||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),xw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"toolTip"])).id=e.id||"",r.rid=e.rid||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),Rw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"traversal",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.traverse=new Cp,r}return sv(t,fp),rv(t)}(),Gw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"traverse",!0])).id=e.id||"",r.operation=$d(e.operation,["next","back","down","first","left","right","up"]),r.ref=e.ref||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.script=null,r}return sv(t,fp),rv(t,[{key:"name",get:function(){return this.operation}},{key:fd,value:function(){return!1}}])}(),Nw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"ui",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.picture=null,r.barcode=null,r.button=null,r.checkButton=null,r.choiceList=null,r.dateTimeEdit=null,r.defaultUi=null,r.imageEdit=null,r.numericEdit=null,r.passwordEdit=null,r.signature=null,r.textEdit=null,r}return sv(t,fp),rv(t,[{key:_E,value:function(){if(void 0===this[HE]){var e,t=lv(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;){var r=e.value;if("extras"!==r&&"picture"!==r){var A=this[r];if(A instanceof fp)return this[HE]=A,A}}}catch(e){t.e(e)}finally{t.f()}this[HE]=null}return this[HE]}},{key:Md,value:function(e){var t=this[_E]();return t?t[Md](e):Ay.EMPTY}}])}(),Lw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"validate",!0])).formatTest=$d(e.formatTest,["warning","disabled","error"]),r.id=e.id||"",r.nullTest=$d(e.nullTest,["disabled","error","warning"]),r.scriptTest=$d(e.scriptTest,["error","disabled","warning"]),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.message=null,r.picture=null,r.script=null,r}return sv(t,fp),rv(t)}(),Uw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"value",!0])).id=e.id||"",r.override=Xd({data:e.override,defaultValue:0,validate:function(e){return 1===e}}),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.arc=null,r.boolean=null,r.date=null,r.dateTime=null,r.decimal=null,r.exData=null,r.float=null,r.image=null,r.integer=null,r.line=null,r.rectangle=null,r.text=null,r.time=null,r}return sv(t,fp),rv(t,[{key:Gd,value:function(e){var t,r=this[td]();if(r instanceof km&&null!==(t=r.ui)&&void 0!==t&&t.imageEdit)return this.image||(this.image=new Lm({}),this[SE](this.image)),void(this.image[UE]=e[UE]);var A=e[Ed];if(null===this[A]){var n,i=lv(Object.getOwnPropertyNames(this));try{for(i.s();!(n=i.n()).done;){var a=n.value,o=this[a];o instanceof fp&&(this[a]=null,this[kd](o))}}catch(e){i.e(e)}finally{i.f()}this[e[Ed]]=e,this[SE](e)}else this[A][UE]=e[UE]}},{key:Ld,value:function(){if(this.exData)return"string"==typeof this.exData[UE]?this.exData[UE].trim():this.exData[UE][Ld]().trim();var e,t=lv(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;){var r=e.value;if("image"!==r){var A=this[r];if(A instanceof fp)return(A[UE]||"").toString().trim()}}}catch(e){t.e(e)}finally{t.f()}return null}},{key:Md,value:function(e){var t,r=lv(Object.getOwnPropertyNames(this));try{for(r.s();!(t=r.n()).done;){var A=this[t.value];if(A instanceof fp)return A[Md](e)}}catch(e){r.e(e)}finally{r.f()}return Ay.EMPTY}}])}(),Mw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"variables",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new Cp,r.date=new Cp,r.dateTime=new Cp,r.decimal=new Cp,r.exData=new Cp,r.float=new Cp,r.image=new Cp,r.integer=new Cp,r.manifest=new Cp,r.script=new Cp,r.text=new Cp,r.time=new Cp,r}return sv(t,fp),rv(t,[{key:fd,value:function(){return!0}}])}(),Jw=function(){function e(){nv(this,e)}return rv(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t)){var A=e[t](r);return A[Rd](r),A}}},{key:"appearanceFilter",value:function(e){return new Gv(e)}},{key:"arc",value:function(e){return new Nv(e)}},{key:"area",value:function(e){return new Lv(e)}},{key:"assist",value:function(e){return new Uv(e)}},{key:"barcode",value:function(e){return new Mv(e)}},{key:"bind",value:function(e){return new Jv(e)}},{key:"bindItems",value:function(e){return new Hv(e)}},{key:"bookend",value:function(e){return new Yv(e)}},{key:"boolean",value:function(e){return new Pv(e)}},{key:"border",value:function(e){return new Ov(e)}},{key:"break",value:function(e){return new Kv(e)}},{key:"breakAfter",value:function(e){return new Tv(e)}},{key:"breakBefore",value:function(e){return new qv(e)}},{key:"button",value:function(e){return new jv(e)}},{key:"calculate",value:function(e){return new Wv(e)}},{key:"caption",value:function(e){return new Zv(e)}},{key:"certificate",value:function(e){return new _v(e)}},{key:"certificates",value:function(e){return new Xv(e)}},{key:"checkButton",value:function(e){return new Vv(e)}},{key:"choiceList",value:function(e){return new zv(e)}},{key:"color",value:function(e){return new $v(e)}},{key:"comb",value:function(e){return new em(e)}},{key:"connect",value:function(e){return new tm(e)}},{key:"contentArea",value:function(e){return new rm(e)}},{key:"corner",value:function(e){return new Am(e)}},{key:"date",value:function(e){return new nm(e)}},{key:"dateTime",value:function(e){return new im(e)}},{key:"dateTimeEdit",value:function(e){return new am(e)}},{key:"decimal",value:function(e){return new om(e)}},{key:"defaultUi",value:function(e){return new sm(e)}},{key:"desc",value:function(e){return new cm(e)}},{key:"digestMethod",value:function(e){return new gm(e)}},{key:"digestMethods",value:function(e){return new um(e)}},{key:"draw",value:function(e){return new lm(e)}},{key:"edge",value:function(e){return new hm(e)}},{key:"encoding",value:function(e){return new Im(e)}},{key:"encodings",value:function(e){return new fm(e)}},{key:"encrypt",value:function(e){return new Cm(e)}},{key:"encryptData",value:function(e){return new Bm(e)}},{key:"encryption",value:function(e){return new Qm(e)}},{key:"encryptionMethod",value:function(e){return new Em(e)}},{key:"encryptionMethods",value:function(e){return new dm(e)}},{key:"event",value:function(e){return new ym(e)}},{key:"exData",value:function(e){return new pm(e)}},{key:"exObject",value:function(e){return new vm(e)}},{key:"exclGroup",value:function(e){return new mm(e)}},{key:"execute",value:function(e){return new wm(e)}},{key:"extras",value:function(e){return new bm(e)}},{key:"field",value:function(e){return new km(e)}},{key:"fill",value:function(e){return new Dm(e)}},{key:"filter",value:function(e){return new Sm(e)}},{key:"float",value:function(e){return new Fm(e)}},{key:"font",value:function(e){return new xm(e)}},{key:"format",value:function(e){return new Rm(e)}},{key:"handler",value:function(e){return new Gm(e)}},{key:"hyphenation",value:function(e){return new Nm(e)}},{key:"image",value:function(e){return new Lm(e)}},{key:"imageEdit",value:function(e){return new Um(e)}},{key:"integer",value:function(e){return new Mm(e)}},{key:"issuers",value:function(e){return new Jm(e)}},{key:"items",value:function(e){return new Hm(e)}},{key:"keep",value:function(e){return new Ym(e)}},{key:"keyUsage",value:function(e){return new Pm(e)}},{key:"line",value:function(e){return new Om(e)}},{key:"linear",value:function(e){return new Km(e)}},{key:"lockDocument",value:function(e){return new Tm(e)}},{key:"manifest",value:function(e){return new qm(e)}},{key:"margin",value:function(e){return new jm(e)}},{key:"mdp",value:function(e){return new Wm(e)}},{key:"medium",value:function(e){return new Zm(e)}},{key:"message",value:function(e){return new _m(e)}},{key:"numericEdit",value:function(e){return new Xm(e)}},{key:"occur",value:function(e){return new Vm(e)}},{key:"oid",value:function(e){return new zm(e)}},{key:"oids",value:function(e){return new $m(e)}},{key:"overflow",value:function(e){return new ew(e)}},{key:"pageArea",value:function(e){return new tw(e)}},{key:"pageSet",value:function(e){return new rw(e)}},{key:"para",value:function(e){return new Aw(e)}},{key:"passwordEdit",value:function(e){return new nw(e)}},{key:"pattern",value:function(e){return new iw(e)}},{key:"picture",value:function(e){return new aw(e)}},{key:"proto",value:function(e){return new ow(e)}},{key:"radial",value:function(e){return new sw(e)}},{key:"reason",value:function(e){return new cw(e)}},{key:"reasons",value:function(e){return new gw(e)}},{key:"rectangle",value:function(e){return new uw(e)}},{key:"ref",value:function(e){return new lw(e)}},{key:"script",value:function(e){return new hw(e)}},{key:"setProperty",value:function(e){return new Iw(e)}},{key:"signData",value:function(e){return new fw(e)}},{key:"signature",value:function(e){return new Cw(e)}},{key:"signing",value:function(e){return new Bw(e)}},{key:"solid",value:function(e){return new Qw(e)}},{key:"speak",value:function(e){return new Ew(e)}},{key:"stipple",value:function(e){return new dw(e)}},{key:"subform",value:function(e){return new yw(e)}},{key:"subformSet",value:function(e){return new pw(e)}},{key:"subjectDN",value:function(e){return new vw(e)}},{key:"subjectDNs",value:function(e){return new mw(e)}},{key:"submit",value:function(e){return new ww(e)}},{key:"template",value:function(e){return new bw(e)}},{key:"text",value:function(e){return new kw(e)}},{key:"textEdit",value:function(e){return new Dw(e)}},{key:"time",value:function(e){return new Sw(e)}},{key:"timeStamp",value:function(e){return new Fw(e)}},{key:"toolTip",value:function(e){return new xw(e)}},{key:"traversal",value:function(e){return new Rw(e)}},{key:"traverse",value:function(e){return new Gw(e)}},{key:"ui",value:function(e){return new Nw(e)}},{key:"validate",value:function(e){return new Lw(e)}},{key:"value",value:function(e){return new Uw(e)}},{key:"variables",value:function(e){return new Mw(e)}}])}();function Hw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Pw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yw(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Pw(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function Pw(e,t){if(e){if("string"==typeof e)return Ow(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ow(e,t):void 0}}function Ow(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Kw(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Tw(A.key),A)}}function Tw(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var qw=Od.datasets.id;function jw(e){var t=new kw({});return t[UE]=e,t}var Ww=function(){return function(e,t,r){return t&&Kw(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.root=t,this.datasets=t.datasets,this.data=(null===(r=t.datasets)||void 0===r?void 0:r.data)||new Qp(Od.datasets.id,"data"),this.emptyMerge=0===this.data[VE]().length,this.root.form=this.form=t.template[NE]()}),[{key:"_isConsumeData",value:function(){return!this.emptyMerge&&this._mergeMode}},{key:"_isMatchTemplate",value:function(){return!this._isConsumeData()}},{key:"bind",value:function(){return this._bindElement(this.form,this.data),this.form}},{key:"getData",value:function(){return this.data}},{key:"_bindValue",value:function(e,t,r){var A;if(e[ME]=t,e[nd]())if(t[gd]()){var n=t[ZE]();e[Gd](jw(n))}else if(e instanceof km&&"multiSelect"===(null===(A=e.ui)||void 0===A||null===(A=A.choiceList)||void 0===A?void 0:A.open)){var i=t[VE]().map((function(e){return e[UE].trim()})).join("\\n");e[Gd](jw(i))}else this._isConsumeData()&&q("XFA - Nodes haven't the same type.");else!t[gd]()||this._isMatchTemplate()?this._bindElement(e,t):q("XFA - Nodes haven't the same type.")}},{key:"_findDataByNameToConsume",value:function(e,t,r,A){var n,i,a;if(!e)return null;for(var o=0;o<3;o++){for(i=r[XE](e,!1,!0);a=i.next().value;)if(t===a[gd]())return a;if(r[Qd]===Od.datasets.id&&"data"===r[Ed])break;r=r[td]()}return A&&((a=(i=this.data[XE](e,!0,!1)).next().value)||null!==(n=a=(i=this.data[OE](e,!0)).next().value)&&void 0!==n&&n[gd]())?a:null}},{key:"_setProperties",value:function(e,t){if(e.hasOwnProperty("setProperty")){var r,A=Yw(e.setProperty.children);try{for(A.s();!(r=A.n()).done;){var n=r.value,i=n.ref,a=n.target;if(!n.connection&&i){var o=Ry(this.root,t,i,!1,!1);if(o){var s=Hw(o,1)[0];if(s[ud](this.data)){var c=Ry(this.root,e,a,!1,!1);if(c){var g=Hw(c,1)[0];if(g[ud](e)){var u=g[td]();if(g instanceof Iw||u instanceof Iw)q("XFA - Invalid target: cannot be a setProperty or one of its properties.");else if(g instanceof Hv||u instanceof Hv)q("XFA - Invalid target: cannot be a bindItems or one of its properties.");else{var l=s[Ld](),h=g[Ed];if(g instanceof Bp){var I=Object.create(null);I[h]=l;var f=Reflect.construct(Object.getPrototypeOf(u).constructor,[I]);u[h]=f[h]}else g.hasOwnProperty(UE)?(g[ME]=s,g[UE]=l,g[YE]()):q("XFA - Invalid node to use in setProperty")}}else q("XFA - Invalid target: must be a property or subproperty.")}else q("XFA - Invalid target: ".concat(a,"."))}else q("XFA - Invalid node: must be a data node.")}else q("XFA - Invalid reference: ".concat(i,"."))}}}catch(e){A.e(e)}finally{A.f()}}}},{key:"_bindItems",value:function(e,t){if(e.hasOwnProperty("items")&&e.hasOwnProperty("bindItems")&&!e.bindItems.isEmpty()){var r,A=Yw(e.items.children);try{for(A.s();!(r=A.n()).done;){var n=r.value;e[kd](n)}}catch(e){A.e(e)}finally{A.f()}e.items.clear();var i=new Hm({}),a=new Hm({});e[SE](i),e.items.push(i),e[SE](a),e.items.push(a);var o,s=Yw(e.bindItems.children);try{for(s.s();!(o=s.n()).done;){var c=o.value,g=c.ref,u=c.labelRef,l=c.valueRef;if(!c.connection&&g){var h=Ry(this.root,t,g,!1,!1);if(h){var I,f=Yw(h);try{for(f.s();!(I=f.n()).done;){var C=I.value;if(C[ud](this.datasets)){var B=Ry(this.root,C,u,!0,!1);if(B){var Q=Hw(B,1)[0];if(Q[ud](this.datasets)){var E=Ry(this.root,C,l,!0,!1);if(E){var d=Hw(E,1)[0];if(d[ud](this.datasets)){var y=jw(Q[Ld]()),p=jw(d[Ld]());i[SE](y),i.text.push(y),a[SE](p),a.text.push(p)}else q("XFA - Invalid value: must be a datasets child.")}else q("XFA - Invalid value: ".concat(l,"."))}else q("XFA - Invalid label: must be a datasets child.")}else q("XFA - Invalid label: ".concat(u,"."))}else q("XFA - Invalid ref (".concat(g,"): must be a datasets child."))}}catch(e){f.e(e)}finally{f.f()}}else q("XFA - Invalid reference: ".concat(g,"."))}}}catch(e){s.e(e)}finally{s.f()}}}},{key:"_bindOccurrences",value:function(e,t,r){var A;if(t.length>1&&((A=e[NE]())[kd](A.occur),A.occur=null),this._bindValue(e,t[0],r),this._setProperties(e,t[0]),this._bindItems(e,t[0]),1!==t.length)for(var n=e[td](),i=e[Ed],a=n[ad](e),o=1,s=t.length;o<s;o++){var c=t[o],g=A[NE]();n[i].push(g),n[od](a+o,g),this._bindValue(g,c,r),this._setProperties(g,c),this._bindItems(g,c)}}},{key:"_createOccurrences",value:function(e){if(this.emptyMerge){var t=e.occur;if(t&&!(t.initial<=1)){var r=e[td](),A=e[Ed];if(r[A]instanceof Cp){var n;n=e.name?r[A].children.filter((function(t){return t.name===e.name})).length:r[A].children.length;var i=r[ad](e)+1,a=t.initial-n;if(a){var o=e[NE]();o[kd](o.occur),o.occur=null,r[A].push(o),r[od](i,o);for(var s=1;s<a;s++){var c=o[NE]();r[A].push(c),r[od](i+s,c)}}}}}}},{key:"_getOccurInfo",value:function(e){var t=e.name,r=e.occur;if(!r||!t)return[1,1];var A=-1===r.max?1/0:r.max;return[r.min,A]}},{key:"_setAndBind",value:function(e,t){this._setProperties(e,t),this._bindItems(e,t),this._bindElement(e,t)}},{key:"_bindElement",value:function(e,t){var r=[];this._createOccurrences(e);var A,n=Yw(e[VE]());try{for(n.s();!(A=n.n()).done;){var i=A.value;if(!i[ME])if(void 0!==this._mergeMode||"subform"!==i[Ed]){if(i[cd]()){var a=!1,o=null,s=null,c=null;if(i.bind){switch(i.bind.match){case"none":this._setAndBind(i,t);continue;case"global":a=!0;break;case"dataRef":if(!i.bind.ref){q("XFA - ref is empty in node ".concat(i[Ed],".")),this._setAndBind(i,t);continue}s=i.bind.ref}i.bind.picture&&(o=i.bind.picture[UE])}var g=Hw(this._getOccurInfo(i),2),u=g[0],l=g[1];if(s){if(null===(c=Ry(this.root,t,s,!0,!1))){if(!(c=Gy(this.data,t,s)))continue;this._isConsumeData()&&(c[LE]=!0),this._setAndBind(i,c);continue}this._isConsumeData()&&(c=c.filter((function(e){return!e[LE]}))),c.length>l?c=c.slice(0,l):0===c.length&&(c=null),c&&this._isConsumeData()&&c.forEach((function(e){e[LE]=!0}))}else{if(!i.name){this._setAndBind(i,t);continue}if(this._isConsumeData()){for(var h=[];h.length<l;){var I=this._findDataByNameToConsume(i.name,i[nd](),t,a);if(!I)break;I[LE]=!0,h.push(I)}c=h.length>0?h:null}else{if(!(c=t[XE](i.name,!1,this.emptyMerge).next().value)){if(0===u){r.push(i);continue}var f=t[Qd]===qw?-1:t[Qd];c=i[ME]=new Qp(f,i.name),this.emptyMerge&&(c[LE]=!0),t[SE](c),this._setAndBind(i,c);continue}this.emptyMerge&&(c[LE]=!0),c=[c]}}c?this._bindOccurrences(i,c,o):u>0?this._setAndBind(i,t):r.push(i)}}else{this._mergeMode="consumeData"===i.mergeMode;var C=t[VE]();if(C.length>0)this._bindOccurrences(i,[C[0]],null);else if(this.emptyMerge){var B=t[Qd]===qw?-1:t[Qd],Q=i[ME]=new Qp(B,i.name||"root");t[SE](Q),this._bindElement(i,Q)}}}}catch(e){n.e(e)}finally{n.f()}r.forEach((function(e){return e[td]()[kd](e)}))}}])}();function Zw(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Xw(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function _w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Xw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xw(e,t){if(e){if("string"==typeof e)return Vw(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vw(e,t):void 0}}function Vw(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function zw(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,$w(A.key),A)}}function $w(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var eb=function(){return function(e,t,r){return t&&zw(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=r,this.dataset=t.datasets||null}),[{key:"serialize",value:function(e){for(var t=[[-1,this.data[VE]()]];t.length>0;){var r=t.at(-1),A=_w(r,2),n=A[0],i=A[1];if(n+1!==i.length){var a=i[++r[0]],o=e.get(a[Yd]);if(o)a[Gd](o);else{var s,c=Zw(a[KE]().values());try{for(c.s();!(s=c.n()).done;){var g=s.value,u=e.get(g[Yd]);if(u){g[Gd](u);break}}}catch(e){c.e(e)}finally{c.f()}}var l=a[VE]();l.length>0&&t.push([-1,l])}else t.pop()}var h=['<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">'];if(this.dataset){var I,f=Zw(this.dataset[VE]());try{for(f.s();!(I=f.n()).done;){var C=I.value;"data"!==C[Ed]&&C[Jd](h)}}catch(e){f.e(e)}finally{f.f()}}return this.data[Jd](h),h.push("</xfa:datasets>"),h.join("")}}])}();function tb(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function rb(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,nb(A.key),A)}}function Ab(e,t,r){return t&&rb(e.prototype,t),r&&rb(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function nb(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function ib(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ab(e,t,r){return t=sb(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ob()?Reflect.construct(t,r||[],sb(e).constructor):t.apply(e,r))}function ob(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ob=function(){return!!e})()}function sb(e){return sb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sb(e)}function cb(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gb(e,t)}function gb(e,t){return gb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gb(e,t)}var ub=Od.config.id,lb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"acrobat",!0])).acrobat7=null,r.autoSave=null,r.common=null,r.validate=null,r.validateApprovalSignatures=null,r.submitUrl=new Cp,r}return cb(t,fp),Ab(t)}(),hb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"acrobat7",!0])).dynamicRender=null,r}return cb(t,fp),Ab(t)}(),Ib=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"ADBE_JSConsole",["delegate","Enable","Disable"]])}return cb(t,dp),Ab(t)}(),fb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"ADBE_JSDebugger",["delegate","Enable","Disable"]])}return cb(t,dp),Ab(t)}(),Cb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"addSilentPrint"])}return cb(t,vp),Ab(t)}(),Bb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"addViewerPreferences"])}return cb(t,vp),Ab(t)}(),Qb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"adjustData"])}return cb(t,mp),Ab(t)}(),Eb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"adobeExtensionLevel",0,function(e){return e>=1&&e<=8}])}return cb(t,pp),Ab(t)}(),db=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"agent",!0])).name=e.name?e.name.trim():"",r.common=new Cp,r}return cb(t,fp),Ab(t)}(),yb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"alwaysEmbed"])}return cb(t,Ep),Ab(t)}(),pb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"amd"])}return cb(t,yp),Ab(t)}(),vb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"area"])).level=Xd({data:e.level,defaultValue:0,validate:function(e){return e>=1&&e<=3}}),r.name=$d(e.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"]),r}return cb(t,fp),Ab(t)}(),mb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"attributes",["preserve","delegate","ignore"]])}return cb(t,dp),Ab(t)}(),wb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"autoSave",["disabled","enabled"]])}return cb(t,dp),Ab(t)}(),bb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"base"])}return cb(t,yp),Ab(t)}(),kb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"batchOutput"])).format=$d(e.format,["none","concat","zip","zipCompress"]),r}return cb(t,fp),Ab(t)}(),Db=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"behaviorOverride"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=new Map(this[UE].trim().split(/\\s+/).filter((function(e){return e.includes(":")})).map((function(e){return e.split(":",2)})))}}])}(),Sb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"cache",!0])).templateCache=null,r}return cb(t,fp),Ab(t)}(),Fb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"change"])}return cb(t,vp),Ab(t)}(),xb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"common",!0])).data=null,r.locale=null,r.localeSet=null,r.messaging=null,r.suppressBanner=null,r.template=null,r.validationMessaging=null,r.versionControl=null,r.log=new Cp,r}return cb(t,fp),Ab(t)}(),Rb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"compress"])).scope=$d(e.scope,["imageOnly","document"]),r}return cb(t,fp),Ab(t)}(),Gb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"compressLogicalStructure"])}return cb(t,vp),Ab(t)}(),Nb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"compressObjectStream"])}return cb(t,mp),Ab(t)}(),Lb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"compression",!0])).compressLogicalStructure=null,r.compressObjectStream=null,r.level=null,r.type=null,r}return cb(t,fp),Ab(t)}(),Ub=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"config",!0])).acrobat=null,r.present=null,r.trace=null,r.agent=new Cp,r}return cb(t,fp),Ab(t)}(),Mb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"conformance",["A","B"]])}return cb(t,dp),Ab(t)}(),Jb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"contentCopy"])}return cb(t,vp),Ab(t)}(),Hb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"copies",1,function(e){return e>=1}])}return cb(t,pp),Ab(t)}(),Yb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"creator"])}return cb(t,yp),Ab(t)}(),Pb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"currentPage",0,function(e){return e>=0}])}return cb(t,pp),Ab(t)}(),Ob=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"data",!0])).adjustData=null,r.attributes=null,r.incrementalLoad=null,r.outputXSL=null,r.range=null,r.record=null,r.startNode=null,r.uri=null,r.window=null,r.xsl=null,r.excludeNS=new Cp,r.transform=new Cp,r}return cb(t,fp),Ab(t)}(),Kb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"debug",!0])).uri=null,r}return cb(t,fp),Ab(t)}(),Tb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"defaultTypeface"])).writingScript=$d(e.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"]),r}return cb(t,Ep),Ab(t)}(),qb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"destination",["pdf","pcl","ps","webClient","zpl"]])}return cb(t,dp),Ab(t)}(),jb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"documentAssembly"])}return cb(t,vp),Ab(t)}(),Wb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"driver",!0])).name=e.name?e.name.trim():"",r.fontInfo=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),Zb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"]])}return cb(t,dp),Ab(t)}(),_b=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"dynamicRender",["forbidden","required"]])}return cb(t,dp),Ab(t)}(),Xb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"embed"])}return cb(t,vp),Ab(t)}(),Vb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"encrypt"])}return cb(t,vp),Ab(t)}(),zb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"encryption",!0])).encrypt=null,r.encryptionLevel=null,r.permissions=null,r}return cb(t,fp),Ab(t)}(),$b=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"encryptionLevel",["40bit","128bit"]])}return cb(t,dp),Ab(t)}(),ek=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"enforce"])}return cb(t,yp),Ab(t)}(),tk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"equate"])).force=Xd({data:e.force,defaultValue:1,validate:function(e){return 0===e}}),r.from=e.from||"",r.to=e.to||"",r}return cb(t,fp),Ab(t)}(),rk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"equateRange"])).from=e.from||"",r.to=e.to||"",r._unicodeRange=e.unicodeRange||"",r}return cb(t,fp),Ab(t,[{key:"unicodeRange",get:function(){var e,t=[],r=/U\\+([0-9a-fA-F]+)/,A=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return tb(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tb(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(this._unicodeRange.split(",").map((function(e){return e.trim()})).filter((function(e){return!!e})));try{for(A.s();!(e=A.n()).done;){var n=e.value;1===(n=n.split("-",2).map((function(e){var t=e.match(r);return t?parseInt(t[1],16):0}))).length&&n.push(n[0]),t.push(n)}}catch(e){A.e(e)}finally{A.f()}return _(this,"unicodeRange",t)}}])}(),Ak=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"exclude"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim().split(/\\s+/).filter((function(e){return e&&["calculate","close","enter","exit","initialize","ready","validate"].includes(e)}))}}])}(),nk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"excludeNS"])}return cb(t,yp),Ab(t)}(),ik=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"flipLabel",["usePrinterSetting","on","off"]])}return cb(t,dp),Ab(t)}(),ak=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"fontInfo",!0])).embed=null,r.map=null,r.subsetBelow=null,r.alwaysEmbed=new Cp,r.defaultTypeface=new Cp,r.neverEmbed=new Cp,r}return cb(t,fp),Ab(t)}(),ok=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"formFieldFilling"])}return cb(t,vp),Ab(t)}(),sk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"groupParent"])}return cb(t,yp),Ab(t)}(),ck=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"ifEmpty",["dataValue","dataGroup","ignore","remove"]])}return cb(t,dp),Ab(t)}(),gk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"includeXDPContent"])}return cb(t,yp),Ab(t)}(),uk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"incrementalLoad",["none","forwardOnly"]])}return cb(t,dp),Ab(t)}(),lk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"incrementalMerge"])}return cb(t,vp),Ab(t)}(),hk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"interactive"])}return cb(t,vp),Ab(t)}(),Ik=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"jog",["usePrinterSetting","none","pageSet"]])}return cb(t,dp),Ab(t)}(),fk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"labelPrinter",!0])).name=$d(e.name,["zpl","dpl","ipl","tcpl"]),r.batchOutput=null,r.flipLabel=null,r.fontInfo=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),Ck=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"layout",["paginate","panel"]])}return cb(t,dp),Ab(t)}(),Bk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"level",0,function(e){return e>0}])}return cb(t,pp),Ab(t)}(),Qk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"linearized"])}return cb(t,vp),Ab(t)}(),Ek=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"locale"])}return cb(t,yp),Ab(t)}(),dk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"localeSet"])}return cb(t,yp),Ab(t)}(),yk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"log",!0])).mode=null,r.threshold=null,r.to=null,r.uri=null,r}return cb(t,fp),Ab(t)}(),pk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"map",!0])).equate=new Cp,r.equateRange=new Cp,r}return cb(t,fp),Ab(t)}(),vk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"mediumInfo",!0])).map=null,r}return cb(t,fp),Ab(t)}(),mk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"message",!0])).msgId=null,r.severity=null,r}return cb(t,fp),Ab(t)}(),wk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"messaging",!0])).message=new Cp,r}return cb(t,fp),Ab(t)}(),bk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"mode",["append","overwrite"]])}return cb(t,dp),Ab(t)}(),kk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"modifyAnnots"])}return cb(t,vp),Ab(t)}(),Dk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"msgId",1,function(e){return e>=1}])}return cb(t,pp),Ab(t)}(),Sk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"nameAttr"])}return cb(t,yp),Ab(t)}(),Fk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"neverEmbed"])}return cb(t,Ep),Ab(t)}(),xk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"numberOfCopies",null,function(e){return e>=2&&e<=5}])}return cb(t,pp),Ab(t)}(),Rk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"openAction",!0])).destination=null,r}return cb(t,fp),Ab(t)}(),Gk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"output",!0])).to=null,r.type=null,r.uri=null,r}return cb(t,fp),Ab(t)}(),Nk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"outputBin"])}return cb(t,yp),Ab(t)}(),Lk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"outputXSL",!0])).uri=null,r}return cb(t,fp),Ab(t)}(),Uk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"overprint",["none","both","draw","field"]])}return cb(t,dp),Ab(t)}(),Mk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"packets"])}return cb(t,yp),Ab(t,[{key:YE,value:function(){"*"!==this[UE]&&(this[UE]=this[UE].trim().split(/\\s+/).filter((function(e){return["config","datasets","template","xfdf","xslt"].includes(e)})))}}])}(),Jk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"pageOffset"])).x=Xd({data:e.x,defaultValue:"useXDCSetting",validate:function(e){return!0}}),r.y=Xd({data:e.y,defaultValue:"useXDCSetting",validate:function(e){return!0}}),r}return cb(t,fp),Ab(t)}(),Hk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"pageRange"])}return cb(t,yp),Ab(t,[{key:YE,value:function(){for(var e=this[UE].trim().split(/\\s+/).map((function(e){return parseInt(e,10)})),t=[],r=0,A=e.length;r<A;r+=2)t.push(e.slice(r,r+2));this[UE]=t}}])}(),Yk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"pagination",["simplex","duplexShortEdge","duplexLongEdge"]])}return cb(t,dp),Ab(t)}(),Pk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"paginationOverride",["none","forceDuplex","forceDuplexLongEdge","forceDuplexShortEdge","forceSimplex"]])}return cb(t,dp),Ab(t)}(),Ok=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"part",1,function(e){return!1}])}return cb(t,pp),Ab(t)}(),Kk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"pcl",!0])).name=e.name||"",r.batchOutput=null,r.fontInfo=null,r.jog=null,r.mediumInfo=null,r.outputBin=null,r.pageOffset=null,r.staple=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),Tk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"pdf",!0])).name=e.name||"",r.adobeExtensionLevel=null,r.batchOutput=null,r.compression=null,r.creator=null,r.encryption=null,r.fontInfo=null,r.interactive=null,r.linearized=null,r.openAction=null,r.pdfa=null,r.producer=null,r.renderPolicy=null,r.scriptModel=null,r.silentPrint=null,r.submitFormat=null,r.tagged=null,r.version=null,r.viewerPreferences=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),qk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"pdfa",!0])).amd=null,r.conformance=null,r.includeXDPContent=null,r.part=null,r}return cb(t,fp),Ab(t)}(),jk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"permissions",!0])).accessibleContent=null,r.change=null,r.contentCopy=null,r.documentAssembly=null,r.formFieldFilling=null,r.modifyAnnots=null,r.plaintextMetadata=null,r.print=null,r.printHighQuality=null,r}return cb(t,fp),Ab(t)}(),Wk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"pickTrayByPDFSize"])}return cb(t,vp),Ab(t)}(),Zk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"picture"])}return cb(t,yp),Ab(t)}(),_k=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"plaintextMetadata"])}return cb(t,vp),Ab(t)}(),Xk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"]])}return cb(t,dp),Ab(t)}(),Vk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"present",!0])).behaviorOverride=null,r.cache=null,r.common=null,r.copies=null,r.destination=null,r.incrementalMerge=null,r.layout=null,r.output=null,r.overprint=null,r.pagination=null,r.paginationOverride=null,r.script=null,r.validate=null,r.xdp=null,r.driver=new Cp,r.labelPrinter=new Cp,r.pcl=new Cp,r.pdf=new Cp,r.ps=new Cp,r.submitUrl=new Cp,r.webClient=new Cp,r.zpl=new Cp,r}return cb(t,fp),Ab(t)}(),zk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"print"])}return cb(t,vp),Ab(t)}(),$k=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"printHighQuality"])}return cb(t,vp),Ab(t)}(),eD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"printScaling",["appdefault","noScaling"]])}return cb(t,dp),Ab(t)}(),tD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"printerName"])}return cb(t,yp),Ab(t)}(),rD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"producer"])}return cb(t,yp),Ab(t)}(),AD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"ps",!0])).name=e.name||"",r.batchOutput=null,r.fontInfo=null,r.jog=null,r.mediumInfo=null,r.outputBin=null,r.staple=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),nD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"range"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim().split(/\\s*,\\s*/,2).map((function(e){return e.split("-").map((function(e){return parseInt(e.trim(),10)}))})).filter((function(e){return e.every((function(e){return!isNaN(e)}))})).map((function(e){return 1===e.length&&e.push(e[0]),e}))}}])}(),iD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"record"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim();var e=parseInt(this[UE],10);!isNaN(e)&&e>=0&&(this[UE]=e)}}])}(),aD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"relevant"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim().split(/\\s+/)}}])}(),oD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"rename"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim(),(this[UE].toLowerCase().startsWith("xml")||new RegExp("[\\\\p{L}_][\\\\p{L}\\\\d._\\\\p{M}-]*","u").test(this[UE]))&&q("XFA - Rename: invalid XFA name")}}])}(),sD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"renderPolicy",["server","client"]])}return cb(t,dp),Ab(t)}(),cD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"runScripts",["both","client","none","server"]])}return cb(t,dp),Ab(t)}(),gD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"script",!0])).currentPage=null,r.exclude=null,r.runScripts=null,r}return cb(t,fp),Ab(t)}(),uD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"scriptModel",["XFA","none"]])}return cb(t,dp),Ab(t)}(),lD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"severity",["ignore","error","information","trace","warning"]])}return cb(t,dp),Ab(t)}(),hD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"silentPrint",!0])).addSilentPrint=null,r.printerName=null,r}return cb(t,fp),Ab(t)}(),ID=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"staple"])).mode=$d(e.mode,["usePrinterSetting","on","off"]),r}return cb(t,fp),Ab(t)}(),fD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"startNode"])}return cb(t,yp),Ab(t)}(),CD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"startPage",0,function(e){return!0}])}return cb(t,pp),Ab(t)}(),BD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"submitFormat",["html","delegate","fdf","xml","pdf"]])}return cb(t,dp),Ab(t)}(),QD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"submitUrl"])}return cb(t,yp),Ab(t)}(),ED=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"subsetBelow",100,function(e){return e>=0&&e<=100}])}return cb(t,pp),Ab(t)}(),dD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"suppressBanner"])}return cb(t,vp),Ab(t)}(),yD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"tagged"])}return cb(t,vp),Ab(t)}(),pD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"template",!0])).base=null,r.relevant=null,r.startPage=null,r.uri=null,r.xsl=null,r}return cb(t,fp),Ab(t)}(),vD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"threshold",["trace","error","information","warning"]])}return cb(t,dp),Ab(t)}(),mD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"to",["null","memory","stderr","stdout","system","uri"]])}return cb(t,dp),Ab(t)}(),wD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"templateCache"])).maxEntries=Xd({data:e.maxEntries,defaultValue:5,validate:function(e){return e>=0}}),r}return cb(t,fp),Ab(t)}(),bD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"trace",!0])).area=new Cp,r}return cb(t,fp),Ab(t)}(),kD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"transform",!0])).groupParent=null,r.ifEmpty=null,r.nameAttr=null,r.picture=null,r.presence=null,r.rename=null,r.whitespace=null,r}return cb(t,fp),Ab(t)}(),DD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"]])}return cb(t,dp),Ab(t)}(),SD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"uri"])}return cb(t,yp),Ab(t)}(),FD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"validate",["preSubmit","prePrint","preExecute","preSave"]])}return cb(t,dp),Ab(t)}(),xD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"validateApprovalSignatures"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim().split(/\\s+/).filter((function(e){return["docReady","postSign"].includes(e)}))}}])}(),RD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"]])}return cb(t,dp),Ab(t)}(),GD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"version",["1.7","1.6","1.5","1.4","1.3","1.2"]])}return cb(t,dp),Ab(t)}(),ND=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"VersionControl"])).outputBelow=$d(e.outputBelow,["warn","error","update"]),r.sourceAbove=$d(e.sourceAbove,["warn","error"]),r.sourceBelow=$d(e.sourceBelow,["update","maintain"]),r}return cb(t,fp),Ab(t)}(),LD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"viewerPreferences",!0])).ADBE_JSConsole=null,r.ADBE_JSDebugger=null,r.addViewerPreferences=null,r.duplexOption=null,r.enforce=null,r.numberOfCopies=null,r.pageRange=null,r.pickTrayByPDFSize=null,r.printScaling=null,r}return cb(t,fp),Ab(t)}(),UD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"webClient",!0])).name=e.name?e.name.trim():"",r.fontInfo=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),MD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"whitespace",["preserve","ltrim","normalize","rtrim","trim"]])}return cb(t,dp),Ab(t)}(),JD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"window"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){var e=this[UE].trim().split(/\\s*,\\s*/,2).map((function(e){return parseInt(e,10)}));e.some((function(e){return isNaN(e)}))?this[UE]=[0,0]:(1===e.length&&e.push(e[0]),this[UE]=e)}}])}(),HD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"xdc",!0])).uri=new Cp,r.xsl=new Cp,r}return cb(t,fp),Ab(t)}(),YD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"xdp",!0])).packets=null,r}return cb(t,fp),Ab(t)}(),PD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"xsl",!0])).debug=null,r.uri=null,r}return cb(t,fp),Ab(t)}(),OD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"zpl",!0])).name=e.name?e.name.trim():"",r.batchOutput=null,r.flipLabel=null,r.fontInfo=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),KD=function(){function e(){ib(this,e)}return Ab(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"acrobat",value:function(e){return new lb(e)}},{key:"acrobat7",value:function(e){return new hb(e)}},{key:"ADBE_JSConsole",value:function(e){return new Ib(e)}},{key:"ADBE_JSDebugger",value:function(e){return new fb(e)}},{key:"addSilentPrint",value:function(e){return new Cb(e)}},{key:"addViewerPreferences",value:function(e){return new Bb(e)}},{key:"adjustData",value:function(e){return new Qb(e)}},{key:"adobeExtensionLevel",value:function(e){return new Eb(e)}},{key:"agent",value:function(e){return new db(e)}},{key:"alwaysEmbed",value:function(e){return new yb(e)}},{key:"amd",value:function(e){return new pb(e)}},{key:"area",value:function(e){return new vb(e)}},{key:"attributes",value:function(e){return new mb(e)}},{key:"autoSave",value:function(e){return new wb(e)}},{key:"base",value:function(e){return new bb(e)}},{key:"batchOutput",value:function(e){return new kb(e)}},{key:"behaviorOverride",value:function(e){return new Db(e)}},{key:"cache",value:function(e){return new Sb(e)}},{key:"change",value:function(e){return new Fb(e)}},{key:"common",value:function(e){return new xb(e)}},{key:"compress",value:function(e){return new Rb(e)}},{key:"compressLogicalStructure",value:function(e){return new Gb(e)}},{key:"compressObjectStream",value:function(e){return new Nb(e)}},{key:"compression",value:function(e){return new Lb(e)}},{key:"config",value:function(e){return new Ub(e)}},{key:"conformance",value:function(e){return new Mb(e)}},{key:"contentCopy",value:function(e){return new Jb(e)}},{key:"copies",value:function(e){return new Hb(e)}},{key:"creator",value:function(e){return new Yb(e)}},{key:"currentPage",value:function(e){return new Pb(e)}},{key:"data",value:function(e){return new Ob(e)}},{key:"debug",value:function(e){return new Kb(e)}},{key:"defaultTypeface",value:function(e){return new Tb(e)}},{key:"destination",value:function(e){return new qb(e)}},{key:"documentAssembly",value:function(e){return new jb(e)}},{key:"driver",value:function(e){return new Wb(e)}},{key:"duplexOption",value:function(e){return new Zb(e)}},{key:"dynamicRender",value:function(e){return new _b(e)}},{key:"embed",value:function(e){return new Xb(e)}},{key:"encrypt",value:function(e){return new Vb(e)}},{key:"encryption",value:function(e){return new zb(e)}},{key:"encryptionLevel",value:function(e){return new $b(e)}},{key:"enforce",value:function(e){return new ek(e)}},{key:"equate",value:function(e){return new tk(e)}},{key:"equateRange",value:function(e){return new rk(e)}},{key:"exclude",value:function(e){return new Ak(e)}},{key:"excludeNS",value:function(e){return new nk(e)}},{key:"flipLabel",value:function(e){return new ik(e)}},{key:"fontInfo",value:function(e){return new ak(e)}},{key:"formFieldFilling",value:function(e){return new ok(e)}},{key:"groupParent",value:function(e){return new sk(e)}},{key:"ifEmpty",value:function(e){return new ck(e)}},{key:"includeXDPContent",value:function(e){return new gk(e)}},{key:"incrementalLoad",value:function(e){return new uk(e)}},{key:"incrementalMerge",value:function(e){return new lk(e)}},{key:"interactive",value:function(e){return new hk(e)}},{key:"jog",value:function(e){return new Ik(e)}},{key:"labelPrinter",value:function(e){return new fk(e)}},{key:"layout",value:function(e){return new Ck(e)}},{key:"level",value:function(e){return new Bk(e)}},{key:"linearized",value:function(e){return new Qk(e)}},{key:"locale",value:function(e){return new Ek(e)}},{key:"localeSet",value:function(e){return new dk(e)}},{key:"log",value:function(e){return new yk(e)}},{key:"map",value:function(e){return new pk(e)}},{key:"mediumInfo",value:function(e){return new vk(e)}},{key:"message",value:function(e){return new mk(e)}},{key:"messaging",value:function(e){return new wk(e)}},{key:"mode",value:function(e){return new bk(e)}},{key:"modifyAnnots",value:function(e){return new kk(e)}},{key:"msgId",value:function(e){return new Dk(e)}},{key:"nameAttr",value:function(e){return new Sk(e)}},{key:"neverEmbed",value:function(e){return new Fk(e)}},{key:"numberOfCopies",value:function(e){return new xk(e)}},{key:"openAction",value:function(e){return new Rk(e)}},{key:"output",value:function(e){return new Gk(e)}},{key:"outputBin",value:function(e){return new Nk(e)}},{key:"outputXSL",value:function(e){return new Lk(e)}},{key:"overprint",value:function(e){return new Uk(e)}},{key:"packets",value:function(e){return new Mk(e)}},{key:"pageOffset",value:function(e){return new Jk(e)}},{key:"pageRange",value:function(e){return new Hk(e)}},{key:"pagination",value:function(e){return new Yk(e)}},{key:"paginationOverride",value:function(e){return new Pk(e)}},{key:"part",value:function(e){return new Ok(e)}},{key:"pcl",value:function(e){return new Kk(e)}},{key:"pdf",value:function(e){return new Tk(e)}},{key:"pdfa",value:function(e){return new qk(e)}},{key:"permissions",value:function(e){return new jk(e)}},{key:"pickTrayByPDFSize",value:function(e){return new Wk(e)}},{key:"picture",value:function(e){return new Zk(e)}},{key:"plaintextMetadata",value:function(e){return new _k(e)}},{key:"presence",value:function(e){return new Xk(e)}},{key:"present",value:function(e){return new Vk(e)}},{key:"print",value:function(e){return new zk(e)}},{key:"printHighQuality",value:function(e){return new $k(e)}},{key:"printScaling",value:function(e){return new eD(e)}},{key:"printerName",value:function(e){return new tD(e)}},{key:"producer",value:function(e){return new rD(e)}},{key:"ps",value:function(e){return new AD(e)}},{key:"range",value:function(e){return new nD(e)}},{key:"record",value:function(e){return new iD(e)}},{key:"relevant",value:function(e){return new aD(e)}},{key:"rename",value:function(e){return new oD(e)}},{key:"renderPolicy",value:function(e){return new sD(e)}},{key:"runScripts",value:function(e){return new cD(e)}},{key:"script",value:function(e){return new gD(e)}},{key:"scriptModel",value:function(e){return new uD(e)}},{key:"severity",value:function(e){return new lD(e)}},{key:"silentPrint",value:function(e){return new hD(e)}},{key:"staple",value:function(e){return new ID(e)}},{key:"startNode",value:function(e){return new fD(e)}},{key:"startPage",value:function(e){return new CD(e)}},{key:"submitFormat",value:function(e){return new BD(e)}},{key:"submitUrl",value:function(e){return new QD(e)}},{key:"subsetBelow",value:function(e){return new ED(e)}},{key:"suppressBanner",value:function(e){return new dD(e)}},{key:"tagged",value:function(e){return new yD(e)}},{key:"template",value:function(e){return new pD(e)}},{key:"templateCache",value:function(e){return new wD(e)}},{key:"threshold",value:function(e){return new vD(e)}},{key:"to",value:function(e){return new mD(e)}},{key:"trace",value:function(e){return new bD(e)}},{key:"transform",value:function(e){return new kD(e)}},{key:"type",value:function(e){return new DD(e)}},{key:"uri",value:function(e){return new SD(e)}},{key:"validate",value:function(e){return new FD(e)}},{key:"validateApprovalSignatures",value:function(e){return new xD(e)}},{key:"validationMessaging",value:function(e){return new RD(e)}},{key:"version",value:function(e){return new GD(e)}},{key:"versionControl",value:function(e){return new ND(e)}},{key:"viewerPreferences",value:function(e){return new LD(e)}},{key:"webClient",value:function(e){return new UD(e)}},{key:"whitespace",value:function(e){return new MD(e)}},{key:"window",value:function(e){return new JD(e)}},{key:"xdc",value:function(e){return new HD(e)}},{key:"xdp",value:function(e){return new YD(e)}},{key:"xsl",value:function(e){return new PD(e)}},{key:"zpl",value:function(e){return new OD(e)}}])}();function TD(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,jD(A.key),A)}}function qD(e,t,r){return t&&TD(e.prototype,t),r&&TD(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function jD(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function WD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZD(e,t,r){return t=XD(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,_D()?Reflect.construct(t,r||[],XD(e).constructor):t.apply(e,r))}function _D(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_D=function(){return!!e})()}function XD(e){return XD=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},XD(e)}function VD(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zD(e,t)}function zD(e,t){return zD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zD(e,t)}var $D=Od.connectionSet.id,eS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"connectionSet",!0])).wsdlConnection=new Cp,r.xmlConnection=new Cp,r.xsdConnection=new Cp,r}return VD(t,fp),qD(t)}(),tS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"effectiveInputPolicy"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,fp),qD(t)}(),rS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"effectiveOutputPolicy"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,fp),qD(t)}(),AS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"operation"])).id=e.id||"",r.input=e.input||"",r.name=e.name||"",r.output=e.output||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),nS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"rootElement"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),iS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"soapAction"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),aS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"soapAddress"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),oS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"uri"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),sS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"wsdlAddress"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),cS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"wsdlConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.effectiveInputPolicy=null,r.effectiveOutputPolicy=null,r.operation=null,r.soapAction=null,r.soapAddress=null,r.wsdlAddress=null,r}return VD(t,fp),qD(t)}(),gS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"xmlConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.uri=null,r}return VD(t,fp),qD(t)}(),uS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"xsdConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.rootElement=null,r.uri=null,r}return VD(t,fp),qD(t)}(),lS=function(){function e(){WD(this,e)}return qD(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"connectionSet",value:function(e){return new eS(e)}},{key:"effectiveInputPolicy",value:function(e){return new tS(e)}},{key:"effectiveOutputPolicy",value:function(e){return new rS(e)}},{key:"operation",value:function(e){return new AS(e)}},{key:"rootElement",value:function(e){return new nS(e)}},{key:"soapAction",value:function(e){return new iS(e)}},{key:"soapAddress",value:function(e){return new aS(e)}},{key:"uri",value:function(e){return new oS(e)}},{key:"wsdlAddress",value:function(e){return new sS(e)}},{key:"wsdlConnection",value:function(e){return new cS(e)}},{key:"xmlConnection",value:function(e){return new gS(e)}},{key:"xsdConnection",value:function(e){return new uS(e)}}])}();function hS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IS(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,CS(A.key),A)}}function fS(e,t,r){return t&&IS(e.prototype,t),r&&IS(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function CS(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function BS(e,t,r){return t=ES(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,QS()?Reflect.construct(t,r||[],ES(e).constructor):t.apply(e,r))}function QS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(QS=function(){return!!e})()}function ES(e){return ES=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ES(e)}function dS(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yS(e,t)}function yS(e,t){return yS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yS(e,t)}var pS=Od.datasets.id,vS=function(e){function t(e){return hS(this,t),BS(this,t,[pS,"data",e])}return dS(t,Qp),fS(t,[{key:ld,value:function(){return!0}}])}(),mS=function(e){function t(e){var r;return hS(this,t),(r=BS(this,t,[pS,"datasets",!0])).data=null,r.Signature=null,r}return dS(t,fp),fS(t,[{key:yd,value:function(e){var t=e[Ed];("data"===t&&e[Qd]===pS||"Signature"===t&&e[Qd]===Od.signature.id)&&(this[t]=e),this[SE](e)}}])}(),wS=function(){function e(){hS(this,e)}return fS(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"datasets",value:function(e){return new mS(e)}},{key:"data",value:function(e){return new vS(e)}}])}();function bS(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,DS(A.key),A)}}function kS(e,t,r){return t&&bS(e.prototype,t),r&&bS(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function DS(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function SS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FS(e,t,r){return t=RS(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xS()?Reflect.construct(t,r||[],RS(e).constructor):t.apply(e,r))}function xS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xS=function(){return!!e})()}function RS(e){return RS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},RS(e)}function GS(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&NS(e,t)}function NS(e,t){return NS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},NS(e,t)}var LS=Od.localeSet.id,US=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"calendarSymbols",!0])).name="gregorian",r.dayNames=new Cp(2),r.eraNames=null,r.meridiemNames=null,r.monthNames=new Cp(2),r}return GS(t,fp),kS(t)}(),MS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"currencySymbol"])).name=$d(e.name,["symbol","isoname","decimal"]),r}return GS(t,yp),kS(t)}(),JS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"currencySymbols",!0])).currencySymbol=new Cp(3),r}return GS(t,fp),kS(t)}(),HS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"datePattern"])).name=$d(e.name,["full","long","med","short"]),r}return GS(t,yp),kS(t)}(),YS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"datePatterns",!0])).datePattern=new Cp(4),r}return GS(t,fp),kS(t)}(),PS=function(e){function t(e){return SS(this,t),FS(this,t,[LS,"dateTimeSymbols"])}return GS(t,Ep),kS(t)}(),OS=function(e){function t(e){return SS(this,t),FS(this,t,[LS,"day"])}return GS(t,yp),kS(t)}(),KS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"dayNames",!0])).abbr=Xd({data:e.abbr,defaultValue:0,validate:function(e){return 1===e}}),r.day=new Cp(7),r}return GS(t,fp),kS(t)}(),TS=function(e){function t(e){return SS(this,t),FS(this,t,[LS,"era"])}return GS(t,yp),kS(t)}(),qS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"eraNames",!0])).era=new Cp(2),r}return GS(t,fp),kS(t)}(),jS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"locale",!0])).desc=e.desc||"",r.name="isoname",r.calendarSymbols=null,r.currencySymbols=null,r.datePatterns=null,r.dateTimeSymbols=null,r.numberPatterns=null,r.numberSymbols=null,r.timePatterns=null,r.typeFaces=null,r}return GS(t,fp),kS(t)}(),WS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"localeSet",!0])).locale=new Cp,r}return GS(t,fp),kS(t)}(),ZS=function(e){function t(e){return SS(this,t),FS(this,t,[LS,"meridiem"])}return GS(t,yp),kS(t)}(),_S=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"meridiemNames",!0])).meridiem=new Cp(2),r}return GS(t,fp),kS(t)}(),XS=function(e){function t(e){return SS(this,t),FS(this,t,[LS,"month"])}return GS(t,yp),kS(t)}(),VS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"monthNames",!0])).abbr=Xd({data:e.abbr,defaultValue:0,validate:function(e){return 1===e}}),r.month=new Cp(12),r}return GS(t,fp),kS(t)}(),zS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"numberPattern"])).name=$d(e.name,["full","long","med","short"]),r}return GS(t,yp),kS(t)}(),$S=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"numberPatterns",!0])).numberPattern=new Cp(4),r}return GS(t,fp),kS(t)}(),eF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"numberSymbol"])).name=$d(e.name,["decimal","grouping","percent","minus","zero"]),r}return GS(t,yp),kS(t)}(),tF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"numberSymbols",!0])).numberSymbol=new Cp(5),r}return GS(t,fp),kS(t)}(),rF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"timePattern"])).name=$d(e.name,["full","long","med","short"]),r}return GS(t,yp),kS(t)}(),AF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"timePatterns",!0])).timePattern=new Cp(4),r}return GS(t,fp),kS(t)}(),nF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"typeFace",!0])).name=""|e.name,r}return GS(t,fp),kS(t)}(),iF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"typeFaces",!0])).typeFace=new Cp,r}return GS(t,fp),kS(t)}(),aF=function(){function e(){SS(this,e)}return kS(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"calendarSymbols",value:function(e){return new US(e)}},{key:"currencySymbol",value:function(e){return new MS(e)}},{key:"currencySymbols",value:function(e){return new JS(e)}},{key:"datePattern",value:function(e){return new HS(e)}},{key:"datePatterns",value:function(e){return new YS(e)}},{key:"dateTimeSymbols",value:function(e){return new PS(e)}},{key:"day",value:function(e){return new OS(e)}},{key:"dayNames",value:function(e){return new KS(e)}},{key:"era",value:function(e){return new TS(e)}},{key:"eraNames",value:function(e){return new qS(e)}},{key:"locale",value:function(e){return new jS(e)}},{key:"localeSet",value:function(e){return new WS(e)}},{key:"meridiem",value:function(e){return new ZS(e)}},{key:"meridiemNames",value:function(e){return new _S(e)}},{key:"month",value:function(e){return new XS(e)}},{key:"monthNames",value:function(e){return new VS(e)}},{key:"numberPattern",value:function(e){return new zS(e)}},{key:"numberPatterns",value:function(e){return new $S(e)}},{key:"numberSymbol",value:function(e){return new eF(e)}},{key:"numberSymbols",value:function(e){return new tF(e)}},{key:"timePattern",value:function(e){return new rF(e)}},{key:"timePatterns",value:function(e){return new AF(e)}},{key:"typeFace",value:function(e){return new nF(e)}},{key:"typeFaces",value:function(e){return new iF(e)}}])}();function oF(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,cF(A.key),A)}}function sF(e,t,r){return t&&oF(e.prototype,t),r&&oF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function cF(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function gF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uF(e,t,r){return t=hF(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,lF()?Reflect.construct(t,r||[],hF(e).constructor):t.apply(e,r))}function lF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(lF=function(){return!!e})()}function hF(e){return hF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hF(e)}function IF(e,t){return IF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},IF(e,t)}var fF=Od.signature.id,CF=function(e){function t(e){return gF(this,t),uF(this,t,[fF,"signature",!0])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&IF(e,t)}(t,fp),sF(t)}(),BF=function(){function e(){gF(this,e)}return sF(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"signature",value:function(e){return new CF(e)}}])}();function QF(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,dF(A.key),A)}}function EF(e,t,r){return t&&QF(e.prototype,t),r&&QF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function dF(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function yF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pF(e,t,r){return t=mF(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,vF()?Reflect.construct(t,r||[],mF(e).constructor):t.apply(e,r))}function vF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(vF=function(){return!!e})()}function mF(e){return mF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},mF(e)}function wF(e,t){return wF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wF(e,t)}var bF=Od.stylesheet.id,kF=function(e){function t(e){return yF(this,t),pF(this,t,[bF,"stylesheet",!0])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wF(e,t)}(t,fp),EF(t)}(),DF=function(){function e(){yF(this,e)}return EF(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"stylesheet",value:function(e){return new kF(e)}}])}();function SF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FF(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,RF(A.key),A)}}function xF(e,t,r){return t&&FF(e.prototype,t),r&&FF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function RF(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function GF(e,t,r){return t=LF(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,NF()?Reflect.construct(t,r||[],LF(e).constructor):t.apply(e,r))}function NF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(NF=function(){return!!e})()}function LF(e){return LF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},LF(e)}function UF(e,t){return UF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},UF(e,t)}var MF=Od.xdp.id,JF=function(e){function t(e){var r;return SF(this,t),(r=GF(this,t,[MF,"xdp",!0])).uuid=e.uuid||"",r.timeStamp=e.timeStamp||"",r.config=null,r.connectionSet=null,r.datasets=null,r.localeSet=null,r.stylesheet=new Cp,r.template=null,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&UF(e,t)}(t,fp),xF(t,[{key:pd,value:function(e){var t=Od[e[Ed]];return t&&e[Qd]===t.id}}])}(),HF=function(){function e(){SF(this,e)}return xF(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"xdp",value:function(e){return new JF(e)}}])}();function YF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PF(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,KF(A.key),A)}}function OF(e,t,r){return t&&PF(e.prototype,t),r&&PF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function KF(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function TF(e,t,r){return t=ZF(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qF()?Reflect.construct(t,r||[],ZF(e).constructor):t.apply(e,r))}function qF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qF=function(){return!!e})()}function jF(e,t,r,A){var n=WF(ZF(1&A?e.prototype:e),t,r);return 2&A&&"function"==typeof n?function(e){return n.apply(r,e)}:n}function WF(){return WF="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=ZF(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},WF.apply(null,arguments)}function ZF(e){return ZF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ZF(e)}function _F(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&XF(e,t)}function XF(e,t){return XF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},XF(e,t)}function VF(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||$F(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zF(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=$F(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function $F(e,t){if(e){if("string"==typeof e)return ex(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ex(e,t):void 0}}function ex(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var tx=Od.xhtml.id,rx=Symbol(),Ax=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),nx=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",function(e){return"none"===e?"none":"normal"}],["xfa-font-horizontal-scale",function(e){return"scaleX(".concat(Math.max(0,Math.min(parseInt(e)/100)).toFixed(2),")")}],["xfa-font-vertical-scale",function(e){return"scaleY(".concat(Math.max(0,Math.min(parseInt(e)/100)).toFixed(2),")")}],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",function(e,t){return kp(.99*(e=t.fontSize=ey(e)))}],["letter-spacing",function(e){return kp(ey(e))}],["line-height",function(e){return kp(ey(e))}],["margin",function(e){return kp(ey(e))}],["margin-bottom",function(e){return kp(ey(e))}],["margin-left",function(e){return kp(ey(e))}],["margin-right",function(e){return kp(ey(e))}],["margin-top",function(e){return kp(ey(e))}],["text-indent",function(e){return kp(ey(e))}],["font-family",function(e){return e}],["vertical-align",function(e){return kp(ey(e))}]]),ix=/\\s+/g,ax=/[\\r\\n]+/g,ox=/\\r\\n?/g;function sx(e,t,r){var A=Object.create(null);if(!e)return A;var n,i=Object.create(null),a=zF(e.split(";").map((function(e){return e.split(":",2)})));try{for(a.s();!(n=a.n()).done;){var o=VF(n.value,2),s=o[0],c=o[1],g=nx.get(s);if(""!==g){var u=c;g&&(u="string"==typeof g?g:g(c,i)),s.endsWith("scale")?A.transform=A.transform?"".concat(A[s]," ").concat(u):u:A[s.replaceAll(/-([a-zA-Z])/g,(function(e,t){return t.toUpperCase()}))]=u}}}catch(e){a.e(e)}finally{a.f()}if(A.fontFamily&&Op({typeface:A.fontFamily,weight:A.fontWeight||"normal",posture:A.fontStyle||"normal",size:i.fontSize||0},t,t[Ad].fontFinder,A),r&&A.verticalAlign&&"0px"!==A.verticalAlign&&A.fontSize){var l=ey(A.fontSize);A.fontSize=kp(.583*l),A.verticalAlign=kp(Math.sign(ey(A.verticalAlign))*l*.333)}return r&&A.fontSize&&(A.fontSize="calc(".concat(A.fontSize," * var(--scale-factor))")),Mp(A),A}var cx=new Set(["body","html"]),gx=function(e){function t(e,r){var A;return YF(this,t),(A=TF(this,t,[tx,r]))[rx]=!1,A.style=e.style||"",A}return _F(t,Qp),OF(t,[{key:xE,value:function(e){var r;jF(t,xE,this,3)([e]),this.style=(r=this).style?r.style.trim().split(/\\s*;\\s*/).filter((function(e){return!!e})).map((function(e){return e.split(/\\s*:\\s*/,2)})).filter((function(e){var t=VF(e,2),A=t[0],n=t[1];return"font-family"===A&&r[Ad].usedTypefaces.add(n),Ax.has(A)})).map((function(e){return e.join(":")})).join(";"):""}},{key:kE,value:function(){return!cx.has(this[Ed])}},{key:vd,value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]?this[rx]=!0:(e=e.replaceAll(ax,""),this.style.includes("xfa-spacerun:yes")||(e=e.replaceAll(ix," "))),e&&(this[UE]+=e)}},{key:md,value:function(e){var t,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],A=Object.create(null),n={top:NaN,bottom:NaN,left:NaN,right:NaN},i=null,a=zF(this.style.split(";").map((function(e){return e.split(":",2)})));try{for(a.s();!(t=a.n()).done;){var o=VF(t.value,2),s=o[0],c=o[1];switch(s){case"font-family":A.typeface=_d(c);break;case"font-size":A.size=ey(c);break;case"font-weight":A.weight=c;break;case"font-style":A.posture=c;break;case"letter-spacing":A.letterSpacing=ey(c);break;case"margin":var g=c.split(/ \\t/).map((function(e){return ey(e)}));switch(g.length){case 1:n.top=n.bottom=n.left=n.right=g[0];break;case 2:n.top=n.bottom=g[0],n.left=n.right=g[1];break;case 3:n.top=g[0],n.bottom=g[2],n.left=n.right=g[1];break;case 4:n.top=g[0],n.left=g[1],n.bottom=g[2],n.right=g[3]}break;case"margin-top":n.top=ey(c);break;case"margin-bottom":n.bottom=ey(c);break;case"margin-left":n.left=ey(c);break;case"margin-right":n.right=ey(c);break;case"line-height":i=ey(c)}}}catch(e){a.e(e)}finally{a.f()}if(e.pushData(A,n,i),this[UE])e.addString(this[UE]);else{var u,l=zF(this[VE]());try{for(l.s();!(u=l.n()).done;){var h=u.value;"#text"!==h[Ed]?h[md](e):e.addString(h[UE])}}catch(e){l.e(e)}finally{l.f()}}r&&e.popFont()}},{key:Md,value:function(e){var t,r=[];return this[HE]={children:r},this[FE]({}),0!==r.length||this[UE]?(t=this[rx]?this[UE]?this[UE].replaceAll(ox,"\\n"):void 0:this[UE]||void 0,Ay.success({name:this[Ed],attributes:{href:this.href,style:sx(this.style,this,this[rx])},children:r,value:t})):Ay.EMPTY}}])}(),ux=function(e){function t(e){var r;return YF(this,t),(r=TF(this,t,[e,"a"])).href=Kp(e.href)||"",r}return _F(t,gx),OF(t)}(),lx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"b"])}return _F(t,gx),OF(t,[{key:md,value:function(e){e.pushFont({weight:"bold"}),jF(t,md,this,3)([e]),e.popFont()}}])}(),hx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"body"])}return _F(t,gx),OF(t,[{key:Md,value:function(e){var r=jF(t,Md,this,3)([e]),A=r.html;return A?(A.name="div",A.attributes.class=["xfaRich"],r):Ay.EMPTY}}])}(),Ix=function(e){function t(e){return YF(this,t),TF(this,t,[e,"br"])}return _F(t,gx),OF(t,[{key:Ld,value:function(){return"\\n"}},{key:md,value:function(e){e.addString("\\n")}},{key:Md,value:function(e){return Ay.success({name:"br"})}}])}(),fx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"html"])}return _F(t,gx),OF(t,[{key:Md,value:function(e){var t=[];if(this[HE]={children:t},this[FE]({}),0===t.length)return Ay.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[UE]||""});if(1===t.length){var r,A=t[0];if(null!==(r=A.attributes)&&void 0!==r&&r.class.includes("xfaRich"))return Ay.success(A)}return Ay.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:t})}}])}(),Cx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"i"])}return _F(t,gx),OF(t,[{key:md,value:function(e){e.pushFont({posture:"italic"}),jF(t,md,this,3)([e]),e.popFont()}}])}(),Bx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"li"])}return _F(t,gx),OF(t)}(),Qx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"ol"])}return _F(t,gx),OF(t)}(),Ex=function(e){function t(e){return YF(this,t),TF(this,t,[e,"p"])}return _F(t,gx),OF(t,[{key:md,value:function(e){jF(t,md,this,3)([e,!1]),e.addString("\\n"),e.addPara(),e.popFont()}},{key:Ld,value:function(){return this[td]()[VE]().at(-1)===this?jF(t,Ld,this,3)([]):jF(t,Ld,this,3)([])+"\\n"}}])}(),dx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"span"])}return _F(t,gx),OF(t)}(),yx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"sub"])}return _F(t,gx),OF(t)}(),px=function(e){function t(e){return YF(this,t),TF(this,t,[e,"sup"])}return _F(t,gx),OF(t)}(),vx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"ul"])}return _F(t,gx),OF(t)}(),mx=function(){function e(){YF(this,e)}return OF(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"a",value:function(e){return new ux(e)}},{key:"b",value:function(e){return new lx(e)}},{key:"body",value:function(e){return new hx(e)}},{key:"br",value:function(e){return new Ix(e)}},{key:"html",value:function(e){return new fx(e)}},{key:"i",value:function(e){return new Cx(e)}},{key:"li",value:function(e){return new Bx(e)}},{key:"ol",value:function(e){return new Qx(e)}},{key:"p",value:function(e){return new Ex(e)}},{key:"span",value:function(e){return new dx(e)}},{key:"sub",value:function(e){return new yx(e)}},{key:"sup",value:function(e){return new px(e)}},{key:"ul",value:function(e){return new vx(e)}}])}(),wx={config:KD,connection:lS,datasets:wS,localeSet:aF,signature:BF,stylesheet:DF,template:Jw,xdp:HF,xhtml:mx};function bx(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,kx(A.key),A)}}function kx(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Dx=function(){return function(e,t,r){return t&&bx(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.namespaceId=t}),[{key:Pd,value:function(e,t){return new Qp(this.namespaceId,e,t)}}])}();function Sx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Fx(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fx(e,t){if(e){if("string"==typeof e)return xx(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xx(e,t):void 0}}function xx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Rx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gx(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Lx(A.key),A)}}function Nx(e,t,r){return t&&Gx(e.prototype,t),r&&Gx(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lx(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Ux(e,t,r){return t=Hx(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Mx()?Reflect.construct(t,r||[],Hx(e).constructor):t.apply(e,r))}function Mx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Mx=function(){return!!e})()}function Jx(){return Jx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Hx(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},Jx.apply(null,arguments)}function Hx(e){return Hx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hx(e)}function Yx(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Px(e,t)}function Px(e,t){return Px=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Px(e,t)}var Ox=function(e){function t(e){var r;return Rx(this,t),(r=Ux(this,t,[-1,"root",Object.create(null)])).element=null,r[id]=e,r}return Yx(t,fp),Nx(t,[{key:yd,value:function(e){return this.element=e,!0}},{key:YE,value:function(){!function(e,t,r,A){var n=Jx(Hx(e.prototype),t,r);return"function"==typeof n?function(e){return n.apply(r,e)}:n}(t,YE,this)([]),this.element.template instanceof bw&&(this[id].set(Dd,this.element),this.element.template[Sd](this[id]),this.element.template[id]=this[id])}}])}(),Kx=function(e){function t(){return Rx(this,t),Ux(this,t,[-1,"",Object.create(null)])}return Yx(t,fp),Nx(t,[{key:yd,value:function(e){return!1}}])}(),Tx=function(){return Nx((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Rx(this,e),this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max.apply(Math,function(e){return function(e){if(Array.isArray(e))return xx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Fx(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Object.values(Od).map((function(e){return e.id})))),this._currentNamespace=t||new Dx(++this._nextNsId)}),[{key:"buildRoot",value:function(e){return new Ox(e)}},{key:"build",value:function(e){var t=e.nsPrefix,r=e.name,A=e.attributes,n=e.namespace,i=e.prefixes,a=null!==n;if(a&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(n)),i&&this._addNamespacePrefix(i),A.hasOwnProperty(dd)){for(var o=wx.datasets,s=A[dd],c=null,g=0,u=Object.entries(s);g<u.length;g++){var l=Sx(u[g],2),h=l[0],I=l[1];if(this._getNamespaceToUse(h)===o){c={xfa:I};break}}c?A[dd]=c:delete A[dd]}var f=this._getNamespaceToUse(t),C=(null==f?void 0:f[Pd](r,A))||new Kx;return C[ld]()&&this._nsAgnosticLevel++,(a||i||C[ld]())&&(C[GE]={hasNamespace:a,prefixes:i,nsAgnostic:C[ld]()}),C}},{key:"isNsAgnostic",value:function(){return this._nsAgnosticLevel>0}},{key:"_searchNamespace",value:function(e){var t=this._namespaces.get(e);if(t)return t;for(var r=0,A=Object.entries(Od);r<A.length;r++){var n=Sx(A[r],2),i=n[0];if((0,n[1].check)(e)){if(t=wx[i])return this._namespaces.set(e,t),t;break}}return t=new Dx(++this._nextNsId),this._namespaces.set(e,t),t}},{key:"_addNamespacePrefix",value:function(e){var t,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Fx(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(e);try{for(r.s();!(t=r.n()).done;){var A=t.value,n=A.prefix,i=A.value,a=this._searchNamespace(i),o=this._namespacePrefixes.get(n);o||(o=[],this._namespacePrefixes.set(n,o)),o.push(a)}}catch(e){r.e(e)}finally{r.f()}}},{key:"_getNamespaceToUse",value:function(e){if(!e)return this._currentNamespace;var t=this._namespacePrefixes.get(e);return(null==t?void 0:t.length)>0?t.at(-1):(q("Unknown namespace prefix: ".concat(e,".")),null)}},{key:"clean",value:function(e){var t=this,r=e.hasNamespace,A=e.prefixes,n=e.nsAgnostic;r&&(this._currentNamespace=this._namespaceStack.pop()),A&&A.forEach((function(e){var r=e.prefix;t._namespacePrefixes.get(r).pop()})),n&&this._nsAgnosticLevel--}}])}();function qx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||jx(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jx(e,t){if(e){if("string"==typeof e)return Wx(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wx(e,t):void 0}}function Wx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Zx(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,_x(A.key),A)}}function _x(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Xx(e,t,r){return t=zx(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Vx()?Reflect.construct(t,r||[],zx(e).constructor):t.apply(e,r))}function Vx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Vx=function(){return!!e})()}function zx(e){return zx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zx(e)}function $x(e,t){return $x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$x(e,t)}var eR=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,A=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Xx(this,t))._builder=new Tx(r),e._stack=[],e._globalData={usedTypefaces:new Set},e._ids=new Map,e._current=e._builder.buildRoot(e._ids),e._errorCode=0,e._whiteRegex=/^\\s+$/,e._nbsps=/\\xa0+/g,e._richText=A,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$x(e,t)}(t,nB),function(e,t,r){return t&&Zx(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"parse",value:function(e){if(this.parseXml(e),0===this._errorCode)return this._current[YE](),this._current.element}},{key:"onText",value:function(e){e=e.replace(this._nbsps,(function(e){return e.slice(1)+" "})),this._richText||this._current[kE]()?this._current[vd](e,this._richText):this._whiteRegex.test(e)||this._current[vd](e.trim())}},{key:"onCdata",value:function(e){this._current[vd](e)}},{key:"_mkAttributes",value:function(e,t){var r,A=null,n=null,i=Object.create({}),a=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=jx(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(e);try{for(a.s();!(r=a.n()).done;){var o=r.value,s=o.name,c=o.value;if("xmlns"===s)A?q("XFA - multiple namespace definition in <".concat(t,">")):A=c;else if(s.startsWith("xmlns:")){var g=s.substring(6);n||(n=[]),n.push({prefix:g,value:c})}else{var u=s.indexOf(":");if(-1===u)i[s]=c;else{var l,h=i[dd];h||(h=i[dd]=Object.create(null));var I=[s.slice(0,u),s.slice(u+1)],f=I[0],C=I[1];((l=h)[f]||(l[f]=Object.create(null)))[C]=c}}}}catch(e){a.e(e)}finally{a.f()}return[A,n,i]}},{key:"_getNameAndPrefix",value:function(e,t){var r=e.indexOf(":");return-1===r?[e,null]:[e.substring(r+1),t?"":e.substring(0,r)]}},{key:"onBeginElement",value:function(e,t,r){var A=qx(this._mkAttributes(t,e),3),n=A[0],i=A[1],a=A[2],o=qx(this._getNameAndPrefix(e,this._builder.isNsAgnostic()),2),s=o[0],c=o[1],g=this._builder.build({nsPrefix:c,name:s,attributes:a,namespace:n,prefixes:i});if(g[Ad]=this._globalData,r)return g[YE](),this._current[yd](g)&&g[xd](this._ids),void g[xE](this._builder);this._stack.push(this._current),this._current=g}},{key:"onEndElement",value:function(e){var r=this._current;if(r[sd]()&&"string"==typeof r[UE]){var A=new t;A._globalData=this._globalData;var n=A.parse(r[UE]);r[UE]=null,r[yd](n)}r[YE](),this._current=this._stack.pop(),this._current[yd](r)&&r[xd](this._ids),r[xE](this._builder)}},{key:"onError",value:function(e){this._errorCode=e}}])}();function tR(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function rR(){rR=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function AR(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function nR(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){AR(i,A,n,a,o,"next",e)}function o(e){AR(i,A,n,a,o,"throw",e)}a(void 0)}))}}function iR(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,aR(A.key),A)}}function aR(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var oR=function(){return function(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);try{this.root=(new eR).parse(e._createDocument(t));var r=new Ww(this.root);this.form=r.bind(),this.dataHandler=new eb(this.root,r.getData()),this.form[Ad].template=this.form}catch(e){q("XFA - an error occurred during parsing and binding: ".concat(e))}}),[{key:"isValid",value:function(){return this.root&&this.form}},{key:"_createPagesHelper",value:function(){var e=this.form[Ud]();return new Promise((function(t,r){var A=function(){try{var n=e.next();n.done?t(n.value):setTimeout(A,0)}catch(e){r(e)}};setTimeout(A,0)}))}},{key:"_createPages",value:(r=nR(rR().mark((function e(){return rR().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._createPagesHelper();case 3:this.pages=e.sent,this.dims=this.pages.children.map((function(e){var t=e.attributes.style,r=t.width,A=t.height;return[0,0,parseInt(r),parseInt(A)]})),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),q("XFA - an error occurred during layout: ".concat(e.t0));case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(){return r.apply(this,arguments)})},{key:"getBoundingBox",value:function(e){return this.dims[e]}},{key:"getNumPages",value:(t=nR(rR().mark((function e(){return rR().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.pages){e.next=3;break}return e.next=3,this._createPages();case 3:return e.abrupt("return",this.dims.length);case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"setImages",value:function(e){this.form[Ad].images=e}},{key:"setFonts",value:function(e){this.form[Ad].fontFinder=new gy(e);var t,r=[],A=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return tR(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tR(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(this.form[Ad].usedTypefaces);try{for(A.s();!(t=A.n()).done;){var n=t.value;n=_d(n),this.form[Ad].fontFinder.find(n)||r.push(n)}}catch(e){A.e(e)}finally{A.f()}return r.length>0?r:null}},{key:"appendFonts",value:function(e,t){this.form[Ad].fontFinder.add(e,t)}},{key:"getPages",value:(e=nR(rR().mark((function e(){var t;return rR().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.pages){e.next=3;break}return e.next=3,this._createPages();case 3:return t=this.pages,this.pages=null,e.abrupt("return",t);case 6:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"serializeData",value:function(e){return this.dataHandler.serialize(e)}}],[{key:"_createDocument",value:function(e){return e["/xdp:xdp"]?Object.values(e).join(""):e["xdp:xdp"]}},{key:"getRichTextAsHtml",value:function(e){if(!e||"string"!=typeof e)return null;try{var t=new eR(mx,!0).parse(e);if(!["body","xhtml"].includes(t[Ed])){var r=mx.body({});r[SE](t),t=r}var A=t[Md]();if(!A.success)return null;var n=A.html,i=n.attributes;return i&&(i.class&&(i.class=i.class.filter((function(e){return!e.startsWith("xfa")}))),i.dir="auto"),{html:n,str:t[Ld]()}}catch(e){q("XFA - an error occurred during parsing of rich text: ".concat(e))}return null}}]);var e,t,r}();function sR(e,t,r){return e.set(cR(e,t),r),r}function cR(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function gR(e,t,r,A){var n=uR(fR(1&A?e.prototype:e),t,r);return 2&A&&"function"==typeof n?function(e){return n.apply(r,e)}:n}function uR(){return uR="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=fR(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},uR.apply(null,arguments)}function lR(e,t,r){return t=fR(t),hR(e,IR()?Reflect.construct(t,r||[],fR(e).constructor):t.apply(e,r))}function hR(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function IR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(IR=function(){return!!e})()}function fR(e){return fR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fR(e)}function CR(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&BR(e,t)}function BR(e,t){return BR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},BR(e,t)}function QR(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=vR(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function ER(){ER=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function dR(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function yR(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){dR(i,A,n,a,o,"next",e)}function o(e){dR(i,A,n,a,o,"throw",e)}a(void 0)}))}}function pR(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||vR(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vR(e,t){if(e){if("string"==typeof e)return mR(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mR(e,t):void 0}}function mR(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function wR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,DR(A.key),A)}}function kR(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function DR(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var SR=function(){return kR((function e(){wR(this,e)}),null,[{key:"createGlobals",value:function(e){return Promise.all([e.ensureCatalog("acroForm"),e.ensureDoc("xfaDatasets"),e.ensureCatalog("structTreeRoot"),e.ensureCatalog("baseUrl"),e.ensureCatalog("attachments")]).then((function(t){var r=pR(t,5),A=r[0],n=r[1],i=r[2],a=r[3],o=r[4];return{pdfManager:e,acroForm:A instanceof He?A:He.empty,xfaDatasets:n,structTreeRoot:i,baseUrl:a,attachments:o}}),(function(e){return q('createGlobals: "'.concat(e,'".')),null}))}},{key:"create",value:(A=yR(ER().mark((function e(t,r,A,n,i,a,o){var s;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i){e.next=6;break}return e.next=3,this._getPageIndex(t,r,A.pdfManager);case 3:e.t0=e.sent,e.next=7;break;case 6:e.t0=null;case 7:return s=e.t0,e.abrupt("return",A.pdfManager.ensure(this,"_create",[t,r,A,n,i,a,s,o]));case 9:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n,i,a,o){return A.apply(this,arguments)})},{key:"_create",value:function(e,t,r,A){var n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,s=e.fetchIfRef(t);if(s instanceof He){var c=r.acroForm,g=r.pdfManager,u=t instanceof Ye?t.toString():"annot_".concat(A.createObjId()),l=s.get("Subtype"),h={xref:e,ref:t,dict:s,subtype:l=l instanceof Ue?l.name:null,id:u,annotationGlobals:r,collectFields:n,orphanFields:i,needAppearances:!n&&!0===c.get("NeedAppearances"),pageIndex:a,evaluatorOptions:g.evaluatorOptions,pageRef:o};switch(l){case"Link":return new KR(h);case"Text":return new OR(h);case"Widget":var I=yt({dict:s,key:"FT"});switch(I=I instanceof Ue?I.name:null){case"Tx":return new JR(h);case"Btn":return new HR(h);case"Ch":return new YR(h);case"Sig":return new PR(h)}return q('Unimplemented widget field type "'.concat(I,'", ')+"falling back to base field type."),new MR(h);case"Popup":return new TR(h);case"FreeText":return new qR(h);case"Line":return new jR(h);case"Square":return new WR(h);case"Circle":return new ZR(h);case"PolyLine":return new _R(h);case"Polygon":return new XR(h);case"Caret":return new VR(h);case"Ink":return new zR(h);case"Highlight":return new $R(h);case"Underline":return new eG(h);case"Squiggly":return new tG(h);case"StrikeOut":return new rG(h);case"Stamp":return new nG(h);case"FileAttachment":return new iG(h);default:return n||q(l?'Unimplemented annotation type "'.concat(l,'", ')+"falling back to base annotation.":"Annotation is missing the required /Subtype."),new NR(h)}}}},{key:"_getPageIndex",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.fetchIfRefAsync(r);case 3:if((n=e.sent)instanceof He){e.next=6;break}return e.abrupt("return",-1);case 6:if(!((i=n.getRaw("P"))instanceof Ye)){e.next=18;break}return e.prev=8,e.next=11,A.ensureCatalog("getPageIndex",[i]);case 11:return a=e.sent,e.abrupt("return",a);case 15:e.prev=15,e.t0=e.catch(8),T('_getPageIndex -- not a valid page reference: "'.concat(e.t0,'".'));case 18:if(!n.has("Kids")){e.next=20;break}return e.abrupt("return",-1);case 20:return e.next=22,A.ensureDoc("numPages");case 22:o=e.sent,s=0;case 24:if(!(s<o)){e.next=51;break}return e.next=27,A.getPage(s);case 27:return c=e.sent,e.next=30,A.ensure(c,"annotations");case 30:g=e.sent,u=QR(g),e.prev=32,u.s();case 34:if((l=u.n()).done){e.next=40;break}if(!((h=l.value)instanceof Ye&&je(h,r))){e.next=38;break}return e.abrupt("return",s);case 38:e.next=34;break;case 40:e.next=45;break;case 42:e.prev=42,e.t1=e.catch(32),u.e(e.t1);case 45:return e.prev=45,u.f(),e.finish(45);case 48:s++,e.next=24;break;case 51:e.next=56;break;case 53:e.prev=53,e.t2=e.catch(0),q('_getPageIndex: "'.concat(e.t2,'".'));case 56:return e.abrupt("return",-1);case 57:case"end":return e.stop()}}),e,null,[[0,53],[8,15],[32,42,45,48]])}))),function(e,t,A){return r.apply(this,arguments)})},{key:"generateImages",value:function(e,t,r){if(!r)return q("generateImages: OffscreenCanvas is not supported, cannot save or print some annotations with images."),null;var A,n,i=QR(e);try{for(i.s();!(n=i.n()).done;){var a=n.value,o=a.bitmapId,s=a.bitmap;s&&(A||(A=new Map),A.set(o,nG.createImage(s,t)))}}catch(e){i.e(e)}finally{i.f()}return A}},{key:"saveNewAnnotations",value:(t=yR(ER().mark((function e(t,r,A,n){var i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=t.xref,o=[],s=[],c=t.options.isOffscreenCanvasSupported,g=QR(A),e.prev=5,g.s();case 7:if((u=g.n()).done){e.next=58;break}if(!(l=u.value).deleted){e.next=11;break}return e.abrupt("continue",56);case 11:e.t0=l.annotationType,e.next=3===e.t0?14:9===e.t0?27:15===e.t0?29:13===e.t0?31:56;break;case 14:if(a){e.next=25;break}return(h=new He(i)).set("BaseFont",Ue.get("Helvetica")),h.set("Type",Ue.get("Font")),h.set("Subtype",Ue.get("Type1")),h.set("Encoding",Ue.get("WinAnsiEncoding")),I=[],a=i.getNewTemporaryRef(),e.next=24,iQ(a,h,I,i);case 24:o.push({ref:a,data:I.join("")});case 25:return s.push(qR.createNewAnnotation(i,l,o,{evaluator:t,task:r,baseFontRef:a})),e.abrupt("break",56);case 27:return l.quadPoints?s.push($R.createNewAnnotation(i,l,o)):s.push(zR.createNewAnnotation(i,l,o)),e.abrupt("break",56);case 29:return s.push(zR.createNewAnnotation(i,l,o)),e.abrupt("break",56);case 31:if(!c){e.next=37;break}return e.next=34,null==n?void 0:n.get(l.bitmapId);case 34:e.t1=e.sent,e.next=38;break;case 37:e.t1=null;case 38:if(null==(f=e.t1)||!f.imageStream){e.next=54;break}if(C=f.imageStream,B=f.smaskStream,Q=[],!B){e.next=49;break}return E=i.getNewTemporaryRef(),e.next=46,iQ(E,B,Q,i);case 46:o.push({ref:E,data:Q.join("")}),C.dict.set("SMask",E),Q.length=0;case 49:return d=f.imageRef=i.getNewTemporaryRef(),e.next=52,iQ(d,C,Q,i);case 52:o.push({ref:d,data:Q.join("")}),f.imageStream=f.smaskStream=null;case 54:return s.push(nG.createNewAnnotation(i,l,o,{image:f})),e.abrupt("break",56);case 56:e.next=7;break;case 58:e.next=63;break;case 60:e.prev=60,e.t2=e.catch(5),g.e(e.t2);case 63:return e.prev=63,g.f(),e.finish(63);case 66:return e.next=68,Promise.all(s);case 68:return e.t3=e.sent,e.t4=o,e.abrupt("return",{annotations:e.t3,dependencies:e.t4});case 71:case"end":return e.stop()}}),e,null,[[5,60,63,66]])}))),function(e,r,A,n){return t.apply(this,arguments)})},{key:"printNewAnnotations",value:(e=yR(ER().mark((function e(t,r,A,n,i){var a,o,s,c,g,u,l,h,I;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return",null);case 2:a=r.options,o=r.xref,s=[],c=QR(n),e.prev=5,c.s();case 7:if((g=c.n()).done){e.next=33;break}if(!(u=g.value).deleted){e.next=11;break}return e.abrupt("continue",31);case 11:e.t0=u.annotationType,e.next=3===e.t0?14:9===e.t0?16:15===e.t0?18:13===e.t0?20:31;break;case 14:return s.push(qR.createNewPrintAnnotation(t,o,u,{evaluator:r,task:A,evaluatorOptions:a})),e.abrupt("break",31);case 16:return u.quadPoints?s.push($R.createNewPrintAnnotation(t,o,u,{evaluatorOptions:a})):s.push(zR.createNewPrintAnnotation(t,o,u,{evaluatorOptions:a})),e.abrupt("break",31);case 18:return s.push(zR.createNewPrintAnnotation(t,o,u,{evaluatorOptions:a})),e.abrupt("break",31);case 20:if(!a.isOffscreenCanvasSupported){e.next=26;break}return e.next=23,null==i?void 0:i.get(u.bitmapId);case 23:e.t1=e.sent,e.next=27;break;case 26:e.t1=null;case 27:return null!=(l=e.t1)&&l.imageStream&&(h=l.imageStream,(I=l.smaskStream)&&h.dict.set("SMask",I),l.imageRef=new Ja(h,h.length),l.imageStream=l.smaskStream=null),s.push(nG.createNewPrintAnnotation(t,o,u,{image:l,evaluatorOptions:a})),e.abrupt("break",31);case 31:e.next=7;break;case 33:e.next=38;break;case 35:e.prev=35,e.t2=e.catch(5),c.e(e.t2);case 38:return e.prev=38,c.f(),e.finish(38);case 41:return e.abrupt("return",Promise.all(s));case 42:case"end":return e.stop()}}),e,null,[[5,35,38,41]])}))),function(t,r,A,n,i){return e.apply(this,arguments)})}]);var e,t,r,A}();function FR(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint8ClampedArray(3);if(!Array.isArray(e))return t;var r=t||new Uint8ClampedArray(3);switch(e.length){case 0:return null;case 1:return Ur.singletons.gray.getRgbItem(e,0,r,0),r;case 3:return Ur.singletons.rgb.getRgbItem(e,0,r,0),r;case 4:return Ur.singletons.cmyk.getRgbItem(e,0,r,0),r;default:return t}}function xR(e){return Array.from(e,(function(e){return e/255}))}function RR(e,t){var r=e.getArray("QuadPoints");if(!St(r,null)||0===r.length||r.length%8>0)return null;for(var A=new Float32Array(r.length),n=0,i=r.length;n<i;n+=8){var a=pR(r.slice(n,n+8),8),o=a[0],s=a[1],c=a[2],g=a[3],u=a[4],l=a[5],h=a[6],I=a[7],f=Math.min(o,c,u,h),C=Math.max(o,c,u,h),B=Math.min(s,g,l,I),Q=Math.max(s,g,l,I);if(null!==t&&(f<t[0]||C>t[2]||B<t[1]||Q>t[3]))return null;A.set([f,Q,C,Q,f,B,C,B],n)}return A}function GR(e,t,r){var A=pR(ge.getAxialAlignedBoundingBox(t,r),4),n=A[0],i=A[1],a=A[2],o=A[3];if(n===a||i===o)return[1,0,0,1,e[0],e[1]];var s=(e[2]-e[0])/(a-n),c=(e[3]-e[1])/(o-i);return[s,0,0,c,e[0]-n*s,e[1]-i*c]}var NR=function(){return kR((function e(t){wR(this,e);var r=t.dict,A=t.xref,n=t.annotationGlobals,i=t.ref,a=t.orphanFields,o=null==a?void 0:a.get(i);o&&r.set("Parent",o),this.setTitle(r.get("T")),this.setContents(r.get("Contents")),this.setModificationDate(r.get("M")),this.setFlags(r.get("F")),this.setRectangle(r.getArray("Rect")),this.setColor(r.getArray("C")),this.setBorderStyle(r),this.setAppearance(r),this.setOptionalContent(r);var s=r.get("MK");this.setBorderAndBackgroundColors(s),this.setRotation(s,r),this.ref=t.ref instanceof Ye?t.ref:null,this._streams=[],this.appearance&&this._streams.push(this.appearance);var c=!!(128&this.flags),g=!!(512&this.flags);if(this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:t.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:t.subtype,hasOwnCanvas:!1,noRotate:!!(16&this.flags),noHTML:c&&g,isEditable:!1,structParent:-1},n.structTreeRoot){var u=r.get("StructParent");this.data.structParent=u=Number.isInteger(u)&&u>=0?u:-1,n.structTreeRoot.addAnnotationIdToPage(t.pageRef,u)}if(t.collectFields){var l=r.get("Kids");if(Array.isArray(l)){var h,I=[],f=QR(l);try{for(f.s();!(h=f.n()).done;){var C=h.value;C instanceof Ye&&I.push(C.toString())}}catch(e){f.e(e)}finally{f.f()}0!==I.length&&(this.data.kidIds=I)}this.data.actions=Mt(A,r,b),this.data.fieldName=this._constructFieldName(r),this.data.pageIndex=t.pageIndex}var B=r.get("IT");B instanceof Ue&&(this.data.it=B.name),this._isOffscreenCanvasSupported=t.evaluatorOptions.isOffscreenCanvasSupported,this._fallbackFontDict=null,this._needAppearances=!1}),[{key:"_hasFlag",value:function(e,t){return!!(e&t)}},{key:"_buildFlags",value:function(e,t){var r=this.flags;if(void 0===e){if(void 0===t)return;return t?-5&r:-3&r|4}return e?(r|=4,t?-33&r|2:-3&r|v):(r&=-35,t?-5&r:4|r)}},{key:"_isViewable",value:function(e){return!this._hasFlag(e,1)&&!this._hasFlag(e,v)}},{key:"_isPrintable",value:function(e){return this._hasFlag(e,4)&&!this._hasFlag(e,2)&&!this._hasFlag(e,1)}},{key:"mustBeViewed",value:function(e,t){var r,A=null==e||null===(r=e.get(this.data.id))||void 0===r?void 0:r.noView;return void 0!==A?!A:this.viewable&&!this._hasFlag(this.flags,2)}},{key:"mustBePrinted",value:function(e){var t,r=null==e||null===(t=e.get(this.data.id))||void 0===t?void 0:t.noPrint;return void 0!==r?!r:this.printable}},{key:"mustBeViewedWhenEditing",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e?!this.data.isEditable:!(null!=t&&t.has(this.data.id))}},{key:"viewable",get:function(){return null!==this.data.quadPoints&&(0===this.flags||this._isViewable(this.flags))}},{key:"printable",get:function(){return null!==this.data.quadPoints&&0!==this.flags&&this._isPrintable(this.flags)}},{key:"_parseStringHelper",value:function(e){var t="string"==typeof e?Ie(e):"";return{str:t,dir:t&&"rtl"===UI(t).dir?"rtl":"ltr"}}},{key:"setDefaultAppearance",value:function(e){var t=e.dict,r=e.annotationGlobals,A=yt({dict:t,key:"DA"})||r.acroForm.get("DA");this._defaultAppearance="string"==typeof A?A:"",this.data.defaultAppearanceData=dC(this._defaultAppearance)}},{key:"setTitle",value:function(e){this._title=this._parseStringHelper(e)}},{key:"setContents",value:function(e){this._contents=this._parseStringHelper(e)}},{key:"setModificationDate",value:function(e){this.modificationDate="string"==typeof e?e:null}},{key:"setFlags",value:function(e){this.flags=Number.isInteger(e)&&e>0?e:0,1&this.flags&&"Annotation"!==this.constructor.name&&(this.flags^=1)}},{key:"hasFlag",value:function(e){return this._hasFlag(this.flags,e)}},{key:"setRectangle",value:function(e){this.rectangle=Rt(e,[0,0,0,0])}},{key:"setColor",value:function(e){this.color=FR(e)}},{key:"setLineEndings",value:function(e){if(this.lineEndings=["None","None"],Array.isArray(e)&&2===e.length)for(var t=0;t<2;t++){var r=e[t];if(r instanceof Ue)switch(r.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[t]=r.name;continue}q("Ignoring invalid lineEnding: ".concat(r))}}},{key:"setRotation",value:function(e,t){this.rotation=0;var r=e instanceof He?e.get("R")||0:t.get("Rotate")||0;Number.isInteger(r)&&0!==r&&((r%=360)<0&&(r+=360),r%90==0&&(this.rotation=r))}},{key:"setBorderAndBackgroundColors",value:function(e){e instanceof He?(this.borderColor=FR(e.getArray("BC"),null),this.backgroundColor=FR(e.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}},{key:"setBorderStyle",value:function(e){if(this.borderStyle=new LR,e instanceof He)if(e.has("BS")){var t=e.get("BS");if(t instanceof He){var r=t.get("Type");r&&!Ke(r,"Border")||(this.borderStyle.setWidth(t.get("W"),this.rectangle),this.borderStyle.setStyle(t.get("S")),this.borderStyle.setDashArray(t.getArray("D")))}}else if(e.has("Border")){var A=e.getArray("Border");Array.isArray(A)&&A.length>=3&&(this.borderStyle.setHorizontalCornerRadius(A[0]),this.borderStyle.setVerticalCornerRadius(A[1]),this.borderStyle.setWidth(A[2],this.rectangle),4===A.length&&this.borderStyle.setDashArray(A[3],!0))}else this.borderStyle.setWidth(0)}},{key:"setAppearance",value:function(e){this.appearance=null;var t=e.get("AP");if(t instanceof He){var r=t.get("N");if(r instanceof ze)this.appearance=r;else if(r instanceof He){var A=e.get("AS");if(A instanceof Ue&&r.has(A.name)){var n=r.get(A.name);n instanceof ze&&(this.appearance=n)}}}}},{key:"setOptionalContent",value:function(e){this.oc=null;var t=e.get("OC");t instanceof Ue?q("setOptionalContent: Support for /Name-entry is not implemented."):t instanceof He&&(this.oc=t)}},{key:"loadResources",value:function(e,t){return t.dict.getAsync("Resources").then((function(t){if(t)return new bE(t,e,t.xref).load().then((function(){return t}))}))}},{key:"getOperatorList",value:(r=yR(ER().mark((function e(t,r,A,n){var i,a,o,s,c,g,u,l,h,I,f,B,Q;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=this.data,a=i.hasOwnCanvas,o=i.id,s=i.rect,c=this.appearance,!(g=!!(a&&2&A))||s[0]!==s[2]&&s[1]!==s[3]){e.next=6;break}return this.data.hasOwnCanvas=!1,e.abrupt("return",{opList:new kf,separateForm:!1,separateCanvas:!1});case 6:if(c){e.next=11;break}if(g){e.next=9;break}return e.abrupt("return",{opList:new kf,separateForm:!1,separateCanvas:!1});case 9:(c=new or("")).dict=new He;case 11:return u=c.dict,e.next=14,this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],c);case 14:if(l=e.sent,h=xt(u.getArray("BBox"),[0,0,1,1]),I=Ft(u.getArray("Matrix"),C),f=GR(s,h,I),B=new kf,!this.oc){e.next=23;break}return e.next=22,t.parseMarkedContentProps(this.oc,null);case 22:Q=e.sent;case 23:return void 0!==Q&&B.addOp(J,["OC",Q]),B.addOp(80,[o,s,f,I,g]),e.next=27,t.getOperatorList({stream:c,task:r,resources:l,operatorList:B,fallbackFontDict:this._fallbackFontDict});case 27:return B.addOp(81,[]),void 0!==Q&&B.addOp(H,[]),this.reset(),e.abrupt("return",{opList:B,separateForm:!1,separateCanvas:g});case 31:case"end":return e.stop()}}),e,this)}))),function(e,t,A,n){return r.apply(this,arguments)})},{key:"save",value:(t=yR(ER().mark((function e(t,r,A){return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}}),e)}))),function(e,r,A){return t.apply(this,arguments)})},{key:"hasTextContent",get:function(){return!1}},{key:"extractTextContent",value:(e=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.appearance){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.loadResources(["ExtGState","Font","Properties","XObject"],this.appearance);case 4:return n=e.sent,i=[],a=[],o=null,e.t0=Math.Infinity,u={desiredSize:e.t0,ready:!0,enqueue(e,t){s=QR(e.items);try{for(s.s();!(c=s.n()).done;)void 0!==(g=c.value).str&&(o||(o=g.transform.slice(-2)),a.push(g.str),g.hasEOL&&(i.push(a.join("").trimEnd()),a.length=0))}catch(e){s.e(e)}finally{s.f()}}},e.next=12,t.getTextContent({stream:this.appearance,task:r,resources:n,includeMarkedContent:!0,keepWhiteSpace:!0,sink:u,viewBox:A});case 12:this.reset(),a.length&&i.push(a.join("").trimEnd()),(i.length>1||i[0])&&(l=this.appearance.dict,h=xt(l.getArray("BBox"),null),I=Ft(l.getArray("Matrix"),null),this.data.textPosition=this._transformPoint(o,h,I),this.data.textContent=i);case 15:case"end":return e.stop()}}),e,this)}))),function(t,r,A){return e.apply(this,arguments)})},{key:"_transformPoint",value:function(e,t,r){var A=this.data.rect;t||(t=[0,0,1,1]),r||(r=[1,0,0,1,0,0]);var n=GR(A,t,r);return n[4]-=A[0],n[5]-=A[1],e=ge.applyTransform(e,n),ge.applyTransform(e,r)}},{key:"getFieldObject",value:function(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}},{key:"reset",value:function(){var e,t=QR(this._streams);try{for(t.s();!(e=t.n()).done;)e.value.reset()}catch(e){t.e(e)}finally{t.f()}}},{key:"_constructFieldName",value:function(e){if(!e.has("T")&&!e.has("Parent"))return q("Unknown field name, falling back to empty field name."),"";if(!e.has("Parent"))return Ie(e.get("T"));var t=[];e.has("T")&&t.unshift(Ie(e.get("T")));var r=e,A=new Pe;for(e.objId&&A.put(e.objId);r.has("Parent")&&(r=r.get("Parent"))instanceof He&&(!r.objId||!A.has(r.objId));)r.objId&&A.put(r.objId),r.has("T")&&t.unshift(Ie(r.get("T")));return t.join(".")}}]);var e,t,r}(),LR=function(){return kR((function e(){wR(this,e),this.width=1,this.rawWidth=1,this.style=1,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}),[{key:"setWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0,0];if(e instanceof Ue)this.width=0;else if("number"==typeof e){if(e>0){this.rawWidth=e;var r=(t[2]-t[0])/2,A=(t[3]-t[1])/2;r>0&&A>0&&(e>r||e>A)&&(q("AnnotationBorderStyle.setWidth - ignoring width: ".concat(e)),e=1)}this.width=e}}},{key:"setStyle",value:function(e){if(e instanceof Ue)switch(e.name){case"S":this.style=1;break;case"D":this.style=2;break;case"B":this.style=3;break;case"I":this.style=4;break;case"U":this.style=5}}},{key:"setDashArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(e)){var r,A=!0,n=!0,i=QR(e);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(!(+a>=0)){A=!1;break}a>0&&(n=!1)}}catch(e){i.e(e)}finally{i.f()}0===e.length||A&&!n?(this.dashArray=e,t&&this.setStyle(Ue.get("D"))):this.width=0}else e&&(this.width=0)}},{key:"setHorizontalCornerRadius",value:function(e){Number.isInteger(e)&&(this.horizontalCornerRadius=e)}},{key:"setVerticalCornerRadius",value:function(e){Number.isInteger(e)&&(this.verticalCornerRadius=e)}}])}(),UR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict;if(A.has("IRT")){var n=A.getRaw("IRT");r.data.inReplyTo=n instanceof Ye?n.toString():null;var i=A.get("RT");r.data.replyType=i instanceof Ue?i.name:"R"}var a=null;if(r.data.replyType===p){var o=A.get("IRT");r.setTitle(o.get("T")),r.data.titleObj=r._title,r.setContents(o.get("Contents")),r.data.contentsObj=r._contents,o.has("CreationDate")?(r.setCreationDate(o.get("CreationDate")),r.data.creationDate=r.creationDate):r.data.creationDate=null,o.has("M")?(r.setModificationDate(o.get("M")),r.data.modificationDate=r.modificationDate):r.data.modificationDate=null,a=o.getRaw("Popup"),o.has("C")?(r.setColor(o.getArray("C")),r.data.color=r.color):r.data.color=null}else r.data.titleObj=r._title,r.setCreationDate(A.get("CreationDate")),r.data.creationDate=r.creationDate,a=A.getRaw("Popup"),A.has("C")||(r.data.color=null);return r.data.popupRef=a instanceof Ye?a.toString():null,A.has("RC")&&(r.data.richText=oR.getRichTextAsHtml(A.get("RC"))),r}return CR(t,NR),kR(t,[{key:"setCreationDate",value:function(e){this.creationDate="string"==typeof e?e:null}},{key:"_setDefaultAppearance",value:function(e){var t=e.xref,r=e.extra,A=e.strokeColor,n=e.fillColor,i=e.blendMode,a=e.strokeAlpha,o=e.fillAlpha,s=e.pointsCallback,c=Number.MAX_VALUE,g=Number.MAX_VALUE,u=Number.MIN_VALUE,l=Number.MIN_VALUE,h=["q"];r&&h.push(r),A&&h.push("".concat(A[0]," ").concat(A[1]," ").concat(A[2]," RG")),n&&h.push("".concat(n[0]," ").concat(n[1]," ").concat(n[2]," rg"));var I=this.data.quadPoints;I||(I=Float32Array.from([this.rectangle[0],this.rectangle[3],this.rectangle[2],this.rectangle[3],this.rectangle[0],this.rectangle[1],this.rectangle[2],this.rectangle[1]]));for(var f=0,C=I.length;f<C;f+=8){var B=pR(s(h,I.subarray(f,f+8)),4),Q=B[0],E=B[1],d=B[2],y=B[3];c=Math.min(c,Q),u=Math.max(u,E),g=Math.min(g,d),l=Math.max(l,y)}h.push("Q");var p=new He(t),v=new He(t);v.set("Subtype",Ue.get("Form"));var m=new or(h.join(" "));m.dict=v,p.set("Fm0",m);var w=new He(t);i&&w.set("BM",Ue.get(i)),"number"==typeof a&&w.set("CA",a),"number"==typeof o&&w.set("ca",o);var b=new He(t);b.set("GS0",w);var k=new He(t);k.set("ExtGState",b),k.set("XObject",p);var D=new He(t);D.set("Resources",k);var S=this.data.rect=[c,g,u,l];D.set("BBox",S),this.appearance=new or("/GS0 gs /Fm0 Do"),this.appearance.dict=D,this._streams.push(this.appearance,m)}}],[{key:"createNewAnnotation",value:(A=yR(ER().mark((function e(t,r,A,n){var i,a,o,s,c;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.ref||(r.ref=t.getNewTemporaryRef()),i=r.ref,e.next=4,this.createNewAppearanceStream(r,t,n);case 4:if(a=e.sent,o=[],!a){e.next=14;break}return c=t.getNewTemporaryRef(),s=this.createNewDict(r,t,{apRef:c}),e.next=11,iQ(c,a,o,t);case 11:A.push({ref:c,data:o.join("")}),e.next=15;break;case 14:s=this.createNewDict(r,t,{});case 15:return Number.isInteger(r.parentTreeId)&&s.set("StructParent",r.parentTreeId),o.length=0,e.next=19,iQ(i,s,o,t);case 19:return e.abrupt("return",{ref:i,data:o.join("")});case 20:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n){return A.apply(this,arguments)})},{key:"createNewPrintAnnotation",value:(r=yR(ER().mark((function e(t,r,A,n){var i,a,o;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createNewAppearanceStream(A,r,n);case 2:return i=e.sent,a=this.createNewDict(A,r,i?{ap:i}:{}),o=new this.prototype.constructor({dict:a,xref:r,annotationGlobals:t,evaluatorOptions:n.evaluatorOptions}),A.ref&&(o.ref=o.refToReplace=A.ref),e.abrupt("return",o);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t,A,n){return r.apply(this,arguments)})}]);var r,A}(),MR=function(e){function t(e){var r,A;wR(this,t),A=lR(this,t,[e]);var n=e.dict,i=e.xref,a=e.annotationGlobals,o=A.data;A._needAppearances=e.needAppearances,o.annotationType=20,void 0===o.fieldName&&(o.fieldName=A._constructFieldName(n)),void 0===o.actions&&(o.actions=Mt(i,n,b));var s=yt({dict:n,key:"V",getArray:!0});o.fieldValue=A._decodeFormValue(s);var c=yt({dict:n,key:"DV",getArray:!0});if(o.defaultFieldValue=A._decodeFormValue(c),void 0===s&&a.xfaDatasets){var g=A._title.str;g&&(A._hasValueFromXFA=!0,o.fieldValue=s=a.xfaDatasets.getValue(g))}void 0===s&&null!==o.defaultFieldValue&&(o.fieldValue=o.defaultFieldValue),o.alternativeText=Ie(n.get("TU")||""),A.setDefaultAppearance(e),o.hasAppearance||(o.hasAppearance=A._needAppearances&&void 0!==o.fieldValue&&null!==o.fieldValue);var u=yt({dict:n,key:"FT"});o.fieldType=u instanceof Ue?u.name:null;var l=yt({dict:n,key:"DR"}),h=a.acroForm.get("DR"),I=null===(r=A.appearance)||void 0===r?void 0:r.dict.get("Resources");return A._fieldResources={localResources:l,acroFormResources:h,appearanceResources:I,mergedResources:He.merge({xref:i,dictArray:[l,I,h],mergeSubDicts:!0})},o.fieldFlags=yt({dict:n,key:"Ff"}),(!Number.isInteger(o.fieldFlags)||o.fieldFlags<0)&&(o.fieldFlags=0),o.readOnly=A.hasFieldFlag(1),o.required=A.hasFieldFlag(2),o.hidden=A._hasFlag(o.annotationFlags,2)||A._hasFlag(o.annotationFlags,v),A}return CR(t,NR),kR(t,[{key:"_decodeFormValue",value:function(e){return Array.isArray(e)?e.filter((function(e){return"string"==typeof e})).map((function(e){return Ie(e)})):e instanceof Ue?Ie(e.name):"string"==typeof e?Ie(e):null}},{key:"hasFieldFlag",value:function(e){return!!(this.data.fieldFlags&e)}},{key:"_isViewable",value:function(e){return!0}},{key:"mustBeViewed",value:function(e,r){return r?this.viewable:gR(t,"mustBeViewed",this,3)([e,r])&&!this._hasFlag(this.flags,v)}},{key:"getRotationMatrix",value:function(e){var t,r=null==e||null===(t=e.get(this.data.id))||void 0===t?void 0:t.rotation;return void 0===r&&(r=this.rotation),0===r?C:_t(r,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1])}},{key:"getBorderAndBackgroundAppearances",value:function(e){var t,r=null==e||null===(t=e.get(this.data.id))||void 0===t?void 0:t.rotation;if(void 0===r&&(r=this.rotation),!this.backgroundColor&&!this.borderColor)return"";var A=this.data.rect[2]-this.data.rect[0],n=this.data.rect[3]-this.data.rect[1],i=0===r||180===r?"0 0 ".concat(A," ").concat(n," re"):"0 0 ".concat(n," ").concat(A," re"),a="";if(this.backgroundColor&&(a="".concat(pC(this.backgroundColor,!0)," ").concat(i," f ")),this.borderColor){var o=this.borderStyle.width||1;a+="".concat(o," w ").concat(pC(this.borderColor,!1)," ").concat(i," S ")}return a}},{key:"getOperatorList",value:(i=yR(ER().mark((function e(r,A,n,i){var a,o,s,c,g,u,l,h;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(16&n)||this instanceof PR||this.data.noHTML||this.data.hasOwnCanvas){e.next=2;break}return e.abrupt("return",{opList:new kf,separateForm:!0,separateCanvas:!1});case 2:if(this._hasText){e.next=4;break}return e.abrupt("return",gR(t,"getOperatorList",this,3)([r,A,n,i]));case 4:return e.next=6,this._getAppearance(r,A,n,i);case 6:if(a=e.sent,!this.appearance||null!==a){e.next=9;break}return e.abrupt("return",gR(t,"getOperatorList",this,3)([r,A,n,i]));case 9:if(o=new kf,this._defaultAppearance&&null!==a){e.next=12;break}return e.abrupt("return",{opList:o,separateForm:!1,separateCanvas:!1});case 12:if(s=!!(this.data.hasOwnCanvas&&2&n),c=[1,0,0,1,0,0],g=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],u=GR(this.data.rect,g,c),!this.oc){e.next=20;break}return e.next=19,r.parseMarkedContentProps(this.oc,null);case 19:l=e.sent;case 20:return void 0!==l&&o.addOp(J,["OC",l]),o.addOp(80,[this.data.id,this.data.rect,u,this.getRotationMatrix(i),s]),h=new or(a),e.next=25,r.getOperatorList({stream:h,task:A,resources:this._fieldResources.mergedResources,operatorList:o});case 25:return o.addOp(81,[]),void 0!==l&&o.addOp(H,[]),e.abrupt("return",{opList:o,separateForm:!1,separateCanvas:s});case 28:case"end":return e.stop()}}),e,this)}))),function(e,t,r,A){return i.apply(this,arguments)})},{key:"_getMKDict",value:function(e){var t=new He(null);return e&&t.set("R",e),this.borderColor&&t.set("BC",xR(this.borderColor)),this.backgroundColor&&t.set("BG",xR(this.backgroundColor)),t.size>0?t:null}},{key:"amendSavedDict",value:function(e,t){}},{key:"save",value:(n=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,B,Q,E,d,y,p,v,m,w,b,k,D;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=null==A?void 0:A.get(this.data.id),a=this._buildFlags(null==i?void 0:i.noView,null==i?void 0:i.noPrint),o=null==i?void 0:i.value,s=null==i?void 0:i.rotation,o!==this.data.fieldValue&&void 0!==o){e.next=7;break}if(this._hasValueFromXFA||void 0!==s||void 0!==a){e.next=6;break}return e.abrupt("return",null);case 6:o||(o=this.data.fieldValue);case 7:if(void 0!==s||this._hasValueFromXFA||!Array.isArray(o)||!Array.isArray(this.data.fieldValue)||!Be(o,this.data.fieldValue)||void 0!==a){e.next=9;break}return e.abrupt("return",null);case 9:if(void 0===s&&(s=this.rotation),c=null,this._needAppearances){e.next=19;break}return e.next=14,this._getAppearance(t,r,8,A);case 14:if(null!==(c=e.sent)||void 0!==a){e.next=17;break}return e.abrupt("return",null);case 17:e.next=19;break;case 19:if(g=!1,null!==(n=c)&&void 0!==n&&n.needAppearances&&(g=!0,c=null),u=t.xref,(l=u.fetchIfRef(this.ref))instanceof He){e.next=25;break}return e.abrupt("return",null);case 25:h=new He(u),I=QR(l.getKeys());try{for(I.s();!(f=I.n()).done;)"AP"!==(B=f.value)&&h.set(B,l.getRaw(B))}catch(e){I.e(e)}finally{I.f()}if(void 0!==a&&(h.set("F",a),null!==c||g||(Q=l.getRaw("AP"))&&h.set("AP",Q)),E={path:this.data.fieldName,value:o},h.set("V",Array.isArray(o)?o.map(jt):jt(o)),this.amendSavedDict(A,h),(d=this._getMKDict(s))&&h.set("MK",d),y=[],p=[{ref:this.ref,data:"",xfa:E,needAppearances:g}],null===c){e.next=53;break}return v=u.getNewTemporaryRef(),m=new He(u),h.set("AP",m),m.set("N",v),w=this._getSaveFieldResources(u),b=new or(c),(k=b.dict=new He(u)).set("Subtype",Ue.get("Form")),k.set("Resources",w),k.set("BBox",[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]]),(D=this.getRotationMatrix(A))!==C&&k.set("Matrix",D),e.next=51,iQ(v,b,y,u);case 51:p.push({ref:v,data:y.join(""),xfa:null,needAppearances:!1}),y.length=0;case 53:return h.set("M","D:".concat(Qe())),e.next=56,iQ(this.ref,h,y,u);case 56:return p[0].data=y.join(""),e.abrupt("return",p);case 58:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"_getAppearance",value:(A=yR(ER().mark((function e(r,A,n,i){var a,o,s,c,g,u,l,h,I,f,C,B,Q,d,y,p,v,w,b,k,D,S,F,x,R,G,N,L,U,M,J,H,Y,P,O,K,T,j,Z,_,X,V,z,$;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.hasFieldFlag(m)){e.next=3;break}return e.abrupt("return",null);case 3:if((a=null==i?void 0:i.get(this.data.id))&&(o=a.formattedValue||a.value,s=a.rotation),void 0!==s||void 0!==o||this._needAppearances){e.next=8;break}if(this._hasValueFromXFA&&!this.appearance){e.next=8;break}return e.abrupt("return",null);case 8:if(c=this.getBorderAndBackgroundAppearances(i),void 0!==o){e.next=13;break}if(o=this.data.fieldValue){e.next=13;break}return e.abrupt("return","/Tx BMC q ".concat(c,"Q EMC"));case 13:if(Array.isArray(o)&&1===o.length&&(o=o[0]),W("string"==typeof o,"Expected \`value\` to be a string."),o=o.trimEnd(),this.data.combo&&(g=this.data.options.find((function(e){var t=e.exportValue;return o===t})),o=(null==g?void 0:g.displayValue)||o),""!==o){e.next=19;break}return e.abrupt("return","/Tx BMC q ".concat(c,"Q EMC"));case 19:return void 0===s&&(s=this.rotation),u=-1,this.data.multiLine?(l=o.split(/\\r\\n?|\\n/).map((function(e){return e.normalize("NFC")})),u=l.length):l=[o.replace(/\\r\\n?|\\n/,"").normalize("NFC")],h=1,I=2,f=this.data.rect[3]-this.data.rect[1],C=this.data.rect[2]-this.data.rect[0],90!==s&&270!==s||(C=(B=[f,C])[0],f=B[1]),this._defaultAppearance||(this.data.defaultAppearanceData=dC(this._defaultAppearance="/Helvetica 0 Tf 0 g")),e.next=30,t._getFontData(r,A,this.data.defaultAppearanceData,this._fieldResources.mergedResources);case 30:Q=e.sent,v=[],w=!1,b=QR(l);try{for(b.s();!(k=b.n()).done;)D=k.value,(S=Q.encodeString(D)).length>1&&(w=!0),v.push(S.join(""))}catch(e){b.e(e)}finally{b.f()}if(!(w&&8&n)){e.next=37;break}return e.abrupt("return",{needAppearances:!0});case 37:if(!w||!this._isOffscreenCanvasSupported){e.next=59;break}if(F=this.data.comb?"monospace":"sans-serif",x=new vC(r.xref,F),R=x.createFontResources(l.join("")),G=R.getRaw("Font"),this._fieldResources.mergedResources.has("Font")){N=this._fieldResources.mergedResources.get("Font"),L=QR(G.getKeys());try{for(L.s();!(U=L.n()).done;)M=U.value,N.set(M,G.getRaw(M))}catch(e){L.e(e)}finally{L.f()}}else this._fieldResources.mergedResources.set("Font",G);return J=x.fontName.name,e.next=46,t._getFontData(r,A,{fontName:J,fontSize:0},R);case 46:for(Q=e.sent,H=0,Y=v.length;H<Y;H++)v[H]=Zt(l[H]);P=Object.assign(Object.create(null),this.data.defaultAppearanceData),this.data.defaultAppearanceData.fontSize=0,this.data.defaultAppearanceData.fontName=J,O=this._computeFontSize(f-2*h,C-2*I,o,Q,u),K=pR(O,3),d=K[0],y=K[1],p=K[2],this.data.defaultAppearanceData=P,e.next=65;break;case 59:this._isOffscreenCanvasSupported||q("_getAppearance: OffscreenCanvas is not supported, annotation may not render correctly."),T=this._computeFontSize(f-2*h,C-2*I,o,Q,u),j=pR(T,3),d=j[0],y=j[1],p=j[2];case 65:if(Z=Q.descent,Z=isNaN(Z)?E*p:Math.max(E*p,Math.abs(Z)*y),_=Math.min(Math.floor((f-y)/2),h),X=this.data.textAlignment,!this.data.multiLine){e.next=71;break}return e.abrupt("return",this._getMultilineAppearance(d,v,Q,y,C,f,X,I,_,Z,p,i));case 71:if(!this.data.comb){e.next=73;break}return e.abrupt("return",this._getCombAppearance(d,Q,v[0],y,C,f,I,_,Z,p,i));case 73:if(V=_+Z,!(0===X||X>2)){e.next=76;break}return e.abrupt("return","/Tx BMC q ".concat(c,"BT ")+d+" 1 0 0 1 ".concat(Tt(I)," ").concat(Tt(V)," Tm (").concat(Lt(v[0]),") Tj")+" ET Q EMC");case 76:return z={shift:0},$=this._renderText(v[0],Q,y,C,X,z,I,V),e.abrupt("return","/Tx BMC q ".concat(c,"BT ")+d+" 1 0 0 1 0 0 Tm ".concat($)+" ET Q EMC");case 79:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n){return A.apply(this,arguments)})},{key:"_getTextWidth",value:function(e,t){return t.charsToGlyphs(e).reduce((function(e,t){return e+t.width}),0)/1e3}},{key:"_computeFontSize",value:function(e,t,r,A,n){var i=this,a=this.data.defaultAppearanceData.fontSize,o=(a||12)*Q,s=Math.round(e/o);if(!a){var c=function(e){return Math.floor(100*e)/100};if(-1===n){var g=this._getTextWidth(r,A);a=c(Math.min(e/Q,t/g)),s=1}else{var u,l=r.split(/\\r\\n?|\\n/),h=[],I=QR(l);try{for(I.s();!(u=I.n()).done;){var f=u.value,C=A.encodeString(f).join(""),B=A.charsToGlyphs(C),E=A.getCharPositions(C);h.push({line:C,glyphs:B,positions:E})}}catch(e){I.e(e)}finally{I.f()}var d=function(r){for(var n=0,a=0,o=h;a<o.length;a++){var s=o[a];if((n+=i._splitLine(null,A,r,t,s).length*r)>e)return!0}return!1};for(s=Math.max(s,n);d(a=c((o=e/s)/Q));)s++}var y=this.data.defaultAppearanceData,p=y.fontName,v=y.fontColor;this._defaultAppearance=function(e){var t=e.fontSize,r=e.fontColor;return"/".concat(Nt(e.fontName)," ").concat(t," Tf ").concat(pC(r,!0))}({fontSize:a,fontName:p,fontColor:v})}return[this._defaultAppearance,a,e/s]}},{key:"_renderText",value:function(e,t,r,A,n,i,a,o){var s,c=Tt((s=1===n?(A-this._getTextWidth(e,t)*r)/2:2===n?A-this._getTextWidth(e,t)*r-a:a)-i.shift);return i.shift=s,o=Tt(o),"".concat(c," ").concat(o," Td (").concat(Lt(e),") Tj")}},{key:"_getSaveFieldResources",value:function(e){var t,r=this._fieldResources,A=r.localResources,n=r.appearanceResources,i=r.acroFormResources,a=null===(t=this.data.defaultAppearanceData)||void 0===t?void 0:t.fontName;if(!a)return A||He.empty;for(var o=0,s=[A,n];o<s.length;o++){var c=s[o];if(c instanceof He){var g=c.get("Font");if(g instanceof He&&g.has(a))return c}}if(i instanceof He){var u=i.get("Font");if(u instanceof He&&u.has(a)){var l=new He(e);l.set(a,u.getRaw(a));var h=new He(e);return h.set("Font",l),He.merge({xref:e,dictArray:[h,A],mergeSubDicts:!0})}}return A||He.empty}},{key:"getFieldObject",value:function(){return null}}],[{key:"_getFontData",value:(r=yR(ER().mark((function e(t,r,A,n){var i,a,o,s;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=new kf,a={font:null,clone(){return this}},o=A.fontName,s=A.fontSize,e.next=5,t.handleSetFont(n,[o&&Ue.get(o),s],null,i,r,a,null);case 5:return e.abrupt("return",a.font);case 6:case"end":return e.stop()}}),e)}))),function(e,t,A,n){return r.apply(this,arguments)})}]);var r,A,n,i}(),JR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict;A.has("PMD")&&(r.flags|=2,r.data.hidden=!0,q("Barcodes are not supported")),r.data.hasOwnCanvas=r.data.readOnly&&!r.data.noHTML,r._hasText=!0,"string"!=typeof r.data.fieldValue&&(r.data.fieldValue="");var n=yt({dict:A,key:"Q"});(!Number.isInteger(n)||n<0||n>2)&&(n=null),r.data.textAlignment=n;var i=yt({dict:A,key:"MaxLen"});return(!Number.isInteger(i)||i<0)&&(i=0),r.data.maxLen=i,r.data.multiLine=r.hasFieldFlag(4096),r.data.comb=r.hasFieldFlag(16777216)&&!r.hasFieldFlag(4096)&&!r.hasFieldFlag(m)&&!r.hasFieldFlag(1048576)&&0!==r.data.maxLen,r.data.doNotScroll=r.hasFieldFlag(8388608),r}return CR(t,MR),kR(t,[{key:"hasTextContent",get:function(){return!!this.appearance&&!this._needAppearances}},{key:"_getCombAppearance",value:function(e,t,r,A,n,i,a,o,s,c,g){var u,l=n/this.data.maxLen,h=this.getBorderAndBackgroundAppearances(g),I=[],f=QR(t.getCharPositions(r));try{for(f.s();!(u=f.n()).done;){var C=pR(u.value,2),B=C[0],Q=C[1];I.push("(".concat(Lt(r.substring(B,Q)),") Tj"))}}catch(e){f.e(e)}finally{f.f()}var E=I.join(" ".concat(Tt(l)," 0 Td "));return"/Tx BMC q ".concat(h,"BT ")+e+" 1 0 0 1 ".concat(Tt(a)," ").concat(Tt(o+s)," Tm ").concat(E)+" ET Q EMC"}},{key:"_getMultilineAppearance",value:function(e,t,r,A,n,i,a,o,s,c,g,u){for(var l=[],h=n-2*o,I={shift:0},f=0,C=t.length;f<C;f++)for(var B=t[f],Q=this._splitLine(B,r,A,h),E=0,d=Q.length;E<d;E++){var y=Q[E],p=0===f&&0===E?-s-(g-c):-g;l.push(this._renderText(y,r,A,n,a,I,o,p))}var v=this.getBorderAndBackgroundAppearances(u),m=l.join("\\n");return"/Tx BMC q ".concat(v,"BT ")+e+" 1 0 0 1 0 ".concat(Tt(i)," Tm ").concat(m)+" ET Q EMC"}},{key:"_splitLine",value:function(e,t,r,A){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};e=n.line||e;var i=n.glyphs||t.charsToGlyphs(e);if(i.length<=1)return[e];for(var a=n.positions||t.getCharPositions(e),o=r/1e3,s=[],c=-1,g=-1,u=-1,l=0,h=0,I=0,f=i.length;I<f;I++){var C=pR(a[I],2),B=C[0],Q=C[1],E=i[I],d=E.width*o;" "===E.unicode?h+d>A?(s.push(e.substring(l,B)),l=B,h=d,c=-1,u=-1):(h+=d,c=B,g=Q,u=I):h+d>A?-1!==c?(s.push(e.substring(l,g)),l=g,I=u+1,c=-1,h=0):(s.push(e.substring(l,B)),l=B,h=d):h+=d}return l<e.length&&s.push(e.substring(l,e.length)),s}},{key:"extractTextContent",value:(r=yR(ER().mark((function e(r,A,n){var i,a,o;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,gR(t,"extractTextContent",this,3)([r,A,n]);case 2:if(i=this.data.textContent){e.next=5;break}return e.abrupt("return");case 5:if((a=i.join("\\n"))!==this.data.fieldValue){e.next=8;break}return e.abrupt("return");case 8:o=a.replaceAll(/([.*+?^\${}()|[\\]\\\\])|(\\s+)/g,(function(e,t){return t?"\\\\".concat(t):"\\\\s+"})),new RegExp("^\\\\s*".concat(o,"\\\\s*$")).test(this.data.fieldValue)&&(this.data.textContent=this.data.fieldValue.split("\\n"));case 10:case"end":return e.stop()}}),e,this)}))),function(e,t,A){return r.apply(this,arguments)})},{key:"getFieldObject",value:function(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||"",multiline:this.data.multiLine,password:this.hasFieldFlag(m),charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:"text"}}}]);var r}(),HR=function(e){function t(e){var r;return wR(this,t),(r=lR(this,t,[e])).checkedAppearance=null,r.uncheckedAppearance=null,r.data.checkBox=!r.hasFieldFlag(32768)&&!r.hasFieldFlag(w),r.data.radioButton=r.hasFieldFlag(32768)&&!r.hasFieldFlag(w),r.data.pushButton=r.hasFieldFlag(w),r.data.isTooltipOnly=!1,r.data.checkBox?r._processCheckBox(e):r.data.radioButton?r._processRadioButton(e):r.data.pushButton?(r.data.hasOwnCanvas=!0,r.data.noHTML=!1,r._processPushButton(e)):q("Invalid field flags for button widget annotation"),r}return CR(t,MR),kR(t,[{key:"getOperatorList",value:(i=yR(ER().mark((function e(r,A,n,i){var a,o,s,c,g,u,l;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.pushButton){e.next=2;break}return e.abrupt("return",gR(t,"getOperatorList",this,3)([r,A,n,!1,i]));case 2:if(a=null,o=null,i&&(s=i.get(this.data.id),a=s?s.value:null,o=s?s.rotation:null),null!==a||!this.appearance){e.next=7;break}return e.abrupt("return",gR(t,"getOperatorList",this,3)([r,A,n,i]));case 7:if(null==a&&(a=this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue),!(c=a?this.checkedAppearance:this.uncheckedAppearance)){e.next=18;break}return g=this.appearance,u=Ft(c.dict.getArray("Matrix"),C),o&&c.dict.set("Matrix",this.getRotationMatrix(i)),this.appearance=c,l=gR(t,"getOperatorList",this,3)([r,A,n,i]),this.appearance=g,c.dict.set("Matrix",u),e.abrupt("return",l);case 18:return e.abrupt("return",{opList:new kf,separateForm:!1,separateCanvas:!1});case 19:case"end":return e.stop()}}),e,this)}))),function(e,t,r,A){return i.apply(this,arguments)})},{key:"save",value:(n=yR(ER().mark((function e(t,r,A){return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.checkBox){e.next=2;break}return e.abrupt("return",this._saveCheckbox(t,r,A));case 2:if(!this.data.radioButton){e.next=4;break}return e.abrupt("return",this._saveRadioButton(t,r,A));case 4:return e.abrupt("return",null);case 5:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"_saveCheckbox",value:(A=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(A){e.next=2;break}return e.abrupt("return",null);case 2:if(n=A.get(this.data.id),i=this._buildFlags(null==n?void 0:n.noView,null==n?void 0:n.noPrint),a=null==n?void 0:n.rotation,o=null==n?void 0:n.value,void 0!==a||void 0!==i){e.next=11;break}if(void 0!==o){e.next=8;break}return e.abrupt("return",null);case 8:if(this.data.fieldValue===this.data.exportValue!==o){e.next=11;break}return e.abrupt("return",null);case 11:if((s=t.xref.fetchIfRef(this.ref))instanceof He){e.next=14;break}return e.abrupt("return",null);case 14:return s=s.clone(),void 0===a&&(a=this.rotation),void 0===o&&(o=this.data.fieldValue===this.data.exportValue),c={path:this.data.fieldName,value:o?this.data.exportValue:""},g=Ue.get(o?this.data.exportValue:"Off"),s.set("V",g),s.set("AS",g),s.set("M","D:".concat(Qe())),void 0!==i&&s.set("F",i),(u=this._getMKDict(a))&&s.set("MK",u),l=[],e.next=28,iQ(this.ref,s,l,t.xref);case 28:return e.abrupt("return",[{ref:this.ref,data:l.join(""),xfa:c}]);case 29:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return A.apply(this,arguments)})},{key:"_saveRadioButton",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(A){e.next=2;break}return e.abrupt("return",null);case 2:if(n=A.get(this.data.id),i=this._buildFlags(null==n?void 0:n.noView,null==n?void 0:n.noPrint),a=null==n?void 0:n.rotation,o=null==n?void 0:n.value,void 0!==a||void 0!==i){e.next=11;break}if(void 0!==o){e.next=8;break}return e.abrupt("return",null);case 8:if(this.data.fieldValue===this.data.buttonValue!==o){e.next=11;break}return e.abrupt("return",null);case 11:if((s=t.xref.fetchIfRef(this.ref))instanceof He){e.next=14;break}return e.abrupt("return",null);case 14:if(s=s.clone(),void 0===o&&(o=this.data.fieldValue===this.data.buttonValue),void 0===a&&(a=this.rotation),c={path:this.data.fieldName,value:o?this.data.buttonValue:""},g=Ue.get(o?this.data.buttonValue:"Off"),u=[],l=null,!o){e.next=32;break}if(!(this.parent instanceof Ye)){e.next=31;break}return(h=t.xref.fetch(this.parent)).set("V",g),e.next=27,iQ(this.parent,h,u,t.xref);case 27:l=u.join(""),u.length=0,e.next=32;break;case 31:this.parent instanceof He&&this.parent.set("V",g);case 32:return this.parent||s.set("V",g),s.set("AS",g),s.set("M","D:".concat(Qe())),void 0!==i&&s.set("F",i),(I=this._getMKDict(a))&&s.set("MK",I),e.next=40,iQ(this.ref,s,u,t.xref);case 40:return f=[{ref:this.ref,data:u.join(""),xfa:c}],l&&f.push({ref:this.parent,data:l,xfa:null}),e.abrupt("return",f);case 43:case"end":return e.stop()}}),e,this)}))),function(e,t,A){return r.apply(this,arguments)})},{key:"_getDefaultCheckedAppearance",value:function(e,t){var r,A,n=this.data.rect[2]-this.data.rect[0],i=this.data.rect[3]-this.data.rect[1],a=[0,0,n,i],o=.8*Math.min(n,i);"check"===t?(r={width:.755*o,height:.705*o},A="3"):"disc"===t?(r={width:.791*o,height:.705*o},A="l"):j("_getDefaultCheckedAppearance - unsupported type: ".concat(t));var s=Tt((n-r.width)/2),c=Tt((i-r.height)/2),g="q BT /PdfJsZaDb ".concat(o," Tf 0 g ").concat(s," ").concat(c," Td (").concat(A,") Tj ET Q"),u=new He(e.xref);u.set("FormType",1),u.set("Subtype",Ue.get("Form")),u.set("Type",Ue.get("XObject")),u.set("BBox",a),u.set("Matrix",[1,0,0,1,0,0]),u.set("Length",g.length);var l=new He(e.xref),h=new He(e.xref);h.set("PdfJsZaDb",this.fallbackFontDict),l.set("Font",h),u.set("Resources",l),this.checkedAppearance=new or(g),this.checkedAppearance.dict=u,this._streams.push(this.checkedAppearance)}},{key:"_processCheckBox",value:function(e){var t=e.dict.get("AP");if(t instanceof He){var r=t.get("N");if(r instanceof He){var A=this._decodeFormValue(e.dict.get("AS"));"string"==typeof A&&(this.data.fieldValue=A);var n=null!==this.data.fieldValue&&"Off"!==this.data.fieldValue?this.data.fieldValue:"Yes",i=r.getKeys();if(0===i.length)i.push("Off",n);else if(1===i.length)"Off"===i[0]?i.push(n):i.unshift("Off");else if(i.includes(n))i.length=0,i.push("Off",n);else{var a=i.find((function(e){return"Off"!==e}));i.length=0,i.push("Off",a)}i.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=i[1];var o=r.get(this.data.exportValue);this.checkedAppearance=o instanceof ze?o:null;var s=r.get("Off");this.uncheckedAppearance=s instanceof ze?s:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,null===this.data.defaultFieldValue&&(this.data.defaultFieldValue="Off")}}}},{key:"_processRadioButton",value:function(e){this.data.buttonValue=null;var t=e.dict.get("Parent");if(t instanceof He){this.parent=e.dict.getRaw("Parent");var r=t.get("V");r instanceof Ue&&(this.data.fieldValue=this._decodeFormValue(r))}var A=e.dict.get("AP");if(A instanceof He){var n=A.get("N");if(n instanceof He){var i,a=QR(n.getKeys());try{for(a.s();!(i=a.n()).done;){var o=i.value;if("Off"!==o){this.data.buttonValue=this._decodeFormValue(o);break}}}catch(e){a.e(e)}finally{a.f()}var s=n.get(this.data.buttonValue);this.checkedAppearance=s instanceof ze?s:null;var c=n.get("Off");this.uncheckedAppearance=c instanceof ze?c:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,null===this.data.defaultFieldValue&&(this.data.defaultFieldValue="Off")}}}},{key:"_processPushButton",value:function(e){var t=e.dict,r=e.annotationGlobals;t.has("A")||t.has("AA")||this.data.alternativeText?(this.data.isTooltipOnly=!t.has("A")&&!t.has("AA"),fE.parseDestDictionary({destDict:t,resultObj:this.data,docBaseUrl:r.baseUrl,docAttachments:r.attachments})):q("Push buttons without action dictionaries are not supported")}},{key:"getFieldObject",value:function(){var e,t="button";return this.data.checkBox?(t="checkbox",e=this.data.exportValue):this.data.radioButton&&(t="radiobutton",e=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:e,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:t}}},{key:"fallbackFontDict",get:function(){var e=new He;return e.set("BaseFont",Ue.get("ZapfDingbats")),e.set("Type",Ue.get("FallbackType")),e.set("Subtype",Ue.get("FallbackType")),e.set("Encoding",Ue.get("ZapfDingbatsEncoding")),_(this,"fallbackFontDict",e)}}]);var r,A,n,i}(),YR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;r.indices=A.getArray("I"),r.hasIndices=Array.isArray(r.indices)&&r.indices.length>0,r.data.options=[];var i=yt({dict:A,key:"Opt"});if(Array.isArray(i))for(var a=0,o=i.length;a<o;a++){var s=n.fetchIfRef(i[a]),c=Array.isArray(s);r.data.options[a]={exportValue:r._decodeFormValue(c?n.fetchIfRef(s[0]):s),displayValue:r._decodeFormValue(c?n.fetchIfRef(s[1]):s)}}if(r.hasIndices){r.data.fieldValue=[];var g,u=r.data.options.length,l=QR(r.indices);try{for(l.s();!(g=l.n()).done;){var h=g.value;Number.isInteger(h)&&h>=0&&h<u&&r.data.fieldValue.push(r.data.options[h].exportValue)}}catch(e){l.e(e)}finally{l.f()}}else"string"==typeof r.data.fieldValue?r.data.fieldValue=[r.data.fieldValue]:r.data.fieldValue||(r.data.fieldValue=[]);return r.data.combo=r.hasFieldFlag(131072),r.data.multiSelect=r.hasFieldFlag(2097152),r._hasText=!0,r}return CR(t,MR),kR(t,[{key:"getFieldObject",value:function(){var e=this.data.combo?"combobox":"listbox",t=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:t,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:e}}},{key:"amendSavedDict",value:function(e,t){var r;if(this.hasIndices){var A=null==e||null===(r=e.get(this.data.id))||void 0===r?void 0:r.value;Array.isArray(A)||(A=[A]);for(var n=[],i=this.data.options,a=0,o=0,s=i.length;a<s;a++)i[a].exportValue===A[o]&&(n.push(a),o+=1);t.set("I",n)}}},{key:"_getAppearance",value:(r=yR(ER().mark((function e(r,A,n,i){var a,o,s,c,g,u,l,h,I,f,C,B,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U,M,J,H,Y,P,O,K,T,q;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.combo){e.next=2;break}return e.abrupt("return",gR(t,"_getAppearance",this,3)([r,A,n,i]));case 2:if((s=null==i?void 0:i.get(this.data.id))&&(o=s.rotation,a=s.value),void 0!==o||void 0!==a||this._needAppearances){e.next=6;break}return e.abrupt("return",null);case 6:for(void 0===a?a=this.data.fieldValue:Array.isArray(a)||(a=[a]),c=1,g=2,u=this.data.rect[3]-this.data.rect[1],l=this.data.rect[2]-this.data.rect[0],90!==o&&270!==o||(l=(h=[u,l])[0],u=h[1]),I=this.data.options.length,f=[],C=0;C<I;C++)B=this.data.options[C].exportValue,a.includes(B)&&f.push(C);return this._defaultAppearance||(this.data.defaultAppearanceData=dC(this._defaultAppearance="/Helvetica 0 Tf 0 g")),e.next=18,MR._getFontData(r,A,this.data.defaultAppearanceData,this._fieldResources.mergedResources);case 18:if(E=e.sent,y=this.data.defaultAppearanceData.fontSize)d=this._defaultAppearance;else{p=(u-c)/I,v=-1,w=QR(this.data.options);try{for(w.s();!(b=w.n()).done;)k=b.value.displayValue,(D=this._getTextWidth(k,E))>v&&(v=D,m=k)}catch(e){w.e(e)}finally{w.f()}S=this._computeFontSize(p,l-2*g,m,E,-1),F=pR(S,2),d=F[0],y=F[1]}if(R=((x=y*Q)-y)/2,G=Math.floor(u/x),N=0,f.length>0&&(L=Math.min.apply(Math,f),U=Math.max.apply(Math,f),(N=Math.max(0,U-G+1))>L&&(N=L)),M=Math.min(N+G+1,I),J=["/Tx BMC q","1 1 ".concat(l," ").concat(u," re W n")],f.length){J.push("0.600006 0.756866 0.854904 rg"),H=QR(f);try{for(H.s();!(Y=H.n()).done;)P=Y.value,N<=P&&P<M&&J.push("1 ".concat(u-(P-N+1)*x," ").concat(l," ").concat(x," re f"))}catch(e){H.e(e)}finally{H.f()}}for(J.push("BT",d,"1 0 0 1 0 ".concat(u," Tm")),O={shift:0},K=N;K<M;K++)T=this.data.options[K].displayValue,q=K===N?R:0,J.push(this._renderText(T,E,y,l,0,O,g,-x+q));return J.push("ET Q EMC"),e.abrupt("return",J.join("\\n"));case 34:case"end":return e.stop()}}),e,this)}))),function(e,t,A,n){return r.apply(this,arguments)})}]);var r}(),PR=function(e){function t(e){var r;return wR(this,t),(r=lR(this,t,[e])).data.fieldValue=null,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!r.data.hasOwnCanvas,r}return CR(t,MR),kR(t,[{key:"getFieldObject",value:function(){return{id:this.data.id,value:null,page:this.data.pageIndex,type:"signature"}}}])}(),OR=function(e){function t(e){var r;wR(this,t),(r=lR(this,t,[e])).data.noRotate=!0,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1;var A=e.dict;return r.data.annotationType=1,r.data.hasAppearance?r.data.name="NoIcon":(r.data.rect[1]=r.data.rect[3]-22,r.data.rect[2]=r.data.rect[0]+22,r.data.name=A.has("Name")?A.get("Name").name:"Note"),A.has("State")?(r.data.state=A.get("State")||null,r.data.stateModel=A.get("StateModel")||null):(r.data.state=null,r.data.stateModel=null),r}return CR(t,UR),kR(t)}(),KR=function(e){function t(e){var r,A;wR(this,t),A=lR(this,t,[e]);var n=e.dict,i=e.annotationGlobals;A.data.annotationType=2,A.data.noHTML=!1;var a=RR(n,A.rectangle);return a&&(A.data.quadPoints=a),(r=A.data).borderColor||(r.borderColor=A.data.color),fE.parseDestDictionary({destDict:n,resultObj:A.data,docBaseUrl:i.baseUrl,docAttachments:i.attachments}),A}return CR(t,NR),kR(t)}(),TR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict;r.data.annotationType=16,r.data.noHTML=!1,r.data.rect[0]!==r.data.rect[2]&&r.data.rect[1]!==r.data.rect[3]||(r.data.rect=null);var n=A.get("Parent");if(!n)return q("Popup annotation has a missing or invalid parent annotation."),hR(r);if(r.data.parentRect=Rt(n.getArray("Rect"),null),Ke(n.get("RT"),p)&&(n=n.get("IRT")),n.has("M")?(r.setModificationDate(n.get("M")),r.data.modificationDate=r.modificationDate):r.data.modificationDate=null,n.has("C")?(r.setColor(n.getArray("C")),r.data.color=r.color):r.data.color=null,!r.viewable){var i=n.get("F");r._isViewable(i)&&r.setFlags(i)}return r.setTitle(n.get("T")),r.data.titleObj=r._title,r.setContents(n.get("Contents")),r.data.contentsObj=r._contents,n.has("RC")&&(r.data.richText=oR.getRichTextAsHtml(n.get("RC"))),r.data.open=!!A.get("Open"),r}return CR(t,NR),kR(t)}(),qR=function(e){function t(e){var r;wR(this,t),(r=lR(this,t,[e])).data.hasOwnCanvas=r.data.noRotate,r.data.isEditable=!r.data.noHTML,r.data.noHTML=!1;var A=e.evaluatorOptions,n=e.xref;if(r.data.annotationType=3,r.setDefaultAppearance(e),r._hasAppearance=!!r.appearance,r._hasAppearance){var i=function(e,t,r){return new yC(e,t,r).parse()}(r.appearance,A,n),a=i.fontColor,o=i.fontSize;r.data.defaultAppearanceData.fontColor=a,r.data.defaultAppearanceData.fontSize=o||10}else{var s;(s=r.data.defaultAppearanceData).fontSize||(s.fontSize=10);var c=r.data.defaultAppearanceData,g=c.fontColor,u=c.fontSize;if(r._contents.str){r.data.textContent=r._contents.str.split(/\\r\\n?|\\n/).map((function(e){return e.trimEnd()}));var l=vC.getFirstPositionInfo(r.rectangle,r.rotation,u),h=l.coords,I=l.bbox,f=l.matrix;r.data.textPosition=r._transformPoint(h,I,f)}if(r._isOffscreenCanvasSupported){var C=e.dict.get("CA"),B=new vC(n,"sans-serif");r.appearance=B.createAppearance(r._contents.str,r.rectangle,r.rotation,u,g,C),r._streams.push(r.appearance)}else q("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.")}return r}return CR(t,UR),kR(t,[{key:"hasTextContent",get:function(){return this._hasAppearance}}],[{key:"createNewDict",value:function(e,t,r){var A=r.apRef,n=r.ap,i=e.color,a=e.fontSize,o=e.oldAnnotation,s=e.rect,c=e.rotation,g=e.user,u=e.value,l=o||new He(t);l.set("Type",Ue.get("Annot")),l.set("Subtype",Ue.get("FreeText")),o?(l.set("M","D:".concat(Qe())),l.delete("RC")):l.set("CreationDate","D:".concat(Qe())),l.set("Rect",s);var h="/Helv ".concat(a," Tf ").concat(pC(i,!0));if(l.set("DA",h),l.set("Contents",jt(u)),l.set("F",4),l.set("Border",[0,0,0]),l.set("Rotate",c),g&&l.set("T",jt(g)),A||n){var I=new He(t);l.set("AP",I),A?I.set("N",A):I.set("N",n)}return l}},{key:"createNewAppearanceStream",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U,M,J,H,Y,P,O,K,T,q,j,W,Z,_,X,V,z,$,ee,te;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=A.baseFontRef,i=A.evaluator,a=A.task,o=t.color,s=t.fontSize,c=t.rect,g=t.rotation,u=t.value,l=new He(r),h=new He(r),n?h.set("Helv",n):((I=new He(r)).set("BaseFont",Ue.get("Helvetica")),I.set("Type",Ue.get("Font")),I.set("Subtype",Ue.get("Type1")),I.set("Encoding",Ue.get("WinAnsiEncoding")),h.set("Helv",I)),l.set("Font",h),e.next=8,MR._getFontData(i,a,{fontName:"Helv",fontSize:s},l);case 8:f=e.sent,C=pR(c,4),B=C[0],E=C[1],d=C[2],y=C[3],p=d-B,v=y-E,g%180!=0&&(p=(m=[v,p])[0],v=m[1]),w=u.split("\\n"),b=s/1e3,k=-1/0,D=[],S=QR(w),e.prev=18,S.s();case 20:if((F=S.n()).done){e.next=34;break}if(x=F.value,!((R=f.encodeString(x)).length>1)){e.next=25;break}return e.abrupt("return",null);case 25:x=R.join(""),D.push(x),G=0,N=f.charsToGlyphs(x),L=QR(N);try{for(L.s();!(U=L.n()).done;)M=U.value,G+=M.width*b}catch(e){L.e(e)}finally{L.f()}k=Math.max(k,G);case 32:e.next=20;break;case 34:e.next=39;break;case 36:e.prev=36,e.t0=e.catch(18),S.e(e.t0);case 39:return e.prev=39,S.f(),e.finish(39);case 42:J=1,k>p&&(J=p/k),H=1,P=1*s,(O=(Y=Q*s)*w.length)>v&&(H=v/O),K=Math.min(J,H),T=s*K,e.t1=g,e.next=0===e.t1?54:90===e.t1?58:180===e.t1?62:270===e.t1?66:70;break;case 54:return W=[1,0,0,1],j=[c[0],c[1],p,v],q=[c[0],c[3]-P],e.abrupt("break",70);case 58:return W=[0,1,-1,0],j=[c[1],-c[2],p,v],q=[c[1],-c[0]-P],e.abrupt("break",70);case 62:return W=[-1,0,0,-1],j=[-c[2],-c[3],p,v],q=[-c[2],-c[1]-P],e.abrupt("break",70);case 66:return W=[0,-1,1,0],j=[-c[3],c[0],p,v],q=[-c[3],c[2]-P],e.abrupt("break",70);case 70:for((Z=["q","".concat(W.join(" ")," 0 0 cm"),"".concat(j.join(" ")," re W n"),"BT","".concat(pC(o,!0)),"0 Tc /Helv ".concat(Tt(T)," Tf")]).push("".concat(q.join(" ")," Td (").concat(Lt(D[0]),") Tj")),_=Tt(Y),X=1,V=D.length;X<V;X++)z=D[X],Z.push("0 -".concat(_," Td (").concat(Lt(z),") Tj"));return Z.push("ET","Q"),$=Z.join("\\n"),(ee=new He(r)).set("FormType",1),ee.set("Subtype",Ue.get("Form")),ee.set("Type",Ue.get("XObject")),ee.set("BBox",c),ee.set("Resources",l),ee.set("Matrix",[1,0,0,1,-c[0],-c[1]]),(te=new or($)).dict=ee,e.abrupt("return",te);case 86:case"end":return e.stop()}}),e,null,[[18,36,39,42]])}))),function(e,t,A){return r.apply(this,arguments)})}]);var r}(),jR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;r.data.annotationType=4,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1;var i=xt(A.getArray("L"),[0,0,0,0]);if(r.data.lineCoordinates=ge.normalizeRect(i),r.setLineEndings(A.getArray("LE")),r.data.lineEndings=r.lineEndings,!r.appearance){var a=r.color?xR(r.color):[0,0,0],o=A.get("CA"),s=FR(A.getArray("IC"),null),c=s?xR(s):null,g=c?o:null,u=r.borderStyle.width||1,l=2*u,h=[r.data.lineCoordinates[0]-l,r.data.lineCoordinates[1]-l,r.data.lineCoordinates[2]+l,r.data.lineCoordinates[3]+l];ge.intersect(r.rectangle,h)||(r.rectangle=h),r._setDefaultAppearance({xref:n,extra:"".concat(u," w"),strokeColor:a,fillColor:c,strokeAlpha:o,fillAlpha:g,pointsCallback:function(e,t){return e.push("".concat(i[0]," ").concat(i[1]," m"),"".concat(i[2]," ").concat(i[3]," l"),"S"),[t[0]-u,t[2]+u,t[7]-u,t[3]+u]}})}return r}return CR(t,UR),kR(t)}(),WR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=5,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1,!r.appearance){var i=r.color?xR(r.color):[0,0,0],a=A.get("CA"),o=FR(A.getArray("IC"),null),s=o?xR(o):null,c=s?a:null;if(0===r.borderStyle.width&&!s)return hR(r);r._setDefaultAppearance({xref:n,extra:"".concat(r.borderStyle.width," w"),strokeColor:i,fillColor:s,strokeAlpha:a,fillAlpha:c,pointsCallback:function(e,t){var A=t[4]+r.borderStyle.width/2,n=t[5]+r.borderStyle.width/2,i=t[6]-t[4]-r.borderStyle.width,a=t[3]-t[7]-r.borderStyle.width;return e.push("".concat(A," ").concat(n," ").concat(i," ").concat(a," re")),s?e.push("B"):e.push("S"),[t[0],t[2],t[7],t[3]]}})}return r}return CR(t,UR),kR(t)}(),ZR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=6,!r.appearance){var i=r.color?xR(r.color):[0,0,0],a=A.get("CA"),o=FR(A.getArray("IC"),null),s=o?xR(o):null,c=s?a:null;if(0===r.borderStyle.width&&!s)return hR(r);var g=4/3*Math.tan(Math.PI/8);r._setDefaultAppearance({xref:n,extra:"".concat(r.borderStyle.width," w"),strokeColor:i,fillColor:s,strokeAlpha:a,fillAlpha:c,pointsCallback:function(e,t){var A=t[0]+r.borderStyle.width/2,n=t[1]-r.borderStyle.width/2,i=t[6]-r.borderStyle.width/2,a=t[7]+r.borderStyle.width/2,o=A+(i-A)/2,c=n+(a-n)/2,u=(i-A)/2*g,l=(a-n)/2*g;return e.push("".concat(o," ").concat(a," m"),"".concat(o+u," ").concat(a," ").concat(i," ").concat(c+l," ").concat(i," ").concat(c," c"),"".concat(i," ").concat(c-l," ").concat(o+u," ").concat(n," ").concat(o," ").concat(n," c"),"".concat(o-u," ").concat(n," ").concat(A," ").concat(c-l," ").concat(A," ").concat(c," c"),"".concat(A," ").concat(c+l," ").concat(o-u," ").concat(a," ").concat(o," ").concat(a," c"),"h"),s?e.push("B"):e.push("S"),[t[0],t[2],t[7],t[3]]}})}return r}return CR(t,UR),kR(t)}(),_R=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;r.data.annotationType=8,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1,r.data.vertices=null,r instanceof XR||(r.setLineEndings(A.getArray("LE")),r.data.lineEndings=r.lineEndings);var i=A.getArray("Vertices");if(!St(i,null))return hR(r);var a=r.data.vertices=Float32Array.from(i);if(!r.appearance){for(var o=r.color?xR(r.color):[0,0,0],s=A.get("CA"),c=r.borderStyle.width||1,g=2*c,u=[1/0,1/0,-1/0,-1/0],l=0,h=a.length;l<h;l+=2)u[0]=Math.min(u[0],a[l]-g),u[1]=Math.min(u[1],a[l+1]-g),u[2]=Math.max(u[2],a[l]+g),u[3]=Math.max(u[3],a[l+1]+g);ge.intersect(r.rectangle,u)||(r.rectangle=u),r._setDefaultAppearance({xref:n,extra:"".concat(c," w"),strokeColor:o,strokeAlpha:s,pointsCallback:function(e,t){for(var r=0,A=a.length;r<A;r+=2)e.push("".concat(a[r]," ").concat(a[r+1]," ").concat(0===r?"m":"l"));return e.push("S"),[t[0],t[2],t[7],t[3]]}})}return r}return CR(t,UR),kR(t)}(),XR=function(e){function t(e){var r;return wR(this,t),(r=lR(this,t,[e])).data.annotationType=7,r}return CR(t,_R),kR(t)}(),VR=function(e){function t(e){var r;return wR(this,t),(r=lR(this,t,[e])).data.annotationType=14,r}return CR(t,UR),kR(t)}(),zR=function(e){function t(e){var r;wR(this,t),(r=lR(this,t,[e])).data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1;var A=e.dict,n=e.xref;r.data.annotationType=15,r.data.inkLists=[],r.data.isEditable=!r.data.noHTML&&"InkHighlight"===r.data.it,r.data.noHTML=!1,r.data.opacity=A.get("CA")||1;var i=A.getArray("InkList");if(!Array.isArray(i))return hR(r);for(var a=0,o=i.length;a<o;++a)if(Array.isArray(i[a])){var s=new Float32Array(i[a].length);r.data.inkLists.push(s);for(var c=0,g=i[a].length;c<g;c+=2){var u=n.fetchIfRef(i[a][c]),l=n.fetchIfRef(i[a][c+1]);"number"==typeof u&&"number"==typeof l&&(s[c]=u,s[c+1]=l)}}if(!r.appearance){var h,I=r.color?xR(r.color):[0,0,0],f=A.get("CA"),C=r.borderStyle.width||1,B=2*C,Q=[1/0,1/0,-1/0,-1/0],E=QR(r.data.inkLists);try{for(E.s();!(h=E.n()).done;)for(var d=h.value,y=0,p=d.length;y<p;y+=2)Q[0]=Math.min(Q[0],d[y]-B),Q[1]=Math.min(Q[1],d[y+1]-B),Q[2]=Math.max(Q[2],d[y]+B),Q[3]=Math.max(Q[3],d[y+1]+B)}catch(e){E.e(e)}finally{E.f()}ge.intersect(r.rectangle,Q)||(r.rectangle=Q),r._setDefaultAppearance({xref:n,extra:"".concat(C," w"),strokeColor:I,strokeAlpha:f,pointsCallback:function(e,t){var A,n=QR(r.data.inkLists);try{for(n.s();!(A=n.n()).done;){for(var i=A.value,a=0,o=i.length;a<o;a+=2)e.push("".concat(i[a]," ").concat(i[a+1]," ").concat(0===a?"m":"l"));e.push("S")}}catch(e){n.e(e)}finally{n.f()}return[t[0],t[2],t[7],t[3]]}})}return r}return CR(t,UR),kR(t,null,[{key:"createNewDict",value:function(e,t,r){var A=r.apRef,n=r.ap,i=e.color,a=e.opacity,o=e.paths,s=e.outlines,c=e.rect,g=e.rotation,u=e.thickness,l=new He(t);l.set("Type",Ue.get("Annot")),l.set("Subtype",Ue.get("Ink")),l.set("CreationDate","D:".concat(Qe())),l.set("Rect",c),l.set("InkList",(null==s?void 0:s.points)||o.map((function(e){return e.points}))),l.set("F",4),l.set("Rotate",g),s&&l.set("IT",Ue.get("InkHighlight"));var h=new He(t);l.set("BS",h),h.set("W",u),l.set("C",Array.from(i,(function(e){return e/255}))),l.set("CA",a);var I=new He(t);return l.set("AP",I),A?I.set("N",A):I.set("N",n),l}},{key:"createNewAppearanceStream",value:(A=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.outlines){e.next=2;break}return e.abrupt("return",this.createNewAppearanceStreamForHighlight(t,r,A));case 2:n=t.color,i=t.rect,a=t.paths,o=t.thickness,s=t.opacity,c=["".concat(o," w 1 J 1 j"),"".concat(pC(n,!1))],1!==s&&c.push("/R0 gs"),g=[],u=QR(a);try{for(u.s();!(l=u.n()).done;){if(h=l.value.bezier,g.length=0,g.push("".concat(Tt(h[0])," ").concat(Tt(h[1])," m")),2===h.length)g.push("".concat(Tt(h[0])," ").concat(Tt(h[1])," l S"));else{for(I=2,f=h.length;I<f;I+=6)C=h.slice(I,I+6).map(Tt).join(" "),g.push("".concat(C," c"));g.push("S")}c.push(g.join("\\n"))}}catch(e){u.e(e)}finally{u.f()}return B=c.join("\\n"),(Q=new He(r)).set("FormType",1),Q.set("Subtype",Ue.get("Form")),Q.set("Type",Ue.get("XObject")),Q.set("BBox",i),Q.set("Length",B.length),1!==s&&(E=new He(r),d=new He(r),(y=new He(r)).set("CA",s),y.set("Type",Ue.get("ExtGState")),d.set("R0",y),E.set("ExtGState",d),Q.set("Resources",E)),(p=new or(B)).dict=Q,e.abrupt("return",p);case 19:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return A.apply(this,arguments)})},{key:"createNewAppearanceStreamForHighlight",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n=t.color,i=t.rect,a=t.outlines.outline,o=t.opacity,(s=["".concat(pC(n,!0)),"/R0 gs"]).push("".concat(Tt(a[4])," ").concat(Tt(a[5])," m")),c=6,g=a.length;c<g;c+=6)isNaN(a[c])||null===a[c]?s.push("".concat(Tt(a[c+4])," ").concat(Tt(a[c+5])," l")):(u=a.slice(c,c+6).map(Tt).join(" "),s.push("".concat(u," c")));return s.push("h f"),l=s.join("\\n"),(h=new He(r)).set("FormType",1),h.set("Subtype",Ue.get("Form")),h.set("Type",Ue.get("XObject")),h.set("BBox",i),h.set("Length",l.length),I=new He(r),f=new He(r),I.set("ExtGState",f),h.set("Resources",I),C=new He(r),f.set("R0",C),C.set("BM",Ue.get("Multiply")),1!==o&&(C.set("ca",o),C.set("Type",Ue.get("ExtGState"))),(B=new or(l)).dict=h,e.abrupt("return",B);case 23:case"end":return e.stop()}}),e)}))),function(e,t,A){return r.apply(this,arguments)})}]);var r,A}(),$R=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=9,r.data.isEditable=!r.data.noHTML,r.data.noHTML=!1,r.data.opacity=A.get("CA")||1,r.data.quadPoints=RR(A,null)){var i,a=null===(i=r.appearance)||void 0===i?void 0:i.dict.get("Resources");if(!r.appearance||null==a||!a.has("ExtGState")){r.appearance&&q("HighlightAnnotation - ignoring built-in appearance stream.");var o=r.color?xR(r.color):[1,1,0],s=A.get("CA");r._setDefaultAppearance({xref:n,fillColor:o,blendMode:"Multiply",fillAlpha:s,pointsCallback:function(e,t){return e.push("".concat(t[0]," ").concat(t[1]," m"),"".concat(t[2]," ").concat(t[3]," l"),"".concat(t[6]," ").concat(t[7]," l"),"".concat(t[4]," ").concat(t[5]," l"),"f"),[t[0],t[2],t[7],t[3]]}})}}else r.data.popupRef=null;return r}return CR(t,UR),kR(t,null,[{key:"createNewDict",value:function(e,t,r){var A=r.apRef,n=r.ap,i=e.color,a=e.oldAnnotation,o=e.opacity,s=e.rect,c=e.rotation,g=e.user,u=e.quadPoints,l=a||new He(t);if(l.set("Type",Ue.get("Annot")),l.set("Subtype",Ue.get("Highlight")),l.set(a?"M":"CreationDate","D:".concat(Qe())),l.set("CreationDate","D:".concat(Qe())),l.set("Rect",s),l.set("F",4),l.set("Border",[0,0,0]),l.set("Rotate",c),l.set("QuadPoints",u),l.set("C",Array.from(i,(function(e){return e/255}))),l.set("CA",o),g&&l.set("T",jt(g)),A||n){var h=new He(t);l.set("AP",h),h.set("N",A||n)}return l}},{key:"createNewAppearanceStream",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.color,i=t.rect,a=t.outlines,o=t.opacity,s=["".concat(pC(n,!0)),"/R0 gs"],c=[],g=QR(a);try{for(g.s();!(u=g.n()).done;){for(l=u.value,c.length=0,c.push("".concat(Tt(l[0])," ").concat(Tt(l[1])," m")),h=2,I=l.length;h<I;h+=2)c.push("".concat(Tt(l[h])," ").concat(Tt(l[h+1])," l"));c.push("h"),s.push(c.join("\\n"))}}catch(e){g.e(e)}finally{g.f()}return s.push("f*"),f=s.join("\\n"),(C=new He(r)).set("FormType",1),C.set("Subtype",Ue.get("Form")),C.set("Type",Ue.get("XObject")),C.set("BBox",i),C.set("Length",f.length),B=new He(r),Q=new He(r),B.set("ExtGState",Q),C.set("Resources",B),E=new He(r),Q.set("R0",E),E.set("BM",Ue.get("Multiply")),1!==o&&(E.set("ca",o),E.set("Type",Ue.get("ExtGState"))),(d=new or(f)).dict=C,e.abrupt("return",d);case 24:case"end":return e.stop()}}),e)}))),function(e,t,A){return r.apply(this,arguments)})}]);var r}(),eG=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=10,r.data.quadPoints=RR(A,null)){if(!r.appearance){var i=r.color?xR(r.color):[0,0,0],a=A.get("CA");r._setDefaultAppearance({xref:n,extra:"[] 0 d 0.571 w",strokeColor:i,strokeAlpha:a,pointsCallback:function(e,t){return e.push("".concat(t[4]," ").concat(t[5]+1.3," m"),"".concat(t[6]," ").concat(t[7]+1.3," l"),"S"),[t[0],t[2],t[7],t[3]]}})}}else r.data.popupRef=null;return r}return CR(t,UR),kR(t)}(),tG=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=11,r.data.quadPoints=RR(A,null)){if(!r.appearance){var i=r.color?xR(r.color):[0,0,0],a=A.get("CA");r._setDefaultAppearance({xref:n,extra:"[] 0 d 1 w",strokeColor:i,strokeAlpha:a,pointsCallback:function(e,t){var r=(t[1]-t[5])/6,A=r,n=t[4],i=t[5],a=t[6];e.push("".concat(n," ").concat(i+A," m"));do{n+=2,A=0===A?r:0,e.push("".concat(n," ").concat(i+A," l"))}while(n<a);return e.push("S"),[t[4],a,i-2*r,i+2*r]}})}}else r.data.popupRef=null;return r}return CR(t,UR),kR(t)}(),rG=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=12,r.data.quadPoints=RR(A,null)){if(!r.appearance){var i=r.color?xR(r.color):[0,0,0],a=A.get("CA");r._setDefaultAppearance({xref:n,extra:"[] 0 d 1 w",strokeColor:i,strokeAlpha:a,pointsCallback:function(e,t){return e.push("".concat((t[0]+t[4])/2," ")+"".concat((t[1]+t[5])/2," m"),"".concat((t[2]+t[6])/2," ")+"".concat((t[3]+t[7])/2," l"),"S"),[t[0],t[2],t[7],t[3]]}})}}else r.data.popupRef=null;return r}return CR(t,UR),kR(t)}(),AG=new WeakMap,nG=function(e){function t(e){var r;return wR(this,t),function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(r=lR(this,t,[e]),AG,void 0),r.data.annotationType=13,sR(AG,r,r.data.hasOwnCanvas=r.data.noRotate),r.data.isEditable=!r.data.noHTML,r.data.noHTML=!1,r}return CR(t,UR),kR(t,[{key:"mustBeViewedWhenEditing",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e?!!this.data.isEditable&&(sR(AG,this,this.data.hasOwnCanvas),this.data.hasOwnCanvas=!0,!0):(this.data.hasOwnCanvas=(this,(t=AG).get(cR(t,this))),!(null!=r&&r.has(this.data.id)))}}],[{key:"createImage",value:(A=yR(ER().mark((function e(t,r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(A=t.width,n=t.height,i=new OffscreenCanvas(A,n),(a=i.getContext("2d",{alpha:!0})).drawImage(t,0,0),o=a.getImageData(0,0,A,n).data,s=new Uint32Array(o.buffer),(c=s.some(se.isLittleEndian?function(e){return e>>>24!=255}:function(e){return 255!=(255&e)}))&&(a.fillStyle="white",a.fillRect(0,0,A,n),a.drawImage(t,0,0)),g=i.convertToBlob({type:"image/jpeg",quality:1}).then((function(e){return e.arrayBuffer()})),u=Ue.get("XObject"),l=Ue.get("Image"),(h=new He(r)).set("Type",u),h.set("Subtype",l),h.set("BitsPerComponent",8),h.set("ColorSpace",Ue.get("DeviceRGB")),h.set("Filter",Ue.get("DCTDecode")),h.set("BBox",[0,0,A,n]),h.set("Width",A),h.set("Height",n),I=null,c){if(f=new Uint8Array(s.length),se.isLittleEndian)for(C=0,B=s.length;C<B;C++)f[C]=s[C]>>>24;else for(Q=0,E=s.length;Q<E;Q++)f[Q]=255&s[Q];(d=new He(r)).set("Type",u),d.set("Subtype",l),d.set("BitsPerComponent",8),d.set("ColorSpace",Ue.get("DeviceGray")),d.set("Width",A),d.set("Height",n),I=new ar(f,0,0,d)}return e.t0=ar,e.next=25,g;case 25:return e.t1=e.sent,e.t2=h,y=new e.t0(e.t1,0,0,e.t2),e.abrupt("return",{imageStream:y,smaskStream:I,width:A,height:n});case 29:case"end":return e.stop()}}),e)}))),function(e,t){return A.apply(this,arguments)})},{key:"createNewDict",value:function(e,t,r){var A=r.apRef,n=r.ap,i=e.oldAnnotation,a=e.rect,o=e.rotation,s=e.user,c=i||new He(t);if(c.set("Type",Ue.get("Annot")),c.set("Subtype",Ue.get("Stamp")),c.set(i?"M":"CreationDate","D:".concat(Qe())),c.set("CreationDate","D:".concat(Qe())),c.set("Rect",a),c.set("F",4),c.set("Border",[0,0,0]),c.set("Rotate",o),s&&c.set("T",jt(s)),A||n){var g=new He(t);c.set("AP",g),A?g.set("N",A):g.set("N",n)}return c}},{key:"createNewAppearanceStream",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.oldAnnotation){e.next=2;break}return e.abrupt("return",null);case 2:return n=t.rotation,i=A.image,a=i.imageRef,o=i.width,s=i.height,c=new He(r),g=new He(r),c.set("XObject",g),g.set("Im0",a),u="q ".concat(o," 0 0 ").concat(s," 0 0 cm /Im0 Do Q"),(l=new He(r)).set("FormType",1),l.set("Subtype",Ue.get("Form")),l.set("Type",Ue.get("XObject")),l.set("BBox",[0,0,o,s]),l.set("Resources",c),n&&(h=_t(n,o,s),l.set("Matrix",h)),(I=new or(u)).dict=l,e.abrupt("return",I);case 19:case"end":return e.stop()}}),e)}))),function(e,t,A){return r.apply(this,arguments)})}]);var r,A}(),iG=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref,i=new TC(A.get("FS"),n);r.data.annotationType=17,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1,r.data.file=i.serializable;var a=A.get("Name");r.data.name=a instanceof Ue?Ie(a.name):"PushPin";var o=A.get("ca");return r.data.fillAlpha="number"==typeof o&&o>=0&&o<=1?o:null,r}return CR(t,UR),kR(t)}();function aG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oG(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,cG(A.key),A)}}function sG(e,t,r){return t&&oG(e.prototype,t),r&&oG(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function cG(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function gG(e,t,r){return t=hG(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,uG()?Reflect.construct(t,r||[],hG(e).constructor):t.apply(e,r))}function uG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(uG=function(){return!!e})()}function lG(){return lG="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=hG(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},lG.apply(null,arguments)}function hG(e){return hG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hG(e)}function IG(e,t){return IG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},IG(e,t)}function fG(e){try{return fe(e)}catch(t){return q('UTF-8 decoding failed: "'.concat(t,'".')),e}}var CG=function(e){function t(e){var r;return aG(this,t),(r=gG(this,t,[e])).node=null,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&IG(e,t)}(t,aB),sG(t,[{key:"onEndElement",value:function(e){var r=function(e,t,r,A){var n=lG(hG(e.prototype),"onEndElement",r);return"function"==typeof n?function(e){return n.apply(r,e)}:n}(t,0,this)([e]);if(r&&"xfa:datasets"===e)throw this.node=r,new Error("Aborting DatasetXMLParser.")}}])}(),BG=function(){return sG((function e(t){if(aG(this,e),t.datasets)this.node=new aB({hasAttributes:!0}).parseFromString(t.datasets).documentElement;else{var r=new CG({hasAttributes:!0});try{r.parseFromString(t["xdp:xdp"])}catch(e){}this.node=r.node}}),[{key:"getValue",value:function(e){if(!this.node||!e)return"";var t=this.node.searchNode(Gt(e),0);if(!t)return"";var r=t.firstChild;return"value"===(null==r?void 0:r.nodeName)?t.children.map((function(e){return fG(e.textContent)})):fG(t.textContent)}}])}();function QG(){QG=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function EG(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function dG(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){EG(i,A,n,a,o,"next",e)}function o(e){EG(i,A,n,a,o,"throw",e)}a(void 0)}))}}function yG(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||pG(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pG(e,t){if(e){if("string"==typeof e)return vG(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vG(e,t):void 0}}function vG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function mG(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,wG(A.key),A)}}function wG(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function bG(e,t,r){return e.set(DG(e,t),r),r}function kG(e,t){return e.get(DG(e,t))}function DG(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var SG=new WeakMap,FG=function(){return function(e,t,r){return t&&mG(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(this,SG,null),this.stream=t,this.pdfManager=r,this.entries=[],this._xrefStms=new Set,this._cacheMap=new Map,this._pendingRefs=new Pe,this._newPersistentRefNum=null,this._newTemporaryRefNum=null,this._persistentRefsCache=null}),[{key:"getNewPersistentRef",value:function(e){null===this._newPersistentRefNum&&(this._newPersistentRefNum=this.entries.length||1);var t=this._newPersistentRefNum++;return this._cacheMap.set(t,e),Ye.get(t,0)}},{key:"getNewTemporaryRef",value:function(){if(null===this._newTemporaryRefNum&&(this._newTemporaryRefNum=this.entries.length||1,this._newPersistentRefNum)){this._persistentRefsCache=new Map;for(var e=this._newTemporaryRefNum;e<this._newPersistentRefNum;e++)this._persistentRefsCache.set(e,this._cacheMap.get(e)),this._cacheMap.delete(e)}return Ye.get(this._newTemporaryRefNum++,0)}},{key:"resetNewTemporaryRef",value:function(){if(this._newTemporaryRefNum=null,this._persistentRefsCache){var e,t=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=pG(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(this._persistentRefsCache);try{for(t.s();!(e=t.n()).done;){var r=yG(e.value,2),A=r[0],n=r[1];this._cacheMap.set(A,n)}}catch(e){t.e(e)}finally{t.f()}}this._persistentRefsCache=null}},{key:"setStartXRef",value:function(e){this.startXRefQueue=[e]}},{key:"parse",value:function(){var e,t,r,A=arguments.length>0&&void 0!==arguments[0]&&arguments[0];A?(q("Indexing all PDF objects"),e=this.indexObjects()):e=this.readXRef(),e.assignXref(this),this.trailer=e;try{t=e.get("Encrypt")}catch(e){if(e instanceof Ct)throw e;q('XRef.parse - Invalid "Encrypt" reference: "'.concat(e,'".'))}if(t instanceof He){var n=e.get("ID"),i=null!=n&&n.length?n[0]:"";t.suppressEncryption=!0,this.encrypt=new KB(t,i,this.pdfManager.password)}try{r=e.get("Root")}catch(e){if(e instanceof Ct)throw e;q('XRef.parse - Invalid "Root" reference: "'.concat(e,'".'))}if(r instanceof He)try{if(r.get("Pages")instanceof He)return void(this.root=r)}catch(e){if(e instanceof Ct)throw e;q('XRef.parse - Invalid "Pages" reference: "'.concat(e,'".'))}if(!A)throw new Et;throw new $("Invalid Root reference.")}},{key:"processXRefTable",value:function(e){if("tableState"in this||(this.tableState={entryNum:0,streamPos:e.lexer.stream.pos,parserBuf1:e.buf1,parserBuf2:e.buf2}),!Te(this.readXRefTable(e),"trailer"))throw new re("Invalid XRef table: could not find trailer dictionary");var t=e.getObj();if(t instanceof He||!t.dict||(t=t.dict),!(t instanceof He))throw new re("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,t}},{key:"readXRefTable",value:function(e){var t,r=e.lexer.stream,A=this.tableState;for(r.pos=A.streamPos,e.buf1=A.parserBuf1,e.buf2=A.parserBuf2;;){if(!("firstEntryNum"in A)||!("entryCount"in A)){if(Te(t=e.getObj(),"trailer"))break;A.firstEntryNum=t,A.entryCount=e.getObj()}var n=A.firstEntryNum,i=A.entryCount;if(!Number.isInteger(n)||!Number.isInteger(i))throw new re("Invalid XRef table: wrong types in subsection header");for(var a=A.entryNum;a<i;a++){A.streamPos=r.pos,A.entryNum=a,A.parserBuf1=e.buf1,A.parserBuf2=e.buf2;var o={};o.offset=e.getObj(),o.gen=e.getObj();var s=e.getObj();if(s instanceof Me)switch(s.cmd){case"f":o.free=!0;break;case"n":o.uncompressed=!0}if(!Number.isInteger(o.offset)||!Number.isInteger(o.gen)||!o.free&&!o.uncompressed)throw new re("Invalid entry in XRef subsection: ".concat(n,", ").concat(i));0===a&&o.free&&1===n&&(n=0),this.entries[a+n]||(this.entries[a+n]=o)}A.entryNum=0,A.streamPos=r.pos,A.parserBuf1=e.buf1,A.parserBuf2=e.buf2,delete A.firstEntryNum,delete A.entryCount}if(this.entries[0]&&!this.entries[0].free)throw new re("Invalid XRef table: unexpected first object");return t}},{key:"processXRefStream",value:function(e){if(!("streamState"in this)){var t=e.dict,r=t.get("W"),A=t.get("Index");A||(A=[0,t.get("Size")]),this.streamState={entryRanges:A,byteWidths:r,entryNum:0,streamPos:e.pos}}return this.readXRefStream(e),delete this.streamState,e.dict}},{key:"readXRefStream",value:function(e){var t=this.streamState;e.pos=t.streamPos;for(var r=yG(t.byteWidths,3),A=r[0],n=r[1],i=r[2],a=t.entryRanges;a.length>0;){var o=yG(a,2),s=o[0],c=o[1];if(!Number.isInteger(s)||!Number.isInteger(c))throw new re("Invalid XRef range fields: ".concat(s,", ").concat(c));if(!Number.isInteger(A)||!Number.isInteger(n)||!Number.isInteger(i))throw new re("Invalid XRef entry fields length: ".concat(s,", ").concat(c));for(var g=t.entryNum;g<c;++g){t.entryNum=g,t.streamPos=e.pos;for(var u=0,l=0,h=0,I=0;I<A;++I){var f=e.getByte();if(-1===f)throw new re("Invalid XRef byteWidths 'type'.");u=u<<8|f}0===A&&(u=1);for(var C=0;C<n;++C){var B=e.getByte();if(-1===B)throw new re("Invalid XRef byteWidths 'offset'.");l=l<<8|B}for(var Q=0;Q<i;++Q){var E=e.getByte();if(-1===E)throw new re("Invalid XRef byteWidths 'generation'.");h=h<<8|E}var d={};switch(d.offset=l,d.gen=h,u){case 0:d.free=!0;break;case 1:d.uncompressed=!0;break;case 2:break;default:throw new re("Invalid XRef entry type: ".concat(u))}this.entries[s+g]||(this.entries[s+g]=d)}t.entryNum=0,t.streamPos=e.pos,a.splice(0,2)}}},{key:"indexObjects",value:function(){function e(e,t){for(var r="",A=e[t];10!==A&&13!==A&&60!==A&&!(++t>=e.length);)r+=String.fromCharCode(A),A=e[t];return r}function t(e,t,r){for(var A=r.length,n=e.length,i=0;t<n;){for(var a=0;a<A&&e[t+a]===r[a];)++a;if(a>=A)break;t++,i++}return i}var r=/\\b(endobj|\\d+\\s+\\d+\\s+obj|xref|trailer\\s*<<)\\b/g,A=/\\b(startxref|\\d+\\s+\\d+\\s+obj)\\b/g,n=/^(\\d+)\\s+(\\d+)\\s+obj\\b/,i=new Uint8Array([116,114,97,105,108,101,114]),a=new Uint8Array([115,116,97,114,116,120,114,101,102]),o=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();var s=this.stream;s.pos=0;for(var c=s.getBytes(),g=ne(c),u=c.length,l=s.start,h=[],I=[];l<u;){var f=c[l];if(9!==f&&10!==f&&13!==f&&32!==f)if(37!==f){var C=e(c,l),B=void 0;if(C.startsWith("xref")&&(4===C.length||/\\s/.test(C[4])))l+=t(c,l,i),h.push(l),l+=t(c,l,a);else if(B=n.exec(C)){var Q=0|B[1],E=0|B[2],d=l+C.length,y=void 0,p=!1;if(this.entries[Q]){if(this.entries[Q].gen===E)try{new Jo({lexer:new Oo(s.makeSubStream(d))}).getObj(),p=!0}catch(e){e instanceof Bt?q("indexObjects -- checking object (".concat(C,'): "').concat(e,'".')):p=!0}}else p=!0;p&&(this.entries[Q]={offset:l-s.start,gen:E,uncompressed:!0}),r.lastIndex=d;var v=r.exec(g);v?(y=r.lastIndex+1-l,"endobj"!==v[1]&&(q('indexObjects: Found "'.concat(v[1],'" inside of another "obj", ')+'caused by missing "endobj" -- trying to recover.'),y-=v[1].length+1)):y=u-l;var m=c.subarray(l,l+y),w=t(m,0,o);w<y&&m[w+5]<64&&(I.push(l-s.start),this._xrefStms.add(l-s.start)),l+=y}else if(C.startsWith("trailer")&&(7===C.length||/\\s/.test(C[7]))){h.push(l);var b=l+C.length,k=void 0;A.lastIndex=b;var D=A.exec(g);D?(k=A.lastIndex+1-l,"startxref"!==D[1]&&(q('indexObjects: Found "'.concat(D[1],'" after "trailer", ')+'caused by missing "startxref" -- trying to recover.'),k-=D[1].length+1)):k=u-l,l+=k}else l+=C.length+1}else do{if(++l>=u)break;f=c[l]}while(10!==f&&13!==f);else++l}for(var S=0,F=I;S<F.length;S++){var x=F[S];this.startXRefQueue.push(x),this.readXRef(!0)}for(var R,G,N=[],L=!1,U=0,M=h;U<M.length;U++){var J=M[U];s.pos=J;var H=new Jo({lexer:new Oo(s),xref:this,allowStreams:!0,recoveryMode:!0});if(Te(H.getObj(),"trailer")){var Y=H.getObj();Y instanceof He&&(N.push(Y),Y.has("Encrypt")&&(L=!0))}}for(var P=0,O=[].concat(N,["genFallback"],N);P<O.length;P++){var K=O[P];if("genFallback"!==K){var T=!1;try{var j=K.get("Root");if(!(j instanceof He))continue;var W=j.get("Pages");if(!(W instanceof He))continue;var Z=W.get("Count");Number.isInteger(Z)&&(T=!0)}catch(e){G=e;continue}if(T&&(!L||K.has("Encrypt"))&&K.has("ID"))return K;R=K}else{if(!G)break;this._generationFallback=!0}}if(R)return R;if(this.topDict)return this.topDict;throw new $("Invalid PDF structure.")}},{key:"readXRef",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.stream,r=new Set;this.startXRefQueue.length;){try{var A=this.startXRefQueue[0];if(r.has(A)){q("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();continue}r.add(A),t.pos=A+t.start;var n=new Jo({lexer:new Oo(t),xref:this,allowStreams:!0}),i=n.getObj(),a=void 0;if(Te(i,"xref")){var o;a=this.processXRefTable(n),this.topDict||(this.topDict=a),i=a.get("XRefStm"),Number.isInteger(i)&&!this._xrefStms.has(i)&&(this._xrefStms.add(i),this.startXRefQueue.push(i),null!==(o=kG(SG,this))&&void 0!==o||bG(SG,this,i))}else{if(!Number.isInteger(i))throw new re("Invalid XRef stream header");if(!(Number.isInteger(n.getObj())&&Te(n.getObj(),"obj")&&(i=n.getObj())instanceof ze))throw new re("Invalid XRef stream");if(a=this.processXRefStream(i),this.topDict||(this.topDict=a),!a)throw new re("Failed to read XRef stream")}i=a.get("Prev"),Number.isInteger(i)?this.startXRefQueue.push(i):i instanceof Ye&&this.startXRefQueue.push(i.num)}catch(e){if(e instanceof Ct)throw e;T("(while reading XRef): "+e)}this.startXRefQueue.shift()}if(this.topDict)return this.topDict;if(!e)throw new Et}},{key:"lastXRefStreamPos",get:function(){var e;return null!==(e=kG(SG,this))&&void 0!==e?e:this._xrefStms.size>0?Math.max.apply(Math,function(e){return function(e){if(Array.isArray(e))return vG(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pG(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this._xrefStms)):null}},{key:"getEntry",value:function(e){var t=this.entries[e];return t&&!t.free&&t.offset?t:null}},{key:"fetchIfRef",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e instanceof Ye?this.fetch(e,t):e}},{key:"fetch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(e instanceof Ye))throw new Error("ref object is not a reference");var r=e.num,A=this._cacheMap.get(r);if(void 0!==A)return A instanceof He&&!A.objId&&(A.objId=e.toString()),A;var n=this.getEntry(r);if(null===n)return this._cacheMap.set(r,n),n;if(this._pendingRefs.has(e))return this._pendingRefs.remove(e),q("Ignoring circular reference: ".concat(e,".")),xe;this._pendingRefs.put(e);try{n=n.uncompressed?this.fetchUncompressed(e,n,t):this.fetchCompressed(e,n,t),this._pendingRefs.remove(e)}catch(t){throw this._pendingRefs.remove(e),t}return n instanceof He?n.objId=e.toString():n instanceof ze&&(n.dict.objId=e.toString()),n}},{key:"fetchUncompressed",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],A=e.gen,n=e.num;if(t.gen!==A){var i="Inconsistent generation in XRef: ".concat(e);if(this._generationFallback&&t.gen<A)return q(i),this.fetchUncompressed(Ye.get(n,t.gen),t,r);throw new Qt(i)}var a=this.stream.makeSubStream(t.offset+this.stream.start),o=new Jo({lexer:new Oo(a),xref:this,allowStreams:!0}),s=o.getObj(),c=o.getObj(),g=o.getObj();if(s!==n||c!==A||!(g instanceof Me))throw new Qt("Bad (uncompressed) XRef entry: ".concat(e));if("obj"!==g.cmd){if(g.cmd.startsWith("obj")&&(n=parseInt(g.cmd.substring(3),10),!Number.isNaN(n)))return n;throw new Qt("Bad (uncompressed) XRef entry: ".concat(e))}return(t=this.encrypt&&!r?o.getObj(this.encrypt.createCipherTransform(n,A)):o.getObj())instanceof ze||this._cacheMap.set(n,t),t}},{key:"fetchCompressed",value:function(e,t){var r=t.offset,A=this.fetch(Ye.get(r,0));if(!(A instanceof ze))throw new re("bad ObjStm stream");var n=A.dict.get("First"),i=A.dict.get("N");if(!Number.isInteger(n)||!Number.isInteger(i))throw new re("invalid first and n parameters for ObjStm stream");for(var a=new Jo({lexer:new Oo(A),xref:this,allowStreams:!0}),o=new Array(i),s=new Array(i),c=0;c<i;++c){var g=a.getObj();if(!Number.isInteger(g))throw new re("invalid object number in the ObjStm stream: ".concat(g));var u=a.getObj();if(!Number.isInteger(u))throw new re("invalid object offset in the ObjStm stream: ".concat(u));o[c]=g,s[c]=u}for(var l=(A.start||0)+n,h=new Array(i),I=0;I<i;++I){var f=I<i-1?s[I+1]-s[I]:void 0;if(f<0)throw new re("Invalid offset in the ObjStm stream.");var C=(a=new Jo({lexer:new Oo(A.makeSubStream(l+s[I],f,A.dict)),xref:this,allowStreams:!0})).getObj();if(h[I]=C,!(C instanceof ze)){var B=o[I],Q=this.entries[B];Q&&Q.offset===r&&Q.gen===I&&this._cacheMap.set(B,C)}}if(void 0===(t=h[t.gen]))throw new Qt("Bad (compressed) XRef entry: ".concat(e));return t}},{key:"fetchIfRefAsync",value:(t=dG(QG().mark((function e(t,r){return QG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof Ye)){e.next=2;break}return e.abrupt("return",this.fetchAsync(t,r));case 2:return e.abrupt("return",t);case 3:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"fetchAsync",value:(e=dG(QG().mark((function e(t,r){return QG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",this.fetch(t,r));case 4:if(e.prev=4,e.t0=e.catch(0),e.t0 instanceof Ct){e.next=8;break}throw e.t0;case 8:return e.next=10,this.pdfManager.requestRange(e.t0.begin,e.t0.end);case 10:return e.abrupt("return",this.fetchAsync(t,r));case 11:case"end":return e.stop()}}),e,this,[[0,4]])}))),function(t,r){return e.apply(this,arguments)})},{key:"getCatalogObj",value:function(){return this.root}}]);var e,t}();function xG(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||LG(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function RG(){RG=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function GG(e){return function(e){if(Array.isArray(e))return UG(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||LG(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function NG(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=LG(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function LG(e,t){if(e){if("string"==typeof e)return UG(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?UG(e,t):void 0}}function UG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function MG(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function JG(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){MG(i,A,n,a,o,"next",e)}function o(e){MG(i,A,n,a,o,"throw",e)}a(void 0)}))}}function HG(e,t,r){return t=PG(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,YG()?Reflect.construct(t,r||[],PG(e).constructor):t.apply(e,r))}function YG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(YG=function(){return!!e})()}function PG(e){return PG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},PG(e)}function OG(e,t){return OG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},OG(e,t)}function KG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TG(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,jG(A.key),A)}}function qG(e,t,r){return t&&TG(e.prototype,t),r&&TG(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function jG(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function WG(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function ZG(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var _G=[0,0,612,792],XG=new WeakSet,VG=function(){return qG((function e(t){var r=t.pdfManager,A=t.xref,n=t.pageIndex,i=t.pageDict,a=t.ref,o=t.globalIdFactory,s=t.fontCache,c=t.builtInCMapCache,g=t.standardFontDataCache,u=t.globalImageCache,l=t.systemFontCache,h=t.nonBlendModesSet,I=t.xfaFactory;KG(this,e),WG(this,XG),this.pdfManager=r,this.pageIndex=n,this.pageDict=i,this.xref=A,this.ref=a,this.fontCache=s,this.builtInCMapCache=c,this.standardFontDataCache=g,this.globalImageCache=u,this.systemFontCache=l,this.nonBlendModesSet=h,this.evaluatorOptions=r.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=I;var f={obj:0};this._localIdFactory=function(e){function t(){return KG(this,t),HG(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&OG(e,t)}(t,e),qG(t,null,[{key:"createObjId",value:function(){return"p".concat(n,"_").concat(++f.obj)}},{key:"getPageObjId",value:function(){return"p".concat(a.toString())}}])}(o)}),[{key:"_getInheritableProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=yt({dict:this.pageDict,key:e,getArray:t,stopWhenFound:!1});return Array.isArray(r)?1!==r.length&&r[0]instanceof He?He.merge({xref:this.xref,dictArray:r}):r[0]:r}},{key:"content",get:function(){return this.pageDict.getArray("Contents")}},{key:"resources",get:function(){var e=this._getInheritableProperty("Resources");return _(this,"resources",e instanceof He?e:He.empty)}},{key:"_getBoundingBox",value:function(e){if(this.xfaData)return this.xfaData.bbox;var t=Rt(this._getInheritableProperty(e,!0),null);if(t){if(t[2]-t[0]>0&&t[3]-t[1]>0)return t;q("Empty, or invalid, /".concat(e," entry."))}return null}},{key:"mediaBox",get:function(){return _(this,"mediaBox",this._getBoundingBox("MediaBox")||_G)}},{key:"cropBox",get:function(){return _(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}},{key:"userUnit",get:function(){var e=this.pageDict.get("UserUnit");return("number"!=typeof e||e<=0)&&(e=1),_(this,"userUnit",e)}},{key:"view",get:function(){var e=this.cropBox,t=this.mediaBox;if(e!==t&&!Be(e,t)){var r=ge.intersect(e,t);if(r&&r[2]-r[0]>0&&r[3]-r[1]>0)return _(this,"view",r);q("Empty /CropBox and /MediaBox intersection.")}return _(this,"view",t)}},{key:"rotate",get:function(){var e=this._getInheritableProperty("Rotate")||0;return e%90!=0?e=0:e>=360?e%=360:e<0&&(e=(e%360+360)%360),_(this,"rotate",e)}},{key:"_onSubStreamError",value:function(e,t){if(!this.evaluatorOptions.ignoreErrors)throw e;q("getContentStream - ignoring sub-stream (".concat(t,'): "').concat(e,'".'))}},{key:"getContentStream",value:function(){var e=this;return this.pdfManager.ensure(this,"content").then((function(t){return t instanceof ze?t:Array.isArray(t)?new VA(t,e._onSubStreamError.bind(e)):new sr}))}},{key:"xfaData",get:function(){return _(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}},{key:"saveNewAnnotations",value:(A=JG(RG().mark((function e(t,r,A,n){var i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.xfaFactory){e.next=2;break}throw new Error("XFA: Cannot save new annotations.");case 2:return i=new eC({xref:this.xref,handler:t,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),a=new Oe,o=new Pe,e.next=7,ZG(XG,this,zG).call(this,A,a,o);case 7:return s=this.pageDict,c=this.annotations.filter((function(e){return!(e instanceof Ye&&a.has(e))})),e.next=11,SR.saveNewAnnotations(i,r,A,n);case 11:g=e.sent,u=NG(g.annotations);try{for(u.s();!(l=u.n()).done;)(h=l.value.ref)instanceof Ye&&!o.has(h)&&c.push(h)}catch(e){u.e(e)}finally{u.f()}return I=s.get("Annots"),s.set("Annots",c),f=[],e.next=19,iQ(this.ref,s,f,this.xref);case 19:I&&s.set("Annots",I),(C=g.dependencies).push.apply(C,[{ref:this.ref,data:f.join("")}].concat(GG(g.annotations))),B=NG(a);try{for(B.s();!(Q=B.n()).done;)E=Q.value,C.push({ref:E,data:null})}catch(e){B.e(e)}finally{B.f()}return e.abrupt("return",C);case 25:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n){return A.apply(this,arguments)})},{key:"save",value:function(e,t,r){var A=new eC({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions});return this._parsedAnnotations.then((function(e){var n,i=[],a=NG(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;i.push(o.save(A,t,r).catch((function(e){return q("save - ignoring annotation data during "+'"'.concat(t.name,'" task: "').concat(e,'".')),null})))}}catch(e){a.e(e)}finally{a.f()}return Promise.all(i).then((function(e){return e.filter((function(e){return!!e}))}))}))}},{key:"loadResources",value:function(e){var t=this;return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then((function(){return new bE(t.resources,e,t.xref).load()}))}},{key:"getOperatorList",value:function(e){var t=this,r=e.handler,A=e.sink,n=e.task,i=e.intent,a=e.cacheKey,o=e.annotationStorage,s=void 0===o?null:o,c=e.modifiedIds,g=void 0===c?null:c,u=this.getContentStream(),l=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),h=new eC({xref:this.xref,handler:r,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),I=this.xfaFactory?null:qt(s),f=null==I?void 0:I.get(this.pageIndex),C=Promise.resolve(null),B=null;if(f){var Q,E,y=this.pdfManager.ensureDoc("annotationGlobals"),p=new Set,v=NG(f);try{for(v.s();!(E=v.n()).done;){var m=E.value,w=m.bitmapId,b=m.bitmap;!w||b||p.has(w)||p.add(w)}}catch(e){v.e(e)}finally{v.f()}var k=this.evaluatorOptions.isOffscreenCanvasSupported;if(p.size>0){var D,S=f.slice(),F=NG(s);try{for(F.s();!(D=F.n()).done;){var x=xG(D.value,2),R=x[0],G=x[1];R.startsWith(d)&&G.bitmap&&p.has(G.bitmapId)&&S.push(G)}}catch(e){F.e(e)}finally{F.f()}Q=SR.generateImages(S,this.xref,k)}else Q=SR.generateImages(f,this.xref,k);B=new Pe,C=Promise.all([y,ZG(XG,this,zG).call(this,f,B,null)]).then((function(e){var t=xG(e,1)[0];return t?SR.printNewAnnotations(t,h,n,f,Q):null}))}var N=Promise.all([u,l]).then((function(e){var o=xG(e,1)[0],s=new kf(i,A);return r.send("StartRenderPage",{transparency:h.hasBlendModes(t.resources,t.nonBlendModesSet),pageIndex:t.pageIndex,cacheKey:a}),h.getOperatorList({stream:o,task:n,resources:t.resources,operatorList:s}).then((function(){return s}))}));return Promise.all([N,this._parsedAnnotations,C]).then((function(e){var t=xG(e,3),r=t[0],A=t[1],a=t[2];if(a){A=A.filter((function(e){return!(e.ref&&B.has(e.ref))}));for(var o=function(e,t){var r=a[e];if(r.refToReplace){var n=A.findIndex((function(e){return e.ref&&je(e.ref,r.refToReplace)}));n>=0&&(A.splice(n,1,r),a.splice(e--,1),t--)}c=e,u=t},c=0,u=a.length;c<u;c++)o(c,u);A=A.concat(a)}if(0===A.length||64&i)return r.flush(!0),{length:r.totalLength};var l,I=!!(16&i),f=!!(128&i),C=!!(1&i),Q=!!(2&i),E=!!(4&i),d=[],y=NG(A);try{for(y.s();!(l=y.n()).done;){var p=l.value;(C||Q&&p.mustBeViewed(s,I)&&p.mustBeViewedWhenEditing(f,g)||E&&p.mustBePrinted(s))&&d.push(p.getOperatorList(h,n,i,s).catch((function(e){return q("getOperatorList - ignoring annotation data during "+'"'.concat(n.name,'" task: "').concat(e,'".')),{opList:null,separateForm:!1,separateCanvas:!1}})))}}catch(e){y.e(e)}finally{y.f()}return Promise.all(d).then((function(e){var t,A=!1,n=!1,i=NG(e);try{for(i.s();!(t=i.n()).done;){var a=t.value,o=a.opList,s=a.separateForm,c=a.separateCanvas;r.addOpList(o),A||(A=s),n||(n=c)}}catch(e){i.e(e)}finally{i.f()}return r.flush(!0,{form:A,canvas:n}),{length:r.totalLength}}))}))}},{key:"extractTextContent",value:(r=JG(RG().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.handler,A=t.task,n=t.includeMarkedContent,i=t.disableNormalization,a=t.sink,o=this.getContentStream(),s=this.loadResources(["ExtGState","Font","Properties","XObject"]),c=this.pdfManager.ensureCatalog("lang"),e.next=6,Promise.all([o,s,c]);case 6:return g=e.sent,u=xG(g,3),l=u[0],h=u[2],I=new eC({xref:this.xref,handler:r,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),e.abrupt("return",I.getTextContent({stream:l,task:A,resources:this.resources,includeMarkedContent:n,disableNormalization:i,sink:a,viewBox:this.view,lang:h}));case 12:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"getStructTree",value:(t=JG(RG().mark((function e(){var t,r;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("structTreeRoot");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return",null);case 5:return e.next=7,this._parsedAnnotations;case 7:return e.next=9,this.pdfManager.ensure(this,"_parseStructTree",[t]);case 9:return r=e.sent,e.abrupt("return",r.serializable);case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"_parseStructTree",value:function(e){var t=new zQ(e,this.pageDict);return t.parse(this.ref),t}},{key:"getAnnotationsData",value:(e=JG(RG().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._parsedAnnotations;case 2:if(0!==(n=e.sent).length){e.next=5;break}return e.abrupt("return",n);case 5:i=[],a=[],s=!!(1&A),c=!!(2&A),g=!!(4&A),u=NG(n);try{for(u.s();!(l=u.n()).done;)h=l.value,((I=s||c&&h.viewable)||g&&h.printable)&&i.push(h.data),h.hasTextContent&&I&&(o||(o=new eC({xref:this.xref,handler:t,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions})),a.push(h.extractTextContent(o,r,[-1/0,-1/0,1/0,1/0]).catch((function(e){q('getAnnotationsData - ignoring textContent during "'.concat(r.name,'" task: "').concat(e,'".'))}))))}catch(e){u.e(e)}finally{u.f()}return e.next=11,Promise.all(a);case 11:return e.abrupt("return",i);case 12:case"end":return e.stop()}}),e,this)}))),function(t,r,A){return e.apply(this,arguments)})},{key:"annotations",get:function(){var e=this._getInheritableProperty("Annots");return _(this,"annotations",Array.isArray(e)?e:[])}},{key:"_parsedAnnotations",get:function(){var e=this,t=this.pdfManager.ensure(this,"annotations").then(function(){var t=JG(RG().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B;return RG().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==r.length){t.next=2;break}return t.abrupt("return",r);case 2:return t.next=4,Promise.all([e.pdfManager.ensureDoc("annotationGlobals"),e.pdfManager.ensureDoc("fieldObjects")]);case 4:if(A=t.sent,n=xG(A,2),i=n[0],a=n[1],i){t.next=10;break}return t.abrupt("return",[]);case 10:o=null==a?void 0:a.orphanFields,s=[],c=NG(r);try{for(c.s();!(g=c.n()).done;)u=g.value,s.push(SR.create(e.xref,u,i,e._localIdFactory,!1,o,e.ref).catch((function(e){return q('_parsedAnnotations: "'.concat(e,'".')),null})))}catch(e){c.e(e)}finally{c.f()}return l=[],t.t0=NG,t.next=18,Promise.all(s);case 18:t.t1=t.sent,f=(0,t.t0)(t.t1),t.prev=20,f.s();case 22:if((C=f.n()).done){t.next=35;break}if(B=C.value){t.next=26;break}return t.abrupt("continue",33);case 26:if(!(B instanceof MR)){t.next=29;break}return(I||(I=[])).push(B),t.abrupt("continue",33);case 29:if(!(B instanceof TR)){t.next=32;break}return(h||(h=[])).push(B),t.abrupt("continue",33);case 32:l.push(B);case 33:t.next=22;break;case 35:t.next=40;break;case 37:t.prev=37,t.t2=t.catch(20),f.e(t.t2);case 40:return t.prev=40,f.f(),t.finish(40);case 43:return I&&l.push.apply(l,GG(I)),h&&l.push.apply(l,GG(h)),t.abrupt("return",l);case 46:case"end":return t.stop()}}),t,null,[[20,37,40,43]])})));return function(e){return t.apply(this,arguments)}}());return _(this,"_parsedAnnotations",t)}},{key:"jsActions",get:function(){return _(this,"jsActions",Mt(this.xref,this.pageDict,D))}}]);var e,t,r,A}();function zG(e,t,r){return $G.apply(this,arguments)}function $G(){return($G=JG(RG().mark((function e(t,r,A){var n,i,a,o,s=this;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=[],i=NG(t),e.prev=2,o=RG().mark((function e(){var t,i,o;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=a.value).id){e.next=14;break}if(i=Ye.fromString(t.id)){e.next=6;break}return q("A non-linked annotation cannot be modified: ".concat(t.id)),e.abrupt("return",0);case 6:if(!t.deleted){e.next=10;break}return r.put(i,i),t.popupRef&&(o=Ye.fromString(t.popupRef))&&r.put(o,o),e.abrupt("return",0);case 10:null==A||A.put(i),t.ref=i,n.push(s.xref.fetchAsync(i).then((function(e){e instanceof He&&(t.oldAnnotation=e.clone())}),(function(){q("Cannot fetch \`oldAnnotation\` for: ".concat(i,"."))}))),delete t.id;case 14:case"end":return e.stop()}}),e)})),i.s();case 5:if((a=i.n()).done){e.next=12;break}return e.delegateYield(o(),"t0",7);case 7:if(0!==e.t0){e.next=10;break}return e.abrupt("continue",10);case 10:e.next=5;break;case 12:e.next=17;break;case 14:e.prev=14,e.t1=e.catch(2),i.e(e.t1);case 17:return e.prev=17,i.f(),e.finish(17);case 20:return e.next=22,Promise.all(n);case 22:case"end":return e.stop()}}),e,null,[[2,14,17,20]])})))).apply(this,arguments)}var eN=new Uint8Array([37,80,68,70,45]),tN=new Uint8Array([115,116,97,114,116,120,114,101,102]),rN=new Uint8Array([101,110,100,111,98,106]);function AN(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1024,A=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=t.length,i=e.peekBytes(r),a=i.length-n;if(a<=0)return!1;if(A)for(var o=n-1,s=i.length-1;s>=o;){for(var c=0;c<n&&i[s-c]===t[o-c];)c++;if(c>=n)return e.pos+=s-o,!0;s--}else for(var g=0;g<=a;){for(var u=0;u<n&&i[g+u]===t[u];)u++;if(u>=n)return e.pos+=g,!0;g++}return!1}var nN=new WeakSet,iN=function(){return qG((function e(t,r){if(KG(this,e),WG(this,nN),r.length<=0)throw new $("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=t,this.stream=r,this.xref=new FG(r,t),this._pagePromises=new Map,this._version=null;var A={font:0};this._globalIdFactory=function(){return qG((function e(){KG(this,e)}),null,[{key:"getDocId",value:function(){return"g_".concat(t.docId)}},{key:"createFontId",value:function(){return"f".concat(++A.font)}},{key:"createObjId",value:function(){j("Abstract method \`createObjId\` called.")}},{key:"getPageObjId",value:function(){j("Abstract method \`getPageObjId\` called.")}}])}()}),[{key:"parse",value:function(e){this.xref.parse(e),this.catalog=new fE(this.pdfManager,this.xref)}},{key:"linearization",get:function(){var e=null;try{e=Ko.create(this.stream)}catch(e){if(e instanceof Ct)throw e;T(e)}return _(this,"linearization",e)}},{key:"startXRef",get:function(){var e=this.stream,t=0;if(this.linearization){if(e.reset(),AN(e,rN)){e.skip(6);for(var r=e.peekByte();Dt(r);)e.pos++,r=e.peekByte();t=e.pos-e.start}}else{for(var A=tN.length,n=!1,i=e.end;!n&&i>0;)(i-=1024-A)<0&&(i=0),e.pos=i,n=AN(e,tN,1024,!0);if(n){var a;e.skip(9);do{a=e.getByte()}while(Dt(a));for(var o="";a>=32&&a<=57;)o+=String.fromCharCode(a),a=e.getByte();t=parseInt(o,10),isNaN(t)&&(t=0)}}return _(this,"startXRef",t)}},{key:"checkHeader",value:function(){var e=this.stream;if(e.reset(),AN(e,eN)){e.moveStart(),e.skip(eN.length);for(var t,r="";(t=e.getByte())>32&&r.length<7;)r+=String.fromCharCode(t);It.test(r)?this._version=r:q("Invalid PDF header version: ".concat(r))}}},{key:"parseStartXRef",value:function(){this.xref.setStartXRef(this.startXRef)}},{key:"numPages",get:function(){return _(this,"numPages",this.catalog.hasActualNumPages?this.catalog.numPages:this.xfaFactory?this.xfaFactory.getNumPages():this.linearization?this.linearization.numPages:this.catalog.numPages)}},{key:"_hasOnlyDocumentSignatures",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return!!Array.isArray(e)&&e.every((function(e){if(!((e=t.xref.fetchIfRef(e))instanceof He))return!1;if(e.has("Kids"))return++r>10?(q("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):t._hasOnlyDocumentSignatures(e.get("Kids"),r);var A=Ke(e.get("FT"),"Sig"),n=e.get("Rect"),i=Array.isArray(n)&&n.every((function(e){return 0===e}));return A&&i}))}},{key:"_xfaStreams",get:function(){var e=this.catalog.acroForm;if(!e)return null;var t=e.get("XFA"),r={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if(t instanceof ze&&!t.isEmpty)return r["xdp:xdp"]=t,r;if(!Array.isArray(t)||0===t.length)return null;for(var A=0,n=t.length;A<n;A+=2){var i;if(i=0===A?"xdp:xdp":A===n-2?"/xdp:xdp":t[A],r.hasOwnProperty(i)){var a=this.xref.fetchIfRef(t[A+1]);a instanceof ze&&!a.isEmpty&&(r[i]=a)}}return r}},{key:"xfaDatasets",get:function(){var e=this._xfaStreams;if(!e)return _(this,"xfaDatasets",null);for(var t=0,r=["datasets","xdp:xdp"];t<r.length;t++){var A=r[t],n=e[A];if(n)try{var i=fe(n.getString());return _(this,"xfaDatasets",new BG({[A]:i}))}catch(e){q("XFA - Invalid utf-8 string.");break}}return _(this,"xfaDatasets",null)}},{key:"xfaData",get:function(){var e=this._xfaStreams;if(!e)return null;for(var t=Object.create(null),r=0,A=Object.entries(e);r<A.length;r++){var n=xG(A[r],2),i=n[0],a=n[1];if(a)try{t[i]=fe(a.getString())}catch(e){return q("XFA - Invalid utf-8 string."),null}}return t}},{key:"xfaFactory",get:function(){var e;return this.pdfManager.enableXfa&&this.catalog.needsRendering&&this.formInfo.hasXfa&&!this.formInfo.hasAcroForm&&(e=this.xfaData),_(this,"xfaFactory",e?new oR(e):null)}},{key:"isPureXfa",get:function(){return!!this.xfaFactory&&this.xfaFactory.isValid()}},{key:"htmlForXfa",get:function(){return this.xfaFactory?this.xfaFactory.getPages():null}},{key:"loadXfaImages",value:(o=JG(RG().mark((function e(){var t,r,A,n,i,a,o,s;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("xfaImages");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return");case 5:return r=t.getKeys(),A=new bE(t,r,this.xref),e.next=9,A.load();case 9:n=new Map,i=NG(r);try{for(i.s();!(a=i.n()).done;)o=a.value,(s=t.get(o))instanceof ze&&n.set(o,s.getBytes())}catch(e){i.e(e)}finally{i.f()}this.xfaFactory.setImages(n);case 13:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"loadXfaFonts",value:(a=JG(RG().mark((function e(t,r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("acroForm");case 2:if(A=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,A.getAsync("DR");case 7:if((n=e.sent)instanceof He){e.next=10;break}return e.abrupt("return");case 10:return i=new bE(n,["Font"],this.xref),e.next=13,i.load();case 13:if((a=n.get("Font"))instanceof He){e.next=16;break}return e.abrupt("return");case 16:(o=Object.assign(Object.create(null),this.pdfManager.evaluatorOptions)).useSystemFonts=!1,s=new eC({xref:this.xref,handler:t,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:this.catalog.fontCache,builtInCMapCache:this.catalog.builtInCMapCache,standardFontDataCache:this.catalog.standardFontDataCache,options:o}),c=new kf,g=[],u={get font(){return g.at(-1)},set font(e){g.push(e)},clone(){return this}},l=new Map,a.forEach((function(e,t){l.set(e,t)})),h=[],I=NG(l),e.prev=26,I.s();case 28:if((f=I.n()).done){e.next=43;break}if(C=xG(f.value,2),B=C[0],Q=C[1],(E=Q.get("FontDescriptor"))instanceof He){e.next=33;break}return e.abrupt("continue",41);case 33:if(d=(d=E.get("FontFamily")).replaceAll(/[ ]+(\\d)/g,"$1"),y=E.get("FontWeight"),p=-E.get("ItalicAngle"),Ot(v={fontFamily:d,fontWeight:y,italicAngle:p})){e.next=40;break}return e.abrupt("continue",41);case 40:h.push(s.handleSetFont(n,[Ue.get(B),1],null,c,r,u,null,v).catch((function(e){return q('loadXfaFonts: "'.concat(e,'".')),null})));case 41:e.next=28;break;case 43:e.next=48;break;case 45:e.prev=45,e.t0=e.catch(26),I.e(e.t0);case 48:return e.prev=48,I.f(),e.finish(48);case 51:return e.next=53,Promise.all(h);case 53:if(m=this.xfaFactory.setFonts(g)){e.next=56;break}return e.abrupt("return");case 56:o.ignoreErrors=!0,h.length=0,g.length=0,w=new Set,b=NG(m);try{for(b.s();!(k=b.n()).done;)D=k.value,sh("".concat(D,"-Regular"))||w.add(D)}catch(e){b.e(e)}finally{b.f()}w.size&&m.push("PdfJS-Fallback"),S=NG(m),e.prev=64,S.s();case 66:if((F=S.n()).done){e.next=73;break}if(x=F.value,!w.has(x)){e.next=70;break}return e.abrupt("continue",71);case 70:for(R=0,G=[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}];R<G.length;R++)N=G[R],L="".concat(x,"-").concat(N.name),U=ch(L),h.push(s.handleSetFont(n,[Ue.get(L),1],null,c,r,u,U,{fontFamily:x,fontWeight:N.fontWeight,italicAngle:N.italicAngle}).catch((function(e){return q('loadXfaFonts: "'.concat(e,'".')),null})));case 71:e.next=66;break;case 73:e.next=78;break;case 75:e.prev=75,e.t1=e.catch(64),S.e(e.t1);case 78:return e.prev=78,S.f(),e.finish(78);case 81:return e.next=83,Promise.all(h);case 83:this.xfaFactory.appendFonts(g,w);case 84:case"end":return e.stop()}}),e,this,[[26,45,48,51],[64,75,78,81]])}))),function(e,t){return a.apply(this,arguments)})},{key:"serializeXfaData",value:(i=JG(RG().mark((function e(t){return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.xfaFactory?this.xfaFactory.serializeData(t):null);case 1:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"version",get:function(){return this.catalog.version||this._version}},{key:"formInfo",get:function(){var e={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},t=this.catalog.acroForm;if(!t)return _(this,"formInfo",e);try{var r=t.get("Fields"),A=Array.isArray(r)&&r.length>0;e.hasFields=A;var n=t.get("XFA");e.hasXfa=Array.isArray(n)&&n.length>0||n instanceof ze&&!n.isEmpty;var i=!!(1&t.get("SigFlags")),a=i&&this._hasOnlyDocumentSignatures(r);e.hasAcroForm=A&&!a,e.hasSignatures=i}catch(e){if(e instanceof Ct)throw e;q('Cannot fetch form information: "'.concat(e,'".'))}return _(this,"formInfo",e)}},{key:"documentInfo",get:function(){var e,t={PDFFormatVersion:this.version,Language:this.catalog.lang,EncryptFilterName:this.xref.encrypt?this.xref.encrypt.filterName:null,IsLinearized:!!this.linearization,IsAcroFormPresent:this.formInfo.hasAcroForm,IsXFAPresent:this.formInfo.hasXfa,IsCollectionPresent:!!this.catalog.collection,IsSignaturesPresent:this.formInfo.hasSignatures};try{e=this.xref.trailer.get("Info")}catch(e){if(e instanceof Ct)throw e;T("The document information dictionary is invalid.")}if(!(e instanceof He))return _(this,"documentInfo",t);var r,A=NG(e.getKeys());try{for(A.s();!(r=A.n()).done;){var n=r.value,i=e.get(n);switch(n){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if("string"==typeof i){t[n]=Ie(i);continue}break;case"Trapped":if(i instanceof Ue){t[n]=i;continue}break;default:var a=void 0;switch(typeof i){case"string":a=Ie(i);break;case"number":case"boolean":a=i;break;default:i instanceof Ue&&(a=i)}if(void 0===a){q('Bad value, for custom key "'.concat(n,'", in Info: ').concat(i,"."));continue}t.Custom||(t.Custom=Object.create(null)),t.Custom[n]=a;continue}q('Bad value, for key "'.concat(n,'", in Info: ').concat(i,"."))}}catch(e){A.e(e)}finally{A.f()}return _(this,"documentInfo",t)}},{key:"fingerprints",get:function(){function e(e){return"string"==typeof e&&e.length>0&&"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0"!==e}function t(e){var t,r=[],A=NG(e);try{for(A.s();!(t=A.n()).done;){var n=t.value.toString(16);r.push(n.padStart(2,"0"))}}catch(e){A.e(e)}finally{A.f()}return r.join("")}var r,A,n=this.xref.trailer.get("ID");return Array.isArray(n)&&e(n[0])?(r=ie(n[0]),n[1]!==n[0]&&e(n[1])&&(A=ie(n[1]))):r=xB(this.stream.getByteRange(0,1024),0,1024),_(this,"fingerprints",[t(r),A?t(A):null])}},{key:"_getLinearizationPage",value:(n=JG(RG().mark((function e(t){var r,A,n,i,a,o;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.catalog,A=this.linearization,n=this.xref,i=Ye.get(A.objectNumberFirst,0),e.prev=2,e.next=5,n.fetchAsync(i);case 5:if(!((a=e.sent)instanceof He)){e.next=16;break}if(!((o=a.getRaw("Type"))instanceof Ye)){e.next=12;break}return e.next=11,n.fetchAsync(o);case 11:o=e.sent;case 12:if(!Ke(o,"Page")&&(a.has("Type")||a.has("Kids")||!a.has("Contents"))){e.next=16;break}return r.pageKidsCountCache.has(i)||r.pageKidsCountCache.put(i,1),r.pageIndexCache.has(i)||r.pageIndexCache.put(i,0),e.abrupt("return",[a,i]);case 16:throw new re("The Linearization dictionary doesn't point to a valid Page dictionary.");case 19:return e.prev=19,e.t0=e.catch(2),q('_getLinearizationPage: "'.concat(e.t0.message,'".')),e.abrupt("return",r.getPageDict(t));case 23:case"end":return e.stop()}}),e,this,[[2,19]])}))),function(e){return n.apply(this,arguments)})},{key:"getPage",value:function(e){var t=this,r=this._pagePromises.get(e);if(r)return r;var A,n=this.catalog,i=this.linearization,a=this.xfaFactory;return A=(A=a?Promise.resolve([He.empty,null]):(null==i?void 0:i.pageFirst)===e?this._getLinearizationPage(e):n.getPageDict(e)).then((function(r){var A=xG(r,2),i=A[0],o=A[1];return new VG({pdfManager:t.pdfManager,xref:t.xref,pageIndex:e,pageDict:i,ref:o,globalIdFactory:t._globalIdFactory,fontCache:n.fontCache,builtInCMapCache:n.builtInCMapCache,standardFontDataCache:n.standardFontDataCache,globalImageCache:n.globalImageCache,systemFontCache:n.systemFontCache,nonBlendModesSet:n.nonBlendModesSet,xfaFactory:a})})),this._pagePromises.set(e,A),A}},{key:"checkFirstPage",value:(A=JG(RG().mark((function e(){var t=arguments;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.length>0&&void 0!==t[0]&&t[0])){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,this.getPage(0);case 6:e.next=15;break;case 8:if(e.prev=8,e.t0=e.catch(3),!(e.t0 instanceof Qt)){e.next=15;break}return this._pagePromises.delete(0),e.next=14,this.cleanup();case 14:throw new Et;case 15:case"end":return e.stop()}}),e,this,[[3,8]])}))),function(){return A.apply(this,arguments)})},{key:"checkLastPage",value:(r=JG(RG().mark((function e(){var t,r,A,n,i,a,o,s,c,g,u,l,h,I=arguments;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=I.length>0&&void 0!==I[0]&&I[0],r=this.catalog,A=this.pdfManager,r.setActualNumPages(),e.prev=3,e.next=6,Promise.all([A.ensureDoc("xfaFactory"),A.ensureDoc("linearization"),A.ensureCatalog("numPages")]);case 6:if(!this.xfaFactory){e.next=10;break}return e.abrupt("return");case 10:n=this.linearization?this.linearization.numPages:r.numPages;case 11:if(Number.isInteger(n)){e.next=15;break}throw new re("Page count is not an integer.");case 15:if(!(n<=1)){e.next=17;break}return e.abrupt("return");case 17:return e.next=19,this.getPage(n-1);case 19:e.next=44;break;case 21:return e.prev=21,e.t0=e.catch(3),this._pagePromises.delete(n-1),e.next=26,this.cleanup();case 26:if(!(e.t0 instanceof Qt)||t){e.next=28;break}throw new Et;case 28:return q("checkLastPage - invalid /Pages tree /Count: ".concat(n,".")),e.prev=29,e.next=32,r.getAllPageDicts(t);case 32:i=e.sent,e.next=41;break;case 35:if(e.prev=35,e.t1=e.catch(29),!(e.t1 instanceof Qt)||t){e.next=39;break}throw new Et;case 39:return r.setActualNumPages(1),e.abrupt("return");case 41:a=NG(i);try{for(a.s();!(o=a.n()).done;)s=xG(o.value,2),c=s[0],g=xG(s[1],2),u=g[0],l=g[1],h=void 0,u instanceof Error?(h=Promise.reject(u)).catch((function(){})):h=Promise.resolve(new VG({pdfManager:A,xref:this.xref,pageIndex:c,pageDict:u,ref:l,globalIdFactory:this._globalIdFactory,fontCache:r.fontCache,builtInCMapCache:r.builtInCMapCache,standardFontDataCache:r.standardFontDataCache,globalImageCache:r.globalImageCache,systemFontCache:r.systemFontCache,nonBlendModesSet:r.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(c,h)}catch(e){a.e(e)}finally{a.f()}r.setActualNumPages(i.size);case 44:case"end":return e.stop()}}),e,this,[[3,21],[29,35]])}))),function(){return r.apply(this,arguments)})},{key:"fontFallback",value:function(e,t){return this.catalog.fontFallback(e,t)}},{key:"cleanup",value:(t=JG(RG().mark((function e(){var t,r=arguments;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]&&r[0],e.abrupt("return",this.catalog?this.catalog.cleanup(t):JC());case 2:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"fieldObjects",get:function(){var e=this,t=this.pdfManager.ensureDoc("formInfo").then(function(){var t=JG(RG().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B;return RG().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r.hasFields){t.next=2;break}return t.abrupt("return",null);case 2:return t.next=4,Promise.all([e.pdfManager.ensureDoc("annotationGlobals"),e.pdfManager.ensureCatalog("acroForm")]);case 4:if(A=t.sent,n=xG(A,2),i=n[0],a=n[1],i){t.next=10;break}return t.abrupt("return",null);case 10:return o=new Pe,s=Object.create(null),c=new Map,g=new Oe,t.t0=NG,t.next=17,a.getAsync("Fields");case 17:t.t1=t.sent,u=(0,t.t0)(t.t1),t.prev=19,u.s();case 21:if((l=u.n()).done){t.next=27;break}return h=l.value,t.next=25,ZG(nN,e,aN).call(e,"",null,h,c,i,o,g);case 25:t.next=21;break;case 27:t.next=32;break;case 29:t.prev=29,t.t2=t.catch(19),u.e(t.t2);case 32:return t.prev=32,u.f(),t.finish(32);case 35:I=[],f=NG(c),t.prev=37,B=RG().mark((function e(){var t,r,A;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=xG(C.value,2),r=t[0],A=t[1],I.push(Promise.all(A).then((function(e){(e=e.filter((function(e){return!!e}))).length>0&&(s[r]=e)})));case 2:case"end":return e.stop()}}),e)})),f.s();case 40:if((C=f.n()).done){t.next=44;break}return t.delegateYield(B(),"t3",42);case 42:t.next=40;break;case 44:t.next=49;break;case 46:t.prev=46,t.t4=t.catch(37),f.e(t.t4);case 49:return t.prev=49,f.f(),t.finish(49);case 52:return t.next=54,Promise.all(I);case 54:return t.abrupt("return",{allFields:s,orphanFields:g});case 55:case"end":return t.stop()}}),t,null,[[19,29,32,35],[37,46,49,52]])})));return function(e){return t.apply(this,arguments)}}());return _(this,"fieldObjects",t)}},{key:"hasJSActions",get:function(){return _(this,"hasJSActions",this.pdfManager.ensureDoc("_parseHasJSActions"))}},{key:"_parseHasJSActions",value:(e=JG(RG().mark((function e(){var t,r,A,n;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);case 2:if(t=e.sent,r=xG(t,2),A=r[0],n=r[1],!A){e.next=8;break}return e.abrupt("return",!0);case 8:if(!n){e.next=10;break}return e.abrupt("return",Object.values(n.allFields).some((function(e){return e.some((function(e){return null!==e.actions}))})));case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"calculationOrderIds",get:function(){var e,t=null===(e=this.catalog.acroForm)||void 0===e?void 0:e.get("CO");if(!Array.isArray(t)||0===t.length)return _(this,"calculationOrderIds",null);var r,A=[],n=NG(t);try{for(n.s();!(r=n.n()).done;){var i=r.value;i instanceof Ye&&A.push(i.toString())}}catch(e){n.e(e)}finally{n.f()}return _(this,"calculationOrderIds",A.length?A:null)}},{key:"annotationGlobals",get:function(){return _(this,"annotationGlobals",SR.createGlobals(this.pdfManager))}}]);var e,t,r,A,n,i,a,o}();function aN(e,t,r,A,n,i,a){return oN.apply(this,arguments)}function oN(){return(oN=JG(RG().mark((function e(t,r,A,n,i,a,o){var s,c,g,u,l,h,I,f,C;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=this.xref,A instanceof Ye&&!a.has(A)){e.next=3;break}return e.abrupt("return");case 3:return a.put(A),e.next=6,s.fetchAsync(A);case 6:if((c=e.sent)instanceof He){e.next=9;break}return e.abrupt("return");case 9:if(!c.has("T")){e.next=18;break}return e.t0=Ie,e.next=13,c.getAsync("T");case 13:e.t1=e.sent,g=(0,e.t0)(e.t1),t=""===t?g:"".concat(t,".").concat(g),e.next=39;break;case 18:u=c;case 19:if(!((u=u.getRaw("Parent")||r)instanceof Ye)){e.next=27;break}if(!a.has(u)){e.next=24;break}return e.abrupt("break",39);case 24:return e.next=26,s.fetchAsync(u);case 26:u=e.sent;case 27:if(u instanceof He){e.next=29;break}return e.abrupt("break",39);case 29:if(!u.has("T")){e.next=37;break}return e.t2=Ie,e.next=33,u.getAsync("T");case 33:return e.t3=e.sent,l=(0,e.t2)(e.t3),t=""===t?l:"".concat(t,".").concat(l),e.abrupt("break",39);case 37:e.next=19;break;case 39:if(r&&!c.has("Parent")&&Ke(c.get("Subtype"),"Widget")&&o.put(A,r),n.has(t)||n.set(t,[]),n.get(t).push(SR.create(s,A,i,null,!0,o,null).then((function(e){return null==e?void 0:e.getFieldObject()})).catch((function(e){return q('#collectFieldObjects: "'.concat(e,'".')),null}))),c.has("Kids")){e.next=44;break}return e.abrupt("return");case 44:return e.next=46,c.getAsync("Kids");case 46:if(h=e.sent,!Array.isArray(h)){e.next=65;break}I=NG(h),e.prev=49,I.s();case 51:if((f=I.n()).done){e.next=57;break}return C=f.value,e.next=55,ZG(nN,this,aN).call(this,t,A,C,n,i,a,o);case 55:e.next=51;break;case 57:e.next=62;break;case 59:e.prev=59,e.t4=e.catch(49),I.e(e.t4);case 62:return e.prev=62,I.f(),e.finish(62);case 65:case"end":return e.stop()}}),e,this,[[49,59,62,65]])})))).apply(this,arguments)}function sN(e,t,r){return t=gN(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,cN()?Reflect.construct(t,r||[],gN(e).constructor):t.apply(e,r))}function cN(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(cN=function(){return!!e})()}function gN(e){return gN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gN(e)}function uN(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lN(e,t)}function lN(e,t){return lN=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lN(e,t)}function hN(){hN=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function IN(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function fN(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){IN(i,A,n,a,o,"next",e)}function o(e){IN(i,A,n,a,o,"throw",e)}a(void 0)}))}}function CN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BN(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,EN(A.key),A)}}function QN(e,t,r){return t&&BN(e.prototype,t),r&&BN(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function EN(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var dN=function(){return QN((function e(t){var r;CN(this,e),this._docBaseUrl=function(e){if(e){var t=Z(e);if(t)return t.href;q('Invalid absolute docBaseUrl: "'.concat(e,'".'))}return null}(t.docBaseUrl),this._docId=t.docId,this._password=t.password,this.enableXfa=t.enableXfa,(r=t.evaluatorOptions).isOffscreenCanvasSupported&&(r.isOffscreenCanvasSupported=se.isOffscreenCanvasSupported),this.evaluatorOptions=Object.freeze(t.evaluatorOptions)}),[{key:"docId",get:function(){return this._docId}},{key:"password",get:function(){return this._password}},{key:"docBaseUrl",get:function(){return this._docBaseUrl}},{key:"catalog",get:function(){return this.pdfDocument.catalog}},{key:"ensureDoc",value:function(e,t){return this.ensure(this.pdfDocument,e,t)}},{key:"ensureXRef",value:function(e,t){return this.ensure(this.pdfDocument.xref,e,t)}},{key:"ensureCatalog",value:function(e,t){return this.ensure(this.pdfDocument.catalog,e,t)}},{key:"getPage",value:function(e){return this.pdfDocument.getPage(e)}},{key:"fontFallback",value:function(e,t){return this.pdfDocument.fontFallback(e,t)}},{key:"loadXfaFonts",value:function(e,t){return this.pdfDocument.loadXfaFonts(e,t)}},{key:"loadXfaImages",value:function(){return this.pdfDocument.loadXfaImages()}},{key:"serializeXfaData",value:function(e){return this.pdfDocument.serializeXfaData(e)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pdfDocument.cleanup(e)}},{key:"ensure",value:(e=fN(hN().mark((function e(t,r,A){return hN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:j("Abstract method \`ensure\` called");case 1:case"end":return e.stop()}}),e)}))),function(t,r,A){return e.apply(this,arguments)})},{key:"requestRange",value:function(e,t){j("Abstract method \`requestRange\` called")}},{key:"requestLoadedStream",value:function(){j("Abstract method \`requestLoadedStream\` called")}},{key:"sendProgressiveData",value:function(e){j("Abstract method \`sendProgressiveData\` called")}},{key:"updatePassword",value:function(e){this._password=e}},{key:"terminate",value:function(e){j("Abstract method \`terminate\` called")}}]);var e}(),yN=function(e){function t(e){var r;CN(this,t),r=sN(this,t,[e]);var A=new ar(e.source);return r.pdfDocument=new iN(r,A),r._loadedStreamPromise=Promise.resolve(A),r}return uN(t,dN),QN(t,[{key:"ensure",value:(r=fN(hN().mark((function e(t,r,A){var n;return hN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof(n=t[r])){e.next=3;break}return e.abrupt("return",n.apply(t,A));case 3:return e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),function(e,t,A){return r.apply(this,arguments)})},{key:"requestRange",value:function(e,t){return Promise.resolve()}},{key:"requestLoadedStream",value:function(){return this._loadedStreamPromise}},{key:"terminate",value:function(e){}}]);var r}(),pN=function(e){function t(e){var r;return CN(this,t),(r=sN(this,t,[e])).streamManager=new dr(e.source,{msgHandler:e.handler,length:e.length,disableAutoFetch:e.disableAutoFetch,rangeChunkSize:e.rangeChunkSize}),r.pdfDocument=new iN(r,r.streamManager.getStream()),r}return uN(t,dN),QN(t,[{key:"ensure",value:(r=fN(hN().mark((function e(t,r,A){var n;return hN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,"function"!=typeof(n=t[r])){e.next=4;break}return e.abrupt("return",n.apply(t,A));case 4:return e.abrupt("return",n);case 7:if(e.prev=7,e.t0=e.catch(0),e.t0 instanceof Ct){e.next=11;break}throw e.t0;case 11:return e.next=13,this.requestRange(e.t0.begin,e.t0.end);case 13:return e.abrupt("return",this.ensure(t,r,A));case 14:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(e,t,A){return r.apply(this,arguments)})},{key:"requestRange",value:function(e,t){return this.streamManager.requestRange(e,t)}},{key:"requestLoadedStream",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.streamManager.requestAllChunks(e)}},{key:"sendProgressiveData",value:function(e){this.streamManager.onReceiveData({chunk:e})}},{key:"terminate",value:function(e){this.streamManager.abort(e)}}]);var r}();function vN(){vN=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function mN(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function wN(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,bN(A.key),A)}}function bN(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function kN(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}r(5204);function DN(e){switch(e instanceof Error||"object"==typeof e&&null!==e||j('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new Ae(e.message);case"MissingPDFException":return new ee(e.message);case"PasswordException":return new V(e.message,e.code);case"UnexpectedResponseException":return new te(e.message,e.status);case"UnknownErrorException":return new z(e.message,e.details);default:return new z(e.message,e.toString())}}var SN=new WeakSet,FN=function(){return function(e,t,r){return t&&wN(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r,A){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(this,SN),this.sourceName=t,this.targetName=r,this.comObj=A,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===n.sourceName)if(t.stream)kN(SN,n,RN).call(n,t);else if(t.callback){var r=t.callbackId,i=n.callbackCapabilities[r];if(!i)throw new Error("Cannot resolve callback ".concat(r));if(delete n.callbackCapabilities[r],1===t.callback)i.resolve(t.data);else{if(2!==t.callback)throw new Error("Unexpected callback case");i.reject(DN(t.reason))}}else{var a=n.actionHandler[t.action];if(!a)throw new Error("Unknown action from worker: ".concat(t.action));if(t.callbackId){var o=n.sourceName,s=t.sourceName;new Promise((function(e){e(a(t.data))})).then((function(e){A.postMessage({sourceName:o,targetName:s,callback:1,callbackId:t.callbackId,data:e})}),(function(e){A.postMessage({sourceName:o,targetName:s,callback:2,callbackId:t.callbackId,reason:DN(e)})}))}else t.streamId?kN(SN,n,xN).call(n,t):a(t.data)}},A.addEventListener("message",this._onComObjOnMessage)}),[{key:"on",value:function(e,t){var r=this.actionHandler;if(r[e])throw new Error('There is already an actionName called "'.concat(e,'"'));r[e]=t}},{key:"send",value:function(e,t,r){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},r)}},{key:"sendWithPromise",value:function(e,t,r){var A=this.callbackId++,n=Promise.withResolvers();this.callbackCapabilities[A]=n;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:A,data:t},r)}catch(e){n.reject(e)}return n.promise}},{key:"sendWithStream",value:function(e,t,r,A){var n=this,i=this.streamId++,a=this.sourceName,o=this.targetName,s=this.comObj;return new ReadableStream({start:function(r){var c=Promise.withResolvers();return n.streamControllers[i]={controller:r,startCall:c,pullCall:null,cancelCall:null,isClosed:!1},s.postMessage({sourceName:a,targetName:o,action:e,streamId:i,data:t,desiredSize:r.desiredSize},A),c.promise},pull:function(e){var t=Promise.withResolvers();return n.streamControllers[i].pullCall=t,s.postMessage({sourceName:a,targetName:o,stream:6,streamId:i,desiredSize:e.desiredSize}),t.promise},cancel:function(e){W(e instanceof Error,"cancel must have a valid reason");var t=Promise.withResolvers();return n.streamControllers[i].cancelCall=t,n.streamControllers[i].isClosed=!0,s.postMessage({sourceName:a,targetName:o,stream:1,streamId:i,reason:DN(e)}),t.promise}},r)}},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}])}();function xN(e){var t=e.streamId,r=this.sourceName,A=e.sourceName,n=this.comObj,i=this,a=this.actionHandler[e.action],o={enqueue(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var o=this.desiredSize;this.desiredSize-=i,o>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),n.postMessage({sourceName:r,targetName:A,stream:4,streamId:t,chunk:e},a)}},close(){this.isCancelled||(this.isCancelled=!0,n.postMessage({sourceName:r,targetName:A,stream:3,streamId:t}),delete i.streamSinks[t])},error(e){W(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,n.postMessage({sourceName:r,targetName:A,stream:5,streamId:t,reason:DN(e)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};o.sinkCapability.resolve(),o.ready=o.sinkCapability.promise,this.streamSinks[t]=o,new Promise((function(t){t(a(e.data,o))})).then((function(){n.postMessage({sourceName:r,targetName:A,stream:8,streamId:t,success:!0})}),(function(e){n.postMessage({sourceName:r,targetName:A,stream:8,streamId:t,reason:DN(e)})}))}function RN(e){var t=e.streamId,r=this.sourceName,A=e.sourceName,n=this.comObj,i=this.streamControllers[t],a=this.streamSinks[t];switch(e.stream){case 8:e.success?i.startCall.resolve():i.startCall.reject(DN(e.reason));break;case 7:e.success?i.pullCall.resolve():i.pullCall.reject(DN(e.reason));break;case 6:if(!a){n.postMessage({sourceName:r,targetName:A,stream:7,streamId:t,success:!0});break}a.desiredSize<=0&&e.desiredSize>0&&a.sinkCapability.resolve(),a.desiredSize=e.desiredSize,new Promise((function(e){var t;e(null===(t=a.onPull)||void 0===t?void 0:t.call(a))})).then((function(){n.postMessage({sourceName:r,targetName:A,stream:7,streamId:t,success:!0})}),(function(e){n.postMessage({sourceName:r,targetName:A,stream:7,streamId:t,reason:DN(e)})}));break;case 4:if(W(i,"enqueue should have stream controller"),i.isClosed)break;i.controller.enqueue(e.chunk);break;case 3:if(W(i,"close should have stream controller"),i.isClosed)break;i.isClosed=!0,i.controller.close(),kN(SN,this,GN).call(this,i,t);break;case 5:W(i,"error should have stream controller"),i.controller.error(DN(e.reason)),kN(SN,this,GN).call(this,i,t);break;case 2:e.success?i.cancelCall.resolve():i.cancelCall.reject(DN(e.reason)),kN(SN,this,GN).call(this,i,t);break;case 1:if(!a)break;new Promise((function(t){var r;t(null===(r=a.onCancel)||void 0===r?void 0:r.call(a,DN(e.reason)))})).then((function(){n.postMessage({sourceName:r,targetName:A,stream:2,streamId:t,success:!0})}),(function(e){n.postMessage({sourceName:r,targetName:A,stream:2,streamId:t,reason:DN(e)})})),a.sinkCapability.reject(DN(e.reason)),a.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}function GN(e,t){return NN.apply(this,arguments)}function NN(){var e;return e=vN().mark((function e(t,r){var A,n,i;return vN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.allSettled([null===(A=t.startCall)||void 0===A?void 0:A.promise,null===(n=t.pullCall)||void 0===n?void 0:n.promise,null===(i=t.cancelCall)||void 0===i?void 0:i.promise]);case 2:delete this.streamControllers[r];case 3:case"end":return e.stop()}}),e,this)})),NN=function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){mN(i,A,n,a,o,"next",e)}function o(e){mN(i,A,n,a,o,"throw",e)}a(void 0)}))},NN.apply(this,arguments)}function LN(){LN=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function UN(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function MN(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){UN(i,A,n,a,o,"next",e)}function o(e){UN(i,A,n,a,o,"throw",e)}a(void 0)}))}}function JN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function HN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YN(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,ON(A.key),A)}}function PN(e,t,r){return t&&YN(e.prototype,t),r&&YN(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ON(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var KN=function(){return PN((function e(t){HN(this,e),this._msgHandler=t,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}),[{key:"getFullReader",value:function(){return W(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new TN(this._msgHandler),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new qN(e,t,this._msgHandler);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){var t;null===(t=this._fullRequestReader)||void 0===t||t.cancel(e);var r,A=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return JN(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?JN(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(this._rangeRequestReaders.slice(0));try{for(A.s();!(r=A.n()).done;)r.value.cancel(e)}catch(e){A.e(e)}finally{A.f()}}}])}(),TN=function(){return PN((function e(t){var r=this;HN(this,e),this._msgHandler=t,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;var A=this._msgHandler.sendWithStream("GetReader");this._reader=A.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then((function(e){r._isStreamingSupported=e.isStreamingSupported,r._isRangeSupported=e.isRangeSupported,r._contentLength=e.contentLength}))}),[{key:"headersReady",get:function(){return this._headersReady}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"read",value:(e=MN(LN().mark((function e(){var t,r;return LN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.read();case 2:if(t=e.sent,r=t.value,!t.done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return e.abrupt("return",{value:r.buffer,done:!1});case 8:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader.cancel(e)}}]);var e}(),qN=function(){return PN((function e(t,r,A){HN(this,e),this._msgHandler=A,this.onProgress=null;var n=this._msgHandler.sendWithStream("GetRangeReader",{begin:t,end:r});this._reader=n.getReader()}),[{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(e=MN(LN().mark((function e(){var t,r;return LN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.read();case 2:if(t=e.sent,r=t.value,!t.done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return e.abrupt("return",{value:r.buffer,done:!1});case 8:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader.cancel(e)}}]);var e}();function jN(){jN=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function WN(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=_N(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function ZN(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||_N(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _N(e,t){if(e){if("string"==typeof e)return XN(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?XN(e,t):void 0}}function XN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function VN(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function zN(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){VN(i,A,n,a,o,"next",e)}function o(e){VN(i,A,n,a,o,"throw",e)}a(void 0)}))}}function $N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eL(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,rL(A.key),A)}}function tL(e,t,r){return t&&eL(e.prototype,t),r&&eL(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function rL(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var AL,nL=function(){return tL((function e(t){$N(this,e),this.name=t,this.terminated=!1,this._capability=Promise.withResolvers()}),[{key:"finished",get:function(){return this._capability.promise}},{key:"finish",value:function(){this._capability.resolve()}},{key:"terminate",value:function(){this.terminated=!0}},{key:"ensureNotTerminated",value:function(){if(this.terminated)throw new Error("Worker task was terminated")}}])}(),iL=function(){function e(){$N(this,e)}return tL(e,null,[{key:"setup",value:function(t,r){var A=!1;t.on("test",(function(e){A||(A=!0,t.send("test",e instanceof Uint8Array))})),t.on("configure",(function(e){var t;t=e.verbosity,Number.isInteger(t)&&(O=t)})),t.on("GetDocRequest",(function(t){return e.createDocumentHandler(t,r)}))}},{key:"createDocumentHandler",value:function(e,t){var r,A=!1,n=null,i=new Set,a=K(),o=e,s=o.docId,c=o.apiVersion,g="4.7.0";if(c!==g)throw new Error('The API version "'.concat(c,'" does not match ')+'the Worker version "'.concat(g,'".'));var u=[];for(var l in[])u.push(l);if(u.length)throw new Error("The \`Array.prototype\` contains unexpected enumerable properties: "+u.join(", ")+"; thus breaking e.g. \`for...in\` iteration of \`Array\`s.");var h=s+"_worker",I=new FN(h,s,t);function f(){if(A)throw new Error("Worker was terminated")}function C(e){i.add(e)}function B(e){e.finish(),i.delete(e)}function Q(e){return E.apply(this,arguments)}function E(){return(E=zN(jN().mark((function e(t){var A,n,i,a,o,s,c;return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.ensureDoc("checkHeader");case 2:return e.next=4,r.ensureDoc("parseStartXRef");case 4:return e.next=6,r.ensureDoc("parse",[t]);case 6:return e.next=8,r.ensureDoc("checkFirstPage",[t]);case 8:return e.next=10,r.ensureDoc("checkLastPage",[t]);case 10:return e.next=12,r.ensureDoc("isPureXfa");case 12:if(!(A=e.sent)){e.next=18;break}return C(n=new nL("loadXfaFonts")),e.next=18,Promise.all([r.loadXfaFonts(I,n).catch((function(e){})).then((function(){return B(n)})),r.loadXfaImages()]);case 18:return e.next=20,Promise.all([r.ensureDoc("numPages"),r.ensureDoc("fingerprints")]);case 20:if(i=e.sent,a=ZN(i,2),o=a[0],s=a[1],!A){e.next=30;break}return e.next=27,r.ensureDoc("htmlForXfa");case 27:e.t0=e.sent,e.next=31;break;case 30:e.t0=null;case 31:return c=e.t0,e.abrupt("return",{numPages:o,fingerprints:s,htmlForXfa:c});case 33:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return I.on("GetPage",(function(e){return r.getPage(e.pageIndex).then((function(e){return Promise.all([r.ensure(e,"rotate"),r.ensure(e,"ref"),r.ensure(e,"userUnit"),r.ensure(e,"view")]).then((function(e){var t,r=ZN(e,4),A=r[0],n=r[1],i=r[2],a=r[3];return{rotate:A,ref:n,refStr:null!==(t=null==n?void 0:n.toString())&&void 0!==t?t:null,userUnit:i,view:a}}))}))})),I.on("GetPageIndex",(function(e){var t=Ye.get(e.num,e.gen);return r.ensureCatalog("getPageIndex",[t])})),I.on("GetDestinations",(function(e){return r.ensureCatalog("destinations")})),I.on("GetDestination",(function(e){return r.ensureCatalog("getDestination",[e.id])})),I.on("GetPageLabels",(function(e){return r.ensureCatalog("pageLabels")})),I.on("GetPageLayout",(function(e){return r.ensureCatalog("pageLayout")})),I.on("GetPageMode",(function(e){return r.ensureCatalog("pageMode")})),I.on("GetViewerPreferences",(function(e){return r.ensureCatalog("viewerPreferences")})),I.on("GetOpenAction",(function(e){return r.ensureCatalog("openAction")})),I.on("GetAttachments",(function(e){return r.ensureCatalog("attachments")})),I.on("GetDocJSActions",(function(e){return r.ensureCatalog("jsActions")})),I.on("GetPageJSActions",(function(e){var t=e.pageIndex;return r.getPage(t).then((function(e){return r.ensure(e,"jsActions")}))})),I.on("GetOutline",(function(e){return r.ensureCatalog("documentOutline")})),I.on("GetOptionalContentConfig",(function(e){return r.ensureCatalog("optionalContentConfig")})),I.on("GetPermissions",(function(e){return r.ensureCatalog("permissions")})),I.on("GetMetadata",(function(e){return Promise.all([r.ensureDoc("documentInfo"),r.ensureCatalog("metadata")])})),I.on("GetMarkInfo",(function(e){return r.ensureCatalog("markInfo")})),I.on("GetData",(function(e){return r.requestLoadedStream().then((function(e){return e.bytes}))})),I.on("GetAnnotations",(function(e){var t=e.pageIndex,A=e.intent;return r.getPage(t).then((function(e){var r=new nL("GetAnnotations: page ".concat(t));return C(r),e.getAnnotationsData(I,r,A).then((function(e){return B(r),e}),(function(e){throw B(r),e}))}))})),I.on("GetFieldObjects",(function(e){return r.ensureDoc("fieldObjects").then((function(e){return(null==e?void 0:e.allFields)||null}))})),I.on("HasJSActions",(function(e){return r.ensureDoc("hasJSActions")})),I.on("GetCalculationOrderIds",(function(e){return r.ensureDoc("calculationOrderIds")})),I.on("SaveDocument",function(){var e=zN(jN().mark((function e(t){var A,n,i,a,o,s,c,g,u,l,h,f,C,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U,M,J,H,Y,P,O;return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A=t.isPureXfa,n=t.numPages,i=t.annotationStorage,a=t.filename,o=[r.requestLoadedStream(),r.ensureCatalog("acroForm"),r.ensureCatalog("acroFormRef"),r.ensureDoc("startXRef"),r.ensureDoc("xref"),r.ensureDoc("linearization"),r.ensureCatalog("structTreeRoot")],s=[],c=A?null:qt(i),e.next=6,Promise.all(o);case 6:if(g=e.sent,u=ZN(g,7),l=u[0],h=u[1],f=u[2],C=u[3],Q=u[4],E=u[5],d=u[6],y=Q.trailer.getRaw("Root")||null,!c){e.next=47;break}if(d){e.next=24;break}return e.next=20,OQ.canCreateStructureTree({catalogRef:y,pdfManager:r,newAnnotationsByPage:c});case 20:if(!e.sent){e.next=22;break}p=null;case 22:e.next=28;break;case 24:return e.next=26,d.canUpdateStructTree({pdfManager:r,xref:Q,newAnnotationsByPage:c});case 26:if(!e.sent){e.next=28;break}p=d;case 28:v=SR.generateImages(i.values(),Q,r.evaluatorOptions.isOffscreenCanvasSupported),m=void 0===p?s:[],w=WN(c),e.prev=31,k=jN().mark((function e(){var t,A,n;return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=ZN(b.value,2),A=t[0],n=t[1],m.push(r.getPage(A).then((function(e){var t=new nL("Save (editor): page ".concat(A));return e.saveNewAnnotations(I,t,n,v).finally((function(){B(t)}))})));case 2:case"end":return e.stop()}}),e)})),w.s();case 34:if((b=w.n()).done){e.next=38;break}return e.delegateYield(k(),"t0",36);case 36:e.next=34;break;case 38:e.next=43;break;case 40:e.prev=40,e.t1=e.catch(31),w.e(e.t1);case 43:return e.prev=43,w.f(),e.finish(43);case 46:null===p?s.push(Promise.all(m).then(function(){var e=zN(jN().mark((function e(t){return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,OQ.createStructureTree({newAnnotationsByPage:c,xref:Q,catalogRef:y,pdfManager:r,newRefs:t});case 2:return e.abrupt("return",t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())):p&&s.push(Promise.all(m).then(function(){var e=zN(jN().mark((function e(t){return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.updateStructureTree({newAnnotationsByPage:c,pdfManager:r,newRefs:t});case 2:return e.abrupt("return",t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 47:if(!A){e.next=51;break}s.push(r.serializeXfaData(i)),e.next=58;break;case 51:D=jN().mark((function e(t){return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s.push(r.getPage(t).then((function(e){var r=new nL("Save: page ".concat(t));return e.save(I,r,i).finally((function(){B(r)}))})));case 1:case"end":return e.stop()}}),e)})),S=0;case 53:if(!(S<n)){e.next=58;break}return e.delegateYield(D(S),"t2",55);case 55:S++,e.next=53;break;case 58:return e.next=60,Promise.all(s);case 60:if(F=e.sent,x=[],R=null,!A){e.next=69;break}if(R=F[0]){e.next=67;break}return e.abrupt("return",l.bytes);case 67:e.next=72;break;case 69:if(0!==(x=F.flat(2)).length){e.next=72;break}return e.abrupt("return",l.bytes);case 72:if(G=f&&h instanceof He&&x.some((function(e){return e.needAppearances})),N=h instanceof He&&h.get("XFA")||null,L=null,U=!1,Array.isArray(N)){for(M=0,J=N.length;M<J;M+=2)"datasets"===N[M]&&(L=N[M+1],U=!0);null===L&&(L=Q.getNewTemporaryRef())}else N&&q("Unsupported XFA type.");return H=Object.create(null),Q.trailer&&(P=Object.create(null),(O=Q.trailer.get("Info")||null)instanceof He&&O.forEach((function(e,t){"string"==typeof t&&(P[e]=Ie(t))})),H={rootRef:y,encryptRef:Q.trailer.getRaw("Encrypt")||null,newRef:Q.getNewTemporaryRef(),infoRef:Q.trailer.getRaw("Info")||null,info:P,fileIds:Q.trailer.get("ID")||null,startXRef:E?C:null!==(Y=Q.lastXRefStreamPos)&&void 0!==Y?Y:C,filename:a}),e.abrupt("return",kQ({originalData:l.bytes,xrefInfo:H,newRefs:x,xref:Q,hasXfa:!!N,xfaDatasetsRef:L,hasXfaDatasetsEntry:U,needAppearances:G,acroFormRef:f,acroForm:h,xfaData:R,useXrefStream:qe(Q.topDict,"XRef")}).finally((function(){Q.resetNewTemporaryRef()})));case 80:case"end":return e.stop()}}),e,null,[[31,40,43,46]])})));return function(t){return e.apply(this,arguments)}}()),I.on("GetOperatorList",(function(e,t){var A=e.pageIndex;r.getPage(A).then((function(r){var n=new nL("GetOperatorList: page ".concat(A));C(n);var i=a>=S.INFOS?Date.now():0;r.getOperatorList({handler:I,sink:t,task:n,intent:e.intent,cacheKey:e.cacheKey,annotationStorage:e.annotationStorage,modifiedIds:e.modifiedIds}).then((function(e){B(n),i&&T("page=".concat(A+1," - getOperatorList: time=")+"".concat(Date.now()-i,"ms, len=").concat(e.length)),t.close()}),(function(e){B(n),n.terminated||t.error(e)}))}))})),I.on("GetTextContent",(function(e,t){var A=e.pageIndex,n=e.includeMarkedContent,i=e.disableNormalization;r.getPage(A).then((function(e){var r=new nL("GetTextContent: page "+A);C(r);var o=a>=S.INFOS?Date.now():0;e.extractTextContent({handler:I,task:r,sink:t,includeMarkedContent:n,disableNormalization:i}).then((function(){B(r),o&&T("page=".concat(A+1," - getTextContent: time=")+"".concat(Date.now()-o,"ms")),t.close()}),(function(e){B(r),r.terminated||t.error(e)}))}))})),I.on("GetStructTree",(function(e){return r.getPage(e.pageIndex).then((function(e){return r.ensure(e,"getStructTree")}))})),I.on("FontFallback",(function(e){return r.fontFallback(e.id,I)})),I.on("Cleanup",(function(e){return r.cleanup(!0)})),I.on("Terminate",(function(e){A=!0;var t=[];if(r){r.terminate(new Ae("Worker was terminated."));var a=r.cleanup();t.push(a),r=null}else JC();n&&n(new Ae("Worker was terminated."));var o,s=WN(i);try{for(s.s();!(o=s.n()).done;){var c=o.value;t.push(c.finished),c.terminate()}}catch(e){s.e(e)}finally{s.f()}return Promise.all(t).then((function(){I.destroy(),I=null}))})),I.on("Ready",(function(t){!function(e){function t(e){f(),I.send("GetDoc",{pdfInfo:e})}function i(e){if(f(),e instanceof V){var t=new nL("PasswordException: response ".concat(e.code));C(t),I.sendWithPromise("PasswordRequest",e).then((function(e){var A=e.password;B(t),r.updatePassword(A),a()})).catch((function(){B(t),I.send("DocException",e)}))}else e instanceof $||e instanceof ee||e instanceof te||e instanceof z?I.send("DocException",e):I.send("DocException",new z(e.message,e.toString()))}function a(){f(),Q(!1).then(t,(function(e){f(),e instanceof Et?r.requestLoadedStream().then((function(){f(),Q(!0).then(t,i)})):i(e)}))}f(),function(e){var t,r=e.data,A=e.password,i=e.disableAutoFetch,a=e.rangeChunkSize,o=e.length,c=e.docBaseUrl,g=e.enableXfa,u=e.evaluatorOptions,l={source:null,disableAutoFetch:i,docBaseUrl:c,docId:s,enableXfa:g,evaluatorOptions:u,handler:I,length:o,password:A,rangeChunkSize:a},h=Promise.withResolvers();if(r){try{l.source=r,t=new yN(l),h.resolve(t)}catch(e){h.reject(e)}return h.promise}var C,B=[];try{C=new KN(I)}catch(e){return h.reject(e),h.promise}var Q=C.getFullReader();Q.headersReady.then((function(){if(Q.isRangeSupported){l.source=C,l.length=Q.contentLength,l.disableAutoFetch||(l.disableAutoFetch=Q.isStreamingSupported),t=new pN(l);for(var e=0,r=B;e<r.length;e++){var A=r[e];t.sendProgressiveData(A)}B=[],h.resolve(t),n=null}})).catch((function(e){h.reject(e),n=null}));var E=0;return new Promise((function(e,r){var A=function(e){var i=e.value,a=e.done;try{if(f(),a)return t||function(){var e=dt(B);o&&e.length!==o&&q("reported HTTP length is different from actual");try{l.source=e,t=new yN(l),h.resolve(t)}catch(e){h.reject(e)}B=[]}(),void(n=null);E+=i.byteLength,Q.isStreamingSupported||I.send("DocProgress",{loaded:E,total:Math.max(E,Q.contentLength||0)}),t?t.sendProgressiveData(i):B.push(i),Q.read().then(A,r)}catch(e){r(e)}};Q.read().then(A,r)})).catch((function(e){h.reject(e),n=null})),n=function(e){C.cancelAllRequests(e)},h.promise}(e).then((function(e){if(A)throw e.terminate(new Ae("Worker was terminated.")),new Error("Worker was terminated");(r=e).requestLoadedStream(!0).then((function(e){I.send("DataLoaded",{length:e.bytes.byteLength})}))})).then(a,i)}(e),e=null})),h}},{key:"initializeFromPort",value:function(t){var r=new FN("worker","main",t);e.setup(r,t),r.send("ready",null)}}])}();"undefined"==typeof window&&!f&&"undefined"!=typeof self&&"function"==typeof(AL=self).postMessage&&"onmessage"in AL&&iL.initializeFromPort(self);`,Et=`/*! For license information please see pdf.js.LICENSE.txt */
  197. var t={4186:(t,e,r)=>{var n=r(3749),i=r(8055),a=TypeError;t.exports=function(t){if(n(t))return t;throw new a(i(t)+" is not a function")}},9052:(t,e,r)=>{var n=r(8413),i=r(8055),a=TypeError;t.exports=function(t){if(n(t))return t;throw new a(i(t)+" is not a constructor")}},7330:(t,e,r)=>{var n=r(4597),i=String,a=TypeError;t.exports=function(t){if(n(t))return t;throw new a("Can't set "+i(t)+" as a prototype")}},4376:(t,e,r)=>{var n=r(418).has;t.exports=function(t){return n(t),t}},1458:(t,e,r)=>{var n=r(5811),i=r(5304),a=r(1601).f,o=n("unscopables"),s=Array.prototype;void 0===s[o]&&a(s,o,{configurable:!0,value:i(null)}),t.exports=function(t){s[o][t]=!0}},8149:(t,e,r)=>{var n=r(6903).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},3399:(t,e,r)=>{var n=r(6921),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},7447:(t,e,r)=>{var n=r(2674),i=String,a=TypeError;t.exports=function(t){if(n(t))return t;throw new a(i(t)+" is not an object")}},387:t=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},8242:(t,e,r)=>{var n=r(4032),i=r(5026),a=r(9872),o=n.ArrayBuffer,s=n.TypeError;t.exports=o&&i(o.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==a(t))throw new s("ArrayBuffer expected");return t.byteLength}},8102:(t,e,r)=>{var n=r(4032),i=r(2116),a=r(8242),o=n.ArrayBuffer,s=o&&o.prototype,u=s&&i(s.slice);t.exports=function(t){if(0!==a(t))return!1;if(!u)return!1;try{return u(t,0,0),!1}catch(t){return!0}}},7060:(t,e,r)=>{var n=r(3455);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},6033:(t,e,r)=>{var n=r(8102),i=TypeError;t.exports=function(t){if(n(t))throw new i("ArrayBuffer is detached");return t}},4676:(t,e,r)=>{var n=r(4032),i=r(2608),a=r(5026),o=r(9088),s=r(6033),u=r(8242),c=r(7395),l=r(6572),h=n.structuredClone,f=n.ArrayBuffer,d=n.DataView,v=Math.min,p=f.prototype,y=d.prototype,g=i(p.slice),m=a(p,"resizable","get"),b=a(p,"maxByteLength","get"),w=i(y.getInt8),k=i(y.setInt8);t.exports=(l||c)&&function(t,e,r){var n,i=u(t),a=void 0===e?i:o(e),p=!m||!m(t);if(s(t),l&&(t=h(t,{transfer:[t]}),i===a&&(r||p)))return t;if(i>=a&&(!r||p))n=g(t,0,a);else{var y=r&&!p&&b?{maxByteLength:b(t)}:void 0;n=new f(a,y);for(var x=new d(t),A=new d(n),_=v(a,i),E=0;E<_;E++)k(A,E,w(x,E))}return l||c(t),n}},4356:(t,e,r)=>{var n,i,a,o=r(387),s=r(2444),u=r(4032),c=r(3749),l=r(2674),h=r(9649),f=r(1179),d=r(8055),v=r(139),p=r(8552),y=r(8986),g=r(6921),m=r(2611),b=r(9415),w=r(5811),k=r(5936),x=r(8301),A=x.enforce,_=x.get,E=u.Int8Array,S=E&&E.prototype,O=u.Uint8ClampedArray,T=O&&O.prototype,P=E&&m(E),L=S&&m(S),M=Object.prototype,C=u.TypeError,j=w("toStringTag"),I=k("TYPED_ARRAY_TAG"),R="TypedArrayConstructor",F=o&&!!b&&"Opera"!==f(u.opera),D=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},W={BigInt64Array:8,BigUint64Array:8},B=function(t){var e=m(t);if(l(e)){var r=_(e);return r&&h(r,R)?r[R]:B(e)}},G=function(t){if(!l(t))return!1;var e=f(t);return h(N,e)||h(W,e)};for(n in N)(a=(i=u[n])&&i.prototype)?A(a)[R]=i:F=!1;for(n in W)(a=(i=u[n])&&i.prototype)&&(A(a)[R]=i);if((!F||!c(P)||P===Function.prototype)&&(P=function(){throw new C("Incorrect invocation")},F))for(n in N)u[n]&&b(u[n],P);if((!F||!L||L===M)&&(L=P.prototype,F))for(n in N)u[n]&&b(u[n].prototype,L);if(F&&m(T)!==L&&b(T,L),s&&!h(L,j))for(n in D=!0,y(L,j,{configurable:!0,get:function(){return l(this)?this[I]:void 0}}),N)u[n]&&v(u[n],I,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:F,TYPED_ARRAY_TAG:D&&I,aTypedArray:function(t){if(G(t))return t;throw new C("Target is not a typed array")},aTypedArrayConstructor:function(t){if(c(t)&&(!b||g(P,t)))return t;throw new C(d(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r,n){if(s){if(r)for(var i in N){var a=u[i];if(a&&h(a.prototype,t))try{delete a.prototype[t]}catch(r){try{a.prototype[t]=e}catch(t){}}}L[t]&&!r||p(L,t,r?e:F&&S[t]||e,n)}},exportTypedArrayStaticMethod:function(t,e,r){var n,i;if(s){if(b){if(r)for(n in N)if((i=u[n])&&h(i,t))try{delete i[t]}catch(t){}if(P[t]&&!r)return;try{return p(P,t,r?e:F&&P[t]||e)}catch(t){}}for(n in N)!(i=u[n])||i[t]&&!r||p(i,t,e)}},getTypedArrayConstructor:B,isView:function(t){if(!l(t))return!1;var e=f(t);return"DataView"===e||h(N,e)||h(W,e)},isTypedArray:G,TypedArray:P,TypedArrayPrototype:L}},7226:(t,e,r)=>{var n=r(4032),i=r(2608),a=r(2444),o=r(387),s=r(2542),u=r(139),c=r(8986),l=r(4183),h=r(3455),f=r(3399),d=r(1211),v=r(5806),p=r(9088),y=r(3505),g=r(1306),m=r(2611),b=r(9415),w=r(9557),k=r(4224),x=r(3951),A=r(2924),_=r(6911),E=r(8301),S=s.PROPER,O=s.CONFIGURABLE,T="ArrayBuffer",P="DataView",L="prototype",M="Wrong index",C=E.getterFor(T),j=E.getterFor(P),I=E.set,R=n[T],F=R,D=F&&F[L],N=n[P],W=N&&N[L],B=Object.prototype,G=n.Array,H=n.RangeError,U=i(w),z=i([].reverse),V=g.pack,q=g.unpack,Y=function(t){return[255&t]},X=function(t){return[255&t,t>>8&255]},K=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Q=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},J=function(t){return V(y(t),23,4)},$=function(t){return V(t,52,8)},Z=function(t,e,r){c(t[L],e,{configurable:!0,get:function(){return r(this)[e]}})},tt=function(t,e,r,n){var i=j(t),a=p(r),o=!!n;if(a+e>i.byteLength)throw new H(M);var s=i.bytes,u=a+i.byteOffset,c=k(s,u,u+e);return o?c:z(c)},et=function(t,e,r,n,i,a){var o=j(t),s=p(r),u=n(+i),c=!!a;if(s+e>o.byteLength)throw new H(M);for(var l=o.bytes,h=s+o.byteOffset,f=0;f<e;f++)l[h+f]=u[c?f:e-f-1]};if(o){var rt=S&&R.name!==T;h((function(){R(1)}))&&h((function(){new R(-1)}))&&!h((function(){return new R,new R(1.5),new R(NaN),1!==R.length||rt&&!O}))?rt&&O&&u(R,"name",T):((F=function(t){return f(this,D),x(new R(p(t)),this,F)})[L]=D,D.constructor=F,A(F,R)),b&&m(W)!==B&&b(W,B);var nt=new N(new F(2)),it=i(W.setInt8);nt.setInt8(0,2147483648),nt.setInt8(1,2147483649),!nt.getInt8(0)&&nt.getInt8(1)||l(W,{setInt8:function(t,e){it(this,t,e<<24>>24)},setUint8:function(t,e){it(this,t,e<<24>>24)}},{unsafe:!0})}else D=(F=function(t){f(this,D);var e=p(t);I(this,{type:T,bytes:U(G(e),0),byteLength:e}),a||(this.byteLength=e,this.detached=!1)})[L],W=(N=function(t,e,r){f(this,W),f(t,D);var n=C(t),i=n.byteLength,o=d(e);if(o<0||o>i)throw new H("Wrong offset");if(o+(r=void 0===r?i-o:v(r))>i)throw new H("Wrong length");I(this,{type:P,buffer:t,byteLength:r,byteOffset:o,bytes:n.bytes}),a||(this.buffer=t,this.byteLength=r,this.byteOffset=o)})[L],a&&(Z(F,"byteLength",C),Z(N,"buffer",j),Z(N,"byteLength",j),Z(N,"byteOffset",j)),l(W,{getInt8:function(t){return tt(this,1,t)[0]<<24>>24},getUint8:function(t){return tt(this,1,t)[0]},getInt16:function(t){var e=tt(this,2,t,arguments.length>1&&arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=tt(this,2,t,arguments.length>1&&arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return Q(tt(this,4,t,arguments.length>1&&arguments[1]))},getUint32:function(t){return Q(tt(this,4,t,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(t){return q(tt(this,4,t,arguments.length>1&&arguments[1]),23)},getFloat64:function(t){return q(tt(this,8,t,arguments.length>1&&arguments[1]),52)},setInt8:function(t,e){et(this,1,t,Y,e)},setUint8:function(t,e){et(this,1,t,Y,e)},setInt16:function(t,e){et(this,2,t,X,e,arguments.length>2&&arguments[2])},setUint16:function(t,e){et(this,2,t,X,e,arguments.length>2&&arguments[2])},setInt32:function(t,e){et(this,4,t,K,e,arguments.length>2&&arguments[2])},setUint32:function(t,e){et(this,4,t,K,e,arguments.length>2&&arguments[2])},setFloat32:function(t,e){et(this,4,t,J,e,arguments.length>2&&arguments[2])},setFloat64:function(t,e){et(this,8,t,$,e,arguments.length>2&&arguments[2])}});_(F,T),_(N,P),t.exports={ArrayBuffer:F,DataView:N}},6677:(t,e,r)=>{var n=r(4165),i=r(9002),a=r(7878),o=r(1870),s=Math.min;t.exports=[].copyWithin||function(t,e){var r=n(this),u=a(r),c=i(t,u),l=i(e,u),h=arguments.length>2?arguments[2]:void 0,f=s((void 0===h?u:i(h,u))-l,u-c),d=1;for(l<c&&c<l+f&&(d=-1,l+=f-1,c+=f-1);f-- >0;)l in r?r[c]=r[l]:o(r,c),c+=d,l+=d;return r}},9557:(t,e,r)=>{var n=r(4165),i=r(9002),a=r(7878);t.exports=function(t){for(var e=n(this),r=a(e),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),u=o>2?arguments[2]:void 0,c=void 0===u?r:i(u,r);c>s;)e[s++]=t;return e}},3147:(t,e,r)=>{var n=r(5645).forEach,i=r(1814)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},7434:(t,e,r)=>{var n=r(7878);t.exports=function(t,e,r){for(var i=0,a=arguments.length>2?r:n(e),o=new t(a);a>i;)o[i]=e[i++];return o}},3948:(t,e,r)=>{var n=r(4864),i=r(3453),a=r(4165),o=r(3535),s=r(993),u=r(8413),c=r(7878),l=r(3552),h=r(6961),f=r(7507),d=Array;t.exports=function(t){var e=a(t),r=u(this),v=arguments.length,p=v>1?arguments[1]:void 0,y=void 0!==p;y&&(p=n(p,v>2?arguments[2]:void 0));var g,m,b,w,k,x,A=f(e),_=0;if(!A||this===d&&s(A))for(g=c(e),m=r?new this(g):d(g);g>_;_++)x=y?p(e[_],_):e[_],l(m,_,x);else for(m=r?new this:[],k=(w=h(e,A)).next;!(b=i(k,w)).done;_++)x=y?o(w,p,[b.value,_],!0):b.value,l(m,_,x);return m.length=_,m}},7921:(t,e,r)=>{var n=r(3637),i=r(9002),a=r(7878),o=function(t){return function(e,r,o){var s=n(e),u=a(s);if(0===u)return!t&&-1;var c,l=i(o,u);if(t&&r!=r){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},767:(t,e,r)=>{var n=r(4864),i=r(9455),a=r(4165),o=r(7878),s=function(t){var e=1===t;return function(r,s,u){for(var c,l=a(r),h=i(l),f=o(h),d=n(s,u);f-- >0;)if(d(c=h[f],f,l))switch(t){case 0:return c;case 1:return f}return e?-1:void 0}};t.exports={findLast:s(0),findLastIndex:s(1)}},5645:(t,e,r)=>{var n=r(4864),i=r(2608),a=r(9455),o=r(4165),s=r(7878),u=r(1453),c=i([].push),l=function(t){var e=1===t,r=2===t,i=3===t,l=4===t,h=6===t,f=7===t,d=5===t||h;return function(v,p,y,g){for(var m,b,w=o(v),k=a(w),x=s(k),A=n(p,y),_=0,E=g||u,S=e?E(v,x):r||f?E(v,0):void 0;x>_;_++)if((d||_ in k)&&(b=A(m=k[_],_,w),t))if(e)S[_]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return _;case 2:c(S,m)}else switch(t){case 4:return!1;case 7:c(S,m)}return h?-1:i||l?l:S}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},3499:(t,e,r)=>{var n=r(3881),i=r(3637),a=r(1211),o=r(7878),s=r(1814),u=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,h=s("lastIndexOf"),f=l||!h;t.exports=f?function(t){if(l)return n(c,this,arguments)||0;var e=i(this),r=o(e);if(0===r)return-1;var s=r-1;for(arguments.length>1&&(s=u(s,a(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:c},9077:(t,e,r)=>{var n=r(3455),i=r(5811),a=r(6415),o=i("species");t.exports=function(t){return a>=51||!n((function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},1814:(t,e,r)=>{var n=r(3455);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},4734:(t,e,r)=>{var n=r(4186),i=r(4165),a=r(9455),o=r(7878),s=TypeError,u="Reduce of empty array with no initial value",c=function(t){return function(e,r,c,l){var h=i(e),f=a(h),d=o(h);if(n(r),0===d&&c<2)throw new s(u);var v=t?d-1:0,p=t?-1:1;if(c<2)for(;;){if(v in f){l=f[v],v+=p;break}if(v+=p,t?v<0:d<=v)throw new s(u)}for(;t?v>=0:d>v;v+=p)v in f&&(l=r(l,f[v],v,h));return l}};t.exports={left:c(!1),right:c(!0)}},7375:(t,e,r)=>{var n=r(2444),i=r(5448),a=TypeError,o=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!o(t,"length").writable)throw new a("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4224:(t,e,r)=>{var n=r(2608);t.exports=n([].slice)},5272:(t,e,r)=>{var n=r(4224),i=Math.floor,a=function(t,e){var r=t.length;if(r<8)for(var o,s,u=1;u<r;){for(s=u,o=t[u];s&&e(t[s-1],o)>0;)t[s]=t[--s];s!==u++&&(t[s]=o)}else for(var c=i(r/2),l=a(n(t,0,c),e),h=a(n(t,c),e),f=l.length,d=h.length,v=0,p=0;v<f||p<d;)t[v+p]=v<f&&p<d?e(l[v],h[p])<=0?l[v++]:h[p++]:v<f?l[v++]:h[p++];return t};t.exports=a},2329:(t,e,r)=>{var n=r(5448),i=r(8413),a=r(2674),o=r(5811)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===s||n(e.prototype))||a(e)&&null===(e=e[o]))&&(e=void 0)),void 0===e?s:e}},1453:(t,e,r)=>{var n=r(2329);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},6444:(t,e,r)=>{var n=r(7878);t.exports=function(t,e){for(var r=n(t),i=new e(r),a=0;a<r;a++)i[a]=t[r-a-1];return i}},920:(t,e,r)=>{var n=r(7878),i=r(1211),a=RangeError;t.exports=function(t,e,r,o){var s=n(t),u=i(r),c=u<0?s+u:u;if(c>=s||c<0)throw new a("Incorrect index");for(var l=new e(s),h=0;h<s;h++)l[h]=h===c?o:t[h];return l}},2996:t=>{var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=e+"+/",n=e+"-_",i=function(t){for(var e={},r=0;r<64;r++)e[t.charAt(r)]=r;return e};t.exports={i2c:r,c2i:i(r),i2cUrl:n,c2iUrl:i(n)}},3535:(t,e,r)=>{var n=r(7447),i=r(5235);t.exports=function(t,e,r,a){try{return a?e(n(r)[0],r[1]):e(r)}catch(e){i(t,"throw",e)}}},4348:(t,e,r)=>{var n=r(5811)("iterator"),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[n]=function(){return this},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},t(a)}catch(t){}return r}},9872:(t,e,r)=>{var n=r(2608),i=n({}.toString),a=n("".slice);t.exports=function(t){return a(i(t),8,-1)}},1179:(t,e,r)=>{var n=r(3724),i=r(3749),a=r(9872),o=r(5811)("toStringTag"),s=Object,u="Arguments"===a(function(){return arguments}());t.exports=n?a:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),o))?r:u?a(e):"Object"===(n=a(e))&&i(e.callee)?"Arguments":n}},2042:(t,e,r)=>{var n=r(5304),i=r(8986),a=r(4183),o=r(4864),s=r(3399),u=r(6021),c=r(1804),l=r(656),h=r(9393),f=r(5409),d=r(2444),v=r(5227).fastKey,p=r(8301),y=p.set,g=p.getterFor;t.exports={getConstructor:function(t,e,r,l){var h=t((function(t,i){s(t,f),y(t,{type:e,index:n(null),first:null,last:null,size:0}),d||(t.size=0),u(i)||c(i,t[l],{that:t,AS_ENTRIES:r})})),f=h.prototype,p=g(e),m=function(t,e,r){var n,i,a=p(t),o=b(t,e);return o?o.value=r:(a.last=o={index:i=v(e,!0),key:e,value:r,previous:n=a.last,next:null,removed:!1},a.first||(a.first=o),n&&(n.next=o),d?a.size++:t.size++,"F"!==i&&(a.index[i]=o)),t},b=function(t,e){var r,n=p(t),i=v(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key===e)return r};return a(f,{clear:function(){for(var t=p(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=n(null),d?t.size=0:this.size=0},delete:function(t){var e=this,r=p(e),n=b(e,t);if(n){var i=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=i),i&&(i.previous=a),r.first===n&&(r.first=i),r.last===n&&(r.last=a),d?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=p(this),n=o(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),a(f,r?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),d&&i(f,"size",{configurable:!0,get:function(){return p(this).size}}),h},setStrong:function(t,e,r){var n=e+" Iterator",i=g(e),a=g(n);l(t,e,(function(t,e){y(this,{type:n,target:t,state:i(t),kind:e,last:null})}),(function(){for(var t=a(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?h("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,h(void 0,!0))}),r?"entries":"values",!r,!0),f(e)}}},8153:(t,e,r)=>{var n=r(2608),i=r(4183),a=r(5227).getWeakData,o=r(3399),s=r(7447),u=r(6021),c=r(2674),l=r(1804),h=r(5645),f=r(9649),d=r(8301),v=d.set,p=d.getterFor,y=h.find,g=h.findIndex,m=n([].splice),b=0,w=function(t){return t.frozen||(t.frozen=new k)},k=function(){this.entries=[]},x=function(t,e){return y(t.entries,(function(t){return t[0]===e}))};k.prototype={get:function(t){var e=x(this,t);if(e)return e[1]},has:function(t){return!!x(this,t)},set:function(t,e){var r=x(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=g(this.entries,(function(e){return e[0]===t}));return~e&&m(this.entries,e,1),!!~e}},t.exports={getConstructor:function(t,e,r,n){var h=t((function(t,i){o(t,d),v(t,{type:e,id:b++,frozen:null}),u(i)||l(i,t[n],{that:t,AS_ENTRIES:r})})),d=h.prototype,y=p(e),g=function(t,e,r){var n=y(t),i=a(s(e),!0);return!0===i?w(n).set(e,r):i[n.id]=r,t};return i(d,{delete:function(t){var e=y(this);if(!c(t))return!1;var r=a(t);return!0===r?w(e).delete(t):r&&f(r,e.id)&&delete r[e.id]},has:function(t){var e=y(this);if(!c(t))return!1;var r=a(t);return!0===r?w(e).has(t):r&&f(r,e.id)}}),i(d,r?{get:function(t){var e=y(this);if(c(t)){var r=a(t);if(!0===r)return w(e).get(t);if(r)return r[e.id]}},set:function(t,e){return g(this,t,e)}}:{add:function(t){return g(this,t,!0)}}),h}}},9556:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(2608),o=r(5868),s=r(8552),u=r(5227),c=r(1804),l=r(3399),h=r(3749),f=r(6021),d=r(2674),v=r(3455),p=r(4348),y=r(6911),g=r(3951);t.exports=function(t,e,r){var m=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),w=m?"set":"add",k=i[t],x=k&&k.prototype,A=k,_={},E=function(t){var e=a(x[t]);s(x,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!d(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!d(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!d(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(o(t,!h(k)||!(b||x.forEach&&!v((function(){(new k).entries().next()})))))A=r.getConstructor(e,t,m,w),u.enable();else if(o(t,!0)){var S=new A,O=S[w](b?{}:-0,1)!==S,T=v((function(){S.has(1)})),P=p((function(t){new k(t)})),L=!b&&v((function(){for(var t=new k,e=5;e--;)t[w](e,e);return!t.has(-0)}));P||((A=e((function(t,e){l(t,x);var r=g(new k,t,A);return f(e)||c(e,r[w],{that:r,AS_ENTRIES:m}),r}))).prototype=x,x.constructor=A),(T||L)&&(E("delete"),E("has"),m&&E("get")),(L||O)&&E(w),b&&x.clear&&delete x.clear}return _[t]=A,n({global:!0,constructor:!0,forced:A!==k},_),y(A,t),b||r.setStrong(A,t,m),A}},2924:(t,e,r)=>{var n=r(9649),i=r(2919),a=r(1139),o=r(1601);t.exports=function(t,e,r){for(var s=i(e),u=o.f,c=a.f,l=0;l<s.length;l++){var h=s[l];n(t,h)||r&&n(r,h)||u(t,h,c(e,h))}}},860:(t,e,r)=>{var n=r(5811)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},5139:(t,e,r)=>{var n=r(3455);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},9393:t=>{t.exports=function(t,e){return{value:t,done:e}}},139:(t,e,r)=>{var n=r(2444),i=r(1601),a=r(4004);t.exports=n?function(t,e,r){return i.f(t,e,a(1,r))}:function(t,e,r){return t[e]=r,t}},4004:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},3552:(t,e,r)=>{var n=r(2444),i=r(1601),a=r(4004);t.exports=function(t,e,r){n?i.f(t,e,a(0,r)):t[e]=r}},952:(t,e,r)=>{var n=r(7447),i=r(3118),a=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new a("Incorrect hint");return i(this,t)}},8986:(t,e,r)=>{var n=r(1147),i=r(1601);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},8552:(t,e,r)=>{var n=r(3749),i=r(1601),a=r(1147),o=r(5801);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:e;if(n(r)&&a(r,c,s),s.global)u?t[e]=r:o(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},4183:(t,e,r)=>{var n=r(8552);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},5801:(t,e,r)=>{var n=r(4032),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},1870:(t,e,r)=>{var n=r(8055),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+n(e)+" of "+n(t))}},2444:(t,e,r)=>{var n=r(3455);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},7395:(t,e,r)=>{var n,i,a,o,s=r(4032),u=r(9685),c=r(6572),l=s.structuredClone,h=s.ArrayBuffer,f=s.MessageChannel,d=!1;if(c)d=function(t){l(t,{transfer:[t]})};else if(h)try{f||(n=u("worker_threads"))&&(f=n.MessageChannel),f&&(i=new f,a=new h(2),o=function(t){i.port1.postMessage(null,[t])},2===a.byteLength&&(o(a),0===a.byteLength&&(d=o)))}catch(t){}t.exports=d},5751:(t,e,r)=>{var n=r(4032),i=r(2674),a=n.document,o=i(a)&&i(a.createElement);t.exports=function(t){return o?a.createElement(t):{}}},9573:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},4090:t=>{t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},2760:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},4784:(t,e,r)=>{var n=r(5751)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},5175:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7085:(t,e,r)=>{var n=r(7607).match(/firefox\\/(\\d+)/i);t.exports=!!n&&+n[1]},5123:(t,e,r)=>{var n=r(7607);t.exports=/MSIE|Trident/.test(n)},9081:(t,e,r)=>{var n=r(7607);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},9352:(t,e,r)=>{var n=r(7607);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},4529:(t,e,r)=>{var n=r(7351);t.exports="NODE"===n},628:(t,e,r)=>{var n=r(7607);t.exports=/web0s(?!.*chrome)/i.test(n)},7607:(t,e,r)=>{var n=r(4032).navigator,i=n&&n.userAgent;t.exports=i?String(i):""},6415:(t,e,r)=>{var n,i,a=r(4032),o=r(7607),s=a.process,u=a.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\\/(\\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\\/(\\d+)/))&&(i=+n[1]),t.exports=i},1911:(t,e,r)=>{var n=r(7607).match(/AppleWebKit\\/(\\d+)\\./);t.exports=!!n&&+n[1]},7351:(t,e,r)=>{var n=r(4032),i=r(7607),a=r(9872),o=function(t){return i.slice(0,t.length)===t};t.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},3633:(t,e,r)=>{var n=r(2608),i=Error,a=n("".replace),o=String(new i("zxcasd").stack),s=/\\n\\s*at [^:]*:[^\\n]*/,u=s.test(o);t.exports=function(t,e){if(u&&"string"==typeof t&&!i.prepareStackTrace)for(;e--;)t=a(t,s,"");return t}},4171:(t,e,r)=>{var n=r(139),i=r(3633),a=r(3427),o=Error.captureStackTrace;t.exports=function(t,e,r,s){a&&(o?o(t,e):n(t,"stack",i(r,s)))}},3427:(t,e,r)=>{var n=r(3455),i=r(4004);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",i(1,7)),7!==t.stack)}))},2912:(t,e,r)=>{var n=r(2444),i=r(3455),a=r(7447),o=r(8363),s=Error.prototype.toString,u=i((function(){if(n){var t=Object.create(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==s.call(t))return!0}return"2: 1"!==s.call({message:1,name:2})||"Error"!==s.call({})}));t.exports=u?function(){var t=a(this),e=o(t.name,"Error"),r=o(t.message);return e?r?e+": "+r:e:r}:s},5366:(t,e,r)=>{var n=r(4032),i=r(1139).f,a=r(139),o=r(8552),s=r(5801),u=r(2924),c=r(5868);t.exports=function(t,e){var r,l,h,f,d,v=t.target,p=t.global,y=t.stat;if(r=p?n:y?n[v]||s(v,{}):n[v]&&n[v].prototype)for(l in e){if(f=e[l],h=t.dontCallGetSet?(d=i(r,l))&&d.value:r[l],!c(p?l:v+(y?".":"#")+l,t.forced)&&void 0!==h){if(typeof f==typeof h)continue;u(f,h)}(t.sham||h&&h.sham)&&a(f,"sham",!0),o(r,l,f,t)}}},3455:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},4364:(t,e,r)=>{r(2823);var n=r(3453),i=r(8552),a=r(9867),o=r(3455),s=r(5811),u=r(139),c=s("species"),l=RegExp.prototype;t.exports=function(t,e,r,h){var f=s(t),d=!o((function(){var e={};return e[f]=function(){return 7},7!==""[t](e)})),v=d&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return e=!0,null},r[f](""),!e}));if(!d||!v||r){var p=/./[f],y=e(f,""[t],(function(t,e,r,i,o){var s=e.exec;return s===a||s===l.exec?d&&!o?{done:!0,value:n(p,e,r,i)}:{done:!0,value:n(t,r,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(l,f,y[1])}h&&u(l[f],"sham",!0)}},2851:(t,e,r)=>{var n=r(5448),i=r(7878),a=r(9573),o=r(4864),s=function(t,e,r,u,c,l,h,f){for(var d,v,p=c,y=0,g=!!h&&o(h,f);y<u;)y in r&&(d=g?g(r[y],y,e):r[y],l>0&&n(d)?(v=i(d),p=s(t,e,d,v,p,l-1)-1):(a(p+1),t[p]=d),p++),y++;return p};t.exports=s},568:(t,e,r)=>{var n=r(3455);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},3881:(t,e,r)=>{var n=r(9128),i=Function.prototype,a=i.apply,o=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(a):function(){return o.apply(a,arguments)})},4864:(t,e,r)=>{var n=r(2116),i=r(4186),a=r(9128),o=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:a?o(t,e):function(){return t.apply(e,arguments)}}},9128:(t,e,r)=>{var n=r(3455);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},2230:(t,e,r)=>{var n=r(2608),i=r(4186),a=r(2674),o=r(9649),s=r(4224),u=r(9128),c=Function,l=n([].concat),h=n([].join),f={};t.exports=u?c.bind:function(t){var e=i(this),r=e.prototype,n=s(arguments,1),u=function(){var r=l(n,s(arguments));return this instanceof u?function(t,e,r){if(!o(f,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";f[e]=c("C,a","return new C("+h(n,",")+")")}return f[e](t,r)}(e,r.length,r):e.apply(t,r)};return a(r)&&(u.prototype=r),u}},3453:(t,e,r)=>{var n=r(9128),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},2542:(t,e,r)=>{var n=r(2444),i=r(9649),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&o(a,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},5026:(t,e,r)=>{var n=r(2608),i=r(4186);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},2116:(t,e,r)=>{var n=r(9872),i=r(2608);t.exports=function(t){if("Function"===n(t))return i(t)}},2608:(t,e,r)=>{var n=r(9128),i=Function.prototype,a=i.call,o=n&&i.bind.bind(a,a);t.exports=n?o:function(t){return function(){return a.apply(t,arguments)}}},9685:(t,e,r)=>{var n=r(4032),i=r(4529);t.exports=function(t){if(i){try{return n.process.getBuiltinModule(t)}catch(t){}try{return Function('return require("'+t+'")')()}catch(t){}}}},8711:(t,e,r)=>{var n=r(4032),i=r(3749);t.exports=function(t,e){return arguments.length<2?(r=n[t],i(r)?r:void 0):n[t]&&n[t][e];var r}},3447:t=>{t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},1750:(t,e,r)=>{var n=r(3453),i=r(7447),a=r(3447),o=r(7507);t.exports=function(t,e){e&&"string"==typeof t||i(t);var r=o(t);return a(i(void 0!==r?n(r,t):t))}},7507:(t,e,r)=>{var n=r(1179),i=r(8622),a=r(6021),o=r(5597),s=r(5811)("iterator");t.exports=function(t){if(!a(t))return i(t,s)||i(t,"@@iterator")||o[n(t)]}},6961:(t,e,r)=>{var n=r(3453),i=r(4186),a=r(7447),o=r(8055),s=r(7507),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return a(n(r,t));throw new u(o(t)+" is not iterable")}},213:(t,e,r)=>{var n=r(2608),i=r(5448),a=r(3749),o=r(9872),s=r(687),u=n([].push);t.exports=function(t){if(a(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n<e;n++){var c=t[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!==o(c)&&"String"!==o(c)||u(r,s(c))}var l=r.length,h=!0;return function(t,e){if(h)return h=!1,e;if(i(this))return e;for(var n=0;n<l;n++)if(r[n]===t)return e}}}},8622:(t,e,r)=>{var n=r(4186),i=r(6021);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},3885:(t,e,r)=>{var n=r(4186),i=r(7447),a=r(3453),o=r(1211),s=r(3447),u="Invalid size",c=RangeError,l=TypeError,h=Math.max,f=function(t,e){this.set=t,this.size=h(e,0),this.has=n(t.has),this.keys=n(t.keys)};f.prototype={getIterator:function(){return s(i(a(this.keys,this.set)))},includes:function(t){return a(this.has,this.set,t)}},t.exports=function(t){i(t);var e=+t.size;if(e!=e)throw new l(u);var r=o(e);if(r<0)throw new c(u);return new f(t,r)}},3966:(t,e,r)=>{var n=r(2608),i=r(4165),a=Math.floor,o=n("".charAt),s=n("".replace),u=n("".slice),c=/\\$([$&'\`]|\\d{1,2}|<[^>]*>)/g,l=/\\$([$&'\`]|\\d{1,2})/g;t.exports=function(t,e,r,n,h,f){var d=r+t.length,v=n.length,p=l;return void 0!==h&&(h=i(h),p=c),s(f,p,(function(i,s){var c;switch(o(s,0)){case"$":return"$";case"&":return t;case"\`":return u(e,0,r);case"'":return u(e,d);case"<":c=h[u(s,1,-1)];break;default:var l=+s;if(0===l)return i;if(l>v){var f=a(l/10);return 0===f?i:f<=v?void 0===n[f-1]?o(s,1):n[f-1]+o(s,1):i}c=n[l-1]}return void 0===c?"":c}))}},4032:function(t){var e=function(t){return t&&t.Math===Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof global&&global)||e("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9649:(t,e,r)=>{var n=r(2608),i=r(4165),a=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return a(i(t),e)}},2645:t=>{t.exports={}},4885:t=>{t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},3085:(t,e,r)=>{var n=r(8711);t.exports=n("document","documentElement")},8829:(t,e,r)=>{var n=r(2444),i=r(3455),a=r(5751);t.exports=!n&&!i((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},1306:t=>{var e=Array,r=Math.abs,n=Math.pow,i=Math.floor,a=Math.log,o=Math.LN2;t.exports={pack:function(t,s,u){var c,l,h,f=e(u),d=8*u-s-1,v=(1<<d)-1,p=v>>1,y=23===s?n(2,-24)-n(2,-77):0,g=t<0||0===t&&1/t<0?1:0,m=0;for((t=r(t))!=t||t===1/0?(l=t!=t?1:0,c=v):(c=i(a(t)/o),t*(h=n(2,-c))<1&&(c--,h*=2),(t+=c+p>=1?y/h:y*n(2,1-p))*h>=2&&(c++,h/=2),c+p>=v?(l=0,c=v):c+p>=1?(l=(t*h-1)*n(2,s),c+=p):(l=t*n(2,p-1)*n(2,s),c=0));s>=8;)f[m++]=255&l,l/=256,s-=8;for(c=c<<s|l,d+=s;d>0;)f[m++]=255&c,c/=256,d-=8;return f[m-1]|=128*g,f},unpack:function(t,e){var r,i=t.length,a=8*i-e-1,o=(1<<a)-1,s=o>>1,u=a-7,c=i-1,l=t[c--],h=127&l;for(l>>=7;u>0;)h=256*h+t[c--],u-=8;for(r=h&(1<<-u)-1,h>>=-u,u+=e;u>0;)r=256*r+t[c--],u-=8;if(0===h)h=1-s;else{if(h===o)return r?NaN:l?-1/0:1/0;r+=n(2,e),h-=s}return(l?-1:1)*r*n(2,h-e)}}},9455:(t,e,r)=>{var n=r(2608),i=r(3455),a=r(9872),o=Object,s=n("".split);t.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"===a(t)?s(t,""):o(t)}:o},3951:(t,e,r)=>{var n=r(3749),i=r(2674),a=r(9415);t.exports=function(t,e,r){var o,s;return a&&n(o=e.constructor)&&o!==r&&i(s=o.prototype)&&s!==r.prototype&&a(t,s),t}},6906:(t,e,r)=>{var n=r(2608),i=r(3749),a=r(2205),o=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(t){return o(t)}),t.exports=a.inspectSource},2483:(t,e,r)=>{var n=r(2674),i=r(139);t.exports=function(t,e){n(e)&&"cause"in e&&i(t,"cause",e.cause)}},5227:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(2645),o=r(2674),s=r(9649),u=r(1601).f,c=r(3408),l=r(6442),h=r(8812),f=r(5936),d=r(568),v=!1,p=f("meta"),y=0,g=function(t){u(t,p,{value:{objectID:"O"+y++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},v=!0;var t=c.f,e=i([].splice),r={};r[p]=1,t(r).length&&(c.f=function(r){for(var n=t(r),i=0,a=n.length;i<a;i++)if(n[i]===p){e(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,p)){if(!h(t))return"F";if(!e)return"E";g(t)}return t[p].objectID},getWeakData:function(t,e){if(!s(t,p)){if(!h(t))return!0;if(!e)return!1;g(t)}return t[p].weakData},onFreeze:function(t){return d&&v&&h(t)&&!s(t,p)&&g(t),t}};a[p]=!0},8301:(t,e,r)=>{var n,i,a,o=r(6206),s=r(4032),u=r(2674),c=r(139),l=r(9649),h=r(2205),f=r(2343),d=r(2645),v="Object already initialized",p=s.TypeError,y=s.WeakMap;if(o||h.state){var g=h.state||(h.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw new p(v);return e.facade=t,g.set(t,e),e},i=function(t){return g.get(t)||{}},a=function(t){return g.has(t)}}else{var m=f("state");d[m]=!0,n=function(t,e){if(l(t,m))throw new p(v);return e.facade=t,c(t,m,e),e},i=function(t){return l(t,m)?t[m]:{}},a=function(t){return l(t,m)}}t.exports={set:n,get:i,has:a,enforce:function(t){return a(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new p("Incompatible receiver, "+t+" required");return r}}}},993:(t,e,r)=>{var n=r(5811),i=r(5597),a=n("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[a]===t)}},5448:(t,e,r)=>{var n=r(9872);t.exports=Array.isArray||function(t){return"Array"===n(t)}},5415:(t,e,r)=>{var n=r(1179);t.exports=function(t){var e=n(t);return"BigInt64Array"===e||"BigUint64Array"===e}},3749:t=>{var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},8413:(t,e,r)=>{var n=r(2608),i=r(3455),a=r(3749),o=r(1179),s=r(8711),u=r(6906),c=function(){},l=s("Reflect","construct"),h=/^\\s*(?:class|function)\\b/,f=n(h.exec),d=!h.test(c),v=function(t){if(!a(t))return!1;try{return l(c,[],t),!0}catch(t){return!1}},p=function(t){if(!a(t))return!1;switch(o(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(h,u(t))}catch(t){return!0}};p.sham=!0,t.exports=!l||i((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?p:v},3007:(t,e,r)=>{var n=r(9649);t.exports=function(t){return void 0!==t&&(n(t,"value")||n(t,"writable"))}},5868:(t,e,r)=>{var n=r(3455),i=r(3749),a=/#|\\.prototype\\./,o=function(t,e){var r=u[s(t)];return r===l||r!==c&&(i(e)?n(e):!!e)},s=o.normalize=function(t){return String(t).replace(a,".").toLowerCase()},u=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},2599:(t,e,r)=>{var n=r(2674),i=Math.floor;t.exports=Number.isInteger||function(t){return!n(t)&&isFinite(t)&&i(t)===t}},6021:t=>{t.exports=function(t){return null==t}},2674:(t,e,r)=>{var n=r(3749);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},4597:(t,e,r)=>{var n=r(2674);t.exports=function(t){return n(t)||null===t}},8507:t=>{t.exports=!1},6484:(t,e,r)=>{var n=r(2674),i=r(9872),a=r(5811)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[a])?!!e:"RegExp"===i(t))}},2277:(t,e,r)=>{var n=r(8711),i=r(3749),a=r(6921),o=r(4752),s=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&a(e.prototype,s(t))}},2939:(t,e,r)=>{var n=r(3453);t.exports=function(t,e,r){for(var i,a,o=r?t:t.iterator,s=t.next;!(i=n(s,o)).done;)if(void 0!==(a=e(i.value)))return a}},1804:(t,e,r)=>{var n=r(4864),i=r(3453),a=r(7447),o=r(8055),s=r(993),u=r(7878),c=r(6921),l=r(6961),h=r(7507),f=r(5235),d=TypeError,v=function(t,e){this.stopped=t,this.result=e},p=v.prototype;t.exports=function(t,e,r){var y,g,m,b,w,k,x,A=r&&r.that,_=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_RECORD),S=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),T=n(e,A),P=function(t){return y&&f(y,"normal",t),new v(!0,t)},L=function(t){return _?(a(t),O?T(t[0],t[1],P):T(t[0],t[1])):O?T(t,P):T(t)};if(E)y=t.iterator;else if(S)y=t;else{if(!(g=h(t)))throw new d(o(t)+" is not iterable");if(s(g)){for(m=0,b=u(t);b>m;m++)if((w=L(t[m]))&&c(p,w))return w;return new v(!1)}y=l(t,g)}for(k=E?t.next:y.next;!(x=i(k,y)).done;){try{w=L(x.value)}catch(t){f(y,"throw",t)}if("object"==typeof w&&w&&c(p,w))return w}return new v(!1)}},5235:(t,e,r)=>{var n=r(3453),i=r(7447),a=r(8622);t.exports=function(t,e,r){var o,s;i(t);try{if(!(o=a(t,"return"))){if("throw"===e)throw r;return r}o=n(o,t)}catch(t){s=!0,o=t}if("throw"===e)throw r;if(s)throw o;return i(o),r}},282:(t,e,r)=>{var n=r(2857).IteratorPrototype,i=r(5304),a=r(4004),o=r(6911),s=r(5597),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=i(n,{next:a(+!c,r)}),o(t,l,!1,!0),s[l]=u,t}},2342:(t,e,r)=>{var n=r(3453),i=r(5304),a=r(139),o=r(4183),s=r(5811),u=r(8301),c=r(8622),l=r(2857).IteratorPrototype,h=r(9393),f=r(5235),d=s("toStringTag"),v="IteratorHelper",p="WrapForValidIterator",y=u.set,g=function(t){var e=u.getterFor(t?p:v);return o(i(l),{next:function(){var r=e(this);if(t)return r.nextHandler();try{var n=r.done?void 0:r.nextHandler();return h(n,r.done)}catch(t){throw r.done=!0,t}},return:function(){var r=e(this),i=r.iterator;if(r.done=!0,t){var a=c(i,"return");return a?n(a,i):h(void 0,!0)}if(r.inner)try{f(r.inner.iterator,"normal")}catch(t){return f(i,"throw",t)}return f(i,"normal"),h(void 0,!0)}})},m=g(!0),b=g(!1);a(b,d,"Iterator Helper"),t.exports=function(t,e){var r=function(r,n){n?(n.iterator=r.iterator,n.next=r.next):n=r,n.type=e?p:v,n.nextHandler=t,n.counter=0,n.done=!1,y(this,n)};return r.prototype=e?m:b,r}},656:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(8507),o=r(2542),s=r(3749),u=r(282),c=r(2611),l=r(9415),h=r(6911),f=r(139),d=r(8552),v=r(5811),p=r(5597),y=r(2857),g=o.PROPER,m=o.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,k=v("iterator"),x="keys",A="values",_="entries",E=function(){return this};t.exports=function(t,e,r,o,v,y,S){u(r,e,o);var O,T,P,L=function(t){if(t===v&&R)return R;if(!w&&t&&t in j)return j[t];switch(t){case x:case A:case _:return function(){return new r(this,t)}}return function(){return new r(this)}},M=e+" Iterator",C=!1,j=t.prototype,I=j[k]||j["@@iterator"]||v&&j[v],R=!w&&I||L(v),F="Array"===e&&j.entries||I;if(F&&(O=c(F.call(new t)))!==Object.prototype&&O.next&&(a||c(O)===b||(l?l(O,b):s(O[k])||d(O,k,E)),h(O,M,!0,!0),a&&(p[M]=E)),g&&v===A&&I&&I.name!==A&&(!a&&m?f(j,"name",A):(C=!0,R=function(){return i(I,this)})),v)if(T={values:L(A),keys:y?R:L(x),entries:L(_)},S)for(P in T)(w||C||!(P in j))&&d(j,P,T[P]);else n({target:e,proto:!0,forced:w||C},T);return a&&!S||j[k]===R||d(j,k,R,{name:v}),p[e]=R,T}},4009:(t,e,r)=>{var n=r(3453),i=r(4186),a=r(7447),o=r(3447),s=r(2342),u=r(3535),c=s((function(){var t=this.iterator,e=a(n(this.next,t));if(!(this.done=!!e.done))return u(t,this.mapper,[e.value,this.counter++],!0)}));t.exports=function(t){return a(this),i(t),new c(o(this),{mapper:t})}},2857:(t,e,r)=>{var n,i,a,o=r(3455),s=r(3749),u=r(2674),c=r(5304),l=r(2611),h=r(8552),f=r(5811),d=r(8507),v=f("iterator"),p=!1;[].keys&&("next"in(a=[].keys())?(i=l(l(a)))!==Object.prototype&&(n=i):p=!0),!u(n)||o((function(){var t={};return n[v].call(t)!==t}))?n={}:d&&(n=c(n)),s(n[v])||h(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},5597:t=>{t.exports={}},7878:(t,e,r)=>{var n=r(5806);t.exports=function(t){return n(t.length)}},1147:(t,e,r)=>{var n=r(2608),i=r(3455),a=r(3749),o=r(9649),s=r(2444),u=r(2542).CONFIGURABLE,c=r(6906),l=r(8301),h=l.enforce,f=l.get,d=String,v=Object.defineProperty,p=n("".slice),y=n("".replace),g=n([].join),m=s&&!i((function(){return 8!==v((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===p(d(e),0,7)&&(e="["+y(d(e),/^Symbol\\(([^)]*)\\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!o(t,"name")||u&&t.name!==e)&&(s?v(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&o(r,"arity")&&t.length!==r.arity&&v(t,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=h(t);return o(n,"source")||(n.source=g(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return a(this)&&f(this).source||c(this)}),"toString")},9676:(t,e,r)=>{var n=r(550),i=Math.abs,a=2220446049250313e-31,o=1/a;t.exports=function(t,e,r,s){var u=+t,c=i(u),l=n(u);if(c<s)return l*function(t){return t+o-o}(c/s/e)*s*e;var h=(1+e/a)*c,f=h-(h-c);return f>r||f!=f?l*(1/0):l*f}},3505:(t,e,r)=>{var n=r(9676);t.exports=Math.fround||function(t){return n(t,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},550:t=>{t.exports=Math.sign||function(t){var e=+t;return 0===e||e!=e?e:e<0?-1:1}},2789:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},755:(t,e,r)=>{var n,i,a,o,s,u=r(4032),c=r(5725),l=r(4864),h=r(1369).set,f=r(3529),d=r(9352),v=r(9081),p=r(628),y=r(4529),g=u.MutationObserver||u.WebKitMutationObserver,m=u.document,b=u.process,w=u.Promise,k=c("queueMicrotask");if(!k){var x=new f,A=function(){var t,e;for(y&&(t=b.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};d||y||p||!g||!m?!v&&w&&w.resolve?((o=w.resolve(void 0)).constructor=w,s=l(o.then,o),n=function(){s(A)}):y?n=function(){b.nextTick(A)}:(h=l(h,u),n=function(){h(A)}):(i=!0,a=m.createTextNode(""),new g(A).observe(a,{characterData:!0}),n=function(){a.data=i=!i}),k=function(t){x.head||n(),x.add(t)}}t.exports=k},9371:(t,e,r)=>{var n=r(4186),i=TypeError,a=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw new i("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new a(t)}},8363:(t,e,r)=>{var n=r(687);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},821:t=>{var e=RangeError;t.exports=function(t){if(t==t)return t;throw new e("NaN is not allowed")}},3631:(t,e,r)=>{var n=r(6484),i=TypeError;t.exports=function(t){if(n(t))throw new i("The method doesn't accept regular expressions");return t}},8069:(t,e,r)=>{var n=r(2444),i=r(2608),a=r(3453),o=r(3455),s=r(496),u=r(6005),c=r(9221),l=r(4165),h=r(9455),f=Object.assign,d=Object.defineProperty,v=i([].concat);t.exports=!f||o((function(){if(n&&1!==f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return t[r]=7,i.split("").forEach((function(t){e[t]=t})),7!==f({},t)[r]||s(f({},e)).join("")!==i}))?function(t,e){for(var r=l(t),i=arguments.length,o=1,f=u.f,d=c.f;i>o;)for(var p,y=h(arguments[o++]),g=f?v(s(y),f(y)):s(y),m=g.length,b=0;m>b;)p=g[b++],n&&!a(d,y,p)||(r[p]=y[p]);return r}:f},5304:(t,e,r)=>{var n,i=r(7447),a=r(9217),o=r(5175),s=r(2645),u=r(3085),c=r(5751),l=r(2343),h="prototype",f="script",d=l("IE_PROTO"),v=function(){},p=function(t){return"<"+f+">"+t+"</"+f+">"},y=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;g="undefined"!=typeof document?document.domain&&n?y(n):(e=c("iframe"),r="java"+f+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):y(n);for(var i=o.length;i--;)delete g[h][o[i]];return g()};s[d]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(v[h]=i(t),r=new v,v[h]=null,r[d]=t):r=g(),void 0===e?r:a.f(r,e)}},9217:(t,e,r)=>{var n=r(2444),i=r(782),a=r(1601),o=r(7447),s=r(3637),u=r(496);e.f=n&&!i?Object.defineProperties:function(t,e){o(t);for(var r,n=s(e),i=u(e),c=i.length,l=0;c>l;)a.f(t,r=i[l++],n[r]);return t}},1601:(t,e,r)=>{var n=r(2444),i=r(8829),a=r(782),o=r(7447),s=r(6201),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";e.f=n?a?function(t,e,r){if(o(t),e=s(e),o(r),"function"==typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=l(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:h in r?r[h]:n[h],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(o(t),e=s(e),o(r),i)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1139:(t,e,r)=>{var n=r(2444),i=r(3453),a=r(9221),o=r(4004),s=r(3637),u=r(6201),c=r(9649),l=r(8829),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=s(t),e=u(e),l)try{return h(t,e)}catch(t){}if(c(t,e))return o(!i(a.f,t,e),t[e])}},6442:(t,e,r)=>{var n=r(9872),i=r(3637),a=r(3408).f,o=r(4224),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return a(t)}catch(t){return o(s)}}(t):a(i(t))}},3408:(t,e,r)=>{var n=r(2468),i=r(5175).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},6005:(t,e)=>{e.f=Object.getOwnPropertySymbols},2611:(t,e,r)=>{var n=r(9649),i=r(3749),a=r(4165),o=r(2343),s=r(5139),u=o("IE_PROTO"),c=Object,l=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=a(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof c?l:null}},8812:(t,e,r)=>{var n=r(3455),i=r(2674),a=r(9872),o=r(7060),s=Object.isExtensible,u=n((function(){s(1)}));t.exports=u||o?function(t){return!!i(t)&&(!o||"ArrayBuffer"!==a(t))&&(!s||s(t))}:s},6921:(t,e,r)=>{var n=r(2608);t.exports=n({}.isPrototypeOf)},2468:(t,e,r)=>{var n=r(2608),i=r(9649),a=r(3637),o=r(7921).indexOf,s=r(2645),u=n([].push);t.exports=function(t,e){var r,n=a(t),c=0,l=[];for(r in n)!i(s,r)&&i(n,r)&&u(l,r);for(;e.length>c;)i(n,r=e[c++])&&(~o(l,r)||u(l,r));return l}},496:(t,e,r)=>{var n=r(2468),i=r(5175);t.exports=Object.keys||function(t){return n(t,i)}},9221:(t,e)=>{var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},9415:(t,e,r)=>{var n=r(5026),i=r(2674),a=r(7222),o=r(7330);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return a(r),o(n),i(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},8885:(t,e,r)=>{var n=r(2444),i=r(3455),a=r(2608),o=r(2611),s=r(496),u=r(3637),c=a(r(9221).f),l=a([].push),h=n&&i((function(){var t=Object.create(null);return t[2]=2,!c(t,2)})),f=function(t){return function(e){for(var r,i=u(e),a=s(i),f=h&&null===o(i),d=a.length,v=0,p=[];d>v;)r=a[v++],n&&!(f?r in i:c(i,r))||l(p,t?[r,i[r]]:i[r]);return p}};t.exports={entries:f(!0),values:f(!1)}},3003:(t,e,r)=>{var n=r(3724),i=r(1179);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},3118:(t,e,r)=>{var n=r(3453),i=r(3749),a=r(2674),o=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!a(s=n(r,t)))return s;if(i(r=t.valueOf)&&!a(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!a(s=n(r,t)))return s;throw new o("Can't convert object to primitive value")}},2919:(t,e,r)=>{var n=r(8711),i=r(2608),a=r(3408),o=r(6005),s=r(7447),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=a.f(s(t)),r=o.f;return r?u(e,r(t)):e}},1448:(t,e,r)=>{var n=r(2608),i=r(9649),a=SyntaxError,o=parseInt,s=String.fromCharCode,u=n("".charAt),c=n("".slice),l=n(/./.exec),h={'\\\\"':'"',"\\\\\\\\":"\\\\","\\\\/":"/","\\\\b":"\\b","\\\\f":"\\f","\\\\n":"\\n","\\\\r":"\\r","\\\\t":"\\t"},f=/^[\\da-f]{4}$/i,d=/^[\\u0000-\\u001F]$/;t.exports=function(t,e){for(var r=!0,n="";e<t.length;){var v=u(t,e);if("\\\\"===v){var p=c(t,e,e+2);if(i(h,p))n+=h[p],e+=2;else{if("\\\\u"!==p)throw new a('Unknown escape sequence: "'+p+'"');var y=c(t,e+=2,e+4);if(!l(f,y))throw new a("Bad Unicode escape at: "+e);n+=s(o(y,16)),e+=4}}else{if('"'===v){r=!1,e++;break}if(l(d,v))throw new a("Bad control character in string literal at: "+e);n+=v,e++}}if(r)throw new a("Unterminated string at: "+e);return{value:n,end:e}}},8799:(t,e,r)=>{var n=r(4032);t.exports=n},6703:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},9492:(t,e,r)=>{var n=r(4032),i=r(5318),a=r(3749),o=r(5868),s=r(6906),u=r(5811),c=r(7351),l=r(8507),h=r(6415),f=i&&i.prototype,d=u("species"),v=!1,p=a(n.PromiseRejectionEvent),y=o("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===h)return!0;if(l&&(!f.catch||!f.finally))return!0;if(!h||h<51||!/native code/.test(t)){var r=new i((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[d]=n,!(v=r.then((function(){}))instanceof n))return!0}return!(e||"BROWSER"!==c&&"DENO"!==c||p)}));t.exports={CONSTRUCTOR:y,REJECTION_EVENT:p,SUBCLASSING:v}},5318:(t,e,r)=>{var n=r(4032);t.exports=n.Promise},1774:(t,e,r)=>{var n=r(7447),i=r(2674),a=r(9371);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=a.f(t);return(0,r.resolve)(e),r.promise}},2041:(t,e,r)=>{var n=r(5318),i=r(4348),a=r(9492).CONSTRUCTOR;t.exports=a||!i((function(t){n.all(t).then(void 0,(function(){}))}))},2848:(t,e,r)=>{var n=r(1601).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},3529:t=>{var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},4410:(t,e,r)=>{var n=r(3453),i=r(7447),a=r(3749),o=r(9872),s=r(9867),u=TypeError;t.exports=function(t,e){var r=t.exec;if(a(r)){var c=n(r,t,e);return null!==c&&i(c),c}if("RegExp"===o(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},9867:(t,e,r)=>{var n,i,a=r(3453),o=r(2608),s=r(687),u=r(747),c=r(1837),l=r(4593),h=r(5304),f=r(8301).get,d=r(3651),v=r(9502),p=l("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,g=y,m=o("".charAt),b=o("".indexOf),w=o("".replace),k=o("".slice),x=(i=/b*/g,a(y,n=/a/,"a"),a(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),A=c.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(x||_||A||d||v)&&(g=function(t){var e,r,n,i,o,c,l,d=this,v=f(d),E=s(t),S=v.raw;if(S)return S.lastIndex=d.lastIndex,e=a(g,S,E),d.lastIndex=S.lastIndex,e;var O=v.groups,T=A&&d.sticky,P=a(u,d),L=d.source,M=0,C=E;if(T&&(P=w(P,"y",""),-1===b(P,"g")&&(P+="g"),C=k(E,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\\n"!==m(E,d.lastIndex-1))&&(L="(?: "+L+")",C=" "+C,M++),r=new RegExp("^(?:"+L+")",P)),_&&(r=new RegExp("^"+L+"$(?!\\\\s)",P)),x&&(n=d.lastIndex),i=a(y,T?r:d,C),T?i?(i.input=k(i.input,M),i[0]=k(i[0],M),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:x&&i&&(d.lastIndex=d.global?i.index+i[0].length:n),_&&i&&i.length>1&&a(p,i[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&O)for(i.groups=c=h(null),o=0;o<O.length;o++)c[(l=O[o])[0]]=i[l[1]];return i}),t.exports=g},747:(t,e,r)=>{var n=r(7447);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4554:(t,e,r)=>{var n=r(3453),i=r(9649),a=r(6921),o=r(747),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!a(s,t)?e:n(o,t)}},1837:(t,e,r)=>{var n=r(3455),i=r(4032).RegExp,a=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),o=a||n((function(){return!i("a","y").sticky})),s=a||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:o,UNSUPPORTED_Y:a}},3651:(t,e,r)=>{var n=r(3455),i=r(4032).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\\n")&&"s"===t.flags)}))},9502:(t,e,r)=>{var n=r(3455),i=r(4032).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},7222:(t,e,r)=>{var n=r(6021),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},5725:(t,e,r)=>{var n=r(4032),i=r(2444),a=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return n[t];var e=a(n,t);return e&&e.value}},8550:(t,e,r)=>{var n=r(418),i=r(5605),a=n.Set,o=n.add;t.exports=function(t){var e=new a;return i(t,(function(t){o(e,t)})),e}},4656:(t,e,r)=>{var n=r(4376),i=r(418),a=r(8550),o=r(82),s=r(3885),u=r(5605),c=r(2939),l=i.has,h=i.remove;t.exports=function(t){var e=n(this),r=s(t),i=a(e);return o(e)<=r.size?u(e,(function(t){r.includes(t)&&h(i,t)})):c(r.getIterator(),(function(t){l(e,t)&&h(i,t)})),i}},418:(t,e,r)=>{var n=r(2608),i=Set.prototype;t.exports={Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},2446:(t,e,r)=>{var n=r(4376),i=r(418),a=r(82),o=r(3885),s=r(5605),u=r(2939),c=i.Set,l=i.add,h=i.has;t.exports=function(t){var e=n(this),r=o(t),i=new c;return a(e)>r.size?u(r.getIterator(),(function(t){h(e,t)&&l(i,t)})):s(e,(function(t){r.includes(t)&&l(i,t)})),i}},4545:(t,e,r)=>{var n=r(4376),i=r(418).has,a=r(82),o=r(3885),s=r(5605),u=r(2939),c=r(5235);t.exports=function(t){var e=n(this),r=o(t);if(a(e)<=r.size)return!1!==s(e,(function(t){if(r.includes(t))return!1}),!0);var l=r.getIterator();return!1!==u(l,(function(t){if(i(e,t))return c(l,"normal",!1)}))}},7918:(t,e,r)=>{var n=r(4376),i=r(82),a=r(5605),o=r(3885);t.exports=function(t){var e=n(this),r=o(t);return!(i(e)>r.size)&&!1!==a(e,(function(t){if(!r.includes(t))return!1}),!0)}},6111:(t,e,r)=>{var n=r(4376),i=r(418).has,a=r(82),o=r(3885),s=r(2939),u=r(5235);t.exports=function(t){var e=n(this),r=o(t);if(a(e)<r.size)return!1;var c=r.getIterator();return!1!==s(c,(function(t){if(!i(e,t))return u(c,"normal",!1)}))}},5605:(t,e,r)=>{var n=r(2608),i=r(2939),a=r(418),o=a.Set,s=a.proto,u=n(s.forEach),c=n(s.keys),l=c(new o).next;t.exports=function(t,e,r){return r?i({iterator:c(t),next:l},e):u(t,e)}},1716:(t,e,r)=>{var n=r(8711),i=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};t.exports=function(t){var e=n("Set");try{(new e)[t](i(0));try{return(new e)[t](i(-1)),!1}catch(t){return!0}}catch(t){return!1}}},82:(t,e,r)=>{var n=r(5026),i=r(418);t.exports=n(i.proto,"size","get")||function(t){return t.size}},5409:(t,e,r)=>{var n=r(8711),i=r(8986),a=r(5811),o=r(2444),s=a("species");t.exports=function(t){var e=n(t);o&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},4498:(t,e,r)=>{var n=r(4376),i=r(418),a=r(8550),o=r(3885),s=r(2939),u=i.add,c=i.has,l=i.remove;t.exports=function(t){var e=n(this),r=o(t).getIterator(),i=a(e);return s(r,(function(t){c(e,t)?l(i,t):u(i,t)})),i}},6911:(t,e,r)=>{var n=r(1601).f,i=r(9649),a=r(5811)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,a)&&n(t,a,{configurable:!0,value:e})}},9500:(t,e,r)=>{var n=r(4376),i=r(418).add,a=r(8550),o=r(3885),s=r(2939);t.exports=function(t){var e=n(this),r=o(t).getIterator(),u=a(e);return s(r,(function(t){i(u,t)})),u}},2343:(t,e,r)=>{var n=r(4593),i=r(5936),a=n("keys");t.exports=function(t){return a[t]||(a[t]=i(t))}},2205:(t,e,r)=>{var n=r(8507),i=r(4032),a=r(5801),o="__core-js_shared__",s=t.exports=i[o]||a(o,{});(s.versions||(s.versions=[])).push({version:"3.38.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},4593:(t,e,r)=>{var n=r(2205);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},1365:(t,e,r)=>{var n=r(7447),i=r(9052),a=r(6021),o=r(5811)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||a(r=n(s)[o])?e:i(r)}},6903:(t,e,r)=>{var n=r(2608),i=r(1211),a=r(687),o=r(7222),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(t){return function(e,r){var n,l,h=a(o(e)),f=i(r),d=h.length;return f<0||f>=d?t?"":void 0:(n=u(h,f))<55296||n>56319||f+1===d||(l=u(h,f+1))<56320||l>57343?t?s(h,f):n:t?c(h,f,f+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4903:(t,e,r)=>{var n=r(7607);t.exports=/Version\\/10(?:\\.\\d+){1,2}(?: [\\w./]+)?(?: Mobile\\/\\w+)? Safari\\//.test(n)},6437:(t,e,r)=>{var n=r(2608),i=r(5806),a=r(687),o=r(6605),s=r(7222),u=n(o),c=n("".slice),l=Math.ceil,h=function(t){return function(e,r,n){var o,h,f=a(s(e)),d=i(r),v=f.length,p=void 0===n?" ":a(n);return d<=v||""===p?f:((h=u(p,l((o=d-v)/p.length))).length>o&&(h=c(h,0,o)),t?f+h:h+f)}};t.exports={start:h(!1),end:h(!0)}},5141:(t,e,r)=>{var n=r(2608),i=2147483647,a=/[^\\0-\\u007E]/,o=/[.\\u3002\\uFF0E\\uFF61]/g,s="Overflow: input needs wider integers to process",u=RangeError,c=n(o.exec),l=Math.floor,h=String.fromCharCode,f=n("".charCodeAt),d=n([].join),v=n([].push),p=n("".replace),y=n("".split),g=n("".toLowerCase),m=function(t){return t+22+75*(t<26)},b=function(t,e,r){var n=0;for(t=r?l(t/700):t>>1,t+=l(t/e);t>455;)t=l(t/35),n+=36;return l(n+36*t/(t+38))},w=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var i=f(t,r++);if(i>=55296&&i<=56319&&r<n){var a=f(t,r++);56320==(64512&a)?v(e,((1023&i)<<10)+(1023&a)+65536):(v(e,i),r--)}else v(e,i)}return e}(t);var r,n,a=t.length,o=128,c=0,p=72;for(r=0;r<t.length;r++)(n=t[r])<128&&v(e,h(n));var y=e.length,g=y;for(y&&v(e,"-");g<a;){var w=i;for(r=0;r<t.length;r++)(n=t[r])>=o&&n<w&&(w=n);var k=g+1;if(w-o>l((i-c)/k))throw new u(s);for(c+=(w-o)*k,o=w,r=0;r<t.length;r++){if((n=t[r])<o&&++c>i)throw new u(s);if(n===o){for(var x=c,A=36;;){var _=A<=p?1:A>=p+26?26:A-p;if(x<_)break;var E=x-_,S=36-_;v(e,h(m(_+E%S))),x=l(E/S),A+=36}v(e,h(m(x))),p=b(c,k,g===y),c=0,g++}}c++,o++}return d(e,"")};t.exports=function(t){var e,r,n=[],i=y(p(g(t),o,"."),".");for(e=0;e<i.length;e++)r=i[e],v(n,c(a,r)?"xn--"+w(r):r);return d(n,".")}},6605:(t,e,r)=>{var n=r(1211),i=r(687),a=r(7222),o=RangeError;t.exports=function(t){var e=i(a(this)),r="",s=n(t);if(s<0||s===1/0)throw new o("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(r+=e);return r}},2882:(t,e,r)=>{var n=r(9418).end,i=r(3794);t.exports=i("trimEnd")?function(){return n(this)}:"".trimEnd},3794:(t,e,r)=>{var n=r(2542).PROPER,i=r(3455),a=r(2284);t.exports=function(t){return i((function(){return!!a[t]()||"​…᠎"!=="​…᠎"[t]()||n&&a[t].name!==t}))}},9418:(t,e,r)=>{var n=r(2608),i=r(7222),a=r(687),o=r(2284),s=n("".replace),u=RegExp("^["+o+"]+"),c=RegExp("(^|[^"+o+"])["+o+"]+$"),l=function(t){return function(e){var r=a(i(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,c,"$1")),r}};t.exports={start:l(1),end:l(2),trim:l(3)}},6572:(t,e,r)=>{var n=r(4032),i=r(3455),a=r(6415),o=r(7351),s=n.structuredClone;t.exports=!!s&&!i((function(){if("DENO"===o&&a>92||"NODE"===o&&a>94||"BROWSER"===o&&a>97)return!1;var t=new ArrayBuffer(8),e=s(t,{transfer:[t]});return 0!==t.byteLength||8!==e.byteLength}))},6943:(t,e,r)=>{var n=r(6415),i=r(3455),a=r(4032).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3042:(t,e,r)=>{var n=r(3453),i=r(8711),a=r(5811),o=r(8552);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=a("toPrimitive");e&&!e[s]&&o(e,s,(function(t){return n(r,this)}),{arity:1})}},8592:(t,e,r)=>{var n=r(6943);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},1369:(t,e,r)=>{var n,i,a,o,s=r(4032),u=r(3881),c=r(4864),l=r(3749),h=r(9649),f=r(3455),d=r(3085),v=r(4224),p=r(5751),y=r(7900),g=r(9352),m=r(4529),b=s.setImmediate,w=s.clearImmediate,k=s.process,x=s.Dispatch,A=s.Function,_=s.MessageChannel,E=s.String,S=0,O={},T="onreadystatechange";f((function(){n=s.location}));var P=function(t){if(h(O,t)){var e=O[t];delete O[t],e()}},L=function(t){return function(){P(t)}},M=function(t){P(t.data)},C=function(t){s.postMessage(E(t),n.protocol+"//"+n.host)};b&&w||(b=function(t){y(arguments.length,1);var e=l(t)?t:A(t),r=v(arguments,1);return O[++S]=function(){u(e,void 0,r)},i(S),S},w=function(t){delete O[t]},m?i=function(t){k.nextTick(L(t))}:x&&x.now?i=function(t){x.now(L(t))}:_&&!g?(o=(a=new _).port2,a.port1.onmessage=M,i=c(o.postMessage,o)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!f(C)?(i=C,s.addEventListener("message",M,!1)):i=T in p("script")?function(t){d.appendChild(p("script"))[T]=function(){d.removeChild(this),P(t)}}:function(t){setTimeout(L(t),0)}),t.exports={set:b,clear:w}},9002:(t,e,r)=>{var n=r(1211),i=Math.max,a=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):a(r,e)}},1198:(t,e,r)=>{var n=r(8921),i=TypeError;t.exports=function(t){var e=n(t,"number");if("number"==typeof e)throw new i("Can't convert number to bigint");return BigInt(e)}},9088:(t,e,r)=>{var n=r(1211),i=r(5806),a=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=i(e);if(e!==r)throw new a("Wrong length or index");return r}},3637:(t,e,r)=>{var n=r(9455),i=r(7222);t.exports=function(t){return n(i(t))}},1211:(t,e,r)=>{var n=r(2789);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},5806:(t,e,r)=>{var n=r(1211),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},4165:(t,e,r)=>{var n=r(7222),i=Object;t.exports=function(t){return i(n(t))}},8402:(t,e,r)=>{var n=r(5590),i=RangeError;t.exports=function(t,e){var r=n(t);if(r%e)throw new i("Wrong offset");return r}},5590:(t,e,r)=>{var n=r(1211),i=RangeError;t.exports=function(t){var e=n(t);if(e<0)throw new i("The argument can't be less than 0");return e}},8921:(t,e,r)=>{var n=r(3453),i=r(2674),a=r(2277),o=r(8622),s=r(3118),u=r(5811),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!i(t)||a(t))return t;var r,u=o(t,l);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||a(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},6201:(t,e,r)=>{var n=r(8921),i=r(2277);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},3724:(t,e,r)=>{var n={};n[r(5811)("toStringTag")]="z",t.exports="[object z]"===String(n)},687:(t,e,r)=>{var n=r(1179),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},5215:t=>{var e=Math.round;t.exports=function(t){var r=e(t);return r<0?0:r>255?255:255&r}},8055:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},8975:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(3453),o=r(2444),s=r(949),u=r(4356),c=r(7226),l=r(3399),h=r(4004),f=r(139),d=r(2599),v=r(5806),p=r(9088),y=r(8402),g=r(5215),m=r(6201),b=r(9649),w=r(1179),k=r(2674),x=r(2277),A=r(5304),_=r(6921),E=r(9415),S=r(3408).f,O=r(2291),T=r(5645).forEach,P=r(5409),L=r(8986),M=r(1601),C=r(1139),j=r(7434),I=r(8301),R=r(3951),F=I.get,D=I.set,N=I.enforce,W=M.f,B=C.f,G=i.RangeError,H=c.ArrayBuffer,U=H.prototype,z=c.DataView,V=u.NATIVE_ARRAY_BUFFER_VIEWS,q=u.TYPED_ARRAY_TAG,Y=u.TypedArray,X=u.TypedArrayPrototype,K=u.isTypedArray,Q="BYTES_PER_ELEMENT",J="Wrong length",$=function(t,e){L(t,e,{configurable:!0,get:function(){return F(this)[e]}})},Z=function(t){var e;return _(U,t)||"ArrayBuffer"===(e=w(t))||"SharedArrayBuffer"===e},tt=function(t,e){return K(t)&&!x(e)&&e in t&&d(+e)&&e>=0},et=function(t,e){return e=m(e),tt(t,e)?h(2,t[e]):B(t,e)},rt=function(t,e,r){return e=m(e),!(tt(t,e)&&k(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?W(t,e,r):(t[e]=r.value,t)};o?(V||(C.f=et,M.f=rt,$(X,"buffer"),$(X,"byteOffset"),$(X,"byteLength"),$(X,"length")),n({target:"Object",stat:!0,forced:!V},{getOwnPropertyDescriptor:et,defineProperty:rt}),t.exports=function(t,e,r){var o=t.match(/\\d+/)[0]/8,u=t+(r?"Clamped":"")+"Array",c="get"+t,h="set"+t,d=i[u],m=d,b=m&&m.prototype,w={},x=function(t,e){W(t,e,{get:function(){return function(t,e){var r=F(t);return r.view[c](e*o+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,n){var i=F(t);i.view[h](e*o+i.byteOffset,r?g(n):n,!0)}(this,e,t)},enumerable:!0})};V?s&&(m=e((function(t,e,r,n){return l(t,b),R(k(e)?Z(e)?void 0!==n?new d(e,y(r,o),n):void 0!==r?new d(e,y(r,o)):new d(e):K(e)?j(m,e):a(O,m,e):new d(p(e)),t,m)})),E&&E(m,Y),T(S(d),(function(t){t in m||f(m,t,d[t])})),m.prototype=b):(m=e((function(t,e,r,n){l(t,b);var i,s,u,c=0,h=0;if(k(e)){if(!Z(e))return K(e)?j(m,e):a(O,m,e);i=e,h=y(r,o);var f=e.byteLength;if(void 0===n){if(f%o)throw new G(J);if((s=f-h)<0)throw new G(J)}else if((s=v(n)*o)+h>f)throw new G(J);u=s/o}else u=p(e),i=new H(s=u*o);for(D(t,{buffer:i,byteOffset:h,byteLength:s,length:u,view:new z(i)});c<u;)x(t,c++)})),E&&E(m,Y),b=m.prototype=A(X)),b.constructor!==m&&f(b,"constructor",m),N(b).TypedArrayConstructor=m,q&&f(b,q,u);var _=m!==d;w[u]=m,n({global:!0,constructor:!0,forced:_,sham:!V},w),Q in m||f(m,Q,o),Q in b||f(b,Q,o),P(u)}):t.exports=function(){}},949:(t,e,r)=>{var n=r(4032),i=r(3455),a=r(4348),o=r(4356).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,u=n.Int8Array;t.exports=!o||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!a((function(t){new u,new u(null),new u(1.5),new u(t)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},85:(t,e,r)=>{var n=r(7434),i=r(580);t.exports=function(t,e){return n(i(t),e)}},2291:(t,e,r)=>{var n=r(4864),i=r(3453),a=r(9052),o=r(4165),s=r(7878),u=r(6961),c=r(7507),l=r(993),h=r(5415),f=r(4356).aTypedArrayConstructor,d=r(1198);t.exports=function(t){var e,r,v,p,y,g,m,b,w=a(this),k=o(t),x=arguments.length,A=x>1?arguments[1]:void 0,_=void 0!==A,E=c(k);if(E&&!l(E))for(b=(m=u(k,E)).next,k=[];!(g=i(b,m)).done;)k.push(g.value);for(_&&x>2&&(A=n(A,arguments[2])),r=s(k),v=new(f(w))(r),p=h(v),e=0;r>e;e++)y=_?A(k[e],e):k[e],v[e]=p?d(y):+y;return v}},580:(t,e,r)=>{var n=r(4356),i=r(1365),a=n.aTypedArrayConstructor,o=n.getTypedArrayConstructor;t.exports=function(t){return a(i(t,o(t)))}},5936:(t,e,r)=>{var n=r(2608),i=0,a=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++i+a,36)}},8200:(t,e,r)=>{var n=r(3455),i=r(5811),a=r(2444),o=r(8507),s=i("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),r.delete("a",2),r.delete("b",void 0),o&&(!t.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!e.size&&(o||!a)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}))},4752:(t,e,r)=>{var n=r(6943);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},782:(t,e,r)=>{var n=r(2444),i=r(3455);t.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},7900:t=>{var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},6206:(t,e,r)=>{var n=r(4032),i=r(3749),a=n.WeakMap;t.exports=i(a)&&/native code/.test(String(a))},5343:(t,e,r)=>{var n=r(8799),i=r(9649),a=r(4559),o=r(1601).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||o(e,t,{value:a.f(t)})}},4559:(t,e,r)=>{var n=r(5811);e.f=n},5811:(t,e,r)=>{var n=r(4032),i=r(4593),a=r(9649),o=r(5936),s=r(6943),u=r(4752),c=n.Symbol,l=i("wks"),h=u?c.for||c:c&&c.withoutSetter||o;t.exports=function(t){return a(l,t)||(l[t]=s&&a(c,t)?c[t]:h("Symbol."+t)),l[t]}},2284:t=>{t.exports="\\t\\n\\v\\f\\r                 \\u2028\\u2029\\ufeff"},9257:(t,e,r)=>{var n=r(8711),i=r(9649),a=r(139),o=r(6921),s=r(9415),u=r(2924),c=r(2848),l=r(3951),h=r(8363),f=r(2483),d=r(4171),v=r(2444),p=r(8507);t.exports=function(t,e,r,y){var g="stackTraceLimit",m=y?2:1,b=t.split("."),w=b[b.length-1],k=n.apply(null,b);if(k){var x=k.prototype;if(!p&&i(x,"cause")&&delete x.cause,!r)return k;var A=n("Error"),_=e((function(t,e){var r=h(y?e:t,void 0),n=y?new k(t):new k;return void 0!==r&&a(n,"message",r),d(n,_,n.stack,2),this&&o(x,this)&&l(n,this,_),arguments.length>m&&f(n,arguments[m]),n}));if(_.prototype=x,"Error"!==w?s?s(_,A):u(_,A,{name:!0}):v&&g in k&&(c(_,k,g),c(_,k,"prepareStackTrace")),u(_,k),!p)try{x.name!==w&&a(x,"name",w),x.constructor=_}catch(t){}return _}}},5015:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(7226),o=r(5409),s="ArrayBuffer",u=a[s];n({global:!0,constructor:!0,forced:i[s]!==u},{ArrayBuffer:u}),o(s)},9261:(t,e,r)=>{var n=r(2444),i=r(8986),a=r(8102),o=ArrayBuffer.prototype;n&&!("detached"in o)&&i(o,"detached",{configurable:!0,get:function(){return a(this)}})},6209:(t,e,r)=>{var n=r(5366),i=r(2116),a=r(3455),o=r(7226),s=r(7447),u=r(9002),c=r(5806),l=r(1365),h=o.ArrayBuffer,f=o.DataView,d=f.prototype,v=i(h.prototype.slice),p=i(d.getUint8),y=i(d.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:a((function(){return!new h(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(v&&void 0===e)return v(s(this),t);for(var r=s(this).byteLength,n=u(t,r),i=u(void 0===e?r:e,r),a=new(l(this,h))(c(i-n)),o=new f(this),d=new f(a),g=0;n<i;)y(d,g++,p(o,n++));return a}})},3632:(t,e,r)=>{var n=r(5366),i=r(4676);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},3700:(t,e,r)=>{var n=r(5366),i=r(4676);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},6347:(t,e,r)=>{var n=r(5366),i=r(4165),a=r(7878),o=r(1211),s=r(1458);n({target:"Array",proto:!0},{at:function(t){var e=i(this),r=a(e),n=o(t),s=n>=0?n:r+n;return s<0||s>=r?void 0:e[s]}}),s("at")},3234:(t,e,r)=>{var n=r(5366),i=r(3455),a=r(5448),o=r(2674),s=r(4165),u=r(7878),c=r(9573),l=r(3552),h=r(1453),f=r(9077),d=r(5811),v=r(6415),p=d("isConcatSpreadable"),y=v>=51||!i((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),g=function(t){if(!o(t))return!1;var e=t[p];return void 0!==e?!!e:a(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!f("concat")},{concat:function(t){var e,r,n,i,a,o=s(this),f=h(o,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(g(a=-1===e?o:arguments[e]))for(i=u(a),c(d+i),r=0;r<i;r++,d++)r in a&&l(f,d,a[r]);else c(d+1),l(f,d++,a);return f.length=d,f}})},456:(t,e,r)=>{var n=r(5366),i=r(5645).filter;n({target:"Array",proto:!0,forced:!r(9077)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},4302:(t,e,r)=>{var n=r(5366),i=r(2851),a=r(4186),o=r(4165),s=r(7878),u=r(1453);n({target:"Array",proto:!0},{flatMap:function(t){var e,r=o(this),n=s(r);return a(t),(e=u(r,0)).length=i(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},6746:(t,e,r)=>{var n=r(5366),i=r(3948);n({target:"Array",stat:!0,forced:!r(4348)((function(t){Array.from(t)}))},{from:i})},8551:(t,e,r)=>{var n=r(5366),i=r(7921).includes,a=r(3455),o=r(1458);n({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},3276:(t,e,r)=>{var n=r(5366),i=r(2116),a=r(7921).indexOf,o=r(1814),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0;n({target:"Array",proto:!0,forced:u||!o("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return u?s(this,t,e)||0:a(this,t,e)}})},9024:(t,e,r)=>{var n=r(3637),i=r(1458),a=r(5597),o=r(8301),s=r(1601).f,u=r(656),c=r(9393),l=r(8507),h=r(2444),f="Array Iterator",d=o.set,v=o.getterFor(f);t.exports=u(Array,"Array",(function(t,e){d(this,{type:f,target:n(t),index:0,kind:e})}),(function(){var t=v(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var p=a.Arguments=a.Array;if(i("keys"),i("values"),i("entries"),!l&&h&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},3177:(t,e,r)=>{var n=r(5366),i=r(3499);n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},5550:(t,e,r)=>{var n=r(5366),i=r(5645).map;n({target:"Array",proto:!0,forced:!r(9077)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},9138:(t,e,r)=>{var n=r(5366),i=r(4165),a=r(7878),o=r(7375),s=r(9573);n({target:"Array",proto:!0,arity:1,forced:r(3455)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=i(this),r=a(e),n=arguments.length;s(r+n);for(var u=0;u<n;u++)e[r]=arguments[u],r++;return o(e,r),r}})},8408:(t,e,r)=>{var n=r(5366),i=r(4734).left,a=r(1814),o=r(6415);n({target:"Array",proto:!0,forced:!r(4529)&&o>79&&o<83||!a("reduce")},{reduce:function(t){var e=arguments.length;return i(this,t,e,e>1?arguments[1]:void 0)}})},4413:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(5448),o=i([].reverse),s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),o(this)}})},750:(t,e,r)=>{var n=r(5366),i=r(5448),a=r(8413),o=r(2674),s=r(9002),u=r(7878),c=r(3637),l=r(3552),h=r(5811),f=r(9077),d=r(4224),v=f("slice"),p=h("species"),y=Array,g=Math.max;n({target:"Array",proto:!0,forced:!v},{slice:function(t,e){var r,n,h,f=c(this),v=u(f),m=s(t,v),b=s(void 0===e?v:e,v);if(i(f)&&(r=f.constructor,(a(r)&&(r===y||i(r.prototype))||o(r)&&null===(r=r[p]))&&(r=void 0),r===y||void 0===r))return d(f,m,b);for(n=new(void 0===r?y:r)(g(b-m,0)),h=0;m<b;m++,h++)m in f&&l(n,h,f[m]);return n.length=h,n}})},7710:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(4186),o=r(4165),s=r(7878),u=r(1870),c=r(687),l=r(3455),h=r(5272),f=r(1814),d=r(7085),v=r(5123),p=r(6415),y=r(1911),g=[],m=i(g.sort),b=i(g.push),w=l((function(){g.sort(void 0)})),k=l((function(){g.sort(null)})),x=f("sort"),A=!l((function(){if(p)return p<70;if(!(d&&d>3)){if(v)return!0;if(y)return y<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)g.push({k:e+n,v:r})}for(g.sort((function(t,e){return e.v-t.v})),n=0;n<g.length;n++)e=g[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!k||!x||!A},{sort:function(t){void 0!==t&&a(t);var e=o(this);if(A)return void 0===t?m(e):m(e,t);var r,n,i=[],l=s(e);for(n=0;n<l;n++)n in e&&b(i,e[n]);for(h(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:c(e)>c(r)?1:-1}}(t)),r=s(i),n=0;n<r;)e[n]=i[n++];for(;n<l;)u(e,n++);return e}})},122:(t,e,r)=>{var n=r(5366),i=r(4165),a=r(9002),o=r(1211),s=r(7878),u=r(7375),c=r(9573),l=r(1453),h=r(3552),f=r(1870),d=r(9077)("splice"),v=Math.max,p=Math.min;n({target:"Array",proto:!0,forced:!d},{splice:function(t,e){var r,n,d,y,g,m,b=i(this),w=s(b),k=a(t,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-k):(r=x-2,n=p(v(o(e),0),w-k)),c(w+r-n),d=l(b,n),y=0;y<n;y++)(g=k+y)in b&&h(d,y,b[g]);if(d.length=n,r<n){for(y=k;y<w-n;y++)m=y+r,(g=y+n)in b?b[m]=b[g]:f(b,m);for(y=w;y>w-n+r;y--)f(b,y-1)}else if(r>n)for(y=w-n;y>k;y--)m=y+r-1,(g=y+n-1)in b?b[m]=b[g]:f(b,m);for(y=0;y<r;y++)b[y+k]=arguments[y+2];return u(b,w-n+r),d}})},7149:(t,e,r)=>{r(1458)("flatMap")},6851:(t,e,r)=>{var n=r(5366),i=r(3455),a=r(4165),o=r(8921);n({target:"Date",proto:!0,arity:1,forced:i((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=a(this),r=o(e,"number");return"number"!=typeof r||isFinite(r)?e.toISOString():null}})},7316:(t,e,r)=>{var n=r(9649),i=r(8552),a=r(952),o=r(5811)("toPrimitive"),s=Date.prototype;n(s,o)||i(s,o,a)},184:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(3881),o=r(9257),s="WebAssembly",u=i[s],c=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=o(t,e,c),n({global:!0,constructor:!0,arity:1,forced:c},r)},h=function(t,e){if(u&&u[t]){var r={};r[t]=o(s+"."+t,e,c),n({target:s,stat:!0,constructor:!0,arity:1,forced:c},r)}};l("Error",(function(t){return function(e){return a(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return a(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return a(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return a(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return a(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return a(t,this,arguments)}})),l("URIError",(function(t){return function(e){return a(t,this,arguments)}})),h("CompileError",(function(t){return function(e){return a(t,this,arguments)}})),h("LinkError",(function(t){return function(e){return a(t,this,arguments)}})),h("RuntimeError",(function(t){return function(e){return a(t,this,arguments)}}))},8169:(t,e,r)=>{var n=r(5366),i=r(4032);n({global:!0,forced:i.globalThis!==i},{globalThis:i})},9750:(t,e,r)=>{var n=r(5366),i=r(8711),a=r(3881),o=r(3453),s=r(2608),u=r(3455),c=r(3749),l=r(2277),h=r(4224),f=r(213),d=r(6943),v=String,p=i("JSON","stringify"),y=s(/./.exec),g=s("".charAt),m=s("".charCodeAt),b=s("".replace),w=s(1..toString),k=/[\\uD800-\\uDFFF]/g,x=/^[\\uD800-\\uDBFF]$/,A=/^[\\uDC00-\\uDFFF]$/,_=!d||u((function(){var t=i("Symbol")("stringify detection");return"[null]"!==p([t])||"{}"!==p({a:t})||"{}"!==p(Object(t))})),E=u((function(){return'"\\\\udf06\\\\ud834"'!==p("\\udf06\\ud834")||'"\\\\udead"'!==p("\\udead")})),S=function(t,e){var r=h(arguments),n=f(e);if(c(n)||void 0!==t&&!l(t))return r[1]=function(t,e){if(c(n)&&(e=o(n,this,v(t),e)),!l(e))return e},a(p,null,r)},O=function(t,e,r){var n=g(r,e-1),i=g(r,e+1);return y(x,t)&&!y(A,i)||y(A,t)&&!y(x,n)?"\\\\u"+w(m(t,0),16):t};p&&n({target:"JSON",stat:!0,arity:3,forced:_||E},{stringify:function(t,e,r){var n=h(arguments),i=a(_?S:p,null,n);return E&&"string"==typeof i?b(i,k,O):i}})},7531:(t,e,r)=>{var n=r(4032);r(6911)(n.JSON,"JSON",!0)},6539:(t,e,r)=>{r(9556)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(2042))},1425:(t,e,r)=>{r(6539)},3821:(t,e,r)=>{var n=r(5366),i=Math.hypot,a=Math.abs,o=Math.sqrt;n({target:"Math",stat:!0,arity:2,forced:!!i&&i(1/0,NaN)!==1/0},{hypot:function(t,e){for(var r,n,i=0,s=0,u=arguments.length,c=0;s<u;)c<(r=a(arguments[s++]))?(i=i*(n=c/r)*n+1,c=r):i+=r>0?(n=r/c)*n:r;return c===1/0?1/0:c*o(i)}})},1999:(t,e,r)=>{r(6911)(Math,"Math",!0)},8674:(t,e,r)=>{var n=r(5366),i=r(8885).entries;n({target:"Object",stat:!0},{entries:function(t){return i(t)}})},4129:(t,e,r)=>{var n=r(5366),i=r(1804),a=r(3552);n({target:"Object",stat:!0},{fromEntries:function(t){var e={};return i(t,(function(t,r){a(e,t,r)}),{AS_ENTRIES:!0}),e}})},702:(t,e,r)=>{var n=r(5366),i=r(2444),a=r(2919),o=r(3637),s=r(1139),u=r(3552);n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,r,n=o(t),i=s.f,c=a(n),l={},h=0;c.length>h;)void 0!==(r=i(n,e=c[h++]))&&u(l,e,r);return l}})},1309:(t,e,r)=>{var n=r(5366),i=r(6943),a=r(3455),o=r(6005),s=r(4165);n({target:"Object",stat:!0,forced:!i||a((function(){o.f(1)}))},{getOwnPropertySymbols:function(t){var e=o.f;return e?e(s(t)):[]}})},3379:(t,e,r)=>{var n=r(3724),i=r(8552),a=r(3003);n||i(Object.prototype,"toString",a,{unsafe:!0})},482:(t,e,r)=>{var n=r(5366),i=r(8885).values;n({target:"Object",stat:!0},{values:function(t){return i(t)}})},5204:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(4186),o=r(9371),s=r(6703),u=r(1804);n({target:"Promise",stat:!0,forced:r(2041)},{allSettled:function(t){var e=this,r=o.f(e),n=r.resolve,c=r.reject,l=s((function(){var r=a(e.resolve),o=[],s=0,c=1;u(t,(function(t){var a=s++,u=!1;c++,i(r,e,t).then((function(t){u||(u=!0,o[a]={status:"fulfilled",value:t},--c||n(o))}),(function(t){u||(u=!0,o[a]={status:"rejected",reason:t},--c||n(o))}))})),--c||n(o)}));return l.error&&c(l.value),r.promise}})},6195:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(4186),o=r(9371),s=r(6703),u=r(1804);n({target:"Promise",stat:!0,forced:r(2041)},{all:function(t){var e=this,r=o.f(e),n=r.resolve,c=r.reject,l=s((function(){var r=a(e.resolve),o=[],s=0,l=1;u(t,(function(t){var a=s++,u=!1;l++,i(r,e,t).then((function(t){u||(u=!0,o[a]=t,--l||n(o))}),c)})),--l||n(o)}));return l.error&&c(l.value),r.promise}})},1459:(t,e,r)=>{var n=r(5366),i=r(8507),a=r(9492).CONSTRUCTOR,o=r(5318),s=r(8711),u=r(3749),c=r(8552),l=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(o)){var h=s("Promise").prototype.catch;l.catch!==h&&c(l,"catch",h,{unsafe:!0})}},9236:(t,e,r)=>{var n,i,a,o=r(5366),s=r(8507),u=r(4529),c=r(4032),l=r(3453),h=r(8552),f=r(9415),d=r(6911),v=r(5409),p=r(4186),y=r(3749),g=r(2674),m=r(3399),b=r(1365),w=r(1369).set,k=r(755),x=r(4885),A=r(6703),_=r(3529),E=r(8301),S=r(5318),O=r(9492),T=r(9371),P="Promise",L=O.CONSTRUCTOR,M=O.REJECTION_EVENT,C=O.SUBCLASSING,j=E.getterFor(P),I=E.set,R=S&&S.prototype,F=S,D=R,N=c.TypeError,W=c.document,B=c.process,G=T.f,H=G,U=!!(W&&W.createEvent&&c.dispatchEvent),z="unhandledrejection",V=function(t){var e;return!(!g(t)||!y(e=t.then))&&e},q=function(t,e){var r,n,i,a=e.value,o=1===e.state,s=o?t.ok:t.fail,u=t.resolve,c=t.reject,h=t.domain;try{s?(o||(2===e.rejection&&J(e),e.rejection=1),!0===s?r=a:(h&&h.enter(),r=s(a),h&&(h.exit(),i=!0)),r===t.promise?c(new N("Promise-chain cycle")):(n=V(r))?l(n,r,u,c):u(r)):c(a)}catch(t){h&&!i&&h.exit(),c(t)}},Y=function(t,e){t.notified||(t.notified=!0,k((function(){for(var r,n=t.reactions;r=n.get();)q(r,t);t.notified=!1,e&&!t.rejection&&K(t)})))},X=function(t,e,r){var n,i;U?((n=W.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),c.dispatchEvent(n)):n={promise:e,reason:r},!M&&(i=c["on"+t])?i(n):t===z&&x("Unhandled promise rejection",r)},K=function(t){l(w,c,(function(){var e,r=t.facade,n=t.value;if(Q(t)&&(e=A((function(){u?B.emit("unhandledRejection",n,r):X(z,r,n)})),t.rejection=u||Q(t)?2:1,e.error))throw e.value}))},Q=function(t){return 1!==t.rejection&&!t.parent},J=function(t){l(w,c,(function(){var e=t.facade;u?B.emit("rejectionHandled",e):X("rejectionhandled",e,t.value)}))},$=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Y(t,!0))},tt=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new N("Promise can't be resolved itself");var n=V(e);n?k((function(){var r={done:!1};try{l(n,e,$(tt,r,t),$(Z,r,t))}catch(e){Z(r,e,t)}})):(t.value=e,t.state=1,Y(t,!1))}catch(e){Z({done:!1},e,t)}}};if(L&&(D=(F=function(t){m(this,D),p(t),l(n,this);var e=j(this);try{t($(tt,e),$(Z,e))}catch(t){Z(e,t)}}).prototype,(n=function(t){I(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new _,rejection:!1,state:0,value:null})}).prototype=h(D,"then",(function(t,e){var r=j(this),n=G(b(this,F));return r.parent=!0,n.ok=!y(t)||t,n.fail=y(e)&&e,n.domain=u?B.domain:void 0,0===r.state?r.reactions.add(n):k((function(){q(n,r)})),n.promise})),i=function(){var t=new n,e=j(t);this.promise=t,this.resolve=$(tt,e),this.reject=$(Z,e)},T.f=G=function(t){return t===F||void 0===t?new i(t):H(t)},!s&&y(S)&&R!==Object.prototype)){a=R.then,C||h(R,"then",(function(t,e){var r=this;return new F((function(t,e){l(a,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete R.constructor}catch(t){}f&&f(R,D)}o({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:F}),d(F,P,!1,!0),v(P)},2431:(t,e,r)=>{var n=r(5366),i=r(8507),a=r(5318),o=r(3455),s=r(8711),u=r(3749),c=r(1365),l=r(1774),h=r(8552),f=a&&a.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!a&&o((function(){f.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=c(this,s("Promise")),r=u(t);return this.then(r?function(r){return l(e,t()).then((function(){return r}))}:t,r?function(r){return l(e,t()).then((function(){throw r}))}:t)}}),!i&&u(a)){var d=s("Promise").prototype.finally;f.finally!==d&&h(f,"finally",d,{unsafe:!0})}},1234:(t,e,r)=>{r(9236),r(6195),r(1459),r(5167),r(5257),r(1128)},5167:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(4186),o=r(9371),s=r(6703),u=r(1804);n({target:"Promise",stat:!0,forced:r(2041)},{race:function(t){var e=this,r=o.f(e),n=r.reject,c=s((function(){var o=a(e.resolve);u(t,(function(t){i(o,e,t).then(r.resolve,n)}))}));return c.error&&n(c.value),r.promise}})},5257:(t,e,r)=>{var n=r(5366),i=r(9371);n({target:"Promise",stat:!0,forced:r(9492).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return(0,e.reject)(t),e.promise}})},1128:(t,e,r)=>{var n=r(5366),i=r(8711),a=r(8507),o=r(5318),s=r(9492).CONSTRUCTOR,u=r(1774),c=i("Promise"),l=a&&!s;n({target:"Promise",stat:!0,forced:a||s},{resolve:function(t){return u(l&&this===c?o:this,t)}})},9732:(t,e,r)=>{var n=r(5366),i=r(9371);n({target:"Promise",stat:!0},{withResolvers:function(){var t=i.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}})},489:(t,e,r)=>{var n=r(5366),i=r(8711),a=r(3881),o=r(2230),s=r(9052),u=r(7447),c=r(2674),l=r(5304),h=r(3455),f=i("Reflect","construct"),d=Object.prototype,v=[].push,p=h((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),y=!h((function(){f((function(){}))})),g=p||y;n({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(y&&!p)return f(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return a(v,n,e),new(a(o,t,n))}var i=r.prototype,h=l(c(i)?i:d),g=a(t,h,e);return c(g)?g:h}})},7288:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(2674),o=r(7447),s=r(3007),u=r(1139),c=r(2611);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,l,h=arguments.length<3?e:arguments[2];return o(e)===h?e[r]:(n=u.f(e,r))?s(n)?n.value:void 0===n.get?void 0:i(n.get,h):a(l=c(e))?t(l,r,h):void 0}})},176:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(6911);n({global:!0},{Reflect:{}}),a(i.Reflect,"Reflect",!0)},4592:(t,e,r)=>{var n=r(2444),i=r(4032),a=r(2608),o=r(5868),s=r(3951),u=r(139),c=r(5304),l=r(3408).f,h=r(6921),f=r(6484),d=r(687),v=r(4554),p=r(1837),y=r(2848),g=r(8552),m=r(3455),b=r(9649),w=r(8301).enforce,k=r(5409),x=r(5811),A=r(3651),_=r(9502),E=x("match"),S=i.RegExp,O=S.prototype,T=i.SyntaxError,P=a(O.exec),L=a("".charAt),M=a("".replace),C=a("".indexOf),j=a("".slice),I=/^\\?<[^\\s\\d!#%&*+<=>@^][^\\s!#%&*+<=>@^]*>/,R=/a/g,F=/a/g,D=new S(R)!==R,N=p.MISSED_STICKY,W=p.UNSUPPORTED_Y;if(o("RegExp",n&&(!D||N||A||_||m((function(){return F[E]=!1,S(R)!==R||S(F)===F||"/a/i"!==String(S(R,"i"))}))))){for(var B=function(t,e){var r,n,i,a,o,l,p=h(O,this),y=f(t),g=void 0===e,m=[],k=t;if(!p&&y&&g&&t.constructor===B)return t;if((y||h(O,t))&&(t=t.source,g&&(e=v(k))),t=void 0===t?"":d(t),e=void 0===e?"":d(e),k=t,A&&"dotAll"in R&&(n=!!e&&C(e,"s")>-1)&&(e=M(e,/s/g,"")),r=e,N&&"sticky"in R&&(i=!!e&&C(e,"y")>-1)&&W&&(e=M(e,/y/g,"")),_&&(a=function(t){for(var e,r=t.length,n=0,i="",a=[],o=c(null),s=!1,u=!1,l=0,h="";n<=r;n++){if("\\\\"===(e=L(t,n)))e+=L(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:if(i+=e,"?:"===j(t,n+1,n+3))continue;P(I,j(t,n+1))&&(n+=2,u=!0),l++;continue;case">"===e&&u:if(""===h||b(o,h))throw new T("Invalid capture group name");o[h]=!0,a[a.length]=[h,l],u=!1,h="";continue}u?h+=e:i+=e}return[i,a]}(t),t=a[0],m=a[1]),o=s(S(t,e),p?this:O,B),(n||i||m.length)&&(l=w(o),n&&(l.dotAll=!0,l.raw=B(function(t){for(var e,r=t.length,n=0,i="",a=!1;n<=r;n++)"\\\\"!==(e=L(t,n))?a||"."!==e?("["===e?a=!0:"]"===e&&(a=!1),i+=e):i+="[\\\\s\\\\S]":i+=e+L(t,++n);return i}(t),r)),i&&(l.sticky=!0),m.length&&(l.groups=m)),t!==k)try{u(o,"source",""===k?"(?:)":k)}catch(t){}return o},G=l(S),H=0;G.length>H;)y(B,S,G[H++]);O.constructor=B,B.prototype=O,g(i,"RegExp",B,{constructor:!0})}k("RegExp")},8345:(t,e,r)=>{var n=r(2444),i=r(3651),a=r(9872),o=r(8986),s=r(8301).get,u=RegExp.prototype,c=TypeError;n&&i&&o(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===a(this))return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},2823:(t,e,r)=>{var n=r(5366),i=r(9867);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},2865:(t,e,r)=>{var n=r(2444),i=r(1837).MISSED_STICKY,a=r(9872),o=r(8986),s=r(8301).get,u=RegExp.prototype,c=TypeError;n&&i&&o(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===a(this))return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},5594:(t,e,r)=>{r(2823);var n,i,a=r(5366),o=r(3453),s=r(3749),u=r(7447),c=r(687),l=(n=!1,(i=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===i.test("abc")&&n),h=/./.test;a({target:"RegExp",proto:!0,forced:!l},{test:function(t){var e=u(this),r=c(t),n=e.exec;if(!s(n))return o(h,e,r);var i=o(n,e,r);return null!==i&&(u(i),!0)}})},8397:(t,e,r)=>{var n=r(2542).PROPER,i=r(8552),a=r(7447),o=r(687),s=r(3455),u=r(4554),c="toString",l=RegExp.prototype,h=l[c],f=s((function(){return"/a/b"!==h.call({source:"a",flags:"b"})})),d=n&&h.name!==c;(f||d)&&i(l,c,(function(){var t=a(this);return"/"+o(t.source)+"/"+o(u(t))}),{unsafe:!0})},4645:(t,e,r)=>{r(9556)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(2042))},5130:(t,e,r)=>{var n=r(5366),i=r(4656);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("difference")},{difference:i})},5636:(t,e,r)=>{var n=r(5366),i=r(3455),a=r(2446);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("intersection")||i((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:a})},8509:(t,e,r)=>{var n=r(5366),i=r(4545);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("isDisjointFrom")},{isDisjointFrom:i})},7332:(t,e,r)=>{var n=r(5366),i=r(7918);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("isSubsetOf")},{isSubsetOf:i})},6555:(t,e,r)=>{var n=r(5366),i=r(6111);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("isSupersetOf")},{isSupersetOf:i})},9255:(t,e,r)=>{r(4645)},3296:(t,e,r)=>{var n=r(5366),i=r(4498);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("symmetricDifference")},{symmetricDifference:i})},4594:(t,e,r)=>{var n=r(5366),i=r(9500);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("union")},{union:i})},8653:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(7222),o=r(1211),s=r(687),u=r(3455),c=i("".charAt);n({target:"String",proto:!0,forced:u((function(){return"\\ud842"!=="𠮷".at(-2)}))},{at:function(t){var e=s(a(this)),r=e.length,n=o(t),i=n>=0?n:r+n;return i<0||i>=r?void 0:c(e,i)}})},9657:(t,e,r)=>{var n,i=r(5366),a=r(2116),o=r(1139).f,s=r(5806),u=r(687),c=r(3631),l=r(7222),h=r(860),f=r(8507),d=a("".slice),v=Math.min,p=h("endsWith");i({target:"String",proto:!0,forced:!(!f&&!p&&(n=o(String.prototype,"endsWith"),n&&!n.writable)||p)},{endsWith:function(t){var e=u(l(this));c(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,i=void 0===r?n:v(s(r),n),a=u(t);return d(e,i-a.length,i)===a}})},2217:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(9002),o=RangeError,s=String.fromCharCode,u=String.fromCodePoint,c=i([].join);n({target:"String",stat:!0,arity:1,forced:!!u&&1!==u.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,i=0;n>i;){if(e=+arguments[i++],a(e,1114111)!==e)throw new o(e+" is not a valid code point");r[i]=e<65536?s(e):s(55296+((e-=65536)>>10),e%1024+56320)}return c(r,"")}})},2467:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(3631),o=r(7222),s=r(687),u=r(860),c=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~c(s(o(this)),s(a(t)),arguments.length>1?arguments[1]:void 0)}})},7460:(t,e,r)=>{var n=r(6903).charAt,i=r(687),a=r(8301),o=r(656),s=r(9393),u="String Iterator",c=a.set,l=a.getterFor(u);o(String,"String",(function(t){c(this,{type:u,string:i(t),index:0})}),(function(){var t,e=l(this),r=e.string,i=e.index;return i>=r.length?s(void 0,!0):(t=n(r,i),e.index+=t.length,s(t,!1))}))},1281:(t,e,r)=>{var n=r(3453),i=r(4364),a=r(7447),o=r(6021),s=r(5806),u=r(687),c=r(7222),l=r(8622),h=r(8149),f=r(4410);i("match",(function(t,e,r){return[function(e){var r=c(this),i=o(e)?void 0:l(e,t);return i?n(i,e,r):new RegExp(e)[t](u(r))},function(t){var n=a(this),i=u(t),o=r(e,n,i);if(o.done)return o.value;if(!n.global)return f(n,i);var c=n.unicode;n.lastIndex=0;for(var l,d=[],v=0;null!==(l=f(n,i));){var p=u(l[0]);d[v]=p,""===p&&(n.lastIndex=h(i,s(n.lastIndex),c)),v++}return 0===v?null:d}]}))},4853:(t,e,r)=>{var n=r(5366),i=r(6437).end;n({target:"String",proto:!0,forced:r(4903)},{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},9484:(t,e,r)=>{var n=r(5366),i=r(6437).start;n({target:"String",proto:!0,forced:r(4903)},{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},6794:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(2608),o=r(7222),s=r(3749),u=r(6021),c=r(6484),l=r(687),h=r(8622),f=r(4554),d=r(3966),v=r(5811),p=r(8507),y=v("replace"),g=TypeError,m=a("".indexOf),b=a("".replace),w=a("".slice),k=Math.max;n({target:"String",proto:!0},{replaceAll:function(t,e){var r,n,a,v,x,A,_,E,S,O,T=o(this),P=0,L="";if(!u(t)){if((r=c(t))&&(n=l(o(f(t))),!~m(n,"g")))throw new g("\`.replaceAll\` does not allow non-global regexes");if(a=h(t,y))return i(a,t,T,e);if(p&&r)return b(l(T),t,e)}for(v=l(T),x=l(t),(A=s(e))||(e=l(e)),_=x.length,E=k(1,_),S=m(v,x);-1!==S;)O=A?l(e(x,S,v)):d(x,v,S,[],void 0,e),L+=w(v,P,S)+O,P=S+_,S=S+E>v.length?-1:m(v,x,S+E);return P<v.length&&(L+=w(v,P)),L}})},4672:(t,e,r)=>{var n=r(3881),i=r(3453),a=r(2608),o=r(4364),s=r(3455),u=r(7447),c=r(3749),l=r(6021),h=r(1211),f=r(5806),d=r(687),v=r(7222),p=r(8149),y=r(8622),g=r(3966),m=r(4410),b=r(5811)("replace"),w=Math.max,k=Math.min,x=a([].concat),A=a([].push),_=a("".indexOf),E=a("".slice),S="$0"==="a".replace(/./,"$0"),O=!!/./[b]&&""===/./[b]("a","$0");o("replace",(function(t,e,r){var a=O?"$":"$0";return[function(t,r){var n=v(this),a=l(t)?void 0:y(t,b);return a?i(a,t,n,r):i(e,d(n),t,r)},function(t,i){var o=u(this),s=d(t);if("string"==typeof i&&-1===_(i,a)&&-1===_(i,"$<")){var l=r(e,o,s,i);if(l.done)return l.value}var v=c(i);v||(i=d(i));var y,b=o.global;b&&(y=o.unicode,o.lastIndex=0);for(var S,O=[];null!==(S=m(o,s))&&(A(O,S),b);)""===d(S[0])&&(o.lastIndex=p(s,f(o.lastIndex),y));for(var T,P="",L=0,M=0;M<O.length;M++){for(var C,j=d((S=O[M])[0]),I=w(k(h(S.index),s.length),0),R=[],F=1;F<S.length;F++)A(R,void 0===(T=S[F])?T:String(T));var D=S.groups;if(v){var N=x([j],R,I,s);void 0!==D&&A(N,D),C=d(n(i,void 0,N))}else C=g(j,s,I,R,D,i);I>=L&&(P+=E(s,L,I)+C,L=I+j.length)}return P+E(s,L)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!S||O)},4072:(t,e,r)=>{var n=r(3453),i=r(2608),a=r(4364),o=r(7447),s=r(6021),u=r(7222),c=r(1365),l=r(8149),h=r(5806),f=r(687),d=r(8622),v=r(4410),p=r(1837),y=r(3455),g=p.UNSUPPORTED_Y,m=Math.min,b=i([].push),w=i("".slice),k=!y((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),x="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;a("split",(function(t,e,r){var i="0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:n(e,this,t,r)}:e;return[function(e,r){var a=u(this),o=s(e)?void 0:d(e,t);return o?n(o,e,a,r):n(i,f(a),e,r)},function(t,n){var a=o(this),s=f(t);if(!x){var u=r(i,a,s,n,i!==e);if(u.done)return u.value}var d=c(a,RegExp),p=a.unicode,y=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(g?"g":"y"),k=new d(g?"^(?:"+a.source+")":a,y),A=void 0===n?4294967295:n>>>0;if(0===A)return[];if(0===s.length)return null===v(k,s)?[s]:[];for(var _=0,E=0,S=[];E<s.length;){k.lastIndex=g?0:E;var O,T=v(k,g?w(s,E):s);if(null===T||(O=m(h(k.lastIndex+(g?E:0)),s.length))===_)E=l(s,E,p);else{if(b(S,w(s,_,E)),S.length===A)return S;for(var P=1;P<=T.length-1;P++)if(b(S,T[P]),S.length===A)return S;E=_=O}}return b(S,w(s,_)),S}]}),x||!k,g)},9264:(t,e,r)=>{var n,i=r(5366),a=r(2116),o=r(1139).f,s=r(5806),u=r(687),c=r(3631),l=r(7222),h=r(860),f=r(8507),d=a("".slice),v=Math.min,p=h("startsWith");i({target:"String",proto:!0,forced:!(!f&&!p&&(n=o(String.prototype,"startsWith"),n&&!n.writable)||p)},{startsWith:function(t){var e=u(l(this));c(t);var r=s(v(arguments.length>1?arguments[1]:void 0,e.length)),n=u(t);return d(e,r,r+n.length)===n}})},98:(t,e,r)=>{r(3185);var n=r(5366),i=r(2882);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},3185:(t,e,r)=>{var n=r(5366),i=r(2882);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},9210:(t,e,r)=>{var n=r(5366),i=r(9418).trim;n({target:"String",proto:!0,forced:r(3794)("trim")},{trim:function(){return i(this)}})},4172:(t,e,r)=>{r(5343)("asyncIterator")},2873:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(3453),o=r(2608),s=r(8507),u=r(2444),c=r(6943),l=r(3455),h=r(9649),f=r(6921),d=r(7447),v=r(3637),p=r(6201),y=r(687),g=r(4004),m=r(5304),b=r(496),w=r(3408),k=r(6442),x=r(6005),A=r(1139),_=r(1601),E=r(9217),S=r(9221),O=r(8552),T=r(8986),P=r(4593),L=r(2343),M=r(2645),C=r(5936),j=r(5811),I=r(4559),R=r(5343),F=r(3042),D=r(6911),N=r(8301),W=r(5645).forEach,B=L("hidden"),G="Symbol",H="prototype",U=N.set,z=N.getterFor(G),V=Object[H],q=i.Symbol,Y=q&&q[H],X=i.RangeError,K=i.TypeError,Q=i.QObject,J=A.f,$=_.f,Z=k.f,tt=S.f,et=o([].push),rt=P("symbols"),nt=P("op-symbols"),it=P("wks"),at=!Q||!Q[H]||!Q[H].findChild,ot=function(t,e,r){var n=J(V,e);n&&delete V[e],$(t,e,r),n&&t!==V&&$(V,e,n)},st=u&&l((function(){return 7!==m($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?ot:$,ut=function(t,e){var r=rt[t]=m(Y);return U(r,{type:G,tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===V&&ct(nt,e,r),d(t);var n=p(e);return d(r),h(rt,n)?(r.enumerable?(h(t,B)&&t[B][n]&&(t[B][n]=!1),r=m(r,{enumerable:g(0,!1)})):(h(t,B)||$(t,B,g(1,m(null))),t[B][n]=!0),st(t,n,r)):$(t,n,r)},lt=function(t,e){d(t);var r=v(e),n=b(r).concat(vt(r));return W(n,(function(e){u&&!a(ht,r,e)||ct(t,e,r[e])})),t},ht=function(t){var e=p(t),r=a(tt,this,e);return!(this===V&&h(rt,e)&&!h(nt,e))&&(!(r||!h(this,e)||!h(rt,e)||h(this,B)&&this[B][e])||r)},ft=function(t,e){var r=v(t),n=p(e);if(r!==V||!h(rt,n)||h(nt,n)){var i=J(r,n);return!i||!h(rt,n)||h(r,B)&&r[B][n]||(i.enumerable=!0),i}},dt=function(t){var e=Z(v(t)),r=[];return W(e,(function(t){h(rt,t)||h(M,t)||et(r,t)})),r},vt=function(t){var e=t===V,r=Z(e?nt:v(t)),n=[];return W(r,(function(t){!h(rt,t)||e&&!h(V,t)||et(n,rt[t])})),n};c||(O(Y=(q=function(){if(f(Y,this))throw new K("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=C(t),r=function(t){var n=void 0===this?i:this;n===V&&a(r,nt,t),h(n,B)&&h(n[B],e)&&(n[B][e]=!1);var o=g(1,t);try{st(n,e,o)}catch(t){if(!(t instanceof X))throw t;ot(n,e,o)}};return u&&at&&st(V,e,{configurable:!0,set:r}),ut(e,t)})[H],"toString",(function(){return z(this).tag})),O(q,"withoutSetter",(function(t){return ut(C(t),t)})),S.f=ht,_.f=ct,E.f=lt,A.f=ft,w.f=k.f=dt,x.f=vt,I.f=function(t){return ut(j(t),t)},u&&(T(Y,"description",{configurable:!0,get:function(){return z(this).description}}),s||O(V,"propertyIsEnumerable",ht,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),W(b(it),(function(t){R(t)})),n({target:G,stat:!0,forced:!c},{useSetter:function(){at=!0},useSimple:function(){at=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?m(t):lt(m(t),e)},defineProperty:ct,defineProperties:lt,getOwnPropertyDescriptor:ft}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:dt}),F(),D(q,G),M[B]=!0},4551:(t,e,r)=>{var n=r(5366),i=r(2444),a=r(4032),o=r(2608),s=r(9649),u=r(3749),c=r(6921),l=r(687),h=r(8986),f=r(2924),d=a.Symbol,v=d&&d.prototype;if(i&&u(d)&&(!("description"in v)||void 0!==d().description)){var p={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=c(v,this)?new d(t):void 0===t?d():d(t);return""===t&&(p[e]=!0),e};f(y,d),y.prototype=v,v.constructor=y;var g="Symbol(description detection)"===String(d("description detection")),m=o(v.valueOf),b=o(v.toString),w=/^Symbol\\((.*)\\)[^)]+$/,k=o("".replace),x=o("".slice);h(v,"description",{configurable:!0,get:function(){var t=m(this);if(s(p,t))return"";var e=b(t),r=g?x(e,7,-1):k(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},4182:(t,e,r)=>{var n=r(5366),i=r(8711),a=r(9649),o=r(687),s=r(4593),u=r(8592),c=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=o(t);if(a(c,e))return c[e];var r=i("Symbol")(e);return c[e]=r,l[r]=e,r}})},7651:(t,e,r)=>{r(2873),r(4182),r(7876),r(9750),r(1309)},7876:(t,e,r)=>{var n=r(5366),i=r(9649),a=r(2277),o=r(8055),s=r(4593),u=r(8592),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!a(t))throw new TypeError(o(t)+" is not a symbol");if(i(c,t))return c[t]}})},5268:(t,e,r)=>{var n=r(5343),i=r(3042);n("toPrimitive"),i()},5997:(t,e,r)=>{var n=r(8711),i=r(5343),a=r(6911);i("toStringTag"),a(n("Symbol"),"Symbol")},3740:(t,e,r)=>{var n=r(4356),i=r(7878),a=r(1211),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",(function(t){var e=o(this),r=i(e),n=a(t),s=n>=0?n:r+n;return s<0||s>=r?void 0:e[s]}))},6542:(t,e,r)=>{var n=r(2608),i=r(4356),a=n(r(6677)),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(t,e){return a(o(this),t,e,arguments.length>2?arguments[2]:void 0)}))},5738:(t,e,r)=>{var n=r(4356),i=r(5645).every,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},2900:(t,e,r)=>{var n=r(4356),i=r(9557),a=r(1198),o=r(1179),s=r(3453),u=r(2608),c=r(3455),l=n.aTypedArray,h=n.exportTypedArrayMethod,f=u("".slice);h("fill",(function(t){var e=arguments.length;l(this);var r="Big"===f(o(this),0,3)?a(t):+t;return s(i,this,r,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}),c((function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t})))},2051:(t,e,r)=>{var n=r(4356),i=r(5645).filter,a=r(85),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(t){var e=i(o(this),t,arguments.length>1?arguments[1]:void 0);return a(this,e)}))},4211:(t,e,r)=>{var n=r(4356),i=r(5645).findIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},5294:(t,e,r)=>{var n=r(4356),i=r(767).findLastIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},9791:(t,e,r)=>{var n=r(4356),i=r(767).findLast,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},3198:(t,e,r)=>{var n=r(4356),i=r(5645).find,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},4306:(t,e,r)=>{r(8975)("Float32",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},6473:(t,e,r)=>{r(8975)("Float64",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},1526:(t,e,r)=>{var n=r(4356),i=r(5645).forEach,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(t){i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},6032:(t,e,r)=>{var n=r(4356),i=r(7921).includes,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},3659:(t,e,r)=>{var n=r(4356),i=r(7921).indexOf,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},1237:(t,e,r)=>{r(8975)("Int32",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},932:(t,e,r)=>{var n=r(4032),i=r(3455),a=r(2608),o=r(4356),s=r(9024),u=r(5811)("iterator"),c=n.Uint8Array,l=a(s.values),h=a(s.keys),f=a(s.entries),d=o.aTypedArray,v=o.exportTypedArrayMethod,p=c&&c.prototype,y=!i((function(){p[u].call([1])})),g=!!p&&p.values&&p[u]===p.values&&"values"===p.values.name,m=function(){return l(d(this))};v("entries",(function(){return f(d(this))}),y),v("keys",(function(){return h(d(this))}),y),v("values",m,y||!g,{name:"values"}),v(u,m,y||!g,{name:"values"})},8553:(t,e,r)=>{var n=r(4356),i=r(2608),a=n.aTypedArray,o=n.exportTypedArrayMethod,s=i([].join);o("join",(function(t){return s(a(this),t)}))},7612:(t,e,r)=>{var n=r(4356),i=r(3881),a=r(3499),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(t){var e=arguments.length;return i(a,o(this),e>1?[t,arguments[1]]:[t])}))},8579:(t,e,r)=>{var n=r(4356),i=r(5645).map,a=r(580),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("map",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(a(t))(e)}))}))},7576:(t,e,r)=>{var n=r(4356),i=r(4734).right,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(t){var e=arguments.length;return i(a(this),t,e,e>1?arguments[1]:void 0)}))},7719:(t,e,r)=>{var n=r(4356),i=r(4734).left,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(t){var e=arguments.length;return i(a(this),t,e,e>1?arguments[1]:void 0)}))},2891:(t,e,r)=>{var n=r(4356),i=n.aTypedArray,a=n.exportTypedArrayMethod,o=Math.floor;a("reverse",(function(){for(var t,e=this,r=i(e).length,n=o(r/2),a=0;a<n;)t=e[a],e[a++]=e[--r],e[r]=t;return e}))},2605:(t,e,r)=>{var n=r(4032),i=r(3453),a=r(4356),o=r(7878),s=r(8402),u=r(4165),c=r(3455),l=n.RangeError,h=n.Int8Array,f=h&&h.prototype,d=f&&f.set,v=a.aTypedArray,p=a.exportTypedArrayMethod,y=!c((function(){var t=new Uint8ClampedArray(2);return i(d,t,{length:1,0:3},1),3!==t[1]})),g=y&&a.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var t=new h(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));p("set",(function(t){v(this);var e=s(arguments.length>1?arguments[1]:void 0,1),r=u(t);if(y)return i(d,this,r,e);var n=this.length,a=o(r),c=0;if(a+e>n)throw new l("Wrong length");for(;c<a;)this[e+c]=r[c++]}),!y||g)},4863:(t,e,r)=>{var n=r(4356),i=r(580),a=r(3455),o=r(4224),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("slice",(function(t,e){for(var r=o(s(this),t,e),n=i(this),a=0,u=r.length,c=new n(u);u>a;)c[a]=r[a++];return c}),a((function(){new Int8Array(1).slice()})))},9637:(t,e,r)=>{var n=r(4356),i=r(5645).some,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},2709:(t,e,r)=>{var n=r(4032),i=r(2116),a=r(3455),o=r(4186),s=r(5272),u=r(4356),c=r(7085),l=r(5123),h=r(6415),f=r(1911),d=u.aTypedArray,v=u.exportTypedArrayMethod,p=n.Uint16Array,y=p&&i(p.prototype.sort),g=!(!y||a((function(){y(new p(2),null)}))&&a((function(){y(new p(2),{})}))),m=!!y&&!a((function(){if(h)return h<74;if(c)return c<67;if(l)return!0;if(f)return f<602;var t,e,r=new p(516),n=Array(516);for(t=0;t<516;t++)e=t%4,r[t]=515-t,n[t]=t-2*e+3;for(y(r,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(r[t]!==n[t])return!0}));v("sort",(function(t){return void 0!==t&&o(t),m?y(this,t):s(d(this),function(t){return function(e,r){return void 0!==t?+t(e,r)||0:r!=r?-1:e!=e?1:0===e&&0===r?1/e>0&&1/r<0?1:-1:e>r}}(t))}),!m||g)},8941:(t,e,r)=>{var n=r(4032),i=r(3881),a=r(4356),o=r(3455),s=r(4224),u=n.Int8Array,c=a.aTypedArray,l=a.exportTypedArrayMethod,h=[].toLocaleString,f=!!u&&o((function(){h.call(new u(1))}));l("toLocaleString",(function(){return i(h,f?s(c(this)):c(this),s(arguments))}),o((function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()}))||!o((function(){u.prototype.toLocaleString.call([1,2])})))},1579:(t,e,r)=>{var n=r(6444),i=r(4356),a=i.aTypedArray,o=i.exportTypedArrayMethod,s=i.getTypedArrayConstructor;o("toReversed",(function(){return n(a(this),s(this))}))},6236:(t,e,r)=>{var n=r(4356),i=r(2608),a=r(4186),o=r(7434),s=n.aTypedArray,u=n.getTypedArrayConstructor,c=n.exportTypedArrayMethod,l=i(n.TypedArrayPrototype.sort);c("toSorted",(function(t){void 0!==t&&a(t);var e=s(this),r=o(u(e),e);return l(r,t)}))},7716:(t,e,r)=>{var n=r(4356).exportTypedArrayMethod,i=r(3455),a=r(4032),o=r(2608),s=a.Uint8Array,u=s&&s.prototype||{},c=[].toString,l=o([].join);i((function(){c.call({})}))&&(c=function(){return l(this)});var h=u.toString!==c;n("toString",c,h)},2044:(t,e,r)=>{r(8975)("Uint32",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},7329:(t,e,r)=>{r(8975)("Uint8",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},1913:(t,e,r)=>{var n=r(920),i=r(4356),a=r(5415),o=r(1211),s=r(1198),u=i.aTypedArray,c=i.getTypedArrayConstructor,l=i.exportTypedArrayMethod,h=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}();l("with",{with:function(t,e){var r=u(this),i=o(t),l=a(r)?s(e):+e;return n(r,c(r),i,l)}}.with,!h)},6722:(t,e,r)=>{var n,i=r(568),a=r(4032),o=r(2608),s=r(4183),u=r(5227),c=r(9556),l=r(8153),h=r(2674),f=r(8301).enforce,d=r(3455),v=r(6206),p=Object,y=Array.isArray,g=p.isExtensible,m=p.isFrozen,b=p.isSealed,w=p.freeze,k=p.seal,x=!a.ActiveXObject&&"ActiveXObject"in a,A=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},_=c("WeakMap",A,l),E=_.prototype,S=o(E.set);if(v)if(x){n=l.getConstructor(A,"WeakMap",!0),u.enable();var O=o(E.delete),T=o(E.has),P=o(E.get);s(E,{delete:function(t){if(h(t)&&!g(t)){var e=f(this);return e.frozen||(e.frozen=new n),O(this,t)||e.frozen.delete(t)}return O(this,t)},has:function(t){if(h(t)&&!g(t)){var e=f(this);return e.frozen||(e.frozen=new n),T(this,t)||e.frozen.has(t)}return T(this,t)},get:function(t){if(h(t)&&!g(t)){var e=f(this);return e.frozen||(e.frozen=new n),T(this,t)?P(this,t):e.frozen.get(t)}return P(this,t)},set:function(t,e){if(h(t)&&!g(t)){var r=f(this);r.frozen||(r.frozen=new n),T(this,t)?S(this,t,e):r.frozen.set(t,e)}else S(this,t,e);return this}})}else i&&d((function(){var t=w([]);return S(new _,t,1),!m(t)}))&&s(E,{set:function(t,e){var r;return y(t)&&(m(t)?r=w:b(t)&&(r=k)),S(this,t,e),r&&r(t),this}})},8492:(t,e,r)=>{r(6722)},1176:(t,e,r)=>{r(9556)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(8153))},7121:(t,e,r)=>{r(1176)},4192:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(3399),o=r(7447),s=r(3749),u=r(2611),c=r(8986),l=r(3552),h=r(3455),f=r(9649),d=r(5811),v=r(2857).IteratorPrototype,p=r(2444),y=r(8507),g="constructor",m="Iterator",b=d("toStringTag"),w=TypeError,k=i[m],x=y||!s(k)||k.prototype!==v||!h((function(){k({})})),A=function(){if(a(this,v),u(this)===v)throw new w("Abstract class Iterator not directly constructable")},_=function(t,e){p?c(v,t,{configurable:!0,get:function(){return e},set:function(e){if(o(this),this===v)throw new w("You can't redefine this property");f(this,t)?this[t]=e:l(this,t,e)}}):v[t]=e};f(v,b)||_(b,m),!x&&f(v,g)&&v[g]!==Object||_(g,A),A.prototype=v,n({global:!0,constructor:!0,forced:x},{Iterator:A})},7895:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(7447),o=r(3447),s=r(821),u=r(5590),c=r(2342),l=r(8507),h=c((function(){for(var t,e=this.iterator,r=this.next;this.remaining;)if(this.remaining--,t=a(i(r,e)),this.done=!!t.done)return;if(t=a(i(r,e)),!(this.done=!!t.done))return t.value}));n({target:"Iterator",proto:!0,real:!0,forced:l},{drop:function(t){a(this);var e=u(s(+t));return new h(o(this),{remaining:e})}})},463:(t,e,r)=>{var n=r(5366),i=r(1804),a=r(4186),o=r(7447),s=r(3447);n({target:"Iterator",proto:!0,real:!0},{every:function(t){o(this),a(t);var e=s(this),r=0;return!i(e,(function(e,n){if(!t(e,r++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},8856:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(4186),o=r(7447),s=r(3447),u=r(2342),c=r(3535),l=r(8507),h=u((function(){for(var t,e,r=this.iterator,n=this.predicate,a=this.next;;){if(t=o(i(a,r)),this.done=!!t.done)return;if(e=t.value,c(r,n,[e,this.counter++],!0))return e}}));n({target:"Iterator",proto:!0,real:!0,forced:l},{filter:function(t){return o(this),a(t),new h(s(this),{predicate:t})}})},9166:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(4186),o=r(7447),s=r(3447),u=r(1750),c=r(2342),l=r(5235),h=r(8507),f=c((function(){for(var t,e,r=this.iterator,n=this.mapper;;){if(e=this.inner)try{if(!(t=o(i(e.next,e.iterator))).done)return t.value;this.inner=null}catch(t){l(r,"throw",t)}if(t=o(i(this.next,r)),this.done=!!t.done)return;try{this.inner=u(n(t.value,this.counter++),!1)}catch(t){l(r,"throw",t)}}}));n({target:"Iterator",proto:!0,real:!0,forced:h},{flatMap:function(t){return o(this),a(t),new f(s(this),{mapper:t,inner:null})}})},1565:(t,e,r)=>{var n=r(5366),i=r(1804),a=r(4186),o=r(7447),s=r(3447);n({target:"Iterator",proto:!0,real:!0},{forEach:function(t){o(this),a(t);var e=s(this),r=0;i(e,(function(e){t(e,r++)}),{IS_RECORD:!0})}})},5342:(t,e,r)=>{var n=r(5366),i=r(4009);n({target:"Iterator",proto:!0,real:!0,forced:r(8507)},{map:i})},9582:(t,e,r)=>{var n=r(5366),i=r(1804),a=r(4186),o=r(7447),s=r(3447);n({target:"Iterator",proto:!0,real:!0},{some:function(t){o(this),a(t);var e=s(this),r=0;return i(e,(function(e,n){if(t(e,r++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},31:(t,e,r)=>{var n=r(5366),i=r(2444),a=r(4032),o=r(8711),s=r(2608),u=r(3453),c=r(3749),l=r(2674),h=r(5448),f=r(9649),d=r(687),v=r(7878),p=r(3552),y=r(3455),g=r(1448),m=r(6943),b=a.JSON,w=a.Number,k=a.SyntaxError,x=b&&b.parse,A=o("Object","keys"),_=Object.getOwnPropertyDescriptor,E=s("".charAt),S=s("".slice),O=s(/./.exec),T=s([].push),P=/^\\d$/,L=/^[1-9]$/,M=/^[\\d-]$/,C=/^[\\t\\n\\r ]$/,j=function(t,e,r,n){var i,a,o,s,c,d=t[e],p=n&&d===n.value,y=p&&"string"==typeof n.source?{source:n.source}:{};if(l(d)){var g=h(d),m=p?n.nodes:g?[]:{};if(g)for(i=m.length,o=v(d),s=0;s<o;s++)I(d,s,j(d,""+s,r,s<i?m[s]:void 0));else for(a=A(d),o=v(a),s=0;s<o;s++)c=a[s],I(d,c,j(d,c,r,f(m,c)?m[c]:void 0))}return u(r,t,e,d,y)},I=function(t,e,r){if(i){var n=_(t,e);if(n&&!n.configurable)return}void 0===r?delete t[e]:p(t,e,r)},R=function(t,e,r,n){this.value=t,this.end=e,this.source=r,this.nodes=n},F=function(t,e){this.source=t,this.index=e};F.prototype={fork:function(t){return new F(this.source,t)},parse:function(){var t=this.source,e=this.skip(C,this.index),r=this.fork(e),n=E(t,e);if(O(M,n))return r.number();switch(n){case"{":return r.object();case"[":return r.array();case'"':return r.string();case"t":return r.keyword(!0);case"f":return r.keyword(!1);case"n":return r.keyword(null)}throw new k('Unexpected character: "'+n+'" at: '+e)},node:function(t,e,r,n,i){return new R(e,n,t?null:S(this.source,r,n),i)},object:function(){for(var t=this.source,e=this.index+1,r=!1,n={},i={};e<t.length;){if(e=this.until(['"',"}"],e),"}"===E(t,e)&&!r){e++;break}var a=this.fork(e).string(),o=a.value;e=a.end,e=this.until([":"],e)+1,e=this.skip(C,e),a=this.fork(e).parse(),p(i,o,a),p(n,o,a.value),e=this.until([",","}"],a.end);var s=E(t,e);if(","===s)r=!0,e++;else if("}"===s){e++;break}}return this.node(1,n,this.index,e,i)},array:function(){for(var t=this.source,e=this.index+1,r=!1,n=[],i=[];e<t.length;){if(e=this.skip(C,e),"]"===E(t,e)&&!r){e++;break}var a=this.fork(e).parse();if(T(i,a),T(n,a.value),e=this.until([",","]"],a.end),","===E(t,e))r=!0,e++;else if("]"===E(t,e)){e++;break}}return this.node(1,n,this.index,e,i)},string:function(){var t=this.index,e=g(this.source,this.index+1);return this.node(0,e.value,t,e.end)},number:function(){var t=this.source,e=this.index,r=e;if("-"===E(t,r)&&r++,"0"===E(t,r))r++;else{if(!O(L,E(t,r)))throw new k("Failed to parse number at: "+r);r=this.skip(P,r+1)}if(!("."===E(t,r)&&(r=this.skip(P,r+1)),"e"!==E(t,r)&&"E"!==E(t,r)||(r++,"+"!==E(t,r)&&"-"!==E(t,r)||r++,r!==(r=this.skip(P,r)))))throw new k("Failed to parse number's exponent value at: "+r);return this.node(0,w(S(t,e,r)),e,r)},keyword:function(t){var e=""+t,r=this.index,n=r+e.length;if(S(this.source,r,n)!==e)throw new k("Failed to parse value at: "+r);return this.node(0,t,r,n)},skip:function(t,e){for(var r=this.source;e<r.length&&O(t,E(r,e));e++);return e},until:function(t,e){e=this.skip(C,e);for(var r=E(this.source,e),n=0;n<t.length;n++)if(t[n]===r)return e;throw new k('Unexpected character: "'+r+'" at: '+e)}};var D=y((function(){var t,e="9007199254740993";return x(e,(function(e,r,n){t=n.source})),t!==e})),N=m&&!y((function(){return 1/x("-0 \\t")!=-1/0}));n({target:"JSON",stat:!0,forced:D},{parse:function(t,e){return N&&!c(e)?x(t):function(t,e){t=d(t);var r=new F(t,0,""),n=r.parse(),i=n.value,a=r.skip(C,n.end);if(a<t.length)throw new k('Unexpected extra character: "'+E(t,a)+'" after the parsed data at: '+a);return c(e)?j({"":i},"",e,n):i}(t,e)}})},6625:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(8711),o=r(2608),s=r(3453),u=r(3455),c=r(687),l=r(7900),h=r(2996).c2i,f=/[^\\d+/a-z]/i,d=/[\\t\\n\\f\\r ]+/g,v=/[=]{1,2}$/,p=a("atob"),y=String.fromCharCode,g=o("".charAt),m=o("".replace),b=o(f.exec),w=!!p&&!u((function(){return"hi"!==p("aGk=")})),k=w&&u((function(){return""!==p(" ")})),x=w&&!u((function(){p("a")})),A=w&&!u((function(){p()})),_=w&&1!==p.length;n({global:!0,bind:!0,enumerable:!0,forced:!w||k||x||A||_},{atob:function(t){if(l(arguments.length,1),w&&!k&&!x)return s(p,i,t);var e,r,n,o=m(c(t),d,""),u="",A=0,_=0;if(o.length%4==0&&(o=m(o,v,"")),(e=o.length)%4==1||b(f,o))throw new(a("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;A<e;)r=g(o,A++),n=_%4?64*n+h[r]:h[r],_++%4&&(u+=y(255&n>>(-2*_&6)));return u}})},8316:(t,e,r)=>{var n=r(4032),i=r(2760),a=r(4784),o=r(3147),s=r(139),u=function(t){if(t&&t.forEach!==o)try{s(t,"forEach",o)}catch(e){t.forEach=o}};for(var c in i)i[c]&&u(n[c]&&n[c].prototype);u(a)},3577:(t,e,r)=>{var n=r(4032),i=r(2760),a=r(4784),o=r(9024),s=r(139),u=r(6911),c=r(5811)("iterator"),l=o.values,h=function(t,e){if(t){if(t[c]!==l)try{s(t,c,l)}catch(e){t[c]=l}if(u(t,e,!0),i[e])for(var r in o)if(t[r]!==o[r])try{s(t,r,o[r])}catch(e){t[r]=o[r]}}};for(var f in i)h(n[f]&&n[f].prototype,f);h(a,"DOMTokenList")},4967:(t,e,r)=>{var n=r(5366),i=r(8711),a=r(9685),o=r(3455),s=r(5304),u=r(4004),c=r(1601).f,l=r(8552),h=r(8986),f=r(9649),d=r(3399),v=r(7447),p=r(2912),y=r(8363),g=r(4090),m=r(3633),b=r(8301),w=r(2444),k=r(8507),x="DOMException",A="DATA_CLONE_ERR",_=i("Error"),E=i(x)||function(){try{(new(i("MessageChannel")||a("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(t){if(t.name===A&&25===t.code)return t.constructor}}(),S=E&&E.prototype,O=_.prototype,T=b.set,P=b.getterFor(x),L="stack"in new _(x),M=function(t){return f(g,t)&&g[t].m?g[t].c:0},C=function(){d(this,j);var t=arguments.length,e=y(t<1?void 0:arguments[0]),r=y(t<2?void 0:arguments[1],"Error"),n=M(r);if(T(this,{type:x,name:r,message:e,code:n}),w||(this.name=r,this.message=e,this.code=n),L){var i=new _(e);i.name=x,c(this,"stack",u(1,m(i.stack,1)))}},j=C.prototype=s(O),I=function(t){return{enumerable:!0,configurable:!0,get:t}},R=function(t){return I((function(){return P(this)[t]}))};w&&(h(j,"code",R("code")),h(j,"message",R("message")),h(j,"name",R("name"))),c(j,"constructor",u(1,C));var F=o((function(){return!(new E instanceof _)})),D=F||o((function(){return O.toString!==p||"2: 1"!==String(new E(1,2))})),N=F||o((function(){return 25!==new E(1,"DataCloneError").code})),W=F||25!==E[A]||25!==S[A],B=k?D||N||W:F;n({global:!0,constructor:!0,forced:B},{DOMException:B?C:E});var G=i(x),H=G.prototype;for(var U in D&&(k||E===G)&&l(H,"toString",p),N&&w&&E===G&&h(H,"code",I((function(){return M(v(this).name)}))),g)if(f(g,U)){var z=g[U],V=z.s,q=u(6,z.c);f(G,V)||c(G,V,q),f(H,V)||c(H,V,q)}},6403:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(8711),o=r(4004),s=r(1601).f,u=r(9649),c=r(3399),l=r(3951),h=r(8363),f=r(4090),d=r(3633),v=r(2444),p=r(8507),y="DOMException",g=a("Error"),m=a(y),b=function(){c(this,w);var t=arguments.length,e=h(t<1?void 0:arguments[0]),r=h(t<2?void 0:arguments[1],"Error"),n=new m(e,r),i=new g(e);return i.name=y,s(n,"stack",o(1,d(i.stack,1))),l(n,this,b),n},w=b.prototype=m.prototype,k="stack"in new g(y),x="stack"in new m(1,2),A=m&&v&&Object.getOwnPropertyDescriptor(i,y),_=!(!A||A.writable&&A.configurable),E=k&&!_&&!x;n({global:!0,constructor:!0,forced:p||E},{DOMException:E?b:m});var S=a(y),O=S.prototype;if(O.constructor!==S)for(var T in p||s(O,"constructor",o(1,S)),f)if(u(f,T)){var P=f[T],L=P.s;u(S,L)||s(S,L,o(6,P.c))}},3355:(t,e,r)=>{var n=r(8711),i="DOMException";r(6911)(n(i),i)},9734:(t,e,r)=>{r(9024),r(2217);var n=r(5366),i=r(4032),a=r(5725),o=r(8711),s=r(3453),u=r(2608),c=r(2444),l=r(8200),h=r(8552),f=r(8986),d=r(4183),v=r(6911),p=r(282),y=r(8301),g=r(3399),m=r(3749),b=r(9649),w=r(4864),k=r(1179),x=r(7447),A=r(2674),_=r(687),E=r(5304),S=r(4004),O=r(6961),T=r(7507),P=r(9393),L=r(7900),M=r(5811),C=r(5272),j=M("iterator"),I="URLSearchParams",R=I+"Iterator",F=y.set,D=y.getterFor(I),N=y.getterFor(R),W=a("fetch"),B=a("Request"),G=a("Headers"),H=B&&B.prototype,U=G&&G.prototype,z=i.TypeError,V=i.encodeURIComponent,q=String.fromCharCode,Y=o("String","fromCodePoint"),X=parseInt,K=u("".charAt),Q=u([].join),J=u([].push),$=u("".replace),Z=u([].shift),tt=u([].splice),et=u("".split),rt=u("".slice),nt=u(/./.exec),it=/\\+/g,at=/^[0-9a-f]+$/i,ot=function(t,e){var r=rt(t,e,e+2);return nt(at,r)?X(r,16):NaN},st=function(t){for(var e=0,r=128;r>0&&0!=(t&r);r>>=1)e++;return e},ut=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},ct=function(t){for(var e=(t=$(t,it," ")).length,r="",n=0;n<e;){var i=K(t,n);if("%"===i){if("%"===K(t,n+1)||n+3>e){r+="%",n++;continue}var a=ot(t,n+1);if(a!=a){r+=i,n++;continue}n+=2;var o=st(a);if(0===o)i=q(a);else{if(1===o||o>4){r+="�",n++;continue}for(var s=[a],u=1;u<o&&!(3+ ++n>e||"%"!==K(t,n));){var c=ot(t,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;J(s,c),n+=2,u++}if(s.length!==o){r+="�";continue}var l=ut(s);null===l?r+="�":i=Y(l)}}r+=i,n++}return r},lt=/[!'()~]|%20/g,ht={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ft=function(t){return ht[t]},dt=function(t){return $(V(t),lt,ft)},vt=p((function(t,e){F(this,{type:R,target:D(t).entries,index:0,kind:e})}),I,(function(){var t=N(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,P(void 0,!0);var n=e[r];switch(t.kind){case"keys":return P(n.key,!1);case"values":return P(n.value,!1)}return P([n.key,n.value],!1)}),!0),pt=function(t){this.entries=[],this.url=null,void 0!==t&&(A(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===K(t,0)?rt(t,1):t:_(t)))};pt.prototype={type:I,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,i,a,o,u,c=this.entries,l=T(t);if(l)for(r=(e=O(t,l)).next;!(n=s(r,e)).done;){if(a=(i=O(x(n.value))).next,(o=s(a,i)).done||(u=s(a,i)).done||!s(a,i).done)throw new z("Expected sequence with length 2");J(c,{key:_(o.value),value:_(u.value)})}else for(var h in t)b(t,h)&&J(c,{key:h,value:_(t[h])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,i=et(t,"&"),a=0;a<i.length;)(e=i[a++]).length&&(r=et(e,"="),J(n,{key:ct(Z(r)),value:ct(Q(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],J(r,dt(t.key)+"="+dt(t.value));return Q(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var yt=function(){g(this,gt);var t=F(this,new pt(arguments.length>0?arguments[0]:void 0));c||(this.size=t.entries.length)},gt=yt.prototype;if(d(gt,{append:function(t,e){var r=D(this);L(arguments.length,2),J(r.entries,{key:_(t),value:_(e)}),c||this.length++,r.updateURL()},delete:function(t){for(var e=D(this),r=L(arguments.length,1),n=e.entries,i=_(t),a=r<2?void 0:arguments[1],o=void 0===a?a:_(a),s=0;s<n.length;){var u=n[s];if(u.key!==i||void 0!==o&&u.value!==o)s++;else if(tt(n,s,1),void 0!==o)break}c||(this.size=n.length),e.updateURL()},get:function(t){var e=D(this).entries;L(arguments.length,1);for(var r=_(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=D(this).entries;L(arguments.length,1);for(var r=_(t),n=[],i=0;i<e.length;i++)e[i].key===r&&J(n,e[i].value);return n},has:function(t){for(var e=D(this).entries,r=L(arguments.length,1),n=_(t),i=r<2?void 0:arguments[1],a=void 0===i?i:_(i),o=0;o<e.length;){var s=e[o++];if(s.key===n&&(void 0===a||s.value===a))return!0}return!1},set:function(t,e){var r=D(this);L(arguments.length,1);for(var n,i=r.entries,a=!1,o=_(t),s=_(e),u=0;u<i.length;u++)(n=i[u]).key===o&&(a?tt(i,u--,1):(a=!0,n.value=s));a||J(i,{key:o,value:s}),c||(this.size=i.length),r.updateURL()},sort:function(){var t=D(this);C(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=D(this).entries,n=w(t,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((e=r[i++]).value,e.key,this)},keys:function(){return new vt(this,"keys")},values:function(){return new vt(this,"values")},entries:function(){return new vt(this,"entries")}},{enumerable:!0}),h(gt,j,gt.entries,{name:"entries"}),h(gt,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),c&&f(gt,"size",{get:function(){return D(this).entries.length},configurable:!0,enumerable:!0}),v(yt,I),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:yt}),!l&&m(G)){var mt=u(U.has),bt=u(U.set),wt=function(t){if(A(t)){var e,r=t.body;if(k(r)===I)return e=t.headers?new G(t.headers):new G,mt(e,"content-type")||bt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),E(t,{body:S(0,_(r)),headers:S(0,e)})}return t};if(m(W)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return W(t,arguments.length>1?wt(arguments[1]):{})}}),m(B)){var kt=function(t){return g(this,H),new B(t,arguments.length>1?wt(arguments[1]):{})};H.constructor=kt,kt.prototype=H,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}t.exports={URLSearchParams:yt,getState:D}},1531:(t,e,r)=>{var n=r(8552),i=r(2608),a=r(687),o=r(7900),s=URLSearchParams,u=s.prototype,c=i(u.append),l=i(u.delete),h=i(u.forEach),f=i([].push),d=new s("a=1&a=2&b=3");d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&n(u,"delete",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return l(this,t);var n=[];h(this,(function(t,e){f(n,{key:e,value:t})})),o(e,1);for(var i,s=a(t),u=a(r),d=0,v=0,p=!1,y=n.length;d<y;)i=n[d++],p||i.key===s?(p=!0,l(this,i.key)):v++;for(;v<y;)(i=n[v++]).key===s&&i.value===u||c(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},3678:(t,e,r)=>{var n=r(8552),i=r(2608),a=r(687),o=r(7900),s=URLSearchParams,u=s.prototype,c=i(u.getAll),l=i(u.has),h=new s("a=1");!h.has("a",2)&&h.has("a",void 0)||n(u,"has",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return l(this,t);var n=c(this,t);o(e,1);for(var i=a(r),s=0;s<n.length;)if(n[s++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0})},4520:(t,e,r)=>{r(9734)},4145:(t,e,r)=>{var n=r(2444),i=r(2608),a=r(8986),o=URLSearchParams.prototype,s=i(o.forEach);n&&!("size"in o)&&a(o,"size",{get:function(){var t=0;return s(this,(function(){t++})),t},configurable:!0,enumerable:!0})},161:(t,e,r)=>{r(7460);var n,i=r(5366),a=r(2444),o=r(8200),s=r(4032),u=r(4864),c=r(2608),l=r(8552),h=r(8986),f=r(3399),d=r(9649),v=r(8069),p=r(3948),y=r(4224),g=r(6903).codeAt,m=r(5141),b=r(687),w=r(6911),k=r(7900),x=r(9734),A=r(8301),_=A.set,E=A.getterFor("URL"),S=x.URLSearchParams,O=x.getState,T=s.URL,P=s.TypeError,L=s.parseInt,M=Math.floor,C=Math.pow,j=c("".charAt),I=c(/./.exec),R=c([].join),F=c(1..toString),D=c([].pop),N=c([].push),W=c("".replace),B=c([].shift),G=c("".split),H=c("".slice),U=c("".toLowerCase),z=c([].unshift),V="Invalid scheme",q="Invalid host",Y="Invalid port",X=/[a-z]/i,K=/[\\d+-.a-z]/i,Q=/\\d/,J=/^0x/i,$=/^[0-7]+$/,Z=/^\\d+$/,tt=/^[\\da-f]+$/i,et=/[\\0\\t\\n\\r #%/:<>?@[\\\\\\]^|]/,rt=/[\\0\\t\\n\\r #/:<>?@[\\\\\\]^|]/,nt=/^[\\u0000-\\u0020]+/,it=/(^|[^\\u0000-\\u0020])[\\u0000-\\u0020]+$/,at=/[\\t\\n\\r]/g,ot=function(t){var e,r,n,i;if("number"==typeof t){for(e=[],r=0;r<4;r++)z(e,t%256),t=M(t/256);return R(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,i=0,a=0;a<8;a++)0!==t[a]?(i>r&&(e=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r?n:e}(t),r=0;r<8;r++)i&&0===t[r]||(i&&(i=!1),n===r?(e+=r?":":"::",i=!0):(e+=F(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},st={},ut=v({},st,{" ":1,'"':1,"<":1,">":1,"\`":1}),ct=v({},ut,{"#":1,"?":1,"{":1,"}":1}),lt=v({},ct,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\\\":1,"]":1,"^":1,"|":1}),ht=function(t,e){var r=g(t,0);return r>32&&r<127&&!d(e,t)?t:encodeURIComponent(t)},ft={ftp:21,file:null,http:80,https:443,ws:80,wss:443},dt=function(t,e){var r;return 2===t.length&&I(X,j(t,0))&&(":"===(r=j(t,1))||!e&&"|"===r)},vt=function(t){var e;return t.length>1&&dt(H(t,0,2))&&(2===t.length||"/"===(e=j(t,2))||"\\\\"===e||"?"===e||"#"===e)},pt=function(t){return"."===t||"%2e"===U(t)},yt={},gt={},mt={},bt={},wt={},kt={},xt={},At={},_t={},Et={},St={},Ot={},Tt={},Pt={},Lt={},Mt={},Ct={},jt={},It={},Rt={},Ft={},Dt=function(t,e,r){var n,i,a,o=b(t);if(e){if(i=this.parse(o))throw new P(i);this.searchParams=null}else{if(void 0!==r&&(n=new Dt(r,!0)),i=this.parse(o,null,n))throw new P(i);(a=O(new S)).bindURL(this),this.searchParams=a}};Dt.prototype={type:"URL",parse:function(t,e,r){var i,a,o,s,u,c=this,l=e||yt,h=0,f="",v=!1,g=!1,m=!1;for(t=b(t),e||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,t=W(t,nt,""),t=W(t,it,"$1")),t=W(t,at,""),i=p(t);h<=i.length;){switch(a=i[h],l){case yt:if(!a||!I(X,a)){if(e)return V;l=mt;continue}f+=U(a),l=gt;break;case gt:if(a&&(I(K,a)||"+"===a||"-"===a||"."===a))f+=U(a);else{if(":"!==a){if(e)return V;f="",l=mt,h=0;continue}if(e&&(c.isSpecial()!==d(ft,f)||"file"===f&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=f,e)return void(c.isSpecial()&&ft[c.scheme]===c.port&&(c.port=null));f="","file"===c.scheme?l=Pt:c.isSpecial()&&r&&r.scheme===c.scheme?l=bt:c.isSpecial()?l=At:"/"===i[h+1]?(l=wt,h++):(c.cannotBeABaseURL=!0,N(c.path,""),l=It)}break;case mt:if(!r||r.cannotBeABaseURL&&"#"!==a)return V;if(r.cannotBeABaseURL&&"#"===a){c.scheme=r.scheme,c.path=y(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,l=Ft;break}l="file"===r.scheme?Pt:kt;continue;case bt:if("/"!==a||"/"!==i[h+1]){l=kt;continue}l=_t,h++;break;case wt:if("/"===a){l=Et;break}l=jt;continue;case kt:if(c.scheme=r.scheme,a===n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.query=r.query;else if("/"===a||"\\\\"===a&&c.isSpecial())l=xt;else if("?"===a)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.query="",l=Rt;else{if("#"!==a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.path.length--,l=jt;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.query=r.query,c.fragment="",l=Ft}break;case xt:if(!c.isSpecial()||"/"!==a&&"\\\\"!==a){if("/"!==a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,l=jt;continue}l=Et}else l=_t;break;case At:if(l=_t,"/"!==a||"/"!==j(f,h+1))continue;h++;break;case _t:if("/"!==a&&"\\\\"!==a){l=Et;continue}break;case Et:if("@"===a){v&&(f="%40"+f),v=!0,o=p(f);for(var w=0;w<o.length;w++){var k=o[w];if(":"!==k||m){var x=ht(k,lt);m?c.password+=x:c.username+=x}else m=!0}f=""}else if(a===n||"/"===a||"?"===a||"#"===a||"\\\\"===a&&c.isSpecial()){if(v&&""===f)return"Invalid authority";h-=p(f).length+1,f="",l=St}else f+=a;break;case St:case Ot:if(e&&"file"===c.scheme){l=Mt;continue}if(":"!==a||g){if(a===n||"/"===a||"?"===a||"#"===a||"\\\\"===a&&c.isSpecial()){if(c.isSpecial()&&""===f)return q;if(e&&""===f&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(f))return s;if(f="",l=Ct,e)return;continue}"["===a?g=!0:"]"===a&&(g=!1),f+=a}else{if(""===f)return q;if(s=c.parseHost(f))return s;if(f="",l=Tt,e===Ot)return}break;case Tt:if(!I(Q,a)){if(a===n||"/"===a||"?"===a||"#"===a||"\\\\"===a&&c.isSpecial()||e){if(""!==f){var A=L(f,10);if(A>65535)return Y;c.port=c.isSpecial()&&A===ft[c.scheme]?null:A,f=""}if(e)return;l=Ct;continue}return Y}f+=a;break;case Pt:if(c.scheme="file","/"===a||"\\\\"===a)l=Lt;else{if(!r||"file"!==r.scheme){l=jt;continue}switch(a){case n:c.host=r.host,c.path=y(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=y(r.path),c.query="",l=Rt;break;case"#":c.host=r.host,c.path=y(r.path),c.query=r.query,c.fragment="",l=Ft;break;default:vt(R(y(i,h),""))||(c.host=r.host,c.path=y(r.path),c.shortenPath()),l=jt;continue}}break;case Lt:if("/"===a||"\\\\"===a){l=Mt;break}r&&"file"===r.scheme&&!vt(R(y(i,h),""))&&(dt(r.path[0],!0)?N(c.path,r.path[0]):c.host=r.host),l=jt;continue;case Mt:if(a===n||"/"===a||"\\\\"===a||"?"===a||"#"===a){if(!e&&dt(f))l=jt;else if(""===f){if(c.host="",e)return;l=Ct}else{if(s=c.parseHost(f))return s;if("localhost"===c.host&&(c.host=""),e)return;f="",l=Ct}continue}f+=a;break;case Ct:if(c.isSpecial()){if(l=jt,"/"!==a&&"\\\\"!==a)continue}else if(e||"?"!==a)if(e||"#"!==a){if(a!==n&&(l=jt,"/"!==a))continue}else c.fragment="",l=Ft;else c.query="",l=Rt;break;case jt:if(a===n||"/"===a||"\\\\"===a&&c.isSpecial()||!e&&("?"===a||"#"===a)){if(".."===(u=U(u=f))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(c.shortenPath(),"/"===a||"\\\\"===a&&c.isSpecial()||N(c.path,"")):pt(f)?"/"===a||"\\\\"===a&&c.isSpecial()||N(c.path,""):("file"===c.scheme&&!c.path.length&&dt(f)&&(c.host&&(c.host=""),f=j(f,0)+":"),N(c.path,f)),f="","file"===c.scheme&&(a===n||"?"===a||"#"===a))for(;c.path.length>1&&""===c.path[0];)B(c.path);"?"===a?(c.query="",l=Rt):"#"===a&&(c.fragment="",l=Ft)}else f+=ht(a,ct);break;case It:"?"===a?(c.query="",l=Rt):"#"===a?(c.fragment="",l=Ft):a!==n&&(c.path[0]+=ht(a,st));break;case Rt:e||"#"!==a?a!==n&&("'"===a&&c.isSpecial()?c.query+="%27":c.query+="#"===a?"%23":ht(a,st)):(c.fragment="",l=Ft);break;case Ft:a!==n&&(c.fragment+=ht(a,ut))}h++}},parseHost:function(t){var e,r,n;if("["===j(t,0)){if("]"!==j(t,t.length-1))return q;if(e=function(t){var e,r,n,i,a,o,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,h=0,f=function(){return j(t,h)};if(":"===f()){if(":"!==j(t,1))return;h+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(e=r=0;r<4&&I(tt,f());)e=16*e+L(f(),16),h++,r++;if("."===f()){if(0===r)return;if(h-=r,c>6)return;for(n=0;f();){if(i=null,n>0){if(!("."===f()&&n<4))return;h++}if(!I(Q,f()))return;for(;I(Q,f());){if(a=L(f(),10),null===i)i=a;else{if(0===i)return;i=10*i+a}if(i>255)return;h++}u[c]=256*u[c]+i,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(h++,!f())return}else if(f())return;u[c++]=e}else{if(null!==l)return;h++,l=++c}}if(null!==l)for(o=c-l,c=7;0!==c&&o>0;)s=u[c],u[c--]=u[l+o-1],u[l+--o]=s;else if(8!==c)return;return u}(H(t,1,-1)),!e)return q;this.host=e}else if(this.isSpecial()){if(t=m(t),I(et,t))return q;if(e=function(t){var e,r,n,i,a,o,s,u=G(t,".");if(u.length&&""===u[u.length-1]&&u.length--,(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""===(i=u[n]))return t;if(a=10,i.length>1&&"0"===j(i,0)&&(a=I(J,i)?16:8,i=H(i,8===a?1:2)),""===i)o=0;else{if(!I(10===a?Z:8===a?$:tt,i))return t;o=L(i,a)}N(r,o)}for(n=0;n<e;n++)if(o=r[n],n===e-1){if(o>=C(256,5-e))return null}else if(o>255)return null;for(s=D(r),n=0;n<r.length;n++)s+=r[n]*C(256,3-n);return s}(t),null===e)return q;this.host=e}else{if(I(rt,t))return q;for(e="",r=p(t),n=0;n<r.length;n++)e+=ht(r[n],st);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return d(ft,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&dt(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,i=t.host,a=t.port,o=t.path,s=t.query,u=t.fragment,c=e+":";return null!==i?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=ot(i),null!==a&&(c+=":"+a)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?o[0]:o.length?"/"+R(o,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw new P(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Nt(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+ot(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(b(t)+":",yt)},getUsername:function(){return this.username},setUsername:function(t){var e=p(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=ht(e[r],lt)}},getPassword:function(){return this.password},setPassword:function(t){var e=p(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=ht(e[r],lt)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?ot(t):ot(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,St)},getHostname:function(){var t=this.host;return null===t?"":ot(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Ot)},getPort:function(){var t=this.port;return null===t?"":b(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=b(t))?this.port=null:this.parse(t,Tt))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+R(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Ct))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=b(t))?this.query=null:("?"===j(t,0)&&(t=H(t,1)),this.query="",this.parse(t,Rt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=b(t))?("#"===j(t,0)&&(t=H(t,1)),this.fragment="",this.parse(t,Ft)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Nt=function(t){var e=f(this,Wt),r=k(arguments.length,1)>1?arguments[1]:void 0,n=_(e,new Dt(t,!1,r));a||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Wt=Nt.prototype,Bt=function(t,e){return{get:function(){return E(this)[t]()},set:e&&function(t){return E(this)[e](t)},configurable:!0,enumerable:!0}};if(a&&(h(Wt,"href",Bt("serialize","setHref")),h(Wt,"origin",Bt("getOrigin")),h(Wt,"protocol",Bt("getProtocol","setProtocol")),h(Wt,"username",Bt("getUsername","setUsername")),h(Wt,"password",Bt("getPassword","setPassword")),h(Wt,"host",Bt("getHost","setHost")),h(Wt,"hostname",Bt("getHostname","setHostname")),h(Wt,"port",Bt("getPort","setPort")),h(Wt,"pathname",Bt("getPathname","setPathname")),h(Wt,"search",Bt("getSearch","setSearch")),h(Wt,"searchParams",Bt("getSearchParams")),h(Wt,"hash",Bt("getHash","setHash"))),l(Wt,"toJSON",(function(){return E(this).serialize()}),{enumerable:!0}),l(Wt,"toString",(function(){return E(this).serialize()}),{enumerable:!0}),T){var Gt=T.createObjectURL,Ht=T.revokeObjectURL;Gt&&l(Nt,"createObjectURL",u(Gt,T)),Ht&&l(Nt,"revokeObjectURL",u(Ht,T))}w(Nt,"URL"),i({global:!0,constructor:!0,forced:!o,sham:!a},{URL:Nt})},5728:(t,e,r)=>{r(161)},4136:(t,e,r)=>{var n=r(5366),i=r(3453);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var a=e[n]={exports:{}};return t[n].call(a.exports,a,a.exports,r),a.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n,i=globalThis.pdfjsLib={};function a(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||s(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,h(n.key),n)}}function l(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function h(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e,r){return e=p(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,v()?Reflect.construct(e,r||[],p(t).constructor):e.apply(t,r))}function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(v=function(){return!!t})()}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function y(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}function g(t,e){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},g(t,e)}r.d(i,{AbortException:()=>Y,AnnotationEditorLayer:()=>Ak,AnnotationEditorParamsType:()=>_,AnnotationEditorType:()=>A,AnnotationEditorUIManager:()=>Kn,AnnotationLayer:()=>np,AnnotationMode:()=>x,CMapCompressionType:()=>T,ColorPicker:()=>Tg,DOMSVGFactory:()=>me,DrawLayer:()=>Vk,FeatureTest:()=>J,GlobalWorkerOptions:()=>mu,ImageKind:()=>S,InvalidPDFException:()=>U,MissingPDFException:()=>z,OPS:()=>P,OutputScale:()=>Fe,PDFDataRangeTransport:()=>rf,PDFDateString:()=>Le,PDFWorker:()=>pf,PasswordResponses:()=>L,PermissionFlag:()=>E,PixelsPerInch:()=>Vt,RenderingCancelledException:()=>we,TextLayer:()=>uh,UnexpectedResponseException:()=>V,Util:()=>Z,VerbosityLevel:()=>O,XfaLayer:()=>td,build:()=>Bf,createValidAbsoluteUrl:()=>N,fetchData:()=>ve,getDocument:()=>$h,getFilenameFromUrl:()=>Ae,getPdfFilenameFromUrl:()=>_e,getXfaPageViewport:()=>Me,isDataScheme:()=>ke,isPdfFile:()=>xe,noContextMenu:()=>Te,normalizeUnicode:()=>it,setLayerDimensions:()=>Re,shadow:()=>W,version:()=>Wf}),r(8169),r(7651),r(4551),r(5268),r(184),r(3234),r(6746),r(8551),r(9024),r(9138),r(750),r(5015),r(6209),r(9261),r(3700),r(3632),r(7316),r(1425),r(3379),r(489),r(2823),r(5594),r(8397),r(2467),r(1281),r(9484),r(4672),r(6794),r(9264),r(7329),r(2044),r(3740),r(6542),r(5738),r(2900),r(2051),r(3198),r(4211),r(9791),r(5294),r(1526),r(6032),r(3659),r(932),r(8553),r(7612),r(8579),r(7719),r(7576),r(2891),r(2605),r(4863),r(9637),r(2709),r(8941),r(1579),r(6236),r(7716),r(1913),r(3577),r(5728),r(4136),r(4520),r(1531),r(3678),r(4145);var m=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),b=[1,0,0,1,0,0],w=[.001,0,0,.001,0,0],k=1.35,x={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},A={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},_={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35},E={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},S={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},O={ERRORS:0,WARNINGS:1,INFOS:5},T={NONE:0,BINARY:1},P={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93},L={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},M=O.WARNINGS;function C(t){Number.isInteger(t)&&(M=t)}function j(){return M}function I(t){M>=O.INFOS&&console.log("Info: ".concat(t))}function R(t){M>=O.WARNINGS&&console.log("Warning: ".concat(t))}function F(t){throw new Error(t)}function D(t,e){t||F(e)}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return null;try{if(r&&"string"==typeof t){if(r.addDefaultProtocol&&t.startsWith("www.")){var n=t.match(/\\./g);(null==n?void 0:n.length)>=2&&(t="http://".concat(t))}if(r.tryConvertEncoding)try{t=decodeURIComponent(escape(t))}catch(t){}}var i=e?new URL(t,e):new URL(t);if(function(t){switch(null==t?void 0:t.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(i))return i}catch(t){}return null}function W(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.defineProperty(t,e,{value:r,enumerable:!n,configurable:!0,writable:!1}),r}var B=function(){function t(t,e){this.message=t,this.name=e}return t.prototype=new Error,t.constructor=t,t}(),G=function(t){function e(t,r){var n;return f(this,e),(n=d(this,e,[t,"PasswordException"])).code=r,n}return y(e,B),l(e)}(),H=function(t){function e(t,r){var n;return f(this,e),(n=d(this,e,[t,"UnknownErrorException"])).details=r,n}return y(e,B),l(e)}(),U=function(t){function e(t){return f(this,e),d(this,e,[t,"InvalidPDFException"])}return y(e,B),l(e)}(),z=function(t){function e(t){return f(this,e),d(this,e,[t,"MissingPDFException"])}return y(e,B),l(e)}(),V=function(t){function e(t,r){var n;return f(this,e),(n=d(this,e,[t,"UnexpectedResponseException"])).status=r,n}return y(e,B),l(e)}(),q=function(t){function e(t){return f(this,e),d(this,e,[t,"FormatError"])}return y(e,B),l(e)}(),Y=function(t){function e(t){return f(this,e),d(this,e,[t,"AbortException"])}return y(e,B),l(e)}();function X(t){"object"==typeof t&&void 0!==(null==t?void 0:t.length)||F("Invalid argument for bytesToString");var e=t.length,r=8192;if(e<r)return String.fromCharCode.apply(null,t);for(var n=[],i=0;i<e;i+=r){var a=Math.min(i+r,e),o=t.subarray(i,a);n.push(String.fromCharCode.apply(null,o))}return n.join("")}function K(t){"string"!=typeof t&&F("Invalid argument for stringToBytes");for(var e=t.length,r=new Uint8Array(e),n=0;n<e;++n)r[n]=255&t.charCodeAt(n);return r}function Q(t){var e,r=Object.create(null),n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=s(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){u=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(u)throw a}}}}(t);try{for(n.s();!(e=n.n()).done;){var i=o(e.value,2),a=i[0],u=i[1];r[a]=u}}catch(t){n.e(t)}finally{n.f()}return r}var J=function(){return l((function t(){f(this,t)}),null,[{key:"isLittleEndian",get:function(){return W(this,"isLittleEndian",((t=new Uint8Array(4))[0]=1,1===new Uint32Array(t.buffer,0,1)[0]));var t}},{key:"isEvalSupported",get:function(){return W(this,"isEvalSupported",function(){try{return new Function(""),!0}catch(t){return!1}}())}},{key:"isOffscreenCanvasSupported",get:function(){return W(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}},{key:"platform",get:function(){var t,e;return"undefined"!=typeof navigator&&"string"==typeof(null===(t=navigator)||void 0===t?void 0:t.platform)?W(this,"platform",{isMac:navigator.platform.includes("Mac"),isWindows:navigator.platform.includes("Win"),isFirefox:"string"==typeof(null===(e=navigator)||void 0===e?void 0:e.userAgent)&&navigator.userAgent.includes("Firefox")}):W(this,"platform",{isMac:!1,isWindows:!1,isFirefox:!1})}},{key:"isCSSRoundSupported",get:function(){var t,e;return W(this,"isCSSRoundSupported",null===(t=globalThis.CSS)||void 0===t||null===(e=t.supports)||void 0===e?void 0:e.call(t,"width: round(1.5px, 1px)"))}}])}(),$=Array.from(Array(256).keys(),(function(t){return t.toString(16).padStart(2,"0")})),Z=function(){function t(){f(this,t)}return l(t,null,[{key:"makeHexColor",value:function(t,e,r){return"#".concat($[t]).concat($[e]).concat($[r])}},{key:"scaleMinMax",value:function(t,e){var r;t[0]?(t[0]<0&&(r=e[0],e[0]=e[2],e[2]=r),e[0]*=t[0],e[2]*=t[0],t[3]<0&&(r=e[1],e[1]=e[3],e[3]=r),e[1]*=t[3],e[3]*=t[3]):(r=e[0],e[0]=e[1],e[1]=r,r=e[2],e[2]=e[3],e[3]=r,t[1]<0&&(r=e[1],e[1]=e[3],e[3]=r),e[1]*=t[1],e[3]*=t[1],t[2]<0&&(r=e[0],e[0]=e[2],e[2]=r),e[0]*=t[2],e[2]*=t[2]),e[0]+=t[4],e[1]+=t[5],e[2]+=t[4],e[3]+=t[5]}},{key:"transform",value:function(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}},{key:"applyTransform",value:function(t,e){return[t[0]*e[0]+t[1]*e[2]+e[4],t[0]*e[1]+t[1]*e[3]+e[5]]}},{key:"applyInverseTransform",value:function(t,e){var r=e[0]*e[3]-e[1]*e[2];return[(t[0]*e[3]-t[1]*e[2]+e[2]*e[5]-e[4]*e[3])/r,(-t[0]*e[1]+t[1]*e[0]+e[4]*e[1]-e[5]*e[0])/r]}},{key:"getAxialAlignedBoundingBox",value:function(t,e){var r=this.applyTransform(t,e),n=this.applyTransform(t.slice(2,4),e),i=this.applyTransform([t[0],t[3]],e),a=this.applyTransform([t[2],t[1]],e);return[Math.min(r[0],n[0],i[0],a[0]),Math.min(r[1],n[1],i[1],a[1]),Math.max(r[0],n[0],i[0],a[0]),Math.max(r[1],n[1],i[1],a[1])]}},{key:"inverseTransform",value:function(t){var e=t[0]*t[3]-t[1]*t[2];return[t[3]/e,-t[1]/e,-t[2]/e,t[0]/e,(t[2]*t[5]-t[4]*t[3])/e,(t[4]*t[1]-t[5]*t[0])/e]}},{key:"singularValueDecompose2dScale",value:function(t){var e=[t[0],t[2],t[1],t[3]],r=t[0]*e[0]+t[1]*e[2],n=t[0]*e[1]+t[1]*e[3],i=t[2]*e[0]+t[3]*e[2],a=t[2]*e[1]+t[3]*e[3],o=(r+a)/2,s=Math.sqrt(Math.pow(r+a,2)-4*(r*a-i*n))/2,u=o+s||1,c=o-s||1;return[Math.sqrt(u),Math.sqrt(c)]}},{key:"normalizeRect",value:function(t){var e=t.slice(0);return t[0]>t[2]&&(e[0]=t[2],e[2]=t[0]),t[1]>t[3]&&(e[1]=t[3],e[3]=t[1]),e}},{key:"intersect",value:function(t,e){var r=Math.max(Math.min(t[0],t[2]),Math.min(e[0],e[2])),n=Math.min(Math.max(t[0],t[2]),Math.max(e[0],e[2]));if(r>n)return null;var i=Math.max(Math.min(t[1],t[3]),Math.min(e[1],e[3])),a=Math.min(Math.max(t[1],t[3]),Math.max(e[1],e[3]));return i>a?null:[r,i,n,a]}},{key:"bezierBoundingBox",value:function(e,r,n,i,o,s,u,c,l){return l?(l[0]=Math.min(l[0],e,u),l[1]=Math.min(l[1],r,c),l[2]=Math.max(l[2],e,u),l[3]=Math.max(l[3],r,c)):l=[Math.min(e,u),Math.min(r,c),Math.max(e,u),Math.max(r,c)],a(t,this,et).call(this,e,n,o,u,r,i,s,c,3*(3*(n-o)-e+u),6*(e-2*n+o),3*(n-e),l),a(t,this,et).call(this,e,n,o,u,r,i,s,c,3*(3*(i-s)-r+c),6*(r-2*i+s),3*(i-r),l),l}}])}();function tt(t,e,r,n,i,a,o,s,u,c){if(!(u<=0||u>=1)){var l=1-u,h=u*u,f=h*u,d=l*(l*(l*t+3*u*e)+3*h*r)+f*n,v=l*(l*(l*i+3*u*a)+3*h*o)+f*s;c[0]=Math.min(c[0],d),c[1]=Math.min(c[1],v),c[2]=Math.max(c[2],d),c[3]=Math.max(c[3],v)}}function et(t,e,r,i,o,s,u,c,l,h,f,d){if(Math.abs(l)<1e-12)Math.abs(h)>=1e-12&&a(n,this,tt).call(this,t,e,r,i,o,s,u,c,-f/h,d);else{var v=Math.pow(h,2)-4*f*l;if(!(v<0)){var p=Math.sqrt(v),y=2*l;a(n,this,tt).call(this,t,e,r,i,o,s,u,c,(-h+p)/y,d),a(n,this,tt).call(this,t,e,r,i,o,s,u,c,(-h-p)/y,d)}}}n=Z;var rt=null,nt=null;function it(t){return rt||(rt=/([\\xA0\\xB5\\u037E\\u0EB3\\u2000-\\u200A\\u202F\\u2126\\uFB00-\\uFB04\\uFB06\\uFB20-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBA1\\uFBA4-\\uFBA9\\uFBAE-\\uFBB1\\uFBD3-\\uFBDC\\uFBDE-\\uFBE7\\uFBEA-\\uFBF8\\uFBFC\\uFBFD\\uFC00-\\uFC5D\\uFC64-\\uFCF1\\uFCF5-\\uFD3D\\uFD88\\uFDF4\\uFDFA\\uFDFB\\uFE71\\uFE77\\uFE79\\uFE7B\\uFE7D]+)|(\\uFB05+)/g,nt=new Map([["ſt","ſt"]])),t.replaceAll(rt,(function(t,e,r){return e?e.normalize("NFKC"):nt.get(r)}))}var at="pdfjs_internal_id_";function ot(){ot=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function st(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function ut(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){st(a,n,i,o,s,"next",t)}function s(t){st(a,n,i,o,s,"throw",t)}o(void 0)}))}}function ct(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function lt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,dt(n.key),n)}}function ft(t,e,r){return e&&ht(t.prototype,e),r&&ht(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function dt(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}r(4172),r(5997),r(456),r(5550),r(4413),r(7531),r(1999),r(702),r(1234),r(2431),r(9732),r(9255),r(5130),r(5636),r(8509),r(7332),r(6555),r(3296),r(4594),r(8492),r(7121),r(8856),r(5342),r(4192),r(1565),r(8316),r(4967),r(6403),r(3355),r(6851),r(9750),r(8674),r(3821),r(9657),r(6347),r(122),r(8653),r(9210),r(7895),r(463),r(9582),r(31),r(3177),r(4592),r(8345),r(2865),r(4853),r(4072);var vt,pt=function(){return ft((function t(){lt(this,t)}),[{key:"addFilter",value:function(t){return"none"}},{key:"addHCMFilter",value:function(t,e){return"none"}},{key:"addAlphaFilter",value:function(t){return"none"}},{key:"addLuminosityFilter",value:function(t){return"none"}},{key:"addHighlightHCMFilter",value:function(t,e,r,n,i){return"none"}},{key:"destroy",value:function(){}}])}(),yt=new WeakMap,gt=function(){return ft((function t(e){var r,n,i=e.enableHWA,a=void 0!==i&&i;lt(this,t),function(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}(this,yt,!1),n=a,(r=yt).set(ct(r,this),n)}),[{key:"create",value:function(t,e){if(t<=0||e<=0)throw new Error("Invalid canvas size");var r,n=this._createCanvas(t,e);return{canvas:n,context:n.getContext("2d",{willReadFrequently:(r=yt,this,!r.get(ct(r,this)))})}}},{key:"reset",value:function(t,e,r){if(!t.canvas)throw new Error("Canvas is not specified");if(e<=0||r<=0)throw new Error("Invalid canvas size");t.canvas.width=e,t.canvas.height=r}},{key:"destroy",value:function(t){if(!t.canvas)throw new Error("Canvas is not specified");t.canvas.width=0,t.canvas.height=0,t.canvas=null,t.context=null}},{key:"_createCanvas",value:function(t,e){F("Abstract method \`_createCanvas\` called.")}}])}(),mt=function(){return ft((function t(e){var r=e.baseUrl,n=void 0===r?null:r,i=e.isCompressed,a=void 0===i||i;lt(this,t),this.baseUrl=n,this.isCompressed=a}),[{key:"fetch",value:(t=ut(ot().mark((function t(e){var r,n,i,a=this;return ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,this.baseUrl){t.next=3;break}throw new Error("Ensure that the \`cMapUrl\` and \`cMapPacked\` API parameters are provided.");case 3:if(r){t.next=5;break}throw new Error("CMap name must be specified.");case 5:return n=this.baseUrl+r+(this.isCompressed?".bcmap":""),i=this.isCompressed?T.BINARY:T.NONE,t.abrupt("return",this._fetchData(n,i).catch((function(t){throw new Error("Unable to load ".concat(a.isCompressed?"binary ":"","CMap at: ").concat(n))})));case 8:case"end":return t.stop()}}),t,this)}))),function(e){return t.apply(this,arguments)})},{key:"_fetchData",value:function(t,e){F("Abstract method \`_fetchData\` called.")}}]);var t}(),bt=function(){return ft((function t(e){var r=e.baseUrl,n=void 0===r?null:r;lt(this,t),this.baseUrl=n}),[{key:"fetch",value:(t=ut(ot().mark((function t(e){var r,n;return ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.filename,this.baseUrl){t.next=3;break}throw new Error("Ensure that the \`standardFontDataUrl\` API parameter is provided.");case 3:if(r){t.next=5;break}throw new Error("Font filename must be specified.");case 5:return n="".concat(this.baseUrl).concat(r),t.abrupt("return",this._fetchData(n).catch((function(t){throw new Error("Unable to load font data at: ".concat(n))})));case 7:case"end":return t.stop()}}),t,this)}))),function(e){return t.apply(this,arguments)})},{key:"_fetchData",value:function(t){F("Abstract method \`_fetchData\` called.")}}]);var t}(),wt=function(){return ft((function t(){lt(this,t)}),[{key:"create",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t<=0||e<=0)throw new Error("Invalid SVG dimensions");var n=this._createSVG("svg:svg");return n.setAttribute("version","1.1"),r||(n.setAttribute("width","".concat(t,"px")),n.setAttribute("height","".concat(e,"px"))),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox","0 0 ".concat(t," ").concat(e)),n}},{key:"createElement",value:function(t){if("string"!=typeof t)throw new Error("Invalid SVG element type");return this._createSVG(t)}},{key:"_createSVG",value:function(t){F("Abstract method \`_createSVG\` called.")}}])}();function kt(){kt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function xt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=St(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function At(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function _t(t){return function(t){if(Array.isArray(t))return Ot(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||St(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Et(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||St(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function St(t,e){if(t){if("string"==typeof t)return Ot(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ot(t,e):void 0}}function Ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Tt(t,e,r){return e=Lt(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Pt()?Reflect.construct(e,r||[],Lt(t).constructor):e.apply(t,r))}function Pt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Pt=function(){return!!t})()}function Lt(t){return Lt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Lt(t)}function Mt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ct(t,e)}function Ct(t,e){return Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ct(t,e)}function jt(t,e,r){It(t,e),e.set(t,r)}function It(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Rt(t,e,r){return r(Nt(t,e))}function Ft(t,e){return t.get(Nt(t,e))}function Dt(t,e,r){return t.set(Nt(t,e),r),r}function Nt(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function Wt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ut(n.key),n)}}function Bt(t,e,r){return e&&Wt(t.prototype,e),r&&Wt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Gt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ht(t,e,r){return(e=Ut(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ut(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var zt="http://www.w3.org/2000/svg",Vt=Bt((function t(){Gt(this,t)}));vt=Vt,Ht(Vt,"CSS",96),Ht(Vt,"PDF",72),Ht(Vt,"PDF_TO_CSS_UNITS",vt.CSS/vt.PDF);var qt=new WeakMap,Yt=new WeakMap,Xt=new WeakMap,Kt=new WeakMap,Qt=new WeakMap,Jt=new WeakMap,$t=new WeakMap,Zt=new WeakSet,te=function(t){function e(t){var r,n,i,a=t.docId,o=t.ownerDocument,s=void 0===o?globalThis.document:o;return Gt(this,e),It(n=r=Tt(this,e),i=Zt),i.add(n),jt(r,qt,void 0),jt(r,Yt,void 0),jt(r,Xt,void 0),jt(r,Kt,void 0),jt(r,Qt,void 0),jt(r,Jt,void 0),jt(r,$t,0),Dt(Kt,r,a),Dt(Qt,r,s),r}return Mt(e,pt),Bt(e,[{key:"addFilter",value:function(t){var e,r;if(!t)return"none";var n=Rt(Zt,this,ee).get(t);if(n)return n;var i=Et(Nt(Zt,this,ie).call(this,t),3),a=i[0],o=i[1],s=i[2],u=1===t.length?a:"".concat(a).concat(o).concat(s);if(n=Rt(Zt,this,ee).get(u))return Rt(Zt,this,ee).set(t,n),n;var c="g_".concat(Ft(Kt,this),"_transfer_map_").concat((Dt($t,this,(e=Ft($t,this),r=e++,e)),r)),l=Nt(Zt,this,ae).call(this,c);Rt(Zt,this,ee).set(t,l),Rt(Zt,this,ee).set(u,l);var h=Nt(Zt,this,ue).call(this,c);return Nt(Zt,this,le).call(this,a,o,s,h),l}},{key:"addHCMFilter",value:function(t,e){var r,n,i="".concat(t,"-").concat(e),a="base",o=Rt(Zt,this,re).get(a);if((null===(r=o)||void 0===r?void 0:r.key)===i)return o.url;if(o?(null===(n=o.filter)||void 0===n||n.remove(),o.key=i,o.url="none",o.filter=null):(o={key:i,url:"none",filter:null},Rt(Zt,this,re).set(a,o)),!t||!e)return o.url;var s=Nt(Zt,this,fe).call(this,t);t=Z.makeHexColor.apply(Z,_t(s));var u=Nt(Zt,this,fe).call(this,e);if(e=Z.makeHexColor.apply(Z,_t(u)),Rt(Zt,this,ne).style.color="","#000000"===t&&"#ffffff"===e||t===e)return o.url;for(var c=new Array(256),l=0;l<=255;l++){var h=l/255;c[l]=h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4)}var f=c.join(","),d="g_".concat(Ft(Kt,this),"_hcm_filter"),v=o.filter=Nt(Zt,this,ue).call(this,d);Nt(Zt,this,le).call(this,f,f,f,v),Nt(Zt,this,se).call(this,v);var p=function(t,e){for(var r=s[t]/255,n=u[t]/255,i=new Array(e+1),a=0;a<=e;a++)i[a]=r+a/e*(n-r);return i.join(",")};return Nt(Zt,this,le).call(this,p(0,5),p(1,5),p(2,5),v),o.url=Nt(Zt,this,ae).call(this,d),o.url}},{key:"addAlphaFilter",value:function(t){var e,r,n=Rt(Zt,this,ee).get(t);if(n)return n;var i=Et(Nt(Zt,this,ie).call(this,[t]),1)[0],a="alpha_".concat(i);if(n=Rt(Zt,this,ee).get(a))return Rt(Zt,this,ee).set(t,n),n;var o="g_".concat(Ft(Kt,this),"_alpha_map_").concat((Dt($t,this,(e=Ft($t,this),r=e++,e)),r)),s=Nt(Zt,this,ae).call(this,o);Rt(Zt,this,ee).set(t,s),Rt(Zt,this,ee).set(a,s);var u=Nt(Zt,this,ue).call(this,o);return Nt(Zt,this,he).call(this,i,u),s}},{key:"addLuminosityFilter",value:function(t){var e,r,n,i,a=Rt(Zt,this,ee).get(t||"luminosity");if(a)return a;if(t?(n=Et(Nt(Zt,this,ie).call(this,[t]),1)[0],i="luminosity_".concat(n)):i="luminosity",a=Rt(Zt,this,ee).get(i))return Rt(Zt,this,ee).set(t,a),a;var o="g_".concat(Ft(Kt,this),"_luminosity_map_").concat((Dt($t,this,(e=Ft($t,this),r=e++,e)),r)),s=Nt(Zt,this,ae).call(this,o);Rt(Zt,this,ee).set(t,s),Rt(Zt,this,ee).set(i,s);var u=Nt(Zt,this,ue).call(this,o);return Nt(Zt,this,oe).call(this,u),t&&Nt(Zt,this,he).call(this,n,u),s}},{key:"addHighlightHCMFilter",value:function(t,e,r,n,i){var a,o,s="".concat(e,"-").concat(r,"-").concat(n,"-").concat(i),u=Rt(Zt,this,re).get(t);if((null===(a=u)||void 0===a?void 0:a.key)===s)return u.url;if(u?(null===(o=u.filter)||void 0===o||o.remove(),u.key=s,u.url="none",u.filter=null):(u={key:s,url:"none",filter:null},Rt(Zt,this,re).set(t,u)),!e||!r)return u.url;var c=Et([e,r].map(Nt(Zt,this,fe).bind(this)),2),l=c[0],h=c[1],f=Math.round(.2126*l[0]+.7152*l[1]+.0722*l[2]),d=Math.round(.2126*h[0]+.7152*h[1]+.0722*h[2]),v=Et([n,i].map(Nt(Zt,this,fe).bind(this)),2),p=v[0],y=v[1];if(d<f){var g=[d,f,y,p];f=g[0],d=g[1],p=g[2],y=g[3]}Rt(Zt,this,ne).style.color="";var m=function(t,e,r){for(var n=new Array(256),i=(d-f)/r,a=t/255,o=(e-t)/(255*r),s=0,u=0;u<=r;u++){for(var c=Math.round(f+u*i),l=a+u*o,h=s;h<=c;h++)n[h]=l;s=c+1}for(var v=s;v<256;v++)n[v]=n[s-1];return n.join(",")},b="g_".concat(Ft(Kt,this),"_hcm_").concat(t,"_filter"),w=u.filter=Nt(Zt,this,ue).call(this,b);return Nt(Zt,this,se).call(this,w),Nt(Zt,this,le).call(this,m(p[0],y[0],5),m(p[1],y[1],5),m(p[2],y[2],5),w),u.url=Nt(Zt,this,ae).call(this,b),u.url}},{key:"destroy",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&0!==Rt(Zt,this,re).size||(Ft(Xt,this)&&(Ft(Xt,this).parentNode.parentNode.remove(),Dt(Xt,this,null)),Ft(Yt,this)&&(Ft(Yt,this).clear(),Dt(Yt,this,null)),Dt($t,this,0))}}])}();function ee(t){return Ft(Yt,t)||Dt(Yt,t,new Map)}function re(t){return Ft(Jt,t)||Dt(Jt,t,new Map)}function ne(t){if(!Ft(Xt,t)){var e=Ft(Qt,t).createElement("div"),r=e.style;r.visibility="hidden",r.contain="strict",r.width=r.height=0,r.position="absolute",r.top=r.left=0,r.zIndex=-1;var n=Ft(Qt,t).createElementNS(zt,"svg");n.setAttribute("width",0),n.setAttribute("height",0),Dt(Xt,t,Ft(Qt,t).createElementNS(zt,"defs")),e.append(n),n.append(Ft(Xt,t)),Ft(Qt,t).body.append(e)}return Ft(Xt,t)}function ie(t){if(1===t.length){for(var e=t[0],r=new Array(256),n=0;n<256;n++)r[n]=e[n]/255;var i=r.join(",");return[i,i,i]}for(var a=Et(t,3),o=a[0],s=a[1],u=a[2],c=new Array(256),l=new Array(256),h=new Array(256),f=0;f<256;f++)c[f]=o[f]/255,l[f]=s[f]/255,h[f]=u[f]/255;return[c.join(","),l.join(","),h.join(",")]}function ae(t){if(void 0===Ft(qt,this)){Dt(qt,this,"");var e=Ft(Qt,this).URL;e!==Ft(Qt,this).baseURI&&(ke(e)?R('#createUrl: ignore "data:"-URL for performance reasons.'):Dt(qt,this,e.split("#",1)[0]))}return"url(".concat(Ft(qt,this),"#").concat(t,")")}function oe(t){var e=Ft(Qt,this).createElementNS(zt,"feColorMatrix");e.setAttribute("type","matrix"),e.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),t.append(e)}function se(t){var e=Ft(Qt,this).createElementNS(zt,"feColorMatrix");e.setAttribute("type","matrix"),e.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),t.append(e)}function ue(t){var e=Ft(Qt,this).createElementNS(zt,"filter");return e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("id",t),Rt(Zt,this,ne).append(e),e}function ce(t,e,r){var n=Ft(Qt,this).createElementNS(zt,e);n.setAttribute("type","discrete"),n.setAttribute("tableValues",r),t.append(n)}function le(t,e,r,n){var i=Ft(Qt,this).createElementNS(zt,"feComponentTransfer");n.append(i),Nt(Zt,this,ce).call(this,i,"feFuncR",t),Nt(Zt,this,ce).call(this,i,"feFuncG",e),Nt(Zt,this,ce).call(this,i,"feFuncB",r)}function he(t,e){var r=Ft(Qt,this).createElementNS(zt,"feComponentTransfer");e.append(r),Nt(Zt,this,ce).call(this,r,"feFuncA",t)}function fe(t){return Rt(Zt,this,ne).style.color=t,Ce(getComputedStyle(Rt(Zt,this,ne)).getPropertyValue("color"))}var de=function(t){function e(t){var r,n=t.ownerDocument,i=void 0===n?globalThis.document:n,a=t.enableHWA,o=void 0!==a&&a;return Gt(this,e),(r=Tt(this,e,[{enableHWA:o}]))._document=i,r}return Mt(e,gt),Bt(e,[{key:"_createCanvas",value:function(t,e){var r=this._document.createElement("canvas");return r.width=t,r.height=e,r}}])}();function ve(t){return pe.apply(this,arguments)}function pe(){var t;return t=kt().mark((function t(e){var r,n,i=arguments;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=i.length>1&&void 0!==i[1]?i[1]:"text",!Oe(e,document.baseURI)){t.next=14;break}return t.next=4,fetch(e);case 4:if((n=t.sent).ok){t.next=7;break}throw new Error(n.statusText);case 7:t.t0=r,t.next="arraybuffer"===t.t0?10:"blob"===t.t0?11:"json"===t.t0?12:13;break;case 10:return t.abrupt("return",n.arrayBuffer());case 11:return t.abrupt("return",n.blob());case 12:return t.abrupt("return",n.json());case 13:return t.abrupt("return",n.text());case 14:return t.abrupt("return",new Promise((function(t,n){var i=new XMLHttpRequest;i.open("GET",e,!0),i.responseType=r,i.onreadystatechange=function(){if(i.readyState===XMLHttpRequest.DONE)if(200!==i.status&&0!==i.status)n(new Error(i.statusText));else{switch(r){case"arraybuffer":case"blob":case"json":return void t(i.response)}t(i.responseText)}},i.send(null)})));case 15:case"end":return t.stop()}}),t)})),pe=function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){At(a,n,i,o,s,"next",t)}function s(t){At(a,n,i,o,s,"throw",t)}o(void 0)}))},pe.apply(this,arguments)}var ye=function(t){function e(){return Gt(this,e),Tt(this,e,arguments)}return Mt(e,mt),Bt(e,[{key:"_fetchData",value:function(t,e){return ve(t,this.isCompressed?"arraybuffer":"text").then((function(t){return{cMapData:t instanceof ArrayBuffer?new Uint8Array(t):K(t),compressionType:e}}))}}])}(),ge=function(t){function e(){return Gt(this,e),Tt(this,e,arguments)}return Mt(e,bt),Bt(e,[{key:"_fetchData",value:function(t){return ve(t,"arraybuffer").then((function(t){return new Uint8Array(t)}))}}])}(),me=function(t){function e(){return Gt(this,e),Tt(this,e,arguments)}return Mt(e,wt),Bt(e,[{key:"_createSVG",value:function(t){return document.createElementNS(zt,t)}}])}(),be=function(){function t(e){var r=e.viewBox,n=e.scale,i=e.rotation,a=e.offsetX,o=void 0===a?0:a,s=e.offsetY,u=void 0===s?0:s,c=e.dontFlip,l=void 0!==c&&c;Gt(this,t),this.viewBox=r,this.scale=n,this.rotation=i,this.offsetX=o,this.offsetY=u;var h,f,d,v,p,y,g,m,b=(r[2]+r[0])/2,w=(r[3]+r[1])/2;switch((i%=360)<0&&(i+=360),i){case 180:h=-1,f=0,d=0,v=1;break;case 90:h=0,f=1,d=1,v=0;break;case 270:h=0,f=-1,d=-1,v=0;break;case 0:h=1,f=0,d=0,v=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}l&&(d=-d,v=-v),0===h?(p=Math.abs(w-r[1])*n+o,y=Math.abs(b-r[0])*n+u,g=(r[3]-r[1])*n,m=(r[2]-r[0])*n):(p=Math.abs(b-r[0])*n+o,y=Math.abs(w-r[1])*n+u,g=(r[2]-r[0])*n,m=(r[3]-r[1])*n),this.transform=[h*n,f*n,d*n,v*n,p-h*n*b-d*n*w,y-f*n*b-v*n*w],this.width=g,this.height=m}return Bt(t,[{key:"rawDims",get:function(){var t=this.viewBox;return W(this,"rawDims",{pageWidth:t[2]-t[0],pageHeight:t[3]-t[1],pageX:t[0],pageY:t[1]})}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scale,n=void 0===r?this.scale:r,i=e.rotation,a=void 0===i?this.rotation:i,o=e.offsetX,s=void 0===o?this.offsetX:o,u=e.offsetY,c=void 0===u?this.offsetY:u,l=e.dontFlip,h=void 0!==l&&l;return new t({viewBox:this.viewBox.slice(),scale:n,rotation:a,offsetX:s,offsetY:c,dontFlip:h})}},{key:"convertToViewportPoint",value:function(t,e){return Z.applyTransform([t,e],this.transform)}},{key:"convertToViewportRectangle",value:function(t){var e=Z.applyTransform([t[0],t[1]],this.transform),r=Z.applyTransform([t[2],t[3]],this.transform);return[e[0],e[1],r[0],r[1]]}},{key:"convertToPdfPoint",value:function(t,e){return Z.applyInverseTransform([t,e],this.transform)}}])}(),we=function(t){function e(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Gt(this,e),(r=Tt(this,e,[t,"RenderingCancelledException"])).extraDelay=n,r}return Mt(e,B),Bt(e)}();function ke(t){for(var e=t.length,r=0;r<e&&""===t[r].trim();)r++;return"data:"===t.substring(r,r+5).toLowerCase()}function xe(t){return"string"==typeof t&&/\\.pdf$/i.test(t)}function Ae(t){var e=t.split(/[#?]/,1);return(t=Et(e,1)[0]).substring(t.lastIndexOf("/")+1)}function _e(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!=typeof t)return e;if(ke(t))return R('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),e;var r=/[^/?#=]+\\.pdf\\b(?!.*\\.pdf\\b)/i,n=/^(?:(?:[^:]+:)?\\/\\/[^/]+)?([^?#]*)(\\?[^#]*)?(#.*)?$/.exec(t),i=r.exec(n[1])||r.exec(n[2])||r.exec(n[3]);if(i&&(i=i[0]).includes("%"))try{i=r.exec(decodeURIComponent(i))[0]}catch(t){}return i||e}var Ee,Se=function(){return Bt((function t(){Gt(this,t),Ht(this,"started",Object.create(null)),Ht(this,"times",[])}),[{key:"time",value:function(t){t in this.started&&R("Timer is already running for ".concat(t)),this.started[t]=Date.now()}},{key:"timeEnd",value:function(t){t in this.started||R("Timer has not been started for ".concat(t)),this.times.push({name:t,start:this.started[t],end:Date.now()}),delete this.started[t]}},{key:"toString",value:function(){var t,e=[],r=0,n=xt(this.times);try{for(n.s();!(t=n.n()).done;){var i=t.value.name;r=Math.max(i.length,r)}}catch(t){n.e(t)}finally{n.f()}var a,o=xt(this.times);try{for(o.s();!(a=o.n()).done;){var s=a.value,u=s.name,c=s.start,l=s.end;e.push("".concat(u.padEnd(r)," ").concat(l-c,"ms\\n"))}}catch(t){o.e(t)}finally{o.f()}return e.join("")}}])}();function Oe(t,e){try{var r=(e?new URL(t,e):new URL(t)).protocol;return"http:"===r||"https:"===r}catch(t){return!1}}function Te(t){t.preventDefault()}function Pe(t){console.log("Deprecated API usage: "+t)}var Le=function(){return Bt((function t(){Gt(this,t)}),null,[{key:"toDateObject",value:function(t){if(!t||"string"!=typeof t)return null;Ee||(Ee=new RegExp("^D:(\\\\d{4})(\\\\d{2})?(\\\\d{2})?(\\\\d{2})?(\\\\d{2})?(\\\\d{2})?([Z|+|-])?(\\\\d{2})?'?(\\\\d{2})?'?"));var e=Ee.exec(t);if(!e)return null;var r=parseInt(e[1],10),n=parseInt(e[2],10);n=n>=1&&n<=12?n-1:0;var i=parseInt(e[3],10);i=i>=1&&i<=31?i:1;var a=parseInt(e[4],10);a=a>=0&&a<=23?a:0;var o=parseInt(e[5],10);o=o>=0&&o<=59?o:0;var s=parseInt(e[6],10);s=s>=0&&s<=59?s:0;var u=e[7]||"Z",c=parseInt(e[8],10);c=c>=0&&c<=23?c:0;var l=parseInt(e[9],10)||0;return l=l>=0&&l<=59?l:0,"-"===u?(a+=c,o+=l):"+"===u&&(a-=c,o-=l),new Date(Date.UTC(r,n,i,a,o,s))}}])}();function Me(t,e){var r=e.scale,n=void 0===r?1:r,i=e.rotation,a=void 0===i?0:i,o=t.attributes.style,s=o.width,u=o.height,c=[0,0,parseInt(s),parseInt(u)];return new be({viewBox:c,scale:n,rotation:a})}function Ce(t){if(t.startsWith("#")){var e=parseInt(t.slice(1),16);return[(16711680&e)>>16,(65280&e)>>8,255&e]}return t.startsWith("rgb(")?t.slice(4,-1).split(",").map((function(t){return parseInt(t)})):t.startsWith("rgba(")?t.slice(5,-1).split(",").map((function(t){return parseInt(t)})).slice(0,3):(R('Not a valid color format: "'.concat(t,'"')),[0,0,0])}function je(t){var e=t.getTransform();return[e.a,e.b,e.c,e.d,e.e,e.f]}function Ie(t){var e=t.getTransform().invertSelf();return[e.a,e.b,e.c,e.d,e.e,e.f]}function Re(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e instanceof be){var i=e.rawDims,a=i.pageWidth,o=i.pageHeight,s=t.style,u=J.isCSSRoundSupported,c="var(--scale-factor) * ".concat(a,"px"),l="var(--scale-factor) * ".concat(o,"px"),h=u?"round(down, ".concat(c,", var(--scale-round-x, 1px))"):"calc(".concat(c,")"),f=u?"round(down, ".concat(l,", var(--scale-round-y, 1px))"):"calc(".concat(l,")");r&&e.rotation%180!=0?(s.width=f,s.height=h):(s.width=h,s.height=f)}n&&t.setAttribute("data-main-rotation",e.rotation)}var Fe=function(){return Bt((function t(){Gt(this,t);var e=window.devicePixelRatio||1;this.sx=e,this.sy=e}),[{key:"scaled",get:function(){return 1!==this.sx||1!==this.sy}},{key:"symmetric",get:function(){return this.sx===this.sy}}])}();function De(t,e){if(t){if("string"==typeof t)return Ne(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ne(t,e):void 0}}function Ne(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function We(){We=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Be(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Ge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function He(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ze(n.key),n)}}function Ue(t,e,r){return e&&He(t.prototype,e),r&&He(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function ze(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Ve(t,e){Ye(t,e),e.add(t)}function qe(t,e,r){Ye(t,e),e.set(t,r)}function Ye(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Xe(t,e,r){return r(Je(t,e))}function Ke(t,e){return t.get(Je(t,e))}function Qe(t,e,r){return t.set(Je(t,e),r),r}function Je(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var $e=new WeakMap,Ze=new WeakMap,tr=new WeakMap,er=new WeakMap,rr=new WeakMap,nr=new WeakSet,ir=function(){return Ue((function t(e){Ge(this,t),Ve(this,nr),qe(this,$e,null),qe(this,Ze,null),qe(this,tr,void 0),qe(this,er,null),qe(this,rr,null),Qe(tr,this,e),fr._||(fr._=Object.freeze({freetext:"pdfjs-editor-remove-freetext-button",highlight:"pdfjs-editor-remove-highlight-button",ink:"pdfjs-editor-remove-ink-button",stamp:"pdfjs-editor-remove-stamp-button"}))}),[{key:"render",value:function(){var t=Qe($e,this,document.createElement("div"));t.classList.add("editToolbar","hidden"),t.setAttribute("role","toolbar");var e=Ke(tr,this)._uiManager._signal;t.addEventListener("contextmenu",Te,{signal:e}),t.addEventListener("pointerdown",ar,{signal:e});var r=Qe(er,this,document.createElement("div"));r.className="buttons",t.append(r);var n=Ke(tr,this).toolbarPosition;if(n){var i=t.style,a="ltr"===Ke(tr,this)._uiManager.direction?1-n[0]:n[0];i.insetInlineEnd="".concat(100*a,"%"),i.top="calc(".concat(100*n[1],"% + var(--editor-toolbar-vert-offset))")}return Je(nr,this,cr).call(this),t}},{key:"div",get:function(){return Ke($e,this)}},{key:"hide",value:function(){var t;Ke($e,this).classList.add("hidden"),null===(t=Ke(Ze,this))||void 0===t||t.hideDropdown()}},{key:"show",value:function(){var t;Ke($e,this).classList.remove("hidden"),null===(t=Ke(rr,this))||void 0===t||t.shown()}},{key:"addAltText",value:(t=We().mark((function t(e){var r;return We().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.render();case 2:r=t.sent,Je(nr,this,ur).call(this,r),Ke(er,this).prepend(r,Xe(nr,this,lr)),Qe(rr,this,e);case 6:case"end":return t.stop()}}),t,this)})),e=function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Be(a,n,i,o,s,"next",t)}function s(t){Be(a,n,i,o,s,"throw",t)}o(void 0)}))},function(t){return e.apply(this,arguments)})},{key:"addColorPicker",value:function(t){Qe(Ze,this,t);var e=t.renderButton();Je(nr,this,ur).call(this,e),Ke(er,this).prepend(e,Xe(nr,this,lr))}},{key:"remove",value:function(){var t;Ke($e,this).remove(),null===(t=Ke(Ze,this))||void 0===t||t.destroy(),Qe(Ze,this,null)}}]);var t,e}();function ar(t){t.stopPropagation()}function or(t){Ke(tr,this)._focusEventsAllowed=!1,t.preventDefault(),t.stopPropagation()}function sr(t){Ke(tr,this)._focusEventsAllowed=!0,t.preventDefault(),t.stopPropagation()}function ur(t){var e=Ke(tr,this)._uiManager._signal;t.addEventListener("focusin",Je(nr,this,or).bind(this),{capture:!0,signal:e}),t.addEventListener("focusout",Je(nr,this,sr).bind(this),{capture:!0,signal:e}),t.addEventListener("contextmenu",Te,{signal:e})}function cr(){var t=Ke(tr,this),e=t.editorType,r=t._uiManager,n=document.createElement("button");n.className="delete",n.tabIndex=0,n.setAttribute("data-l10n-id",fr._[e]),Je(nr,this,ur).call(this,n),n.addEventListener("click",(function(t){r.delete()}),{signal:r._signal}),Ke(er,this).append(n)}function lr(t){var e=document.createElement("div");return e.className="divider",e}var hr,fr={_:null},dr=new WeakMap,vr=new WeakMap,pr=new WeakMap,yr=new WeakSet,gr=function(){return Ue((function t(e){Ge(this,t),Ve(this,yr),qe(this,dr,null),qe(this,vr,null),qe(this,pr,void 0),Qe(pr,this,e)}),[{key:"show",value:function(t,e,r){var n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||De(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Je(yr,this,br).call(this,e,r),2),i=n[0],a=n[1],o=(Ke(vr,this)||Qe(vr,this,Je(yr,this,mr).call(this))).style;t.append(Ke(vr,this)),o.insetInlineEnd="".concat(100*i,"%"),o.top="calc(".concat(100*a,"% + var(--editor-toolbar-vert-offset))")}},{key:"hide",value:function(){Ke(vr,this).remove()}}])}();function mr(){var t=Qe(vr,this,document.createElement("div"));t.className="editToolbar",t.setAttribute("role","toolbar"),t.addEventListener("contextmenu",Te,{signal:Ke(pr,this)._signal});var e=Qe(dr,this,document.createElement("div"));return e.className="buttons",t.append(e),Je(yr,this,wr).call(this),t}function br(t,e){var r,n=0,i=0,a=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=De(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(t);try{for(a.s();!(r=a.n()).done;){var o=r.value,s=o.y+o.height;if(!(s<n)){var u=o.x+(e?o.width:0);s>n?(i=u,n=s):e?u>i&&(i=u):u<i&&(i=u)}}}catch(t){a.e(t)}finally{a.f()}return[e?1-i:i,n]}function wr(){var t=this,e=document.createElement("button");e.className="highlightButton",e.tabIndex=0,e.setAttribute("data-l10n-id","pdfjs-highlight-floating-button1");var r=document.createElement("span");e.append(r),r.className="visuallyHidden",r.setAttribute("data-l10n-id","pdfjs-highlight-floating-button-label");var n=Ke(pr,this)._signal;e.addEventListener("contextmenu",Te,{signal:n}),e.addEventListener("click",(function(){Ke(pr,t).highlightSelection("floating_button")}),{signal:n}),Ke(dr,this).append(e)}function kr(t,e,r){return(e=Mr(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xr(t){return function(t){if(Array.isArray(t))return Wr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Nr(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ar(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Nr(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _r(){_r=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Er(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Sr(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Er(a,n,i,o,s,"next",t)}function s(t){Er(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Or(t,e){jr(t,e),e.add(t)}function Tr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Mr(n.key),n)}}function Lr(t,e,r){return e&&Pr(t.prototype,e),r&&Pr(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Mr(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Cr(t,e,r){jr(t,e),e.set(t,r)}function jr(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ir(t,e){return t.get(Fr(t,e))}function Rr(t,e,r){return t.set(Fr(t,e),r),r}function Fr(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function Dr(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Nr(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Nr(t,e){if(t){if("string"==typeof t)return Wr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wr(t,e):void 0}}function Wr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Br(t,e,r){var n,i=Dr(r);try{for(i.s();!(n=i.n()).done;){var a=n.value;e.addEventListener(a,t[a].bind(t))}}catch(t){i.e(t)}finally{i.f()}}var Gr=new WeakMap,Hr=function(){return Lr((function t(){Tr(this,t),Cr(this,Gr,0)}),[{key:"id",get:function(){var t,e;return"".concat("pdfjs_internal_editor_").concat((Rr(Gr,this,(t=Ir(Gr,this),e=t++,t)),e))}}])}(),Ur=new WeakMap,zr=new WeakMap,Vr=new WeakMap,qr=new WeakSet,Yr=function(){return Lr((function t(){Tr(this,t),Or(this,qr),Cr(this,Ur,function(){var t,e;if("undefined"!=typeof crypto&&"function"==typeof(null===(t=crypto)||void 0===t?void 0:t.randomUUID))return crypto.randomUUID();var r=new Uint8Array(32);if("undefined"!=typeof crypto&&"function"==typeof(null===(e=crypto)||void 0===e?void 0:e.getRandomValues))crypto.getRandomValues(r);else for(var n=0;n<32;n++)r[n]=Math.floor(255*Math.random());return X(r)}()),Cr(this,zr,0),Cr(this,Vr,null)}),[{key:"getFromFile",value:(n=Sr(_r().mark((function t(e){var r,n,i,a;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.lastModified,n=e.name,i=e.size,a=e.type,t.abrupt("return",Fr(qr,this,Xr).call(this,"".concat(r,"_").concat(n,"_").concat(i,"_").concat(a),e));case 2:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"getFromUrl",value:(r=Sr(_r().mark((function t(e){return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Fr(qr,this,Xr).call(this,e,e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"getFromBlob",value:(e=Sr(_r().mark((function t(e,r){var n;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r;case 2:return n=t.sent,t.abrupt("return",Fr(qr,this,Xr).call(this,e,n));case 4:case"end":return t.stop()}}),t,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"getFromId",value:(t=Sr(_r().mark((function t(e){var r,n;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Ir(Vr,this)||Rr(Vr,this,new Map),r=Ir(Vr,this).get(e)){t.next=4;break}return t.abrupt("return",null);case 4:if(!r.bitmap){t.next=7;break}return r.refCounter+=1,t.abrupt("return",r);case 7:if(!r.file){t.next=9;break}return t.abrupt("return",this.getFromFile(r.file));case 9:if(!r.blobPromise){t.next=13;break}return n=r.blobPromise,delete r.blobPromise,t.abrupt("return",this.getFromBlob(r.id,n));case 13:return t.abrupt("return",this.getFromUrl(r.url));case 14:case"end":return t.stop()}}),t,this)}))),function(e){return t.apply(this,arguments)})},{key:"getFromCanvas",value:function(t,e){var r,n,i;Ir(Vr,this)||Rr(Vr,this,new Map);var a=Ir(Vr,this).get(t);if(null!==(i=a)&&void 0!==i&&i.bitmap)return a.refCounter+=1,a;var o=new OffscreenCanvas(e.width,e.height);return o.getContext("2d").drawImage(e,0,0),a={bitmap:o.transferToImageBitmap(),id:"image_".concat(Ir(Ur,this),"_").concat((Rr(zr,this,(r=Ir(zr,this),n=r++,r)),n)),refCounter:1,isSvg:!1},Ir(Vr,this).set(t,a),Ir(Vr,this).set(a.id,a),a}},{key:"getSvgUrl",value:function(t){var e=Ir(Vr,this).get(t);return null!=e&&e.isSvg?e.svgUrl:null}},{key:"deleteId",value:function(t){var e;Ir(Vr,this)||Rr(Vr,this,new Map);var r=Ir(Vr,this).get(t);if(r&&(r.refCounter-=1,0===r.refCounter)){var n=r.bitmap;if(!r.url&&!r.file){var i=new OffscreenCanvas(n.width,n.height);i.getContext("bitmaprenderer").transferFromImageBitmap(n),r.blobPromise=i.convertToBlob()}null===(e=n.close)||void 0===e||e.call(n),r.bitmap=null}}},{key:"isValidId",value:function(t){return t.startsWith("image_".concat(Ir(Ur,this),"_"))}}],[{key:"_isSVGFittingCanvas",get:function(){var t=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),e=new Image;return e.src='data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 1 1" width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" style="fill:red;"/></svg>',W(this,"_isSVGFittingCanvas",e.decode().then((function(){return t.drawImage(e,0,0,1,1,0,0,1,3),0===new Uint32Array(t.getImageData(0,0,1,1).data.buffer)[0]})))}}]);var t,e,r,n}();function Xr(t,e){return Kr.apply(this,arguments)}function Kr(){return(Kr=Sr(_r().mark((function t(e,r){var n,i,a,o,s,u,c,l,h;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Ir(Vr,this)||Rr(Vr,this,new Map),null!==(i=Ir(Vr,this).get(e))){t.next=4;break}return t.abrupt("return",null);case 4:if(null===(n=i)||void 0===n||!n.bitmap){t.next=7;break}return i.refCounter+=1,t.abrupt("return",i);case 7:if(t.prev=7,i||(i={bitmap:null,id:"image_".concat(Ir(Ur,this),"_").concat((Rr(zr,this,(a=Ir(zr,this),o=a++,a)),o)),refCounter:0,isSvg:!1}),"string"!=typeof r){t.next=16;break}return i.url=r,t.next=13,ve(r,"blob");case 13:s=t.sent,t.next=17;break;case 16:r instanceof File?s=i.file=r:r instanceof Blob&&(s=r);case 17:if("image/svg+xml"!==s.type){t.next=27;break}return u=hr._isSVGFittingCanvas,c=new FileReader,l=new Image,h=new Promise((function(t,e){l.onload=function(){i.bitmap=l,i.isSvg=!0,t()},c.onload=Sr(_r().mark((function t(){var e;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=i.svgUrl=c.result,t.next=3,u;case 3:if(!t.sent){t.next=7;break}t.t0="".concat(e,"#svgView(preserveAspectRatio(none))"),t.next=8;break;case 7:t.t0=e;case 8:l.src=t.t0;case 9:case"end":return t.stop()}}),t)}))),l.onerror=c.onerror=e})),c.readAsDataURL(s),t.next=25,h;case 25:t.next=30;break;case 27:return t.next=29,createImageBitmap(s);case 29:i.bitmap=t.sent;case 30:i.refCounter=1,t.next=37;break;case 33:t.prev=33,t.t0=t.catch(7),console.error(t.t0),i=null;case 37:return Ir(Vr,this).set(e,i),i&&Ir(Vr,this).set(i.id,i),t.abrupt("return",i);case 40:case"end":return t.stop()}}),t,this,[[7,33]])})))).apply(this,arguments)}hr=Yr;var Qr=new WeakMap,Jr=new WeakMap,$r=new WeakMap,Zr=new WeakMap,tn=function(){return Lr((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:128;Tr(this,t),Cr(this,Qr,[]),Cr(this,Jr,!1),Cr(this,$r,void 0),Cr(this,Zr,-1),Rr($r,this,e)}),[{key:"add",value:function(t){var e=t.cmd,r=t.undo,n=t.post,i=t.mustExec,a=t.type,o=void 0===a?NaN:a,s=t.overwriteIfSameType,u=void 0!==s&&s,c=t.keepUndo,l=void 0!==c&&c;if(i&&e(),!Ir(Jr,this)){var h={cmd:e,undo:r,post:n,type:o};if(-1===Ir(Zr,this))return Ir(Qr,this).length>0&&(Ir(Qr,this).length=0),Rr(Zr,this,0),void Ir(Qr,this).push(h);if(u&&Ir(Qr,this)[Ir(Zr,this)].type===o)return l&&(h.undo=Ir(Qr,this)[Ir(Zr,this)].undo),void(Ir(Qr,this)[Ir(Zr,this)]=h);var f=Ir(Zr,this)+1;f===Ir($r,this)?Ir(Qr,this).splice(0,1):(Rr(Zr,this,f),f<Ir(Qr,this).length&&Ir(Qr,this).splice(f)),Ir(Qr,this).push(h)}}},{key:"undo",value:function(){if(-1!==Ir(Zr,this)){Rr(Jr,this,!0);var t=Ir(Qr,this)[Ir(Zr,this)],e=t.undo,r=t.post;e(),null==r||r(),Rr(Jr,this,!1),Rr(Zr,this,Ir(Zr,this)-1)}}},{key:"redo",value:function(){if(Ir(Zr,this)<Ir(Qr,this).length-1){Rr(Zr,this,Ir(Zr,this)+1),Rr(Jr,this,!0);var t=Ir(Qr,this)[Ir(Zr,this)],e=t.cmd,r=t.post;e(),null==r||r(),Rr(Jr,this,!1)}}},{key:"hasSomethingToUndo",value:function(){return-1!==Ir(Zr,this)}},{key:"hasSomethingToRedo",value:function(){return Ir(Zr,this)<Ir(Qr,this).length-1}},{key:"destroy",value:function(){Rr(Qr,this,null)}}])}(),en=new WeakSet,rn=function(){return Lr((function t(e){Tr(this,t),Or(this,en),this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;var r,n=J.platform.isMac,i=Dr(e);try{for(i.s();!(r=i.n()).done;){var a,o=Ar(r.value,3),s=o[0],u=o[1],c=o[2],l=void 0===c?{}:c,h=Dr(s);try{for(h.s();!(a=h.n()).done;){var f=a.value,d=f.startsWith("mac+");n&&d?(this.callbacks.set(f.slice(4),{callback:u,options:l}),this.allKeys.add(f.split("+").at(-1))):n||d||(this.callbacks.set(f,{callback:u,options:l}),this.allKeys.add(f.split("+").at(-1)))}}catch(t){h.e(t)}finally{h.f()}}}catch(t){i.e(t)}finally{i.f()}}),[{key:"exec",value:function(t,e){if(this.allKeys.has(e.key)){var r=this.callbacks.get(Fr(en,this,nn).call(this,e));if(r){var n=r.callback,i=r.options,a=i.bubbles,o=void 0!==a&&a,s=i.args,u=void 0===s?[]:s,c=i.checker,l=void 0===c?null:c;l&&!l(t,e)||(n.bind.apply(n,[t].concat(xr(u),[e]))(),o||(e.stopPropagation(),e.preventDefault()))}}}}])}();function nn(t){t.altKey&&this.buffer.push("alt"),t.ctrlKey&&this.buffer.push("ctrl"),t.metaKey&&this.buffer.push("meta"),t.shiftKey&&this.buffer.push("shift"),this.buffer.push(t.key);var e=this.buffer.join("+");return this.buffer.length=0,e}var an=function(){function t(){Tr(this,t)}return Lr(t,[{key:"_colors",get:function(){var t=new Map([["CanvasText",null],["Canvas",null]]);return function(t){var e=document.createElement("span");e.style.visibility="hidden",document.body.append(e);var r,n=xt(t.keys());try{for(n.s();!(r=n.n()).done;){var i=r.value;e.style.color=i;var a=window.getComputedStyle(e).color;t.set(i,Ce(a))}}catch(t){n.e(t)}finally{n.f()}e.remove()}(t),W(this,"_colors",t)}},{key:"convert",value:function(e){var r=Ce(e);if(!window.matchMedia("(forced-colors: active)").matches)return r;var n,i=Dr(this._colors);try{for(i.s();!(n=i.n()).done;){var a=Ar(n.value,2),o=a[0];if(a[1].every((function(t,e){return t===r[e]})))return t._colorsMapping.get(o)}}catch(t){i.e(t)}finally{i.f()}return r}},{key:"getHexCode",value:function(t){var e=this._colors.get(t);return e?Z.makeHexColor.apply(Z,xr(e)):t}}])}();kr(an,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));var on,sn=new WeakMap,un=new WeakMap,cn=new WeakMap,ln=new WeakMap,hn=new WeakMap,fn=new WeakMap,dn=new WeakMap,vn=new WeakMap,pn=new WeakMap,yn=new WeakMap,gn=new WeakMap,mn=new WeakMap,bn=new WeakMap,wn=new WeakMap,kn=new WeakMap,xn=new WeakMap,An=new WeakMap,_n=new WeakMap,En=new WeakMap,Sn=new WeakMap,On=new WeakMap,Tn=new WeakMap,Pn=new WeakMap,Ln=new WeakMap,Mn=new WeakMap,Cn=new WeakMap,jn=new WeakMap,In=new WeakMap,Rn=new WeakMap,Fn=new WeakMap,Dn=new WeakMap,Nn=new WeakMap,Wn=new WeakMap,Bn=new WeakMap,Gn=new WeakMap,Hn=new WeakMap,Un=new WeakMap,zn=new WeakMap,Vn=new WeakMap,qn=new WeakMap,Yn=new WeakMap,Xn=new WeakSet,Kn=function(){function t(e,r,n,i,a,o,s,u,c,l,h){var f=this;Tr(this,t),Or(this,Xn),Cr(this,sn,new AbortController),Cr(this,un,null),Cr(this,cn,new Map),Cr(this,ln,new Map),Cr(this,hn,null),Cr(this,fn,null),Cr(this,dn,null),Cr(this,vn,new tn),Cr(this,pn,null),Cr(this,yn,0),Cr(this,gn,new Set),Cr(this,mn,null),Cr(this,bn,null),Cr(this,wn,new Set),Cr(this,kn,!1),Cr(this,xn,!1),Cr(this,An,!1),Cr(this,_n,null),Cr(this,En,null),Cr(this,Sn,null),Cr(this,On,null),Cr(this,Tn,!1),Cr(this,Pn,null),Cr(this,Ln,new Hr),Cr(this,Mn,!1),Cr(this,Cn,!1),Cr(this,jn,null),Cr(this,In,null),Cr(this,Rn,null),Cr(this,Fn,null),Cr(this,Dn,A.NONE),Cr(this,Nn,new Set),Cr(this,Wn,null),Cr(this,Bn,null),Cr(this,Gn,null),Cr(this,Hn,{isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1}),Cr(this,Un,[0,0]),Cr(this,zn,null),Cr(this,Vn,null),Cr(this,qn,null),Cr(this,Yn,null);var d=this._signal=Ir(sn,this).signal;Rr(Vn,this,e),Rr(qn,this,r),Rr(hn,this,n),this._eventBus=i,i._on("editingaction",this.onEditingAction.bind(this),{signal:d}),i._on("pagechanging",this.onPageChanging.bind(this),{signal:d}),i._on("scalechanging",this.onScaleChanging.bind(this),{signal:d}),i._on("rotationchanging",this.onRotationChanging.bind(this),{signal:d}),i._on("setpreference",this.onSetPreference.bind(this),{signal:d}),i._on("switchannotationeditorparams",(function(t){return f.updateParams(t.type,t.value)}),{signal:d}),Fr(Xn,this,ei).call(this),Fr(Xn,this,ui).call(this),Fr(Xn,this,ii).call(this),Rr(fn,this,a.annotationStorage),Rr(_n,this,a.filterFactory),Rr(Bn,this,o),Rr(On,this,s||null),Rr(kn,this,u),Rr(xn,this,c),Rr(An,this,l),Rr(Fn,this,h||null),this.viewParameters={realScale:Vt.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1}return Lr(t,[{key:"destroy",value:function(){var t,e,r,n;null===(t=Ir(Yn,this))||void 0===t||t.resolve(),Rr(Yn,this,null),null===(e=Ir(sn,this))||void 0===e||e.abort(),Rr(sn,this,null),this._signal=null;var i,a=Dr(Ir(ln,this).values());try{for(a.s();!(i=a.n()).done;)i.value.destroy()}catch(t){a.e(t)}finally{a.f()}Ir(ln,this).clear(),Ir(cn,this).clear(),Ir(wn,this).clear(),Rr(un,this,null),Ir(Nn,this).clear(),Ir(vn,this).destroy(),null===(r=Ir(hn,this))||void 0===r||r.destroy(),null===(n=Ir(Pn,this))||void 0===n||n.hide(),Rr(Pn,this,null),Ir(En,this)&&(clearTimeout(Ir(En,this)),Rr(En,this,null)),Ir(zn,this)&&(clearTimeout(Ir(zn,this)),Rr(zn,this,null))}},{key:"combinedSignal",value:function(t){return AbortSignal.any([this._signal,t.signal])}},{key:"mlManager",get:function(){return Ir(Fn,this)}},{key:"useNewAltTextFlow",get:function(){return Ir(xn,this)}},{key:"useNewAltTextWhenAddingImage",get:function(){return Ir(An,this)}},{key:"hcmFilter",get:function(){return W(this,"hcmFilter",Ir(Bn,this)?Ir(_n,this).addHCMFilter(Ir(Bn,this).foreground,Ir(Bn,this).background):"none")}},{key:"direction",get:function(){return W(this,"direction",getComputedStyle(Ir(Vn,this)).direction)}},{key:"highlightColors",get:function(){return W(this,"highlightColors",Ir(On,this)?new Map(Ir(On,this).split(",").map((function(t){return t.split("=").map((function(t){return t.trim()}))}))):null)}},{key:"highlightColorNames",get:function(){return W(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,(function(t){return t.reverse()}))):null)}},{key:"setMainHighlightColorPicker",value:function(t){Rr(Rn,this,t)}},{key:"editAltText",value:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];null===(e=Ir(hn,this))||void 0===e||e.editAltText(this,t,r)}},{key:"switchToMode",value:function(t,e){this._eventBus.on("annotationeditormodechanged",e,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:t})}},{key:"setPreference",value:function(t,e){this._eventBus.dispatch("setpreference",{source:this,name:t,value:e})}},{key:"onSetPreference",value:function(t){var e=t.name,r=t.value;"enableNewAltTextWhenAddingImage"===e&&Rr(An,this,r)}},{key:"onPageChanging",value:function(t){var e=t.pageNumber;Rr(yn,this,e-1)}},{key:"focusMainContainer",value:function(){Ir(Vn,this).focus()}},{key:"findParent",value:function(t,e){var r,n=Dr(Ir(ln,this).values());try{for(n.s();!(r=n.n()).done;){var i=r.value,a=i.div.getBoundingClientRect(),o=a.x,s=a.y,u=a.width,c=a.height;if(t>=o&&t<=o+u&&e>=s&&e<=s+c)return i}}catch(t){n.e(t)}finally{n.f()}return null}},{key:"disableUserSelect",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Ir(qn,this).classList.toggle("noUserSelect",t)}},{key:"addShouldRescale",value:function(t){Ir(wn,this).add(t)}},{key:"removeShouldRescale",value:function(t){Ir(wn,this).delete(t)}},{key:"onScaleChanging",value:function(t){var e=t.scale;this.commitOrRemove(),this.viewParameters.realScale=e*Vt.PDF_TO_CSS_UNITS;var r,n=Dr(Ir(wn,this));try{for(n.s();!(r=n.n()).done;)r.value.onScaleChanging()}catch(t){n.e(t)}finally{n.f()}}},{key:"onRotationChanging",value:function(t){var e=t.pagesRotation;this.commitOrRemove(),this.viewParameters.rotation=e}},{key:"highlightSelection",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=document.getSelection();if(r&&!r.isCollapsed){var n=r.anchorNode,i=r.anchorOffset,a=r.focusNode,o=r.focusOffset,s=r.toString(),u=Fr(Xn,this,Qn).call(this,r).closest(".textLayer"),c=this.getSelectionBoxes(u);if(c){r.empty();var l=Fr(Xn,this,Jn).call(this,u),h=Ir(Dn,this)===A.NONE,f=function(){null==l||l.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:e,boxes:c,anchorNode:n,anchorOffset:i,focusNode:a,focusOffset:o,text:s}),h&&t.showAllEditors("highlight",!0,!0)};h?this.switchToMode(A.HIGHLIGHT,f):f()}}}},{key:"addToAnnotationStorage",value:function(t){t.isEmpty()||!Ir(fn,this)||Ir(fn,this).has(t.id)||Ir(fn,this).setValue(t.id,t)}},{key:"blur",value:function(){if(this.isShiftKeyDown=!1,Ir(Tn,this)&&(Rr(Tn,this,!1),Fr(Xn,this,ti).call(this,"main_toolbar")),this.hasSelection){var t,e=document.activeElement,r=Dr(Ir(Nn,this));try{for(r.s();!(t=r.n()).done;){var n=t.value;if(n.div.contains(e)){Rr(In,this,[n,e]),n._focusEventsAllowed=!1;break}}}catch(t){r.e(t)}finally{r.f()}}}},{key:"focus",value:function(){if(Ir(In,this)){var t=Ar(Ir(In,this),2),e=t[0],r=t[1];Rr(In,this,null),r.addEventListener("focusin",(function(){e._focusEventsAllowed=!0}),{once:!0,signal:this._signal}),r.focus()}}},{key:"addEditListeners",value:function(){Fr(Xn,this,ii).call(this),Fr(Xn,this,oi).call(this)}},{key:"removeEditListeners",value:function(){Fr(Xn,this,ai).call(this),Fr(Xn,this,si).call(this)}},{key:"dragOver",value:function(t){var e,r=Dr(t.dataTransfer.items);try{for(r.s();!(e=r.n()).done;){var n,i=e.value.type,a=Dr(Ir(bn,this));try{for(a.s();!(n=a.n()).done;)if(n.value.isHandlingMimeForPasting(i))return t.dataTransfer.dropEffect="copy",void t.preventDefault()}catch(t){a.e(t)}finally{a.f()}}}catch(t){r.e(t)}finally{r.f()}}},{key:"drop",value:function(t){var e,r=Dr(t.dataTransfer.items);try{for(r.s();!(e=r.n()).done;){var n,i=e.value,a=Dr(Ir(bn,this));try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.isHandlingMimeForPasting(i.type))return o.paste(i,this.currentLayer),void t.preventDefault()}}catch(t){a.e(t)}finally{a.f()}}}catch(t){r.e(t)}finally{r.f()}}},{key:"copy",value:function(t){var e;if(t.preventDefault(),null===(e=Ir(un,this))||void 0===e||e.commitOrRemove(),this.hasSelection){var r,n=[],i=Dr(Ir(Nn,this));try{for(i.s();!(r=i.n()).done;){var a=r.value.serialize(!0);a&&n.push(a)}}catch(t){i.e(t)}finally{i.f()}0!==n.length&&t.clipboardData.setData("application/pdfjs",JSON.stringify(n))}}},{key:"cut",value:function(t){this.copy(t),this.delete()}},{key:"paste",value:(r=Sr(_r().mark((function t(e){var r,n,i,a,o,s,u,c,l,h,f,d,v,p,y,g,m=this;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.preventDefault(),r=e.clipboardData,n=Dr(r.items),t.prev=3,n.s();case 5:if((i=n.n()).done){t.next=27;break}a=i.value,o=Dr(Ir(bn,this)),t.prev=8,o.s();case 10:if((s=o.n()).done){t.next=17;break}if(!(u=s.value).isHandlingMimeForPasting(a.type)){t.next=15;break}return u.paste(a,this.currentLayer),t.abrupt("return");case 15:t.next=10;break;case 17:t.next=22;break;case 19:t.prev=19,t.t0=t.catch(8),o.e(t.t0);case 22:return t.prev=22,o.f(),t.finish(22);case 25:t.next=5;break;case 27:t.next=32;break;case 29:t.prev=29,t.t1=t.catch(3),n.e(t.t1);case 32:return t.prev=32,n.f(),t.finish(32);case 35:if(c=r.getData("application/pdfjs")){t.next=38;break}return t.abrupt("return");case 38:t.prev=38,c=JSON.parse(c),t.next=46;break;case 42:return t.prev=42,t.t2=t.catch(38),R('paste: "'.concat(t.t2.message,'".')),t.abrupt("return");case 46:if(Array.isArray(c)){t.next=48;break}return t.abrupt("return");case 48:this.unselectAll(),l=this.currentLayer,t.prev=50,h=[],f=Dr(c),t.prev=53,f.s();case 55:if((d=f.n()).done){t.next=65;break}return v=d.value,t.next=59,l.deserialize(v);case 59:if(p=t.sent){t.next=62;break}return t.abrupt("return");case 62:h.push(p);case 63:t.next=55;break;case 65:t.next=70;break;case 67:t.prev=67,t.t3=t.catch(53),f.e(t.t3);case 70:return t.prev=70,f.f(),t.finish(70);case 73:y=function(){for(var t=0,e=h;t<e.length;t++){var r=e[t];Fr(Xn,m,vi).call(m,r)}Fr(Xn,m,yi).call(m,h)},g=function(){for(var t=0,e=h;t<e.length;t++)e[t].remove()},this.addCommands({cmd:y,undo:g,mustExec:!0}),t.next=81;break;case 78:t.prev=78,t.t4=t.catch(50),R('paste: "'.concat(t.t4.message,'".'));case 81:case"end":return t.stop()}}),t,this,[[3,29,32,35],[8,19,22,25],[38,42],[50,78],[53,67,70,73]])}))),function(t){return r.apply(this,arguments)})},{key:"keydown",value:function(e){this.isShiftKeyDown||"Shift"!==e.key||(this.isShiftKeyDown=!0),Ir(Dn,this)===A.NONE||this.isEditorHandlingKeyboard||t._keyboardManager.exec(this,e)}},{key:"keyup",value:function(t){this.isShiftKeyDown&&"Shift"===t.key&&(this.isShiftKeyDown=!1,Ir(Tn,this)&&(Rr(Tn,this,!1),Fr(Xn,this,ti).call(this,"main_toolbar")))}},{key:"onEditingAction",value:function(t){var e=t.name;switch(e){case"undo":case"redo":case"delete":case"selectAll":this[e]();break;case"highlightSelection":this.highlightSelection("context_menu")}}},{key:"setEditingState",value:function(t){t?(Fr(Xn,this,ri).call(this),Fr(Xn,this,oi).call(this),Fr(Xn,this,ci).call(this,{isEditing:Ir(Dn,this)!==A.NONE,isEmpty:Fr(Xn,this,pi).call(this),hasSomethingToUndo:Ir(vn,this).hasSomethingToUndo(),hasSomethingToRedo:Ir(vn,this).hasSomethingToRedo(),hasSelectedEditor:!1})):(Fr(Xn,this,ni).call(this),Fr(Xn,this,si).call(this),Fr(Xn,this,ci).call(this,{isEditing:!1}),this.disableUserSelect(!1))}},{key:"registerEditorTypes",value:function(t){if(!Ir(bn,this)){Rr(bn,this,t);var e,r=Dr(Ir(bn,this));try{for(r.s();!(e=r.n()).done;){var n=e.value;Fr(Xn,this,li).call(this,n.defaultPropertiesToUpdate)}}catch(t){r.e(t)}finally{r.f()}}}},{key:"getId",value:function(){return Ir(Ln,this).id}},{key:"currentLayer",get:function(){return Ir(ln,this).get(Ir(yn,this))}},{key:"getLayer",value:function(t){return Ir(ln,this).get(t)}},{key:"currentPageIndex",get:function(){return Ir(yn,this)}},{key:"addLayer",value:function(t){Ir(ln,this).set(t.pageIndex,t),Ir(Mn,this)?t.enable():t.disable()}},{key:"removeLayer",value:function(t){Ir(ln,this).delete(t.pageIndex)}},{key:"updateMode",value:(e=Sr(_r().mark((function t(e){var r,n,i,a,o,s,u,c=arguments;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=c.length>1&&void 0!==c[1]?c[1]:null,n=c.length>2&&void 0!==c[2]&&c[2],Ir(Dn,this)!==e){t.next=4;break}return t.abrupt("return");case 4:if(!Ir(Yn,this)){t.next=9;break}return t.next=7,Ir(Yn,this).promise;case 7:if(Ir(Yn,this)){t.next=9;break}return t.abrupt("return");case 9:if(Rr(Yn,this,Promise.withResolvers()),Rr(Dn,this,e),e!==A.NONE){t.next=16;break}return this.setEditingState(!1),Fr(Xn,this,di).call(this),Ir(Yn,this).resolve(),t.abrupt("return");case 16:return this.setEditingState(!0),t.next=19,Fr(Xn,this,hi).call(this);case 19:this.unselectAll(),i=Dr(Ir(ln,this).values());try{for(i.s();!(a=i.n()).done;)a.value.updateMode(e)}catch(t){i.e(t)}finally{i.f()}if(r){t.next=26;break}return n&&this.addNewEditorFromKeyboard(),Ir(Yn,this).resolve(),t.abrupt("return");case 26:o=Dr(Ir(cn,this).values());try{for(o.s();!(s=o.n()).done;)(u=s.value).annotationElementId===r?(this.setSelected(u),u.enterInEditMode()):u.unselect()}catch(t){o.e(t)}finally{o.f()}Ir(Yn,this).resolve();case 29:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"addNewEditorFromKeyboard",value:function(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}},{key:"updateToolbar",value:function(t){t!==Ir(Dn,this)&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:t})}},{key:"updateParams",value:function(t,e){var r;if(Ir(bn,this)){switch(t){case _.CREATE:return void this.currentLayer.addNewEditor();case _.HIGHLIGHT_DEFAULT_COLOR:null===(r=Ir(Rn,this))||void 0===r||r.updateColor(e);break;case _.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(Ir(Gn,this)||Rr(Gn,this,new Map)).set(t,e),this.showAllEditors("highlight",e)}var n,i=Dr(Ir(Nn,this));try{for(i.s();!(n=i.n()).done;)n.value.updateParams(t,e)}catch(t){i.e(t)}finally{i.f()}var a,o=Dr(Ir(bn,this));try{for(o.s();!(a=o.n()).done;)a.value.updateDefaultParams(t,e)}catch(t){o.e(t)}finally{o.f()}}}},{key:"showAllEditors",value:function(t,e){var r,n,i,a=Dr(Ir(cn,this).values());try{for(a.s();!(i=a.n()).done;){var o=i.value;o.editorType===t&&o.show(e)}}catch(t){a.e(t)}finally{a.f()}(null===(r=null===(n=Ir(Gn,this))||void 0===n?void 0:n.get(_.HIGHLIGHT_SHOW_ALL))||void 0===r||r)!==e&&Fr(Xn,this,li).call(this,[[_.HIGHLIGHT_SHOW_ALL,e]])}},{key:"enableWaiting",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(Ir(Cn,this)!==t){Rr(Cn,this,t);var e,r=Dr(Ir(ln,this).values());try{for(r.s();!(e=r.n()).done;){var n=e.value;t?n.disableClick():n.enableClick(),n.div.classList.toggle("waiting",t)}}catch(t){r.e(t)}finally{r.f()}}}},{key:"getEditors",value:function(t){var e,r=[],n=Dr(Ir(cn,this).values());try{for(n.s();!(e=n.n()).done;){var i=e.value;i.pageIndex===t&&r.push(i)}}catch(t){n.e(t)}finally{n.f()}return r}},{key:"getEditor",value:function(t){return Ir(cn,this).get(t)}},{key:"addEditor",value:function(t){Ir(cn,this).set(t.id,t)}},{key:"removeEditor",value:function(t){var e,r=this;t.div.contains(document.activeElement)&&(Ir(En,this)&&clearTimeout(Ir(En,this)),Rr(En,this,setTimeout((function(){r.focusMainContainer(),Rr(En,r,null)}),0))),Ir(cn,this).delete(t.id),this.unselect(t),t.annotationElementId&&Ir(gn,this).has(t.annotationElementId)||null===(e=Ir(fn,this))||void 0===e||e.remove(t.id)}},{key:"addDeletedAnnotationElement",value:function(t){Ir(gn,this).add(t.annotationElementId),this.addChangedExistingAnnotation(t),t.deleted=!0}},{key:"isDeletedAnnotationElement",value:function(t){return Ir(gn,this).has(t)}},{key:"removeDeletedAnnotationElement",value:function(t){Ir(gn,this).delete(t.annotationElementId),this.removeChangedExistingAnnotation(t),t.deleted=!1}},{key:"setActiveEditor",value:function(t){Ir(un,this)!==t&&(Rr(un,this,t),t&&Fr(Xn,this,li).call(this,t.propertiesToUpdate))}},{key:"updateUI",value:function(t){(function(t){var e,r=null,n=Dr(Ir(Nn,t));try{for(n.s();!(e=n.n()).done;)r=e.value}catch(t){n.e(t)}finally{n.f()}return r})(Fr(Xn,this))===t&&Fr(Xn,this,li).call(this,t.propertiesToUpdate)}},{key:"toggleSelected",value:function(t){if(Ir(Nn,this).has(t))return Ir(Nn,this).delete(t),t.unselect(),void Fr(Xn,this,ci).call(this,{hasSelectedEditor:this.hasSelection});Ir(Nn,this).add(t),t.select(),Fr(Xn,this,li).call(this,t.propertiesToUpdate),Fr(Xn,this,ci).call(this,{hasSelectedEditor:!0})}},{key:"setSelected",value:function(t){var e,r=Dr(Ir(Nn,this));try{for(r.s();!(e=r.n()).done;){var n=e.value;n!==t&&n.unselect()}}catch(t){r.e(t)}finally{r.f()}Ir(Nn,this).clear(),Ir(Nn,this).add(t),t.select(),Fr(Xn,this,li).call(this,t.propertiesToUpdate),Fr(Xn,this,ci).call(this,{hasSelectedEditor:!0})}},{key:"isSelected",value:function(t){return Ir(Nn,this).has(t)}},{key:"firstSelectedEditor",get:function(){return Ir(Nn,this).values().next().value}},{key:"unselect",value:function(t){t.unselect(),Ir(Nn,this).delete(t),Fr(Xn,this,ci).call(this,{hasSelectedEditor:this.hasSelection})}},{key:"hasSelection",get:function(){return 0!==Ir(Nn,this).size}},{key:"isEnterHandled",get:function(){return 1===Ir(Nn,this).size&&this.firstSelectedEditor.isEnterHandled}},{key:"undo",value:function(){Ir(vn,this).undo(),Fr(Xn,this,ci).call(this,{hasSomethingToUndo:Ir(vn,this).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:Fr(Xn,this,pi).call(this)})}},{key:"redo",value:function(){Ir(vn,this).redo(),Fr(Xn,this,ci).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:Ir(vn,this).hasSomethingToRedo(),isEmpty:Fr(Xn,this,pi).call(this)})}},{key:"addCommands",value:function(t){Ir(vn,this).add(t),Fr(Xn,this,ci).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:Fr(Xn,this,pi).call(this)})}},{key:"delete",value:function(){var t=this;if(this.commitOrRemove(),this.hasSelection){var e=xr(Ir(Nn,this));this.addCommands({cmd:function(){var t,r=Dr(e);try{for(r.s();!(t=r.n()).done;)t.value.remove()}catch(t){r.e(t)}finally{r.f()}},undo:function(){var r,n=Dr(e);try{for(n.s();!(r=n.n()).done;){var i=r.value;Fr(Xn,t,vi).call(t,i)}}catch(t){n.e(t)}finally{n.f()}},mustExec:!0})}}},{key:"commitOrRemove",value:function(){var t;null===(t=Ir(un,this))||void 0===t||t.commitOrRemove()}},{key:"hasSomethingToControl",value:function(){return Ir(un,this)||this.hasSelection}},{key:"selectAll",value:function(){var t,e=Dr(Ir(Nn,this));try{for(e.s();!(t=e.n()).done;)t.value.commit()}catch(t){e.e(t)}finally{e.f()}Fr(Xn,this,yi).call(this,Ir(cn,this).values())}},{key:"unselectAll",value:function(){if((!Ir(un,this)||(Ir(un,this).commitOrRemove(),Ir(Dn,this)===A.NONE))&&this.hasSelection){var t,e=Dr(Ir(Nn,this));try{for(e.s();!(t=e.n()).done;)t.value.unselect()}catch(t){e.e(t)}finally{e.f()}Ir(Nn,this).clear(),Fr(Xn,this,ci).call(this,{hasSelectedEditor:!1})}}},{key:"translateSelectedEditors",value:function(t,e){var r=this;if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]||this.commitOrRemove(),this.hasSelection){Ir(Un,this)[0]+=t,Ir(Un,this)[1]+=e;var n=Ar(Ir(Un,this),2),i=n[0],a=n[1],o=xr(Ir(Nn,this));Ir(zn,this)&&clearTimeout(Ir(zn,this)),Rr(zn,this,setTimeout((function(){Rr(zn,r,null),Ir(Un,r)[0]=Ir(Un,r)[1]=0,r.addCommands({cmd:function(){var t,e=Dr(o);try{for(e.s();!(t=e.n()).done;){var n=t.value;Ir(cn,r).has(n.id)&&n.translateInPage(i,a)}}catch(t){e.e(t)}finally{e.f()}},undo:function(){var t,e=Dr(o);try{for(e.s();!(t=e.n()).done;){var n=t.value;Ir(cn,r).has(n.id)&&n.translateInPage(-i,-a)}}catch(t){e.e(t)}finally{e.f()}},mustExec:!1})}),1e3));var s,u=Dr(o);try{for(u.s();!(s=u.n()).done;)s.value.translateInPage(t,e)}catch(t){u.e(t)}finally{u.f()}}}},{key:"setUpDragSession",value:function(){if(this.hasSelection){this.disableUserSelect(!0),Rr(mn,this,new Map);var t,e=Dr(Ir(Nn,this));try{for(e.s();!(t=e.n()).done;){var r=t.value;Ir(mn,this).set(r,{savedX:r.x,savedY:r.y,savedPageIndex:r.pageIndex,newX:0,newY:0,newPageIndex:-1})}}catch(t){e.e(t)}finally{e.f()}}}},{key:"endDragSession",value:function(){var t=this;if(!Ir(mn,this))return!1;this.disableUserSelect(!1);var e=Ir(mn,this);Rr(mn,this,null);var r,n=!1,i=Dr(e);try{for(i.s();!(r=i.n()).done;){var a=Ar(r.value,2),o=a[0],s=o.x,u=o.y,c=o.pageIndex,l=a[1];l.newX=s,l.newY=u,l.newPageIndex=c,n||(n=s!==l.savedX||u!==l.savedY||c!==l.savedPageIndex)}}catch(t){i.e(t)}finally{i.f()}if(!n)return!1;var h=function(e,r,n,i){if(Ir(cn,t).has(e.id)){var a=Ir(ln,t).get(i);a?e._setParentAndPosition(a,r,n):(e.pageIndex=i,e.x=r,e.y=n)}};return this.addCommands({cmd:function(){var t,r=Dr(e);try{for(r.s();!(t=r.n()).done;){var n=Ar(t.value,2),i=n[0],a=n[1],o=a.newX,s=a.newY,u=a.newPageIndex;h(i,o,s,u)}}catch(t){r.e(t)}finally{r.f()}},undo:function(){var t,r=Dr(e);try{for(r.s();!(t=r.n()).done;){var n=Ar(t.value,2),i=n[0],a=n[1],o=a.savedX,s=a.savedY,u=a.savedPageIndex;h(i,o,s,u)}}catch(t){r.e(t)}finally{r.f()}},mustExec:!0}),!0}},{key:"dragSelectedEditors",value:function(t,e){if(Ir(mn,this)){var r,n=Dr(Ir(mn,this).keys());try{for(n.s();!(r=n.n()).done;)r.value.drag(t,e)}catch(t){n.e(t)}finally{n.f()}}}},{key:"rebuild",value:function(t){if(null===t.parent){var e=this.getLayer(t.pageIndex);e?(e.changeParent(t),e.addOrRebuild(t)):(this.addEditor(t),this.addToAnnotationStorage(t),t.rebuild())}else t.parent.addOrRebuild(t)}},{key:"isEditorHandlingKeyboard",get:function(){var t;return(null===(t=this.getActive())||void 0===t?void 0:t.shouldGetKeyboardEvents())||1===Ir(Nn,this).size&&this.firstSelectedEditor.shouldGetKeyboardEvents()}},{key:"isActive",value:function(t){return Ir(un,this)===t}},{key:"getActive",value:function(){return Ir(un,this)}},{key:"getMode",value:function(){return Ir(Dn,this)}},{key:"imageManager",get:function(){return W(this,"imageManager",new Yr)}},{key:"getSelectionBoxes",value:function(t){if(!t)return null;for(var e=document.getSelection(),r=0,n=e.rangeCount;r<n;r++)if(!t.contains(e.getRangeAt(r).commonAncestorContainer))return null;var i,a=t.getBoundingClientRect(),o=a.x,s=a.y,u=a.width,c=a.height;switch(t.getAttribute("data-main-rotation")){case"90":i=function(t,e,r,n){return{x:(e-s)/c,y:1-(t+r-o)/u,width:n/c,height:r/u}};break;case"180":i=function(t,e,r,n){return{x:1-(t+r-o)/u,y:1-(e+n-s)/c,width:r/u,height:n/c}};break;case"270":i=function(t,e,r,n){return{x:1-(e+n-s)/c,y:(t-o)/u,width:n/c,height:r/u}};break;default:i=function(t,e,r,n){return{x:(t-o)/u,y:(e-s)/c,width:r/u,height:n/c}}}for(var l=[],h=0,f=e.rangeCount;h<f;h++){var d=e.getRangeAt(h);if(!d.collapsed){var v,p=Dr(d.getClientRects());try{for(p.s();!(v=p.n()).done;){var y=v.value,g=y.x,m=y.y,b=y.width,w=y.height;0!==b&&0!==w&&l.push(i(g,m,b,w))}}catch(t){p.e(t)}finally{p.f()}}}return 0===l.length?null:l}},{key:"addChangedExistingAnnotation",value:function(t){var e=t.annotationElementId,r=t.id;(Ir(dn,this)||Rr(dn,this,new Map)).set(e,r)}},{key:"removeChangedExistingAnnotation",value:function(t){var e,r=t.annotationElementId;null===(e=Ir(dn,this))||void 0===e||e.delete(r)}},{key:"renderAnnotationElement",value:function(t){var e,r=null===(e=Ir(dn,this))||void 0===e?void 0:e.get(t.data.id);if(r){var n=Ir(fn,this).getRawValue(r);n&&(Ir(Dn,this)!==A.NONE||n.hasBeenModified)&&n.renderAnnotationElement(t)}}}],[{key:"_keyboardManager",get:function(){var e=t.prototype,r=function(t){return Ir(Vn,t).contains(document.activeElement)&&"BUTTON"!==document.activeElement.tagName&&t.hasSomethingToControl()},n=function(t,e){var r=e.target;if(r instanceof HTMLInputElement){var n=r.type;return"text"!==n&&"number"!==n}return!0},i=this.TRANSLATE_SMALL,a=this.TRANSLATE_BIG;return W(this,"_keyboardManager",new rn([[["ctrl+a","mac+meta+a"],e.selectAll,{checker:n}],[["ctrl+z","mac+meta+z"],e.undo,{checker:n}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],e.redo,{checker:n}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],e.delete,{checker:n}],[["Enter","mac+Enter"],e.addNewEditorFromKeyboard,{checker:function(t,e){var r=e.target;return!(r instanceof HTMLButtonElement)&&Ir(Vn,t).contains(r)&&!t.isEnterHandled}}],[[" ","mac+ "],e.addNewEditorFromKeyboard,{checker:function(t,e){return!(e.target instanceof HTMLButtonElement)&&Ir(Vn,t).contains(document.activeElement)}}],[["Escape","mac+Escape"],e.unselectAll],[["ArrowLeft","mac+ArrowLeft"],e.translateSelectedEditors,{args:[-i,0],checker:r}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],e.translateSelectedEditors,{args:[-a,0],checker:r}],[["ArrowRight","mac+ArrowRight"],e.translateSelectedEditors,{args:[i,0],checker:r}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],e.translateSelectedEditors,{args:[a,0],checker:r}],[["ArrowUp","mac+ArrowUp"],e.translateSelectedEditors,{args:[0,-i],checker:r}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],e.translateSelectedEditors,{args:[0,-a],checker:r}],[["ArrowDown","mac+ArrowDown"],e.translateSelectedEditors,{args:[0,i],checker:r}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],e.translateSelectedEditors,{args:[0,a],checker:r}]]))}}]);var e,r}();function Qn(t){var e=t.anchorNode;return e.nodeType===Node.TEXT_NODE?e.parentElement:e}function Jn(t){var e=this.currentLayer;if(e.hasTextLayer(t))return e;var r,n=Dr(Ir(ln,this).values());try{for(n.s();!(r=n.n()).done;){var i=r.value;if(i.hasTextLayer(t))return i}}catch(t){n.e(t)}finally{n.f()}return null}function $n(){var t=document.getSelection();if(t&&!t.isCollapsed){var e=Fr(Xn,this,Qn).call(this,t).closest(".textLayer"),r=this.getSelectionBoxes(e);r&&(Ir(Pn,this)||Rr(Pn,this,new gr(this)),Ir(Pn,this).show(e,r,"ltr"===this.direction))}}function Zn(){var t,e=this,r=document.getSelection();if(r&&!r.isCollapsed){var n=r.anchorNode;if(n!==Ir(Wn,this)){var i,a=Fr(Xn,this,Qn).call(this,r).closest(".textLayer");if(a){if(null===(t=Ir(Pn,this))||void 0===t||t.hide(),Rr(Wn,this,n),Fr(Xn,this,ci).call(this,{hasSelectedText:!0}),(Ir(Dn,this)===A.HIGHLIGHT||Ir(Dn,this)===A.NONE)&&(Ir(Dn,this)===A.HIGHLIGHT&&this.showAllEditors("highlight",!0,!0),Rr(Tn,this,this.isShiftKeyDown),!this.isShiftKeyDown)){var o=Ir(Dn,this)===A.HIGHLIGHT?Fr(Xn,this,Jn).call(this,a):null;null==o||o.toggleDrawing();var s=new AbortController,u=this.combinedSignal(s),c=function(t){"pointerup"===t.type&&0!==t.button||(s.abort(),null==o||o.toggleDrawing(!0),"pointerup"===t.type&&Fr(Xn,e,ti).call(e,"main_toolbar"))};window.addEventListener("pointerup",c,{signal:u}),window.addEventListener("blur",c,{signal:u})}}else Ir(Wn,this)&&(null===(i=Ir(Pn,this))||void 0===i||i.hide(),Rr(Wn,this,null),Fr(Xn,this,ci).call(this,{hasSelectedText:!1}))}}else{var l;Ir(Wn,this)&&(null===(l=Ir(Pn,this))||void 0===l||l.hide(),Rr(Wn,this,null),Fr(Xn,this,ci).call(this,{hasSelectedText:!1}))}}function ti(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Ir(Dn,this)===A.HIGHLIGHT?this.highlightSelection(t):Ir(kn,this)&&Fr(Xn,this,$n).call(this)}function ei(){document.addEventListener("selectionchange",Fr(Xn,this,Zn).bind(this),{signal:this._signal})}function ri(){if(!Ir(Sn,this)){Rr(Sn,this,new AbortController);var t=this.combinedSignal(Ir(Sn,this));window.addEventListener("focus",this.focus.bind(this),{signal:t}),window.addEventListener("blur",this.blur.bind(this),{signal:t})}}function ni(){var t;null===(t=Ir(Sn,this))||void 0===t||t.abort(),Rr(Sn,this,null)}function ii(){if(!Ir(jn,this)){Rr(jn,this,new AbortController);var t=this.combinedSignal(Ir(jn,this));window.addEventListener("keydown",this.keydown.bind(this),{signal:t}),window.addEventListener("keyup",this.keyup.bind(this),{signal:t})}}function ai(){var t;null===(t=Ir(jn,this))||void 0===t||t.abort(),Rr(jn,this,null)}function oi(){if(!Ir(pn,this)){Rr(pn,this,new AbortController);var t=this.combinedSignal(Ir(pn,this));document.addEventListener("copy",this.copy.bind(this),{signal:t}),document.addEventListener("cut",this.cut.bind(this),{signal:t}),document.addEventListener("paste",this.paste.bind(this),{signal:t})}}function si(){var t;null===(t=Ir(pn,this))||void 0===t||t.abort(),Rr(pn,this,null)}function ui(){var t=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:t}),document.addEventListener("drop",this.drop.bind(this),{signal:t})}function ci(t){var e=this;Object.entries(t).some((function(t){var r=Ar(t,2),n=r[0],i=r[1];return Ir(Hn,e)[n]!==i}))&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(Ir(Hn,this),t)}),Ir(Dn,this)===A.HIGHLIGHT&&!1===t.hasSelectedEditor&&Fr(Xn,this,li).call(this,[[_.HIGHLIGHT_FREE,!0]]))}function li(t){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:t})}function hi(){return fi.apply(this,arguments)}function fi(){return(fi=Sr(_r().mark((function t(){var e,r,n,i,a,o;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Ir(Mn,this)){t.next=9;break}Rr(Mn,this,!0),e=[],r=Dr(Ir(ln,this).values());try{for(r.s();!(n=r.n()).done;)i=n.value,e.push(i.enable())}catch(t){r.e(t)}finally{r.f()}return t.next=7,Promise.all(e);case 7:a=Dr(Ir(cn,this).values());try{for(a.s();!(o=a.n()).done;)o.value.enable()}catch(t){a.e(t)}finally{a.f()}case 9:case"end":return t.stop()}}),t,this)})))).apply(this,arguments)}function di(){if(this.unselectAll(),Ir(Mn,this)){Rr(Mn,this,!1);var t,e=Dr(Ir(ln,this).values());try{for(e.s();!(t=e.n()).done;)t.value.disable()}catch(t){e.e(t)}finally{e.f()}var r,n=Dr(Ir(cn,this).values());try{for(n.s();!(r=n.n()).done;)r.value.disable()}catch(t){n.e(t)}finally{n.f()}}}function vi(t){var e=Ir(ln,this).get(t.pageIndex);e?e.addOrRebuild(t):(this.addEditor(t),this.addToAnnotationStorage(t))}function pi(){if(0===Ir(cn,this).size)return!0;if(1===Ir(cn,this).size){var t,e=Dr(Ir(cn,this).values());try{for(e.s();!(t=e.n()).done;)return t.value.isEmpty()}catch(t){e.e(t)}finally{e.f()}}return!1}function yi(t){var e,r=Dr(Ir(Nn,this));try{for(r.s();!(e=r.n()).done;)e.value.unselect()}catch(t){r.e(t)}finally{r.f()}Ir(Nn,this).clear();var n,i=Dr(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;a.isEmpty()||(Ir(Nn,this).add(a),a.select())}}catch(t){i.e(t)}finally{i.f()}Fr(Xn,this,ci).call(this,{hasSelectedEditor:this.hasSelection})}function gi(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return mi(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mi(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function mi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function bi(){bi=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function wi(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function ki(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){wi(a,n,i,o,s,"next",t)}function s(t){wi(a,n,i,o,s,"throw",t)}o(void 0)}))}}function xi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ai(n.key),n)}}function Ai(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function _i(t,e,r){Ei(t,e),e.set(t,r)}function Ei(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Si(t,e,r){return r(Pi(t,e))}function Oi(t,e){return t.get(Pi(t,e))}function Ti(t,e,r){return t.set(Pi(t,e),r),r}function Pi(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}kr(Kn,"TRANSLATE_SMALL",1),kr(Kn,"TRANSLATE_BIG",10);var Li=new WeakMap,Mi=new WeakMap,Ci=new WeakMap,ji=new WeakMap,Ii=new WeakMap,Ri=new WeakMap,Fi=new WeakMap,Di=new WeakMap,Ni=new WeakMap,Wi=new WeakMap,Bi=new WeakMap,Gi=new WeakSet,Hi=function(){function t(e){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Ei(this,r=Gi),r.add(this),_i(this,Li,null),_i(this,Mi,!1),_i(this,Ci,null),_i(this,ji,null),_i(this,Ii,null),_i(this,Ri,!1),_i(this,Fi,null),_i(this,Di,null),_i(this,Ni,null),_i(this,Wi,null),_i(this,Bi,!1),Ti(Di,this,e),Ti(Bi,this,e._uiManager.useNewAltTextFlow),Ki._||(Ki._=Object.freeze({added:"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button-label"}))}return e=t,r=[{key:"render",value:function(){var e=ki(bi().mark((function e(){var r,n,i,a,o=this;return bi().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=Ti(Ci,this,document.createElement("button"))).className="altText",!Oi(Bi,this)){e.next=9;break}return r.classList.add("new"),e.next=6,t._l10nPromise.get(Ki._.missing);case 6:n=e.sent,e.next=12;break;case 9:return e.next=11,t._l10nPromise.get("pdfjs-editor-alt-text-button-label");case 11:n=e.sent;case 12:return r.textContent=n,r.setAttribute("aria-label",n),r.tabIndex="0",i=Oi(Di,this)._uiManager._signal,r.addEventListener("contextmenu",Te,{signal:i}),r.addEventListener("pointerdown",(function(t){return t.stopPropagation()}),{signal:i}),a=function(t){t.preventDefault(),Oi(Di,o)._uiManager.editAltText(Oi(Di,o)),Oi(Bi,o)&&Oi(Di,o)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:Si(Gi,o,Ui)}})},r.addEventListener("click",a,{capture:!0,signal:i}),r.addEventListener("keydown",(function(t){t.target===r&&"Enter"===t.key&&(Ti(Ri,o,!0),a(t))}),{signal:i}),e.next=23,Pi(Gi,this,zi).call(this);case 23:return e.abrupt("return",r);case 24:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"finish",value:function(){Oi(Ci,this)&&(Oi(Ci,this).focus({focusVisible:Oi(Ri,this)}),Ti(Ri,this,!1))}},{key:"isEmpty",value:function(){return Oi(Bi,this)?null===Oi(Li,this):!Oi(Li,this)&&!Oi(Mi,this)}},{key:"hasData",value:function(){return Oi(Bi,this)?null!==Oi(Li,this)||!!Oi(Ni,this):this.isEmpty()}},{key:"guessedText",get:function(){return Oi(Ni,this)}},{key:"setGuessedText",value:(i=ki(bi().mark((function e(r){return bi().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===Oi(Li,this)){e.next=2;break}return e.abrupt("return");case 2:return Ti(Ni,this,r),e.t0=Ti,e.t1=Wi,e.t2=this,e.next=8,t._l10nPromise.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer")({generatedAltText:r});case 8:e.t3=e.sent,(0,e.t0)(e.t1,e.t2,e.t3),Pi(Gi,this,zi).call(this);case 11:case"end":return e.stop()}}),e,this)}))),function(t){return i.apply(this,arguments)})},{key:"toggleAltTextBadge",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!Oi(Bi,this)||Oi(Li,this))return null===(t=Oi(Fi,this))||void 0===t||t.remove(),void Ti(Fi,this,null);if(!Oi(Fi,this)){var r=Ti(Fi,this,document.createElement("div"));r.className="noAltTextBadge",Oi(Di,this).div.append(r)}Oi(Fi,this).classList.toggle("hidden",!e)}},{key:"serialize",value:function(t){var e=Oi(Li,this);return t||Oi(Ni,this)!==e||(e=Oi(Wi,this)),{altText:e,decorative:Oi(Mi,this),guessedText:Oi(Ni,this),textWithDisclaimer:Oi(Wi,this)}}},{key:"data",get:function(){return{altText:Oi(Li,this),decorative:Oi(Mi,this)}},set:function(t){var e=t.altText,r=t.decorative,n=t.guessedText,i=t.textWithDisclaimer,a=t.cancel,o=void 0!==a&&a;n&&(Ti(Ni,this,n),Ti(Wi,this,i)),Oi(Li,this)===e&&Oi(Mi,this)===r||(o||(Ti(Li,this,e),Ti(Mi,this,r)),Pi(Gi,this,zi).call(this))}},{key:"toggle",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Oi(Ci,this)&&(!t&&Oi(Ii,this)&&(clearTimeout(Oi(Ii,this)),Ti(Ii,this,null)),Oi(Ci,this).disabled=!t)}},{key:"shown",value:function(){Oi(Di,this)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:Si(Gi,this,Ui)}})}},{key:"destroy",value:function(){var t,e;null===(t=Oi(Ci,this))||void 0===t||t.remove(),Ti(Ci,this,null),Ti(ji,this,null),null===(e=Oi(Fi,this))||void 0===e||e.remove(),Ti(Fi,this,null)}}],n=[{key:"initialize",value:function(e){t._l10nPromise||(t._l10nPromise=e)}}],r&&xi(e.prototype,r),n&&xi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n,i}();function Ui(t){return(Oi(Li,t)?"added":null===Oi(Li,t)&&t.guessedText&&"review")||"missing"}function zi(){return Vi.apply(this,arguments)}function Vi(){return(Vi=ki(bi().mark((function t(){var e,r,n,i,a,o,s=this;return bi().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=Oi(Ci,this)){t.next=3;break}return t.abrupt("return");case 3:if(!Oi(Bi,this)){t.next=11;break}if(e.classList.toggle("done",!!Oi(Li,this)),on._l10nPromise.get(Ki._[Si(Gi,this,Ui)]).then((function(t){e.setAttribute("aria-label",t);var r,n=gi(e.childNodes);try{for(n.s();!(r=n.n()).done;){var i=r.value;if(i.nodeType===Node.TEXT_NODE){i.textContent=t;break}}}catch(t){n.e(t)}finally{n.f()}})),Oi(Li,this)){t.next=9;break}return null===(r=Oi(ji,this))||void 0===r||r.remove(),t.abrupt("return");case 9:t.next=17;break;case 11:if(Oi(Li,this)||Oi(Mi,this)){t.next=15;break}return e.classList.remove("done"),null===(n=Oi(ji,this))||void 0===n||n.remove(),t.abrupt("return");case 15:e.classList.add("done"),on._l10nPromise.get("pdfjs-editor-alt-text-edit-button-label").then((function(t){e.setAttribute("aria-label",t)}));case 17:if((i=Oi(ji,this))||(Ti(ji,this,i=document.createElement("span")),i.className="tooltip",i.setAttribute("role","tooltip"),i.id="alt-text-tooltip-".concat(Oi(Di,this).id),(a=Oi(Di,this)._uiManager._signal).addEventListener("abort",(function(){clearTimeout(Oi(Ii,s)),Ti(Ii,s,null)}),{once:!0}),e.addEventListener("mouseenter",(function(){Ti(Ii,s,setTimeout((function(){Ti(Ii,s,null),Oi(ji,s).classList.add("show"),Oi(Di,s)._reportTelemetry({action:"alt_text_tooltip"})}),100))}),{signal:a}),e.addEventListener("mouseleave",(function(){var t;Oi(Ii,s)&&(clearTimeout(Oi(Ii,s)),Ti(Ii,s,null)),null===(t=Oi(ji,s))||void 0===t||t.classList.remove("show")}),{signal:a})),!Oi(Mi,this)){t.next=25;break}return t.next=22,on._l10nPromise.get("pdfjs-editor-alt-text-decorative-tooltip");case 22:t.t0=t.sent,t.next=26;break;case 25:t.t0=Oi(Li,this);case 26:i.innerText=t.t0,i.parentNode||e.append(i),null==(o=Oi(Di,this).getImageForAltText())||o.setAttribute("aria-describedby",i.id);case 30:case"end":return t.stop()}}),t,this)})))).apply(this,arguments)}on=Hi;var qi,Yi,Xi,Ki={_:null};function Qi(t,e,r){return e=$i(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Ji()?Reflect.construct(e,r||[],$i(t).constructor):e.apply(t,r))}function Ji(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ji=function(){return!!t})()}function $i(t){return $i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},$i(t)}function Zi(t,e){return Zi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Zi(t,e)}function ta(t){return function(t){if(Array.isArray(t))return sa(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||oa(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ea(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=oa(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function ra(){ra=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function na(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function ia(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){na(a,n,i,o,s,"next",t)}function s(t){na(a,n,i,o,s,"throw",t)}o(void 0)}))}}function aa(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||oa(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oa(t,e){if(t){if("string"==typeof t)return sa(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sa(t,e):void 0}}function sa(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ua(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ca(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,fa(n.key),n)}}function la(t,e,r){return e&&ca(t.prototype,e),r&&ca(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function ha(t,e,r){return(e=fa(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fa(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function da(t,e,r){va(t,e),e.set(t,r)}function va(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function pa(t,e,r){return t.set(ga(t,e),r),r}function ya(t,e){return t.get(ga(t,e))}function ga(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}qi=Hi,(Yi=Ai(Yi="_l10nPromise"))in qi?Object.defineProperty(qi,Yi,{value:null,enumerable:!0,configurable:!0,writable:!0}):qi[Yi]=null;var ma=new WeakMap,ba=new WeakMap,wa=new WeakMap,ka=new WeakMap,xa=new WeakMap,Aa=new WeakMap,_a=new WeakMap,Ea=new WeakMap,Sa=new WeakMap,Oa=new WeakMap,Ta=new WeakMap,Pa=new WeakMap,La=new WeakMap,Ma=new WeakMap,Ca=new WeakMap,ja=new WeakMap,Ia=new WeakMap,Ra=new WeakMap,Fa=new WeakMap,Da=new WeakMap,Na=new WeakSet,Wa=function(){function t(e){ua(this,t),function(t,e){va(t,e),e.add(t)}(this,Na),da(this,ma,null),da(this,ba,null),da(this,wa,null),da(this,ka,!1),da(this,xa,!1),da(this,Aa,null),da(this,_a,null),da(this,Ea,null),da(this,Sa,""),da(this,Oa,!1),da(this,Ta,null),da(this,Pa,!1),da(this,La,!1),da(this,Ma,!1),da(this,Ca,null),da(this,ja,0),da(this,Ia,0),da(this,Ra,null),ha(this,"_editToolbar",null),ha(this,"_initialOptions",Object.create(null)),ha(this,"_initialData",null),ha(this,"_isVisible",!0),ha(this,"_uiManager",null),ha(this,"_focusEventsAllowed",!0),da(this,Fa,!1),da(this,Da,t._zIndex++),this.parent=e.parent,this.id=e.id,this.width=this.height=null,this.pageIndex=e.parent.pageIndex,this.name=e.name,this.div=null,this._uiManager=e.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=e.isCentered,this._structTreeParentId=null;var r=this.parent.viewport,n=r.rotation,i=r.rawDims,a=i.pageWidth,o=i.pageHeight,s=i.pageX,u=i.pageY;this.rotation=n,this.pageRotation=(360+n-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[a,o],this.pageTranslation=[s,u];var c=aa(this.parentDimensions,2),l=c[0],h=c[1];this.x=e.x/l,this.y=e.y/h,this.isAttachedToDOM=!1,this.deleted=!1}return la(t,[{key:"editorType",get:function(){return Object.getPrototypeOf(this).constructor._type}},{key:"propertiesToUpdate",get:function(){return[]}},{key:"_isDraggable",get:function(){return ya(Fa,this)},set:function(t){var e;pa(Fa,this,t),null===(e=this.div)||void 0===e||e.classList.toggle("draggable",t)}},{key:"isEnterHandled",get:function(){return!0}},{key:"center",value:function(){var t=aa(this.pageDimensions,2),e=t[0],r=t[1];switch(this.parentRotation){case 90:this.x-=this.height*r/(2*e),this.y+=this.width*e/(2*r);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*r/(2*e),this.y-=this.width*e/(2*r);break;default:this.x-=this.width/2,this.y-=this.height/2}this.fixAndSetPosition()}},{key:"addCommands",value:function(t){this._uiManager.addCommands(t)}},{key:"currentLayer",get:function(){return this._uiManager.currentLayer}},{key:"setInBackground",value:function(){this.div.style.zIndex=0}},{key:"setInForeground",value:function(){this.div.style.zIndex=ya(Da,this)}},{key:"setParent",value:function(t){null!==t?(this.pageIndex=t.pageIndex,this.pageDimensions=t.pageDimensions):ga(Na,this,to).call(this),this.parent=t}},{key:"focusin",value:function(t){this._focusEventsAllowed&&(ya(Oa,this)?pa(Oa,this,!1):this.parent.setSelected(this))}},{key:"focusout",value:function(t){var e;if(this._focusEventsAllowed&&this.isAttachedToDOM){var r=t.relatedTarget;null!=r&&r.closest("#".concat(this.id))||(t.preventDefault(),null!==(e=this.parent)&&void 0!==e&&e.isMultipleSelection||this.commitOrRemove())}}},{key:"commitOrRemove",value:function(){this.isEmpty()?this.remove():this.commit()}},{key:"commit",value:function(){this.addToAnnotationStorage()}},{key:"addToAnnotationStorage",value:function(){this._uiManager.addToAnnotationStorage(this)}},{key:"setAt",value:function(t,e,r,n){var i=aa(this.parentDimensions,2),a=i[0],o=i[1],s=aa(this.screenToPageTranslation(r,n),2);r=s[0],n=s[1],this.x=(t+r)/a,this.y=(e+n)/o,this.fixAndSetPosition()}},{key:"translate",value:function(t,e){ga(Na,this,Ba).call(this,this.parentDimensions,t,e)}},{key:"translateInPage",value:function(t,e){ya(Ta,this)||pa(Ta,this,[this.x,this.y]),ga(Na,this,Ba).call(this,this.pageDimensions,t,e),this.div.scrollIntoView({block:"nearest"})}},{key:"drag",value:function(t,e){ya(Ta,this)||pa(Ta,this,[this.x,this.y]);var r=aa(this.parentDimensions,2),n=r[0],i=r[1];if(this.x+=t/n,this.y+=e/i,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){var a=this.div.getBoundingClientRect(),o=a.x,s=a.y;this.parent.findNewParent(this,o,s)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}var u=this.x,c=this.y,l=aa(this.getBaseTranslation(),2);u+=l[0],c+=l[1],this.div.style.left="".concat((100*u).toFixed(2),"%"),this.div.style.top="".concat((100*c).toFixed(2),"%"),this.div.scrollIntoView({block:"nearest"})}},{key:"_hasBeenMoved",get:function(){return!!ya(Ta,this)&&(ya(Ta,this)[0]!==this.x||ya(Ta,this)[1]!==this.y)}},{key:"getBaseTranslation",value:function(){var e=aa(this.parentDimensions,2),r=e[0],n=e[1],i=t._borderLineWidth,a=i/r,o=i/n;switch(this.rotation){case 90:return[-a,o];case 180:return[a,o];case 270:return[a,-o];default:return[-a,-o]}}},{key:"_mustFixPosition",get:function(){return!0}},{key:"fixAndSetPosition",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.rotation,e=aa(this.pageDimensions,2),r=e[0],n=e[1],i=this.x,a=this.y,o=this.width,s=this.height;if(o*=r,s*=n,i*=r,a*=n,this._mustFixPosition)switch(t){case 0:i=Math.max(0,Math.min(r-o,i)),a=Math.max(0,Math.min(n-s,a));break;case 90:i=Math.max(0,Math.min(r-s,i)),a=Math.min(n,Math.max(o,a));break;case 180:i=Math.min(r,Math.max(o,i)),a=Math.min(n,Math.max(s,a));break;case 270:i=Math.min(r,Math.max(s,i)),a=Math.max(0,Math.min(n-o,a))}this.x=i/=r,this.y=a/=n;var u=aa(this.getBaseTranslation(),2);i+=u[0],a+=u[1];var c=this.div.style;c.left="".concat((100*i).toFixed(2),"%"),c.top="".concat((100*a).toFixed(2),"%"),this.moveInDOM()}},{key:"screenToPageTranslation",value:function(e,r){return Ga.call(t,e,r,this.parentRotation)}},{key:"pageTranslationToScreen",value:function(e,r){return Ga.call(t,e,r,360-this.parentRotation)}},{key:"parentScale",get:function(){return this._uiManager.viewParameters.realScale}},{key:"parentRotation",get:function(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}},{key:"parentDimensions",get:function(){var t=this.parentScale,e=aa(this.pageDimensions,2);return[e[0]*t,e[1]*t]}},{key:"setDims",value:function(t,e){var r=aa(this.parentDimensions,2),n=r[0],i=r[1];this.div.style.width="".concat((100*t/n).toFixed(2),"%"),ya(xa,this)||(this.div.style.height="".concat((100*e/i).toFixed(2),"%"))}},{key:"fixDims",value:function(){var t=this.div.style,e=t.height,r=t.width,n=r.endsWith("%"),i=!ya(xa,this)&&e.endsWith("%");if(!n||!i){var a=aa(this.parentDimensions,2),o=a[0],s=a[1];n||(t.width="".concat((100*parseFloat(r)/o).toFixed(2),"%")),ya(xa,this)||i||(t.height="".concat((100*parseFloat(e)/s).toFixed(2),"%"))}}},{key:"getInitialTranslation",value:function(){return[0,0]}},{key:"altTextFinish",value:function(){var t;null===(t=ya(wa,this))||void 0===t||t.finish()}},{key:"addEditToolbar",value:(i=ia(ra().mark((function t(){return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._editToolbar&&!ya(La,this)){t.next=2;break}return t.abrupt("return",this._editToolbar);case 2:if(this._editToolbar=new ir(this),this.div.append(this._editToolbar.render()),!ya(wa,this)){t.next=7;break}return t.next=7,this._editToolbar.addAltText(ya(wa,this));case 7:return t.abrupt("return",this._editToolbar);case 8:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"removeEditToolbar",value:function(){var t;this._editToolbar&&(this._editToolbar.remove(),this._editToolbar=null,null===(t=ya(wa,this))||void 0===t||t.destroy())}},{key:"addContainer",value:function(t){var e,r=null===(e=this._editToolbar)||void 0===e?void 0:e.div;r?r.before(t):this.div.append(t)}},{key:"getClientDimensions",value:function(){return this.div.getBoundingClientRect()}},{key:"addAltTextButton",value:(n=ia(ra().mark((function e(){return ra().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ya(wa,this)){e.next=2;break}return e.abrupt("return");case 2:return Hi.initialize(t._l10nPromise),pa(wa,this,new Hi(this)),ya(ma,this)&&(ya(wa,this).data=ya(ma,this),pa(ma,this,null)),e.next=7,this.addEditToolbar();case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"altTextData",get:function(){var t;return null===(t=ya(wa,this))||void 0===t?void 0:t.data},set:function(t){ya(wa,this)&&(ya(wa,this).data=t)}},{key:"guessedAltText",get:function(){var t;return null===(t=ya(wa,this))||void 0===t?void 0:t.guessedText}},{key:"setGuessedAltText",value:(r=ia(ra().mark((function t(e){var r;return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,null===(r=ya(wa,this))||void 0===r?void 0:r.setGuessedText(e);case 2:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"serializeAltText",value:function(t){var e;return null===(e=ya(wa,this))||void 0===e?void 0:e.serialize(t)}},{key:"hasAltText",value:function(){return!!ya(wa,this)&&!ya(wa,this).isEmpty()}},{key:"hasAltTextData",value:function(){var t,e;return null!==(t=null===(e=ya(wa,this))||void 0===e?void 0:e.hasData())&&void 0!==t&&t}},{key:"render",value:function(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.tabIndex=ya(ka,this)?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground(),ga(Na,this,Ka).call(this);var t=aa(this.parentDimensions,2),e=t[0],r=t[1];this.parentRotation%180!=0&&(this.div.style.maxWidth="".concat((100*r/e).toFixed(2),"%"),this.div.style.maxHeight="".concat((100*e/r).toFixed(2),"%"));var n=aa(this.getInitialTranslation(),2),i=n[0],a=n[1];return this.translate(i,a),Br(this,this.div,["pointerdown"]),this.div}},{key:"pointerdown",value:function(t){var e=J.platform.isMac;0!==t.button||t.ctrlKey&&e?t.preventDefault():(pa(Oa,this,!0),this._isDraggable?ga(Na,this,Xa).call(this,t):ga(Na,this,Ya).call(this,t))}},{key:"isSelected",get:function(){return this._uiManager.isSelected(this)}},{key:"moveInDOM",value:function(){var t=this;ya(Ca,this)&&clearTimeout(ya(Ca,this)),pa(Ca,this,setTimeout((function(){var e;pa(Ca,t,null),null===(e=t.parent)||void 0===e||e.moveEditorInDOM(t)}),0))}},{key:"_setParentAndPosition",value:function(t,e,r){t.changeParent(this),this.x=e,this.y=r,this.fixAndSetPosition()}},{key:"getRect",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.rotation,n=this.parentScale,i=aa(this.pageDimensions,2),a=i[0],o=i[1],s=aa(this.pageTranslation,2),u=s[0],c=s[1],l=t/n,h=e/n,f=this.x*a,d=this.y*o,v=this.width*a,p=this.height*o;switch(r){case 0:return[f+l+u,o-d-h-p+c,f+l+v+u,o-d-h+c];case 90:return[f+h+u,o-d+l+c,f+h+p+u,o-d+l+v+c];case 180:return[f-l-v+u,o-d+h+c,f-l+u,o-d+h+p+c];case 270:return[f-h-p+u,o-d-l-v+c,f-h+u,o-d-l+c];default:throw new Error("Invalid rotation")}}},{key:"getRectInCurrentCoords",value:function(t,e){var r=aa(t,4),n=r[0],i=r[1],a=r[2],o=r[3],s=a-n,u=o-i;switch(this.rotation){case 0:return[n,e-o,s,u];case 90:return[n,e-i,u,s];case 180:return[a,e-i,s,u];case 270:return[a,e-o,u,s];default:throw new Error("Invalid rotation")}}},{key:"onceAdded",value:function(){}},{key:"isEmpty",value:function(){return!1}},{key:"enableEditMode",value:function(){pa(La,this,!0)}},{key:"disableEditMode",value:function(){pa(La,this,!1)}},{key:"isInEditMode",value:function(){return ya(La,this)}},{key:"shouldGetKeyboardEvents",value:function(){return ya(Ma,this)}},{key:"needsToBeRebuilt",value:function(){return this.div&&!this.isAttachedToDOM}},{key:"rebuild",value:function(){ga(Na,this,Ka).call(this)}},{key:"rotate",value:function(t){}},{key:"serializeDeleted",value:function(){var t;return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:(null===(t=this._initialData)||void 0===t?void 0:t.popupRef)||""}}},{key:"serialize",value:function(){F("An editor must be serializable")}},{key:"hasBeenModified",get:function(){return!!this.annotationElementId&&(this.deleted||null!==this.serialize())}},{key:"remove",value:function(){var t;if(null===(t=ya(Ea,this))||void 0===t||t.abort(),pa(Ea,this,null),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),ya(Ca,this)&&(clearTimeout(ya(Ca,this)),pa(Ca,this,null)),ga(Na,this,to).call(this),this.removeEditToolbar(),ya(Ra,this)){var e,r=ea(ya(Ra,this).values());try{for(r.s();!(e=r.n()).done;){var n=e.value;clearTimeout(n)}}catch(t){r.e(t)}finally{r.f()}pa(Ra,this,null)}this.parent=null}},{key:"isResizable",get:function(){return!1}},{key:"makeResizable",value:function(){this.isResizable&&(ga(Na,this,Ua).call(this),ya(Aa,this).classList.remove("hidden"),Br(this,this.div,["keydown"]))}},{key:"toolbarPosition",get:function(){return null}},{key:"keydown",value:function(e){if(this.isResizable&&e.target===this.div&&"Enter"===e.key){this._uiManager.setSelected(this),pa(_a,this,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});var r=ya(Aa,this).children;if(!ya(ba,this)){pa(ba,this,Array.from(r));var n,i=ga(Na,this,Qa).bind(this),a=ga(Na,this,Ja).bind(this),o=this._uiManager._signal,s=ea(ya(ba,this));try{for(s.s();!(n=s.n()).done;){var u=n.value,c=u.getAttribute("data-resizer-name");u.setAttribute("role","spinbutton"),u.addEventListener("keydown",i,{signal:o}),u.addEventListener("blur",a,{signal:o}),u.addEventListener("focus",ga(Na,this,$a).bind(this,c),{signal:o}),u.setAttribute("data-l10n-id",t._l10nResizer[c])}}catch(t){s.e(t)}finally{s.f()}}var l,h=ya(ba,this)[0],f=0,d=ea(r);try{for(d.s();!(l=d.n()).done&&l.value!==h;)f++}catch(t){d.e(t)}finally{d.f()}var v=(360-this.rotation+this.parentRotation)%360/90*(ya(ba,this).length/4);if(v!==f){if(v<f)for(var p=0;p<f-v;p++)ya(Aa,this).append(ya(Aa,this).firstChild);else if(v>f)for(var y=0;y<v-f;y++)ya(Aa,this).firstChild.before(ya(Aa,this).lastChild);var g,m=0,b=ea(r);try{for(b.s();!(g=b.n()).done;){var w=g.value,k=ya(ba,this)[m++].getAttribute("data-resizer-name");w.setAttribute("data-l10n-id",t._l10nResizer[k])}}catch(t){b.e(t)}finally{b.f()}}ga(Na,this,Za).call(this,0),pa(Ma,this,!0),ya(Aa,this).firstChild.focus({focusVisible:!0}),e.preventDefault(),e.stopImmediatePropagation()}}},{key:"_resizeWithKeyboard",value:function(t,e){ya(Ma,this)&&ga(Na,this,qa).call(this,ya(Sa,this),{movementX:t,movementY:e})}},{key:"_stopResizingWithKeyboard",value:function(){ga(Na,this,to).call(this),this.div.focus()}},{key:"select",value:function(){var t,e,r,n=this;this.makeResizable(),null===(t=this.div)||void 0===t||t.classList.add("selectedEditor"),this._editToolbar?(null===(e=this._editToolbar)||void 0===e||e.show(),null===(r=ya(wa,this))||void 0===r||r.toggleAltTextBadge(!1)):this.addEditToolbar().then((function(){var t,e;null!==(t=n.div)&&void 0!==t&&t.classList.contains("selectedEditor")&&(null===(e=n._editToolbar)||void 0===e||e.show())}))}},{key:"unselect",value:function(){var t,e,r,n,i;null===(t=ya(Aa,this))||void 0===t||t.classList.add("hidden"),null===(e=this.div)||void 0===e||e.classList.remove("selectedEditor"),null!==(r=this.div)&&void 0!==r&&r.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),null===(n=this._editToolbar)||void 0===n||n.hide(),null===(i=ya(wa,this))||void 0===i||i.toggleAltTextBadge(!0)}},{key:"updateParams",value:function(t,e){}},{key:"disableEditing",value:function(){}},{key:"enableEditing",value:function(){}},{key:"enterInEditMode",value:function(){}},{key:"getImageForAltText",value:function(){return null}},{key:"contentDiv",get:function(){return this.div}},{key:"isEditing",get:function(){return ya(Pa,this)},set:function(t){pa(Pa,this,t),this.parent&&(t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}},{key:"setAspectRatio",value:function(t,e){pa(xa,this,!0);var r=t/e,n=this.div.style;n.aspectRatio=r,n.height="auto"}},{key:"telemetryInitialData",get:function(){return{action:"added"}}},{key:"telemetryFinalData",get:function(){return null}},{key:"_reportTelemetry",value:function(e){var r=this;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]){ya(Ra,this)||pa(Ra,this,new Map);var n=e.action,i=ya(Ra,this).get(n);return i&&clearTimeout(i),i=setTimeout((function(){r._reportTelemetry(e),ya(Ra,r).delete(n),0===ya(Ra,r).size&&pa(Ra,r,null)}),t._telemetryTimeout),void ya(Ra,this).set(n,i)}e.type||(e.type=this.editorType),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:e}})}},{key:"show",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._isVisible;this.div.classList.toggle("hidden",!t),this._isVisible=t}},{key:"enable",value:function(){this.div&&(this.div.tabIndex=0),pa(ka,this,!1)}},{key:"disable",value:function(){this.div&&(this.div.tabIndex=-1),pa(ka,this,!0)}},{key:"renderAnnotationElement",value:function(t){var e=t.container.querySelector(".annotationContent");if(e){if("CANVAS"===e.nodeName){var r=e;(e=document.createElement("div")).classList.add("annotationContent",this.editorType),r.before(e)}}else(e=document.createElement("div")).classList.add("annotationContent",this.editorType),t.container.prepend(e);return e}},{key:"resetAnnotationElement",value:function(t){var e=t.container.firstChild;"DIV"===(null==e?void 0:e.nodeName)&&e.classList.contains("annotationContent")&&e.remove()}}],[{key:"_resizerKeyboardManager",get:function(){var e=t.prototype._resizeWithKeyboard,r=Kn.TRANSLATE_SMALL,n=Kn.TRANSLATE_BIG;return W(this,"_resizerKeyboardManager",new rn([[["ArrowLeft","mac+ArrowLeft"],e,{args:[-r,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],e,{args:[-n,0]}],[["ArrowRight","mac+ArrowRight"],e,{args:[r,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],e,{args:[n,0]}],[["ArrowUp","mac+ArrowUp"],e,{args:[0,-r]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],e,{args:[0,-n]}],[["ArrowDown","mac+ArrowDown"],e,{args:[0,r]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],e,{args:[0,n]}],[["Escape","mac+Escape"],t.prototype._stopResizingWithKeyboard]]))}},{key:"_defaultLineColor",get:function(){return W(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}},{key:"deleteAnnotationElement",value:function(t){var e=new eo({id:t.parent.getNextId(),parent:t.parent,uiManager:t._uiManager});e.annotationElementId=t.annotationElementId,e.deleted=!0,e._uiManager.addToAnnotationStorage(e)}},{key:"initialize",value:function(e,r,n){if(t._l10nResizer||(t._l10nResizer=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"})),t._l10nPromise||(t._l10nPromise=new Map([].concat(ta(["pdfjs-editor-alt-text-button-label","pdfjs-editor-alt-text-edit-button-label","pdfjs-editor-alt-text-decorative-tooltip","pdfjs-editor-new-alt-text-added-button-label","pdfjs-editor-new-alt-text-missing-button-label","pdfjs-editor-new-alt-text-to-review-button-label"].map((function(t){return[t,e.get(t)]}))),ta(["pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer"].map((function(t){return[t,e.get.bind(e,t)]})))))),null!=n&&n.strings){var i,a=ea(n.strings);try{for(a.s();!(i=a.n()).done;){var o=i.value;t._l10nPromise.set(o,e.get(o))}}catch(t){a.e(t)}finally{a.f()}}if(-1===t._borderLineWidth){var s=getComputedStyle(document.documentElement);t._borderLineWidth=parseFloat(s.getPropertyValue("--outline-width"))||0}}},{key:"updateDefaultParams",value:function(t,e){}},{key:"defaultPropertiesToUpdate",get:function(){return[]}},{key:"isHandlingMimeForPasting",value:function(t){return!1}},{key:"paste",value:function(t,e){F("Not implemented")}},{key:"deserialize",value:(e=ia(ra().mark((function t(e,r,n){var i,a,o,s,u,c,l,h,f,d;return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(i=new this.prototype.constructor({parent:r,id:r.getNextId(),uiManager:n})).rotation=e.rotation,pa(ma,i,e.accessibilityData),a=aa(i.pageDimensions,2),o=a[0],s=a[1],u=i.getRectInCurrentCoords(e.rect,s),c=aa(u,4),l=c[0],h=c[1],f=c[2],d=c[3],i.x=l/o,i.y=h/s,i.width=f/o,i.height=d/s,t.abrupt("return",i);case 10:case"end":return t.stop()}}),t,this)}))),function(t,r,n){return e.apply(this,arguments)})},{key:"MIN_SIZE",get:function(){return 16}},{key:"canCreateNewEmptyEditor",value:function(){return!0}}]);var e,r,n,i}();function Ba(t,e,r){var n=aa(t,2),i=n[0],a=n[1],o=aa(this.screenToPageTranslation(e,r),2);e=o[0],r=o[1],this.x+=e/i,this.y+=r/a,this.fixAndSetPosition()}function Ga(t,e,r){switch(r){case 90:return[e,-t];case 180:return[-t,-e];case 270:return[-e,t];default:return[t,e]}}function Ha(t){switch(t){case 90:var e=aa(this.pageDimensions,2),r=e[0],n=e[1];return[0,-r/n,n/r,0];case 180:return[-1,0,0,-1];case 270:var i=aa(this.pageDimensions,2),a=i[0],o=i[1];return[0,a/o,-o/a,0];default:return[1,0,0,1]}}function Ua(){if(!ya(Aa,this)){pa(Aa,this,document.createElement("div")),ya(Aa,this).classList.add("resizers");for(var t=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],e=this._uiManager._signal,r=0,n=t;r<n.length;r++){var i=n[r],a=document.createElement("div");ya(Aa,this).append(a),a.classList.add("resizer",i),a.setAttribute("data-resizer-name",i),a.addEventListener("pointerdown",ga(Na,this,za).bind(this,i),{signal:e}),a.addEventListener("contextmenu",Te,{signal:e}),a.tabIndex=-1}this.div.prepend(ya(Aa,this))}}function za(t,e){var r,n=this;e.preventDefault();var i=J.platform.isMac;if(!(0!==e.button||e.ctrlKey&&i)){null===(r=ya(wa,this))||void 0===r||r.toggle(!1);var a=this._isDraggable;this._isDraggable=!1;var o=new AbortController,s=this._uiManager.combinedSignal(o);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",ga(Na,this,qa).bind(this,t),{passive:!0,capture:!0,signal:s}),window.addEventListener("contextmenu",Te,{signal:s});var u=this.x,c=this.y,l=this.width,h=this.height,f=this.parent.div.style.cursor,d=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(e.target).cursor;var v=function(){var t;o.abort(),n.parent.togglePointerEvents(!0),null===(t=ya(wa,n))||void 0===t||t.toggle(!0),n._isDraggable=a,n.parent.div.style.cursor=f,n.div.style.cursor=d,ga(Na,n,Va).call(n,u,c,l,h)};window.addEventListener("pointerup",v,{signal:s}),window.addEventListener("blur",v,{signal:s})}}function Va(t,e,r,n){var i=this,a=this.x,o=this.y,s=this.width,u=this.height;a===t&&o===e&&s===r&&u===n||this.addCommands({cmd:function(){i.width=s,i.height=u,i.x=a,i.y=o;var t=aa(i.parentDimensions,2),e=t[0],r=t[1];i.setDims(e*s,r*u),i.fixAndSetPosition()},undo:function(){i.width=r,i.height=n,i.x=t,i.y=e;var a=aa(i.parentDimensions,2),o=a[0],s=a[1];i.setDims(o*r,s*n),i.fixAndSetPosition()},mustExec:!0})}function qa(t,e){var r,n,i=aa(this.parentDimensions,2),a=i[0],o=i[1],s=this.x,u=this.y,c=this.width,l=this.height,h=Xi.MIN_SIZE/a,f=Xi.MIN_SIZE/o,d=function(t){return Math.round(1e4*t)/1e4},v=ga(Na,this,Ha).call(this,this.rotation),p=function(t,e){return[v[0]*t+v[2]*e,v[1]*t+v[3]*e]},y=ga(Na,this,Ha).call(this,360-this.rotation),g=!1,m=!1;switch(t){case"topLeft":g=!0,r=function(t,e){return[0,0]},n=function(t,e){return[t,e]};break;case"topMiddle":r=function(t,e){return[t/2,0]},n=function(t,e){return[t/2,e]};break;case"topRight":g=!0,r=function(t,e){return[t,0]},n=function(t,e){return[0,e]};break;case"middleRight":m=!0,r=function(t,e){return[t,e/2]},n=function(t,e){return[0,e/2]};break;case"bottomRight":g=!0,r=function(t,e){return[t,e]},n=function(t,e){return[0,0]};break;case"bottomMiddle":r=function(t,e){return[t/2,e]},n=function(t,e){return[t/2,0]};break;case"bottomLeft":g=!0,r=function(t,e){return[0,e]},n=function(t,e){return[t,0]};break;case"middleLeft":m=!0,r=function(t,e){return[0,e/2]},n=function(t,e){return[t,e/2]}}var b,w,k=r(c,l),x=n(c,l),A=p.apply(void 0,ta(x)),_=d(s+A[0]),E=d(u+A[1]),S=1,O=1,T=aa(this.screenToPageTranslation(e.movementX,e.movementY),2),P=T[0],L=T[1],M=aa((b=P/a,w=L/o,[y[0]*b+y[2]*w,y[1]*b+y[3]*w]),2);if(P=M[0],L=M[1],g){var C=Math.hypot(c,l);S=O=Math.max(Math.min(Math.hypot(x[0]-k[0]-P,x[1]-k[1]-L)/C,1/c,1/l),h/c,f/l)}else m?S=Math.max(h,Math.min(1,Math.abs(x[0]-k[0]-P)))/c:O=Math.max(f,Math.min(1,Math.abs(x[1]-k[1]-L)))/l;var j=d(c*S),I=d(l*O),R=_-(A=p.apply(void 0,ta(n(j,I))))[0],F=E-A[1];this.width=j,this.height=I,this.x=R,this.y=F,this.setDims(a*j,o*I),this.fixAndSetPosition()}function Ya(t){var e=J.platform.isMac;t.ctrlKey&&!e||t.shiftKey||t.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this)}function Xa(t){var e=this,r=this.isSelected;this._uiManager.setUpDragSession();var n=new AbortController,i=this._uiManager.combinedSignal(n);r&&(this.div.classList.add("moving"),pa(ja,this,t.clientX),pa(Ia,this,t.clientY),window.addEventListener("pointermove",(function(t){var r=t.clientX,n=t.clientY,i=aa(e.screenToPageTranslation(r-ya(ja,e),n-ya(Ia,e)),2),a=i[0],o=i[1];pa(ja,e,r),pa(Ia,e,n),e._uiManager.dragSelectedEditors(a,o)}),{passive:!0,capture:!0,signal:i}));var a=function(){n.abort(),r&&e.div.classList.remove("moving"),pa(Oa,e,!1),e._uiManager.endDragSession()||ga(Na,e,Ya).call(e,t)};window.addEventListener("pointerup",a,{signal:i}),window.addEventListener("blur",a,{signal:i})}function Ka(){if(!ya(Ea,this)&&this.div){pa(Ea,this,new AbortController);var t=this._uiManager.combinedSignal(ya(Ea,this));this.div.addEventListener("focusin",this.focusin.bind(this),{signal:t}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:t})}}function Qa(t){Xi._resizerKeyboardManager.exec(this,t)}function Ja(t){var e;ya(Ma,this)&&(null===(e=t.relatedTarget)||void 0===e?void 0:e.parentNode)!==ya(Aa,this)&&ga(Na,this,to).call(this)}function $a(t){pa(Sa,this,ya(Ma,this)?t:"")}function Za(t){if(ya(ba,this)){var e,r=ea(ya(ba,this));try{for(r.s();!(e=r.n()).done;)e.value.tabIndex=t}catch(t){r.e(t)}finally{r.f()}}}function to(){if(pa(Ma,this,!1),ga(Na,this,Za).call(this,-1),ya(_a,this)){var t=ya(_a,this),e=t.savedX,r=t.savedY,n=t.savedWidth,i=t.savedHeight;ga(Na,this,Va).call(this,e,r,n,i),pa(_a,this,null)}}Xi=Wa,ha(Wa,"_l10nPromise",null),ha(Wa,"_l10nResizer",null),ha(Wa,"_borderLineWidth",-1),ha(Wa,"_colorManager",new an),ha(Wa,"_zIndex",1),ha(Wa,"_telemetryTimeout",1e3);var eo=function(t){function e(t){var r;return ua(this,e),(r=Qi(this,e,[t])).annotationElementId=t.annotationElementId,r.deleted=!0,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Zi(t,e)}(e,Wa),la(e,[{key:"serialize",value:function(){return this.serializeDeleted()}}])}();function ro(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,no(n.key),n)}}function no(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var io=3285377520,ao=4294901760,oo=65535,so=function(){return function(t,e,r){return e&&ro(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.h1=e?4294967295&e:io,this.h2=e?4294967295&e:io}),[{key:"update",value:function(t){var e,r;if("string"==typeof t){e=new Uint8Array(2*t.length),r=0;for(var n=0,i=t.length;n<i;n++){var a=t.charCodeAt(n);a<=255?e[r++]=a:(e[r++]=a>>>8,e[r++]=255&a)}}else{if(!ArrayBuffer.isView(t))throw new Error("Invalid data format, must be a string or TypedArray.");r=(e=t.slice()).byteLength}for(var o=r>>2,s=r-4*o,u=new Uint32Array(e.buffer,0,o),c=0,l=0,h=this.h1,f=this.h2,d=3432918353,v=461845907,p=11601,y=13715,g=0;g<o;g++)1&g?h=5*(h=(h^=c=(c=(c=(c=u[g])*d&ao|c*p&oo)<<15|c>>>17)*v&ao|c*y&oo)<<13|h>>>19)+3864292196:f=5*(f=(f^=l=(l=(l=(l=u[g])*d&ao|l*p&oo)<<15|l>>>17)*v&ao|l*y&oo)<<13|f>>>19)+3864292196;switch(c=0,s){case 3:c^=e[4*o+2]<<16;case 2:c^=e[4*o+1]<<8;case 1:c=(c=(c=(c^=e[4*o])*d&ao|c*p&oo)<<15|c>>>17)*v&ao|c*y&oo,1&o?h^=c:f^=c}this.h1=h,this.h2=f}},{key:"hexdigest",value:function(){var t=this.h1,e=this.h2;return t=3981806797*(t^=e>>>1)&ao|36045*t&oo,t=444984403*(t^=(e=4283543511*e&ao|(2950163797*(e<<16|t>>>16)&ao)>>>16)>>>1)&ao|60499*t&oo,((t^=(e=3301882366*e&ao|(3120437893*(e<<16|t>>>16)&ao)>>>16)>>>1)>>>0).toString(16).padStart(8,"0")+(e>>>0).toString(16).padStart(8,"0")}}])}();function uo(t,e,r){return e=lo(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,co()?Reflect.construct(e,r||[],lo(t).constructor):e.apply(t,r))}function co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(co=function(){return!!t})()}function lo(t){return lo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},lo(t)}function ho(t,e){return ho=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ho(t,e)}function fo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||po(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vo(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=po(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function po(t,e){if(t){if("string"==typeof t)return yo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yo(t,e):void 0}}function yo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function go(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,wo(n.key),n)}}function bo(t,e,r){return e&&mo(t.prototype,e),r&&mo(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function wo(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function ko(t,e,r){xo(t,e),e.set(t,r)}function xo(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ao(t,e,r){return t.set(Eo(t,e),r),r}function _o(t,e){return t.get(Eo(t,e))}function Eo(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var So=Object.freeze({map:null,hash:"",transfer:void 0}),Oo=new WeakMap,To=new WeakMap,Po=new WeakMap,Lo=new WeakSet,Mo=function(){return bo((function t(){go(this,t),function(t,e){xo(t,e),e.add(t)}(this,Lo),ko(this,Oo,!1),ko(this,To,null),ko(this,Po,new Map),this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}),[{key:"getValue",value:function(t,e){var r=_o(Po,this).get(t);return void 0===r?e:Object.assign(e,r)}},{key:"getRawValue",value:function(t){return _o(Po,this).get(t)}},{key:"remove",value:function(t){if(_o(Po,this).delete(t),0===_o(Po,this).size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){var e,r=vo(_o(Po,this).values());try{for(r.s();!(e=r.n()).done;)if(e.value instanceof Wa)return}catch(t){r.e(t)}finally{r.f()}this.onAnnotationEditor(null)}}},{key:"setValue",value:function(t,e){var r=_o(Po,this).get(t),n=!1;if(void 0!==r)for(var i=0,a=Object.entries(e);i<a.length;i++){var o=fo(a[i],2),s=o[0],u=o[1];r[s]!==u&&(n=!0,r[s]=u)}else n=!0,_o(Po,this).set(t,e);n&&Eo(Lo,this,Co).call(this),e instanceof Wa&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(e.constructor._type)}},{key:"has",value:function(t){return _o(Po,this).has(t)}},{key:"getAll",value:function(){return _o(Po,this).size>0?Q(_o(Po,this)):null}},{key:"setAll",value:function(t){for(var e=0,r=Object.entries(t);e<r.length;e++){var n=fo(r[e],2),i=n[0],a=n[1];this.setValue(i,a)}}},{key:"size",get:function(){return _o(Po,this).size}},{key:"resetModified",value:function(){_o(Oo,this)&&(Ao(Oo,this,!1),"function"==typeof this.onResetModified&&this.onResetModified())}},{key:"print",get:function(){return new Io(this)}},{key:"serializable",get:function(){if(0===_o(Po,this).size)return So;var t,e=new Map,r=new so,n=[],i=Object.create(null),a=!1,o=vo(_o(Po,this));try{for(o.s();!(t=o.n()).done;){var s=fo(t.value,2),u=s[0],c=s[1],l=c instanceof Wa?c.serialize(!1,i):c;l&&(e.set(u,l),r.update("".concat(u,":").concat(JSON.stringify(l))),a||(a=!!l.bitmap))}}catch(t){o.e(t)}finally{o.f()}if(a){var h,f=vo(e.values());try{for(f.s();!(h=f.n()).done;){var d=h.value;d.bitmap&&n.push(d.bitmap)}}catch(t){f.e(t)}finally{f.f()}}return e.size>0?{map:e,hash:r.hexdigest(),transfer:n}:So}},{key:"editorStats",get:function(){var t,e=null,r=new Map,n=vo(_o(Po,this).values());try{for(n.s();!(t=n.n()).done;){var i,a=t.value;if(a instanceof Wa){var o=a.telemetryFinalData;if(o){var s=o.type;r.has(s)||r.set(s,Object.getPrototypeOf(a).constructor),e||(e=Object.create(null));for(var u=(i=e)[s]||(i[s]=new Map),c=0,l=Object.entries(o);c<l.length;c++){var h,f=fo(l[c],2),d=f[0],v=f[1];if("type"!==d){var p=u.get(d);p||(p=new Map,u.set(d,p));var y=null!==(h=p.get(v))&&void 0!==h?h:0;p.set(v,y+1)}}}}}}catch(t){n.e(t)}finally{n.f()}var g,m=vo(r);try{for(m.s();!(g=m.n()).done;){var b=fo(g.value,2),w=b[0],k=b[1];e[w]=k.computeTelemetryFinalData(e[w])}}catch(t){m.e(t)}finally{m.f()}return e}},{key:"resetModifiedIds",value:function(){Ao(To,this,null)}},{key:"modifiedIds",get:function(){if(_o(To,this))return _o(To,this);var t,e=[],r=vo(_o(Po,this).values());try{for(r.s();!(t=r.n()).done;){var n=t.value;n instanceof Wa&&n.annotationElementId&&n.serialize()&&e.push(n.annotationElementId)}}catch(t){r.e(t)}finally{r.f()}return Ao(To,this,{ids:new Set(e),hash:e.join(",")})}}])}();function Co(){_o(Oo,this)||(Ao(Oo,this,!0),"function"==typeof this.onSetModified&&this.onSetModified())}var jo=new WeakMap,Io=function(t){function e(t){var r;go(this,e),ko(r=uo(this,e),jo,void 0);var n=t.serializable,i=n.map,a=n.hash,o=n.transfer,s=structuredClone(i,o?{transfer:o}:null);return Ao(jo,r,{map:s,hash:a,transfer:o}),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ho(t,e)}(e,Mo),bo(e,[{key:"print",get:function(){F("Should not call PrintAnnotationStorage.print")}},{key:"serializable",get:function(){return _o(jo,this)}},{key:"modifiedIds",get:function(){return W(this,"modifiedIds",{ids:new Set,hash:""})}}])}();function Ro(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Wo(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fo(){Fo=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Do(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function No(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Do(a,n,i,o,s,"next",t)}function s(t){Do(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Wo(t,e){if(t){if("string"==typeof t)return Bo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bo(t,e):void 0}}function Bo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Go(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ho(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,zo(n.key),n)}}function Uo(t,e,r){return e&&Ho(t.prototype,e),r&&Ho(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function zo(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Vo(t,e){return t.get(function(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}(t,e))}r(6625);var qo=new WeakMap,Yo=function(){return Uo((function t(e){var r=e.ownerDocument,n=void 0===r?globalThis.document:r;e.styleElement,Go(this,t),function(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}(this,qo,new Set),this._document=n,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}),[{key:"addNativeFontFace",value:function(t){this.nativeFontFaces.add(t),this._document.fonts.add(t)}},{key:"removeNativeFontFace",value:function(t){this.nativeFontFaces.delete(t),this._document.fonts.delete(t)}},{key:"insertRule",value:function(t){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));var e=this.styleElement.sheet;e.insertRule(t,e.cssRules.length)}},{key:"clear",value:function(){var t,e=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Wo(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(this.nativeFontFaces);try{for(e.s();!(t=e.n()).done;){var r=t.value;this._document.fonts.delete(r)}}catch(t){e.e(t)}finally{e.f()}this.nativeFontFaces.clear(),Vo(qo,this).clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"loadSystemFont",value:(e=No(Fo().mark((function t(e){var r,n,i,a,o,s;return Fo().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.systemFontInfo,n=e._inspectFont,r&&!Vo(qo,this).has(r.loadedName)){t.next=3;break}return t.abrupt("return");case 3:if(D(!this.disableFontFace,"loadSystemFont shouldn't be called when \`disableFontFace\` is set."),!this.isFontLoadingAPISupported){t.next=20;break}return i=r.loadedName,a=r.src,o=r.style,s=new FontFace(i,a,o),this.addNativeFontFace(s),t.prev=8,t.next=11,s.load();case 11:Vo(qo,this).add(i),null==n||n(r),t.next=19;break;case 15:t.prev=15,t.t0=t.catch(8),R("Cannot load system font: ".concat(r.baseFontName,", installing it could help to improve PDF rendering.")),this.removeNativeFontFace(s);case 19:return t.abrupt("return");case 20:F("Not implemented: loadSystemFont without the Font Loading API.");case 21:case"end":return t.stop()}}),t,this,[[8,15]])}))),function(t){return e.apply(this,arguments)})},{key:"bind",value:(t=No(Fo().mark((function t(e){var r,n,i=this;return Fo().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e.attached||e.missingFile&&!e.systemFontInfo)){t.next=2;break}return t.abrupt("return");case 2:if(e.attached=!0,!e.systemFontInfo){t.next=7;break}return t.next=6,this.loadSystemFont(e);case 6:case 21:return t.abrupt("return");case 7:if(!this.isFontLoadingAPISupported){t.next=22;break}if(!(r=e.createNativeFontFace())){t.next=21;break}return this.addNativeFontFace(r),t.prev=11,t.next=14,r.loaded;case 14:t.next=21;break;case 16:throw t.prev=16,t.t0=t.catch(11),R("Failed to load font '".concat(r.family,"': '").concat(t.t0,"'.")),e.disableFontFace=!0,t.t0;case 22:if(!(n=e.createFontFaceRule())){t.next=29;break}if(this.insertRule(n),!this.isSyncFontLoadingSupported){t.next=27;break}return t.abrupt("return");case 27:return t.next=29,new Promise((function(t){var r=i._queueLoadingCallback(t);i._prepareFontLoadEvent(e,r)}));case 29:case"end":return t.stop()}}),t,this,[[11,16]])}))),function(e){return t.apply(this,arguments)})},{key:"isFontLoadingAPISupported",get:function(){var t;return W(this,"isFontLoadingAPISupported",!(null===(t=this._document)||void 0===t||!t.fonts))}},{key:"isSyncFontLoadingSupported",get:function(){var t,e=!1;return(m||"undefined"!=typeof navigator&&"string"==typeof(null===(t=navigator)||void 0===t?void 0:t.userAgent)&&/Mozilla\\/5.0.*?rv:\\d+.*? Gecko/.test(navigator.userAgent))&&(e=!0),W(this,"isSyncFontLoadingSupported",e)}},{key:"_queueLoadingCallback",value:function(t){var e=this.loadingRequests,r={done:!1,complete:function(){for(D(!r.done,"completeRequest() cannot be called twice."),r.done=!0;e.length>0&&e[0].done;){var t=e.shift();setTimeout(t.callback,0)}},callback:t};return e.push(r),r}},{key:"_loadTestFont",get:function(){return W(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}},{key:"_prepareFontLoadEvent",value:function(t,e){function r(t,e){return t.charCodeAt(e)<<24|t.charCodeAt(e+1)<<16|t.charCodeAt(e+2)<<8|255&t.charCodeAt(e+3)}function n(t,e,r,n){return t.substring(0,e)+n+t.substring(e+r)}var i,a,o=this._document.createElement("canvas");o.width=1,o.height=1;var s,u=o.getContext("2d"),c=0,l="lt".concat(Date.now()).concat(this.loadTestFontId++),h=this._loadTestFont,f=1482184792,d=r(h=n(h,976,l.length,l),16);for(i=0,a=l.length-3;i<a;i+=4)d=d-f+r(l,i)|0;i<l.length&&(d=d-f+r(l+"XXX",i)|0),h=n(h,16,4,(s=d,String.fromCharCode(s>>24&255,s>>16&255,s>>8&255,255&s)));var v="url(data:font/opentype;base64,".concat(btoa(h),");"),p='@font-face {font-family:"'.concat(l,'";src:').concat(v,"}");this.insertRule(p);var y=this._document.createElement("div");y.style.visibility="hidden",y.style.width=y.style.height="10px",y.style.position="absolute",y.style.top=y.style.left="0px";for(var g=0,m=[t.loadedName,l];g<m.length;g++){var b=m[g],w=this._document.createElement("span");w.textContent="Hi",w.style.fontFamily=b,y.append(w)}this._document.body.append(y),function t(e,r){if(++c>30)return R("Load test font never loaded."),void r();u.font="30px "+e,u.fillText(".",0,20),u.getImageData(0,0,1,1).data[3]>0?r():setTimeout(t.bind(null,e,r))}(l,(function(){y.remove(),e.complete()}))}}]);var t,e}(),Xo=function(){return Uo((function t(e,r){var n=r.disableFontFace,i=void 0!==n&&n,a=r.inspectFont,o=void 0===a?null:a;for(var s in Go(this,t),this.compiledGlyphs=Object.create(null),e)this[s]=e[s];this.disableFontFace=!0===i,this._inspectFont=o}),[{key:"createNativeFontFace",value:function(){var t,e;if(!this.data||this.disableFontFace)return null;if(this.cssFontInfo){var r={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(r.style="oblique ".concat(this.cssFontInfo.italicAngle,"deg")),e=new FontFace(this.cssFontInfo.fontFamily,this.data,r)}else e=new FontFace(this.loadedName,this.data,{});return null===(t=this._inspectFont)||void 0===t||t.call(this,this),e}},{key:"createFontFaceRule",value:function(){var t;if(!this.data||this.disableFontFace)return null;var e,r=X(this.data),n="url(data:".concat(this.mimetype,";base64,").concat(btoa(r),");");if(this.cssFontInfo){var i="font-weight: ".concat(this.cssFontInfo.fontWeight,";");this.cssFontInfo.italicAngle&&(i+="font-style: oblique ".concat(this.cssFontInfo.italicAngle,"deg;")),e='@font-face {font-family:"'.concat(this.cssFontInfo.fontFamily,'";').concat(i,"src:").concat(n,"}")}else e='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(n,"}");return null===(t=this._inspectFont)||void 0===t||t.call(this,this,n),e}},{key:"getPathGenerator",value:function(t,e){if(void 0!==this.compiledGlyphs[e])return this.compiledGlyphs[e];var r;try{r=t.get(this.loadedName+"_path_"+e)}catch(t){R('getPathGenerator - ignoring character: "'.concat(t,'".'))}if(!Array.isArray(r)||0===r.length)return this.compiledGlyphs[e]=function(t,e){};for(var n=[],i=function(t){switch(r[t++]){case 0:var e=Ro(r.slice(t,t+6),6),i=e[0],o=e[1],s=e[2],u=e[3],c=e[4],l=e[5];n.push((function(t){return t.bezierCurveTo(i,o,s,u,c,l)})),t+=6;break;case 1:var h=Ro(r.slice(t,t+2),2),f=h[0],d=h[1];n.push((function(t){return t.moveTo(f,d)})),t+=2;break;case 2:var v=Ro(r.slice(t,t+2),2),p=v[0],y=v[1];n.push((function(t){return t.lineTo(p,y)})),t+=2;break;case 3:var g=Ro(r.slice(t,t+4),4),m=g[0],b=g[1],w=g[2],k=g[3];n.push((function(t){return t.quadraticCurveTo(m,b,w,k)})),t+=4;break;case 4:n.push((function(t){return t.restore()}));break;case 5:n.push((function(t){return t.save()}));break;case 6:D(2===n.length,"Scale command is only valid at the third position.");break;case 7:var x=Ro(r.slice(t,t+6),6),A=x[0],_=x[1],E=x[2],S=x[3],O=x[4],T=x[5];n.push((function(t){return t.transform(A,_,E,S,O,T)})),t+=6;break;case 8:var P=Ro(r.slice(t,t+2),2),L=P[0],M=P[1];n.push((function(t){return t.translate(L,M)})),t+=2}a=t},a=0,o=r.length;a<o;)i(a);return this.compiledGlyphs[e]=function(t,e){n[0](t),n[1](t),t.scale(e,-e);for(var r=2,i=n.length;r<i;r++)n[r](t)}}}])}();function Ko(t,e,r){return e=Jo(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Qo()?Reflect.construct(e,r||[],Jo(t).constructor):e.apply(t,r))}function Qo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Qo=function(){return!!t})()}function Jo(t){return Jo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Jo(t)}function $o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Zo(t,e)}function Zo(t,e){return Zo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Zo(t,e)}function ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function es(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ns(n.key),n)}}function rs(t,e,r){return e&&es(t.prototype,e),r&&es(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function ns(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function is(){is=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function as(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}if(m){var os=Promise.withResolvers(),ss=null,us=function(){var t,e=(t=is().mark((function t(){var e,r,n,i,a,o;return is().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,import("fs");case 2:return e=t.sent,t.next=5,import("http");case 5:return r=t.sent,t.next=8,import("https");case 8:return n=t.sent,t.next=11,import("url");case 11:return i=t.sent,t.prev=12,t.next=15,import("canvas");case 15:a=t.sent,t.next=20;break;case 18:t.prev=18,t.t0=t.catch(12);case 20:return t.prev=20,t.next=23,import("path2d");case 23:o=t.sent,t.next=28;break;case 26:t.prev=26,t.t1=t.catch(20);case 28:return t.abrupt("return",new Map(Object.entries({fs:e,http:r,https:n,url:i,canvas:a,path2d:o})));case 29:case"end":return t.stop()}}),t,null,[[12,18],[20,26]])})),function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){as(a,n,i,o,s,"next",t)}function s(t){as(a,n,i,o,s,"throw",t)}o(void 0)}))});return function(){return e.apply(this,arguments)}}();us().then((function(t){if(ss=t,os.resolve(),!globalThis.DOMMatrix){var e,r=null===(e=t.get("canvas"))||void 0===e?void 0:e.DOMMatrix;r?globalThis.DOMMatrix=r:R("Cannot polyfill \`DOMMatrix\`, rendering may be broken.")}if(!globalThis.Path2D){var n,i,a,o=null===(n=t.get("canvas"))||void 0===n?void 0:n.CanvasRenderingContext2D,s=null===(i=t.get("path2d"))||void 0===i?void 0:i.applyPath2DToCanvasRenderingContext,u=null===(a=t.get("path2d"))||void 0===a?void 0:a.Path2D;o&&s&&u?(s(o),globalThis.Path2D=u):R("Cannot polyfill \`Path2D\`, rendering may be broken.")}}),(function(t){R("loadPackages: ".concat(t)),ss=new Map,os.resolve()}))}var cs=function(){return rs((function t(){ts(this,t)}),null,[{key:"promise",get:function(){return os.promise}},{key:"get",value:function(t){var e;return null===(e=ss)||void 0===e?void 0:e.get(t)}}])}(),ls=function(t){return cs.get("fs").promises.readFile(t).then((function(t){return new Uint8Array(t)}))},hs=function(t){function e(){return ts(this,e),Ko(this,e,arguments)}return $o(e,pt),rs(e)}(),fs=function(t){function e(){return ts(this,e),Ko(this,e,arguments)}return $o(e,gt),rs(e,[{key:"_createCanvas",value:function(t,e){return cs.get("canvas").createCanvas(t,e)}}])}(),ds=function(t){function e(){return ts(this,e),Ko(this,e,arguments)}return $o(e,mt),rs(e,[{key:"_fetchData",value:function(t,e){return ls(t).then((function(t){return{cMapData:t,compressionType:e}}))}}])}(),vs=function(t){function e(){return ts(this,e),Ko(this,e,arguments)}return $o(e,bt),rs(e,[{key:"_fetchData",value:function(t){return ls(t)}}])}();function ps(t){return function(t){if(Array.isArray(t))return ms(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||gs(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ys(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=gs(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function gs(t,e){if(t){if("string"==typeof t)return ms(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ms(t,e):void 0}}function ms(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function bs(t,e,r){return e=ks(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ws()?Reflect.construct(e,r||[],ks(t).constructor):e.apply(t,r))}function ws(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ws=function(){return!!t})()}function ks(t){return ks=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ks(t)}function xs(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&As(t,e)}function As(t,e){return As=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},As(t,e)}function _s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Es(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Os(n.key),n)}}function Ss(t,e,r){return e&&Es(t.prototype,e),r&&Es(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Os(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}r(1237);var Ts="Fill",Ps="Stroke",Ls="Shading";function Ms(t,e){if(e){var r=e[2]-e[0],n=e[3]-e[1],i=new Path2D;i.rect(e[0],e[1],r,n),t.clip(i)}}var Cs=function(){return Ss((function t(){_s(this,t)}),[{key:"getPattern",value:function(){F("Abstract method \`getPattern\` called.")}}])}(),js=function(t){function e(t){var r;return _s(this,e),(r=bs(this,e))._type=t[1],r._bbox=t[2],r._colorStops=t[3],r._p0=t[4],r._p1=t[5],r._r0=t[6],r._r1=t[7],r.matrix=null,r}return xs(e,Cs),Ss(e,[{key:"_createGradient",value:function(t){var e;"axial"===this._type?e=t.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(e=t.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));var r,n=ys(this._colorStops);try{for(n.s();!(r=n.n()).done;){var i=r.value;e.addColorStop(i[0],i[1])}}catch(t){n.e(t)}finally{n.f()}return e}},{key:"getPattern",value:function(t,e,r,n){var i;if(n===Ps||n===Ts){var a=e.current.getClippedPathBoundingBox(n,je(t))||[0,0,0,0],o=Math.ceil(a[2]-a[0])||1,s=Math.ceil(a[3]-a[1])||1,u=e.cachedCanvases.getCanvas("pattern",o,s),c=u.context;c.clearRect(0,0,c.canvas.width,c.canvas.height),c.beginPath(),c.rect(0,0,c.canvas.width,c.canvas.height),c.translate(-a[0],-a[1]),r=Z.transform(r,[1,0,0,1,a[0],a[1]]),c.transform.apply(c,ps(e.baseTransform)),this.matrix&&c.transform.apply(c,ps(this.matrix)),Ms(c,this._bbox),c.fillStyle=this._createGradient(c),c.fill(),i=t.createPattern(u.canvas,"no-repeat");var l=new DOMMatrix(r);i.setTransform(l)}else Ms(t,this._bbox),i=this._createGradient(t);return i}}])}();function Is(t,e,r,n,i,a,o,s){var u,c=e.coords,l=e.colors,h=t.data,f=4*t.width;c[r+1]>c[n+1]&&(u=r,r=n,n=u,u=a,a=o,o=u),c[n+1]>c[i+1]&&(u=n,n=i,i=u,u=o,o=s,s=u),c[r+1]>c[n+1]&&(u=r,r=n,n=u,u=a,a=o,o=u);var d=(c[r]+e.offsetX)*e.scaleX,v=(c[r+1]+e.offsetY)*e.scaleY,p=(c[n]+e.offsetX)*e.scaleX,y=(c[n+1]+e.offsetY)*e.scaleY,g=(c[i]+e.offsetX)*e.scaleX,m=(c[i+1]+e.offsetY)*e.scaleY;if(!(v>=m))for(var b,w,k,x,A,_,E,S,O=l[a],T=l[a+1],P=l[a+2],L=l[o],M=l[o+1],C=l[o+2],j=l[s],I=l[s+1],R=l[s+2],F=Math.round(v),D=Math.round(m),N=F;N<=D;N++){if(N<y){var W=N<v?0:(v-N)/(v-y);b=d-(d-p)*W,w=O-(O-L)*W,k=T-(T-M)*W,x=P-(P-C)*W}else{var B;b=p-(p-g)*(B=N>m?1:y===m?0:(y-N)/(y-m)),w=L-(L-j)*B,k=M-(M-I)*B,x=C-(C-R)*B}var G=void 0;A=d-(d-g)*(G=N<v?0:N>m?1:(v-N)/(v-m)),_=O-(O-j)*G,E=T-(T-I)*G,S=P-(P-R)*G;for(var H=Math.round(Math.min(b,A)),U=Math.round(Math.max(b,A)),z=f*N+4*H,V=H;V<=U;V++)(G=(b-V)/(b-A))<0?G=0:G>1&&(G=1),h[z++]=w-(w-_)*G|0,h[z++]=k-(k-E)*G|0,h[z++]=x-(x-S)*G|0,h[z++]=255}}function Rs(t,e,r){var n,i,a=e.coords,o=e.colors;switch(e.type){case"lattice":var s=e.verticesPerRow,u=Math.floor(a.length/s)-1,c=s-1;for(n=0;n<u;n++)for(var l=n*s,h=0;h<c;h++,l++)Is(t,r,a[l],a[l+1],a[l+s],o[l],o[l+1],o[l+s]),Is(t,r,a[l+s+1],a[l+1],a[l+s],o[l+s+1],o[l+1],o[l+s]);break;case"triangles":for(n=0,i=a.length;n<i;n+=3)Is(t,r,a[n],a[n+1],a[n+2],o[n],o[n+1],o[n+2]);break;default:throw new Error("illegal figure")}}var Fs=function(t){function e(t){var r;return _s(this,e),(r=bs(this,e))._coords=t[2],r._colors=t[3],r._figures=t[4],r._bounds=t[5],r._bbox=t[7],r._background=t[8],r.matrix=null,r}return xs(e,Cs),Ss(e,[{key:"_createMeshCanvas",value:function(t,e,r){var n=Math.floor(this._bounds[0]),i=Math.floor(this._bounds[1]),a=Math.ceil(this._bounds[2])-n,o=Math.ceil(this._bounds[3])-i,s=Math.min(Math.ceil(Math.abs(a*t[0]*1.1)),3e3),u=Math.min(Math.ceil(Math.abs(o*t[1]*1.1)),3e3),c=a/s,l=o/u,h={coords:this._coords,colors:this._colors,offsetX:-n,offsetY:-i,scaleX:1/c,scaleY:1/l},f=s+4,d=u+4,v=r.getCanvas("mesh",f,d),p=v.context,y=p.createImageData(s,u);if(e)for(var g=y.data,m=0,b=g.length;m<b;m+=4)g[m]=e[0],g[m+1]=e[1],g[m+2]=e[2],g[m+3]=255;var w,k=ys(this._figures);try{for(k.s();!(w=k.n()).done;)Rs(y,w.value,h)}catch(t){k.e(t)}finally{k.f()}return p.putImageData(y,2,2),{canvas:v.canvas,offsetX:n-2*c,offsetY:i-2*l,scaleX:c,scaleY:l}}},{key:"getPattern",value:function(t,e,r,n){var i;if(Ms(t,this._bbox),n===Ls)i=Z.singularValueDecompose2dScale(je(t));else if(i=Z.singularValueDecompose2dScale(e.baseTransform),this.matrix){var a=Z.singularValueDecompose2dScale(this.matrix);i=[i[0]*a[0],i[1]*a[1]]}var o=this._createMeshCanvas(i,n===Ls?null:this._background,e.cachedCanvases);return n!==Ls&&(t.setTransform.apply(t,ps(e.baseTransform)),this.matrix&&t.transform.apply(t,ps(this.matrix))),t.translate(o.offsetX,o.offsetY),t.scale(o.scaleX,o.scaleY),t.createPattern(o.canvas,"no-repeat")}}])}(),Ds=function(t){function e(){return _s(this,e),bs(this,e,arguments)}return xs(e,Cs),Ss(e,[{key:"getPattern",value:function(){return"hotpink"}}])}(),Ns=function(){function t(e,r,n,i,a){_s(this,t),this.operatorList=e[2],this.matrix=e[3],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=r,this.ctx=n,this.canvasGraphicsFactory=i,this.baseTransform=a}return Ss(t,[{key:"createPatternCanvas",value:function(t){var e=this.bbox,r=this.operatorList,n=this.paintType,i=this.tilingType,a=this.color,o=this.canvasGraphicsFactory,s=this.xstep,u=this.ystep;s=Math.abs(s),u=Math.abs(u),I("TilingType: "+i);var c=e[0],l=e[1],h=e[2],f=e[3],d=h-c,v=f-l,p=Z.singularValueDecompose2dScale(this.matrix),y=Z.singularValueDecompose2dScale(this.baseTransform),g=p[0]*y[0],m=p[1]*y[1],b=d,w=v,k=!1,x=!1,A=Math.ceil(s*g),_=Math.ceil(u*m);A>=Math.ceil(d*g)?b=s:k=!0,_>=Math.ceil(v*m)?w=u:x=!0;var E=this.getSizeAndScale(b,this.ctx.canvas.width,g),S=this.getSizeAndScale(w,this.ctx.canvas.height,m),O=t.cachedCanvases.getCanvas("pattern",E.size,S.size),T=O.context,P=o.createCanvasGraphics(T);if(P.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(P,n,a),T.translate(-E.scale*c,-S.scale*l),P.transform(E.scale,0,0,S.scale,0,0),T.save(),this.clipBbox(P,c,l,h,f),P.baseTransform=je(P.ctx),P.executeOperatorList(r),P.endDrawing(),T.restore(),k||x){var L=O.canvas;k&&(b=s),x&&(w=u);for(var M=this.getSizeAndScale(b,this.ctx.canvas.width,g),C=this.getSizeAndScale(w,this.ctx.canvas.height,m),j=M.size,R=C.size,F=t.cachedCanvases.getCanvas("pattern-workaround",j,R),D=F.context,N=k?Math.floor(d/s):0,W=x?Math.floor(v/u):0,B=0;B<=N;B++)for(var G=0;G<=W;G++)D.drawImage(L,j*B,R*G,j,R,0,0,j,R);return{canvas:F.canvas,scaleX:M.scale,scaleY:C.scale,offsetX:c,offsetY:l}}return{canvas:O.canvas,scaleX:E.scale,scaleY:S.scale,offsetX:c,offsetY:l}}},{key:"getSizeAndScale",value:function(e,r,n){var i=Math.max(t.MAX_PATTERN_SIZE,r),a=Math.ceil(e*n);return a>=i?a=i:n=a/e,{scale:n,size:a}}},{key:"clipBbox",value:function(t,e,r,n,i){var a=n-e,o=i-r;t.ctx.rect(e,r,a,o),t.current.updateRectMinMax(je(t.ctx),[e,r,n,i]),t.clip(),t.endPath()}},{key:"setFillAndStrokeStyleToContext",value:function(t,e,r){var n=t.ctx,i=t.current;switch(e){case 1:var a=this.ctx;n.fillStyle=a.fillStyle,n.strokeStyle=a.strokeStyle,i.fillColor=a.fillStyle,i.strokeColor=a.strokeStyle;break;case 2:var o=Z.makeHexColor(r[0],r[1],r[2]);n.fillStyle=o,n.strokeStyle=o,i.fillColor=o,i.strokeColor=o;break;default:throw new q("Unsupported paint type: ".concat(e))}}},{key:"getPattern",value:function(t,e,r,n){var i=r;n!==Ls&&(i=Z.transform(i,e.baseTransform),this.matrix&&(i=Z.transform(i,this.matrix)));var a=this.createPatternCanvas(e),o=new DOMMatrix(i);o=(o=o.translate(a.offsetX,a.offsetY)).scale(1/a.scaleX,1/a.scaleY);var s=t.createPattern(a.canvas,"repeat");return s.setTransform(o),s}}])}();function Ws(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Bs(t){var e=t.src,r=t.srcPos,n=void 0===r?0:r,i=t.dest,a=t.width,o=t.height,s=t.nonBlackColor,u=void 0===s?4294967295:s,c=t.inverseDecode,l=void 0!==c&&c,h=J.isLittleEndian?4278190080:255,f=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ws(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ws(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(l?[u,h]:[h,u],2),d=f[0],v=f[1],p=a>>3,y=7&a,g=e.length;i=new Uint32Array(i.buffer);for(var m=0,b=0;b<o;b++){for(var w=n+p;n<w;n++){var k=n<g?e[n]:255;i[m++]=128&k?v:d,i[m++]=64&k?v:d,i[m++]=32&k?v:d,i[m++]=16&k?v:d,i[m++]=8&k?v:d,i[m++]=4&k?v:d,i[m++]=2&k?v:d,i[m++]=1&k?v:d}if(0!==y)for(var x=n<g?e[n++]:255,A=0;A<y;A++)i[m++]=x&1<<7-A?v:d}return{srcPos:n,destPos:m}}function Gs(t){return function(t){if(Array.isArray(t))return qs(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Vs(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hs(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function Us(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Vs(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function zs(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Vs(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vs(t,e){if(t){if("string"==typeof t)return qs(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qs(t,e):void 0}}function qs(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Ys(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Qs(n.key),n)}}function Ks(t,e,r){return e&&Xs(t.prototype,e),r&&Xs(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Qs(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}!function(t,e,r){(e=Os(e))in t?Object.defineProperty(t,e,{value:3e3,enumerable:!0,configurable:!0,writable:!0}):t[e]=3e3}(Ns,"MAX_PATTERN_SIZE");var Js=16,$s=function(){return Ks((function t(e){Ys(this,t),this.canvasFactory=e,this.cache=Object.create(null)}),[{key:"getCanvas",value:function(t,e,r){var n;return void 0!==this.cache[t]?(n=this.cache[t],this.canvasFactory.reset(n,e,r)):(n=this.canvasFactory.create(e,r),this.cache[t]=n),n}},{key:"delete",value:function(t){delete this.cache[t]}},{key:"clear",value:function(){for(var t in this.cache){var e=this.cache[t];this.canvasFactory.destroy(e),delete this.cache[t]}}}])}();function Zs(t,e,r,n,i,a,o,s,u,c){var l=zs(je(t),6),h=l[0],f=l[1],d=l[2],v=l[3],p=l[4],y=l[5];if(0===f&&0===d){var g=o*h+p,m=Math.round(g),b=s*v+y,w=Math.round(b),k=(o+u)*h+p,x=Math.abs(Math.round(k)-m)||1,A=(s+c)*v+y,_=Math.abs(Math.round(A)-w)||1;return t.setTransform(Math.sign(h),0,0,Math.sign(v),m,w),t.drawImage(e,r,n,i,a,0,0,x,_),t.setTransform(h,f,d,v,p,y),[x,_]}if(0===h&&0===v){var E=s*d+p,S=Math.round(E),O=o*f+y,T=Math.round(O),P=(s+c)*d+p,L=Math.abs(Math.round(P)-S)||1,M=(o+u)*f+y,C=Math.abs(Math.round(M)-T)||1;return t.setTransform(0,Math.sign(f),Math.sign(d),0,S,T),t.drawImage(e,r,n,i,a,0,0,C,L),t.setTransform(h,f,d,v,p,y),[C,L]}return t.drawImage(e,r,n,i,a,o,s,u,c),[Math.hypot(h,f)*u,Math.hypot(d,v)*c]}var tu=function(){return Ks((function t(e,r){Ys(this,t),this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=b,this.textMatrixScale=1,this.fontMatrix=w,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=0,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps="none",this.startNewPathAndClipBox([0,0,e,r])}),[{key:"clone",value:function(){var t=Object.create(this);return t.clipBox=this.clipBox.slice(),t}},{key:"setCurrentPoint",value:function(t,e){this.x=t,this.y=e}},{key:"updatePathMinMax",value:function(t,e,r){var n=zs(Z.applyTransform([e,r],t),2);e=n[0],r=n[1],this.minX=Math.min(this.minX,e),this.minY=Math.min(this.minY,r),this.maxX=Math.max(this.maxX,e),this.maxY=Math.max(this.maxY,r)}},{key:"updateRectMinMax",value:function(t,e){var r=Z.applyTransform(e,t),n=Z.applyTransform(e.slice(2),t),i=Z.applyTransform([e[0],e[3]],t),a=Z.applyTransform([e[2],e[1]],t);this.minX=Math.min(this.minX,r[0],n[0],i[0],a[0]),this.minY=Math.min(this.minY,r[1],n[1],i[1],a[1]),this.maxX=Math.max(this.maxX,r[0],n[0],i[0],a[0]),this.maxY=Math.max(this.maxY,r[1],n[1],i[1],a[1])}},{key:"updateScalingPathMinMax",value:function(t,e){Z.scaleMinMax(t,e),this.minX=Math.min(this.minX,e[0]),this.minY=Math.min(this.minY,e[1]),this.maxX=Math.max(this.maxX,e[2]),this.maxY=Math.max(this.maxY,e[3])}},{key:"updateCurvePathMinMax",value:function(t,e,r,n,i,a,o,s,u,c){var l=Z.bezierBoundingBox(e,r,n,i,a,o,s,u,c);c||this.updateRectMinMax(t,l)}},{key:"getPathBoundingBox",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ts,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=[this.minX,this.minY,this.maxX,this.maxY];if(t===Ps){e||F("Stroke bounding box must include transform.");var n=Z.singularValueDecompose2dScale(e),i=n[0]*this.lineWidth/2,a=n[1]*this.lineWidth/2;r[0]-=i,r[1]-=a,r[2]+=i,r[3]+=a}return r}},{key:"updateClipFromPath",value:function(){var t=Z.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}},{key:"isEmptyClip",value:function(){return this.minX===1/0}},{key:"startNewPathAndClipBox",value:function(t){this.clipBox=t,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}},{key:"getClippedPathBoundingBox",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ts,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Z.intersect(this.clipBox,this.getPathBoundingBox(t,e))}}])}();function eu(t,e){if("undefined"!=typeof ImageData&&e instanceof ImageData)t.putImageData(e,0,0);else{var r,n,i,a,o,s=e.height,u=e.width,c=s%Js,l=(s-c)/Js,h=0===c?l:l+1,f=t.createImageData(u,Js),d=0,v=e.data,p=f.data;if(e.kind===S.GRAYSCALE_1BPP){var y=v.byteLength,g=new Uint32Array(p.buffer,0,p.byteLength>>2),m=g.length,b=u+7>>3,w=4294967295,k=J.isLittleEndian?4278190080:255;for(n=0;n<h;n++){for(a=n<l?Js:c,r=0,i=0;i<a;i++){for(var x=y-d,A=0,_=x>b?u:8*x-7,E=-8&_,O=0,T=0;A<E;A+=8)T=v[d++],g[r++]=128&T?w:k,g[r++]=64&T?w:k,g[r++]=32&T?w:k,g[r++]=16&T?w:k,g[r++]=8&T?w:k,g[r++]=4&T?w:k,g[r++]=2&T?w:k,g[r++]=1&T?w:k;for(;A<_;A++)0===O&&(T=v[d++],O=128),g[r++]=T&O?w:k,O>>=1}for(;r<m;)g[r++]=0;t.putImageData(f,0,n*Js)}}else if(e.kind===S.RGBA_32BPP){for(i=0,o=u*Js*4,n=0;n<l;n++)p.set(v.subarray(d,d+o)),d+=o,t.putImageData(f,0,i),i+=Js;n<h&&(o=u*c*4,p.set(v.subarray(d,d+o)),t.putImageData(f,0,i))}else{if(e.kind!==S.RGB_24BPP)throw new Error("bad image kind: ".concat(e.kind));for(o=u*(a=Js),n=0;n<h;n++){for(n>=l&&(o=u*(a=c)),r=0,i=o;i--;)p[r++]=v[d++],p[r++]=v[d++],p[r++]=v[d++],p[r++]=255;t.putImageData(f,0,n*Js)}}}}function ru(t,e){if(e.bitmap)t.drawImage(e.bitmap,0,0);else for(var r=e.height,n=e.width,i=r%Js,a=(r-i)/Js,o=0===i?a:a+1,s=t.createImageData(n,Js),u=0,c=e.data,l=s.data,h=0;h<o;h++)u=Bs({src:c,srcPos:u,dest:l,width:n,height:h<a?Js:i,nonBlackColor:0}).srcPos,t.putImageData(s,0,h*Js)}function nu(t,e){for(var r=0,n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font","filter"];r<n.length;r++){var i=n[r];void 0!==t[i]&&(e[i]=t[i])}void 0!==t.setLineDash&&(e.setLineDash(t.getLineDash()),e.lineDashOffset=t.lineDashOffset)}function iu(t){if(t.strokeStyle=t.fillStyle="#000000",t.fillRule="nonzero",t.globalAlpha=1,t.lineWidth=1,t.lineCap="butt",t.lineJoin="miter",t.miterLimit=10,t.globalCompositeOperation="source-over",t.font="10px sans-serif",void 0!==t.setLineDash&&(t.setLineDash([]),t.lineDashOffset=0),!m){var e=t.filter;"none"!==e&&""!==e&&(t.filter="none")}}function au(t,e){if(e)return!0;var r=Z.singularValueDecompose2dScale(t);r[0]=Math.fround(r[0]),r[1]=Math.fround(r[1]);var n=Math.fround((globalThis.devicePixelRatio||1)*Vt.PDF_TO_CSS_UNITS);return r[0]<=n&&r[1]<=n}var ou=["butt","round","square"],su=["miter","round","bevel"],uu={},cu={},lu=new WeakSet,hu=function(){function t(e,r,n,i,a,o,s,u){var c=o.optionalContentConfig,l=o.markedContentStack,h=void 0===l?null:l;Ys(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,lu),this.ctx=e,this.current=new tu(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=r,this.objs=n,this.canvasFactory=i,this.filterFactory=a,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=h||[],this.optionalContentConfig=c,this.cachedCanvases=new $s(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=s,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=u,this._cachedScaleForStroking=[-1,0],this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}return Ks(t,[{key:"getObject",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"string"==typeof t?t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t):e}},{key:"beginDrawing",value:function(t){var e,r,n=t.transform,i=t.viewport,a=t.transparency,o=void 0!==a&&a,s=t.background,u=void 0===s?null:s,c=this.ctx.canvas.width,l=this.ctx.canvas.height,h=this.ctx.fillStyle;if(this.ctx.fillStyle=u||"#ffffff",this.ctx.fillRect(0,0,c,l),this.ctx.fillStyle=h,o){var f,d=this.cachedCanvases.getCanvas("transparent",c,l);this.compositeCtx=this.ctx,this.transparentCanvas=d.canvas,this.ctx=d.context,this.ctx.save(),(f=this.ctx).transform.apply(f,Gs(je(this.compositeCtx)))}this.ctx.save(),iu(this.ctx),n&&((r=this.ctx).transform.apply(r,Gs(n)),this.outputScaleX=n[0],this.outputScaleY=n[0]),(e=this.ctx).transform.apply(e,Gs(i.transform)),this.viewportScale=i.scale,this.baseTransform=je(this.ctx)}},{key:"executeOperatorList",value:function(t,e,r,n){var i=t.argsArray,a=t.fnArray,o=e||0,s=i.length;if(s===o)return o;for(var u,c=s-o>10&&"function"==typeof r,l=c?Date.now()+15:0,h=0,f=this.commonObjs,d=this.objs;;){if(void 0!==n&&o===n.nextBreakPoint)return n.breakIt(o,r),o;if((u=a[o])!==P.dependency)this[u].apply(this,i[o]);else{var v,p=Us(i[o]);try{for(p.s();!(v=p.n()).done;){var y=v.value,g=y.startsWith("g_")?f:d;if(!g.has(y))return g.get(y,r),o}}catch(t){p.e(t)}finally{p.f()}}if(++o===s)return o;if(c&&++h>10){if(Date.now()>l)return r(),o;h=0}}}},{key:"endDrawing",value:function(){Hs(lu,this,fu).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();var t,e=Us(this._cachedBitmapsMap.values());try{for(e.s();!(t=e.n()).done;){var r,n=t.value,i=Us(n.values());try{for(i.s();!(r=i.n()).done;){var a=r.value;"undefined"!=typeof HTMLCanvasElement&&a instanceof HTMLCanvasElement&&(a.width=a.height=0)}}catch(t){i.e(t)}finally{i.f()}n.clear()}}catch(t){e.e(t)}finally{e.f()}this._cachedBitmapsMap.clear(),Hs(lu,this,du).call(this)}},{key:"_scaleImage",value:function(t,e){for(var r,n,i=t.width,a=t.height,o=Math.max(Math.hypot(e[0],e[1]),1),s=Math.max(Math.hypot(e[2],e[3]),1),u=i,c=a,l="prescale1";o>2&&u>1||s>2&&c>1;){var h=u,f=c;o>2&&u>1&&(o/=u/(h=u>=16384?Math.floor(u/2)-1||1:Math.ceil(u/2))),s>2&&c>1&&(s/=c/(f=c>=16384?Math.floor(c/2)-1||1:Math.ceil(c)/2)),(n=(r=this.cachedCanvases.getCanvas(l,h,f)).context).clearRect(0,0,h,f),n.drawImage(t,0,0,u,c,0,0,h,f),t=r.canvas,u=h,c=f,l="prescale1"===l?"prescale2":"prescale1"}return{img:t,paintWidth:u,paintHeight:c}}},{key:"_createMaskCanvas",value:function(t){var e,r,n,i,a=this.ctx,o=t.width,s=t.height,u=this.current.fillColor,c=this.current.patternFill,l=je(a);if((t.bitmap||t.data)&&t.count>1){var h=t.bitmap||t.data.buffer;r=JSON.stringify(c?l:[l.slice(0,4),u]),(e=this._cachedBitmapsMap.get(h))||(e=new Map,this._cachedBitmapsMap.set(h,e));var f=e.get(r);if(f&&!c)return{canvas:f,offsetX:Math.round(Math.min(l[0],l[2])+l[4]),offsetY:Math.round(Math.min(l[1],l[3])+l[5])};n=f}n||ru((i=this.cachedCanvases.getCanvas("maskCanvas",o,s)).context,t);var d=Z.transform(l,[1/o,0,0,-1/s,0,0]);d=Z.transform(d,[1,0,0,1,0,-s]);var v=zs(Z.getAxialAlignedBoundingBox([0,0,o,s],d),4),p=v[0],y=v[1],g=v[2],m=v[3],b=Math.round(g-p)||1,w=Math.round(m-y)||1,k=this.cachedCanvases.getCanvas("fillCanvas",b,w),x=k.context,A=p,_=y;x.translate(-A,-_),x.transform.apply(x,Gs(d)),n||(n=(n=this._scaleImage(i.canvas,Ie(x))).img,e&&c&&e.set(r,n)),x.imageSmoothingEnabled=au(je(x),t.interpolate),Zs(x,n,0,0,n.width,n.height,0,0,o,s),x.globalCompositeOperation="source-in";var E=Z.transform(Ie(x),[1,0,0,1,-A,-_]);return x.fillStyle=c?u.getPattern(a,this,E,Ts):u,x.fillRect(0,0,o,s),e&&!c&&(this.cachedCanvases.delete("fillCanvas"),e.set(r,k.canvas)),{canvas:k.canvas,offsetX:Math.round(A),offsetY:Math.round(_)}}},{key:"setLineWidth",value:function(t){t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}},{key:"setLineCap",value:function(t){this.ctx.lineCap=ou[t]}},{key:"setLineJoin",value:function(t){this.ctx.lineJoin=su[t]}},{key:"setMiterLimit",value:function(t){this.ctx.miterLimit=t}},{key:"setDash",value:function(t,e){var r=this.ctx;void 0!==r.setLineDash&&(r.setLineDash(t),r.lineDashOffset=e)}},{key:"setRenderingIntent",value:function(t){}},{key:"setFlatness",value:function(t){}},{key:"setGState",value:function(t){var e,r=Us(t);try{for(r.s();!(e=r.n()).done;){var n=zs(e.value,2),i=n[0],a=n[1];switch(i){case"LW":this.setLineWidth(a);break;case"LC":this.setLineCap(a);break;case"LJ":this.setLineJoin(a);break;case"ML":this.setMiterLimit(a);break;case"D":this.setDash(a[0],a[1]);break;case"RI":this.setRenderingIntent(a);break;case"FL":this.setFlatness(a);break;case"Font":this.setFont(a[0],a[1]);break;case"CA":this.current.strokeAlpha=a;break;case"ca":this.current.fillAlpha=a,this.ctx.globalAlpha=a;break;case"BM":this.ctx.globalCompositeOperation=a;break;case"SMask":this.current.activeSMask=a?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(a)}}}catch(t){r.e(t)}finally{r.f()}}},{key:"inSMaskMode",get:function(){return!!this.suspendedCtx}},{key:"checkSMaskState",value:function(){var t=this.inSMaskMode;this.current.activeSMask&&!t?this.beginSMaskMode():!this.current.activeSMask&&t&&this.endSMaskMode()}},{key:"beginSMaskMode",value:function(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");var t=this.ctx.canvas.width,e=this.ctx.canvas.height,r="smaskGroupAt"+this.groupLevel,n=this.cachedCanvases.getCanvas(r,t,e);this.suspendedCtx=this.ctx,this.ctx=n.context;var i=this.ctx;i.setTransform.apply(i,Gs(je(this.suspendedCtx))),nu(this.suspendedCtx,i),function(t,e){if(t._removeMirroring)throw new Error("Context is already forwarding operations.");t.__originalSave=t.save,t.__originalRestore=t.restore,t.__originalRotate=t.rotate,t.__originalScale=t.scale,t.__originalTranslate=t.translate,t.__originalTransform=t.transform,t.__originalSetTransform=t.setTransform,t.__originalResetTransform=t.resetTransform,t.__originalClip=t.clip,t.__originalMoveTo=t.moveTo,t.__originalLineTo=t.lineTo,t.__originalBezierCurveTo=t.bezierCurveTo,t.__originalRect=t.rect,t.__originalClosePath=t.closePath,t.__originalBeginPath=t.beginPath,t._removeMirroring=function(){t.save=t.__originalSave,t.restore=t.__originalRestore,t.rotate=t.__originalRotate,t.scale=t.__originalScale,t.translate=t.__originalTranslate,t.transform=t.__originalTransform,t.setTransform=t.__originalSetTransform,t.resetTransform=t.__originalResetTransform,t.clip=t.__originalClip,t.moveTo=t.__originalMoveTo,t.lineTo=t.__originalLineTo,t.bezierCurveTo=t.__originalBezierCurveTo,t.rect=t.__originalRect,t.closePath=t.__originalClosePath,t.beginPath=t.__originalBeginPath,delete t._removeMirroring},t.save=function(){e.save(),this.__originalSave()},t.restore=function(){e.restore(),this.__originalRestore()},t.translate=function(t,r){e.translate(t,r),this.__originalTranslate(t,r)},t.scale=function(t,r){e.scale(t,r),this.__originalScale(t,r)},t.transform=function(t,r,n,i,a,o){e.transform(t,r,n,i,a,o),this.__originalTransform(t,r,n,i,a,o)},t.setTransform=function(t,r,n,i,a,o){e.setTransform(t,r,n,i,a,o),this.__originalSetTransform(t,r,n,i,a,o)},t.resetTransform=function(){e.resetTransform(),this.__originalResetTransform()},t.rotate=function(t){e.rotate(t),this.__originalRotate(t)},t.clip=function(t){e.clip(t),this.__originalClip(t)},t.moveTo=function(t,r){e.moveTo(t,r),this.__originalMoveTo(t,r)},t.lineTo=function(t,r){e.lineTo(t,r),this.__originalLineTo(t,r)},t.bezierCurveTo=function(t,r,n,i,a,o){e.bezierCurveTo(t,r,n,i,a,o),this.__originalBezierCurveTo(t,r,n,i,a,o)},t.rect=function(t,r,n,i){e.rect(t,r,n,i),this.__originalRect(t,r,n,i)},t.closePath=function(){e.closePath(),this.__originalClosePath()},t.beginPath=function(){e.beginPath(),this.__originalBeginPath()}}(i,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}},{key:"endSMaskMode",value:function(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),nu(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}},{key:"compose",value:function(t){if(this.current.activeSMask){t?(t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.ceil(t[2]),t[3]=Math.ceil(t[3])):t=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];var e=this.current.activeSMask,r=this.suspendedCtx;this.composeSMask(r,e,this.ctx,t),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}}},{key:"composeSMask",value:function(t,e,r,n){var i=n[0],a=n[1],o=n[2]-i,s=n[3]-a;0!==o&&0!==s&&(this.genericComposeSMask(e.context,r,o,s,e.subtype,e.backdrop,e.transferMap,i,a,e.offsetX,e.offsetY),t.save(),t.globalAlpha=1,t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0),t.drawImage(r.canvas,0,0),t.restore())}},{key:"genericComposeSMask",value:function(t,e,r,n,i,a,o,s,u,c,l){var h=t.canvas,f=s-c,d=u-l;if(a)if(f<0||d<0||f+r>h.width||d+n>h.height){var v=this.cachedCanvases.getCanvas("maskExtension",r,n),p=v.context;p.drawImage(h,-f,-d),a.some((function(t){return 0!==t}))&&(p.globalCompositeOperation="destination-atop",p.fillStyle=Z.makeHexColor.apply(Z,Gs(a)),p.fillRect(0,0,r,n),p.globalCompositeOperation="source-over"),h=v.canvas,f=d=0}else if(a.some((function(t){return 0!==t}))){t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);var y=new Path2D;y.rect(f,d,r,n),t.clip(y),t.globalCompositeOperation="destination-atop",t.fillStyle=Z.makeHexColor.apply(Z,Gs(a)),t.fillRect(f,d,r,n),t.restore()}e.save(),e.globalAlpha=1,e.setTransform(1,0,0,1,0,0),"Alpha"===i&&o?e.filter=this.filterFactory.addAlphaFilter(o):"Luminosity"===i&&(e.filter=this.filterFactory.addLuminosityFilter(o));var g=new Path2D;g.rect(s,u,r,n),e.clip(g),e.globalCompositeOperation="destination-in",e.drawImage(h,f,d,r,n,s,u,r,n),e.restore()}},{key:"save",value:function(){this.inSMaskMode?(nu(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();var t=this.current;this.stateStack.push(t),this.current=t.clone()}},{key:"restore",value:function(){0===this.stateStack.length&&this.inSMaskMode&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),nu(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}},{key:"transform",value:function(t,e,r,n,i,a){this.ctx.transform(t,e,r,n,i,a),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}},{key:"constructPath",value:function(t,e,r){for(var n,i,a=this.ctx,o=this.current,s=o.x,u=o.y,c=je(a),l=0===c[0]&&0===c[3]||0===c[1]&&0===c[2],h=l?r.slice(0):null,f=0,d=0,v=t.length;f<v;f++)switch(0|t[f]){case P.rectangle:s=e[d++],u=e[d++];var p=e[d++],y=e[d++],g=s+p,m=u+y;a.moveTo(s,u),0===p||0===y?a.lineTo(g,m):(a.lineTo(g,u),a.lineTo(g,m),a.lineTo(s,m)),l||o.updateRectMinMax(c,[s,u,g,m]),a.closePath();break;case P.moveTo:s=e[d++],u=e[d++],a.moveTo(s,u),l||o.updatePathMinMax(c,s,u);break;case P.lineTo:s=e[d++],u=e[d++],a.lineTo(s,u),l||o.updatePathMinMax(c,s,u);break;case P.curveTo:n=s,i=u,s=e[d+4],u=e[d+5],a.bezierCurveTo(e[d],e[d+1],e[d+2],e[d+3],s,u),o.updateCurvePathMinMax(c,n,i,e[d],e[d+1],e[d+2],e[d+3],s,u,h),d+=6;break;case P.curveTo2:n=s,i=u,a.bezierCurveTo(s,u,e[d],e[d+1],e[d+2],e[d+3]),o.updateCurvePathMinMax(c,n,i,s,u,e[d],e[d+1],e[d+2],e[d+3],h),s=e[d+2],u=e[d+3],d+=4;break;case P.curveTo3:n=s,i=u,s=e[d+2],u=e[d+3],a.bezierCurveTo(e[d],e[d+1],s,u,s,u),o.updateCurvePathMinMax(c,n,i,e[d],e[d+1],s,u,s,u,h),d+=4;break;case P.closePath:a.closePath()}l&&o.updateScalingPathMinMax(c,h),o.setCurrentPoint(s,u)}},{key:"closePath",value:function(){this.ctx.closePath()}},{key:"stroke",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.ctx,r=this.current.strokeColor;e.globalAlpha=this.current.strokeAlpha,this.contentVisible&&("object"==typeof r&&null!=r&&r.getPattern?(e.save(),e.strokeStyle=r.getPattern(e,this,Ie(e),Ps),this.rescaleAndStroke(!1),e.restore()):this.rescaleAndStroke(!0)),t&&this.consumePath(this.current.getClippedPathBoundingBox()),e.globalAlpha=this.current.fillAlpha}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"fill",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.ctx,r=this.current.fillColor,n=!1;this.current.patternFill&&(e.save(),e.fillStyle=r.getPattern(e,this,Ie(e),Ts),n=!0);var i=this.current.getClippedPathBoundingBox();this.contentVisible&&null!==i&&(this.pendingEOFill?(e.fill("evenodd"),this.pendingEOFill=!1):e.fill()),n&&e.restore(),t&&this.consumePath(i)}},{key:"eoFill",value:function(){this.pendingEOFill=!0,this.fill()}},{key:"fillStroke",value:function(){this.fill(!1),this.stroke(!1),this.consumePath()}},{key:"eoFillStroke",value:function(){this.pendingEOFill=!0,this.fillStroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}},{key:"endPath",value:function(){this.consumePath()}},{key:"clip",value:function(){this.pendingClip=uu}},{key:"eoClip",value:function(){this.pendingClip=cu}},{key:"beginText",value:function(){this.current.textMatrix=b,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}},{key:"endText",value:function(){var t=this.pendingTextPaths,e=this.ctx;if(void 0!==t){e.save(),e.beginPath();var r,n=Us(t);try{for(n.s();!(r=n.n()).done;){var i=r.value;e.setTransform.apply(e,Gs(i.transform)),e.translate(i.x,i.y),i.addToPath(e,i.fontSize)}}catch(t){n.e(t)}finally{n.f()}e.restore(),e.clip(),e.beginPath(),delete this.pendingTextPaths}else e.beginPath()}},{key:"setCharSpacing",value:function(t){this.current.charSpacing=t}},{key:"setWordSpacing",value:function(t){this.current.wordSpacing=t}},{key:"setHScale",value:function(t){this.current.textHScale=t/100}},{key:"setLeading",value:function(t){this.current.leading=-t}},{key:"setFont",value:function(t,e){var r,n=this.commonObjs.get(t),i=this.current;if(!n)throw new Error("Can't find font for ".concat(t));if(i.fontMatrix=n.fontMatrix||w,0!==i.fontMatrix[0]&&0!==i.fontMatrix[3]||R("Invalid font matrix for font "+t),e<0?(e=-e,i.fontDirection=-1):i.fontDirection=1,this.current.font=n,this.current.fontSize=e,!n.isType3Font){var a=n.loadedName||"sans-serif",o=(null===(r=n.systemFontInfo)||void 0===r?void 0:r.css)||'"'.concat(a,'", ').concat(n.fallbackName),s="normal";n.black?s="900":n.bold&&(s="bold");var u=n.italic?"italic":"normal",c=e;e<16?c=16:e>100&&(c=100),this.current.fontSizeScale=e/c,this.ctx.font="".concat(u," ").concat(s," ").concat(c,"px ").concat(o)}}},{key:"setTextRenderingMode",value:function(t){this.current.textRenderingMode=t}},{key:"setTextRise",value:function(t){this.current.textRise=t}},{key:"moveText",value:function(t,e){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=e}},{key:"setLeadingMoveText",value:function(t,e){this.setLeading(-e),this.moveText(t,e)}},{key:"setTextMatrix",value:function(t,e,r,n,i,a){this.current.textMatrix=[t,e,r,n,i,a],this.current.textMatrixScale=Math.hypot(t,e),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"paintChar",value:function(t,e,r,n){var i,a=this.ctx,o=this.current,s=o.font,u=o.textRenderingMode,c=o.fontSize/o.fontSizeScale,l=3&u,h=!!(4&u),f=o.patternFill&&!s.missingFile;(s.disableFontFace||h||f)&&(i=s.getPathGenerator(this.commonObjs,t)),s.disableFontFace||f?(a.save(),a.translate(e,r),a.beginPath(),i(a,c),n&&a.setTransform.apply(a,Gs(n)),0!==l&&2!==l||a.fill(),1!==l&&2!==l||a.stroke(),a.restore()):(0!==l&&2!==l||a.fillText(t,e,r),1!==l&&2!==l||a.strokeText(t,e,r)),h&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:je(a),x:e,y:r,fontSize:c,addToPath:i})}},{key:"isFontSubpixelAAEnabled",get:function(){var t=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10).context;t.scale(1.5,1),t.fillText("I",0,10);for(var e=t.getImageData(0,0,10,10).data,r=!1,n=3;n<e.length;n+=4)if(e[n]>0&&e[n]<255){r=!0;break}return W(this,"isFontSubpixelAAEnabled",r)}},{key:"showText",value:function(t){var e=this.current,r=e.font;if(r.isType3Font)return this.showType3Text(t);var n=e.fontSize;if(0!==n){var i,a=this.ctx,o=e.fontSizeScale,s=e.charSpacing,u=e.wordSpacing,c=e.fontDirection,l=e.textHScale*c,h=t.length,f=r.vertical,d=f?1:-1,v=r.defaultVMetrics,p=n*e.fontMatrix[0],y=0===e.textRenderingMode&&!r.disableFontFace&&!e.patternFill;if(a.save(),a.transform.apply(a,Gs(e.textMatrix)),a.translate(e.x,e.y+e.textRise),c>0?a.scale(l,-1):a.scale(l,1),e.patternFill){a.save();var g=e.fillColor.getPattern(a,this,Ie(a),Ts);i=je(a),a.restore(),a.fillStyle=g}var m=e.lineWidth,b=e.textMatrixScale;if(0===b||0===m){var w=3&e.textRenderingMode;1!==w&&2!==w||(m=this.getSinglePixelWidth())}else m/=b;if(1!==o&&(a.scale(o,o),m/=o),a.lineWidth=m,r.isInvalidPDFjsFont){var k,x=[],A=0,_=Us(t);try{for(_.s();!(k=_.n()).done;){var E=k.value;x.push(E.unicode),A+=E.width}}catch(t){_.e(t)}finally{_.f()}return a.fillText(x.join(""),0,0),e.x+=A*p*l,a.restore(),void this.compose()}var S,O=0;for(S=0;S<h;++S){var T=t[S];if("number"!=typeof T){var P=!1,L=(T.isSpace?u:0)+s,M=T.fontChar,C=T.accent,j=void 0,I=void 0,R=T.width;if(f){var F=T.vmetric||v,D=-(T.vmetric?F[1]:.5*R)*p,N=F[2]*p;R=F?-F[0]:R,j=D/o,I=(O+N)/o}else j=O/o,I=0;if(r.remeasure&&R>0){var W=1e3*a.measureText(M).width/n*o;if(R<W&&this.isFontSubpixelAAEnabled){var B=R/W;P=!0,a.save(),a.scale(B,1),j/=B}else R!==W&&(j+=(R-W)/2e3*n/o)}if(this.contentVisible&&(T.isInFont||r.missingFile))if(y&&!C)a.fillText(M,j,I);else if(this.paintChar(M,j,I,i),C){var G=j+n*C.offset.x/o,H=I-n*C.offset.y/o;this.paintChar(C.fontChar,G,H,i)}O+=f?R*p-L*c:R*p+L*c,P&&a.restore()}else O+=d*T*n/1e3}f?e.y-=O:e.x+=O*l,a.restore(),this.compose()}}},{key:"showType3Text",value:function(t){var e,r,n,i,a=this.ctx,o=this.current,s=o.font,u=o.fontSize,c=o.fontDirection,l=s.vertical?1:-1,h=o.charSpacing,f=o.wordSpacing,d=o.textHScale*c,v=o.fontMatrix||w,p=t.length;if(3!==o.textRenderingMode&&0!==u){for(this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,a.save(),a.transform.apply(a,Gs(o.textMatrix)),a.translate(o.x,o.y),a.scale(d,c),e=0;e<p;++e)if("number"!=typeof(r=t[e])){var y=(r.isSpace?f:0)+h,g=s.charProcOperatorList[r.operatorListId];g?(this.contentVisible&&(this.processingType3=r,this.save(),a.scale(u,u),a.transform.apply(a,Gs(v)),this.executeOperatorList(g),this.restore()),n=Z.applyTransform([r.width,0],v)[0]*u+y,a.translate(n,0),o.x+=n*d):R('Type3 character "'.concat(r.operatorListId,'" is not available.'))}else i=l*r*u/1e3,this.ctx.translate(i,0),o.x+=i*d;a.restore(),this.processingType3=null}}},{key:"setCharWidth",value:function(t,e){}},{key:"setCharWidthAndBounds",value:function(t,e,r,n,i,a){this.ctx.rect(r,n,i-r,a-n),this.ctx.clip(),this.endPath()}},{key:"getColorN_Pattern",value:function(e){var r,n=this;if("TilingPattern"===e[0]){var i=e[1],a=this.baseTransform||je(this.ctx),o={createCanvasGraphics:function(e){return new t(e,n.commonObjs,n.objs,n.canvasFactory,n.filterFactory,{optionalContentConfig:n.optionalContentConfig,markedContentStack:n.markedContentStack})}};r=new Ns(e,i,this.ctx,o,a)}else r=this._getPattern(e[1],e[2]);return r}},{key:"setStrokeColorN",value:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)}},{key:"setFillColorN",value:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}},{key:"setStrokeRGBColor",value:function(t,e,r){this.ctx.strokeStyle=this.current.strokeColor=Z.makeHexColor(t,e,r)}},{key:"setStrokeTransparent",value:function(){this.ctx.strokeStyle=this.current.strokeColor="transparent"}},{key:"setFillRGBColor",value:function(t,e,r){this.ctx.fillStyle=this.current.fillColor=Z.makeHexColor(t,e,r),this.current.patternFill=!1}},{key:"setFillTransparent",value:function(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}},{key:"_getPattern",value:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.cachedPatterns.has(t)?e=this.cachedPatterns.get(t):(e=function(t){switch(t[0]){case"RadialAxial":return new js(t);case"Mesh":return new Fs(t);case"Dummy":return new Ds}throw new Error("Unknown IR type: ".concat(t[0]))}(this.getObject(t)),this.cachedPatterns.set(t,e)),r&&(e.matrix=r),e}},{key:"shadingFill",value:function(t){if(this.contentVisible){var e=this.ctx;this.save();var r=this._getPattern(t);e.fillStyle=r.getPattern(e,this,Ie(e),Ls);var n=Ie(e);if(n){var i=e.canvas,a=i.width,o=i.height,s=zs(Z.getAxialAlignedBoundingBox([0,0,a,o],n),4),u=s[0],c=s[1],l=s[2],h=s[3];this.ctx.fillRect(u,c,l-u,h-c)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}}},{key:"beginInlineImage",value:function(){F("Should not call beginInlineImage")}},{key:"beginImageData",value:function(){F("Should not call beginImageData")}},{key:"paintFormXObjectBegin",value:function(t,e){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),t&&this.transform.apply(this,Gs(t)),this.baseTransform=je(this.ctx),e)){var r=e[2]-e[0],n=e[3]-e[1];this.ctx.rect(e[0],e[1],r,n),this.current.updateRectMinMax(je(this.ctx),e),this.clip(),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}},{key:"beginGroup",value:function(t){if(this.contentVisible){this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);var e=this.ctx;t.isolated||I("TODO: Support non-isolated groups."),t.knockout&&R("Knockout groups not supported.");var r=je(e);if(t.matrix&&e.transform.apply(e,Gs(t.matrix)),!t.bbox)throw new Error("Bounding box is required.");var n=Z.getAxialAlignedBoundingBox(t.bbox,je(e)),i=[0,0,e.canvas.width,e.canvas.height];n=Z.intersect(n,i)||[0,0,0,0];var a=Math.floor(n[0]),o=Math.floor(n[1]),s=Math.max(Math.ceil(n[2])-a,1),u=Math.max(Math.ceil(n[3])-o,1);this.current.startNewPathAndClipBox([0,0,s,u]);var c="groupAt"+this.groupLevel;t.smask&&(c+="_smask_"+this.smaskCounter++%2);var l=this.cachedCanvases.getCanvas(c,s,u),h=l.context;h.translate(-a,-o),h.transform.apply(h,Gs(r)),t.smask?this.smaskStack.push({canvas:l.canvas,context:h,offsetX:a,offsetY:o,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(e.setTransform(1,0,0,1,0,0),e.translate(a,o),e.save()),nu(e,h),this.ctx=h,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(e),this.groupLevel++}}},{key:"endGroup",value:function(t){if(this.contentVisible){this.groupLevel--;var e=this.ctx,r=this.groupStack.pop();if(this.ctx=r,this.ctx.imageSmoothingEnabled=!1,t.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{var n;this.ctx.restore();var i=je(this.ctx);this.restore(),this.ctx.save(),(n=this.ctx).setTransform.apply(n,Gs(i));var a=Z.getAxialAlignedBoundingBox([0,0,e.canvas.width,e.canvas.height],i);this.ctx.drawImage(e.canvas,0,0),this.ctx.restore(),this.compose(a)}}}},{key:"beginAnnotation",value:function(t,e,r,n,i){var a;if(Hs(lu,this,fu).call(this),iu(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&(a=this.ctx).setTransform.apply(a,Gs(this.baseTransform)),e){var o=e[2]-e[0],s=e[3]-e[1];if(i&&this.annotationCanvasMap){(r=r.slice())[4]-=e[0],r[5]-=e[1],(e=e.slice())[0]=e[1]=0,e[2]=o,e[3]=s;var u=zs(Z.singularValueDecompose2dScale(je(this.ctx)),2),c=u[0],l=u[1],h=this.viewportScale,f=Math.ceil(o*this.outputScaleX*h),d=Math.ceil(s*this.outputScaleY*h);this.annotationCanvas=this.canvasFactory.create(f,d);var v=this.annotationCanvas,p=v.canvas,y=v.context;this.annotationCanvasMap.set(t,p),this.annotationCanvas.savedCtx=this.ctx,this.ctx=y,this.ctx.save(),this.ctx.setTransform(c,0,0,-l,0,s*l),iu(this.ctx)}else iu(this.ctx),this.endPath(),this.ctx.rect(e[0],e[1],o,s),this.ctx.clip(),this.ctx.beginPath()}this.current=new tu(this.ctx.canvas.width,this.ctx.canvas.height),this.transform.apply(this,Gs(r)),this.transform.apply(this,Gs(n))}},{key:"endAnnotation",value:function(){this.annotationCanvas&&(this.ctx.restore(),Hs(lu,this,du).call(this),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}},{key:"paintImageMaskXObject",value:function(t){if(this.contentVisible){var e=t.count;(t=this.getObject(t.data,t)).count=e;var r=this.ctx,n=this.processingType3;if(n&&(void 0===n.compiled&&(n.compiled=function(t){var e=t.width,r=t.height;if(e>1e3||r>1e3)return null;var n,i,a,o,s=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),u=e+1,c=new Uint8Array(u*(r+1)),l=e+7&-8,h=new Uint8Array(l*r),f=0,d=Us(t.data);try{for(d.s();!(o=d.n()).done;)for(var v=o.value,p=128;p>0;)h[f++]=v&p?0:255,p>>=1}catch(t){d.e(t)}finally{d.f()}var y=0;for(0!==h[f=0]&&(c[0]=1,++y),i=1;i<e;i++)h[f]!==h[f+1]&&(c[i]=h[f]?2:1,++y),f++;for(0!==h[f]&&(c[i]=2,++y),n=1;n<r;n++){a=n*u,h[(f=n*l)-l]!==h[f]&&(c[a]=h[f]?1:8,++y);var g=(h[f]?4:0)+(h[f-l]?8:0);for(i=1;i<e;i++)s[g=(g>>2)+(h[f+1]?4:0)+(h[f-l+1]?8:0)]&&(c[a+i]=s[g],++y),f++;if(h[f-l]!==h[f]&&(c[a+i]=h[f]?2:4,++y),y>1e3)return null}for(a=n*u,0!==h[f=l*(r-1)]&&(c[a]=8,++y),i=1;i<e;i++)h[f]!==h[f+1]&&(c[a+i]=h[f]?4:8,++y),f++;if(0!==h[f]&&(c[a+i]=4,++y),y>1e3)return null;var m=new Int32Array([0,u,-1,0,-u,0,0,0,1]),b=new Path2D;for(n=0;y&&n<=r;n++){for(var w=n*u,k=w+e;w<k&&!c[w];)w++;if(w!==k){b.moveTo(w%u,n);var x=w,A=c[w];do{var _=m[A];do{w+=_}while(!c[w]);var E=c[w];5!==E&&10!==E?(A=E,c[w]=0):(A=E&51*A>>4,c[w]&=A>>2|A<<2),b.lineTo(w%u,w/u|0),c[w]||--y}while(x!==w);--n}}return h=null,c=null,function(t){t.save(),t.scale(1/e,-1/r),t.translate(0,-r),t.fill(b),t.beginPath(),t.restore()}}(t)),n.compiled))n.compiled(r);else{var i=this._createMaskCanvas(t),a=i.canvas;r.save(),r.setTransform(1,0,0,1,0,0),r.drawImage(a,i.offsetX,i.offsetY),r.restore(),this.compose()}}}},{key:"paintImageMaskXObjectRepeat",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;if(this.contentVisible){t=this.getObject(t.data,t);var o=this.ctx;o.save();var s=je(o);o.transform(e,r,n,i,0,0);var u=this._createMaskCanvas(t);o.setTransform(1,0,0,1,u.offsetX-s[4],u.offsetY-s[5]);for(var c=0,l=a.length;c<l;c+=2){var h=Z.transform(s,[e,r,n,i,a[c],a[c+1]]),f=zs(Z.applyTransform([0,0],h),2),d=f[0],v=f[1];o.drawImage(u.canvas,d,v)}o.restore(),this.compose()}}},{key:"paintImageMaskXObjectGroup",value:function(t){if(this.contentVisible){var e,r=this.ctx,n=this.current.fillColor,i=this.current.patternFill,a=Us(t);try{for(a.s();!(e=a.n()).done;){var o=e.value,s=o.data,u=o.width,c=o.height,l=o.transform,h=this.cachedCanvases.getCanvas("maskCanvas",u,c),f=h.context;f.save(),ru(f,this.getObject(s,o)),f.globalCompositeOperation="source-in",f.fillStyle=i?n.getPattern(f,this,Ie(r),Ts):n,f.fillRect(0,0,u,c),f.restore(),r.save(),r.transform.apply(r,Gs(l)),r.scale(1,-1),Zs(r,h.canvas,0,0,u,c,0,-1,1,1),r.restore()}}catch(t){a.e(t)}finally{a.f()}this.compose()}}},{key:"paintImageXObject",value:function(t){if(this.contentVisible){var e=this.getObject(t);e?this.paintInlineImageXObject(e):R("Dependent image isn't ready yet")}}},{key:"paintImageXObjectRepeat",value:function(t,e,r,n){if(this.contentVisible){var i=this.getObject(t);if(i){for(var a=i.width,o=i.height,s=[],u=0,c=n.length;u<c;u+=2)s.push({transform:[e,0,0,r,n[u],n[u+1]],x:0,y:0,w:a,h:o});this.paintInlineImageXObjectGroup(i,s)}else R("Dependent image isn't ready yet")}}},{key:"applyTransferMapsToCanvas",value:function(t){return"none"!==this.current.transferMaps&&(t.filter=this.current.transferMaps,t.drawImage(t.canvas,0,0),t.filter="none"),t.canvas}},{key:"applyTransferMapsToBitmap",value:function(t){if("none"===this.current.transferMaps)return t.bitmap;var e=t.bitmap,r=t.width,n=t.height,i=this.cachedCanvases.getCanvas("inlineImage",r,n),a=i.context;return a.filter=this.current.transferMaps,a.drawImage(e,0,0),a.filter="none",i.canvas}},{key:"paintInlineImageXObject",value:function(t){if(this.contentVisible){var e,r=t.width,n=t.height,i=this.ctx;if(this.save(),!m){var a=i.filter;"none"!==a&&""!==a&&(i.filter="none")}if(i.scale(1/r,-1/n),t.bitmap)e=this.applyTransferMapsToBitmap(t);else if("function"==typeof HTMLElement&&t instanceof HTMLElement||!t.data)e=t;else{var o=this.cachedCanvases.getCanvas("inlineImage",r,n).context;eu(o,t),e=this.applyTransferMapsToCanvas(o)}var s=this._scaleImage(e,Ie(i));i.imageSmoothingEnabled=au(je(i),t.interpolate),Zs(i,s.img,0,0,s.paintWidth,s.paintHeight,0,-n,r,n),this.compose(),this.restore()}}},{key:"paintInlineImageXObjectGroup",value:function(t,e){if(this.contentVisible){var r,n=this.ctx;if(t.bitmap)r=t.bitmap;else{var i=t.width,a=t.height,o=this.cachedCanvases.getCanvas("inlineImage",i,a).context;eu(o,t),r=this.applyTransferMapsToCanvas(o)}var s,u=Us(e);try{for(u.s();!(s=u.n()).done;){var c=s.value;n.save(),n.transform.apply(n,Gs(c.transform)),n.scale(1,-1),Zs(n,r,c.x,c.y,c.w,c.h,0,-1,1,1),n.restore()}}catch(t){u.e(t)}finally{u.f()}this.compose()}}},{key:"paintSolidColorImageMask",value:function(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}},{key:"markPoint",value:function(t){}},{key:"markPointProps",value:function(t,e){}},{key:"beginMarkedContent",value:function(t){this.markedContentStack.push({visible:!0})}},{key:"beginMarkedContentProps",value:function(t,e){"OC"===t?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(e)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}},{key:"endMarkedContent",value:function(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}},{key:"beginCompat",value:function(){}},{key:"endCompat",value:function(){}},{key:"consumePath",value:function(t){var e=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(t);var r=this.ctx;this.pendingClip&&(e||(this.pendingClip===cu?r.clip("evenodd"):r.clip()),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),r.beginPath()}},{key:"getSinglePixelWidth",value:function(){if(!this._cachedGetSinglePixelWidth){var t=je(this.ctx);if(0===t[1]&&0===t[2])this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(t[0]),Math.abs(t[3]));else{var e=Math.abs(t[0]*t[3]-t[2]*t[1]),r=Math.hypot(t[0],t[2]),n=Math.hypot(t[1],t[3]);this._cachedGetSinglePixelWidth=Math.max(r,n)/e}}return this._cachedGetSinglePixelWidth}},{key:"getScaleForStroking",value:function(){if(-1===this._cachedScaleForStroking[0]){var t,e,r=this.current.lineWidth,n=this.ctx.getTransform(),i=n.a,a=n.b,o=n.c,s=n.d;if(0===a&&0===o){var u=Math.abs(i),c=Math.abs(s);if(u===c)if(0===r)t=e=1/u;else{var l=u*r;t=e=l<1?1/l:1}else if(0===r)t=1/u,e=1/c;else{var h=u*r,f=c*r;t=h<1?1/h:1,e=f<1?1/f:1}}else{var d=Math.abs(i*s-a*o),v=Math.hypot(i,a),p=Math.hypot(o,s);if(0===r)t=p/d,e=v/d;else{var y=r*d;t=p>y?p/y:1,e=v>y?v/y:1}}this._cachedScaleForStroking[0]=t,this._cachedScaleForStroking[1]=e}return this._cachedScaleForStroking}},{key:"rescaleAndStroke",value:function(t){var e=this.ctx,r=this.current.lineWidth,n=zs(this.getScaleForStroking(),2),i=n[0],a=n[1];if(e.lineWidth=r||1,1!==i||1!==a){var o=e.getLineDash();if(t&&e.save(),e.scale(i,a),o.length>0){var s=Math.max(i,a);e.setLineDash(o.map((function(t){return t/s}))),e.lineDashOffset/=s}e.stroke(),t&&e.restore()}else e.stroke()}},{key:"isContentVisible",value:function(){for(var t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}}])}();function fu(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}function du(){if(this.pageColors){var t=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if("none"!==t){var e=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=e}}}for(var vu in P)void 0!==hu.prototype[vu]&&(hu.prototype[P[vu]]=hu.prototype[vu]);function pu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,yu(n.key),n)}}function yu(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function gu(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var mu=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,r){return r&&pu(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,0,[{key:"workerPort",get:function(){return gu(t,this,bu)._},set:function(e){if(!("undefined"!=typeof Worker&&e instanceof Worker)&&null!==e)throw new Error("Invalid \`workerPort\` type.");bu._=gu(t,this,e)}},{key:"workerSrc",get:function(){return gu(t,this,wu)._},set:function(e){if("string"!=typeof e)throw new Error("Invalid \`workerSrc\` type.");wu._=gu(t,this,e)}}])}(),bu={_:null},wu={_:""};function ku(){ku=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function xu(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Au(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_u(n.key),n)}}function _u(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Eu(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}r(5204);function Su(t){switch(t instanceof Error||"object"==typeof t&&null!==t||F('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),t.name){case"AbortException":return new Y(t.message);case"MissingPDFException":return new z(t.message);case"PasswordException":return new G(t.message,t.code);case"UnexpectedResponseException":return new V(t.message,t.status);case"UnknownErrorException":return new H(t.message,t.details);default:return new H(t.message,t.toString())}}var Ou=new WeakSet,Tu=function(){return function(t,e,r){return e&&Au(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e,r,n){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,Ou),this.sourceName=e,this.targetName=r,this.comObj=n,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(t){var e=t.data;if(e.targetName===i.sourceName)if(e.stream)Eu(Ou,i,Lu).call(i,e);else if(e.callback){var r=e.callbackId,a=i.callbackCapabilities[r];if(!a)throw new Error("Cannot resolve callback ".concat(r));if(delete i.callbackCapabilities[r],1===e.callback)a.resolve(e.data);else{if(2!==e.callback)throw new Error("Unexpected callback case");a.reject(Su(e.reason))}}else{var o=i.actionHandler[e.action];if(!o)throw new Error("Unknown action from worker: ".concat(e.action));if(e.callbackId){var s=i.sourceName,u=e.sourceName;new Promise((function(t){t(o(e.data))})).then((function(t){n.postMessage({sourceName:s,targetName:u,callback:1,callbackId:e.callbackId,data:t})}),(function(t){n.postMessage({sourceName:s,targetName:u,callback:2,callbackId:e.callbackId,reason:Su(t)})}))}else e.streamId?Eu(Ou,i,Pu).call(i,e):o(e.data)}},n.addEventListener("message",this._onComObjOnMessage)}),[{key:"on",value:function(t,e){var r=this.actionHandler;if(r[t])throw new Error('There is already an actionName called "'.concat(t,'"'));r[t]=e}},{key:"send",value:function(t,e,r){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:e},r)}},{key:"sendWithPromise",value:function(t,e,r){var n=this.callbackId++,i=Promise.withResolvers();this.callbackCapabilities[n]=i;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:n,data:e},r)}catch(t){i.reject(t)}return i.promise}},{key:"sendWithStream",value:function(t,e,r,n){var i=this,a=this.streamId++,o=this.sourceName,s=this.targetName,u=this.comObj;return new ReadableStream({start:function(r){var c=Promise.withResolvers();return i.streamControllers[a]={controller:r,startCall:c,pullCall:null,cancelCall:null,isClosed:!1},u.postMessage({sourceName:o,targetName:s,action:t,streamId:a,data:e,desiredSize:r.desiredSize},n),c.promise},pull:function(t){var e=Promise.withResolvers();return i.streamControllers[a].pullCall=e,u.postMessage({sourceName:o,targetName:s,stream:6,streamId:a,desiredSize:t.desiredSize}),e.promise},cancel:function(t){D(t instanceof Error,"cancel must have a valid reason");var e=Promise.withResolvers();return i.streamControllers[a].cancelCall=e,i.streamControllers[a].isClosed=!0,u.postMessage({sourceName:o,targetName:s,stream:1,streamId:a,reason:Su(t)}),e.promise}},r)}},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}])}();function Pu(t){var e=t.streamId,r=this.sourceName,n=t.sourceName,i=this.comObj,a=this,o=this.actionHandler[t.action],s={enqueue(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var s=this.desiredSize;this.desiredSize-=a,s>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),i.postMessage({sourceName:r,targetName:n,stream:4,streamId:e,chunk:t},o)}},close(){this.isCancelled||(this.isCancelled=!0,i.postMessage({sourceName:r,targetName:n,stream:3,streamId:e}),delete a.streamSinks[e])},error(t){D(t instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,i.postMessage({sourceName:r,targetName:n,stream:5,streamId:e,reason:Su(t)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};s.sinkCapability.resolve(),s.ready=s.sinkCapability.promise,this.streamSinks[e]=s,new Promise((function(e){e(o(t.data,s))})).then((function(){i.postMessage({sourceName:r,targetName:n,stream:8,streamId:e,success:!0})}),(function(t){i.postMessage({sourceName:r,targetName:n,stream:8,streamId:e,reason:Su(t)})}))}function Lu(t){var e=t.streamId,r=this.sourceName,n=t.sourceName,i=this.comObj,a=this.streamControllers[e],o=this.streamSinks[e];switch(t.stream){case 8:t.success?a.startCall.resolve():a.startCall.reject(Su(t.reason));break;case 7:t.success?a.pullCall.resolve():a.pullCall.reject(Su(t.reason));break;case 6:if(!o){i.postMessage({sourceName:r,targetName:n,stream:7,streamId:e,success:!0});break}o.desiredSize<=0&&t.desiredSize>0&&o.sinkCapability.resolve(),o.desiredSize=t.desiredSize,new Promise((function(t){var e;t(null===(e=o.onPull)||void 0===e?void 0:e.call(o))})).then((function(){i.postMessage({sourceName:r,targetName:n,stream:7,streamId:e,success:!0})}),(function(t){i.postMessage({sourceName:r,targetName:n,stream:7,streamId:e,reason:Su(t)})}));break;case 4:if(D(a,"enqueue should have stream controller"),a.isClosed)break;a.controller.enqueue(t.chunk);break;case 3:if(D(a,"close should have stream controller"),a.isClosed)break;a.isClosed=!0,a.controller.close(),Eu(Ou,this,Mu).call(this,a,e);break;case 5:D(a,"error should have stream controller"),a.controller.error(Su(t.reason)),Eu(Ou,this,Mu).call(this,a,e);break;case 2:t.success?a.cancelCall.resolve():a.cancelCall.reject(Su(t.reason)),Eu(Ou,this,Mu).call(this,a,e);break;case 1:if(!o)break;new Promise((function(e){var r;e(null===(r=o.onCancel)||void 0===r?void 0:r.call(o,Su(t.reason)))})).then((function(){i.postMessage({sourceName:r,targetName:n,stream:2,streamId:e,success:!0})}),(function(t){i.postMessage({sourceName:r,targetName:n,stream:2,streamId:e,reason:Su(t)})})),o.sinkCapability.reject(Su(t.reason)),o.isCancelled=!0,delete this.streamSinks[e];break;default:throw new Error("Unexpected stream case")}}function Mu(t,e){return Cu.apply(this,arguments)}function Cu(){var t;return t=ku().mark((function t(e,r){var n,i,a;return ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.allSettled([null===(n=e.startCall)||void 0===n?void 0:n.promise,null===(i=e.pullCall)||void 0===i?void 0:i.promise,null===(a=e.cancelCall)||void 0===a?void 0:a.promise]);case 2:delete this.streamControllers[r];case 3:case"end":return t.stop()}}),t,this)})),Cu=function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){xu(a,n,i,o,s,"next",t)}function s(t){xu(a,n,i,o,s,"throw",t)}o(void 0)}))},Cu.apply(this,arguments)}function ju(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Iu(n.key),n)}}function Iu(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Ru(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}function Fu(t,e){return t.get(Nu(t,e))}function Du(t,e,r){return t.set(Nu(t,e),r),r}function Nu(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var Wu=new WeakMap,Bu=new WeakMap,Gu=function(){return function(t,e,r){return e&&ju(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e){var r=e.parsedData,n=e.rawData;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Ru(this,Wu,void 0),Ru(this,Bu,void 0),Du(Wu,this,r),Du(Bu,this,n)}),[{key:"getRaw",value:function(){return Fu(Bu,this)}},{key:"get",value:function(t){var e;return null!==(e=Fu(Wu,this).get(t))&&void 0!==e?e:null}},{key:"getAll",value:function(){return Q(Fu(Wu,this))}},{key:"has",value:function(t){return Fu(Wu,this).has(t)}}])}();function Hu(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||zu(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Uu(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=zu(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function zu(t,e){if(t){if("string"==typeof t)return Vu(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vu(t,e):void 0}}function Vu(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function qu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ku(n.key),n)}}function Xu(t,e,r){return e&&Yu(t.prototype,e),r&&Yu(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ku(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Qu(t,e,r){Ju(t,e),e.set(t,r)}function Ju(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $u(t,e){return t.get(tc(t,e))}function Zu(t,e,r){return t.set(tc(t,e),r),r}function tc(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var ec=Symbol("INTERNAL"),rc=new WeakMap,nc=new WeakMap,ic=new WeakMap,ac=new WeakMap,oc=function(){return Xu((function t(e,r){var n=r.name,i=r.intent,a=r.usage;qu(this,t),Qu(this,rc,!1),Qu(this,nc,!1),Qu(this,ic,!1),Qu(this,ac,!0),Zu(rc,this,!!(2&e)),Zu(nc,this,!!(4&e)),this.name=n,this.intent=i,this.usage=a}),[{key:"visible",get:function(){if($u(ic,this))return $u(ac,this);if(!$u(ac,this))return!1;var t=this.usage,e=t.print,r=t.view;return $u(rc,this)?"OFF"!==(null==r?void 0:r.viewState):!$u(nc,this)||"OFF"!==(null==e?void 0:e.printState)}},{key:"_setVisible",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t!==ec&&F("Internal method \`_setVisible\` called."),Zu(ic,this,r),Zu(ac,this,e)}}])}(),sc=new WeakMap,uc=new WeakMap,cc=new WeakMap,lc=new WeakMap,hc=new WeakSet,fc=function(){return Xu((function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(qu(this,t),function(t,e){Ju(t,e),e.add(t)}(this,hc),Qu(this,sc,null),Qu(this,uc,new Map),Qu(this,cc,null),Qu(this,lc,null),this.renderingIntent=r,this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,Zu(lc,this,e.order);var n,i=Uu(e.groups);try{for(i.s();!(n=i.n()).done;){var a=n.value;$u(uc,this).set(a.id,new oc(r,a))}}catch(t){i.e(t)}finally{i.f()}if("OFF"===e.baseState){var o,s=Uu($u(uc,this).values());try{for(s.s();!(o=s.n()).done;)o.value._setVisible(ec,!1)}catch(t){s.e(t)}finally{s.f()}}var u,c=Uu(e.on);try{for(c.s();!(u=c.n()).done;){var l=u.value;$u(uc,this).get(l)._setVisible(ec,!0)}}catch(t){c.e(t)}finally{c.f()}var h,f=Uu(e.off);try{for(f.s();!(h=f.n()).done;){var d=h.value;$u(uc,this).get(d)._setVisible(ec,!1)}}catch(t){f.e(t)}finally{f.f()}Zu(cc,this,this.getHash())}}),[{key:"isVisible",value:function(t){if(0===$u(uc,this).size)return!0;if(!t)return I("Optional content group not defined."),!0;if("OCG"===t.type)return $u(uc,this).has(t.id)?$u(uc,this).get(t.id).visible:(R("Optional content group not found: ".concat(t.id)),!0);if("OCMD"===t.type){if(t.expression)return tc(hc,this,dc).call(this,t.expression);if(!t.policy||"AnyOn"===t.policy){var e,r=Uu(t.ids);try{for(r.s();!(e=r.n()).done;){var n=e.value;if(!$u(uc,this).has(n))return R("Optional content group not found: ".concat(n)),!0;if($u(uc,this).get(n).visible)return!0}}catch(t){r.e(t)}finally{r.f()}return!1}if("AllOn"===t.policy){var i,a=Uu(t.ids);try{for(a.s();!(i=a.n()).done;){var o=i.value;if(!$u(uc,this).has(o))return R("Optional content group not found: ".concat(o)),!0;if(!$u(uc,this).get(o).visible)return!1}}catch(t){a.e(t)}finally{a.f()}return!0}if("AnyOff"===t.policy){var s,u=Uu(t.ids);try{for(u.s();!(s=u.n()).done;){var c=s.value;if(!$u(uc,this).has(c))return R("Optional content group not found: ".concat(c)),!0;if(!$u(uc,this).get(c).visible)return!0}}catch(t){u.e(t)}finally{u.f()}return!1}if("AllOff"===t.policy){var l,h=Uu(t.ids);try{for(h.s();!(l=h.n()).done;){var f=l.value;if(!$u(uc,this).has(f))return R("Optional content group not found: ".concat(f)),!0;if($u(uc,this).get(f).visible)return!1}}catch(t){h.e(t)}finally{h.f()}return!0}return R("Unknown optional content policy ".concat(t.policy,".")),!0}return R("Unknown group type ".concat(t.type,".")),!0}},{key:"setVisibility",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=$u(uc,this).get(t);r?(r._setVisible(ec,!!e,!0),Zu(sc,this,null)):R("Optional content group not found: ".concat(t))}},{key:"setOCGState",value:function(t){var e,r,n=t.state,i=(t.preserveRB,Uu(n));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a){case"ON":case"OFF":case"Toggle":e=a;continue}var o=$u(uc,this).get(a);if(o)switch(e){case"ON":o._setVisible(ec,!0);break;case"OFF":o._setVisible(ec,!1);break;case"Toggle":o._setVisible(ec,!o.visible)}}}catch(t){i.e(t)}finally{i.f()}Zu(sc,this,null)}},{key:"hasInitialVisibility",get:function(){return null===$u(cc,this)||this.getHash()===$u(cc,this)}},{key:"getOrder",value:function(){return $u(uc,this).size?$u(lc,this)?$u(lc,this).slice():function(t){return function(t){if(Array.isArray(t))return Vu(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||zu(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}($u(uc,this).keys()):null}},{key:"getGroups",value:function(){return $u(uc,this).size>0?Q($u(uc,this)):null}},{key:"getGroup",value:function(t){return $u(uc,this).get(t)||null}},{key:"getHash",value:function(){if(null!==$u(sc,this))return $u(sc,this);var t,e=new so,r=Uu($u(uc,this));try{for(r.s();!(t=r.n()).done;){var n=Hu(t.value,2),i=n[0],a=n[1];e.update("".concat(i,":").concat(a.visible))}}catch(t){r.e(t)}finally{r.f()}return Zu(sc,this,e.hexdigest())}}])}();function dc(t){var e=t.length;if(e<2)return!0;for(var r=t[0],n=1;n<e;n++){var i=t[n],a=void 0;if(Array.isArray(i))a=tc(hc,this,dc).call(this,i);else{if(!$u(uc,this).has(i))return R("Optional content group not found: ".concat(i)),!0;a=$u(uc,this).get(i).visible}switch(r){case"And":if(!a)return!1;break;case"Or":if(a)return!0;break;case"Not":return!a;default:return!0}}return"And"===r}function vc(){vc=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function pc(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function yc(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){pc(a,n,i,o,s,"next",t)}function s(t){pc(a,n,i,o,s,"throw",t)}o(void 0)}))}}function gc(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return mc(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mc(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function mc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function bc(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wc(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,xc(n.key),n)}}function kc(t,e,r){return e&&wc(t.prototype,e),r&&wc(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function xc(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}r(3276);var Ac=function(){return kc((function t(e,r){var n=this,i=r.disableRange,a=void 0!==i&&i,o=r.disableStream,s=void 0!==o&&o;bc(this,t),D(e,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.');var u=e.length,c=e.initialData,l=e.progressiveDone,h=e.contentDispositionFilename;if(this._queuedChunks=[],this._progressiveDone=l,this._contentDispositionFilename=h,(null==c?void 0:c.length)>0){var f=c instanceof Uint8Array&&c.byteLength===c.buffer.byteLength?c.buffer:new Uint8Array(c).buffer;this._queuedChunks.push(f)}this._pdfDataRangeTransport=e,this._isStreamingSupported=!s,this._isRangeSupported=!a,this._contentLength=u,this._fullRequestReader=null,this._rangeReaders=[],e.addRangeListener((function(t,e){n._onReceiveData({begin:t,chunk:e})})),e.addProgressListener((function(t,e){n._onProgress({loaded:t,total:e})})),e.addProgressiveReadListener((function(t){n._onReceiveData({chunk:t})})),e.addProgressiveDoneListener((function(){n._onProgressiveDone()})),e.transportReady()}),[{key:"_onReceiveData",value:function(t){var e=t.begin,r=t.chunk,n=r instanceof Uint8Array&&r.byteLength===r.buffer.byteLength?r.buffer:new Uint8Array(r).buffer;void 0===e?this._fullRequestReader?this._fullRequestReader._enqueue(n):this._queuedChunks.push(n):D(this._rangeReaders.some((function(t){return t._begin===e&&(t._enqueue(n),!0)})),"_onReceiveData - no \`PDFDataTransportStreamRangeReader\` instance found.")}},{key:"_progressiveDataLength",get:function(){var t,e;return null!==(t=null===(e=this._fullRequestReader)||void 0===e?void 0:e._loaded)&&void 0!==t?t:0}},{key:"_onProgress",value:function(t){var e,r,n,i;void 0===t.total?null===(e=this._rangeReaders[0])||void 0===e||null===(r=e.onProgress)||void 0===r||r.call(e,{loaded:t.loaded}):null===(n=this._fullRequestReader)||void 0===n||null===(i=n.onProgress)||void 0===i||i.call(n,{loaded:t.loaded,total:t.total})}},{key:"_onProgressiveDone",value:function(){var t;null===(t=this._fullRequestReader)||void 0===t||t.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(t){var e=this._rangeReaders.indexOf(t);e>=0&&this._rangeReaders.splice(e,1)}},{key:"getFullReader",value:function(){D(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");var t=this._queuedChunks;return this._queuedChunks=null,new _c(this,t,this._progressiveDone,this._contentDispositionFilename)}},{key:"getRangeReader",value:function(t,e){if(e<=this._progressiveDataLength)return null;var r=new Ec(this,t,e);return this._pdfDataRangeTransport.requestDataRange(t,e),this._rangeReaders.push(r),r}},{key:"cancelAllRequests",value:function(t){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(t);var r,n=gc(this._rangeReaders.slice(0));try{for(n.s();!(r=n.n()).done;)r.value.cancel(t)}catch(t){n.e(t)}finally{n.f()}this._pdfDataRangeTransport.abort()}}])}(),_c=function(){return kc((function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;bc(this,t),this._stream=e,this._done=n||!1,this._filename=xe(i)?i:null,this._queuedChunks=r||[],this._loaded=0;var a,o=gc(this._queuedChunks);try{for(o.s();!(a=o.n()).done;){var s=a.value;this._loaded+=s.byteLength}}catch(t){o.e(t)}finally{o.f()}this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}),[{key:"_enqueue",value:function(t){this._done||(this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunks.push(t),this._loaded+=t.byteLength)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}},{key:"read",value:(t=yc(vc().mark((function t(){var e,r;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(this._queuedChunks.length>0)){t.next=3;break}return e=this._queuedChunks.shift(),t.abrupt("return",{value:e,done:!1});case 3:if(!this._done){t.next=5;break}return t.abrupt("return",{value:void 0,done:!0});case 5:return r=Promise.withResolvers(),this._requests.push(r),t.abrupt("return",r.promise);case 8:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0;var e,r=gc(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}}]);var t}(),Ec=function(){return kc((function t(e,r,n){bc(this,t),this._stream=e,this._begin=r,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}),[{key:"_enqueue",value:function(t){if(!this._done){if(0===this._requests.length)this._queuedChunk=t;else{this._requests.shift().resolve({value:t,done:!1});var e,r=gc(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}},{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=yc(vc().mark((function t(){var e,r;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._queuedChunk){t.next=4;break}return e=this._queuedChunk,this._queuedChunk=null,t.abrupt("return",{value:e,done:!1});case 4:if(!this._done){t.next=6;break}return t.abrupt("return",{value:void 0,done:!0});case 6:return r=Promise.withResolvers(),this._requests.push(r),t.abrupt("return",r.promise);case 9:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0;var e,r=gc(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0,this._stream._removeRangeReader(this)}}]);var t}();function Sc(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Oc(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Oc(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Tc(t,e){var r=new Headers;if(!t||!e||"object"!=typeof e)return r;for(var n in e){var i=e[n];void 0!==i&&r.append(n,i)}return r}function Pc(t){var e=t.responseHeaders,r=t.isHttp,n=t.rangeChunkSize,i=t.disableRange,a={allowRangeRequests:!1,suggestedLength:void 0},o=parseInt(e.get("Content-Length"),10);return Number.isInteger(o)?(a.suggestedLength=o,o<=2*n||i||!r||"bytes"!==e.get("Accept-Ranges")||"identity"!==(e.get("Content-Encoding")||"identity")||(a.allowRangeRequests=!0),a):a}function Lc(t){var e=t.get("Content-Disposition");if(e){var r=function(t){var e=!0,r=a("filename\\\\*","i").exec(t);if(r){var n=u(r=r[1]);return s(n=l(n=c(n=unescape(n))))}if(r=function(t){for(var e,r=[],n=a("filename\\\\*((?!0\\\\d)\\\\d+)(\\\\*?)","ig");null!==(e=n.exec(t));){var i=Sc(e,4),o=i[1],s=i[2],l=i[3];if((o=parseInt(o,10))in r){if(0===o)break}else r[o]=[s,l]}for(var h=[],f=0;f<r.length&&f in r;++f){var d=Sc(r[f],2),v=d[0],p=d[1];p=u(p),v&&(p=unescape(p),0===f&&(p=c(p))),h.push(p)}return h.join("")}(t))return s(l(r));if(r=a("filename","i").exec(t)){var i=u(r=r[1]);return s(i=l(i))}function a(t,e){return new RegExp("(?:^|;)\\\\s*"+t+'\\\\s*=\\\\s*([^";\\\\s][^;\\\\s]*|"(?:[^"\\\\\\\\]|\\\\\\\\"?)+"?)',e)}function o(t,r){if(t){if(!/^[\\x00-\\xFF]+$/.test(r))return r;try{var n=new TextDecoder(t,{fatal:!0}),i=K(r);r=n.decode(i),e=!1}catch(t){}}return r}function s(t){return e&&/[\\x80-\\xff]/.test(t)&&(t=o("utf-8",t),e&&(t=o("iso-8859-1",t))),t}function u(t){if(t.startsWith('"')){for(var e=t.slice(1).split('\\\\"'),r=0;r<e.length;++r){var n=e[r].indexOf('"');-1!==n&&(e[r]=e[r].slice(0,n),e.length=r+1),e[r]=e[r].replaceAll(/\\\\(.)/g,"$1")}t=e.join('"')}return t}function c(t){var e=t.indexOf("'");return-1===e?t:o(t.slice(0,e),t.slice(e+1).replace(/^[^']*'/,""))}function l(t){return!t.startsWith("=?")||/[\\x00-\\x19\\x80-\\xff]/.test(t)?t:t.replaceAll(/=\\?([\\w-]*)\\?([QqBb])\\?((?:[^?]|\\?(?!=))*)\\?=/g,(function(t,e,r,n){if("q"===r||"Q"===r)return o(e,n=(n=n.replaceAll("_"," ")).replaceAll(/=([0-9a-fA-F]{2})/g,(function(t,e){return String.fromCharCode(parseInt(e,16))})));try{n=atob(n)}catch(t){}return o(e,n)}))}return""}(e);if(r.includes("%"))try{r=decodeURIComponent(r)}catch(t){}if(xe(r))return r}return null}function Mc(t,e){return 404===t||0===t&&e.startsWith("file:")?new z('Missing PDF "'+e+'".'):new V("Unexpected server response (".concat(t,') while retrieving PDF "').concat(e,'".'),t)}function Cc(t){return 200===t||206===t}function jc(){jc=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Ic(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Rc(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Ic(a,n,i,o,s,"next",t)}function s(t){Ic(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Fc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Dc(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nc(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Bc(n.key),n)}}function Wc(t,e,r){return e&&Nc(t.prototype,e),r&&Nc(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Bc(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Gc(t,e,r){return{method:"GET",headers:t,signal:r.signal,mode:"cors",credentials:e?"include":"same-origin",redirect:"follow"}}function Hc(t){return t instanceof Uint8Array?t.buffer:t instanceof ArrayBuffer?t:(R("getArrayBuffer - unexpected data format: ".concat(t)),new Uint8Array(t).buffer)}var Uc=function(){return Wc((function t(e){Dc(this,t),this.source=e,this.isHttp=/^https?:/i.test(e.url),this.headers=Tc(this.isHttp,e.httpHeaders),this._fullRequestReader=null,this._rangeRequestReaders=[]}),[{key:"_progressiveDataLength",get:function(){var t,e;return null!==(t=null===(e=this._fullRequestReader)||void 0===e?void 0:e._loaded)&&void 0!==t?t:0}},{key:"getFullReader",value:function(){return D(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new zc(this),this._fullRequestReader}},{key:"getRangeReader",value:function(t,e){if(e<=this._progressiveDataLength)return null;var r=new Vc(this,t,e);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(t){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(t);var r,n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Fc(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fc(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(this._rangeRequestReaders.slice(0));try{for(n.s();!(r=n.n()).done;)r.value.cancel(t)}catch(t){n.e(t)}finally{n.f()}}}])}(),zc=function(){return Wc((function t(e){var r=this;Dc(this,t),this._stream=e,this._reader=null,this._loaded=0,this._filename=null;var n=e.source;this._withCredentials=n.withCredentials||!1,this._contentLength=n.length,this._headersCapability=Promise.withResolvers(),this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange;var i=new Headers(e.headers),a=n.url;fetch(a,Gc(i,this._withCredentials,this._abortController)).then((function(t){if(!Cc(t.status))throw Mc(t.status,a);r._reader=t.body.getReader(),r._headersCapability.resolve();var n=t.headers,i=Pc({responseHeaders:n,isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),o=i.allowRangeRequests,s=i.suggestedLength;r._isRangeSupported=o,r._contentLength=s||r._contentLength,r._filename=Lc(n),!r._isStreamingSupported&&r._isRangeSupported&&r.cancel(new Y("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}),[{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=Rc(jc().mark((function t(){var e,r,n,i;return jc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._headersCapability.promise;case 2:return t.next=4,this._reader.read();case 4:if(r=t.sent,n=r.value,!(i=r.done)){t.next=9;break}return t.abrupt("return",{value:n,done:i});case 9:return this._loaded+=n.byteLength,null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:this._loaded,total:this._contentLength}),t.abrupt("return",{value:Hc(n),done:!1});case 12:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){var e;null===(e=this._reader)||void 0===e||e.cancel(t),this._abortController.abort()}}]);var t}(),Vc=function(){return Wc((function t(e,r,n){var i=this;Dc(this,t),this._stream=e,this._reader=null,this._loaded=0;var a=e.source;this._withCredentials=a.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!a.disableStream,this._abortController=new AbortController;var o=new Headers(e.headers);o.append("Range","bytes=".concat(r,"-").concat(n-1));var s=a.url;fetch(s,Gc(o,this._withCredentials,this._abortController)).then((function(t){if(!Cc(t.status))throw Mc(t.status,s);i._readCapability.resolve(),i._reader=t.body.getReader()})).catch(this._readCapability.reject),this.onProgress=null}),[{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=Rc(jc().mark((function t(){var e,r,n,i;return jc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._readCapability.promise;case 2:return t.next=4,this._reader.read();case 4:if(r=t.sent,n=r.value,!(i=r.done)){t.next=9;break}return t.abrupt("return",{value:n,done:i});case 9:return this._loaded+=n.byteLength,null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:this._loaded}),t.abrupt("return",{value:Hc(n),done:!1});case 12:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){var e;null===(e=this._reader)||void 0===e||e.cancel(t),this._abortController.abort()}}]);var t}();function qc(){qc=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Yc(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Xc(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Yc(a,n,i,o,s,"next",t)}function s(t){Yc(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Kc(t,e){return Jc(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Zc(t,e)||Qc()}function Qc(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Jc(t){if(Array.isArray(t))return t}function $c(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Zc(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Zc(t,e){if(t){if("string"==typeof t)return tl(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tl(t,e):void 0}}function tl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function el(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rl(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,il(n.key),n)}}function nl(t,e,r){return e&&rl(t.prototype,e),r&&rl(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function il(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var al=function(){return nl((function t(e){var r=e.url,n=e.httpHeaders,i=e.withCredentials;el(this,t),this.url=r,this.isHttp=/^https?:/i.test(r),this.headers=Tc(this.isHttp,n),this.withCredentials=i||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}),[{key:"requestRange",value:function(t,e,r){var n={begin:t,end:e};for(var i in r)n[i]=r[i];return this.request(n)}},{key:"requestFull",value:function(t){return this.request(t)}},{key:"request",value:function(t){var e=new XMLHttpRequest,r=this.currXhrId++,n=this.pendingRequests[r]={xhr:e};e.open("GET",this.url),e.withCredentials=this.withCredentials;var i,a=$c(this.headers);try{for(a.s();!(i=a.n()).done;){var o=Kc(i.value,2),s=o[0],u=o[1];e.setRequestHeader(s,u)}}catch(t){a.e(t)}finally{a.f()}return this.isHttp&&"begin"in t&&"end"in t?(e.setRequestHeader("Range","bytes=".concat(t.begin,"-").concat(t.end-1)),n.expectedStatus=206):n.expectedStatus=200,e.responseType="arraybuffer",t.onError&&(e.onerror=function(r){t.onError(e.status)}),e.onreadystatechange=this.onStateChange.bind(this,r),e.onprogress=this.onProgress.bind(this,r),n.onHeadersReceived=t.onHeadersReceived,n.onDone=t.onDone,n.onError=t.onError,n.onProgress=t.onProgress,e.send(null),r}},{key:"onProgress",value:function(t,e){var r,n=this.pendingRequests[t];n&&(null===(r=n.onProgress)||void 0===r||r.call(n,e))}},{key:"onStateChange",value:function(t,e){var r=this.pendingRequests[t];if(r){var n=r.xhr;if(n.readyState>=2&&r.onHeadersReceived&&(r.onHeadersReceived(),delete r.onHeadersReceived),4===n.readyState&&t in this.pendingRequests)if(delete this.pendingRequests[t],0===n.status&&this.isHttp){var i;null===(i=r.onError)||void 0===i||i.call(r,n.status)}else{var a=n.status||200;if(200===a&&206===r.expectedStatus||a===r.expectedStatus){var o=function(t){var e=t.response;return"string"!=typeof e?e:K(e).buffer}(n);if(206===a){var s=n.getResponseHeader("Content-Range"),u=/bytes (\\d+)-(\\d+)\\/(\\d+)/.exec(s);r.onDone({begin:parseInt(u[1],10),chunk:o})}else if(o)r.onDone({begin:0,chunk:o});else{var c;null===(c=r.onError)||void 0===c||c.call(r,n.status)}}else{var l;null===(l=r.onError)||void 0===l||l.call(r,n.status)}}}}},{key:"getRequestXhr",value:function(t){return this.pendingRequests[t].xhr}},{key:"isPendingRequest",value:function(t){return t in this.pendingRequests}},{key:"abortRequest",value:function(t){var e=this.pendingRequests[t].xhr;delete this.pendingRequests[t],e.abort()}}])}(),ol=function(){return nl((function t(e){el(this,t),this._source=e,this._manager=new al(e),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}),[{key:"_onRangeRequestReaderClosed",value:function(t){var e=this._rangeRequestReaders.indexOf(t);e>=0&&this._rangeRequestReaders.splice(e,1)}},{key:"getFullReader",value:function(){return D(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new sl(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(t,e){var r=new ul(this._manager,t,e);return r.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(t){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(t);var r,n=$c(this._rangeRequestReaders.slice(0));try{for(n.s();!(r=n.n()).done;)r.value.cancel(t)}catch(t){n.e(t)}finally{n.f()}}}])}(),sl=function(){return nl((function t(e,r){el(this,t),this._manager=e;var n={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=e.requestFull(n),this._headersCapability=Promise.withResolvers(),this._disableRange=r.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}),[{key:"_onHeadersReceived",value:function(){var t=this._fullRequestId,e=this._manager.getRequestXhr(t),r=new Headers(e.getAllResponseHeaders().trim().split(/[\\r\\n]+/).map((function(t){var e=function(t){return Jc(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Zc(t)||Qc()}(t.split(": "));return[e[0],e.slice(1).join(": ")]}))),n=Pc({responseHeaders:r,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),i=n.allowRangeRequests,a=n.suggestedLength;i&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=Lc(r),this._isRangeSupported&&this._manager.abortRequest(t),this._headersCapability.resolve()}},{key:"_onDone",value:function(t){if(t&&(this._requests.length>0?this._requests.shift().resolve({value:t.chunk,done:!1}):this._cachedChunks.push(t.chunk)),this._done=!0,!(this._cachedChunks.length>0)){var e,r=$c(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0}}},{key:"_onError",value:function(t){this._storedError=Mc(t,this._url),this._headersCapability.reject(this._storedError);var e,r=$c(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.reject(this._storedError)}catch(t){r.e(t)}finally{r.f()}this._requests.length=0,this._cachedChunks.length=0}},{key:"_onProgress",value:function(t){var e;null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:t.loaded,total:t.lengthComputable?t.total:this._contentLength})}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"read",value:(t=Xc(qc().mark((function t(){var e,r;return qc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._storedError){t.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){t.next=5;break}return e=this._cachedChunks.shift(),t.abrupt("return",{value:e,done:!1});case 5:if(!this._done){t.next=7;break}return t.abrupt("return",{value:void 0,done:!0});case 7:return r=Promise.withResolvers(),this._requests.push(r),t.abrupt("return",r.promise);case 10:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0,this._headersCapability.reject(t);var e,r=$c(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}]);var t}(),ul=function(){return nl((function t(e,r,n){el(this,t),this._manager=e;var i={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=e.url,this._requestId=e.requestRange(r,n,i),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}),[{key:"_close",value:function(){var t;null===(t=this.onClosed)||void 0===t||t.call(this,this)}},{key:"_onDone",value:function(t){var e=t.chunk;this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunk=e,this._done=!0;var r,n=$c(this._requests);try{for(n.s();!(r=n.n()).done;)r.value.resolve({value:void 0,done:!0})}catch(t){n.e(t)}finally{n.f()}this._requests.length=0,this._close()}},{key:"_onError",value:function(t){this._storedError=Mc(t,this._url);var e,r=$c(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.reject(this._storedError)}catch(t){r.e(t)}finally{r.f()}this._requests.length=0,this._queuedChunk=null}},{key:"_onProgress",value:function(t){var e;this.isStreamingSupported||null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:t.loaded})}},{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=Xc(qc().mark((function t(){var e,r;return qc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._storedError){t.next=2;break}throw this._storedError;case 2:if(null===this._queuedChunk){t.next=6;break}return e=this._queuedChunk,this._queuedChunk=null,t.abrupt("return",{value:e,done:!1});case 6:if(!this._done){t.next=8;break}return t.abrupt("return",{value:void 0,done:!0});case 8:return r=Promise.withResolvers(),this._requests.push(r),t.abrupt("return",r.promise);case 11:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0;var e,r=$c(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}]);var t}();function cl(t,e,r){return e=hl(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ll()?Reflect.construct(e,r||[],hl(t).constructor):e.apply(t,r))}function ll(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ll=function(){return!!t})()}function hl(t){return hl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hl(t)}function fl(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&dl(t,e)}function dl(t,e){return dl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},dl(t,e)}function vl(){vl=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function pl(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function yl(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){pl(a,n,i,o,s,"next",t)}function s(t){pl(a,n,i,o,s,"throw",t)}o(void 0)}))}}function gl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ml(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bl(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,kl(n.key),n)}}function wl(t,e,r){return e&&bl(t.prototype,e),r&&bl(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function kl(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}r(4129);var xl=/^[a-z][a-z0-9\\-+.]+:/i;function Al(t,e,r){return"http:"===t.protocol?cs.get("http").request(t,{headers:e},r):cs.get("https").request(t,{headers:e},r)}var _l,El=function(){return wl((function t(e){ml(this,t),this.source=e,this.url=function(t){if(xl.test(t))return new URL(t);var e=cs.get("url");return new URL(e.pathToFileURL(t))}(e.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.headers=Tc(this.isHttp,e.httpHeaders),this._fullRequestReader=null,this._rangeRequestReaders=[]}),[{key:"_progressiveDataLength",get:function(){var t,e;return null!==(t=null===(e=this._fullRequestReader)||void 0===e?void 0:e._loaded)&&void 0!==t?t:0}},{key:"getFullReader",value:function(){return D(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new Ll(this):new Tl(this),this._fullRequestReader}},{key:"getRangeReader",value:function(t,e){if(e<=this._progressiveDataLength)return null;var r=this.isFsUrl?new Ml(this,t,e):new Pl(this,t,e);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(t){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(t);var r,n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return gl(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gl(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(this._rangeRequestReaders.slice(0));try{for(n.s();!(r=n.n()).done;)r.value.cancel(t)}catch(t){n.e(t)}finally{n.f()}}}])}(),Sl=function(){return wl((function t(e){ml(this,t),this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null;var r=e.source;this._contentLength=r.length,this._loaded=0,this._filename=null,this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers()}),[{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=yl(vl().mark((function t(){var e,r,n;return vl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._readCapability.promise;case 2:if(!this._done){t.next=4;break}return t.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){t.next=6;break}throw this._storedError;case 6:if(null!==(r=this._readableStream.read())){t.next=10;break}return this._readCapability=Promise.withResolvers(),t.abrupt("return",this.read());case 10:return this._loaded+=r.length,null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:this._loaded,total:this._contentLength}),n=new Uint8Array(r).buffer,t.abrupt("return",{value:n,done:!1});case 14:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}},{key:"_error",value:function(t){this._storedError=t,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(t){var e=this;this._readableStream=t,t.on("readable",(function(){e._readCapability.resolve()})),t.on("end",(function(){t.destroy(),e._done=!0,e._readCapability.resolve()})),t.on("error",(function(t){e._error(t)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new Y("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}]);var t}(),Ol=function(){return wl((function t(e){ml(this,t),this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();var r=e.source;this._isStreamingSupported=!r.disableStream}),[{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=yl(vl().mark((function t(){var e,r,n;return vl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._readCapability.promise;case 2:if(!this._done){t.next=4;break}return t.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){t.next=6;break}throw this._storedError;case 6:if(null!==(r=this._readableStream.read())){t.next=10;break}return this._readCapability=Promise.withResolvers(),t.abrupt("return",this.read());case 10:return this._loaded+=r.length,null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:this._loaded}),n=new Uint8Array(r).buffer,t.abrupt("return",{value:n,done:!1});case 14:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}},{key:"_error",value:function(t){this._storedError=t,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(t){var e=this;this._readableStream=t,t.on("readable",(function(){e._readCapability.resolve()})),t.on("end",(function(){t.destroy(),e._done=!0,e._readCapability.resolve()})),t.on("error",(function(t){e._error(t)})),this._storedError&&this._readableStream.destroy(this._storedError)}}]);var t}(),Tl=function(t){function e(t){var r;ml(this,e),r=cl(this,e,[t]);var n=Object.fromEntries(t.headers);return r._request=Al(r._url,n,(function(e){if(404===e.statusCode){var n=new z('Missing PDF "'.concat(r._url,'".'));return r._storedError=n,void r._headersCapability.reject(n)}r._headersCapability.resolve(),r._setReadableStream(e);var i=new Headers(r._readableStream.headers),a=Pc({responseHeaders:i,isHttp:t.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),o=a.allowRangeRequests,s=a.suggestedLength;r._isRangeSupported=o,r._contentLength=s||r._contentLength,r._filename=Lc(i)})),r._request.on("error",(function(t){r._storedError=t,r._headersCapability.reject(t)})),r._request.end(),r}return fl(e,Sl),wl(e)}(),Pl=function(t){function e(t,r,n){var i;ml(this,e),i=cl(this,e,[t]);var a=Object.fromEntries(t.headers);return a.Range="bytes=".concat(r,"-").concat(n-1),i._request=Al(i._url,a,(function(t){if(404!==t.statusCode)i._setReadableStream(t);else{var e=new z('Missing PDF "'.concat(i._url,'".'));i._storedError=e}})),i._request.on("error",(function(t){i._storedError=t})),i._request.end(),i}return fl(e,Ol),wl(e)}(),Ll=function(t){function e(t){var r;ml(this,e),r=cl(this,e,[t]);var n=cs.get("fs");return n.promises.lstat(r._url).then((function(t){r._contentLength=t.size,r._setReadableStream(n.createReadStream(r._url)),r._headersCapability.resolve()}),(function(t){"ENOENT"===t.code&&(t=new z('Missing PDF "'.concat(r._url,'".'))),r._storedError=t,r._headersCapability.reject(t)})),r}return fl(e,Sl),wl(e)}(),Ml=function(t){function e(t,r,n){var i;ml(this,e),i=cl(this,e,[t]);var a=cs.get("fs");return i._setReadableStream(a.createReadStream(i._url,{start:r,end:n-1})),i}return fl(e,Ol),wl(e)}();function Cl(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return jl(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jl(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function jl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Il(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Rl(n.key),n)}}function Rl(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Fl(t,e,r){Dl(t,e),e.set(t,r)}function Dl(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Nl(t,e){return t.get(Bl(t,e))}function Wl(t,e,r){return t.set(Bl(t,e),r),r}function Bl(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var Gl=30,Hl=.8,Ul=new WeakMap,zl=new WeakMap,Vl=new WeakMap,ql=new WeakMap,Yl=new WeakMap,Xl=new WeakMap,Kl=new WeakMap,Ql=new WeakMap,Jl=new WeakMap,$l=new WeakMap,Zl=new WeakMap,th=new WeakMap,eh=new WeakMap,rh=new WeakMap,nh=new WeakMap,ih=new WeakMap,ah=new WeakMap,oh=new WeakMap,sh=new WeakSet,uh=function(){function t(e){var r,n=this,i=e.textContentSource,a=e.container,o=e.viewport;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){Dl(t,e),e.add(t)}(this,sh),Fl(this,Ul,Promise.withResolvers()),Fl(this,zl,null),Fl(this,Vl,!1),Fl(this,ql,!(null===(r=globalThis.FontInspector)||void 0===r||!r.enabled)),Fl(this,Yl,null),Fl(this,Xl,null),Fl(this,Kl,0),Fl(this,Ql,0),Fl(this,Jl,null),Fl(this,$l,null),Fl(this,Zl,0),Fl(this,th,0),Fl(this,eh,Object.create(null)),Fl(this,rh,[]),Fl(this,nh,null),Fl(this,ih,[]),Fl(this,ah,new WeakMap),Fl(this,oh,null),i instanceof ReadableStream)Wl(nh,this,i);else{if("object"!=typeof i)throw new Error('No "textContentSource" parameter specified.');Wl(nh,this,new ReadableStream({start(t){t.enqueue(i),t.close()}}))}Wl(zl,this,Wl($l,this,a)),Wl(th,this,o.scale*(globalThis.devicePixelRatio||1)),Wl(Zl,this,o.rotation),Wl(Xl,this,{div:null,properties:null,ctx:null});var s=o.rawDims,u=s.pageWidth,c=s.pageHeight,l=s.pageX,h=s.pageY;Wl(oh,this,[1,0,0,-1,-l,h+c]),Wl(Ql,this,u),Wl(Kl,this,c),vh.call(t),Re(a,o),Nl(Ul,this).promise.finally((function(){wh._.delete(n),Wl(Xl,n,null),Wl(eh,n,null)})).catch((function(){}))}return function(t,e,r){return e&&Il(t.prototype,e),r&&Il(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"render",value:function(){var t=this,e=function(){Nl(Jl,t).read().then((function(r){var n,i=r.value;r.done?Nl(Ul,t).resolve():(null!==(n=Nl(Yl,t))&&void 0!==n||Wl(Yl,t,i.lang),Object.assign(Nl(eh,t),i.styles),Bl(sh,t,ch).call(t,i.items),e())}),Nl(Ul,t).reject)};return Wl(Jl,this,Nl(nh,this).getReader()),wh._.add(this),e(),Nl(Ul,this).promise}},{key:"update",value:function(e){var r=e.viewport,n=e.onBefore,i=void 0===n?null:n,a=r.scale*(globalThis.devicePixelRatio||1),o=r.rotation;if(o!==Nl(Zl,this)&&(null==i||i(),Wl(Zl,this,o),Re(Nl($l,this),{rotation:o})),a!==Nl(th,this)){null==i||i(),Wl(th,this,a);var s,u={div:null,properties:null,ctx:fh.call(t,Nl(Yl,this))},c=Cl(Nl(ih,this));try{for(c.s();!(s=c.n()).done;){var l=s.value;u.properties=Nl(ah,this).get(l),u.div=l,Bl(sh,this,hh).call(this,u)}}catch(t){c.e(t)}finally{c.f()}}}},{key:"cancel",value:function(){var t,e=new Y("TextLayer task cancelled.");null===(t=Nl(Jl,this))||void 0===t||t.cancel(e).catch((function(){})),Wl(Jl,this,null),Nl(Ul,this).reject(e)}},{key:"textDivs",get:function(){return Nl(ih,this)}},{key:"textContentItemsStr",get:function(){return Nl(rh,this)}}],[{key:"fontFamilyMap",get:function(){var t=J.platform,e=t.isWindows,r=t.isFirefox;return W(this,"fontFamilyMap",new Map([["sans-serif","".concat(e&&r?"Calibri, ":"","sans-serif")],["monospace","".concat(e&&r?"Lucida Console, ":"","monospace")]]))}},{key:"cleanup",value:function(){if(!(Bl(t,this,wh)._.size>0)){Bl(t,this,yh)._.clear();var e,r=Cl(Bl(t,this,gh)._.values());try{for(r.s();!(e=r.n()).done;)e.value.canvas.remove()}catch(t){r.e(t)}finally{r.f()}Bl(t,this,gh)._.clear()}}}])}();function ch(t){var e,r;if(!Nl(Vl,this)){null!==(r=(e=Nl(Xl,this)).ctx)&&void 0!==r||(e.ctx=fh.call(_l,Nl(Yl,this)));var n,i=Nl(ih,this),a=Nl(rh,this),o=Cl(t);try{for(o.s();!(n=o.n()).done;){var s=n.value;if(i.length>1e5)return R("Ignoring additional textDivs for performance reasons."),void Wl(Vl,this,!0);if(void 0!==s.str)a.push(s.str),Bl(sh,this,lh).call(this,s);else if("beginMarkedContentProps"===s.type||"beginMarkedContent"===s.type){var u=Nl(zl,this);Wl(zl,this,document.createElement("span")),Nl(zl,this).classList.add("markedContent"),null!==s.id&&Nl(zl,this).setAttribute("id","".concat(s.id)),u.append(Nl(zl,this))}else"endMarkedContent"===s.type&&Wl(zl,this,Nl(zl,this).parentNode)}}catch(t){o.e(t)}finally{o.f()}}}function lh(t){var e=document.createElement("span"),r={angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL,fontSize:0};Nl(ih,this).push(e);var n=Z.transform(Nl(oh,this),t.transform),i=Math.atan2(n[1],n[0]),a=Nl(eh,this)[t.fontName];a.vertical&&(i+=Math.PI/2);var o=Nl(ql,this)&&a.fontSubstitution||a.fontFamily;o=_l.fontFamilyMap.get(o)||o;var s,u,c=Math.hypot(n[2],n[3]),l=c*ph.call(_l,o,Nl(Yl,this));0===i?(s=n[4],u=n[5]-l):(s=n[4]+l*Math.sin(i),u=n[5]-l*Math.cos(i));var h="calc(var(--scale-factor)*",f=e.style;Nl(zl,this)===Nl($l,this)?(f.left="".concat((100*s/Nl(Ql,this)).toFixed(2),"%"),f.top="".concat((100*u/Nl(Kl,this)).toFixed(2),"%")):(f.left="".concat(h).concat(s.toFixed(2),"px)"),f.top="".concat(h).concat(u.toFixed(2),"px)")),f.fontSize="".concat(h).concat((bh._*c).toFixed(2),"px)"),f.fontFamily=o,r.fontSize=c,e.setAttribute("role","presentation"),e.textContent=t.str,e.dir=t.dir,Nl(ql,this)&&(e.dataset.fontName=a.fontSubstitutionLoadedName||t.fontName),0!==i&&(r.angle=i*(180/Math.PI));var d=!1;if(t.str.length>1)d=!0;else if(" "!==t.str&&t.transform[0]!==t.transform[3]){var v=Math.abs(t.transform[0]),p=Math.abs(t.transform[3]);v!==p&&Math.max(v,p)/Math.min(v,p)>1.5&&(d=!0)}if(d&&(r.canvasWidth=a.vertical?t.height:t.width),Nl(ah,this).set(e,r),Nl(Xl,this).div=e,Nl(Xl,this).properties=r,Bl(sh,this,hh).call(this,Nl(Xl,this)),r.hasText&&Nl(zl,this).append(e),r.hasEOL){var y=document.createElement("br");y.setAttribute("role","presentation"),Nl(zl,this).append(y)}}function hh(t){var e=t.div,r=t.properties,n=t.ctx,i=e.style,a="";if(bh._>1&&(a="scale(".concat(1/bh._,")")),0!==r.canvasWidth&&r.hasText){var o=i.fontFamily,s=r.canvasWidth,u=r.fontSize;dh.call(_l,n,u*Nl(th,this),o);var c=n.measureText(e.textContent).width;c>0&&(a="scaleX(".concat(s*Nl(th,this)/c,") ").concat(a))}0!==r.angle&&(a="rotate(".concat(r.angle,"deg) ").concat(a)),a.length>0&&(i.transform=a)}function fh(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=Bl(_l,this,gh)._.get(t||(t=""));if(!e){var r=document.createElement("canvas");r.className="hiddenCanvasElement",r.lang=t,document.body.append(r),e=r.getContext("2d",{alpha:!1,willReadFrequently:!0}),Bl(_l,this,gh)._.set(t,e),Bl(_l,this,mh)._.set(e,{size:0,family:""})}return e}function dh(t,e,r){var n=Bl(_l,this,mh)._.get(t);e===n.size&&r===n.family||(t.font="".concat(e,"px ").concat(r),n.size=e,n.family=r)}function vh(){if(null===Bl(_l,this,bh)._){var t=document.createElement("div");t.style.opacity=0,t.style.lineHeight=1,t.style.fontSize="1px",t.style.position="absolute",t.textContent="X",document.body.append(t),bh._=Bl(_l,this,t.getBoundingClientRect().height),t.remove()}}function ph(t,e){var r=Bl(_l,this,yh)._.get(t);if(r)return r;var n=Bl(_l,this,fh).call(this,e);n.canvas.width=n.canvas.height=Gl,Bl(_l,this,dh).call(this,n,Gl,t);var i=n.measureText(""),a=i.fontBoundingBoxAscent,o=Math.abs(i.fontBoundingBoxDescent);if(a){var s=a/(a+o);return Bl(_l,this,yh)._.set(t,s),n.canvas.width=n.canvas.height=0,s}n.strokeStyle="red",n.clearRect(0,0,Gl,Gl),n.strokeText("g",0,0);var u=n.getImageData(0,0,Gl,Gl).data;o=0;for(var c=u.length-1-3;c>=0;c-=4)if(u[c]>0){o=Math.ceil(c/4/Gl);break}n.clearRect(0,0,Gl,Gl),n.strokeText("A",0,Gl),a=0;for(var l=0,h=(u=n.getImageData(0,0,Gl,Gl).data).length;l<h;l+=4)if(u[l]>0){a=Gl-Math.floor(l/4/Gl);break}n.canvas.width=n.canvas.height=0;var f=a?a/(a+o):Hl;return Bl(_l,this,yh)._.set(t,f),f}_l=uh;var yh={_:new Map},gh={_:new Map},mh={_:new WeakMap},bh={_:null},wh={_:new Set};function kh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function xh(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ah(n.key),n)}}function Ah(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var _h,Eh=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,r){return r&&xh(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,0,[{key:"textContent",value:function(e){var r=[],n={items:r,styles:Object.create(null)};return function e(n){var i;if(n){var a=null,o=n.name;if("#text"===o)a=n.value;else{if(!t.shouldBuildText(o))return;null!=n&&null!==(i=n.attributes)&&void 0!==i&&i.textContent?a=n.attributes.textContent:n.value&&(a=n.value)}if(null!==a&&r.push({str:a}),n.children){var s,u=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return kh(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?kh(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(n.children);try{for(u.s();!(s=u.n()).done;)e(s.value)}catch(t){u.e(t)}finally{u.f()}}}}(e),n}},{key:"shouldBuildText",value:function(t){return!("textarea"===t||"input"===t||"option"===t||"select"===t)}}])}();function Sh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Oh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Sh(Object(r),!0).forEach((function(e){Th(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Th(t,e,r){return(e=qh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ph(t,e,r){return r(Fh(t,e))}function Lh(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Nh(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mh(t,e){jh(t,e),e.add(t)}function Ch(t,e,r){jh(t,e),e.set(t,r)}function jh(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ih(t,e){return t.get(Fh(t,e))}function Rh(t,e,r){return t.set(Fh(t,e),r),r}function Fh(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function Dh(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Nh(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Nh(t,e){if(t){if("string"==typeof t)return Wh(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wh(t,e):void 0}}function Wh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Bh(){Bh=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Gh(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Hh(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Gh(a,n,i,o,s,"next",t)}function s(t){Gh(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Uh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zh(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,qh(n.key),n)}}function Vh(t,e,r){return e&&zh(t.prototype,e),r&&zh(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function qh(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var Yh=65536,Xh=m?fs:de,Kh=m?ds:ye,Qh=m?hs:te,Jh=m?vs:ge;function $h(){var t,e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"string"==typeof r||r instanceof URL?r={url:r}:(r instanceof ArrayBuffer||ArrayBuffer.isView(r))&&(r={data:r});var n=new tf,i=n.docId,a=r.url?function(t){if(t instanceof URL)return t.href;try{return new URL(t,window.location).href}catch(e){if(m&&"string"==typeof t)return t}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}(r.url):null,o=r.data?function(t){if(m&&"undefined"!=typeof Buffer&&t instanceof Buffer)throw new Error("Please provide binary data as \`Uint8Array\`, rather than \`Buffer\`.");if(t instanceof Uint8Array&&t.byteLength===t.buffer.byteLength)return t;if("string"==typeof t)return K(t);if(t instanceof ArrayBuffer||ArrayBuffer.isView(t)||"object"==typeof t&&!isNaN(null==t?void 0:t.length))return new Uint8Array(t);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}(r.data):null,s=r.httpHeaders||null,u=!0===r.withCredentials,c=null!==(t=r.password)&&void 0!==t?t:null,l=r.range instanceof rf?r.range:null,h=Number.isInteger(r.rangeChunkSize)&&r.rangeChunkSize>0?r.rangeChunkSize:Yh,f=r.worker instanceof pf?r.worker:null,d=r.verbosity,v="string"!=typeof r.docBaseUrl||ke(r.docBaseUrl)?null:r.docBaseUrl,p="string"==typeof r.cMapUrl?r.cMapUrl:null,y=!1!==r.cMapPacked,g=r.CMapReaderFactory||Kh,b="string"==typeof r.standardFontDataUrl?r.standardFontDataUrl:null,w=r.StandardFontDataFactory||Jh,k=!0!==r.stopAtErrors,x=Number.isInteger(r.maxImageSize)&&r.maxImageSize>-1?r.maxImageSize:-1,A=!1!==r.isEvalSupported,_="boolean"==typeof r.isOffscreenCanvasSupported?r.isOffscreenCanvasSupported:!m,E=Number.isInteger(r.canvasMaxAreaInBytes)?r.canvasMaxAreaInBytes:-1,S="boolean"==typeof r.disableFontFace?r.disableFontFace:m,O=!0===r.fontExtraProperties,T=!0===r.enableXfa,P=r.ownerDocument||globalThis.document,L=!0===r.disableRange,M=!0===r.disableStream,j=!0===r.disableAutoFetch,I=!0===r.pdfBug,R=r.CanvasFactory||Xh,F=r.FilterFactory||Qh,D=!0===r.enableHWA,N=l?l.length:null!==(e=r.length)&&void 0!==e?e:NaN,W="boolean"==typeof r.useSystemFonts?r.useSystemFonts:!m&&!S,B="boolean"==typeof r.useWorkerFetch?r.useWorkerFetch:g===ye&&w===ge&&p&&b&&Oe(p,document.baseURI)&&Oe(b,document.baseURI);r.canvasFactory&&Pe("\`canvasFactory\`-instance option, please use \`CanvasFactory\` instead."),r.filterFactory&&Pe("\`filterFactory\`-instance option, please use \`FilterFactory\` instead."),C(d);var G={canvasFactory:new R({ownerDocument:P,enableHWA:D}),filterFactory:new F({docId:i,ownerDocument:P}),cMapReaderFactory:B?null:new g({baseUrl:p,isCompressed:y}),standardFontDataFactory:B?null:new w({baseUrl:b})};if(!f){var H={verbosity:d,port:mu.workerPort};f=H.port?pf.fromPort(H):new pf(H),n._worker=f}var U={docId:i,apiVersion:"4.7.0",data:o,password:c,disableAutoFetch:j,rangeChunkSize:h,length:N,docBaseUrl:v,enableXfa:T,evaluatorOptions:{maxImageSize:x,disableFontFace:S,ignoreErrors:k,isEvalSupported:A,isOffscreenCanvasSupported:_,canvasMaxAreaInBytes:E,fontExtraProperties:O,useSystemFonts:W,cMapUrl:B?p:null,standardFontDataUrl:B?b:null}},z={disableFontFace:S,fontExtraProperties:O,ownerDocument:P,pdfBug:I,styleElement:null,loadingParams:{disableAutoFetch:j,enableXfa:T}};return f.promise.then((function(){if(n.destroyed)throw new Error("Loading aborted");if(f.destroyed)throw new Error("Worker was destroyed");var t,e=f.messageHandler.sendWithPromise("GetDocRequest",U,o?[o.buffer]:null);if(l)t=new Ac(l,{disableRange:L,disableStream:M});else if(!o){if(!a)throw new Error("getDocument - no \`url\` parameter provided.");var r;r=m?"undefined"!=typeof fetch&&"undefined"!=typeof Response&&"body"in Response.prototype&&Oe(a)?Uc:El:Oe(a)?Uc:ol,t=new r({url:a,length:N,httpHeaders:s,withCredentials:u,rangeChunkSize:h,disableRange:L,disableStream:M})}return e.then((function(e){if(n.destroyed)throw new Error("Loading aborted");if(f.destroyed)throw new Error("Worker was destroyed");var r=new Tu(i,e,f.port),a=new Of(r,n,t,z,G);n._transport=a,r.send("Ready",null)}))})).catch(n._capability.reject),n}function Zh(t){return"object"==typeof t&&Number.isInteger(null==t?void 0:t.num)&&t.num>=0&&Number.isInteger(null==t?void 0:t.gen)&&t.gen>=0}var tf=function(){return Vh((function t(){var e,r;Uh(this,t),this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId="d".concat((ef._=(e=ef._,r=e++,e),r)),this.destroyed=!1,this.onPassword=null,this.onProgress=null}),[{key:"promise",get:function(){return this._capability.promise}},{key:"destroy",value:(t=Hh(Bh().mark((function t(){var e,r,n;return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.destroyed=!0,t.prev=1,null!==(e=this._worker)&&void 0!==e&&e.port&&(this._worker._pendingDestroy=!0),t.next=5,null===(r=this._transport)||void 0===r?void 0:r.destroy();case 5:t.next=11;break;case 7:throw t.prev=7,t.t0=t.catch(1),null!==(n=this._worker)&&void 0!==n&&n.port&&delete this._worker._pendingDestroy,t.t0;case 11:this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null);case 13:case"end":return t.stop()}}),t,this,[[1,7]])}))),function(){return t.apply(this,arguments)})}]);var t}(),ef={_:0},rf=function(){return Vh((function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;Uh(this,t),this.length=e,this.initialData=r,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}),[{key:"addRangeListener",value:function(t){this._rangeListeners.push(t)}},{key:"addProgressListener",value:function(t){this._progressListeners.push(t)}},{key:"addProgressiveReadListener",value:function(t){this._progressiveReadListeners.push(t)}},{key:"addProgressiveDoneListener",value:function(t){this._progressiveDoneListeners.push(t)}},{key:"onDataRange",value:function(t,e){var r,n=Dh(this._rangeListeners);try{for(n.s();!(r=n.n()).done;)(0,r.value)(t,e)}catch(t){n.e(t)}finally{n.f()}}},{key:"onDataProgress",value:function(t,e){var r=this;this._readyCapability.promise.then((function(){var n,i=Dh(r._progressListeners);try{for(i.s();!(n=i.n()).done;)(0,n.value)(t,e)}catch(t){i.e(t)}finally{i.f()}}))}},{key:"onDataProgressiveRead",value:function(t){var e=this;this._readyCapability.promise.then((function(){var r,n=Dh(e._progressiveReadListeners);try{for(n.s();!(r=n.n()).done;)(0,r.value)(t)}catch(t){n.e(t)}finally{n.f()}}))}},{key:"onDataProgressiveDone",value:function(){var t=this;this._readyCapability.promise.then((function(){var e,r=Dh(t._progressiveDoneListeners);try{for(r.s();!(e=r.n()).done;)(0,e.value)()}catch(t){r.e(t)}finally{r.f()}}))}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(t,e){F("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}])}(),nf=function(){return Vh((function t(e,r){Uh(this,t),this._pdfInfo=e,this._transport=r}),[{key:"annotationStorage",get:function(){return this._transport.annotationStorage}},{key:"canvasFactory",get:function(){return this._transport.canvasFactory}},{key:"filterFactory",get:function(){return this._transport.filterFactory}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprints",get:function(){return this._pdfInfo.fingerprints}},{key:"isPureXfa",get:function(){return W(this,"isPureXfa",!!this._transport._htmlForXfa)}},{key:"allXfaHtml",get:function(){return this._transport._htmlForXfa}},{key:"getPage",value:function(t){return this._transport.getPage(t)}},{key:"getPageIndex",value:function(t){return this._transport.getPageIndex(t)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(t){return this._transport.getDestination(t)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenAction",value:function(){return this._transport.getOpenAction()}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJSActions",value:function(){return this._transport.getDocJSActions()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getOptionalContentConfig",value:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intent,e=void 0===t?"display":t,r=this._transport.getRenderingIntent(e).renderingIntent;return this._transport.getOptionalContentConfig(r)}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getMarkInfo",value:function(){return this._transport.getMarkInfo()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"saveDocument",value:function(){return this._transport.saveDocument()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"cleanup",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._transport.startCleanup(t||this.isPureXfa)}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"cachedPageNumber",value:function(t){return this._transport.cachedPageNumber(t)}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}},{key:"getFieldObjects",value:function(){return this._transport.getFieldObjects()}},{key:"hasJSActions",value:function(){return this._transport.hasJSActions()}},{key:"getCalculationOrderIds",value:function(){return this._transport.getCalculationOrderIds()}}])}(),af=new WeakMap,of=new WeakMap,sf=new WeakSet,uf=function(){return Vh((function t(e,r,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Uh(this,t),Mh(this,sf),Ch(this,af,null),Ch(this,of,!1),this._pageIndex=e,this._pageInfo=r,this._transport=n,this._stats=i?new Se:null,this._pdfBug=i,this.commonObjs=n.commonObjs,this.objs=new Cf,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}),[{key:"pageNumber",get:function(){return this._pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"getViewport",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.scale,r=t.rotation,n=void 0===r?this.rotate:r,i=t.offsetX,a=void 0===i?0:i,o=t.offsetY,s=void 0===o?0:o,u=t.dontFlip,c=void 0!==u&&u;return new be({viewBox:this.view,scale:e,rotation:n,offsetX:a,offsetY:s,dontFlip:c})}},{key:"getAnnotations",value:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intent,e=void 0===t?"display":t,r=this._transport.getRenderingIntent(e).renderingIntent;return this._transport.getAnnotations(this._pageIndex,r)}},{key:"getJSActions",value:function(){return this._transport.getPageJSActions(this._pageIndex)}},{key:"filterFactory",get:function(){return this._transport.filterFactory}},{key:"isPureXfa",get:function(){return W(this,"isPureXfa",!!this._transport._htmlForXfa)}},{key:"getXfa",value:(t=Hh(Bh().mark((function t(){var e;return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(null===(e=this._transport._htmlForXfa)||void 0===e?void 0:e.children[this._pageIndex])||null);case 1:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"render",value:function(t){var e,r,n=this,i=t.canvasContext,a=t.viewport,o=t.intent,s=void 0===o?"display":o,u=t.annotationMode,c=void 0===u?x.ENABLE:u,l=t.transform,h=void 0===l?null:l,f=t.background,d=void 0===f?null:f,v=t.optionalContentConfigPromise,p=void 0===v?null:v,y=t.annotationCanvasMap,g=void 0===y?null:y,m=t.pageColors,b=void 0===m?null:m,w=t.printAnnotationStorage,k=void 0===w?null:w,A=t.isEditing,_=void 0!==A&&A;null===(e=this._stats)||void 0===e||e.time("Overall");var E=this._transport.getRenderingIntent(s,c,k,_),S=E.renderingIntent,O=E.cacheKey;Rh(of,this,!1),Fh(sf,this,lf).call(this),p||(p=this._transport.getOptionalContentConfig(S));var T=this._intentStates.get(O);T||(T=Object.create(null),this._intentStates.set(O,T)),T.streamReaderCancelTimeout&&(clearTimeout(T.streamReaderCancelTimeout),T.streamReaderCancelTimeout=null);var P,L=!!(4&S);T.displayReadyCapability||(T.displayReadyCapability=Promise.withResolvers(),T.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null===(P=this._stats)||void 0===P||P.time("Page Request"),this._pumpOperatorList(E));var M=function(t){var e;T.renderTasks.delete(C),(n._maybeCleanupAfterRender||L)&&Rh(of,n,!0),Fh(sf,n,cf).call(n,!L),t?(C.capability.reject(t),n._abortOperatorList({intentState:T,reason:t instanceof Error?t:new Error(t)})):C.capability.resolve(),n._stats&&(n._stats.timeEnd("Rendering"),n._stats.timeEnd("Overall"),null!==(e=globalThis.Stats)&&void 0!==e&&e.enabled&&globalThis.Stats.add(n.pageNumber,n._stats))},C=new Df({callback:M,params:{canvasContext:i,viewport:a,transform:h,background:d},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:g,operatorList:T.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!L,pdfBug:this._pdfBug,pageColors:b});((r=T).renderTasks||(r.renderTasks=new Set)).add(C);var j=C.task;return Promise.all([T.displayReadyCapability.promise,p]).then((function(t){var e,r=Lh(t,2),i=r[0],a=r[1];if(n.destroyed)M();else{if(null===(e=n._stats)||void 0===e||e.time("Rendering"),!(a.renderingIntent&S))throw new Error("Must use the same \`intent\`-argument when calling the \`PDFPageProxy.render\` and \`PDFDocumentProxy.getOptionalContentConfig\` methods.");C.initializeGraphics({transparency:i,optionalContentConfig:a}),C.operatorListChanged()}})).catch(M),j}},{key:"getOperatorList",value:function(){var t,e,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.intent,a=void 0===i?"display":i,o=n.annotationMode,s=void 0===o?x.ENABLE:o,u=n.printAnnotationStorage,c=void 0===u?null:u,l=n.isEditing,h=void 0!==l&&l,f=this._transport.getRenderingIntent(a,s,c,h,!0),d=this._intentStates.get(f.cacheKey);return d||(d=Object.create(null),this._intentStates.set(f.cacheKey,d)),d.opListReadCapability||((t=Object.create(null)).operatorListChanged=function(){d.operatorList.lastChunk&&(d.opListReadCapability.resolve(d.operatorList),d.renderTasks.delete(t))},d.opListReadCapability=Promise.withResolvers(),((e=d).renderTasks||(e.renderTasks=new Set)).add(t),d.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null===(r=this._stats)||void 0===r||r.time("Page Request"),this._pumpOperatorList(f)),d.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.includeMarkedContent,r=void 0!==e&&e,n=t.disableNormalization,i=void 0!==n&&n;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:!0===r,disableNormalization:!0===i},{highWaterMark:100,size:t=>t.items.length})}},{key:"getTextContent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._transport._htmlForXfa)return this.getXfa().then((function(t){return Eh.textContent(t)}));var e=this.streamTextContent(t);return new Promise((function(t,r){var n=e.getReader(),i={items:[],styles:Object.create(null),lang:null};!function e(){n.read().then((function(r){var n,a,o=r.value;r.done?t(i):(null!==(n=i.lang)&&void 0!==n||(i.lang=o.lang),Object.assign(i.styles,o.styles),(a=i.items).push.apply(a,function(t){return function(t){if(Array.isArray(t))return Wh(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Nh(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o.items)),e())}),r)}()}))}},{key:"getStructTree",value:function(){return this._transport.getStructTree(this._pageIndex)}},{key:"_destroy",value:function(){this.destroyed=!0;var t,e=[],r=Dh(this._intentStates.values());try{for(r.s();!(t=r.n()).done;){var n=t.value;if(this._abortOperatorList({intentState:n,reason:new Error("Page was destroyed."),force:!0}),!n.opListReadCapability){var i,a=Dh(n.renderTasks);try{for(a.s();!(i=a.n()).done;){var o=i.value;e.push(o.completed),o.cancel()}}catch(t){a.e(t)}finally{a.f()}}}}catch(t){r.e(t)}finally{r.f()}return this.objs.clear(),Rh(of,this,!1),Fh(sf,this,lf).call(this),Promise.all(e)}},{key:"cleanup",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Rh(of,this,!0);var e=Fh(sf,this,cf).call(this,!1);return t&&e&&this._stats&&(this._stats=new Se),e}},{key:"_startRenderPage",value:function(t,e){var r,n,i=this._intentStates.get(e);i&&(null===(r=this._stats)||void 0===r||r.timeEnd("Page Request"),null===(n=i.displayReadyCapability)||void 0===n||n.resolve(t))}},{key:"_renderPageChunk",value:function(t,e){for(var r=0,n=t.length;r<n;r++)e.operatorList.fnArray.push(t.fnArray[r]),e.operatorList.argsArray.push(t.argsArray[r]);e.operatorList.lastChunk=t.lastChunk,e.operatorList.separateAnnots=t.separateAnnots;var i,a=Dh(e.renderTasks);try{for(a.s();!(i=a.n()).done;)i.value.operatorListChanged()}catch(t){a.e(t)}finally{a.f()}t.lastChunk&&Fh(sf,this,cf).call(this,!0)}},{key:"_pumpOperatorList",value:function(t){var e=this,r=t.renderingIntent,n=t.cacheKey,i=t.annotationStorageSerializable,a=t.modifiedIds,o=i.map,s=i.transfer,u=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:r,cacheKey:n,annotationStorage:o,modifiedIds:a},s).getReader(),c=this._intentStates.get(n);c.streamReader=u;var l=function(){u.read().then((function(t){var r=t.value;t.done?c.streamReader=null:e._transport.destroyed||(e._renderPageChunk(r,c),l())}),(function(t){if(c.streamReader=null,!e._transport.destroyed){if(c.operatorList){c.operatorList.lastChunk=!0;var r,n=Dh(c.renderTasks);try{for(n.s();!(r=n.n()).done;)r.value.operatorListChanged()}catch(t){n.e(t)}finally{n.f()}Fh(sf,e,cf).call(e,!0)}if(c.displayReadyCapability)c.displayReadyCapability.reject(t);else{if(!c.opListReadCapability)throw t;c.opListReadCapability.reject(t)}}}))};l()}},{key:"_abortOperatorList",value:function(t){var e=this,r=t.intentState,n=t.reason,i=t.force,a=void 0!==i&&i;if(r.streamReader){if(r.streamReaderCancelTimeout&&(clearTimeout(r.streamReaderCancelTimeout),r.streamReaderCancelTimeout=null),!a){if(r.renderTasks.size>0)return;if(n instanceof we){var o=100;return n.extraDelay>0&&n.extraDelay<1e3&&(o+=n.extraDelay),void(r.streamReaderCancelTimeout=setTimeout((function(){r.streamReaderCancelTimeout=null,e._abortOperatorList({intentState:r,reason:n,force:!0})}),o))}}if(r.streamReader.cancel(new Y(n.message)).catch((function(){})),r.streamReader=null,!this._transport.destroyed){var s,u=Dh(this._intentStates);try{for(u.s();!(s=u.n()).done;){var c=Lh(s.value,2),l=c[0];if(c[1]===r){this._intentStates.delete(l);break}}}catch(t){u.e(t)}finally{u.f()}this.cleanup()}}}},{key:"stats",get:function(){return this._stats}}]);var t}();function cf(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(Fh(sf,this,lf).call(this),!Ih(of,this)||this.destroyed)return!1;if(e)return Rh(af,this,setTimeout((function(){Rh(af,t,null),Fh(sf,t,cf).call(t,!1)}),5e3)),!1;var r,n=Dh(this._intentStates.values());try{for(n.s();!(r=n.n()).done;){var i=r.value,a=i.renderTasks,o=i.operatorList;if(a.size>0||!o.lastChunk)return!1}}catch(t){n.e(t)}finally{n.f()}return this._intentStates.clear(),this.objs.clear(),Rh(of,this,!1),!0}function lf(){Ih(af,this)&&(clearTimeout(Ih(af,this)),Rh(af,this,null))}var hf=new WeakMap,ff=new WeakMap,df=function(){return Vh((function t(){Uh(this,t),Ch(this,hf,new Set),Ch(this,ff,Promise.resolve())}),[{key:"postMessage",value:function(t,e){var r=this,n={data:structuredClone(t,e?{transfer:e}:null)};Ih(ff,this).then((function(){var t,e=Dh(Ih(hf,r));try{for(e.s();!(t=e.n()).done;)t.value.call(r,n)}catch(t){e.e(t)}finally{e.f()}}))}},{key:"addEventListener",value:function(t,e){Ih(hf,this).add(e)}},{key:"removeEventListener",value:function(t,e){Ih(hf,this).delete(e)}},{key:"terminate",value:function(){Ih(hf,this).clear()}}])}(),vf=new WeakSet,pf=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.name,n=void 0===r?null:r,i=e.port,a=void 0===i?null:i,o=e.verbosity,s=void 0===o?j():o;if(Uh(this,t),Mh(this,vf),this.name=n,this.destroyed=!1,this.verbosity=s,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,a){var u;if(null!==(u=wf._)&&void 0!==u&&u.has(a))throw new Error("Cannot use more than one PDFWorker per port.");return(wf._||(wf._=new WeakMap)).set(a,this),void this._initializeFromPort(a)}this._initialize()}return Vh(t,[{key:"promise",get:function(){return m?Promise.all([cs.promise,this._readyCapability.promise]):this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}},{key:"_initializeFromPort",value:function(t){this._port=t,this._messageHandler=new Tu("main","worker",t),this._messageHandler.on("ready",(function(){})),Fh(vf,this,yf).call(this)}},{key:"_initialize",value:function(){var e=this;if(bf._||gf())this._setupFakeWorker();else{var r=t.workerSrc;try{t._isSameOrigin(window.location.href,r)||(r=t._createCDNWrapper(new URL(r,window.location).href));var n=new Worker(r,{type:"module"}),i=new Tu("main","worker",n),a=function(){o.abort(),i.destroy(),n.terminate(),e.destroyed?e._readyCapability.reject(new Error("Worker was destroyed")):e._setupFakeWorker()},o=new AbortController;n.addEventListener("error",(function(){e._webWorker||a()}),{signal:o.signal}),i.on("test",(function(t){o.abort(),!e.destroyed&&t?(e._messageHandler=i,e._port=n,e._webWorker=n,Fh(vf,e,yf).call(e)):a()})),i.on("ready",(function(t){if(o.abort(),e.destroyed)a();else try{s()}catch(t){e._setupFakeWorker()}}));var s=function(){var t=new Uint8Array;i.send("test",t,[t.buffer])};return void s()}catch(t){I("The worker has been disabled.")}this._setupFakeWorker()}}},{key:"_setupFakeWorker",value:function(){var e=this;bf._||(R("Setting up fake worker."),bf._=!0),t._setupFakeWorkerGlobal.then((function(t){var r,n;if(e.destroyed)e._readyCapability.reject(new Error("Worker was destroyed"));else{var i=new df;e._port=i;var a="fake".concat((mf._=(r=mf._,n=r++,r),n)),o=new Tu(a+"_worker",a,i);t.setup(o,i),e._messageHandler=new Tu(a,a+"_worker",i),Fh(vf,e,yf).call(e)}})).catch((function(t){e._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(t.message,'".')))}))}},{key:"destroy",value:function(){var t;this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),null===(t=wf._)||void 0===t||t.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}}],[{key:"fromPort",value:function(e){var r;if(null==e||!e.port)throw new Error("PDFWorker.fromPort - invalid method signature.");var n=null===(r=Fh(t,this,wf)._)||void 0===r?void 0:r.get(e.port);if(n){if(n._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\\nPlease remember to await \`PDFDocumentLoadingTask.destroy()\`-calls.");return n}return new t(e)}},{key:"workerSrc",get:function(){if(mu.workerSrc)return mu.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}},{key:"_setupFakeWorkerGlobal",get:function(){var e=this,r=function(){var r=Hh(Bh().mark((function r(){var n;return Bh().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!Ph(t,e,gf)){r.next=2;break}return r.abrupt("return",Ph(t,e,gf));case 2:return r.next=4,import(e.workerSrc);case 4:return n=r.sent,r.abrupt("return",n.WorkerMessageHandler);case 6:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}();return W(this,"_setupFakeWorkerGlobal",r())}}])}();function yf(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})}function gf(t){try{var e;return(null===(e=globalThis.pdfjsWorker)||void 0===e?void 0:e.WorkerMessageHandler)||null}catch(t){return null}}_h=pf;var mf={_:0},bf={_:!1},wf={_:void 0};m&&(bf._=Fh(_h,_h,!0),mu.workerSrc||(mu.workerSrc="./pdf.worker.mjs")),_h._isSameOrigin=function(t,e){var r;try{if(!(r=new URL(t)).origin||"null"===r.origin)return!1}catch(t){return!1}var n=new URL(e,r);return r.origin===n.origin},_h._createCDNWrapper=function(t){var e='await import("'.concat(t,'");');return URL.createObjectURL(new Blob([e],{type:"text/javascript"}))};var kf=new WeakMap,xf=new WeakMap,Af=new WeakMap,_f=new WeakMap,Ef=new WeakMap,Sf=new WeakSet,Of=function(){return Vh((function t(e,r,n,i,a){Uh(this,t),Mh(this,Sf),Ch(this,kf,new Map),Ch(this,xf,new Map),Ch(this,Af,new Map),Ch(this,_f,new Map),Ch(this,Ef,null),this.messageHandler=e,this.loadingTask=r,this.commonObjs=new Cf,this.fontLoader=new Yo({ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this.loadingParams=i.loadingParams,this._params=i,this.canvasFactory=a.canvasFactory,this.filterFactory=a.filterFactory,this.cMapReaderFactory=a.cMapReaderFactory,this.standardFontDataFactory=a.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}),[{key:"annotationStorage",get:function(){return W(this,"annotationStorage",new Mo)}},{key:"getRenderingIntent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.ENABLE,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=2,o=So;switch(t){case"any":a=1;break;case"display":break;case"print":a=4;break;default:R("getRenderingIntent - invalid intent: ".concat(t))}var s=4&a&&r instanceof Io?r:this.annotationStorage;switch(e){case x.DISABLE:a+=64;break;case x.ENABLE:break;case x.ENABLE_FORMS:a+=16;break;case x.ENABLE_STORAGE:a+=32,o=s.serializable;break;default:R("getRenderingIntent - invalid annotationMode: ".concat(e))}n&&(a+=128),i&&(a+=256);var u=s.modifiedIds,c=u.ids,l=u.hash;return{renderingIntent:a,cacheKey:[a,o.hash,l].join("_"),annotationStorageSerializable:o,modifiedIds:c}}},{key:"destroy",value:function(){var t,e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),null===(t=Ih(Ef,this))||void 0===t||t.reject(new Error("Worker was destroyed during onPassword callback"));var r,n=[],i=Dh(Ih(xf,this).values());try{for(i.s();!(r=i.n()).done;){var a=r.value;n.push(a._destroy())}}catch(t){i.e(t)}finally{i.f()}Ih(xf,this).clear(),Ih(Af,this).clear(),Ih(_f,this).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();var o=this.messageHandler.sendWithPromise("Terminate",null);return n.push(o),Promise.all(n).then((function(){var t;e.commonObjs.clear(),e.fontLoader.clear(),Ih(kf,e).clear(),e.filterFactory.destroy(),uh.cleanup(),null===(t=e._networkStream)||void 0===t||t.cancelAllRequests(new Y("Worker was terminated.")),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var t=this,e=this.messageHandler,r=this.loadingTask;e.on("GetReader",(function(e,r){D(t._networkStream,"GetReader - no \`IPDFStream\` instance available."),t._fullReader=t._networkStream.getFullReader(),t._fullReader.onProgress=function(e){t._lastProgress={loaded:e.loaded,total:e.total}},r.onPull=function(){t._fullReader.read().then((function(t){var e=t.value;t.done?r.close():(D(e instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),r.enqueue(new Uint8Array(e),1,[e]))})).catch((function(t){r.error(t)}))},r.onCancel=function(e){t._fullReader.cancel(e),r.ready.catch((function(e){if(!t.destroyed)throw e}))}})),e.on("ReaderHeadersReady",(function(e){var n=Promise.withResolvers(),i=t._fullReader;return i.headersReady.then((function(){var e;i.isStreamingSupported&&i.isRangeSupported||(t._lastProgress&&(null===(e=r.onProgress)||void 0===e||e.call(r,t._lastProgress)),i.onProgress=function(t){var e;null===(e=r.onProgress)||void 0===e||e.call(r,{loaded:t.loaded,total:t.total})});n.resolve({isStreamingSupported:i.isStreamingSupported,isRangeSupported:i.isRangeSupported,contentLength:i.contentLength})}),n.reject),n.promise})),e.on("GetRangeReader",(function(e,r){D(t._networkStream,"GetRangeReader - no \`IPDFStream\` instance available.");var n=t._networkStream.getRangeReader(e.begin,e.end);n?(r.onPull=function(){n.read().then((function(t){var e=t.value;t.done?r.close():(D(e instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),r.enqueue(new Uint8Array(e),1,[e]))})).catch((function(t){r.error(t)}))},r.onCancel=function(e){n.cancel(e),r.ready.catch((function(e){if(!t.destroyed)throw e}))}):r.close()})),e.on("GetDoc",(function(e){var n=e.pdfInfo;t._numPages=n.numPages,t._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,r._capability.resolve(new nf(n,t))})),e.on("DocException",(function(t){var e;switch(t.name){case"PasswordException":e=new G(t.message,t.code);break;case"InvalidPDFException":e=new U(t.message);break;case"MissingPDFException":e=new z(t.message);break;case"UnexpectedResponseException":e=new V(t.message,t.status);break;case"UnknownErrorException":e=new H(t.message,t.details);break;default:F("DocException - expected a valid Error.")}r._capability.reject(e)})),e.on("PasswordRequest",(function(e){if(Rh(Ef,t,Promise.withResolvers()),r.onPassword)try{r.onPassword((function(e){e instanceof Error?Ih(Ef,t).reject(e):Ih(Ef,t).resolve({password:e})}),e.code)}catch(e){Ih(Ef,t).reject(e)}else Ih(Ef,t).reject(new G(e.message,e.code));return Ih(Ef,t).promise})),e.on("DataLoaded",(function(e){var n;null===(n=r.onProgress)||void 0===n||n.call(r,{loaded:e.length,total:e.length}),t.downloadInfoCapability.resolve(e)})),e.on("StartRenderPage",(function(e){t.destroyed||Ih(xf,t).get(e.pageIndex)._startRenderPage(e.transparency,e.cacheKey)})),e.on("commonobj",(function(r){var n,i=Lh(r,3),a=i[0],o=i[1],s=i[2];if(t.destroyed)return null;if(t.commonObjs.has(a))return null;switch(o){case"Font":var u=t._params,c=u.disableFontFace,l=u.fontExtraProperties,h=u.pdfBug;if("error"in s){var f=s.error;R("Error during font loading: ".concat(f)),t.commonObjs.resolve(a,f);break}var d=h&&null!==(n=globalThis.FontInspector)&&void 0!==n&&n.enabled?function(t,e){return globalThis.FontInspector.fontAdded(t,e)}:null,v=new Xo(s,{disableFontFace:c,inspectFont:d});t.fontLoader.bind(v).catch((function(){return e.sendWithPromise("FontFallback",{id:a})})).finally((function(){!l&&v.data&&(v.data=null),t.commonObjs.resolve(a,v)}));break;case"CopyLocalImage":var p=s.imageRef;D(p,"The imageRef must be defined.");var y,g=Dh(Ih(xf,t).values());try{for(g.s();!(y=g.n()).done;){var m,b=Dh(y.value.objs);try{for(b.s();!(m=b.n()).done;){var w=Lh(m.value,2)[1];if((null==w?void 0:w.ref)===p)return w.dataLen?(t.commonObjs.resolve(a,structuredClone(w)),w.dataLen):null}}catch(t){b.e(t)}finally{b.f()}}}catch(t){g.e(t)}finally{g.f()}break;case"FontPath":case"Image":case"Pattern":t.commonObjs.resolve(a,s);break;default:throw new Error("Got unknown common object type ".concat(o))}return null})),e.on("obj",(function(e){var r=Lh(e,4),n=r[0],i=r[1],a=r[2],o=r[3];if(!t.destroyed){var s,u=Ih(xf,t).get(i);if(!u.objs.has(n))if(0!==u._intentStates.size)switch(a){case"Image":u.objs.resolve(n,o),(null==o?void 0:o.dataLen)>1e7&&(u._maybeCleanupAfterRender=!0);break;case"Pattern":u.objs.resolve(n,o);break;default:throw new Error("Got unknown object type ".concat(a))}else null==o||null===(s=o.bitmap)||void 0===s||s.close()}})),e.on("DocProgress",(function(e){var n;t.destroyed||null===(n=r.onProgress)||void 0===n||n.call(r,{loaded:e.loaded,total:e.total})})),e.on("FetchBuiltInCMap",(function(e){return t.destroyed?Promise.reject(new Error("Worker was destroyed.")):t.cMapReaderFactory?t.cMapReaderFactory.fetch(e):Promise.reject(new Error("CMapReaderFactory not initialized, see the \`useWorkerFetch\` parameter."))})),e.on("FetchStandardFontData",(function(e){return t.destroyed?Promise.reject(new Error("Worker was destroyed.")):t.standardFontDataFactory?t.standardFontDataFactory.fetch(e):Promise.reject(new Error("StandardFontDataFactory not initialized, see the \`useWorkerFetch\` parameter."))}))}},{key:"getData",value:function(){return this.messageHandler.sendWithPromise("GetData",null)}},{key:"saveDocument",value:function(){var t,e,r=this;this.annotationStorage.size<=0&&R("saveDocument called while \`annotationStorage\` is empty, please use the getData-method instead.");var n=this.annotationStorage.serializable,i=n.map,a=n.transfer;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:i,filename:null!==(t=null===(e=this._fullReader)||void 0===e?void 0:e.filename)&&void 0!==t?t:null},a).finally((function(){r.annotationStorage.resetModified()}))}},{key:"getPage",value:function(t){var e=this;if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request."));var r=t-1,n=Ih(Af,this).get(r);if(n)return n;var i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:r}).then((function(n){if(e.destroyed)throw new Error("Transport destroyed");n.refStr&&Ih(_f,e).set(n.refStr,t);var i=new uf(r,n,e,e._params.pdfBug);return Ih(xf,e).set(r,i),i}));return Ih(Af,this).set(r,i),i}},{key:"getPageIndex",value:function(t){return Zh(t)?this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}):Promise.reject(new Error("Invalid pageIndex request."))}},{key:"getAnnotations",value:function(t,e){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:e})}},{key:"getFieldObjects",value:function(){return Fh(Sf,this,Tf).call(this,"GetFieldObjects")}},{key:"hasJSActions",value:function(){return Fh(Sf,this,Tf).call(this,"HasJSActions")}},{key:"getCalculationOrderIds",value:function(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(t){return"string"!=typeof t?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenAction",value:function(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getDocJSActions",value:function(){return Fh(Sf,this,Tf).call(this,"GetDocJSActions")}},{key:"getPageJSActions",value:function(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:t})}},{key:"getStructTree",value:function(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:t})}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getOptionalContentConfig",value:function(t){return Fh(Sf,this,Tf).call(this,"GetOptionalContentConfig").then((function(e){return new fc(e,t)}))}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var t=this,e="GetMetadata",r=Ih(kf,this).get(e);if(r)return r;var n=this.messageHandler.sendWithPromise(e,null).then((function(e){var r,n,i,a;return{info:e[0],metadata:e[1]?new Gu(e[1]):null,contentDispositionFilename:null!==(r=null===(n=t._fullReader)||void 0===n?void 0:n.filename)&&void 0!==r?r:null,contentLength:null!==(i=null===(a=t._fullReader)||void 0===a?void 0:a.contentLength)&&void 0!==i?i:null}}));return Ih(kf,this).set(e,n),n}},{key:"getMarkInfo",value:function(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}},{key:"startCleanup",value:(t=Hh(Bh().mark((function t(){var e,r,n,i,a=arguments;return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=a.length>0&&void 0!==a[0]&&a[0],!this.destroyed){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,this.messageHandler.sendWithPromise("Cleanup",null);case 5:r=Dh(Ih(xf,this).values()),t.prev=6,r.s();case 8:if((n=r.n()).done){t.next=15;break}if((i=n.value).cleanup()){t.next=13;break}throw new Error("startCleanup: Page ".concat(i.pageNumber," is currently rendering."));case 13:t.next=8;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(6),r.e(t.t0);case 20:return t.prev=20,r.f(),t.finish(20);case 23:this.commonObjs.clear(),e||this.fontLoader.clear(),Ih(kf,this).clear(),this.filterFactory.destroy(!0),uh.cleanup();case 28:case"end":return t.stop()}}),t,this,[[6,17,20,23]])}))),function(){return t.apply(this,arguments)})},{key:"cachedPageNumber",value:function(t){var e;if(!Zh(t))return null;var r=0===t.gen?"".concat(t.num,"R"):"".concat(t.num,"R").concat(t.gen);return null!==(e=Ih(_f,this).get(r))&&void 0!==e?e:null}}]);var t}();function Tf(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=Ih(kf,this).get(t);if(r)return r;var n=this.messageHandler.sendWithPromise(t,e);return Ih(kf,this).set(t,n),n}var Pf=Symbol("INITIAL_DATA"),Lf=new WeakMap,Mf=new WeakSet,Cf=function(){return Vh((function t(){Uh(this,t),Mh(this,Mf),Ch(this,Lf,Object.create(null))}),[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e){var r=Fh(Mf,this,jf).call(this,t);return r.promise.then((function(){return e(r.data)})),null}var n=Ih(Lf,this)[t];if(!n||n.data===Pf)throw new Error("Requesting object that isn't resolved yet ".concat(t,"."));return n.data}},{key:"has",value:function(t){var e=Ih(Lf,this)[t];return!!e&&e.data!==Pf}},{key:"resolve",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=Fh(Mf,this,jf).call(this,t);r.data=e,r.resolve()}},{key:"clear",value:function(){for(var t in Ih(Lf,this)){var e,r=Ih(Lf,this)[t].data;null==r||null===(e=r.bitmap)||void 0===e||e.close()}Rh(Lf,this,Object.create(null))}},{key:Symbol.iterator,value:Bh().mark((function t(){var e,r;return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=Bh().keys(Ih(Lf,this));case 1:if((t.t1=t.t0()).done){t.next=10;break}if(e=t.t1.value,(r=Ih(Lf,this)[e].data)!==Pf){t.next=6;break}return t.abrupt("continue",1);case 6:return t.next=8,[e,r];case 8:t.next=1;break;case 10:case"end":return t.stop()}}),t,this)}))}])}();function jf(t){var e;return(e=Ih(Lf,this))[t]||(e[t]=Oh(Oh({},Promise.withResolvers()),{},{data:Pf}))}var If=new WeakMap,Rf=function(){return Vh((function t(e){Uh(this,t),Ch(this,If,null),Rh(If,this,e),this.onContinue=null}),[{key:"promise",get:function(){return Ih(If,this).capability.promise}},{key:"cancel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;Ih(If,this).cancel(null,t)}},{key:"separateAnnots",get:function(){var t=Ih(If,this).operatorList.separateAnnots;if(!t)return!1;var e=Ih(If,this).annotationCanvasMap;return t.form||t.canvas&&(null==e?void 0:e.size)>0}}])}(),Ff=new WeakMap,Df=function(){return Vh((function t(e){var r=e.callback,n=e.params,i=e.objs,a=e.commonObjs,o=e.annotationCanvasMap,s=e.operatorList,u=e.pageIndex,c=e.canvasFactory,l=e.filterFactory,h=e.useRequestAnimationFrame,f=void 0!==h&&h,d=e.pdfBug,v=void 0!==d&&d,p=e.pageColors,y=void 0===p?null:p;Uh(this,t),Ch(this,Ff,null),this.callback=r,this.params=n,this.objs=i,this.commonObjs=a,this.annotationCanvasMap=o,this.operatorListIdx=null,this.operatorList=s,this._pageIndex=u,this.canvasFactory=c,this.filterFactory=l,this._pdfBug=v,this.pageColors=y,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===f&&"undefined"!=typeof window,this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new Rf(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=n.canvasContext.canvas}),[{key:"completed",get:function(){return this.capability.promise.catch((function(){}))}},{key:"initializeGraphics",value:function(t){var e,r,n=t.transparency,i=void 0!==n&&n,a=t.optionalContentConfig;if(!this.cancelled){if(this._canvas){if(Nf._.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");Nf._.add(this._canvas)}this._pdfBug&&null!==(e=globalThis.StepperManager)&&void 0!==e&&e.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var o=this.params,s=o.canvasContext,u=o.viewport,c=o.transform,l=o.background;this.gfx=new hu(s,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:a},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:c,viewport:u,transparency:i,background:l}),this.operatorListIdx=0,this.graphicsReady=!0,null===(r=this.graphicsReadyCallback)||void 0===r||r.call(this)}}},{key:"cancel",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.running=!1,this.cancelled=!0,null===(t=this.gfx)||void 0===t||t.endDrawing(),Ih(Ff,this)&&(window.cancelAnimationFrame(Ih(Ff,this)),Rh(Ff,this,null)),Nf._.delete(this._canvas),this.callback(e||new we("Rendering cancelled, page ".concat(this._pageIndex+1),r))}},{key:"operatorListChanged",value:function(){var t;this.graphicsReady?(null===(t=this.stepper)||void 0===t||t.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var t=this;this._useRequestAnimationFrame?Rh(Ff,this,window.requestAnimationFrame((function(){Rh(Ff,t,null),t._nextBound().catch(t._cancelBound)}))):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}},{key:"_next",value:(t=Hh(Bh().mark((function t(){return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.cancelled){t.next=2;break}return t.abrupt("return");case 2:this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),Nf._.delete(this._canvas),this.callback()));case 4:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})}]);var t}(),Nf={_:new WeakSet},Wf="4.7.0",Bf="";function Gf(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Hf(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Hf(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Uf(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,zf(n.key),n)}}function zf(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Vf(t){return Math.floor(255*Math.max(0,Math.min(1,t))).toString(16).padStart(2,"0")}function qf(t){return Math.max(0,Math.min(255,255*t))}r(7288),r(176),r(8408),r(98),r(4302),r(7149),r(482),r(9166);var Yf=function(){return function(t,e,r){return r&&Uf(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}),0,[{key:"CMYK_G",value:function(t){var e=Gf(t,4),r=e[0],n=e[1],i=e[2],a=e[3];return["G",1-Math.min(1,.3*r+.59*i+.11*n+a)]}},{key:"G_CMYK",value:function(t){return["CMYK",0,0,0,1-Gf(t,1)[0]]}},{key:"G_RGB",value:function(t){var e=Gf(t,1)[0];return["RGB",e,e,e]}},{key:"G_rgb",value:function(t){var e=Gf(t,1)[0];return[e=qf(e),e,e]}},{key:"G_HTML",value:function(t){var e=Vf(Gf(t,1)[0]);return"#".concat(e).concat(e).concat(e)}},{key:"RGB_G",value:function(t){var e=Gf(t,3);return["G",.3*e[0]+.59*e[1]+.11*e[2]]}},{key:"RGB_rgb",value:function(t){return t.map(qf)}},{key:"RGB_HTML",value:function(t){return"#".concat(t.map(Vf).join(""))}},{key:"T_HTML",value:function(){return"#00000000"}},{key:"T_rgb",value:function(){return[null]}},{key:"CMYK_RGB",value:function(t){var e=Gf(t,4),r=e[0],n=e[1],i=e[2],a=e[3];return["RGB",1-Math.min(1,r+a),1-Math.min(1,i+a),1-Math.min(1,n+a)]}},{key:"CMYK_rgb",value:function(t){var e=Gf(t,4),r=e[0],n=e[1],i=e[2],a=e[3];return[qf(1-Math.min(1,r+a)),qf(1-Math.min(1,i+a)),qf(1-Math.min(1,n+a))]}},{key:"CMYK_HTML",value:function(t){var e=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(e)}},{key:"RGB_CMYK",value:function(t){var e=Gf(t,3),r=1-e[0],n=1-e[1],i=1-e[2];return["CMYK",r,n,i,Math.min(r,n,i)]}}])}();function Xf(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Qf(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kf(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Qf(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Qf(t,e){if(t){if("string"==typeof t)return Jf(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Jf(t,e):void 0}}function Jf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function $f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Zf(n.key),n)}}function Zf(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var td=function(){return function(t,e,r){return r&&$f(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}),0,[{key:"setupStorage",value:function(t,e,r,n,i){var a=n.getValue(e,{value:null});switch(r.name){case"textarea":if(null!==a.value&&(t.textContent=a.value),"print"===i)break;t.addEventListener("input",(function(t){n.setValue(e,{value:t.target.value})}));break;case"input":if("radio"===r.attributes.type||"checkbox"===r.attributes.type){if(a.value===r.attributes.xfaOn?t.setAttribute("checked",!0):a.value===r.attributes.xfaOff&&t.removeAttribute("checked"),"print"===i)break;t.addEventListener("change",(function(t){n.setValue(e,{value:t.target.checked?t.target.getAttribute("xfaOn"):t.target.getAttribute("xfaOff")})}))}else{if(null!==a.value&&t.setAttribute("value",a.value),"print"===i)break;t.addEventListener("input",(function(t){n.setValue(e,{value:t.target.value})}))}break;case"select":if(null!==a.value){t.setAttribute("value",a.value);var o,s=Kf(r.children);try{for(s.s();!(o=s.n()).done;){var u=o.value;u.attributes.value===a.value?u.attributes.selected=!0:u.attributes.hasOwnProperty("selected")&&delete u.attributes.selected}}catch(t){s.e(t)}finally{s.f()}}t.addEventListener("input",(function(t){var r=t.target.options,i=-1===r.selectedIndex?"":r[r.selectedIndex].value;n.setValue(e,{value:i})}))}}},{key:"setAttributes",value:function(t){var e=t.html,r=t.element,n=t.storage,i=void 0===n?null:n,a=t.intent,o=t.linkService,s=r.attributes,u=e instanceof HTMLAnchorElement;"radio"===s.type&&(s.name="".concat(s.name,"-").concat(a));for(var c=0,l=Object.entries(s);c<l.length;c++){var h=Xf(l[c],2),f=h[0],d=h[1];if(null!=d)switch(f){case"class":d.length&&e.setAttribute(f,d.join(" "));break;case"dataId":break;case"id":e.setAttribute("data-element-id",d);break;case"style":Object.assign(e.style,d);break;case"textContent":e.textContent=d;break;default:(!u||"href"!==f&&"newWindow"!==f)&&e.setAttribute(f,d)}}u&&o.addLinkAttributes(e,s.href,s.newWindow),i&&s.dataId&&this.setupStorage(e,s.dataId,r,i)}},{key:"render",value:function(t){var e=t.annotationStorage,r=t.linkService,n=t.xfaHtml,i=t.intent||"display",a=document.createElement(n.name);n.attributes&&this.setAttributes({html:a,element:n,intent:i,linkService:r});var o="richText"!==i,s=t.div;if(s.append(a),t.viewport){var u="matrix(".concat(t.viewport.transform.join(","),")");s.style.transform=u}o&&s.setAttribute("class","xfaLayer xfaFont");var c=[];if(0===n.children.length){if(n.value){var l=document.createTextNode(n.value);a.append(l),o&&Eh.shouldBuildText(n.name)&&c.push(l)}return{textDivs:c}}for(var h=[[n,-1,a]];h.length>0;){var f,d,v=Xf(h.at(-1),3),p=v[0],y=v[1],g=v[2];if(y+1!==p.children.length){var m=p.children[++h.at(-1)[1]];if(null!==m){var b=m.name;if("#text"!==b){var w=null!=m&&null!==(f=m.attributes)&&void 0!==f&&f.xmlns?document.createElementNS(m.attributes.xmlns,b):document.createElement(b);if(g.append(w),m.attributes&&this.setAttributes({html:w,element:m,storage:e,intent:i,linkService:r}),(null===(d=m.children)||void 0===d?void 0:d.length)>0)h.push([m,-1,w]);else if(m.value){var k=document.createTextNode(m.value);o&&Eh.shouldBuildText(b)&&c.push(k),w.append(k)}}else{var x=document.createTextNode(m.value);c.push(x),g.append(x)}}}else h.pop()}var A,_=Kf(s.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"));try{for(_.s();!(A=_.n()).done;)A.value.setAttribute("readOnly",!0)}catch(t){_.e(t)}finally{_.f()}return{textDivs:c}}},{key:"update",value:function(t){var e="matrix(".concat(t.viewport.transform.join(","),")");t.div.style.transform=e,t.div.hidden=!1}}])}();function ed(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function rd(t,e,r){return(e=Td(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nd(){nd=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function id(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function ad(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){id(a,n,i,o,s,"next",t)}function s(t){id(a,n,i,o,s,"throw",t)}o(void 0)}))}}function od(t,e,r){e||(e=[]);var n=e.length++;return Object.defineProperty({},"_",{set:function(i){e[n]=i,t.apply(r,e)}})}function sd(t,e,r){return r(_d(t,e))}function ud(){return ud="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=fd(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},ud.apply(null,arguments)}function cd(t){return function(t){if(Array.isArray(t))return md(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||gd(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ld(t,e,r){return e=fd(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,hd()?Reflect.construct(e,r||[],fd(t).constructor):e.apply(t,r))}function hd(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(hd=function(){return!!t})()}function fd(t){return fd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},fd(t)}function dd(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&vd(t,e)}function vd(t,e){return vd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},vd(t,e)}function pd(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=gd(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function yd(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||gd(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gd(t,e){if(t){if("string"==typeof t)return md(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?md(t,e):void 0}}function md(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function bd(t,e){kd(t,e),e.add(t)}function wd(t,e,r){kd(t,e),e.set(t,r)}function kd(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function xd(t,e,r){return t.set(_d(t,e),r),r}function Ad(t,e){return t.get(_d(t,e))}function _d(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function Ed(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sd(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Td(n.key),n)}}function Od(t,e,r){return e&&Sd(t.prototype,e),r&&Sd(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Td(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var Pd=1e3,Ld=new WeakSet;function Md(t){return{width:t[2]-t[0],height:t[3]-t[1]}}var Cd=function(){return Od((function t(){Ed(this,t)}),null,[{key:"create",value:function(t){switch(t.data.annotationType){case 2:return new Bd(t);case 1:return new zd(t);case 20:switch(t.data.fieldType){case"Tx":return new qd(t);case"Btn":return t.data.radioButton?new Kd(t):t.data.checkBox?new Xd(t):new Qd(t);case"Ch":return new Jd(t);case"Sig":return new Yd(t)}return new Vd(t);case 16:return new $d(t);case 3:return new Pv(t);case 4:return new Mv(t);case 5:return new jv(t);case 6:return new Rv(t);case 8:return new Dv(t);case 14:return new Wv(t);case 15:return new Gv(t);case 7:return new Nv(t);case 9:return new Hv(t);case 10:return new Uv(t);case 11:return new zv(t);case 12:return new Vv(t);case 13:return new qv(t);case 17:return new Kv(t);default:return new Dd(t)}}}])}(),jd=new WeakMap,Id=new WeakMap,Rd=new WeakMap,Fd=new WeakSet,Dd=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.isRenderable,i=void 0!==n&&n,a=r.ignoreBorder,o=void 0!==a&&a,s=r.createQuadrilaterals,u=void 0!==s&&s;Ed(this,t),bd(this,Fd),wd(this,jd,null),wd(this,Id,!1),wd(this,Rd,null),this.isRenderable=i,this.data=e.data,this.layer=e.layer,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderForms=e.renderForms,this.svgFactory=e.svgFactory,this.annotationStorage=e.annotationStorage,this.enableScripting=e.enableScripting,this.hasJSActions=e.hasJSActions,this._fieldObjects=e.fieldObjects,this.parent=e.parent,i&&(this.container=this._createContainer(o)),u&&this._createQuadrilaterals()}return Od(t,[{key:"_isEditable",get:function(){return this.data.isEditable}},{key:"hasPopupData",get:function(){return t._hasPopupData(this.data)}},{key:"updateEdited",value:function(t){var e;if(this.container){Ad(jd,this)||xd(jd,this,{rect:this.data.rect.slice(0)});var r=t.rect;r&&_d(Fd,this,Nd).call(this,r),null===(e=Ad(Rd,this))||void 0===e||e.popup.updateEdited(t)}}},{key:"resetEdited",value:function(){var t;Ad(jd,this)&&(_d(Fd,this,Nd).call(this,Ad(jd,this).rect),null===(t=Ad(Rd,this))||void 0===t||t.popup.resetEdited(),xd(jd,this,null))}},{key:"_createContainer",value:function(t){var e=this.data,r=this.parent,n=r.page,i=r.viewport,a=document.createElement("section");a.setAttribute("data-annotation-id",e.id),this instanceof Vd||(a.tabIndex=Pd);var o=a.style;if(o.zIndex=this.parent.zIndex++,e.popupRef&&a.setAttribute("aria-haspopup","dialog"),e.alternativeText&&(a.title=e.alternativeText),e.noRotate&&a.classList.add("norotate"),!e.rect||this instanceof $d){var s=e.rotation;return e.hasOwnCanvas||0===s||this.setRotation(s,a),a}var u=Md(e.rect),c=u.width,l=u.height;if(!t&&e.borderStyle.width>0){o.borderWidth="".concat(e.borderStyle.width,"px");var h=e.borderStyle.horizontalCornerRadius,f=e.borderStyle.verticalCornerRadius;if(h>0||f>0){var d="calc(".concat(h,"px * var(--scale-factor)) / calc(").concat(f,"px * var(--scale-factor))");o.borderRadius=d}else if(this instanceof Kd){var v="calc(".concat(c,"px * var(--scale-factor)) / calc(").concat(l,"px * var(--scale-factor))");o.borderRadius=v}switch(e.borderStyle.style){case 1:o.borderStyle="solid";break;case 2:o.borderStyle="dashed";break;case 3:R("Unimplemented border style: beveled");break;case 4:R("Unimplemented border style: inset");break;case 5:o.borderBottomStyle="solid"}var p=e.borderColor||null;p?(xd(Id,this,!0),o.borderColor=Z.makeHexColor(0|p[0],0|p[1],0|p[2])):o.borderWidth=0}var y=Z.normalizeRect([e.rect[0],n.view[3]-e.rect[1]+n.view[1],e.rect[2],n.view[3]-e.rect[3]+n.view[1]]),g=i.rawDims,m=g.pageWidth,b=g.pageHeight,w=g.pageX,k=g.pageY;o.left="".concat(100*(y[0]-w)/m,"%"),o.top="".concat(100*(y[1]-k)/b,"%");var x=e.rotation;return e.hasOwnCanvas||0===x?(o.width="".concat(100*c/m,"%"),o.height="".concat(100*l/b,"%")):this.setRotation(x,a),a}},{key:"setRotation",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.container;if(this.data.rect){var r,n,i=this.parent.viewport.rawDims,a=i.pageWidth,o=i.pageHeight,s=Md(this.data.rect),u=s.width,c=s.height;t%180==0?(r=100*u/a,n=100*c/o):(r=100*c/a,n=100*u/o),e.style.width="".concat(r,"%"),e.style.height="".concat(n,"%"),e.setAttribute("data-main-rotation",(360-t)%360)}}},{key:"_commonActions",get:function(){var t=this,e=function(e,r,n){var i=n.detail[e],a=i[0],o=i.slice(1);n.target.style[r]=Yf["".concat(a,"_HTML")](o),t.annotationStorage.setValue(t.data.id,{[r]:Yf["".concat(a,"_rgb")](o)})};return W(this,"_commonActions",{display:function(e){var r=e.detail.display,n=r%2==1;t.container.style.visibility=n?"hidden":"visible",t.annotationStorage.setValue(t.data.id,{noView:n,noPrint:1===r||2===r})},print:function(e){t.annotationStorage.setValue(t.data.id,{noPrint:!e.detail.print})},hidden:function(e){var r=e.detail.hidden;t.container.style.visibility=r?"hidden":"visible",t.annotationStorage.setValue(t.data.id,{noPrint:r,noView:r})},focus:function(t){setTimeout((function(){return t.target.focus({preventScroll:!1})}),0)},userName:function(t){t.target.title=t.detail.userName},readonly:function(t){t.target.disabled=t.detail.readonly},required:function(e){t._setRequired(e.target,e.detail.required)},bgColor:function(t){e("bgColor","backgroundColor",t)},fillColor:function(t){e("fillColor","backgroundColor",t)},fgColor:function(t){e("fgColor","color",t)},textColor:function(t){e("textColor","color",t)},borderColor:function(t){e("borderColor","borderColor",t)},strokeColor:function(t){e("strokeColor","borderColor",t)},rotation:function(e){var r=e.detail.rotation;t.setRotation(r),t.annotationStorage.setValue(t.data.id,{rotation:r})}})}},{key:"_dispatchEventFromSandbox",value:function(t,e){for(var r=this._commonActions,n=0,i=Object.keys(e.detail);n<i.length;n++){var a=i[n],o=t[a]||r[a];null==o||o(e)}}},{key:"_setDefaultPropertiesFromJS",value:function(t){if(this.enableScripting){var e=this.annotationStorage.getRawValue(this.data.id);if(e)for(var r=this._commonActions,n=0,i=Object.entries(e);n<i.length;n++){var a=yd(i[n],2),o=a[0],s=a[1],u=r[o];u&&(u({detail:{[o]:s},target:t}),delete e[o])}}}},{key:"_createQuadrilaterals",value:function(){if(this.container){var t=this.data.quadPoints;if(t){var e=this.data.rect.map((function(t){return Math.fround(t)})),r=yd(e,4),n=r[0],i=r[1],a=r[2],o=r[3];if(8===t.length){var s=yd(t.subarray(2,6),4),u=s[0],c=s[1],l=s[2],h=s[3];if(a===u&&o===c&&n===l&&i===h)return}var f,d=this.container.style;if(Ad(Id,this)){var v=d.borderColor,p=d.borderWidth;d.borderWidth=0,f=["url('data:image/svg+xml;utf8,",'<svg xmlns="http://www.w3.org/2000/svg"',' preserveAspectRatio="none" viewBox="0 0 1 1">','<g fill="transparent" stroke="'.concat(v,'" stroke-width="').concat(p,'">')],this.container.classList.add("hasBorder")}var y=a-n,g=o-i,m=this.svgFactory,b=m.createElement("svg");b.classList.add("quadrilateralsContainer"),b.setAttribute("width",0),b.setAttribute("height",0);var w=m.createElement("defs");b.append(w);var k=m.createElement("clipPath"),x="clippath_".concat(this.data.id);k.setAttribute("id",x),k.setAttribute("clipPathUnits","objectBoundingBox"),w.append(k);for(var A=2,_=t.length;A<_;A+=8){var E,S=t[A],O=t[A+1],T=t[A+2],P=t[A+3],L=m.createElement("rect"),M=(T-n)/y,C=(o-O)/g,j=(S-T)/y,I=(O-P)/g;L.setAttribute("x",M),L.setAttribute("y",C),L.setAttribute("width",j),L.setAttribute("height",I),k.append(L),null===(E=f)||void 0===E||E.push('<rect vector-effect="non-scaling-stroke" x="'.concat(M,'" y="').concat(C,'" width="').concat(j,'" height="').concat(I,'"/>'))}Ad(Id,this)&&(f.push("</g></svg>')"),d.backgroundImage=f.join("")),this.container.append(b),this.container.style.clipPath="url(#".concat(x,")")}}}},{key:"_createPopup",value:function(){var t=this.container,e=this.data;t.setAttribute("aria-haspopup","dialog");var r=xd(Rd,this,new $d({data:{color:e.color,titleObj:e.titleObj,modificationDate:e.modificationDate,contentsObj:e.contentsObj,richText:e.richText,parentRect:e.rect,borderStyle:0,id:"popup_".concat(e.id),rotation:e.rotation},parent:this.parent,elements:[this]}));this.parent.div.append(r.render())}},{key:"render",value:function(){F("Abstract method \`AnnotationElement.render\` called")}},{key:"_getElementsByName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=[];if(this._fieldObjects){var n=this._fieldObjects[t];if(n){var i,a=pd(n);try{for(a.s();!(i=a.n()).done;){var o=i.value,s=o.page,u=o.id,c=o.exportValues;if(-1!==s&&u!==e){var l="string"==typeof c?c:null,h=document.querySelector('[data-element-id="'.concat(u,'"]'));!h||Ld.has(h)?r.push({id:u,exportValue:l,domElement:h}):R("_getElementsByName - element not allowed: ".concat(u))}}}catch(t){a.e(t)}finally{a.f()}}return r}var f,d=pd(document.getElementsByName(t));try{for(d.s();!(f=d.n()).done;){var v=f.value,p=v.exportValue,y=v.getAttribute("data-element-id");y!==e&&Ld.has(v)&&r.push({id:y,exportValue:p,domElement:v})}}catch(t){d.e(t)}finally{d.f()}return r}},{key:"show",value:function(){var t;this.container&&(this.container.hidden=!1),null===(t=this.popup)||void 0===t||t.maybeShow()}},{key:"hide",value:function(){var t;this.container&&(this.container.hidden=!0),null===(t=this.popup)||void 0===t||t.forceHide()}},{key:"getElementsToTriggerPopup",value:function(){return this.container}},{key:"addHighlightArea",value:function(){var t=this.getElementsToTriggerPopup();if(Array.isArray(t)){var e,r=pd(t);try{for(r.s();!(e=r.n()).done;)e.value.classList.add("highlightArea")}catch(t){r.e(t)}finally{r.f()}}else t.classList.add("highlightArea")}},{key:"_editOnDoubleClick",value:function(){var t=this;if(this._isEditable){var e=this.annotationEditorType,r=this.data.id;this.container.addEventListener("dblclick",(function(){var n;null===(n=t.linkService.eventBus)||void 0===n||n.dispatch("switchannotationeditormode",{source:t,mode:e,editId:r})}))}}}],[{key:"_hasPopupData",value:function(t){var e=t.titleObj,r=t.contentsObj,n=t.richText;return!!(null!=e&&e.str||null!=r&&r.str||null!=n&&n.str)}}])}();function Nd(t){var e=this.container.style,r=this.data,n=r.rect,i=r.rotation,a=this.parent.viewport.rawDims,o=a.pageWidth,s=a.pageHeight,u=a.pageX,c=a.pageY;null==n||n.splice.apply(n,[0,4].concat(cd(t)));var l=Md(t),h=l.width,f=l.height;e.left="".concat(100*(t[0]-u)/o,"%"),e.top="".concat(100*(s-t[3]+c)/s,"%"),0===i?(e.width="".concat(100*h/o,"%"),e.height="".concat(100*f/s,"%")):this.setRotation(i)}var Wd=new WeakSet,Bd=function(t){function e(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Ed(this,e),bd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!(null==n||!n.ignoreBorder),createQuadrilaterals:!0}]),Wd),r.isTooltipOnly=t.data.isTooltipOnly,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){var t=this.data,e=this.linkService,r=document.createElement("a");r.setAttribute("data-element-id",t.id);var n=!1;return t.url?(e.addLinkAttributes(r,t.url,t.newWindow),n=!0):t.action?(this._bindNamedAction(r,t.action),n=!0):t.attachment?(_d(Wd,this,Hd).call(this,r,t.attachment,t.attachmentDest),n=!0):t.setOCGState?(_d(Wd,this,Ud).call(this,r,t.setOCGState),n=!0):t.dest?(this._bindLink(r,t.dest),n=!0):(t.actions&&(t.actions.Action||t.actions["Mouse Up"]||t.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(r,t),n=!0),t.resetForm?(this._bindResetFormAction(r,t.resetForm),n=!0):this.isTooltipOnly&&!n&&(this._bindLink(r,""),n=!0)),this.container.classList.add("linkAnnotation"),n&&this.container.append(r),this.container}},{key:"_bindLink",value:function(t,e){var r=this;t.href=this.linkService.getDestinationHash(e),t.onclick=function(){return e&&r.linkService.goToDestination(e),!1},(e||""===e)&&_d(Wd,this,Gd).call(this)}},{key:"_bindNamedAction",value:function(t,e){var r=this;t.href=this.linkService.getAnchorUrl(""),t.onclick=function(){return r.linkService.executeNamedAction(e),!1},_d(Wd,this,Gd).call(this)}},{key:"_bindJSAction",value:function(t,e){var r=this;t.href=this.linkService.getAnchorUrl("");for(var n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]),i=function(){var i=o[a],s=n.get(i);if(!s)return 1;t[s]=function(){var t;return null===(t=r.linkService.eventBus)||void 0===t||t.dispatch("dispatcheventinsandbox",{source:r,detail:{id:e.id,name:i}}),!1}},a=0,o=Object.keys(e.actions);a<o.length;a++)i();t.onclick||(t.onclick=function(){return!1}),_d(Wd,this,Gd).call(this)}},{key:"_bindResetFormAction",value:function(t,e){var r=this,n=t.onclick;if(n||(t.href=this.linkService.getAnchorUrl("")),_d(Wd,this,Gd).call(this),!this._fieldObjects)return R('_bindResetFormAction - "resetForm" action not supported, ensure that the \`fieldObjects\` parameter is provided.'),void(n||(t.onclick=function(){return!1}));t.onclick=function(){null==n||n();var t=e.fields,i=e.refs,a=e.include,o=[];if(0!==t.length||0!==i.length){var s,u=new Set(i),c=pd(t);try{for(c.s();!(s=c.n()).done;){var l,h=s.value,f=pd(r._fieldObjects[h]||[]);try{for(f.s();!(l=f.n()).done;){var d=l.value.id;u.add(d)}}catch(t){f.e(t)}finally{f.f()}}}catch(t){c.e(t)}finally{c.f()}for(var v=0,p=Object.values(r._fieldObjects);v<p.length;v++){var y,g=pd(p[v]);try{for(g.s();!(y=g.n()).done;){var m=y.value;u.has(m.id)===a&&o.push(m)}}catch(t){g.e(t)}finally{g.f()}}}else for(var b=0,w=Object.values(r._fieldObjects);b<w.length;b++){var k=w[b];o.push.apply(o,cd(k))}for(var x,A=r.annotationStorage,_=[],E=0,S=o;E<S.length;E++){var O=S[E],T=O.id;switch(_.push(T),O.type){case"text":var P=O.defaultValue||"";A.setValue(T,{value:P});break;case"checkbox":case"radiobutton":var L=O.defaultValue===O.exportValues;A.setValue(T,{value:L});break;case"combobox":case"listbox":var M=O.defaultValue||"";A.setValue(T,{value:M});break;default:continue}var C=document.querySelector('[data-element-id="'.concat(T,'"]'));C&&(Ld.has(C)?C.dispatchEvent(new Event("resetform")):R("_bindResetFormAction - element not allowed: ".concat(T)))}return r.enableScripting&&(null===(x=r.linkService.eventBus)||void 0===x||x.dispatch("dispatcheventinsandbox",{source:r,detail:{id:"app",ids:_,name:"ResetForm"}})),!1}}}])}();function Gd(){this.container.setAttribute("data-internal-link","")}function Hd(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t.href=this.linkService.getAnchorUrl(""),e.description&&(t.title=e.description),t.onclick=function(){var t;return null===(t=r.downloadManager)||void 0===t||t.openOrDownloadData(e.content,e.filename,n),!1},_d(Wd,this,Gd).call(this)}function Ud(t,e){var r=this;t.href=this.linkService.getAnchorUrl(""),t.onclick=function(){return r.linkService.executeSetOCGState(e),!1},_d(Wd,this,Gd).call(this)}var zd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!0}])}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add("textAnnotation");var t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),t.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(t),this.container}}])}(),Vd=function(t){function e(){return Ed(this,e),ld(this,e,arguments)}return dd(e,Dd),Od(e,[{key:"render",value:function(){return this.container}},{key:"showElementAndHideCanvas",value:function(t){var e;this.data.hasOwnCanvas&&("CANVAS"===(null===(e=t.previousSibling)||void 0===e?void 0:e.nodeName)&&(t.previousSibling.hidden=!0),t.hidden=!1)}},{key:"_getKeyModifier",value:function(t){return J.platform.isMac?t.metaKey:t.ctrlKey}},{key:"_setEventListener",value:function(t,e,r,n,i){var a=this;r.includes("mouse")?t.addEventListener(r,(function(t){var e;null===(e=a.linkService.eventBus)||void 0===e||e.dispatch("dispatcheventinsandbox",{source:a,detail:{id:a.data.id,name:n,value:i(t),shift:t.shiftKey,modifier:a._getKeyModifier(t)}})})):t.addEventListener(r,(function(t){var o;if("blur"===r){if(!e.focused||!t.relatedTarget)return;e.focused=!1}else if("focus"===r){if(e.focused)return;e.focused=!0}i&&(null===(o=a.linkService.eventBus)||void 0===o||o.dispatch("dispatcheventinsandbox",{source:a,detail:{id:a.data.id,name:n,value:i(t)}}))}))}},{key:"_setEventListeners",value:function(t,e,r,n){var i,a=pd(r);try{for(a.s();!(i=a.n()).done;){var o,s,u,c=yd(i.value,2),l=c[0],h=c[1];("Action"===h||null!==(o=this.data.actions)&&void 0!==o&&o[h])&&("Focus"!==h&&"Blur"!==h||e||(e={focused:!1}),this._setEventListener(t,e,l,h,n),"Focus"!==h||null!==(s=this.data.actions)&&void 0!==s&&s.Blur?"Blur"!==h||null!==(u=this.data.actions)&&void 0!==u&&u.Focus||this._setEventListener(t,e,"focus","Focus",null):this._setEventListener(t,e,"blur","Blur",null))}}catch(t){a.e(t)}finally{a.f()}}},{key:"_setBackgroundColor",value:function(t){var e=this.data.backgroundColor||null;t.style.backgroundColor=null===e?"transparent":Z.makeHexColor(e[0],e[1],e[2])}},{key:"_setTextStyle",value:function(t){var e,r=this.data.defaultAppearanceData.fontColor,n=this.data.defaultAppearanceData.fontSize||9,i=t.style,a=function(t){return Math.round(10*t)/10};if(this.data.multiLine){var o=Math.abs(this.data.rect[3]-this.data.rect[1]-2),s=o/(Math.round(o/(k*n))||1);e=Math.min(n,a(s/k))}else{var u=Math.abs(this.data.rect[3]-this.data.rect[1]-2);e=Math.min(n,a(u/k))}i.fontSize="calc(".concat(e,"px * var(--scale-factor))"),i.color=Z.makeHexColor(r[0],r[1],r[2]),null!==this.data.textAlignment&&(i.textAlign=["left","center","right"][this.data.textAlignment])}},{key:"_setRequired",value:function(t,e){e?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",e)}}])}(),qd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue}])}return dd(e,Vd),Od(e,[{key:"setPropertyOnSiblings",value:function(t,e,r,n){var i,a=this.annotationStorage,o=pd(this._getElementsByName(t.name,t.id));try{for(o.s();!(i=o.n()).done;){var s=i.value;s.domElement&&(s.domElement[e]=r),a.setValue(s.id,{[n]:r})}}catch(t){o.e(t)}finally{o.f()}}},{key:"render",value:function(){var t=this,e=this.annotationStorage,r=this.data.id;this.container.classList.add("textWidgetAnnotation");var n=null;if(this.renderForms){var i,a=e.getValue(r,{value:this.data.fieldValue}),o=a.value||"",s=e.getValue(r,{charLimit:this.data.maxLen}).charLimit;s&&o.length>s&&(o=o.slice(0,s));var u=a.formattedValue||(null===(i=this.data.textContent)||void 0===i?void 0:i.join("\\n"))||null;u&&this.data.comb&&(u=u.replaceAll(/\\s+/g,""));var c,l,h={userValue:o,formattedValue:u,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?((n=document.createElement("textarea")).textContent=null!==(c=u)&&void 0!==c?c:o,this.data.doNotScroll&&(n.style.overflowY="hidden")):((n=document.createElement("input")).type="text",n.setAttribute("value",null!==(l=u)&&void 0!==l?l:o),this.data.doNotScroll&&(n.style.overflowX="hidden")),this.data.hasOwnCanvas&&(n.hidden=!0),Ld.add(n),n.setAttribute("data-element-id",r),n.disabled=this.data.readOnly,n.name=this.data.fieldName,n.tabIndex=Pd,this._setRequired(n,this.data.required),s&&(n.maxLength=s),n.addEventListener("input",(function(i){e.setValue(r,{value:i.target.value}),t.setPropertyOnSiblings(n,"value",i.target.value,"value"),h.formattedValue=null})),n.addEventListener("resetform",(function(e){var r,i=null!==(r=t.data.defaultFieldValue)&&void 0!==r?r:"";n.value=h.userValue=i,h.formattedValue=null}));var f=function(t){var e=h.formattedValue;null!=e&&(t.target.value=e),t.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){var d;n.addEventListener("focus",(function(e){var r;if(!h.focused){var n=e.target;h.userValue&&(n.value=h.userValue),h.lastCommittedValue=n.value,h.commitKey=1,null!==(r=t.data.actions)&&void 0!==r&&r.Focus||(h.focused=!0)}})),n.addEventListener("updatefromsandbox",(function(n){t.showElementAndHideCanvas(n.target);var i={value(t){var n;h.userValue=null!==(n=t.detail.value)&&void 0!==n?n:"",e.setValue(r,{value:h.userValue.toString()}),t.target.value=h.userValue},formattedValue(t){var n=t.detail.formattedValue;h.formattedValue=n,null!=n&&t.target!==document.activeElement&&(t.target.value=n),e.setValue(r,{formattedValue:n})},selRange(t){var e;(e=t.target).setSelectionRange.apply(e,cd(t.detail.selRange))},charLimit:function(n){var i,a=n.detail.charLimit,o=n.target;if(0!==a){o.setAttribute("maxLength",a);var s=h.userValue;!s||s.length<=a||(s=s.slice(0,a),o.value=h.userValue=s,e.setValue(r,{value:s}),null===(i=t.linkService.eventBus)||void 0===i||i.dispatch("dispatcheventinsandbox",{source:t,detail:{id:r,name:"Keystroke",value:s,willCommit:!0,commitKey:1,selStart:o.selectionStart,selEnd:o.selectionEnd}}))}else o.removeAttribute("maxLength")}};t._dispatchEventFromSandbox(i,n)})),n.addEventListener("keydown",(function(e){var n;h.commitKey=1;var i=-1;if("Escape"===e.key?i=0:"Enter"!==e.key||t.data.multiLine?"Tab"===e.key&&(h.commitKey=3):i=2,-1!==i){var a=e.target.value;h.lastCommittedValue!==a&&(h.lastCommittedValue=a,h.userValue=a,null===(n=t.linkService.eventBus)||void 0===n||n.dispatch("dispatcheventinsandbox",{source:t,detail:{id:r,name:"Keystroke",value:a,willCommit:!0,commitKey:i,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}}))}}));var v=f;f=null,n.addEventListener("blur",(function(e){var n;if(h.focused&&e.relatedTarget){null!==(n=t.data.actions)&&void 0!==n&&n.Blur||(h.focused=!1);var i,a=e.target.value;h.userValue=a,h.lastCommittedValue!==a&&(null===(i=t.linkService.eventBus)||void 0===i||i.dispatch("dispatcheventinsandbox",{source:t,detail:{id:r,name:"Keystroke",value:a,willCommit:!0,commitKey:h.commitKey,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}})),v(e)}})),null!==(d=this.data.actions)&&void 0!==d&&d.Keystroke&&n.addEventListener("beforeinput",(function(e){var n;h.lastCommittedValue=null;var i=e.data,a=e.target,o=a.value,s=a.selectionStart,u=a.selectionEnd,c=s,l=u;switch(e.inputType){case"deleteWordBackward":var f=o.substring(0,s).match(/\\w*[^\\w]*$/);f&&(c-=f[0].length);break;case"deleteWordForward":var d=o.substring(s).match(/^[^\\w]*\\w*/);d&&(l+=d[0].length);break;case"deleteContentBackward":s===u&&(c-=1);break;case"deleteContentForward":s===u&&(l+=1)}e.preventDefault(),null===(n=t.linkService.eventBus)||void 0===n||n.dispatch("dispatcheventinsandbox",{source:t,detail:{id:r,name:"Keystroke",value:o,change:i||"",willCommit:!1,selStart:c,selEnd:l}})})),this._setEventListeners(n,h,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(t){return t.target.value}))}if(f&&n.addEventListener("blur",f),this.data.comb){var p=(this.data.rect[2]-this.data.rect[0])/s;n.classList.add("comb"),n.style.letterSpacing="calc(".concat(p,"px * var(--scale-factor) - 1ch)")}}else(n=document.createElement("div")).textContent=this.data.fieldValue,n.style.verticalAlign="middle",n.style.display="table-cell",this.data.hasOwnCanvas&&(n.hidden=!0);return this._setTextStyle(n),this._setBackgroundColor(n),this._setDefaultPropertiesFromJS(n),this.container.append(n),this.container}}])}(),Yd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!!t.data.hasOwnCanvas}])}return dd(e,Vd),Od(e)}(),Xd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:t.renderForms}])}return dd(e,Vd),Od(e,[{key:"render",value:function(){var t=this,e=this.annotationStorage,r=this.data,n=r.id,i=e.getValue(n,{value:r.exportValue===r.fieldValue}).value;"string"==typeof i&&(i="Off"!==i,e.setValue(n,{value:i})),this.container.classList.add("buttonWidgetAnnotation","checkBox");var a=document.createElement("input");return Ld.add(a),a.setAttribute("data-element-id",n),a.disabled=r.readOnly,this._setRequired(a,this.data.required),a.type="checkbox",a.name=r.fieldName,i&&a.setAttribute("checked",!0),a.setAttribute("exportValue",r.exportValue),a.tabIndex=Pd,a.addEventListener("change",(function(i){var a,o=i.target,s=o.name,u=o.checked,c=pd(t._getElementsByName(s,n));try{for(c.s();!(a=c.n()).done;){var l=a.value,h=u&&l.exportValue===r.exportValue;l.domElement&&(l.domElement.checked=h),e.setValue(l.id,{value:h})}}catch(t){c.e(t)}finally{c.f()}e.setValue(n,{value:u})})),a.addEventListener("resetform",(function(t){var e=r.defaultFieldValue||"Off";t.target.checked=e===r.exportValue})),this.enableScripting&&this.hasJSActions&&(a.addEventListener("updatefromsandbox",(function(r){var i={value(t){t.target.checked="Off"!==t.detail.value,e.setValue(n,{value:t.target.checked})}};t._dispatchEventFromSandbox(i,r)})),this._setEventListeners(a,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(t){return t.target.checked}))),this._setBackgroundColor(a),this._setDefaultPropertiesFromJS(a),this.container.append(a),this.container}}])}(),Kd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:t.renderForms}])}return dd(e,Vd),Od(e,[{key:"render",value:function(){var t=this;this.container.classList.add("buttonWidgetAnnotation","radioButton");var e=this.annotationStorage,r=this.data,n=r.id,i=e.getValue(n,{value:r.fieldValue===r.buttonValue}).value;if("string"==typeof i&&(i=i!==r.buttonValue,e.setValue(n,{value:i})),i){var a,o=pd(this._getElementsByName(r.fieldName,n));try{for(o.s();!(a=o.n()).done;){var s=a.value;e.setValue(s.id,{value:!1})}}catch(t){o.e(t)}finally{o.f()}}var u=document.createElement("input");if(Ld.add(u),u.setAttribute("data-element-id",n),u.disabled=r.readOnly,this._setRequired(u,this.data.required),u.type="radio",u.name=r.fieldName,i&&u.setAttribute("checked",!0),u.tabIndex=Pd,u.addEventListener("change",(function(r){var i,a=r.target,o=a.name,s=a.checked,u=pd(t._getElementsByName(o,n));try{for(u.s();!(i=u.n()).done;){var c=i.value;e.setValue(c.id,{value:!1})}}catch(t){u.e(t)}finally{u.f()}e.setValue(n,{value:s})})),u.addEventListener("resetform",(function(t){var e=r.defaultFieldValue;t.target.checked=null!=e&&e===r.buttonValue})),this.enableScripting&&this.hasJSActions){var c=r.buttonValue;u.addEventListener("updatefromsandbox",(function(r){var i={value:function(r){var i,a=c===r.detail.value,o=pd(t._getElementsByName(r.target.name));try{for(o.s();!(i=o.n()).done;){var s=i.value,u=a&&s.id===n;s.domElement&&(s.domElement.checked=u),e.setValue(s.id,{value:u})}}catch(t){o.e(t)}finally{o.f()}}};t._dispatchEventFromSandbox(i,r)})),this._setEventListeners(u,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(t){return t.target.checked}))}return this._setBackgroundColor(u),this._setDefaultPropertiesFromJS(u),this.container.append(u),this.container}}])}(),Qd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{ignoreBorder:t.data.hasAppearance}])}return dd(e,Bd),Od(e,[{key:"render",value:function(){var t=this,r=function(t,e,r,n){var i=ud(fd(t.prototype),"render",r);return"function"==typeof i?function(t){return i.apply(r,t)}:i}(e,0,this)([]);r.classList.add("buttonWidgetAnnotation","pushButton");var n=r.lastChild;return this.enableScripting&&this.hasJSActions&&n&&(this._setDefaultPropertiesFromJS(n),n.addEventListener("updatefromsandbox",(function(e){t._dispatchEventFromSandbox({},e)}))),r}}])}(),Jd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:t.renderForms}])}return dd(e,Vd),Od(e,[{key:"render",value:function(){var t=this;this.container.classList.add("choiceWidgetAnnotation");var e=this.annotationStorage,r=this.data.id,n=e.getValue(r,{value:this.data.fieldValue}),i=document.createElement("select");Ld.add(i),i.setAttribute("data-element-id",r),i.disabled=this.data.readOnly,this._setRequired(i,this.data.required),i.name=this.data.fieldName,i.tabIndex=Pd;var a=this.data.combo&&this.data.options.length>0;this.data.combo||(i.size=this.data.options.length,this.data.multiSelect&&(i.multiple=!0)),i.addEventListener("resetform",(function(e){var r,n=t.data.defaultFieldValue,a=pd(i.options);try{for(a.s();!(r=a.n()).done;){var o=r.value;o.selected=o.value===n}}catch(t){a.e(t)}finally{a.f()}}));var o,s=pd(this.data.options);try{for(s.s();!(o=s.n()).done;){var u=o.value,c=document.createElement("option");c.textContent=u.displayValue,c.value=u.exportValue,n.value.includes(u.exportValue)&&(c.setAttribute("selected",!0),a=!1),i.append(c)}}catch(t){s.e(t)}finally{s.f()}var l=null;if(a){var h=document.createElement("option");h.value=" ",h.setAttribute("hidden",!0),h.setAttribute("selected",!0),i.prepend(h),l=function(){h.remove(),i.removeEventListener("input",l),l=null},i.addEventListener("input",l)}var f=function(t){var e=t?"value":"textContent",r=i.options;return i.multiple?Array.prototype.filter.call(r,(function(t){return t.selected})).map((function(t){return t[e]})):-1===r.selectedIndex?null:r[r.selectedIndex][e]},d=f(!1),v=function(t){var e=t.target.options;return Array.prototype.map.call(e,(function(t){return{displayValue:t.textContent,exportValue:t.value}}))};return this.enableScripting&&this.hasJSActions?(i.addEventListener("updatefromsandbox",(function(n){var a={value(t){var n;null===(n=l)||void 0===n||n();var a,o=t.detail.value,s=new Set(Array.isArray(o)?o:[o]),u=pd(i.options);try{for(u.s();!(a=u.n()).done;){var c=a.value;c.selected=s.has(c.value)}}catch(t){u.e(t)}finally{u.f()}e.setValue(r,{value:f(!0)}),d=f(!1)},multipleSelection(t){i.multiple=!0},remove(t){var n=i.options,a=t.detail.remove;if(n[a].selected=!1,i.remove(a),n.length>0){var o=Array.prototype.findIndex.call(n,(function(t){return t.selected}));-1===o&&(n[0].selected=!0)}e.setValue(r,{value:f(!0),items:v(t)}),d=f(!1)},clear(t){for(;0!==i.length;)i.remove(0);e.setValue(r,{value:null,items:[]}),d=f(!1)},insert(t){var n=t.detail.insert,a=n.index,o=n.displayValue,s=n.exportValue,u=i.children[a],c=document.createElement("option");c.textContent=o,c.value=s,u?u.before(c):i.append(c),e.setValue(r,{value:f(!0),items:v(t)}),d=f(!1)},items(t){for(var n=t.detail.items;0!==i.length;)i.remove(0);var a,o=pd(n);try{for(o.s();!(a=o.n()).done;){var s=a.value,u=s.displayValue,c=s.exportValue,l=document.createElement("option");l.textContent=u,l.value=c,i.append(l)}}catch(t){o.e(t)}finally{o.f()}i.options.length>0&&(i.options[0].selected=!0),e.setValue(r,{value:f(!0),items:v(t)}),d=f(!1)},indices(t){var n,i=new Set(t.detail.indices),a=pd(t.target.options);try{for(a.s();!(n=a.n()).done;){var o=n.value;o.selected=i.has(o.index)}}catch(t){a.e(t)}finally{a.f()}e.setValue(r,{value:f(!0)}),d=f(!1)},editable(t){t.target.disabled=!t.detail.editable}};t._dispatchEventFromSandbox(a,n)})),i.addEventListener("input",(function(n){var i,a=f(!0),o=f(!1);e.setValue(r,{value:a}),n.preventDefault(),null===(i=t.linkService.eventBus)||void 0===i||i.dispatch("dispatcheventinsandbox",{source:t,detail:{id:r,name:"Keystroke",value:d,change:o,changeEx:a,willCommit:!1,commitKey:1,keyDown:!1}})})),this._setEventListeners(i,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],(function(t){return t.target.value}))):i.addEventListener("input",(function(t){e.setValue(r,{value:f(!0)})})),this.data.combo&&this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}])}(),$d=function(t){function e(t){var r;Ed(this,e);var n=t.data,i=t.elements;return(r=ld(this,e,[t,{isRenderable:Dd._hasPopupData(n)}])).elements=i,r.popup=null,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add("popupAnnotation");var t,e=this.popup=new bv({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),r=[],n=pd(this.elements);try{for(n.s();!(t=n.n()).done;){var i=t.value;i.popup=e,r.push(i.data.id),i.addHighlightArea()}}catch(t){n.e(t)}finally{n.f()}return this.container.setAttribute("aria-controls",r.map((function(t){return"".concat(at).concat(t)})).join(",")),this.container}}])}(),Zd=new WeakMap,tv=new WeakMap,ev=new WeakMap,rv=new WeakMap,nv=new WeakMap,iv=new WeakMap,av=new WeakMap,ov=new WeakMap,sv=new WeakMap,uv=new WeakMap,cv=new WeakMap,lv=new WeakMap,hv=new WeakMap,fv=new WeakMap,dv=new WeakMap,vv=new WeakMap,pv=new WeakMap,yv=new WeakMap,gv=new WeakMap,mv=new WeakSet,bv=function(){return Od((function t(e){var r=e.container,n=e.color,i=e.elements,a=e.titleObj,o=e.modificationDate,s=e.contentsObj,u=e.richText,c=e.parent,l=e.rect,h=e.parentRect,f=e.open;Ed(this,t),bd(this,mv),wd(this,Zd,_d(mv,this,_v).bind(this)),wd(this,tv,_d(mv,this,Tv).bind(this)),wd(this,ev,_d(mv,this,Ov).bind(this)),wd(this,rv,_d(mv,this,Sv).bind(this)),wd(this,nv,null),wd(this,iv,null),wd(this,av,null),wd(this,ov,null),wd(this,sv,null),wd(this,uv,null),wd(this,cv,null),wd(this,lv,!1),wd(this,hv,null),wd(this,fv,null),wd(this,dv,null),wd(this,vv,null),wd(this,pv,null),wd(this,yv,null),wd(this,gv,!1),xd(iv,this,r),xd(pv,this,a),xd(av,this,s),xd(vv,this,u),xd(uv,this,c),xd(nv,this,n),xd(dv,this,l),xd(cv,this,h),xd(sv,this,i),xd(ov,this,Le.toDateObject(o)),this.trigger=i.flatMap((function(t){return t.getElementsToTriggerPopup()}));var d,v=pd(this.trigger);try{for(v.s();!(d=v.n()).done;){var p=d.value;p.addEventListener("click",Ad(rv,this)),p.addEventListener("mouseenter",Ad(ev,this)),p.addEventListener("mouseleave",Ad(tv,this)),p.classList.add("popupTriggerArea")}}catch(t){v.e(t)}finally{v.f()}var y,g=pd(i);try{for(g.s();!(y=g.n()).done;){var m;null===(m=y.value.container)||void 0===m||m.addEventListener("keydown",Ad(Zd,this))}}catch(t){g.e(t)}finally{g.f()}Ad(iv,this).hidden=!0,f&&_d(mv,this,Sv).call(this)}),[{key:"render",value:function(){if(!Ad(hv,this)){var t=xd(hv,this,document.createElement("div"));if(t.className="popup",Ad(nv,this)){var e=t.style.outlineColor=Z.makeHexColor.apply(Z,cd(Ad(nv,this)));CSS.supports("background-color","color-mix(in srgb, red 30%, white)")?t.style.backgroundColor="color-mix(in srgb, ".concat(e," 30%, white)"):t.style.backgroundColor=Z.makeHexColor.apply(Z,cd(Ad(nv,this).map((function(t){return Math.floor(.7*(255-t)+t)}))))}var r=document.createElement("span");r.className="header";var n=document.createElement("h1");r.append(n);var i=Ad(pv,this);if(n.dir=i.dir,n.textContent=i.str,t.append(r),Ad(ov,this)){var a=document.createElement("span");a.classList.add("popupDate"),a.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),a.setAttribute("data-l10n-args",JSON.stringify({dateObj:Ad(ov,this).valueOf()})),r.append(a)}var o=sd(mv,this,wv);if(o)td.render({xfaHtml:o,intent:"richText",div:t}),t.lastChild.classList.add("richText","popupContent");else{var s=this._formatContents(Ad(av,this));t.append(s)}Ad(iv,this).append(t)}}},{key:"_formatContents",value:function(t){var e=t.str,r=t.dir,n=document.createElement("p");n.classList.add("popupContent"),n.dir=r;for(var i=e.split(/(?:\\r\\n?|\\n)/),a=0,o=i.length;a<o;++a){var s=i[a];n.append(document.createTextNode(s)),a<o-1&&n.append(document.createElement("br"))}return n}},{key:"updateEdited",value:function(t){var e,r=t.rect,n=t.popupContent;Ad(yv,this)||xd(yv,this,{contentsObj:Ad(av,this),richText:Ad(vv,this)}),r&&xd(fv,this,null),n&&(xd(vv,this,_d(mv,this,Av).call(this,n)),xd(av,this,null)),null===(e=Ad(hv,this))||void 0===e||e.remove(),xd(hv,this,null)}},{key:"resetEdited",value:function(){var t;if(Ad(yv,this)){var e=Ad(yv,this);od(xd,[av,this])._=e.contentsObj,od(xd,[vv,this])._=e.richText,xd(yv,this,null),null===(t=Ad(hv,this))||void 0===t||t.remove(),xd(hv,this,null),xd(fv,this,null)}}},{key:"forceHide",value:function(){xd(gv,this,this.isVisible),Ad(gv,this)&&(Ad(iv,this).hidden=!0)}},{key:"maybeShow",value:function(){Ad(gv,this)&&(Ad(hv,this)||_d(mv,this,Ov).call(this),xd(gv,this,!1),Ad(iv,this).hidden=!1)}},{key:"isVisible",get:function(){return!1===Ad(iv,this).hidden}}])}();function wv(t){var e=Ad(vv,t),r=Ad(av,t);return null==e||!e.str||null!=r&&r.str&&r.str!==e.str?null:Ad(vv,t).html||null}function kv(t){var e;return(null===(e=sd(mv,t,wv))||void 0===e||null===(e=e.attributes)||void 0===e||null===(e=e.style)||void 0===e?void 0:e.fontSize)||0}function xv(t){var e;return(null===(e=sd(mv,t,wv))||void 0===e||null===(e=e.attributes)||void 0===e||null===(e=e.style)||void 0===e?void 0:e.color)||null}function Av(t){var e,r=[],n={str:t,html:{name:"div",attributes:{dir:"auto"},children:[{name:"p",children:r}]}},i={style:{color:sd(mv,this,xv),fontSize:sd(mv,this,kv)?"calc(".concat(sd(mv,this,kv),"px * var(--scale-factor))"):""}},a=pd(t.split("\\n"));try{for(a.s();!(e=a.n()).done;){var o=e.value;r.push({name:"span",value:o,attributes:i})}}catch(t){a.e(t)}finally{a.f()}return n}function _v(t){t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||("Enter"===t.key||"Escape"===t.key&&Ad(lv,this))&&_d(mv,this,Sv).call(this)}function Ev(){if(null===Ad(fv,this)){var t,e=Ad(uv,this),r=e.page.view,n=e.viewport.rawDims,i=n.pageWidth,a=n.pageHeight,o=n.pageX,s=n.pageY,u=!!Ad(cv,this),c=Ad(u?cv:dv,this),l=pd(Ad(sv,this));try{for(l.s();!(t=l.n()).done;){var h=t.value;if(!c||null!==Z.intersect(h.data.rect,c)){c=h.data.rect,u=!0;break}}}catch(t){l.e(t)}finally{l.f()}var f=Z.normalizeRect([c[0],r[3]-c[1]+r[1],c[2],r[3]-c[3]+r[1]]),d=u?c[2]-c[0]+5:0,v=f[0]+d,p=f[1];xd(fv,this,[100*(v-o)/i,100*(p-s)/a]);var y=Ad(iv,this).style;y.left="".concat(Ad(fv,this)[0],"%"),y.top="".concat(Ad(fv,this)[1],"%")}}function Sv(){xd(lv,this,!Ad(lv,this)),Ad(lv,this)?(_d(mv,this,Ov).call(this),Ad(iv,this).addEventListener("click",Ad(rv,this)),Ad(iv,this).addEventListener("keydown",Ad(Zd,this))):(_d(mv,this,Tv).call(this),Ad(iv,this).removeEventListener("click",Ad(rv,this)),Ad(iv,this).removeEventListener("keydown",Ad(Zd,this)))}function Ov(){Ad(hv,this)||this.render(),this.isVisible?Ad(lv,this)&&Ad(iv,this).classList.add("focused"):(_d(mv,this,Ev).call(this),Ad(iv,this).hidden=!1,Ad(iv,this).style.zIndex=parseInt(Ad(iv,this).style.zIndex)+1e3)}function Tv(){Ad(iv,this).classList.remove("focused"),!Ad(lv,this)&&this.isVisible&&(Ad(iv,this).hidden=!0,Ad(iv,this).style.zIndex=parseInt(Ad(iv,this).style.zIndex)-1e3)}var Pv=function(t){function e(t){var r;return Ed(this,e),(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}])).textContent=t.data.textContent,r.textPosition=t.data.textPosition,r.annotationEditorType=A.FREETEXT,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){var t=document.createElement("div");t.classList.add("annotationTextContent"),t.setAttribute("role","comment");var e,r=pd(this.textContent);try{for(r.s();!(e=r.n()).done;){var n=e.value,i=document.createElement("span");i.textContent=n,t.append(i)}}catch(t){r.e(t)}finally{r.f()}this.container.append(t)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}}])}(),Lv=new WeakMap,Mv=function(t){function e(t){var r;return Ed(this,e),wd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}]),Lv,null),r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add("lineAnnotation");var t=this.data,e=Md(t.rect),r=e.width,n=e.height,i=this.svgFactory.create(r,n,!0),a=xd(Lv,this,this.svgFactory.createElement("svg:line"));return a.setAttribute("x1",t.rect[2]-t.lineCoordinates[0]),a.setAttribute("y1",t.rect[3]-t.lineCoordinates[1]),a.setAttribute("x2",t.rect[2]-t.lineCoordinates[2]),a.setAttribute("y2",t.rect[3]-t.lineCoordinates[3]),a.setAttribute("stroke-width",t.borderStyle.width||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),i.append(a),this.container.append(i),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Lv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}(),Cv=new WeakMap,jv=function(t){function e(t){var r;return Ed(this,e),wd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}]),Cv,null),r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add("squareAnnotation");var t=this.data,e=Md(t.rect),r=e.width,n=e.height,i=this.svgFactory.create(r,n,!0),a=t.borderStyle.width,o=xd(Cv,this,this.svgFactory.createElement("svg:rect"));return o.setAttribute("x",a/2),o.setAttribute("y",a/2),o.setAttribute("width",r-a),o.setAttribute("height",n-a),o.setAttribute("stroke-width",a||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),i.append(o),this.container.append(i),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Cv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}(),Iv=new WeakMap,Rv=function(t){function e(t){var r;return Ed(this,e),wd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}]),Iv,null),r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add("circleAnnotation");var t=this.data,e=Md(t.rect),r=e.width,n=e.height,i=this.svgFactory.create(r,n,!0),a=t.borderStyle.width,o=xd(Iv,this,this.svgFactory.createElement("svg:ellipse"));return o.setAttribute("cx",r/2),o.setAttribute("cy",n/2),o.setAttribute("rx",r/2-a/2),o.setAttribute("ry",n/2-a/2),o.setAttribute("stroke-width",a||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),i.append(o),this.container.append(i),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Iv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}(),Fv=new WeakMap,Dv=function(t){function e(t){var r;return Ed(this,e),wd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}]),Fv,null),r.containerClassName="polylineAnnotation",r.svgElementName="svg:polyline",r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add(this.containerClassName);var t=this.data,e=t.rect,r=t.vertices,n=t.borderStyle,i=t.popupRef;if(!r)return this.container;for(var a=Md(e),o=a.width,s=a.height,u=this.svgFactory.create(o,s,!0),c=[],l=0,h=r.length;l<h;l+=2){var f=r[l]-e[0],d=e[3]-r[l+1];c.push("".concat(f,",").concat(d))}c=c.join(" ");var v=xd(Fv,this,this.svgFactory.createElement(this.svgElementName));return v.setAttribute("points",c),v.setAttribute("stroke-width",n.width||1),v.setAttribute("stroke","transparent"),v.setAttribute("fill","transparent"),u.append(v),this.container.append(u),!i&&this.hasPopupData&&this._createPopup(),this.container}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Fv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}(),Nv=function(t){function e(t){var r;return Ed(this,e),(r=ld(this,e,[t])).containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return dd(e,Dv),Od(e)}(),Wv=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}])}return dd(e,Dd),Od(e,[{key:"render",value:function(){return this.container.classList.add("caretAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}}])}(),Bv=new WeakMap,Gv=function(t){function e(t){var r;return Ed(this,e),wd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}]),Bv,[]),r.containerClassName="inkAnnotation",r.svgElementName="svg:polyline",r.annotationEditorType="InkHighlight"===r.data.it?A.HIGHLIGHT:A.INK,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add(this.containerClassName);var t,e=this.data,r=e.rect,n=e.inkLists,i=e.borderStyle,a=e.popupRef,o=Md(r),s=o.width,u=o.height,c=this.svgFactory.create(s,u,!0),l=pd(n);try{for(l.s();!(t=l.n()).done;){for(var h=t.value,f=[],d=0,v=h.length;d<v;d+=2){var p=h[d]-r[0],y=r[3]-h[d+1];f.push("".concat(p,",").concat(y))}f=f.join(" ");var g=this.svgFactory.createElement(this.svgElementName);Ad(Bv,this).push(g),g.setAttribute("points",f),g.setAttribute("stroke-width",i.width||1),g.setAttribute("stroke","transparent"),g.setAttribute("fill","transparent"),!a&&this.hasPopupData&&this._createPopup(),c.append(g)}}catch(t){l.e(t)}finally{l.f()}return this.container.append(c),this._editOnDoubleClick(),this.container}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Bv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}(),Hv=function(t){function e(t){var r;return Ed(this,e),(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}])).annotationEditorType=A.HIGHLIGHT,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("highlightAnnotation"),this._editOnDoubleClick(),this.container}}])}(),Uv=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}])}return dd(e,Dd),Od(e,[{key:"render",value:function(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("underlineAnnotation"),this.container}}])}(),zv=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}])}return dd(e,Dd),Od(e,[{key:"render",value:function(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("squigglyAnnotation"),this.container}}])}(),Vv=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}])}return dd(e,Dd),Od(e,[{key:"render",value:function(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("strikeoutAnnotation"),this.container}}])}(),qv=function(t){function e(t){var r;return Ed(this,e),(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}])).annotationEditorType=A.STAMP,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){return this.container.classList.add("stampAnnotation"),this.container.setAttribute("role","img"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}}])}(),Yv=new WeakMap,Xv=new WeakSet,Kv=function(t){function e(t){var r,n;Ed(this,e),bd(n=ld(this,e,[t,{isRenderable:!0}]),Xv),wd(n,Yv,null);var i=n.data.file;return n.filename=i.filename,n.content=i.content,null===(r=n.linkService.eventBus)||void 0===r||r.dispatch("fileattachmentannotation",function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ed(Object(r),!0).forEach((function(e){rd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ed(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({source:n},i)),n}return dd(e,Dd),Od(e,[{key:"render",value:function(){var t=this;this.container.classList.add("fileAttachmentAnnotation");var e,r=this.container,n=this.data;n.hasAppearance||0===n.fillAlpha?e=document.createElement("div"):((e=document.createElement("img")).src="".concat(this.imageResourcesPath,"annotation-").concat(/paperclip/i.test(n.name)?"paperclip":"pushpin",".svg"),n.fillAlpha&&n.fillAlpha<1&&(e.style="filter: opacity(".concat(Math.round(100*n.fillAlpha),"%);"))),e.addEventListener("dblclick",_d(Xv,this,Qv).bind(this)),xd(Yv,this,e);var i=J.platform.isMac;return r.addEventListener("keydown",(function(e){"Enter"===e.key&&(i?e.metaKey:e.ctrlKey)&&_d(Xv,t,Qv).call(t)})),!n.popupRef&&this.hasPopupData?this._createPopup():e.classList.add("popupTriggerArea"),r.append(e),r}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Yv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}();function Qv(){var t;null===(t=this.downloadManager)||void 0===t||t.openOrDownloadData(this.content,this.filename)}var Jv,$v=new WeakMap,Zv=new WeakMap,tp=new WeakMap,ep=new WeakMap,rp=new WeakSet,np=function(){return Od((function t(e){var r=e.div,n=e.accessibilityManager,i=e.annotationCanvasMap,a=e.annotationEditorUIManager,o=e.page,s=e.viewport,u=e.structTreeLayer;Ed(this,t),bd(this,rp),wd(this,$v,null),wd(this,Zv,null),wd(this,tp,new Map),wd(this,ep,null),this.div=r,xd($v,this,n),xd(Zv,this,i),xd(ep,this,u||null),this.page=o,this.viewport=s,this.zIndex=0,this._annotationEditorUIManager=a}),[{key:"hasEditableAnnotations",value:function(){return Ad(tp,this).size>0}},{key:"render",value:function(){var t=ad(nd().mark((function t(e){var r,n,i,a,o,s,u,c,l,h,f,d,v,p,y,g;return nd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.annotations,Re(n=this.div,this.viewport),i=new Map,a={data:null,layer:n,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderForms:!1!==e.renderForms,svgFactory:new me,annotationStorage:e.annotationStorage||new Mo,enableScripting:!0===e.enableScripting,hasJSActions:e.hasJSActions,fieldObjects:e.fieldObjects,parent:this,elements:null},o=pd(r),t.prev=6,o.s();case 8:if((s=o.n()).done){t.next=35;break}if(!(u=s.value).noHTML){t.next=12;break}return t.abrupt("continue",33);case 12:if(c=16===u.annotationType){t.next=19;break}if(l=Md(u.rect),h=l.width,f=l.height,!(h<=0||f<=0)){t.next=17;break}return t.abrupt("continue",33);case 17:t.next=23;break;case 19:if(d=i.get(u.id)){t.next=22;break}return t.abrupt("continue",33);case 22:a.elements=d;case 23:if(a.data=u,(v=Cd.create(a)).isRenderable){t.next=27;break}return t.abrupt("continue",33);case 27:return!c&&u.popupRef&&((p=i.get(u.popupRef))?p.push(v):i.set(u.popupRef,[v])),y=v.render(),u.hidden&&(y.style.visibility="hidden"),t.next=32,_d(rp,this,ip).call(this,y,u.id);case 32:v._isEditable&&(Ad(tp,this).set(v.data.id,v),null===(g=this._annotationEditorUIManager)||void 0===g||g.renderAnnotationElement(v));case 33:t.next=8;break;case 35:t.next=40;break;case 37:t.prev=37,t.t0=t.catch(6),o.e(t.t0);case 40:return t.prev=40,o.f(),t.finish(40);case 43:_d(rp,this,op).call(this);case 44:case"end":return t.stop()}}),t,this,[[6,37,40,43]])})));return function(e){return t.apply(this,arguments)}}()},{key:"update",value:function(t){var e=t.viewport,r=this.div;this.viewport=e,Re(r,{rotation:e.rotation}),_d(rp,this,op).call(this),r.hidden=!1}},{key:"getEditableAnnotations",value:function(){return Array.from(Ad(tp,this).values())}},{key:"getEditableAnnotation",value:function(t){return Ad(tp,this).get(t)}}])}();function ip(t,e){return ap.apply(this,arguments)}function ap(){return(ap=ad(nd().mark((function t(e,r){var n,i,a,o,s,u,c,l,h,f;return nd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.firstChild||e,o=a.id="".concat(at).concat(r),t.next=4,null===(n=Ad(ep,this))||void 0===n?void 0:n.getAriaAttributes(o);case 4:if(s=t.sent){u=pd(s);try{for(u.s();!(c=u.n()).done;)l=yd(c.value,2),h=l[0],f=l[1],a.setAttribute(h,f)}catch(t){u.e(t)}finally{u.f()}}this.div.append(e),null===(i=Ad($v,this))||void 0===i||i.moveElementInDOM(this.div,e,a,!1);case 8:case"end":return t.stop()}}),t,this)})))).apply(this,arguments)}function op(){if(Ad(Zv,this)){var t,e=this.div,r=pd(Ad(Zv,this));try{for(r.s();!(t=r.n()).done;){var n=yd(t.value,2),i=n[0],a=n[1],o=e.querySelector('[data-annotation-id="'.concat(i,'"]'));if(o){a.className="annotationContent";var s=o.firstChild;s?"CANVAS"===s.nodeName?s.replaceWith(a):s.classList.contains("annotationContent")?s.after(a):s.before(a):o.append(a)}}}catch(t){r.e(t)}finally{r.f()}Ad(Zv,this).clear()}}function sp(){sp=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function up(t){return function(t){if(Array.isArray(t))return dp(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||fp(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cp(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function lp(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=fp(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function hp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||fp(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fp(t,e){if(t){if("string"==typeof t)return dp(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dp(t,e):void 0}}function dp(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function vp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vp(Object(r),!0).forEach((function(e){Ap(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yp(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_p(n.key),n)}}function gp(t,e,r){return e=kp(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,mp()?Reflect.construct(e,r||[],kp(t).constructor):e.apply(t,r))}function mp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(mp=function(){return!!t})()}function bp(t,e,r,n){var i=wp(kp(1&n?t.prototype:t),e,r);return 2&n&&"function"==typeof i?function(t){return i.apply(r,t)}:i}function wp(){return wp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=kp(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},wp.apply(null,arguments)}function kp(t){return kp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},kp(t)}function xp(t,e){return xp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},xp(t,e)}function Ap(t,e,r){return(e=_p(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _p(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Ep(t,e,r){Sp(t,e),e.set(t,r)}function Sp(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Op(t,e){return t.get(Pp(t,e))}function Tp(t,e,r){return t.set(Pp(t,e),r),r}function Pp(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var Lp=/\\r\\n?|\\n/g,Mp=new WeakMap,Cp=new WeakMap,jp=new WeakMap,Ip=new WeakMap,Rp=new WeakMap,Fp=new WeakSet,Dp=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){Sp(t,e),e.add(t)}(r=gp(this,e,[pp(pp({},t),{},{name:"freeTextEditor"})]),Fp),Ep(r,Mp,void 0),Ep(r,Cp,""),Ep(r,jp,"".concat(r.id,"-editor")),Ep(r,Ip,null),Ep(r,Rp,void 0),Tp(Mp,r,t.color||e._defaultColor||Wa._defaultLineColor),Tp(Rp,r,t.fontSize||e._defaultFontSize),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&xp(t,e)}(e,Wa),function(t,e,r){return e&&yp(t.prototype,e),r&&yp(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"updateParams",value:function(t,e){switch(t){case _.FREETEXT_SIZE:Pp(Fp,this,Np).call(this,e);break;case _.FREETEXT_COLOR:Pp(Fp,this,Wp).call(this,e)}}},{key:"propertiesToUpdate",get:function(){return[[_.FREETEXT_SIZE,Op(Rp,this)],[_.FREETEXT_COLOR,Op(Mp,this)]]}},{key:"_translateEmpty",value:function(t,e){this._uiManager.translateSelectedEditors(t,e,!0)}},{key:"getInitialTranslation",value:function(){var t=this.parentScale;return[-e._internalPadding*t,-(e._internalPadding+Op(Rp,this))*t]}},{key:"rebuild",value:function(){this.parent&&(bp(e,"rebuild",this,3)([]),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this)))}},{key:"enableEditMode",value:function(){if(!this.isInEditMode()){this.parent.setEditingState(!1),this.parent.updateToolbar(A.FREETEXT),bp(e,"enableEditMode",this,3)([]),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),Tp(Ip,this,new AbortController);var t=this._uiManager.combinedSignal(Op(Ip,this));this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:t}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:t}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:t}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:t}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:t})}}},{key:"disableEditMode",value:function(){var t;this.isInEditMode()&&(this.parent.setEditingState(!0),bp(e,"disableEditMode",this,3)([]),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",Op(jp,this)),this._isDraggable=!0,null===(t=Op(Ip,this))||void 0===t||t.abort(),Tp(Ip,this,null),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"))}},{key:"focusin",value:function(t){this._focusEventsAllowed&&(bp(e,"focusin",this,3)([t]),t.target!==this.editorDiv&&this.editorDiv.focus())}},{key:"onceAdded",value:function(){var t;this.width||(this.enableEditMode(),this.editorDiv.focus(),null!==(t=this._initialOptions)&&void 0!==t&&t.isCentered&&this.center(),this._initialOptions=null)}},{key:"isEmpty",value:function(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}},{key:"remove",value:function(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),bp(e,"remove",this,3)([])}},{key:"commit",value:function(){var t=this;if(this.isInEditMode()){bp(e,"commit",this,3)([]),this.disableEditMode();var r=Op(Cp,this),n=Tp(Cp,this,Pp(Fp,this,Bp).call(this).trimEnd());if(r!==n){var i=function(e){Tp(Cp,t,e),e?(Pp(Fp,t,Up).call(t),t._uiManager.rebuild(t),Pp(Fp,t,Gp).call(t)):t.remove()};this.addCommands({cmd:function(){i(n)},undo:function(){i(r)},mustExec:!1}),Pp(Fp,this,Gp).call(this)}}}},{key:"shouldGetKeyboardEvents",value:function(){return this.isInEditMode()}},{key:"enterInEditMode",value:function(){this.enableEditMode(),this.editorDiv.focus()}},{key:"dblclick",value:function(t){this.enterInEditMode()}},{key:"keydown",value:function(t){t.target===this.div&&"Enter"===t.key&&(this.enterInEditMode(),t.preventDefault())}},{key:"editorDivKeydown",value:function(t){e._keyboardManager.exec(this,t)}},{key:"editorDivFocus",value:function(t){this.isEditing=!0}},{key:"editorDivBlur",value:function(t){this.isEditing=!1}},{key:"editorDivInput",value:function(t){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}},{key:"disableEditing",value:function(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}},{key:"enableEditing",value:function(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}},{key:"render",value:function(){var t,r,n=this;if(this.div)return this.div;this.width&&(t=this.x,r=this.y),bp(e,"render",this,3)([]),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",Op(jp,this)),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text"),this.enableEditing(),Wa._l10nPromise.get("pdfjs-free-text-default-content").then((function(t){var e;return null===(e=n.editorDiv)||void 0===e?void 0:e.setAttribute("default-content",t)})),this.editorDiv.contentEditable=!0;var i=this.editorDiv.style;if(i.fontSize="calc(".concat(Op(Rp,this),"px * var(--scale-factor))"),i.color=Op(Mp,this),this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),Br(this,this.div,["dblclick","keydown"]),this.width){var a=hp(this.parentDimensions,2),o=a[0],s=a[1];if(this.annotationElementId){var u=this._initialData.position,c=hp(this.getInitialTranslation(),2),l=c[0],h=c[1],f=hp(this.pageTranslationToScreen(l,h),2);l=f[0],h=f[1];var d,v,p=hp(this.pageDimensions,2),y=p[0],g=p[1],m=hp(this.pageTranslation,2),b=m[0],w=m[1];switch(this.rotation){case 0:d=t+(u[0]-b)/y,v=r+this.height-(u[1]-w)/g;break;case 90:d=t+(u[0]-b)/y,v=r-(u[1]-w)/g;var k=[h,-l];l=k[0],h=k[1];break;case 180:d=t-this.width+(u[0]-b)/y,v=r-(u[1]-w)/g;var x=[-l,-h];l=x[0],h=x[1];break;case 270:d=t+(u[0]-b-this.height*g)/y,v=r+(u[1]-w-this.width*y)/g;var A=[-h,l];l=A[0],h=A[1]}this.setAt(d*o,v*s,l,h)}else this.setAt(t*o,r*s,this.width*o,this.height*s);Pp(Fp,this,Up).call(this),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}},{key:"editorDivPaste",value:function(t){var r=t.clipboardData||window.clipboardData,n=r.types;if(1!==n.length||"text/plain"!==n[0]){t.preventDefault();var i=Vp.call(e,r.getData("text")||"").replaceAll(Lp,"\\n");if(i){var a=window.getSelection();if(a.rangeCount){this.editorDiv.normalize(),a.deleteFromDocument();var o=a.getRangeAt(0);if(!i.includes("\\n"))return o.insertNode(document.createTextNode(i)),this.editorDiv.normalize(),void a.collapseToStart();var s=o.startContainer,u=o.startOffset,c=[],l=[];if(s.nodeType===Node.TEXT_NODE){var h=s.parentElement;if(l.push(s.nodeValue.slice(u).replaceAll(Lp,"")),h!==this.editorDiv){var f,d=c,v=lp(this.editorDiv.childNodes);try{for(v.s();!(f=v.n()).done;){var p=f.value;p!==h?d.push(Hp.call(e,p)):d=l}}catch(t){v.e(t)}finally{v.f()}}c.push(s.nodeValue.slice(0,u).replaceAll(Lp,""))}else if(s===this.editorDiv){var y,g=c,m=0,b=lp(this.editorDiv.childNodes);try{for(b.s();!(y=b.n()).done;){var w=y.value;m++===u&&(g=l),g.push(Hp.call(e,w))}}catch(t){b.e(t)}finally{b.f()}}Tp(Cp,this,"".concat(c.join("\\n")).concat(i).concat(l.join("\\n"))),Pp(Fp,this,Up).call(this);var k,x=new Range,A=c.reduce((function(t,e){return t+e.length}),0),_=lp(this.editorDiv.childNodes);try{for(_.s();!(k=_.n()).done;){var E=k.value.firstChild;if(E.nodeType===Node.TEXT_NODE){var S=E.nodeValue.length;if(A<=S){x.setStart(E,A),x.setEnd(E,A);break}A-=S}}}catch(t){_.e(t)}finally{_.f()}a.removeAllRanges(),a.addRange(x)}}}}},{key:"contentDiv",get:function(){return this.editorDiv}},{key:"serialize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();var r=e._internalPadding*this.parentScale,n=this.getRect(r,r),i=Wa._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:Op(Mp,this)),a={annotationType:A.FREETEXT,color:i,fontSize:Op(Rp,this),value:Pp(Fp,this,zp).call(this),pageIndex:this.pageIndex,rect:n,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?a:this.annotationElementId&&!Pp(Fp,this,qp).call(this,a)?null:(a.id=this.annotationElementId,a)}},{key:"renderAnnotationElement",value:function(t){var r=bp(e,"renderAnnotationElement",this,3)([t]);if(this.deleted)return r;var n=r.style;n.fontSize="calc(".concat(Op(Rp,this),"px * var(--scale-factor))"),n.color=Op(Mp,this),r.replaceChildren();var i,a=lp(Op(Cp,this).split("\\n"));try{for(a.s();!(i=a.n()).done;){var o=i.value,s=document.createElement("div");s.append(o?document.createTextNode(o):document.createElement("br")),r.append(s)}}catch(t){a.e(t)}finally{a.f()}var u=e._internalPadding*this.parentScale;return t.updateEdited({rect:this.getRect(u,u),popupContent:Op(Cp,this)}),r}},{key:"resetAnnotationElement",value:function(t){bp(e,"resetAnnotationElement",this,3)([t]),t.resetEdited()}}],[{key:"_keyboardManager",get:function(){var t=e.prototype,r=function(t){return t.isEmpty()},n=Kn.TRANSLATE_SMALL,i=Kn.TRANSLATE_BIG;return W(this,"_keyboardManager",new rn([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],t.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],t.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],t._translateEmpty,{args:[-n,0],checker:r}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t._translateEmpty,{args:[-i,0],checker:r}],[["ArrowRight","mac+ArrowRight"],t._translateEmpty,{args:[n,0],checker:r}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t._translateEmpty,{args:[i,0],checker:r}],[["ArrowUp","mac+ArrowUp"],t._translateEmpty,{args:[0,-n],checker:r}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t._translateEmpty,{args:[0,-i],checker:r}],[["ArrowDown","mac+ArrowDown"],t._translateEmpty,{args:[0,n],checker:r}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t._translateEmpty,{args:[0,i],checker:r}]]))}},{key:"initialize",value:function(t,e){Wa.initialize(t,e,{strings:["pdfjs-free-text-default-content"]});var r=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(r.getPropertyValue("--freetext-padding"))}},{key:"updateDefaultParams",value:function(t,r){switch(t){case _.FREETEXT_SIZE:e._defaultFontSize=r;break;case _.FREETEXT_COLOR:e._defaultColor=r}}},{key:"defaultPropertiesToUpdate",get:function(){return[[_.FREETEXT_SIZE,e._defaultFontSize],[_.FREETEXT_COLOR,e._defaultColor||Wa._defaultLineColor]]}},{key:"deserialize",value:(r=sp().mark((function t(r,n,i){var a,o,s,u,c,l,h,f,d,v,p,y,g,m;return sp().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=null,!(r instanceof Pv)){t.next=6;break}if(s=(o=r).data,u=s.defaultAppearanceData,c=u.fontSize,l=u.fontColor,h=s.rect,f=s.rotation,d=s.id,v=s.popupRef,p=o.textContent,y=o.textPosition,g=o.parent.page.pageNumber,p&&0!==p.length){t.next=5;break}return t.abrupt("return",null);case 5:a=r={annotationType:A.FREETEXT,color:Array.from(l),fontSize:c,value:p.join("\\n"),position:y,pageIndex:g-1,rect:h.slice(0),rotation:f,id:d,deleted:!1,popupRef:v};case 6:return t.next=8,bp(e,"deserialize",this,2)([r,n,i]);case 8:return m=t.sent,Tp(Rp,m,r.fontSize),Tp(Mp,m,Z.makeHexColor.apply(Z,up(r.color))),Tp(Cp,m,Vp.call(e,r.value)),m.annotationElementId=r.id||null,m._initialData=a,t.abrupt("return",m);case 15:case"end":return t.stop()}}),t,this)})),n=function(){var t=this,e=arguments;return new Promise((function(n,i){var a=r.apply(t,e);function o(t){cp(a,n,i,o,s,"next",t)}function s(t){cp(a,n,i,o,s,"throw",t)}o(void 0)}))},function(t,e,r){return n.apply(this,arguments)})}]);var r,n}();function Np(t){var e=this,r=function(t){e.editorDiv.style.fontSize="calc(".concat(t,"px * var(--scale-factor))"),e.translate(0,-(t-Op(Rp,e))*e.parentScale),Tp(Rp,e,t),Pp(Fp,e,Gp).call(e)},n=Op(Rp,this);this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}function Wp(t){var e=this,r=function(t){Tp(Mp,e,e.editorDiv.style.color=t)},n=Op(Mp,this);this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function Bp(){var t=[];this.editorDiv.normalize();var e,r=null,n=lp(this.editorDiv.childNodes);try{for(n.s();!(e=n.n()).done;){var i,a=e.value;(null===(i=r)||void 0===i?void 0:i.nodeType)===Node.TEXT_NODE&&"BR"===a.nodeName||(t.push(Hp.call(Jv,a)),r=a)}}catch(t){n.e(t)}finally{n.f()}return t.join("\\n")}function Gp(){var t,e=hp(this.parentDimensions,2),r=e[0],n=e[1];if(this.isAttachedToDOM)t=this.div.getBoundingClientRect();else{var i=this.currentLayer,a=this.div,o=a.style.display,s=a.classList.contains("hidden");a.classList.remove("hidden"),a.style.display="hidden",i.div.append(this.div),t=a.getBoundingClientRect(),a.remove(),a.style.display=o,a.classList.toggle("hidden",s)}this.rotation%180==this.parentRotation%180?(this.width=t.width/r,this.height=t.height/n):(this.width=t.height/r,this.height=t.width/n),this.fixAndSetPosition()}function Hp(t){return(t.nodeType===Node.TEXT_NODE?t.nodeValue:t.innerText).replaceAll(Lp,"")}function Up(){if(this.editorDiv.replaceChildren(),Op(Cp,this)){var t,e=lp(Op(Cp,this).split("\\n"));try{for(e.s();!(t=e.n()).done;){var r=t.value,n=document.createElement("div");n.append(r?document.createTextNode(r):document.createElement("br")),this.editorDiv.append(n)}}catch(t){e.e(t)}finally{e.f()}}}function zp(){return Op(Cp,this).replaceAll(" "," ")}function Vp(t){return t.replaceAll(" "," ")}function qp(t){var e=this._initialData,r=e.value,n=e.fontSize,i=e.color,a=e.pageIndex;return this._hasBeenMoved||t.value!==r||t.fontSize!==n||t.color.some((function(t,e){return t!==i[e]}))||t.pageIndex!==a}function Yp(t,e,r){return e=Kp(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Xp()?Reflect.construct(e,r||[],Kp(t).constructor):e.apply(t,r))}function Xp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Xp=function(){return!!t})()}function Kp(t){return Kp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Kp(t)}function Qp(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Jp(t,e)}function Jp(t,e){return Jp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Jp(t,e)}function $p(t){return function(t){if(Array.isArray(t))return ry(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ey(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||ey(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ty(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=ey(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function ey(t,e){if(t){if("string"==typeof t)return ry(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ry(t,e):void 0}}function ry(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ny(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iy(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,oy(n.key),n)}}function ay(t,e,r){return e&&iy(t.prototype,e),r&&iy(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function oy(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function sy(t,e){cy(t,e),e.add(t)}function uy(t,e,r){cy(t,e),e.set(t,r)}function cy(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ly(t,e,r){return t.set(fy(t,e),r),r}function hy(t,e){return t.get(fy(t,e))}function fy(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}Jv=Dp,Ap(Dp,"_freeTextDefaultContent",""),Ap(Dp,"_internalPadding",0),Ap(Dp,"_defaultColor",null),Ap(Dp,"_defaultFontSize",10),Ap(Dp,"_type","freetext"),Ap(Dp,"_editorType",A.FREETEXT),r(4306),r(7710),r(6473);var dy=new WeakMap,vy=new WeakMap,py=new WeakMap,yy=new WeakSet,gy=function(){return ay((function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];ny(this,t),sy(this,yy),uy(this,dy,void 0),uy(this,vy,[]),uy(this,py,[]);var a,o=1/0,s=-1/0,u=1/0,c=-1/0,l=Math.pow(10,-4),h=ty(e);try{for(h.s();!(a=h.n()).done;){var f=a.value,d=f.x,v=f.y,p=f.width,y=f.height,g=Math.floor((d-r)/l)*l,m=Math.ceil((d+p+r)/l)*l,b=Math.floor((v-r)/l)*l,w=Math.ceil((v+y+r)/l)*l,k=[g,b,w,!0],x=[m,b,w,!1];hy(vy,this).push(k,x),o=Math.min(o,g),s=Math.max(s,m),u=Math.min(u,b),c=Math.max(c,w)}}catch(t){h.e(t)}finally{h.f()}var A,_=s-o+2*n,E=c-u+2*n,S=o-n,O=u-n,T=hy(vy,this).at(i?-1:-2),P=[T[0],T[2]],L=ty(hy(vy,this));try{for(L.s();!(A=L.n()).done;){var M=A.value,C=Zp(M,3),j=C[0],I=C[1],R=C[2];M[0]=(j-S)/_,M[1]=(I-O)/E,M[2]=(R-O)/E}}catch(t){L.e(t)}finally{L.f()}ly(dy,this,{x:S,y:O,width:_,height:E,lastPoint:P})}),[{key:"getOutlines",value:function(){hy(vy,this).sort((function(t,e){return t[0]-e[0]||t[1]-e[1]||t[2]-e[2]}));var t,e=[],r=ty(hy(vy,this));try{for(r.s();!(t=r.n()).done;){var n=t.value;n[3]?(e.push.apply(e,$p(fy(yy,this,xy).call(this,n))),fy(yy,this,wy).call(this,n)):(fy(yy,this,ky).call(this,n),e.push.apply(e,$p(fy(yy,this,xy).call(this,n))))}}catch(t){r.e(t)}finally{r.f()}return fy(yy,this,my).call(this,e)}}])}();function my(t){var e,r=[],n=new Set,i=ty(t);try{for(i.s();!(e=i.n()).done;){var a=e.value,o=Zp(a,3),s=o[0],u=o[1],c=o[2];r.push([s,u,a],[s,c,a])}}catch(t){i.e(t)}finally{i.f()}r.sort((function(t,e){return t[1]-e[1]||t[0]-e[0]}));for(var l=0,h=r.length;l<h;l+=2){var f=r[l][2],d=r[l+1][2];f.push(d),d.push(f),n.add(f),n.add(d)}for(var v,p=[];n.size>0;){var y=n.values().next().value,g=Zp(y,5),m=g[0],b=g[1],w=g[2],k=g[3],x=g[4];n.delete(y);var A=m,_=b;for(v=[m,w],p.push(v);;){var E=void 0;if(n.has(k))E=k;else{if(!n.has(x))break;E=x}n.delete(E);var S=Zp(E,5);m=S[0],b=S[1],w=S[2],k=S[3],x=S[4],A!==m&&(v.push(A,_,m,_===b?b:w),A=m),_=_===b?w:b}v.push(A,_)}return new Sy(p,hy(dy,this))}function by(t){for(var e=hy(py,this),r=0,n=e.length-1;r<=n;){var i=r+n>>1,a=e[i][0];if(a===t)return i;a<t?r=i+1:n=i-1}return n+1}function wy(t){var e=Zp(t,3),r=e[1],n=e[2],i=fy(yy,this,by).call(this,r);hy(py,this).splice(i,0,[r,n])}function ky(t){for(var e=Zp(t,3),r=e[1],n=e[2],i=fy(yy,this,by).call(this,r),a=i;a<hy(py,this).length;a++){var o=Zp(hy(py,this)[a],2),s=o[0],u=o[1];if(s!==r)break;if(s===r&&u===n)return void hy(py,this).splice(a,1)}for(var c=i-1;c>=0;c--){var l=Zp(hy(py,this)[c],2),h=l[0],f=l[1];if(h!==r)break;if(h===r&&f===n)return void hy(py,this).splice(c,1)}}function xy(t){for(var e=Zp(t,3),r=e[0],n=e[1],i=e[2],a=[[r,n,i]],o=fy(yy,this,by).call(this,i),s=0;s<o;s++)for(var u=Zp(hy(py,this)[s],2),c=u[0],l=u[1],h=0,f=a.length;h<f;h++){var d=Zp(a[h],3),v=d[1],p=d[2];if(!(l<=v||p<=c))if(v>=c)if(p>l)a[h][1]=l;else{if(1===f)return[];a.splice(h,1),h--,f--}else a[h][2]=c,p>l&&a.push([r,l,p])}return a}var Ay=function(){return ay((function t(){ny(this,t)}),[{key:"toSVGPath",value:function(){throw new Error("Abstract method \`toSVGPath\` must be implemented.")}},{key:"box",get:function(){throw new Error("Abstract getter \`box\` must be implemented.")}},{key:"serialize",value:function(t,e){throw new Error("Abstract method \`serialize\` must be implemented.")}},{key:"free",get:function(){return this instanceof tg}}])}(),_y=new WeakMap,Ey=new WeakMap,Sy=function(t){function e(t,r){var n;return ny(this,e),uy(n=Yp(this,e),_y,void 0),uy(n,Ey,void 0),ly(Ey,n,t),ly(_y,n,r),n}return Qp(e,Ay),ay(e,[{key:"toSVGPath",value:function(){var t,e=[],r=ty(hy(Ey,this));try{for(r.s();!(t=r.n()).done;){var n=t.value,i=Zp(n,2),a=i[0],o=i[1];e.push("M".concat(a," ").concat(o));for(var s=2;s<n.length;s+=2){var u=n[s],c=n[s+1];u===a?(e.push("V".concat(c)),o=c):c===o&&(e.push("H".concat(u)),a=u)}e.push("Z")}}catch(t){r.e(t)}finally{r.f()}return e.join(" ")}},{key:"serialize",value:function(t,e){var r,n=Zp(t,4),i=n[0],a=n[1],o=n[2],s=n[3],u=[],c=o-i,l=s-a,h=ty(hy(Ey,this));try{for(h.s();!(r=h.n()).done;){for(var f=r.value,d=new Array(f.length),v=0;v<f.length;v+=2)d[v]=i+f[v]*c,d[v+1]=s-f[v+1]*l;u.push(d)}}catch(t){h.e(t)}finally{h.f()}return u}},{key:"box",get:function(){return hy(_y,this)}}])}(),Oy=new WeakMap,Ty=new WeakMap,Py=new WeakMap,Ly=new WeakMap,My=new WeakMap,Cy=new WeakMap,jy=new WeakMap,Iy=new WeakMap,Ry=new WeakMap,Fy=new WeakMap,Dy=new WeakMap,Ny=new WeakMap,Wy=new WeakMap,By=new WeakSet,Gy=function(){return ay((function t(e,r,n,i,a){var o=e.x,s=e.y,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;ny(this,t),sy(this,By),uy(this,Oy,void 0),uy(this,Ty,[]),uy(this,Py,void 0),uy(this,Ly,void 0),uy(this,My,[]),uy(this,Cy,new Float64Array(18)),uy(this,jy,void 0),uy(this,Iy,void 0),uy(this,Ry,void 0),uy(this,Fy,void 0),uy(this,Dy,void 0),uy(this,Ny,void 0),uy(this,Wy,[]),ly(Oy,this,r),ly(Ny,this,i*n),ly(Ly,this,a),hy(Cy,this).set([NaN,NaN,NaN,NaN,o,s],6),ly(Py,this,u),ly(Fy,this,zy._*n),ly(Ry,this,Vy._*n),ly(Dy,this,n),hy(Wy,this).push(o,s)}),[{key:"free",get:function(){return!0}},{key:"isEmpty",value:function(){return isNaN(hy(Cy,this)[8])}},{key:"add",value:function(t){var e,r=t.x,n=t.y;ly(jy,this,r),ly(Iy,this,n);var i=Zp(hy(Oy,this),4),a=i[0],o=i[1],s=i[2],u=i[3],c=Zp(hy(Cy,this).subarray(8,12),4),l=c[0],h=c[1],f=c[2],d=c[3],v=r-f,p=n-d,y=Math.hypot(v,p);if(y<hy(Ry,this))return!1;var g=y-hy(Fy,this),m=g/y,b=m*v,w=m*p,k=l,x=h;l=f,h=d,f+=b,d+=w,null===(e=hy(Wy,this))||void 0===e||e.push(r,n);var A=b/g,_=-w/g*hy(Ny,this),E=A*hy(Ny,this);if(hy(Cy,this).set(hy(Cy,this).subarray(2,8),0),hy(Cy,this).set([f+_,d+E],4),hy(Cy,this).set(hy(Cy,this).subarray(14,18),12),hy(Cy,this).set([f-_,d-E],16),isNaN(hy(Cy,this)[6]))return 0===hy(My,this).length&&(hy(Cy,this).set([l+_,h+E],2),hy(My,this).push(NaN,NaN,NaN,NaN,(l+_-a)/s,(h+E-o)/u),hy(Cy,this).set([l-_,h-E],14),hy(Ty,this).push(NaN,NaN,NaN,NaN,(l-_-a)/s,(h-E-o)/u)),hy(Cy,this).set([k,x,l,h,f,d],6),!this.isEmpty();if(hy(Cy,this).set([k,x,l,h,f,d],6),Math.abs(Math.atan2(x-h,k-l)-Math.atan2(w,b))<Math.PI/2){var S=Zp(hy(Cy,this).subarray(2,6),4);l=S[0],h=S[1],f=S[2],d=S[3],hy(My,this).push(NaN,NaN,NaN,NaN,((l+f)/2-a)/s,((h+d)/2-o)/u);var O=Zp(hy(Cy,this).subarray(14,18),4);return l=O[0],h=O[1],k=O[2],x=O[3],hy(Ty,this).push(NaN,NaN,NaN,NaN,((k+l)/2-a)/s,((x+h)/2-o)/u),!0}var T=Zp(hy(Cy,this).subarray(0,6),6);k=T[0],x=T[1],l=T[2],h=T[3],f=T[4],d=T[5],hy(My,this).push(((k+5*l)/6-a)/s,((x+5*h)/6-o)/u,((5*l+f)/6-a)/s,((5*h+d)/6-o)/u,((l+f)/2-a)/s,((h+d)/2-o)/u);var P=Zp(hy(Cy,this).subarray(12,18),6);return f=P[0],d=P[1],l=P[2],h=P[3],k=P[4],x=P[5],hy(Ty,this).push(((k+5*l)/6-a)/s,((x+5*h)/6-o)/u,((5*l+f)/6-a)/s,((5*h+d)/6-o)/u,((l+f)/2-a)/s,((h+d)/2-o)/u),!0}},{key:"toSVGPath",value:function(){if(this.isEmpty())return"";var t=hy(My,this),e=hy(Ty,this),r=hy(Cy,this).subarray(4,6),n=hy(Cy,this).subarray(16,18),i=Zp(hy(Oy,this),4),a=i[0],o=i[1],s=i[2],u=i[3],c=Zp(fy(By,this,Hy).call(this),4),l=c[0],h=c[1],f=c[2],d=c[3];if(isNaN(hy(Cy,this)[6])&&!this.isEmpty())return"M".concat((hy(Cy,this)[2]-a)/s," ").concat((hy(Cy,this)[3]-o)/u," L").concat((hy(Cy,this)[4]-a)/s," ").concat((hy(Cy,this)[5]-o)/u," L").concat(l," ").concat(h," L").concat(f," ").concat(d," L").concat((hy(Cy,this)[16]-a)/s," ").concat((hy(Cy,this)[17]-o)/u," L").concat((hy(Cy,this)[14]-a)/s," ").concat((hy(Cy,this)[15]-o)/u," Z");var v=[];v.push("M".concat(t[4]," ").concat(t[5]));for(var p=6;p<t.length;p+=6)isNaN(t[p])?v.push("L".concat(t[p+4]," ").concat(t[p+5])):v.push("C".concat(t[p]," ").concat(t[p+1]," ").concat(t[p+2]," ").concat(t[p+3]," ").concat(t[p+4]," ").concat(t[p+5]));v.push("L".concat((r[0]-a)/s," ").concat((r[1]-o)/u," L").concat(l," ").concat(h," L").concat(f," ").concat(d," L").concat((n[0]-a)/s," ").concat((n[1]-o)/u));for(var y=e.length-6;y>=6;y-=6)isNaN(e[y])?v.push("L".concat(e[y+4]," ").concat(e[y+5])):v.push("C".concat(e[y]," ").concat(e[y+1]," ").concat(e[y+2]," ").concat(e[y+3]," ").concat(e[y+4]," ").concat(e[y+5]));return v.push("L".concat(e[4]," ").concat(e[5]," Z")),v.join(" ")}},{key:"getOutlines",value:function(){for(var t,e,r=hy(My,this),n=hy(Ty,this),i=hy(Cy,this),a=i.subarray(4,6),o=i.subarray(16,18),s=Zp(hy(Oy,this),4),u=s[0],c=s[1],l=s[2],h=s[3],f=new Float64Array((null!==(t=null===(e=hy(Wy,this))||void 0===e?void 0:e.length)&&void 0!==t?t:0)+2),d=0,v=f.length-2;d<v;d+=2)f[d]=(hy(Wy,this)[d]-u)/l,f[d+1]=(hy(Wy,this)[d+1]-c)/h;f[f.length-2]=(hy(jy,this)-u)/l,f[f.length-1]=(hy(Iy,this)-c)/h;var p=Zp(fy(By,this,Hy).call(this),4),y=p[0],g=p[1],m=p[2],b=p[3];if(isNaN(i[6])&&!this.isEmpty()){var w=new Float64Array(36);return w.set([NaN,NaN,NaN,NaN,(i[2]-u)/l,(i[3]-c)/h,NaN,NaN,NaN,NaN,(i[4]-u)/l,(i[5]-c)/h,NaN,NaN,NaN,NaN,y,g,NaN,NaN,NaN,NaN,m,b,NaN,NaN,NaN,NaN,(i[16]-u)/l,(i[17]-c)/h,NaN,NaN,NaN,NaN,(i[14]-u)/l,(i[15]-c)/h],0),new tg(w,f,hy(Oy,this),hy(Dy,this),hy(Py,this),hy(Ly,this))}for(var k=new Float64Array(hy(My,this).length+24+hy(Ty,this).length),x=r.length,A=0;A<x;A+=2)isNaN(r[A])?k[A]=k[A+1]=NaN:(k[A]=r[A],k[A+1]=r[A+1]);k.set([NaN,NaN,NaN,NaN,(a[0]-u)/l,(a[1]-c)/h,NaN,NaN,NaN,NaN,y,g,NaN,NaN,NaN,NaN,m,b,NaN,NaN,NaN,NaN,(o[0]-u)/l,(o[1]-c)/h],x),x+=24;for(var _=n.length-6;_>=6;_-=6)for(var E=0;E<6;E+=2)isNaN(n[_+E])?(k[x]=k[x+1]=NaN,x+=2):(k[x]=n[_+E],k[x+1]=n[_+E+1],x+=2);return k.set([NaN,NaN,NaN,NaN,n[4],n[5]],x),new tg(k,f,hy(Oy,this),hy(Dy,this),hy(Py,this),hy(Ly,this))}}])}();function Hy(){var t=hy(Cy,this).subarray(4,6),e=hy(Cy,this).subarray(16,18),r=Zp(hy(Oy,this),4),n=r[0],i=r[1],a=r[2],o=r[3];return[(hy(jy,this)+(t[0]-e[0])/2-n)/a,(hy(Iy,this)+(t[1]-e[1])/2-i)/o,(hy(jy,this)+(e[0]-t[0])/2-n)/a,(hy(Iy,this)+(e[1]-t[1])/2-i)/o]}var Uy,zy={_:8},Vy={_:zy._+2},qy=new WeakMap,Yy=new WeakMap,Xy=new WeakMap,Ky=new WeakMap,Qy=new WeakMap,Jy=new WeakMap,$y=new WeakMap,Zy=new WeakSet,tg=function(t){function e(t,r,n,i,a,o){var s;ny(this,e),sy(s=Yp(this,e),Zy),uy(s,qy,void 0),uy(s,Yy,null),uy(s,Xy,void 0),uy(s,Ky,void 0),uy(s,Qy,void 0),uy(s,Jy,void 0),uy(s,$y,void 0),ly($y,s,t),ly(Qy,s,r),ly(qy,s,n),ly(Jy,s,i),ly(Xy,s,a),ly(Ky,s,o),fy(Zy,s,ng).call(s,o);for(var u=hy(Yy,s),c=u.x,l=u.y,h=u.width,f=u.height,d=0,v=t.length;d<v;d+=2)t[d]=(t[d]-c)/h,t[d+1]=(t[d+1]-l)/f;for(var p=0,y=r.length;p<y;p+=2)r[p]=(r[p]-c)/h,r[p+1]=(r[p+1]-l)/f;return s}return Qp(e,Ay),ay(e,[{key:"toSVGPath",value:function(){for(var t=["M".concat(hy($y,this)[4]," ").concat(hy($y,this)[5])],e=6,r=hy($y,this).length;e<r;e+=6)isNaN(hy($y,this)[e])?t.push("L".concat(hy($y,this)[e+4]," ").concat(hy($y,this)[e+5])):t.push("C".concat(hy($y,this)[e]," ").concat(hy($y,this)[e+1]," ").concat(hy($y,this)[e+2]," ").concat(hy($y,this)[e+3]," ").concat(hy($y,this)[e+4]," ").concat(hy($y,this)[e+5]));return t.push("Z"),t.join(" ")}},{key:"serialize",value:function(t,e){var r,n,i=Zp(t,4),a=i[0],o=i[1],s=i[2],u=i[3],c=s-a,l=u-o;switch(e){case 0:r=fy(Zy,this,eg).call(this,hy($y,this),a,u,c,-l),n=fy(Zy,this,eg).call(this,hy(Qy,this),a,u,c,-l);break;case 90:r=fy(Zy,this,rg).call(this,hy($y,this),a,o,c,l),n=fy(Zy,this,rg).call(this,hy(Qy,this),a,o,c,l);break;case 180:r=fy(Zy,this,eg).call(this,hy($y,this),s,o,-c,l),n=fy(Zy,this,eg).call(this,hy(Qy,this),s,o,-c,l);break;case 270:r=fy(Zy,this,rg).call(this,hy($y,this),s,u,-c,-l),n=fy(Zy,this,rg).call(this,hy(Qy,this),s,u,-c,-l)}return{outline:Array.from(r),points:[Array.from(n)]}}},{key:"box",get:function(){return hy(Yy,this)}},{key:"getNewOutline",value:function(t,e){for(var r=hy(Yy,this),n=r.x,i=r.y,a=r.width,o=r.height,s=Zp(hy(qy,this),4),u=s[0],c=s[1],l=s[2],h=s[3],f=a*l,d=o*h,v=n*l+u,p=i*h+c,y=new Gy({x:hy(Qy,this)[0]*f+v,y:hy(Qy,this)[1]*d+p},hy(qy,this),hy(Jy,this),t,hy(Ky,this),null!=e?e:hy(Xy,this)),g=2;g<hy(Qy,this).length;g+=2)y.add({x:hy(Qy,this)[g]*f+v,y:hy(Qy,this)[g+1]*d+p});return y.getOutlines()}}])}();function eg(t,e,r,n,i){for(var a=new Float64Array(t.length),o=0,s=t.length;o<s;o+=2)a[o]=e+t[o]*n,a[o+1]=r+t[o+1]*i;return a}function rg(t,e,r,n,i){for(var a=new Float64Array(t.length),o=0,s=t.length;o<s;o+=2)a[o]=e+t[o+1]*n,a[o+1]=r+t[o]*i;return a}function ng(t){for(var e=hy($y,this),r=e[4],n=e[5],i=r,a=n,o=r,s=n,u=r,c=n,l=t?Math.max:Math.min,h=6,f=e.length;h<f;h+=6){if(isNaN(e[h]))i=Math.min(i,e[h+4]),a=Math.min(a,e[h+5]),o=Math.max(o,e[h+4]),s=Math.max(s,e[h+5]),c<e[h+5]?(u=e[h+4],c=e[h+5]):c===e[h+5]&&(u=l(u,e[h+4]));else{var d=Z.bezierBoundingBox.apply(Z,[r,n].concat($p(e.slice(h,h+6))));i=Math.min(i,d[0]),a=Math.min(a,d[1]),o=Math.max(o,d[2]),s=Math.max(s,d[3]),c<d[3]?(u=d[2],c=d[3]):c===d[3]&&(u=l(u,d[2]))}r=e[h+4],n=e[h+5]}var v=i-hy(Xy,this),p=a-hy(Xy,this),y=o-i+2*hy(Xy,this),g=s-a+2*hy(Xy,this);ly(Yy,this,{x:v,y:p,width:y,height:g,lastPoint:[u,c]})}function ig(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||og(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ag(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=og(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function og(t,e){if(t){if("string"==typeof t)return sg(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sg(t,e):void 0}}function sg(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ug(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,cg(n.key),n)}}function cg(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function lg(t,e,r){hg(t,e),e.set(t,r)}function hg(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function fg(t,e,r){return r(pg(t,e))}function dg(t,e){return t.get(pg(t,e))}function vg(t,e,r){return t.set(pg(t,e),r),r}function pg(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var yg=new WeakMap,gg=new WeakMap,mg=new WeakMap,bg=new WeakMap,wg=new WeakMap,kg=new WeakMap,xg=new WeakMap,Ag=new WeakMap,_g=new WeakMap,Eg=new WeakMap,Sg=new WeakMap,Og=new WeakSet,Tg=function(){function t(e){var r,n=e.editor,i=void 0===n?null:n,a=e.uiManager,o=void 0===a?null:a;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){hg(t,e),e.add(t)}(this,Og),lg(this,yg,null),lg(this,gg,null),lg(this,mg,void 0),lg(this,bg,null),lg(this,wg,!1),lg(this,kg,!1),lg(this,xg,null),lg(this,Ag,void 0),lg(this,_g,null),lg(this,Eg,null),lg(this,Sg,void 0),i?(vg(kg,this,!1),vg(Sg,this,_.HIGHLIGHT_COLOR),vg(xg,this,i)):(vg(kg,this,!0),vg(Sg,this,_.HIGHLIGHT_DEFAULT_COLOR)),vg(Eg,this,(null==i?void 0:i._uiManager)||o),vg(Ag,this,dg(Eg,this)._eventBus),vg(mg,this,(null==i?void 0:i.color)||(null===(r=dg(Eg,this))||void 0===r?void 0:r.highlightColors.values().next().value)||"#FFFF98"),Fg._||(Fg._=Object.freeze({blue:"pdfjs-editor-colorpicker-blue",green:"pdfjs-editor-colorpicker-green",pink:"pdfjs-editor-colorpicker-pink",red:"pdfjs-editor-colorpicker-red",yellow:"pdfjs-editor-colorpicker-yellow"}))}return function(t,e,r){return e&&ug(t.prototype,e),r&&ug(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"renderButton",value:function(){var t=vg(yg,this,document.createElement("button"));t.className="colorPicker",t.tabIndex="0",t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-button"),t.setAttribute("aria-haspopup",!0);var e=dg(Eg,this)._signal;t.addEventListener("click",pg(Og,this,Cg).bind(this),{signal:e}),t.addEventListener("keydown",pg(Og,this,Mg).bind(this),{signal:e});var r=vg(gg,this,document.createElement("span"));return r.className="swatch",r.setAttribute("aria-hidden",!0),r.style.backgroundColor=dg(mg,this),t.append(r),t}},{key:"renderMainDropdown",value:function(){var t=vg(bg,this,pg(Og,this,Pg).call(this));return t.setAttribute("aria-orientation","horizontal"),t.setAttribute("aria-labelledby","highlightColorPickerLabel"),t}},{key:"_colorSelectFromKeyboard",value:function(t){if(t.target!==dg(yg,this)){var e=t.target.getAttribute("data-color");e&&pg(Og,this,Lg).call(this,e,t)}else pg(Og,this,Cg).call(this,t)}},{key:"_moveToNext",value:function(t){var e,r;fg(Og,this,Ig)?t.target!==dg(yg,this)?null===(e=t.target.nextSibling)||void 0===e||e.focus():null===(r=dg(bg,this).firstChild)||void 0===r||r.focus():pg(Og,this,Cg).call(this,t)}},{key:"_moveToPrevious",value:function(t){var e,r;t.target!==(null===(e=dg(bg,this))||void 0===e?void 0:e.firstChild)&&t.target!==dg(yg,this)?(fg(Og,this,Ig)||pg(Og,this,Cg).call(this,t),null===(r=t.target.previousSibling)||void 0===r||r.focus()):fg(Og,this,Ig)&&this._hideDropdownFromKeyboard()}},{key:"_moveToBeginning",value:function(t){var e;fg(Og,this,Ig)?null===(e=dg(bg,this).firstChild)||void 0===e||e.focus():pg(Og,this,Cg).call(this,t)}},{key:"_moveToEnd",value:function(t){var e;fg(Og,this,Ig)?null===(e=dg(bg,this).lastChild)||void 0===e||e.focus():pg(Og,this,Cg).call(this,t)}},{key:"hideDropdown",value:function(){var t,e;null===(t=dg(bg,this))||void 0===t||t.classList.add("hidden"),null===(e=dg(_g,this))||void 0===e||e.abort(),vg(_g,this,null)}},{key:"_hideDropdownFromKeyboard",value:function(){var t;dg(kg,this)||(fg(Og,this,Ig)?(this.hideDropdown(),dg(yg,this).focus({preventScroll:!0,focusVisible:dg(wg,this)})):null===(t=dg(xg,this))||void 0===t||t.unselect())}},{key:"updateColor",value:function(t){if(dg(gg,this)&&(dg(gg,this).style.backgroundColor=t),dg(bg,this)){var e,r=dg(Eg,this).highlightColors.values(),n=ag(dg(bg,this).children);try{for(n.s();!(e=n.n()).done;)e.value.setAttribute("aria-selected",r.next().value===t)}catch(t){n.e(t)}finally{n.f()}}}},{key:"destroy",value:function(){var t,e;null===(t=dg(yg,this))||void 0===t||t.remove(),vg(yg,this,null),vg(gg,this,null),null===(e=dg(bg,this))||void 0===e||e.remove(),vg(bg,this,null)}}],[{key:"_keyboardManager",get:function(){return W(this,"_keyboardManager",new rn([[["Escape","mac+Escape"],t.prototype._hideDropdownFromKeyboard],[[" ","mac+ "],t.prototype._colorSelectFromKeyboard],[["ArrowDown","ArrowRight","mac+ArrowDown","mac+ArrowRight"],t.prototype._moveToNext],[["ArrowUp","ArrowLeft","mac+ArrowUp","mac+ArrowLeft"],t.prototype._moveToPrevious],[["Home","mac+Home"],t.prototype._moveToBeginning],[["End","mac+End"],t.prototype._moveToEnd]]))}}])}();function Pg(){var t=document.createElement("div"),e=dg(Eg,this)._signal;t.addEventListener("contextmenu",Te,{signal:e}),t.className="dropdown",t.role="listbox",t.setAttribute("aria-multiselectable",!1),t.setAttribute("aria-orientation","vertical"),t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-dropdown");var r,n=ag(dg(Eg,this).highlightColors);try{for(n.s();!(r=n.n()).done;){var i=ig(r.value,2),a=i[0],o=i[1],s=document.createElement("button");s.tabIndex="0",s.role="option",s.setAttribute("data-color",o),s.title=a,s.setAttribute("data-l10n-id",Fg._[a]);var u=document.createElement("span");s.append(u),u.className="swatch",u.style.backgroundColor=o,s.setAttribute("aria-selected",o===dg(mg,this)),s.addEventListener("click",pg(Og,this,Lg).bind(this,o),{signal:e}),t.append(s)}}catch(t){n.e(t)}finally{n.f()}return t.addEventListener("keydown",pg(Og,this,Mg).bind(this),{signal:e}),t}function Lg(t,e){e.stopPropagation(),dg(Ag,this).dispatch("switchannotationeditorparams",{source:this,type:dg(Sg,this),value:t})}function Mg(t){Uy._keyboardManager.exec(this,t)}function Cg(t){if(fg(Og,this,Ig))this.hideDropdown();else if(vg(wg,this,0===t.detail),dg(_g,this)||(vg(_g,this,new AbortController),window.addEventListener("pointerdown",pg(Og,this,jg).bind(this),{signal:dg(Eg,this).combinedSignal(dg(_g,this))})),dg(bg,this))dg(bg,this).classList.remove("hidden");else{var e=vg(bg,this,pg(Og,this,Pg).call(this));dg(yg,this).append(e)}}function jg(t){var e;null!==(e=dg(bg,this))&&void 0!==e&&e.contains(t.target)||this.hideDropdown()}function Ig(t){return dg(bg,t)&&!dg(bg,t).classList.contains("hidden")}Uy=Tg;var Rg,Fg={_:null};function Dg(t){return function(t){if(Array.isArray(t))return Bg(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Wg(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ng(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Wg(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wg(t,e){if(t){if("string"==typeof t)return Bg(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bg(t,e):void 0}}function Bg(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Gg(){Gg=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Hg(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Ug(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Hg(a,n,i,o,s,"next",t)}function s(t){Hg(a,n,i,o,s,"throw",t)}o(void 0)}))}}function zg(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vg(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zg(Object(r),!0).forEach((function(e){Zg(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zg(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qg(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tm(n.key),n)}}function Yg(t,e,r){return e=Jg(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Xg()?Reflect.construct(e,r||[],Jg(t).constructor):e.apply(t,r))}function Xg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Xg=function(){return!!t})()}function Kg(t,e,r,n){var i=Qg(Jg(1&n?t.prototype:t),e,r);return 2&n&&"function"==typeof i?function(t){return i.apply(r,t)}:i}function Qg(){return Qg="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=Jg(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},Qg.apply(null,arguments)}function Jg(t){return Jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Jg(t)}function $g(t,e){return $g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},$g(t,e)}function Zg(t,e,r){return(e=tm(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tm(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function em(t,e,r){rm(t,e),e.set(t,r)}function rm(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function nm(t,e,r){e||(e=[]);var n=e.length++;return Object.defineProperty({},"_",{set:function(i){e[n]=i,t.apply(r,e)}})}function im(t,e){return t.get(om(t,e))}function am(t,e,r){return t.set(om(t,e),r),r}function om(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var sm,um=new WeakMap,cm=new WeakMap,lm=new WeakMap,hm=new WeakMap,fm=new WeakMap,dm=new WeakMap,vm=new WeakMap,pm=new WeakMap,ym=new WeakMap,gm=new WeakMap,mm=new WeakMap,bm=new WeakMap,wm=new WeakMap,km=new WeakMap,xm=new WeakMap,Am=new WeakMap,_m=new WeakMap,Em=new WeakMap,Sm=new WeakSet,Om=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){rm(t,e),e.add(t)}(r=Yg(this,e,[Vg(Vg({},t),{},{name:"highlightEditor"})]),Sm),em(r,um,null),em(r,cm,0),em(r,lm,void 0),em(r,hm,null),em(r,fm,null),em(r,dm,null),em(r,vm,null),em(r,pm,0),em(r,ym,null),em(r,gm,null),em(r,mm,null),em(r,bm,!1),em(r,wm,null),em(r,km,void 0),em(r,xm,null),em(r,Am,""),em(r,_m,void 0),em(r,Em,""),r.color=t.color||e._defaultColor,am(_m,r,t.thickness||e._defaultThickness),am(km,r,t.opacity||e._defaultOpacity),am(lm,r,t.boxes||null),am(Em,r,t.methodOfCreation||""),am(Am,r,t.text||""),r._isDraggable=!1,t.highlightId>-1?(am(bm,r,!0),om(Sm,r,Pm).call(r,t),om(Sm,r,Im).call(r)):im(lm,r)&&(am(um,r,t.anchorNode),am(cm,r,t.anchorOffset),am(vm,r,t.focusNode),am(pm,r,t.focusOffset),om(Sm,r,Tm).call(r),om(Sm,r,Im).call(r),r.rotate(r.rotation)),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&$g(t,e)}(e,Wa),function(t,e,r){return e&&qg(t.prototype,e),r&&qg(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"telemetryInitialData",get:function(){return{action:"added",type:im(bm,this)?"free_highlight":"highlight",color:this._uiManager.highlightColorNames.get(this.color),thickness:im(_m,this),methodOfCreation:im(Em,this)}}},{key:"telemetryFinalData",get:function(){return{type:"highlight",color:this._uiManager.highlightColorNames.get(this.color)}}},{key:"translateInPage",value:function(t,e){}},{key:"toolbarPosition",get:function(){return im(wm,this)}},{key:"updateParams",value:function(t,e){switch(t){case _.HIGHLIGHT_COLOR:om(Sm,this,Lm).call(this,e);break;case _.HIGHLIGHT_THICKNESS:om(Sm,this,Mm).call(this,e)}}},{key:"propertiesToUpdate",get:function(){return[[_.HIGHLIGHT_COLOR,this.color||e._defaultColor],[_.HIGHLIGHT_THICKNESS,im(_m,this)||e._defaultThickness],[_.HIGHLIGHT_FREE,im(bm,this)]]}},{key:"addEditToolbar",value:(n=Ug(Gg().mark((function t(){var r;return Gg().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Kg(e,"addEditToolbar",this,3)([]);case 2:if(r=t.sent){t.next=5;break}return t.abrupt("return",null);case 5:return this._uiManager.highlightColors&&(am(fm,this,new Tg({editor:this})),r.addColorPicker(im(fm,this))),t.abrupt("return",r);case 7:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"disableEditing",value:function(){Kg(e,"disableEditing",this,3)([]),this.div.classList.toggle("disabled",!0)}},{key:"enableEditing",value:function(){Kg(e,"enableEditing",this,3)([]),this.div.classList.toggle("disabled",!1)}},{key:"fixAndSetPosition",value:function(){return Kg(e,"fixAndSetPosition",this,3)([om(Sm,this,Nm).call(this)])}},{key:"getBaseTranslation",value:function(){return[0,0]}},{key:"getRect",value:function(t,r){return Kg(e,"getRect",this,3)([t,r,om(Sm,this,Nm).call(this)])}},{key:"onceAdded",value:function(){this.annotationElementId||this.parent.addUndoableEditor(this),this.div.focus()}},{key:"remove",value:function(){om(Sm,this,jm).call(this),this._reportTelemetry({action:"deleted"}),Kg(e,"remove",this,3)([])}},{key:"rebuild",value:function(){this.parent&&(Kg(e,"rebuild",this,3)([]),null!==this.div&&(om(Sm,this,Im).call(this),this.isAttachedToDOM||this.parent.add(this)))}},{key:"setParent",value:function(t){var r=!1;if(this.parent&&!t)om(Sm,this,jm).call(this);else if(t){var n;om(Sm,this,Im).call(this,t),r=!this.parent&&(null===(n=this.div)||void 0===n?void 0:n.classList.contains("selectedEditor"))}Kg(e,"setParent",this,3)([t]),this.show(this._isVisible),r&&this.select()}},{key:"rotate",value:function(t){var r,n=this.parent.drawLayer;im(bm,this)?(t=(t-this.rotation+360)%360,r=Rm.call(e,im(gm,this).box,t)):r=Rm.call(e,this,t),n.rotate(im(mm,this),t),n.rotate(im(xm,this),t),n.updateBox(im(mm,this),r),n.updateBox(im(xm,this),Rm.call(e,im(dm,this).box,t))}},{key:"render",value:function(){if(this.div)return this.div;var t=Kg(e,"render",this,3)([]);im(Am,this)&&(t.setAttribute("aria-label",im(Am,this)),t.setAttribute("role","mark")),im(bm,this)?t.classList.add("free"):this.div.addEventListener("keydown",om(Sm,this,Fm).bind(this),{signal:this._uiManager._signal});var r=am(ym,this,document.createElement("div"));t.append(r),r.setAttribute("aria-hidden","true"),r.className="internal",r.style.clipPath=im(hm,this);var n=Ng(this.parentDimensions,2),i=n[0],a=n[1];return this.setDims(this.width*i,this.height*a),Br(this,im(ym,this),["pointerover","pointerleave"]),this.enableEditing(),t}},{key:"pointerover",value:function(){this.isSelected||this.parent.drawLayer.addClass(im(xm,this),"hovered")}},{key:"pointerleave",value:function(){this.isSelected||this.parent.drawLayer.removeClass(im(xm,this),"hovered")}},{key:"_moveCaret",value:function(t){switch(this.parent.unselect(this),t){case 0:case 2:om(Sm,this,Dm).call(this,!0);break;case 1:case 3:om(Sm,this,Dm).call(this,!1)}}},{key:"select",value:function(){var t,r;Kg(e,"select",this,3)([]),im(xm,this)&&(null===(t=this.parent)||void 0===t||t.drawLayer.removeClass(im(xm,this),"hovered"),null===(r=this.parent)||void 0===r||r.drawLayer.addClass(im(xm,this),"selected"))}},{key:"unselect",value:function(){var t;Kg(e,"unselect",this,3)([]),im(xm,this)&&(null===(t=this.parent)||void 0===t||t.drawLayer.removeClass(im(xm,this),"selected"),im(bm,this)||om(Sm,this,Dm).call(this,!1))}},{key:"_mustFixPosition",get:function(){return!im(bm,this)}},{key:"show",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._isVisible;Kg(e,"show",this,3)([t]),this.parent&&(this.parent.drawLayer.show(im(mm,this),t),this.parent.drawLayer.show(im(xm,this),t))}},{key:"serialize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isEmpty()||t)return null;if(this.deleted)return this.serializeDeleted();var e=this.getRect(0,0),r=Wa._colorManager.convert(this.color),n={annotationType:A.HIGHLIGHT,color:r,opacity:im(km,this),thickness:im(_m,this),quadPoints:om(Sm,this,Wm).call(this),outlines:om(Sm,this,Bm).call(this,e),pageIndex:this.pageIndex,rect:e,rotation:om(Sm,this,Nm).call(this),structTreeParentId:this._structTreeParentId};return this.annotationElementId&&!om(Sm,this,Um).call(this,n)?null:(n.id=this.annotationElementId,n)}},{key:"renderAnnotationElement",value:function(t){return t.updateEdited({rect:this.getRect(0,0)}),null}}],[{key:"_keyboardManager",get:function(){var t=e.prototype;return W(this,"_keyboardManager",new rn([[["ArrowLeft","mac+ArrowLeft"],t._moveCaret,{args:[0]}],[["ArrowRight","mac+ArrowRight"],t._moveCaret,{args:[1]}],[["ArrowUp","mac+ArrowUp"],t._moveCaret,{args:[2]}],[["ArrowDown","mac+ArrowDown"],t._moveCaret,{args:[3]}]]))}},{key:"computeTelemetryFinalData",value:function(t){return{numberOfColors:t.get("color").size}}},{key:"initialize",value:function(t,r){var n;Wa.initialize(t,r),e._defaultColor||(e._defaultColor=(null===(n=r.highlightColors)||void 0===n?void 0:n.values().next().value)||"#fff066")}},{key:"updateDefaultParams",value:function(t,r){switch(t){case _.HIGHLIGHT_DEFAULT_COLOR:e._defaultColor=r;break;case _.HIGHLIGHT_THICKNESS:e._defaultThickness=r}}},{key:"defaultPropertiesToUpdate",get:function(){return[[_.HIGHLIGHT_DEFAULT_COLOR,e._defaultColor],[_.HIGHLIGHT_THICKNESS,e._defaultThickness]]}},{key:"startHighlighting",value:function(t,r,n){var i=this,a=n.target,o=n.x,s=n.y,u=a.getBoundingClientRect(),c=u.x,l=u.y,h=u.width,f=u.height,d=new AbortController,v=t.combinedSignal(d),p=function(r){d.abort(),om(e,i,Hm).call(i,t,r)};window.addEventListener("blur",p,{signal:v}),window.addEventListener("pointerup",p,{signal:v}),window.addEventListener("pointerdown",(function(t){t.preventDefault(),t.stopPropagation()}),{capture:!0,passive:!1,signal:v}),window.addEventListener("contextmenu",Te,{signal:v}),a.addEventListener("pointermove",om(e,this,Gm).bind(this,t),{signal:v}),this._freeHighlight=new Gy({x:o,y:s},[c,l,h,f],t.scale,this._defaultThickness/2,r,.001);var y=t.drawLayer.highlight(this._freeHighlight,this._defaultColor,this._defaultOpacity,!0);this._freeHighlightId=y.id,this._freeHighlightClipId=y.clipPathId}},{key:"deserialize",value:(r=Ug(Gg().mark((function t(r,n,i){var a,o,s,u,c,l,h,f,d,v,p,y,g,m,b,w,k,x,_,E,S,O,T,P,L,M,C,j,I,R,F,D,N,W,B,G,H,U,z,V,q,Y,X;return Gg().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=null,r instanceof Hv?(s=(o=r).data,u=s.quadPoints,c=s.rect,l=s.rotation,h=s.id,f=s.color,d=s.opacity,v=s.popupRef,p=o.parent.page.pageNumber,a=r={annotationType:A.HIGHLIGHT,color:Array.from(f),opacity:d,quadPoints:u,boxes:null,pageIndex:p-1,rect:c.slice(0),rotation:l,id:h,deleted:!1,popupRef:v}):r instanceof Gv&&(g=(y=r).data,m=g.inkLists,b=g.rect,w=g.rotation,k=g.id,x=g.color,_=g.borderStyle.rawWidth,E=g.popupRef,S=y.parent.page.pageNumber,a=r={annotationType:A.HIGHLIGHT,color:Array.from(x),thickness:_,inkLists:m,boxes:null,pageIndex:S-1,rect:b.slice(0),rotation:w,id:k,deleted:!1,popupRef:E}),T=(O=r).color,P=O.quadPoints,L=O.inkLists,M=O.opacity,t.next=5,Kg(e,"deserialize",this,2)([r,n,i]);case 5:if((C=t.sent).color=Z.makeHexColor.apply(Z,Dg(T)),am(km,C,M||1),L&&am(_m,C,r.thickness),C.annotationElementId=r.id||null,C._initialData=a,j=Ng(C.pageDimensions,2),I=j[0],R=j[1],F=Ng(C.pageTranslation,2),D=F[0],N=F[1],P){for(W=am(lm,C,[]),B=0;B<P.length;B+=8)W.push({x:(P[B]-D)/I,y:1-(P[B+1]-N)/R,width:(P[B+2]-P[B])/I,height:(P[B+1]-P[B+5])/R});om(Sm,C,Tm).call(C),om(Sm,C,Im).call(C),C.rotate(C.rotation)}else if(L){for(am(bm,C,!0),G=L[0],H={x:G[0]-D,y:R-(G[1]-N)},U=new Gy(H,[0,0,I,R],1,im(_m,C)/2,!0,.001),z=0,V=G.length;z<V;z+=2)H.x=G[z]-D,H.y=R-(G[z+1]-N),U.add(H);q=n.drawLayer.highlight(U,C.color,C._defaultOpacity,!0),Y=q.id,X=q.clipPathId,om(Sm,C,Pm).call(C,{highlightOutlines:U.getOutlines(),highlightId:Y,clipPathId:X}),om(Sm,C,Im).call(C)}return t.abrupt("return",C);case 15:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return r.apply(this,arguments)})},{key:"canCreateNewEmptyEditor",value:function(){return!1}}]);var r,n}();function Tm(){var t=new gy(im(lm,this),.001);am(gm,this,t.getOutlines());var e=im(gm,this).box;this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height;var r=new gy(im(lm,this),.0025,.001,"ltr"===this._uiManager.direction);am(dm,this,r.getOutlines());var n=im(dm,this).box.lastPoint;am(wm,this,[(n[0]-this.x)/this.width,(n[1]-this.y)/this.height])}function Pm(t){var e=t.highlightOutlines,r=t.highlightId,n=t.clipPathId;if(am(gm,this,e),am(dm,this,e.getNewOutline(im(_m,this)/2+1.5,.0025)),r>=0)am(mm,this,r),am(hm,this,n),this.parent.drawLayer.finalizeLine(r,e),am(xm,this,this.parent.drawLayer.highlightOutline(im(dm,this)));else if(this.parent){var i=this.parent.viewport.rotation;this.parent.drawLayer.updateLine(im(mm,this),e),this.parent.drawLayer.updateBox(im(mm,this),Rm.call(Rg,im(gm,this).box,(i-this.rotation+360)%360)),this.parent.drawLayer.updateLine(im(xm,this),im(dm,this)),this.parent.drawLayer.updateBox(im(xm,this),Rm.call(Rg,im(dm,this).box,i))}var a=e.box,o=a.x,s=a.y,u=a.width,c=a.height;switch(this.rotation){case 0:this.x=o,this.y=s,this.width=u,this.height=c;break;case 90:var l=Ng(this.parentDimensions,2),h=l[0],f=l[1];this.x=s,this.y=1-o,this.width=u*f/h,this.height=c*h/f;break;case 180:this.x=1-o,this.y=1-s,this.width=u,this.height=c;break;case 270:var d=Ng(this.parentDimensions,2),v=d[0],p=d[1];this.x=1-s,this.y=o,this.width=u*p/v,this.height=c*v/p}var y=im(dm,this).box.lastPoint;am(wm,this,[(y[0]-o)/u,(y[1]-s)/c])}function Lm(t){var e=this,r=function(t,r){var n,i,a;e.color=t,null===(n=e.parent)||void 0===n||n.drawLayer.changeColor(im(mm,e),t),null===(i=im(fm,e))||void 0===i||i.updateColor(t),am(km,e,r),null===(a=e.parent)||void 0===a||a.drawLayer.changeOpacity(im(mm,e),r)},n=this.color,i=im(km,this);this.addCommands({cmd:r.bind(this,t,Rg._defaultOpacity),undo:r.bind(this,n,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(t)},!0)}function Mm(t){var e=this,r=im(_m,this),n=function(t){am(_m,e,t),om(Sm,e,Cm).call(e,t)};this.addCommands({cmd:n.bind(this,t),undo:n.bind(this,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:t},!0)}function Cm(t){if(im(bm,this)){om(Sm,this,Pm).call(this,{highlightOutlines:im(gm,this).getNewOutline(t/2)}),this.fixAndSetPosition();var e=Ng(this.parentDimensions,2),r=e[0],n=e[1];this.setDims(this.width*r,this.height*n)}}function jm(){null!==im(mm,this)&&this.parent&&(this.parent.drawLayer.remove(im(mm,this)),am(mm,this,null),this.parent.drawLayer.remove(im(xm,this)),am(xm,this,null))}function Im(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.parent;if(null===im(mm,this)){var e=t.drawLayer.highlight(im(gm,this),this.color,im(km,this));nm(am,[mm,this])._=e.id,nm(am,[hm,this])._=e.clipPathId,am(xm,this,t.drawLayer.highlightOutline(im(dm,this))),im(ym,this)&&(im(ym,this).style.clipPath=im(hm,this))}}function Rm(t,e){var r=t.x,n=t.y,i=t.width,a=t.height;switch(e){case 90:return{x:1-n-a,y:r,width:a,height:i};case 180:return{x:1-r-i,y:1-n-a,width:i,height:a};case 270:return{x:n,y:1-r-i,width:a,height:i}}return{x:r,y:n,width:i,height:a}}function Fm(t){Rg._keyboardManager.exec(this,t)}function Dm(t){if(im(um,this)){var e=window.getSelection();t?e.setPosition(im(um,this),im(cm,this)):e.setPosition(im(vm,this),im(pm,this))}}function Nm(){return im(bm,this)?this.rotation:0}function Wm(){if(im(bm,this))return null;var t,e=Ng(this.pageDimensions,2),r=e[0],n=e[1],i=Ng(this.pageTranslation,2),a=i[0],o=i[1],s=im(lm,this),u=new Float32Array(8*s.length),c=0,l=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Wg(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(s);try{for(l.s();!(t=l.n()).done;){var h=t.value,f=h.x,d=h.y,v=h.width,p=h.height,y=f*r+a,g=(1-d-p)*n+o;u[c]=u[c+4]=y,u[c+1]=u[c+3]=g,u[c+2]=u[c+6]=y+v*r,u[c+5]=u[c+7]=g+p*n,c+=8}}catch(t){l.e(t)}finally{l.f()}return u}function Bm(t){return im(gm,this).serialize(t,om(Sm,this,Nm).call(this))}function Gm(t,e){this._freeHighlight.add(e)&&t.drawLayer.updatePath(this._freeHighlightId,this._freeHighlight)}function Hm(t,e){this._freeHighlight.isEmpty()?t.drawLayer.removeFreeHighlight(this._freeHighlightId):t.createAndAddNewEditor(e,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""}function Um(t){var e=this._initialData.color;return t.color.some((function(t,r){return t!==e[r]}))}function zm(){zm=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Vm(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Km(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function qm(t){return function(t){if(Array.isArray(t))return Qm(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Km(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ym(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Xm(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Km(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Km(t,e){if(t){if("string"==typeof t)return Qm(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qm(t,e):void 0}}function Qm(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Jm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Jm(Object(r),!0).forEach((function(e){ob(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jm(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Zm(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,sb(n.key),n)}}function tb(t,e,r){return e=ib(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,eb()?Reflect.construct(e,r||[],ib(t).constructor):e.apply(t,r))}function eb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(eb=function(){return!!t})()}function rb(t,e,r,n){var i=nb(ib(1&n?t.prototype:t),e,r);return 2&n&&"function"==typeof i?function(t){return i.apply(r,t)}:i}function nb(){return nb="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=ib(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},nb.apply(null,arguments)}function ib(t){return ib=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ib(t)}function ab(t,e){return ab=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ab(t,e)}function ob(t,e,r){return(e=sb(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sb(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function ub(t,e,r){cb(t,e),e.set(t,r)}function cb(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function lb(t,e,r){return t.set(fb(t,e),r),r}function hb(t,e){return t.get(fb(t,e))}function fb(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}Rg=Om,Zg(Om,"_defaultColor",null),Zg(Om,"_defaultOpacity",1),Zg(Om,"_defaultThickness",12),Zg(Om,"_type","highlight"),Zg(Om,"_editorType",A.HIGHLIGHT),Zg(Om,"_freeHighlightId",-1),Zg(Om,"_freeHighlight",null),Zg(Om,"_freeHighlightClipId","");var db,vb=new WeakMap,pb=new WeakMap,yb=new WeakMap,gb=new WeakMap,mb=new WeakMap,bb=new WeakMap,wb=new WeakMap,kb=new WeakMap,xb=new WeakMap,Ab=new WeakMap,_b=new WeakMap,Eb=new WeakMap,Sb=new WeakMap,Ob=new WeakSet,Tb=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){cb(t,e),e.add(t)}(r=tb(this,e,[$m($m({},t),{},{name:"inkEditor"})]),Ob),ub(r,vb,0),ub(r,pb,0),ub(r,yb,null),ub(r,gb,new Path2D),ub(r,mb,!1),ub(r,bb,null),ub(r,wb,!1),ub(r,kb,!1),ub(r,xb,null),ub(r,Ab,null),ub(r,_b,0),ub(r,Eb,0),ub(r,Sb,null),r.color=t.color||null,r.thickness=t.thickness||null,r.opacity=t.opacity||null,r.paths=[],r.bezierPath2D=[],r.allRawPaths=[],r.currentPath=[],r.scaleFactor=1,r.translationX=r.translationY=0,r.x=0,r.y=0,r._willKeepAspectRatio=!0,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ab(t,e)}(e,Wa),function(t,e,r){return e&&Zm(t.prototype,e),r&&Zm(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"updateParams",value:function(t,e){switch(t){case _.INK_THICKNESS:fb(Ob,this,Pb).call(this,e);break;case _.INK_COLOR:fb(Ob,this,Lb).call(this,e);break;case _.INK_OPACITY:fb(Ob,this,Mb).call(this,e)}}},{key:"propertiesToUpdate",get:function(){var t;return[[_.INK_THICKNESS,this.thickness||e._defaultThickness],[_.INK_COLOR,this.color||e._defaultColor||Wa._defaultLineColor],[_.INK_OPACITY,Math.round(100*(null!==(t=this.opacity)&&void 0!==t?t:e._defaultOpacity))]]}},{key:"rebuild",value:function(){this.parent&&(rb(e,"rebuild",this,3)([]),null!==this.div&&(this.canvas||(fb(Ob,this,Vb).call(this),fb(Ob,this,qb).call(this)),this.isAttachedToDOM||(this.parent.add(this),fb(Ob,this,Yb).call(this)),fb(Ob,this,rw).call(this)))}},{key:"remove",value:function(){var t;null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,hb(yb,this)&&(clearTimeout(hb(yb,this)),lb(yb,this,null)),null===(t=hb(xb,this))||void 0===t||t.disconnect(),lb(xb,this,null),rb(e,"remove",this,3)([]))}},{key:"setParent",value:function(t){!this.parent&&t?this._uiManager.removeShouldRescale(this):this.parent&&null===t&&this._uiManager.addShouldRescale(this),rb(e,"setParent",this,3)([t])}},{key:"onScaleChanging",value:function(){var t=Xm(this.parentDimensions,2),e=t[0],r=t[1],n=this.width*e,i=this.height*r;this.setDimensions(n,i)}},{key:"enableEditMode",value:function(){hb(mb,this)||null===this.canvas||(rb(e,"enableEditMode",this,3)([]),this._isDraggable=!1,fb(Ob,this,Hb).call(this))}},{key:"disableEditMode",value:function(){this.isInEditMode()&&null!==this.canvas&&(rb(e,"disableEditMode",this,3)([]),this._isDraggable=!this.isEmpty(),this.div.classList.remove("editing"),fb(Ob,this,Ub).call(this))}},{key:"onceAdded",value:function(){this._isDraggable=!this.isEmpty()}},{key:"isEmpty",value:function(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}},{key:"commit",value:function(){hb(mb,this)||(rb(e,"commit",this,3)([]),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),lb(mb,this,!0),this.div.classList.add("disabled"),fb(Ob,this,rw).call(this,!0),this.select(),this.parent.addInkEditorIfNeeded(!0),this.moveInDOM(),this.div.focus({preventScroll:!0}))}},{key:"focusin",value:function(t){this._focusEventsAllowed&&(rb(e,"focusin",this,3)([t]),this.enableEditMode())}},{key:"canvasPointerdown",value:function(t){0===t.button&&this.isInEditMode()&&!hb(mb,this)&&(this.setInForeground(),t.preventDefault(),this.div.contains(document.activeElement)||this.div.focus({preventScroll:!0}),fb(Ob,this,Ib).call(this,t.offsetX,t.offsetY))}},{key:"canvasPointermove",value:function(t){t.preventDefault(),fb(Ob,this,Rb).call(this,t.offsetX,t.offsetY)}},{key:"canvasPointerup",value:function(t){t.preventDefault(),fb(Ob,this,zb).call(this,t)}},{key:"canvasPointerleave",value:function(t){fb(Ob,this,zb).call(this,t)}},{key:"isResizable",get:function(){return!this.isEmpty()&&hb(mb,this)}},{key:"render",value:function(){if(this.div)return this.div;var t,r;this.width&&(t=this.x,r=this.y),rb(e,"render",this,3)([]),this.div.setAttribute("data-l10n-id","pdfjs-ink");var n=Xm(fb(Ob,this,Cb).call(this),4),i=n[0],a=n[1],o=n[2],s=n[3];if(this.setAt(i,a,0,0),this.setDims(o,s),fb(Ob,this,Vb).call(this),this.width){var u=Xm(this.parentDimensions,2),c=u[0],l=u[1];this.setAspectRatio(this.width*c,this.height*l),this.setAt(t*c,r*l,this.width*c,this.height*l),lb(kb,this,!0),fb(Ob,this,Yb).call(this),this.setDims(this.width*c,this.height*l),fb(Ob,this,Gb).call(this),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return fb(Ob,this,qb).call(this),this.div}},{key:"setDimensions",value:function(t,e){var r=Math.round(t),n=Math.round(e);if(hb(_b,this)!==r||hb(Eb,this)!==n){lb(_b,this,r),lb(Eb,this,n),this.canvas.style.visibility="hidden";var i=Xm(this.parentDimensions,2),a=i[0],o=i[1];this.width=t/a,this.height=e/o,this.fixAndSetPosition(),hb(mb,this)&&fb(Ob,this,Xb).call(this,t,e),fb(Ob,this,Yb).call(this),fb(Ob,this,Gb).call(this),this.canvas.style.visibility="visible",this.fixDims()}}},{key:"serialize",value:function(){if(this.isEmpty())return null;var t=this.getRect(0,0),e=Wa._colorManager.convert(this.ctx.strokeStyle);return{annotationType:A.INK,color:e,thickness:this.thickness,opacity:this.opacity,paths:fb(Ob,this,Zb).call(this,this.scaleFactor/this.parentScale,this.translationX,this.translationY,t),pageIndex:this.pageIndex,rect:t,rotation:this.rotation,structTreeParentId:this._structTreeParentId}}}],[{key:"initialize",value:function(t,e){Wa.initialize(t,e)}},{key:"updateDefaultParams",value:function(t,r){switch(t){case _.INK_THICKNESS:e._defaultThickness=r;break;case _.INK_COLOR:e._defaultColor=r;break;case _.INK_OPACITY:e._defaultOpacity=r/100}}},{key:"defaultPropertiesToUpdate",get:function(){return[[_.INK_THICKNESS,e._defaultThickness],[_.INK_COLOR,e._defaultColor||Wa._defaultLineColor],[_.INK_OPACITY,Math.round(100*e._defaultOpacity)]]}},{key:"deserialize",value:(r=zm().mark((function t(r,n,i){var a,o,s,u,c,l,h,f,d,v,p,y,g,m,b,w,k,x,A,_,E,S,O,T,P,L,M;return zm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r instanceof Gv)){t.next=2;break}return t.abrupt("return",null);case 2:return t.next=4,rb(e,"deserialize",this,2)([r,n,i]);case 4:(a=t.sent).thickness=r.thickness,a.color=Z.makeHexColor.apply(Z,qm(r.color)),a.opacity=r.opacity,o=Xm(a.pageDimensions,2),s=o[0],u=o[1],c=a.width*s,l=a.height*u,h=a.parentScale,f=r.thickness/2,lb(mb,a,!0),lb(_b,a,Math.round(c)),lb(Eb,a,Math.round(l)),d=r.paths,v=r.rect,p=r.rotation,y=Vm(d);try{for(y.s();!(g=y.n()).done;){for(m=g.value.bezier,m=$b.call(e,m,v,p),b=[],a.paths.push(b),w=h*(m[0]-f),k=h*(m[1]-f),x=2,A=m.length;x<A;x+=6)_=h*(m[x]-f),E=h*(m[x+1]-f),S=h*(m[x+2]-f),O=h*(m[x+3]-f),T=h*(m[x+4]-f),P=h*(m[x+5]-f),b.push([[w,k],[_,E],[S,O],[T,P]]),w=T,k=P;L=fb(e,this,Qb).call(this,b),a.bezierPath2D.push(L)}}catch(t){y.e(t)}finally{y.f()}return M=fb(Ob,a,tw).call(a),lb(pb,a,Math.max(Wa.MIN_SIZE,M[2]-M[0])),lb(vb,a,Math.max(Wa.MIN_SIZE,M[3]-M[1])),fb(Ob,a,Xb).call(a,c,l),t.abrupt("return",a);case 24:case"end":return t.stop()}}),t,this)})),n=function(){var t=this,e=arguments;return new Promise((function(n,i){var a=r.apply(t,e);function o(t){Ym(a,n,i,o,s,"next",t)}function s(t){Ym(a,n,i,o,s,"throw",t)}o(void 0)}))},function(t,e,r){return n.apply(this,arguments)})}]);var r,n}();function Pb(t){var e=this,r=function(t){e.thickness=t,fb(Ob,e,rw).call(e)},n=this.thickness;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}function Lb(t){var e=this,r=function(t){e.color=t,fb(Ob,e,Gb).call(e)},n=this.color;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function Mb(t){var e=this,r=function(t){e.opacity=t,fb(Ob,e,Gb).call(e)};t/=100;var n=this.opacity;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}function Cb(){var t=this.parentRotation,e=Xm(this.parentDimensions,2),r=e[0],n=e[1];switch(t){case 90:return[0,n,n,r];case 180:return[r,n,r,n];case 270:return[r,0,n,r];default:return[0,0,r,n]}}function jb(){var t=this.ctx,e=this.color,r=this.opacity,n=this.thickness,i=this.parentScale,a=this.scaleFactor;t.lineWidth=n*i/a,t.lineCap="round",t.lineJoin="round",t.miterLimit=10,t.strokeStyle="".concat(e).concat(function(t){return Math.round(Math.min(255,Math.max(1,255*t))).toString(16).padStart(2,"0")}(r))}function Ib(t,e){var r=this;this.canvas.addEventListener("contextmenu",Te,{signal:this._uiManager._signal}),fb(Ob,this,Ub).call(this),lb(bb,this,new AbortController);var n,i=this._uiManager.combinedSignal(hb(bb,this));this.canvas.addEventListener("pointerleave",this.canvasPointerleave.bind(this),{signal:i}),this.canvas.addEventListener("pointermove",this.canvasPointermove.bind(this),{signal:i}),this.canvas.addEventListener("pointerup",this.canvasPointerup.bind(this),{signal:i}),this.isEditing=!0,hb(kb,this)||(lb(kb,this,!0),fb(Ob,this,Yb).call(this),this.thickness||(this.thickness=sm._defaultThickness),this.color||(this.color=sm._defaultColor||Wa._defaultLineColor),null!==(n=this.opacity)&&void 0!==n||(this.opacity=sm._defaultOpacity)),this.currentPath.push([t,e]),lb(wb,this,!1),fb(Ob,this,jb).call(this),lb(Sb,this,(function(){fb(Ob,r,Nb).call(r),hb(Sb,r)&&window.requestAnimationFrame(hb(Sb,r))})),window.requestAnimationFrame(hb(Sb,this))}function Rb(t,e){var r,n=Xm(this.currentPath.at(-1),2),i=n[0],a=n[1];if(!(this.currentPath.length>1&&t===i&&e===a)){var o,s,u=this.currentPath,c=hb(gb,this);if(u.push([t,e]),lb(wb,this,!0),u.length<=2)return(o=c).moveTo.apply(o,qm(u[0])),void c.lineTo(t,e);3===u.length&&(lb(gb,this,c=new Path2D),(s=c).moveTo.apply(s,qm(u[0]))),(r=fb(Ob,this,Wb)).call.apply(r,[this,c].concat(qm(u.at(-3)),qm(u.at(-2)),[t,e]))}}function Fb(){var t;if(0!==this.currentPath.length){var e=this.currentPath.at(-1);(t=hb(gb,this)).lineTo.apply(t,qm(e))}}function Db(t,e){var r,n=this;if(lb(Sb,this,null),t=Math.min(Math.max(t,0),this.canvas.width),e=Math.min(Math.max(e,0),this.canvas.height),fb(Ob,this,Rb).call(this,t,e),fb(Ob,this,Fb).call(this),1!==this.currentPath.length)r=fb(Ob,this,Bb).call(this);else{var i=[t,e];r=[[i,i.slice(),i.slice(),i]]}var a=hb(gb,this),o=this.currentPath;this.currentPath=[],lb(gb,this,new Path2D),this.addCommands({cmd:function(){n.allRawPaths.push(o),n.paths.push(r),n.bezierPath2D.push(a),n._uiManager.rebuild(n)},undo:function(){n.allRawPaths.pop(),n.paths.pop(),n.bezierPath2D.pop(),0===n.paths.length?n.remove():(n.canvas||(fb(Ob,n,Vb).call(n),fb(Ob,n,qb).call(n)),fb(Ob,n,rw).call(n))},mustExec:!0})}function Nb(){if(hb(wb,this)){lb(wb,this,!1);Math.ceil(this.thickness*this.parentScale);var t=this.currentPath.slice(-3),e=t.map((function(t){return t[0]})),r=t.map((function(t){return t[1]})),n=(Math.min.apply(Math,qm(e)),Math.max.apply(Math,qm(e)),Math.min.apply(Math,qm(r)),Math.max.apply(Math,qm(r)),this.ctx);n.save(),n.clearRect(0,0,this.canvas.width,this.canvas.height);var i,a=Vm(this.bezierPath2D);try{for(a.s();!(i=a.n()).done;){var o=i.value;n.stroke(o)}}catch(t){a.e(t)}finally{a.f()}n.stroke(hb(gb,this)),n.restore()}}function Wb(t,e,r,n,i,a,o){var s=(e+n)/2,u=(r+i)/2,c=(n+a)/2,l=(i+o)/2;t.bezierCurveTo(s+2*(n-s)/3,u+2*(i-u)/3,c+2*(n-c)/3,l+2*(i-l)/3,c,l)}function Bb(){var t=this.currentPath;if(t.length<=2)return[[t[0],t[0],t.at(-1),t.at(-1)]];var e,r=[],n=Xm(t[0],2),i=n[0],a=n[1];for(e=1;e<t.length-2;e++){var o=Xm(t[e],2),s=o[0],u=o[1],c=Xm(t[e+1],2),l=(s+c[0])/2,h=(u+c[1])/2,f=[i+2*(s-i)/3,a+2*(u-a)/3],d=[l+2*(s-l)/3,h+2*(u-h)/3];r.push([[i,a],f,d,[l,h]]),i=l,a=h}var v=Xm(t[e],2),p=v[0],y=v[1],g=Xm(t[e+1],2),m=g[0],b=g[1],w=[i+2*(p-i)/3,a+2*(y-a)/3],k=[m+2*(p-m)/3,b+2*(y-b)/3];return r.push([[i,a],w,k,[m,b]]),r}function Gb(){if(this.isEmpty())fb(Ob,this,Kb).call(this);else{fb(Ob,this,jb).call(this);var t=this.canvas,e=this.ctx;e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,t.width,t.height),fb(Ob,this,Kb).call(this);var r,n=Vm(this.bezierPath2D);try{for(n.s();!(r=n.n()).done;){var i=r.value;e.stroke(i)}}catch(t){n.e(t)}finally{n.f()}}}function Hb(){if(!hb(Ab,this)){lb(Ab,this,new AbortController);var t=this._uiManager.combinedSignal(hb(Ab,this));this.canvas.addEventListener("pointerdown",this.canvasPointerdown.bind(this),{signal:t})}}function Ub(){var t;null===(t=this.pointerdownAC)||void 0===t||t.abort(),this.pointerdownAC=null}function zb(t){var e,r=this;null===(e=hb(bb,this))||void 0===e||e.abort(),lb(bb,this,null),fb(Ob,this,Hb).call(this),hb(yb,this)&&clearTimeout(hb(yb,this)),lb(yb,this,setTimeout((function(){lb(yb,r,null),r.canvas.removeEventListener("contextmenu",Te)}),10)),fb(Ob,this,Db).call(this,t.offsetX,t.offsetY),this.addToAnnotationStorage(),this.setInBackground()}function Vb(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",this.canvas.setAttribute("data-l10n-id","pdfjs-ink-canvas"),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}function qb(){var t=this;lb(xb,this,new ResizeObserver((function(e){var r=e[0].contentRect;r.width&&r.height&&t.setDimensions(r.width,r.height)}))),hb(xb,this).observe(this.div),this._uiManager._signal.addEventListener("abort",(function(){var e;null===(e=hb(xb,t))||void 0===e||e.disconnect(),lb(xb,t,null)}),{once:!0})}function Yb(){if(hb(kb,this)){var t=Xm(this.parentDimensions,2),e=t[0],r=t[1];this.canvas.width=Math.ceil(this.width*e),this.canvas.height=Math.ceil(this.height*r),fb(Ob,this,Kb).call(this)}}function Xb(t,e){var r=fb(Ob,this,ew).call(this),n=(t-r)/hb(pb,this),i=(e-r)/hb(vb,this);this.scaleFactor=Math.min(n,i)}function Kb(){var t=fb(Ob,this,ew).call(this)/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+t,this.translationY*this.scaleFactor+t)}function Qb(t){for(var e=new Path2D,r=0,n=t.length;r<n;r++){var i=Xm(t[r],4),a=i[0],o=i[1],s=i[2],u=i[3];0===r&&e.moveTo.apply(e,qm(a)),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}return e}function Jb(t,e,r){var n=Xm(e,4),i=n[0],a=n[1],o=n[2],s=n[3];switch(r){case 0:for(var u=0,c=t.length;u<c;u+=2)t[u]+=i,t[u+1]=s-t[u+1];break;case 90:for(var l=0,h=t.length;l<h;l+=2){var f=t[l];t[l]=t[l+1]+i,t[l+1]=f+a}break;case 180:for(var d=0,v=t.length;d<v;d+=2)t[d]=o-t[d],t[d+1]+=a;break;case 270:for(var p=0,y=t.length;p<y;p+=2){var g=t[p];t[p]=o-t[p+1],t[p+1]=s-g}break;default:throw new Error("Invalid rotation")}return t}function $b(t,e,r){var n=Xm(e,4),i=n[0],a=n[1],o=n[2],s=n[3];switch(r){case 0:for(var u=0,c=t.length;u<c;u+=2)t[u]-=i,t[u+1]=s-t[u+1];break;case 90:for(var l=0,h=t.length;l<h;l+=2){var f=t[l];t[l]=t[l+1]-a,t[l+1]=f-i}break;case 180:for(var d=0,v=t.length;d<v;d+=2)t[d]=o-t[d],t[d+1]-=a;break;case 270:for(var p=0,y=t.length;p<y;p+=2){var g=t[p];t[p]=s-t[p+1],t[p+1]=o-g}break;default:throw new Error("Invalid rotation")}return t}function Zb(t,e,r,n){var i,a=[],o=this.thickness/2,s=t*e+o,u=t*r+o,c=Vm(this.paths);try{for(c.s();!(i=c.n()).done;){for(var l=i.value,h=[],f=[],d=0,v=l.length;d<v;d++){var p=Xm(l[d],4),y=p[0],g=p[1],m=p[2],b=p[3];if(y[0]===b[0]&&y[1]===b[1]&&1===v){var w=t*y[0]+s,k=t*y[1]+u;h.push(w,k),f.push(w,k);break}var x=t*y[0]+s,A=t*y[1]+u,_=t*g[0]+s,E=t*g[1]+u,S=t*m[0]+s,O=t*m[1]+u,T=t*b[0]+s,P=t*b[1]+u;0===d&&(h.push(x,A),f.push(x,A)),h.push(_,E,S,O,T,P),f.push(_,E),d===v-1&&f.push(T,P)}a.push({bezier:Jb.call(sm,h,n,this.rotation),points:Jb.call(sm,f,n,this.rotation)})}}catch(t){c.e(t)}finally{c.f()}return a}function tw(){var t,e=1/0,r=-1/0,n=1/0,i=-1/0,a=Vm(this.paths);try{for(a.s();!(t=a.n()).done;){var o,s=Vm(t.value);try{for(s.s();!(o=s.n()).done;){var u=Xm(o.value,4),c=u[0],l=u[1],h=u[2],f=u[3],d=Z.bezierBoundingBox.apply(Z,qm(c).concat(qm(l),qm(h),qm(f)));e=Math.min(e,d[0]),n=Math.min(n,d[1]),r=Math.max(r,d[2]),i=Math.max(i,d[3])}}catch(t){s.e(t)}finally{s.f()}}}catch(t){a.e(t)}finally{a.f()}return[e,n,r,i]}function ew(){return hb(mb,this)?Math.ceil(this.thickness*this.parentScale):0}function rw(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isEmpty())if(hb(mb,this)){var e=fb(Ob,this,tw).call(this),r=fb(Ob,this,ew).call(this);lb(pb,this,Math.max(Wa.MIN_SIZE,e[2]-e[0])),lb(vb,this,Math.max(Wa.MIN_SIZE,e[3]-e[1]));var n=Math.ceil(r+hb(pb,this)*this.scaleFactor),i=Math.ceil(r+hb(vb,this)*this.scaleFactor),a=Xm(this.parentDimensions,2),o=a[0],s=a[1];this.width=n/o,this.height=i/s,this.setAspectRatio(n,i);var u=this.translationX,c=this.translationY;this.translationX=-e[0],this.translationY=-e[1],fb(Ob,this,Yb).call(this),fb(Ob,this,Gb).call(this),lb(_b,this,n),lb(Eb,this,i),this.setDims(n,i);var l=t?r/this.scaleFactor/2:0;this.translate(u-this.translationX-l,c-this.translationY-l)}else fb(Ob,this,Gb).call(this)}function nw(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return iw(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?iw(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iw(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function aw(){aw=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function ow(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function sw(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){ow(a,n,i,o,s,"next",t)}function s(t){ow(a,n,i,o,s,"throw",t)}o(void 0)}))}}function uw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function cw(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uw(Object(r),!0).forEach((function(e){gw(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uw(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function lw(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mw(n.key),n)}}function hw(t,e,r){return e=pw(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,fw()?Reflect.construct(e,r||[],pw(t).constructor):e.apply(t,r))}function fw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(fw=function(){return!!t})()}function dw(t,e,r,n){var i=vw(pw(1&n?t.prototype:t),e,r);return 2&n&&"function"==typeof i?function(t){return i.apply(r,t)}:i}function vw(){return vw="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=pw(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},vw.apply(null,arguments)}function pw(t){return pw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},pw(t)}function yw(t,e){return yw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},yw(t,e)}function gw(t,e,r){return(e=mw(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mw(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function bw(t,e,r){ww(t,e),e.set(t,r)}function ww(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function kw(t,e){return t.get(Aw(t,e))}function xw(t,e,r){return t.set(Aw(t,e),r),r}function Aw(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}sm=Tb,ob(Tb,"_defaultColor",null),ob(Tb,"_defaultOpacity",1),ob(Tb,"_defaultThickness",1),ob(Tb,"_type","ink"),ob(Tb,"_editorType",A.INK);var _w=new WeakMap,Ew=new WeakMap,Sw=new WeakMap,Ow=new WeakMap,Tw=new WeakMap,Pw=new WeakMap,Lw=new WeakMap,Mw=new WeakMap,Cw=new WeakMap,jw=new WeakMap,Iw=new WeakMap,Rw=new WeakSet,Fw=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){ww(t,e),e.add(t)}(r=hw(this,e,[cw(cw({},t),{},{name:"stampEditor"})]),Rw),bw(r,_w,null),bw(r,Ew,null),bw(r,Sw,null),bw(r,Ow,null),bw(r,Tw,null),bw(r,Pw,""),bw(r,Lw,null),bw(r,Mw,null),bw(r,Cw,null),bw(r,jw,!1),bw(r,Iw,!1),xw(Ow,r,t.bitmapUrl),xw(Tw,r,t.bitmapFile),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&yw(t,e)}(e,Wa),function(t,e,r){return e&&lw(t.prototype,e),r&&lw(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"altTextFinish",value:function(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),dw(e,"altTextFinish",this,3)([])}},{key:"telemetryFinalData",get:function(){var t;return{type:"stamp",hasAltText:!(null===(t=this.altTextData)||void 0===t||!t.altText)}}},{key:"mlGuessAltText",value:(n=sw(aw().mark((function t(){var e,r,n,i,a,o,s,u,c,l=arguments;return aw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=l.length>0&&void 0!==l[0]?l[0]:null,r=!(l.length>1&&void 0!==l[1])||l[1],!this.hasAltTextData()){t.next=4;break}return t.abrupt("return",null);case 4:if(n=this._uiManager.mlManager){t.next=7;break}throw new Error("No ML.");case 7:return t.next=9,n.isEnabledFor("altText");case 9:if(t.sent){t.next=11;break}throw new Error("ML isn't enabled for alt text.");case 11:return i=e||this.copyCanvas(null,null,!0).imageData,a=i.data,o=i.width,s=i.height,t.next=14,n.guess({name:"altText",request:{data:a,width:o,height:s,channels:a.length/(o*s)}});case 14:if(u=t.sent){t.next=17;break}throw new Error("No response from the AI service.");case 17:if(!u.error){t.next=19;break}throw new Error("Error from the AI service.");case 19:if(!u.cancel){t.next=21;break}return t.abrupt("return",null);case 21:if(u.output){t.next=23;break}throw new Error("No valid response from the AI service.");case 23:return c=u.output,t.next=26,this.setGuessedAltText(c);case 26:return r&&!this.hasAltTextData()&&(this.altTextData={alt:c,decorative:!1}),t.abrupt("return",c);case 28:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"remove",value:function(){var t,r;kw(Ew,this)&&(xw(_w,this,null),this._uiManager.imageManager.deleteId(kw(Ew,this)),null===(t=kw(Lw,this))||void 0===t||t.remove(),xw(Lw,this,null),null===(r=kw(Mw,this))||void 0===r||r.disconnect(),xw(Mw,this,null),kw(Cw,this)&&(clearTimeout(kw(Cw,this)),xw(Cw,this,null))),dw(e,"remove",this,3)([])}},{key:"rebuild",value:function(){this.parent?(dw(e,"rebuild",this,3)([]),null!==this.div&&(kw(Ew,this)&&null===kw(Lw,this)&&Aw(Rw,this,Ww).call(this),this.isAttachedToDOM||this.parent.add(this))):kw(Ew,this)&&Aw(Rw,this,Ww).call(this)}},{key:"onceAdded",value:function(){this._isDraggable=!0,this.div.focus()}},{key:"isEmpty",value:function(){return!(kw(Sw,this)||kw(_w,this)||kw(Ow,this)||kw(Tw,this)||kw(Ew,this))}},{key:"isResizable",get:function(){return!0}},{key:"render",value:function(){if(this.div)return this.div;var t,r;if(this.width&&(t=this.x,r=this.y),dw(e,"render",this,3)([]),this.div.hidden=!0,this.div.setAttribute("role","figure"),this.addAltTextButton(),kw(_w,this)?Aw(Rw,this,Bw).call(this):Aw(Rw,this,Ww).call(this),this.width&&!this.annotationElementId){var n=nw(this.parentDimensions,2),i=n[0],a=n[1];this.setAt(t*i,r*a,this.width*i,this.height*a)}return this.div}},{key:"copyCanvas",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t||(t=224);var n=kw(_w,this),i=n.width,a=n.height,o=new Fe,s=kw(_w,this),u=i,c=a,l=null;if(e){var h,f;if(i>e||a>e){var d=Math.min(e/i,e/a);u=Math.floor(i*d),c=Math.floor(a*d)}var v=(l=document.createElement("canvas")).width=Math.ceil(u*o.sx),p=l.height=Math.ceil(c*o.sy);kw(jw,this)||(s=Aw(Rw,this,Hw).call(this,v,p));var y=l.getContext("2d");y.filter=this._uiManager.hcmFilter;var g="white",m="#cfcfd8";"none"!==this._uiManager.hcmFilter?m="black":null!==(h=(f=window).matchMedia)&&void 0!==h&&h.call(f,"(prefers-color-scheme: dark)").matches&&(g="#8f8f9d",m="#42414d");var b=15*o.sx,w=15*o.sy,k=new OffscreenCanvas(2*b,2*w),x=k.getContext("2d");x.fillStyle=g,x.fillRect(0,0,2*b,2*w),x.fillStyle=m,x.fillRect(0,0,b,w),x.fillRect(b,w,b,w),y.fillStyle=y.createPattern(k,"repeat"),y.fillRect(0,0,v,p),y.drawImage(s,0,0,s.width,s.height,0,0,v,p)}var A=null;if(r){var _,E;if(o.symmetric&&s.width<t&&s.height<t)_=s.width,E=s.height;else if(s=kw(_w,this),i>t||a>t){var S=Math.min(t/i,t/a);_=Math.floor(i*S),E=Math.floor(a*S),kw(jw,this)||(s=Aw(Rw,this,Hw).call(this,_,E))}var O=new OffscreenCanvas(_,E).getContext("2d",{willReadFrequently:!0});O.drawImage(s,0,0,s.width,s.height,0,0,_,E),A={width:_,height:E,data:O.getImageData(0,0,_,E).data}}return{canvas:l,width:u,height:c,imageData:A}}},{key:"getImageForAltText",value:function(){return kw(Lw,this)}},{key:"serialize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();var r={annotationType:A.STAMP,bitmapId:kw(Ew,this),pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:kw(jw,this),structTreeParentId:this._structTreeParentId};if(t)return r.bitmapUrl=Aw(Rw,this,zw).call(this,!0),r.accessibilityData=this.serializeAltText(!0),r;var n=this.serializeAltText(!1),i=n.decorative,a=n.altText;if(!i&&a&&(r.accessibilityData={type:"Figure",alt:a}),this.annotationElementId){var o,s=Aw(Rw,this,qw).call(this,r);if(s.isSame)return null;s.isSameAltText?delete r.accessibilityData:r.accessibilityData.structParent=null!==(o=this._initialData.structParent)&&void 0!==o?o:-1}if(r.id=this.annotationElementId,null===e)return r;e.stamps||(e.stamps=new Map);var u=kw(jw,this)?(r.rect[2]-r.rect[0])*(r.rect[3]-r.rect[1]):null;if(e.stamps.has(kw(Ew,this))){if(kw(jw,this)){var c=e.stamps.get(kw(Ew,this));u>c.area&&(c.area=u,c.serialized.bitmap.close(),c.serialized.bitmap=Aw(Rw,this,zw).call(this,!1))}}else e.stamps.set(kw(Ew,this),{area:u,serialized:r}),r.bitmap=Aw(Rw,this,zw).call(this,!1);return r}},{key:"renderAnnotationElement",value:function(t){return t.updateEdited({rect:this.getRect(0,0)}),null}}],[{key:"initialize",value:function(t,e){Wa.initialize(t,e)}},{key:"supportedTypes",get:function(){return W(this,"supportedTypes",["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"].map((function(t){return"image/".concat(t)})))}},{key:"supportedTypesStr",get:function(){return W(this,"supportedTypesStr",this.supportedTypes.join(","))}},{key:"isHandlingMimeForPasting",value:function(t){return this.supportedTypes.includes(t)}},{key:"paste",value:function(t,e){e.pasteEditor(A.STAMP,{bitmapFile:t.getAsFile()})}},{key:"computeTelemetryFinalData",value:function(t){var e,r,n=t.get("hasAltText");return{hasAltText:null!==(e=n.get(!0))&&void 0!==e?e:0,hasNoAltText:null!==(r=n.get(!1))&&void 0!==r?r:0}}},{key:"deserialize",value:(r=sw(aw().mark((function t(r,n,i){var a,o,s,u,c,l,h,f,d,v,p,y,g,m,b,w,k,x,_,E,S,O,T,P,L;return aw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=null,!(r instanceof qv)){t.next=22;break}return u=(s=r).data,c=u.rect,l=u.rotation,h=u.id,f=u.structParent,d=u.popupRef,v=s.container,p=s.parent.page.pageNumber,y=v.querySelector("canvas"),g=i.imageManager.getFromCanvas(v.id,y),y.remove(),t.next=8,n._structTree.getAriaAttributes("".concat(at).concat(h));case 8:if(t.t2=o=t.sent,t.t1=null===t.t2,t.t1){t.next=12;break}t.t1=void 0===o;case 12:if(!t.t1){t.next=16;break}t.t3=void 0,t.next=17;break;case 16:t.t3=o.get("aria-label");case 17:if(t.t0=t.t3,t.t0){t.next=20;break}t.t0="";case 20:m=t.t0,a=r={annotationType:A.STAMP,bitmapId:g.id,bitmap:g.bitmap,pageIndex:p-1,rect:c.slice(0),rotation:l,id:h,deleted:!1,accessibilityData:{decorative:!1,altText:m},isSvg:!1,structParent:f,popupRef:d};case 22:return t.next=24,dw(e,"deserialize",this,2)([r,n,i]);case 24:return b=t.sent,k=(w=r).rect,x=w.bitmap,_=w.bitmapUrl,E=w.bitmapId,S=w.isSvg,O=w.accessibilityData,E&&i.imageManager.isValidId(E)?(xw(Ew,b,E),x&&xw(_w,b,x)):xw(Ow,b,_),xw(jw,b,S),T=nw(b.pageDimensions,2),P=T[0],L=T[1],b.width=(k[2]-k[0])/P,b.height=(k[3]-k[1])/L,b.annotationElementId=r.id||null,O&&(b.altTextData=O),b._initialData=a,xw(Iw,b,!!a),t.abrupt("return",b);case 36:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return r.apply(this,arguments)})}]);var r,n}();function Dw(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?(xw(_w,this,t.bitmap),e||(xw(Ew,this,t.id),xw(jw,this,t.isSvg)),t.file&&xw(Pw,this,t.file.name),Aw(Rw,this,Bw).call(this)):this.remove()}function Nw(){if(xw(Sw,this,null),this._uiManager.enableWaiting(!1),kw(Lw,this)){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&kw(_w,this))return this._editToolbar.hide(),void this._uiManager.editAltText(this,!0);if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&kw(_w,this)){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch(t){}}this.div.focus()}}function Ww(){var t=this;if(kw(Ew,this))return this._uiManager.enableWaiting(!0),void this._uiManager.imageManager.getFromId(kw(Ew,this)).then((function(e){return Aw(Rw,t,Dw).call(t,e,!0)})).finally((function(){return Aw(Rw,t,Nw).call(t)}));if(kw(Ow,this)){var e=kw(Ow,this);return xw(Ow,this,null),this._uiManager.enableWaiting(!0),void xw(Sw,this,this._uiManager.imageManager.getFromUrl(e).then((function(e){return Aw(Rw,t,Dw).call(t,e)})).finally((function(){return Aw(Rw,t,Nw).call(t)})))}if(kw(Tw,this)){var r=kw(Tw,this);return xw(Tw,this,null),this._uiManager.enableWaiting(!0),void xw(Sw,this,this._uiManager.imageManager.getFromFile(r).then((function(e){return Aw(Rw,t,Dw).call(t,e)})).finally((function(){return Aw(Rw,t,Nw).call(t)})))}var n=document.createElement("input");n.type="file",n.accept=db.supportedTypesStr;var i=this._uiManager._signal;xw(Sw,this,new Promise((function(e){n.addEventListener("change",sw(aw().mark((function r(){var i;return aw().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n.files&&0!==n.files.length){r.next=4;break}t.remove(),r.next=10;break;case 4:return t._uiManager.enableWaiting(!0),r.next=7,t._uiManager.imageManager.getFromFile(n.files[0]);case 7:i=r.sent,t._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:t._uiManager.useNewAltTextFlow}}),Aw(Rw,t,Dw).call(t,i);case 10:e();case 11:case"end":return r.stop()}}),r)}))),{signal:i}),n.addEventListener("cancel",(function(){t.remove(),e()}),{signal:i})})).finally((function(){return Aw(Rw,t,Nw).call(t)}))),n.click()}function Bw(){var t=this.div,e=kw(_w,this),r=e.width,n=e.height,i=nw(this.pageDimensions,2),a=i[0],o=i[1],s=.75;if(this.width)r=this.width*a,n=this.height*o;else if(r>s*a||n>s*o){var u=Math.min(s*a/r,s*o/n);r*=u,n*=u}var c=nw(this.parentDimensions,2),l=c[0],h=c[1];this.setDims(r*l/a,n*h/o),this._uiManager.enableWaiting(!1);var f=xw(Lw,this,document.createElement("canvas"));f.setAttribute("role","img"),this.addContainer(f),this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&!this.annotationElementId||(t.hidden=!1),Aw(Rw,this,Uw).call(this,r,n),Aw(Rw,this,Vw).call(this),kw(Iw,this)||(this.parent.addUndoableEditor(this),xw(Iw,this,!0)),this._reportTelemetry({action:"inserted_image"}),kw(Pw,this)&&f.setAttribute("aria-label",kw(Pw,this))}function Gw(t,e){var r,n=this,i=nw(this.parentDimensions,2),a=i[0],o=i[1];this.width=t/a,this.height=e/o,null!==(r=this._initialOptions)&&void 0!==r&&r.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,null!==kw(Cw,this)&&clearTimeout(kw(Cw,this)),xw(Cw,this,setTimeout((function(){xw(Cw,n,null),Aw(Rw,n,Uw).call(n,t,e)}),200))}function Hw(t,e){for(var r=kw(_w,this),n=r.width,i=r.height,a=kw(_w,this);n>2*t||i>2*e;){var o=n,s=i;n>2*t&&(n=n>=16384?Math.floor(n/2)-1:Math.ceil(n/2)),i>2*e&&(i=i>=16384?Math.floor(i/2)-1:Math.ceil(i/2));var u=new OffscreenCanvas(n,i);u.getContext("2d").drawImage(a,0,0,o,s,0,0,n,i),a=u.transferToImageBitmap()}return a}function Uw(t,e){var r=new Fe,n=Math.ceil(t*r.sx),i=Math.ceil(e*r.sy),a=kw(Lw,this);if(a&&(a.width!==n||a.height!==i)){a.width=n,a.height=i;var o=kw(jw,this)?kw(_w,this):Aw(Rw,this,Hw).call(this,n,i),s=a.getContext("2d");s.filter=this._uiManager.hcmFilter,s.drawImage(o,0,0,o.width,o.height,0,0,n,i)}}function zw(t){if(t){if(kw(jw,this)){var e=this._uiManager.imageManager.getSvgUrl(kw(Ew,this));if(e)return e}var r=document.createElement("canvas"),n=kw(_w,this);return r.width=n.width,r.height=n.height,r.getContext("2d").drawImage(kw(_w,this),0,0),r.toDataURL()}if(kw(jw,this)){var i=nw(this.pageDimensions,2),a=i[0],o=i[1],s=Math.round(this.width*a*Vt.PDF_TO_CSS_UNITS),u=Math.round(this.height*o*Vt.PDF_TO_CSS_UNITS),c=new OffscreenCanvas(s,u);return c.getContext("2d").drawImage(kw(_w,this),0,0,kw(_w,this).width,kw(_w,this).height,0,0,s,u),c.transferToImageBitmap()}return structuredClone(kw(_w,this))}function Vw(){var t=this;this._uiManager._signal&&(xw(Mw,this,new ResizeObserver((function(e){var r=e[0].contentRect;r.width&&r.height&&Aw(Rw,t,Gw).call(t,r.width,r.height)}))),kw(Mw,this).observe(this.div),this._uiManager._signal.addEventListener("abort",(function(){var e;null===(e=kw(Mw,t))||void 0===e||e.disconnect(),xw(Mw,t,null)}),{once:!0}))}function qw(t){var e,r=this._initialData,n=r.rect,i=r.pageIndex,a=r.accessibilityData.altText,o=t.rect.every((function(t,e){return Math.abs(t-n[e])<1})),s=t.pageIndex===i,u=((null===(e=t.accessibilityData)||void 0===e?void 0:e.alt)||"")===a;return{isSame:o&&s&&u,isSameAltText:u}}function Yw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Xw(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Yw(Object(r),!0).forEach((function(e){rk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yw(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Kw(){Kw=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Qw(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Jw(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Qw(a,n,i,o,s,"next",t)}function s(t){Qw(a,n,i,o,s,"throw",t)}o(void 0)}))}}function $w(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Zw(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Zw(t,e){if(t){if("string"==typeof t)return tk(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tk(t,e):void 0}}function tk(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ek(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,nk(n.key),n)}}function rk(t,e,r){return(e=nk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nk(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function ik(t,e,r){ak(t,e),e.set(t,r)}function ak(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ok(t,e,r){return r(ck(t,e))}function sk(t,e){return t.get(ck(t,e))}function uk(t,e,r){return t.set(ck(t,e),r),r}function ck(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}db=Fw,gw(Fw,"_type","stamp"),gw(Fw,"_editorType",A.STAMP);var lk=new WeakMap,hk=new WeakMap,fk=new WeakMap,dk=new WeakMap,vk=new WeakMap,pk=new WeakMap,yk=new WeakMap,gk=new WeakMap,mk=new WeakMap,bk=new WeakMap,wk=new WeakMap,kk=new WeakMap,xk=new WeakSet,Ak=function(){return function(t,e,r){return e&&ek(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e){var r=e.uiManager,n=e.pageIndex,i=e.div,a=e.structTreeLayer,o=e.accessibilityManager,s=e.annotationLayer,u=e.drawLayer,c=e.textLayer,l=e.viewport,h=e.l10n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){ak(t,e),e.add(t)}(this,xk),ik(this,lk,void 0),ik(this,hk,!1),ik(this,fk,null),ik(this,dk,null),ik(this,vk,null),ik(this,pk,new Map),ik(this,yk,!1),ik(this,gk,!1),ik(this,mk,!1),ik(this,bk,null),ik(this,wk,null),ik(this,kk,void 0);var f=function(t){return function(t){if(Array.isArray(t))return tk(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Zw(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Lk._.values());if(!t._initialized){t._initialized=!0;var d,v=$w(f);try{for(v.s();!(d=v.n()).done;)d.value.initialize(h,r)}catch(t){v.e(t)}finally{v.f()}}r.registerEditorTypes(f),uk(kk,this,r),this.pageIndex=n,this.div=i,uk(lk,this,o),uk(fk,this,s),this.viewport=l,uk(bk,this,c),this.drawLayer=u,this._structTree=a,sk(kk,this).addLayer(this)}),[{key:"isEmpty",get:function(){return 0===sk(pk,this).size}},{key:"isInvisible",get:function(){return this.isEmpty&&sk(kk,this).getMode()===A.NONE}},{key:"updateToolbar",value:function(t){sk(kk,this).updateToolbar(t)}},{key:"updateMode",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sk(kk,this).getMode();switch(ck(xk,this,Tk).call(this),t){case A.NONE:return this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),void this.disableClick();case A.INK:this.addInkEditorIfNeeded(!1),this.disableTextSelection(),this.togglePointerEvents(!0),this.disableClick();break;case A.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);var e,r=this.div.classList,n=$w(Lk._.values());try{for(n.s();!(e=n.n()).done;){var i=e.value;r.toggle("".concat(i._type,"Editing"),t===i._editorType)}}catch(t){n.e(t)}finally{n.f()}this.div.hidden=!1}},{key:"hasTextLayer",value:function(t){var e;return t===(null===(e=sk(bk,this))||void 0===e?void 0:e.div)}},{key:"addInkEditorIfNeeded",value:function(t){if(sk(kk,this).getMode()===A.INK){if(!t){var e,r=$w(sk(pk,this).values());try{for(r.s();!(e=r.n()).done;){var n=e.value;if(n.isEmpty())return void n.setInBackground()}}catch(t){r.e(t)}finally{r.f()}}this.createAndAddNewEditor({offsetX:0,offsetY:0},!1).setInBackground()}}},{key:"setEditingState",value:function(t){sk(kk,this).setEditingState(t)}},{key:"addCommands",value:function(t){sk(kk,this).addCommands(t)}},{key:"toggleDrawing",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.div.classList.toggle("drawing",!t)}},{key:"togglePointerEvents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.div.classList.toggle("disabled",!t)}},{key:"toggleAnnotationLayerPointerEvents",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];null===(t=sk(fk,this))||void 0===t||t.div.classList.toggle("disabled",!e)}},{key:"enable",value:(e=Jw(Kw().mark((function t(){var e,r,n,i,a,o,s,u,c;return Kw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.div.tabIndex=0,this.togglePointerEvents(!0),e=new Set,r=$w(sk(pk,this).values());try{for(r.s();!(n=r.n()).done;)(i=n.value).enableEditing(),i.show(!0),i.annotationElementId&&(sk(kk,this).removeChangedExistingAnnotation(i),e.add(i.annotationElementId))}catch(t){r.e(t)}finally{r.f()}if(sk(fk,this)){t.next=7;break}return t.abrupt("return");case 7:a=sk(fk,this).getEditableAnnotations(),o=$w(a),t.prev=9,o.s();case 11:if((s=o.n()).done){t.next=27;break}if((u=s.value).hide(),!sk(kk,this).isDeletedAnnotationElement(u.data.id)){t.next=16;break}return t.abrupt("continue",25);case 16:if(!e.has(u.data.id)){t.next=18;break}return t.abrupt("continue",25);case 18:return t.next=20,this.deserialize(u);case 20:if(c=t.sent){t.next=23;break}return t.abrupt("continue",25);case 23:this.addOrRebuild(c),c.enableEditing();case 25:t.next=11;break;case 27:t.next=32;break;case 29:t.prev=29,t.t0=t.catch(9),o.e(t.t0);case 32:return t.prev=32,o.f(),t.finish(32);case 35:case"end":return t.stop()}}),t,this,[[9,29,32,35]])}))),function(){return e.apply(this,arguments)})},{key:"disable",value:function(){uk(mk,this,!0),this.div.tabIndex=-1,this.togglePointerEvents(!1);var t,e=new Map,r=new Map,n=$w(sk(pk,this).values());try{for(n.s();!(t=n.n()).done;){var i,a=t.value;a.disableEditing(),a.annotationElementId&&(null===a.serialize()?(r.set(a.annotationElementId,a),null===(i=this.getEditableAnnotation(a.annotationElementId))||void 0===i||i.show(),a.remove()):e.set(a.annotationElementId,a))}}catch(t){n.e(t)}finally{n.f()}if(sk(fk,this)){var o,s=$w(sk(fk,this).getEditableAnnotations());try{for(s.s();!(o=s.n()).done;){var u=o.value,c=u.data.id;if(!sk(kk,this).isDeletedAnnotationElement(c)){var l=r.get(c);l?(l.resetAnnotationElement(u),l.show(!1),u.show()):((l=e.get(c))&&(sk(kk,this).addChangedExistingAnnotation(l),l.renderAnnotationElement(u)&&l.show(!1)),u.show())}}}catch(t){s.e(t)}finally{s.f()}}ck(xk,this,Tk).call(this),this.isEmpty&&(this.div.hidden=!0);var h,f=this.div.classList,d=$w(Lk._.values());try{for(d.s();!(h=d.n()).done;){var v=h.value;f.remove("".concat(v._type,"Editing"))}}catch(t){d.e(t)}finally{d.f()}this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),uk(mk,this,!1)}},{key:"getEditableAnnotation",value:function(t){var e;return(null===(e=sk(fk,this))||void 0===e?void 0:e.getEditableAnnotation(t))||null}},{key:"setActiveEditor",value:function(t){sk(kk,this).getActive()!==t&&sk(kk,this).setActiveEditor(t)}},{key:"enableTextSelection",value:function(){var t;if(this.div.tabIndex=-1,null!==(t=sk(bk,this))&&void 0!==t&&t.div&&!sk(wk,this)){uk(wk,this,new AbortController);var e=sk(kk,this).combinedSignal(sk(wk,this));sk(bk,this).div.addEventListener("pointerdown",ck(xk,this,_k).bind(this),{signal:e}),sk(bk,this).div.classList.add("highlighting")}}},{key:"disableTextSelection",value:function(){var t;this.div.tabIndex=0,null!==(t=sk(bk,this))&&void 0!==t&&t.div&&sk(wk,this)&&(sk(wk,this).abort(),uk(wk,this,null),sk(bk,this).div.classList.remove("highlighting"))}},{key:"enableClick",value:function(){if(!sk(dk,this)){uk(dk,this,new AbortController);var t=sk(kk,this).combinedSignal(sk(dk,this));this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:t}),this.div.addEventListener("pointerup",this.pointerup.bind(this),{signal:t})}}},{key:"disableClick",value:function(){var t;null===(t=sk(dk,this))||void 0===t||t.abort(),uk(dk,this,null)}},{key:"attach",value:function(t){sk(pk,this).set(t.id,t);var e=t.annotationElementId;e&&sk(kk,this).isDeletedAnnotationElement(e)&&sk(kk,this).removeDeletedAnnotationElement(t)}},{key:"detach",value:function(t){var e;sk(pk,this).delete(t.id),null===(e=sk(lk,this))||void 0===e||e.removePointerInTextLayer(t.contentDiv),!sk(mk,this)&&t.annotationElementId&&sk(kk,this).addDeletedAnnotationElement(t)}},{key:"remove",value:function(t){this.detach(t),sk(kk,this).removeEditor(t),t.div.remove(),t.isAttachedToDOM=!1,sk(gk,this)||this.addInkEditorIfNeeded(!1)}},{key:"changeParent",value:function(t){var e;t.parent!==this&&(t.parent&&t.annotationElementId&&(sk(kk,this).addDeletedAnnotationElement(t.annotationElementId),Wa.deleteAnnotationElement(t),t.annotationElementId=null),this.attach(t),null===(e=t.parent)||void 0===e||e.detach(t),t.setParent(this),t.div&&t.isAttachedToDOM&&(t.div.remove(),this.div.append(t.div)))}},{key:"add",value:function(t){if(t.parent!==this||!t.isAttachedToDOM){if(this.changeParent(t),sk(kk,this).addEditor(t),this.attach(t),!t.isAttachedToDOM){var e=t.render();this.div.append(e),t.isAttachedToDOM=!0}t.fixAndSetPosition(),t.onceAdded(),sk(kk,this).addToAnnotationStorage(t),t._reportTelemetry(t.telemetryInitialData)}}},{key:"moveEditorInDOM",value:function(t){var e,r=this;if(t.isAttachedToDOM){var n=document.activeElement;t.div.contains(n)&&!sk(vk,this)&&(t._focusEventsAllowed=!1,uk(vk,this,setTimeout((function(){uk(vk,r,null),t.div.contains(document.activeElement)?t._focusEventsAllowed=!0:(t.div.addEventListener("focusin",(function(){t._focusEventsAllowed=!0}),{once:!0,signal:sk(kk,r)._signal}),n.focus())}),0))),t._structTreeParentId=null===(e=sk(lk,this))||void 0===e?void 0:e.moveElementInDOM(this.div,t.div,t.contentDiv,!0)}}},{key:"addOrRebuild",value:function(t){t.needsToBeRebuilt()?(t.parent||(t.parent=this),t.rebuild(),t.show()):this.add(t)}},{key:"addUndoableEditor",value:function(t){this.addCommands({cmd:function(){return t._uiManager.rebuild(t)},undo:function(){t.remove()},mustExec:!1})}},{key:"getNextId",value:function(){return sk(kk,this).getId()}},{key:"combinedSignal",value:function(t){return sk(kk,this).combinedSignal(t)}},{key:"canCreateNewEmptyEditor",value:function(){var t;return null===(t=ok(xk,this,Ek))||void 0===t?void 0:t.canCreateNewEmptyEditor()}},{key:"pasteEditor",value:function(t,e){sk(kk,this).updateToolbar(t),sk(kk,this).updateMode(t);var r=ck(xk,this,Ok).call(this),n=r.offsetX,i=r.offsetY,a=this.getNextId(),o=ck(xk,this,Sk).call(this,Xw({parent:this,id:a,x:n,y:i,uiManager:sk(kk,this),isCentered:!0},e));o&&this.add(o)}},{key:"deserialize",value:(t=Jw(Kw().mark((function t(e){var r,n;return Kw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,null===(r=Lk._.get(null!==(n=e.annotationType)&&void 0!==n?n:e.annotationEditorType))||void 0===r?void 0:r.deserialize(e,this,sk(kk,this));case 2:if(t.t0=t.sent,t.t0){t.next=5;break}t.t0=null;case 5:return t.abrupt("return",t.t0);case 6:case"end":return t.stop()}}),t,this)}))),function(e){return t.apply(this,arguments)})},{key:"createAndAddNewEditor",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.getNextId(),i=ck(xk,this,Sk).call(this,Xw({parent:this,id:n,x:t.offsetX,y:t.offsetY,uiManager:sk(kk,this),isCentered:e},r));return i&&this.add(i),i}},{key:"addNewEditor",value:function(){this.createAndAddNewEditor(ck(xk,this,Ok).call(this),!0)}},{key:"setSelected",value:function(t){sk(kk,this).setSelected(t)}},{key:"toggleSelected",value:function(t){sk(kk,this).toggleSelected(t)}},{key:"unselect",value:function(t){sk(kk,this).unselect(t)}},{key:"pointerup",value:function(t){var e=J.platform.isMac;0!==t.button||t.ctrlKey&&e||t.target===this.div&&sk(yk,this)&&(uk(yk,this,!1),sk(hk,this)?sk(kk,this).getMode()!==A.STAMP?this.createAndAddNewEditor(t,!1):sk(kk,this).unselectAll():uk(hk,this,!0))}},{key:"pointerdown",value:function(t){if(sk(kk,this).getMode()===A.HIGHLIGHT&&this.enableTextSelection(),sk(yk,this))uk(yk,this,!1);else{var e=J.platform.isMac;if(!(0!==t.button||t.ctrlKey&&e)&&t.target===this.div){uk(yk,this,!0);var r=sk(kk,this).getActive();uk(hk,this,!r||r.isEmpty())}}}},{key:"findNewParent",value:function(t,e,r){var n=sk(kk,this).findParent(e,r);return null!==n&&n!==this&&(n.changeParent(t),!0)}},{key:"destroy",value:function(){var t;(null===(t=sk(kk,this).getActive())||void 0===t?void 0:t.parent)===this&&(sk(kk,this).commitOrRemove(),sk(kk,this).setActiveEditor(null)),sk(vk,this)&&(clearTimeout(sk(vk,this)),uk(vk,this,null));var e,r=$w(sk(pk,this).values());try{for(r.s();!(e=r.n()).done;){var n,i=e.value;null===(n=sk(lk,this))||void 0===n||n.removePointerInTextLayer(i.contentDiv),i.setParent(null),i.isAttachedToDOM=!1,i.div.remove()}}catch(t){r.e(t)}finally{r.f()}this.div=null,sk(pk,this).clear(),sk(kk,this).removeLayer(this)}},{key:"render",value:function(t){var e=t.viewport;this.viewport=e,Re(this.div,e);var r,n=$w(sk(kk,this).getEditors(this.pageIndex));try{for(n.s();!(r=n.n()).done;){var i=r.value;this.add(i),i.rebuild()}}catch(t){n.e(t)}finally{n.f()}this.updateMode()}},{key:"update",value:function(t){var e=t.viewport;sk(kk,this).commitOrRemove(),ck(xk,this,Tk).call(this);var r=this.viewport.rotation,n=e.rotation;if(this.viewport=e,Re(this.div,{rotation:n}),r!==n){var i,a=$w(sk(pk,this).values());try{for(a.s();!(i=a.n()).done;)i.value.rotate(n)}catch(t){a.e(t)}finally{a.f()}}this.addInkEditorIfNeeded(!1)}},{key:"pageDimensions",get:function(){var t=this.viewport.rawDims;return[t.pageWidth,t.pageHeight]}},{key:"scale",get:function(){return sk(kk,this).viewParameters.realScale}}]);var t,e}();function _k(t){var e=this;sk(kk,this).unselectAll();var r=t.target;if(r===sk(bk,this).div||("img"===r.getAttribute("role")||r.classList.contains("endOfContent"))&&sk(bk,this).div.contains(r)){var n=J.platform.isMac;if(0!==t.button||t.ctrlKey&&n)return;sk(kk,this).showAllEditors("highlight",!0,!0),sk(bk,this).div.classList.add("free"),this.toggleDrawing(),Om.startHighlighting(this,"ltr"===sk(kk,this).direction,{target:sk(bk,this).div,x:t.x,y:t.y}),sk(bk,this).div.addEventListener("pointerup",(function(){sk(bk,e).div.classList.remove("free"),e.toggleDrawing(!0)}),{once:!0,signal:sk(kk,this)._signal}),t.preventDefault()}}function Ek(t){return Lk._.get(sk(kk,t).getMode())}function Sk(t){var e=ok(xk,this,Ek);return e?new e.prototype.constructor(t):null}function Ok(){var t=this.div.getBoundingClientRect(),e=t.x,r=t.y,n=t.width,i=t.height,a=Math.max(0,e),o=Math.max(0,r),s=(a+Math.min(window.innerWidth,e+n))/2-e,u=(o+Math.min(window.innerHeight,r+i))/2-r,c=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Zw(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this.viewport.rotation%180==0?[s,u]:[u,s],2);return{offsetX:c[0],offsetY:c[1]}}function Tk(){uk(gk,this,!0);var t,e=$w(sk(pk,this).values());try{for(e.s();!(t=e.n()).done;){var r=t.value;r.isEmpty()&&r.remove()}}catch(t){e.e(t)}finally{e.f()}uk(gk,this,!1)}rk(Ak,"_initialized",!1);var Pk,Lk={_:new Map([Dp,Tb,Fw,Om].map((function(t){return[t._editorType,t]})))};function Mk(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Ck(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ck(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Ck(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function jk(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ik(n.key),n)}}function Ik(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Rk(t,e,r){Fk(t,e),e.set(t,r)}function Fk(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Dk(t,e,r){return t.set(Wk(t,e),r),r}function Nk(t,e){return t.get(Wk(t,e))}function Wk(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var Bk=new WeakMap,Gk=new WeakMap,Hk=new WeakMap,Uk=new WeakMap,zk=new WeakSet,Vk=function(){function t(e){var r=e.pageIndex;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){Fk(t,e),e.add(t)}(this,zk),Rk(this,Bk,null),Rk(this,Gk,0),Rk(this,Hk,new Map),Rk(this,Uk,new Map),this.pageIndex=r}return function(t,e,r){return e&&jk(t.prototype,e),r&&jk(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"setParent",value:function(t){if(Nk(Bk,this)){if(Nk(Bk,this)!==t){if(Nk(Hk,this).size>0){var e,r=Mk(Nk(Hk,this).values());try{for(r.s();!(e=r.n()).done;){var n=e.value;n.remove(),t.append(n)}}catch(t){r.e(t)}finally{r.f()}}Dk(Bk,this,t)}}else Dk(Bk,this,t)}},{key:"highlight",value:function(e,r,n){var i,a,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=(Dk(Gk,this,(i=Nk(Gk,this),a=i++,i)),a),u=Wk(zk,this,Yk).call(this,e.box);u.classList.add("highlight"),e.free&&u.classList.add("free");var c=t._svgFactory.createElement("defs");u.append(c);var l=t._svgFactory.createElement("path");c.append(l);var h="path_p".concat(this.pageIndex,"_").concat(s);l.setAttribute("id",h),l.setAttribute("d",e.toSVGPath()),o&&Nk(Uk,this).set(s,l);var f=Wk(zk,this,Xk).call(this,c,h),d=t._svgFactory.createElement("use");return u.append(d),u.setAttribute("fill",r),u.setAttribute("fill-opacity",n),d.setAttribute("href","#".concat(h)),Nk(Hk,this).set(s,u),{id:s,clipPathId:"url(#".concat(f,")")}}},{key:"highlightOutline",value:function(e){var r,n,i=(Dk(Gk,this,(r=Nk(Gk,this),n=r++,r)),n),a=Wk(zk,this,Yk).call(this,e.box);a.classList.add("highlightOutline");var o=t._svgFactory.createElement("defs");a.append(o);var s=t._svgFactory.createElement("path");o.append(s);var u,c="path_p".concat(this.pageIndex,"_").concat(i);if(s.setAttribute("id",c),s.setAttribute("d",e.toSVGPath()),s.setAttribute("vector-effect","non-scaling-stroke"),e.free){a.classList.add("free");var l=t._svgFactory.createElement("mask");o.append(l),u="mask_p".concat(this.pageIndex,"_").concat(i),l.setAttribute("id",u),l.setAttribute("maskUnits","objectBoundingBox");var h=t._svgFactory.createElement("rect");l.append(h),h.setAttribute("width","1"),h.setAttribute("height","1"),h.setAttribute("fill","white");var f=t._svgFactory.createElement("use");l.append(f),f.setAttribute("href","#".concat(c)),f.setAttribute("stroke","none"),f.setAttribute("fill","black"),f.setAttribute("fill-rule","nonzero"),f.classList.add("mask")}var d=t._svgFactory.createElement("use");a.append(d),d.setAttribute("href","#".concat(c)),u&&d.setAttribute("mask","url(#".concat(u,")"));var v=d.cloneNode();return a.append(v),d.classList.add("mainOutline"),v.classList.add("secondaryOutline"),Nk(Hk,this).set(i,a),i}},{key:"finalizeLine",value:function(t,e){var r=Nk(Uk,this).get(t);Nk(Uk,this).delete(t),this.updateBox(t,e.box),r.setAttribute("d",e.toSVGPath())}},{key:"updateLine",value:function(t,e){Nk(Hk,this).get(t).firstChild.firstChild.setAttribute("d",e.toSVGPath())}},{key:"removeFreeHighlight",value:function(t){this.remove(t),Nk(Uk,this).delete(t)}},{key:"updatePath",value:function(t,e){Nk(Uk,this).get(t).setAttribute("d",e.toSVGPath())}},{key:"updateBox",value:function(e,r){qk.call(t,Nk(Hk,this).get(e),r)}},{key:"show",value:function(t,e){Nk(Hk,this).get(t).classList.toggle("hidden",!e)}},{key:"rotate",value:function(t,e){Nk(Hk,this).get(t).setAttribute("data-main-rotation",e)}},{key:"changeColor",value:function(t,e){Nk(Hk,this).get(t).setAttribute("fill",e)}},{key:"changeOpacity",value:function(t,e){Nk(Hk,this).get(t).setAttribute("fill-opacity",e)}},{key:"addClass",value:function(t,e){Nk(Hk,this).get(t).classList.add(e)}},{key:"removeClass",value:function(t,e){Nk(Hk,this).get(t).classList.remove(e)}},{key:"getSVGRoot",value:function(t){return Nk(Hk,this).get(t)}},{key:"remove",value:function(t){null!==Nk(Bk,this)&&(Nk(Hk,this).get(t).remove(),Nk(Hk,this).delete(t))}},{key:"destroy",value:function(){Dk(Bk,this,null);var t,e=Mk(Nk(Hk,this).values());try{for(e.s();!(t=e.n()).done;)t.value.remove()}catch(t){e.e(t)}finally{e.f()}Nk(Hk,this).clear()}}],[{key:"_svgFactory",get:function(){return W(this,"_svgFactory",new me)}}])}();function qk(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.x,n=void 0===r?0:r,i=e.y,a=void 0===i?0:i,o=e.width,s=void 0===o?1:o,u=e.height,c=void 0===u?1:u,l=t.style;l.top="".concat(100*a,"%"),l.left="".concat(100*n,"%"),l.width="".concat(100*s,"%"),l.height="".concat(100*c,"%")}function Yk(t){var e=Pk._svgFactory.create(1,1,!0);return Nk(Bk,this).append(e),e.setAttribute("aria-hidden",!0),qk.call(Pk,e,t),e}function Xk(t,e){var r=Pk._svgFactory.createElement("clipPath");t.append(r);var n="clip_".concat(e);r.setAttribute("id",n),r.setAttribute("clipPathUnits","objectBoundingBox");var i=Pk._svgFactory.createElement("use");return r.append(i),i.setAttribute("href","#".concat(e)),i.classList.add("clip"),n}Pk=Vk;`;function Zo(ce,Ce){return typeof ce=="string"?ce:ce instanceof Blob?URL.createObjectURL(ce):ce instanceof ArrayBuffer?URL.createObjectURL(new Blob([ce],Ce)):ce instanceof Response?URL.createObjectURL(ce.blob()):ce}function xt(ce){return new Promise((Ce,Oe)=>{let gt=document.createElement("script");gt.src=ce,gt.onload=function(){Ce()},gt.onerror=function(){Oe()},document.body.append(gt)})}function jc(ce,Ce){return ao(this,null,function*(){Ce&&(Ce instanceof ArrayBuffer&&(Ce=new Blob([Ce])),wc(ce,URL.createObjectURL(Ce)))})}function wc(ce,Ce){let Oe=document.createElement("a");Oe.download=ce,Oe.style.display="none",Oe.href=Ce,document.body.appendChild(Oe),Oe.click(),document.body.removeChild(Oe)}function It(ce){var Ce,Oe,gt,Nt,Ht;for(Ce="",gt=ce.length,Oe=0;Oe<gt;Oe++)Nt=ce.charCodeAt(Oe),Nt>=1&&Nt<=127?Ce+=ce.charAt(Oe):Nt>2047?(Ht=224|Nt>>12&15,Ce+=String.fromCharCode(Ht),Ht=128|Nt>>6&63,Ce+=String.fromCharCode(Ht),Ht=128|Nt>>0&63,Ce+=String.fromCharCode(Ht)):(Ht=192|Nt>>6&31,Ce+=String.fromCharCode(Ht),Ht=128|Nt>>0&63,Ce+=String.fromCharCode(Ht));return Ce}var Vt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Ni(ce){var Ce,Oe,gt,Nt,Ht,fr;for(gt=ce.length,Oe=0,Ce="";Oe<gt;){if(Nt=ce.charCodeAt(Oe++)&255,Oe==gt){Ce+=Vt.charAt(Nt>>2),Ce+=Vt.charAt((Nt&3)<<4),Ce+="==";break}if(Ht=ce.charCodeAt(Oe++),Oe==gt){Ce+=Vt.charAt(Nt>>2),Ce+=Vt.charAt((Nt&3)<<4|(Ht&240)>>4),Ce+=Vt.charAt((Ht&15)<<2),Ce+="=";break}fr=ce.charCodeAt(Oe++),Ce+=Vt.charAt(Nt>>2),Ce+=Vt.charAt((Nt&3)<<4|(Ht&240)>>4),Ce+=Vt.charAt((Ht&15)<<2|(fr&192)>>6),Ce+=Vt.charAt(fr&63)}return Ce}function wh(ce){return Ni(It(ce))}var vl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof W3<"u"?W3:typeof self<"u"?self:{};function Eh(ce){return ce&&ce.__esModule&&Object.prototype.hasOwnProperty.call(ce,"default")?ce.default:ce}function Da(ce,Ce){for(var Oe=-1,gt=ce==null?0:ce.length,Nt=Array(gt);++Oe<gt;)Nt[Oe]=Ce(ce[Oe],Oe,ce);return Nt}var Kt=Da;function er(){this.__data__=[],this.size=0}var xr=er;function Hn(ce,Ce){return ce===Ce||ce!==ce&&Ce!==Ce}var kt=Hn,da=kt;function cs(ce,Ce){for(var Oe=ce.length;Oe--;)if(da(ce[Oe][0],Ce))return Oe;return-1}var Yn=cs,Xu=Yn,ca=Array.prototype,_o=ca.splice;function hi(ce){var Ce=this.__data__,Oe=Xu(Ce,ce);if(Oe<0)return!1;var gt=Ce.length-1;return Oe==gt?Ce.pop():_o.call(Ce,Oe,1),--this.size,!0}var ws=hi,Ri=Yn;function Bi(ce){var Ce=this.__data__,Oe=Ri(Ce,ce);return Oe<0?void 0:Ce[Oe][1]}var si=Bi,ls=Yn;function oo(ce){return ls(this.__data__,ce)>-1}var hs=oo,bu=Yn;function Ji(ce,Ce){var Oe=this.__data__,gt=bu(Oe,ce);return gt<0?(++this.size,Oe.push([ce,Ce])):Oe[gt][1]=Ce,this}var Ca=Ji,Wi=xr,In=ws,Io=si,Xo=hs,la=Ca;function wa(ce){var Ce=-1,Oe=ce==null?0:ce.length;for(this.clear();++Ce<Oe;){var gt=ce[Ce];this.set(gt[0],gt[1])}}wa.prototype.clear=Wi,wa.prototype.delete=In,wa.prototype.get=Io,wa.prototype.has=Xo,wa.prototype.set=la;var qi=wa,Hc=qi;function zi(){this.__data__=new Hc,this.size=0}var Ao=zi;function Bn(ce){var Ce=this.__data__,Oe=Ce.delete(ce);return this.size=Ce.size,Oe}var Kn=Bn;function Us(ce){return this.__data__.get(ce)}var ar=Us;function pn(ce){return this.__data__.has(ce)}var Vn=pn,Es=typeof vl=="object"&&vl&&vl.Object===Object&&vl,Ea=Es,bo=Ea,Ne=typeof self=="object"&&self&&self.Object===Object&&self,pr=bo||Ne||Function("return this")(),xa=pr,Ii=xa,Vf=Ii.Symbol,fi=Vf,$r=fi,an=Object.prototype,ni=an.hasOwnProperty,yr=an.toString,bn=$r?$r.toStringTag:void 0;function en(ce){var Ce=ni.call(ce,bn),Oe=ce[bn];try{ce[bn]=void 0;var gt=!0}catch{}var Nt=yr.call(ce);return gt&&(Ce?ce[bn]=Oe:delete ce[bn]),Nt}var k0=en,$i=Object.prototype,Ln=$i.toString;function UC(ce){return Ln.call(ce)}var $u=UC,Zf=fi,Q0=k0,u2=$u,q3="[object Null]",Tg="[object Undefined]",Bs=Zf?Zf.toStringTag:void 0;function $n(ce){return ce==null?ce===void 0?Tg:q3:Bs&&Bs in Object(ce)?Q0(ce):u2(ce)}var ec=$n;function c2(ce){var Ce=typeof ce;return ce!=null&&(Ce=="object"||Ce=="function")}var yl=c2,tc=ec,Wl=yl,l2="[object AsyncFunction]",Ki="[object Function]",sn="[object GeneratorFunction]",jC="[object Proxy]";function nr(ce){if(!Wl(ce))return!1;var Ce=tc(ce);return Ce==Ki||Ce==sn||Ce==l2||Ce==jC}var h2=nr,Tu=xa,mn=Tu["__core-js_shared__"],x0=mn,Lg=x0,f2=function(){var ce=/[^.]+$/.exec(Lg&&Lg.keys&&Lg.keys.IE_PROTO||"");return ce?"Symbol(src)_1."+ce:""}();function ln(ce){return!!f2&&f2 in ce}var $o=ln,Qv=Function.prototype,vd=Qv.toString;function rc(ce){if(ce!=null){try{return vd.call(ce)}catch{}try{return ce+""}catch{}}return""}var ql=rc,z3=h2,HC=$o,A2=yl,Xf=ql,ef=/[\\^$.*+?()[\]{}|]/g,xv=/^\[object .+?Constructor\]$/,Ng=Function.prototype,Ti=Object.prototype,$f=Ng.toString,eA=Ti.hasOwnProperty,YC=RegExp("^"+$f.call(eA).replace(ef,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function tA(ce){if(!A2(ce)||HC(ce))return!1;var Ce=z3(ce)?YC:xv;return Ce.test(Xf(ce))}var S0=tA;function js(ce,Ce){return ce==null?void 0:ce[Ce]}var rA=js,tf=S0,Og=rA;function d2(ce,Ce){var Oe=Og(ce,Ce);return tf(Oe)?Oe:void 0}var au=d2,JC=au,nA=xa,_0=JC(nA,"Map"),iA=_0,Sv=au,K3=Sv(Object,"create"),Pg=K3,g2=Pg;function _v(){this.__data__=g2?g2(null):{},this.size=0}var WC=_v;function Dv(ce){var Ce=this.has(ce)&&delete this.__data__[ce];return this.size-=Ce?1:0,Ce}var qC=Dv,ou=Pg,V3="__lodash_hash_undefined__",Gg=Object.prototype,Z3=Gg.hasOwnProperty;function p2(ce){var Ce=this.__data__;if(ou){var Oe=Ce[ce];return Oe===V3?void 0:Oe}return Z3.call(Ce,ce)?Ce[ce]:void 0}var D0=p2,R0=Pg,nc=Object.prototype,zC=nc.hasOwnProperty;function v2(ce){var Ce=this.__data__;return R0?Ce[ce]!==void 0:zC.call(Ce,ce)}var X3=v2,rf=Pg,KC="__lodash_hash_undefined__";function $3(ce,Ce){var Oe=this.__data__;return this.size+=this.has(ce)?0:1,Oe[ce]=rf&&Ce===void 0?KC:Ce,this}var VC=$3,e5=WC,aA=qC,Lu=D0,M0=X3,ml=VC;function ic(ce){var Ce=-1,Oe=ce==null?0:ce.length;for(this.clear();++Ce<Oe;){var gt=ce[Ce];this.set(gt[0],gt[1])}}ic.prototype.clear=e5,ic.prototype.delete=aA,ic.prototype.get=Lu,ic.prototype.has=M0,ic.prototype.set=ml;var Hs=ic,nf=Hs,Rv=qi,yd=iA;function t5(){this.size=0,this.__data__={hash:new nf,map:new(yd||Rv),string:new nf}}var ci=t5;function Mv(ce){var Ce=typeof ce;return Ce=="string"||Ce=="number"||Ce=="symbol"||Ce=="boolean"?ce!=="__proto__":ce===null}var F0=Mv,ac=F0;function oA(ce,Ce){var Oe=ce.__data__;return ac(Ce)?Oe[typeof Ce=="string"?"string":"hash"]:Oe.map}var Bh=oA,sA=Bh;function T0(ce){var Ce=sA(this,ce).delete(ce);return this.size-=Ce?1:0,Ce}var Ug=T0,gi=Bh;function y2(ce){return gi(this,ce).get(ce)}var r5=y2,ZC=Bh;function n5(ce){return ZC(this,ce).has(ce)}var L0=n5,i5=Bh;function m2(ce,Ce){var Oe=i5(this,ce),gt=Oe.size;return Oe.set(ce,Ce),this.size+=Oe.size==gt?0:1,this}var Fv=m2,a5=ci,I2=Ug,Tv=r5,b2=L0,N0=Fv;function jg(ce){var Ce=-1,Oe=ce==null?0:ce.length;for(this.clear();++Ce<Oe;){var gt=ce[Ce];this.set(gt[0],gt[1])}}jg.prototype.clear=a5,jg.prototype.delete=I2,jg.prototype.get=Tv,jg.prototype.has=b2,jg.prototype.set=N0;var O0=jg,XC=qi,$C=iA,Lv=O0,C2=200;function ew(ce,Ce){var Oe=this.__data__;if(Oe instanceof XC){var gt=Oe.__data__;if(!$C||gt.length<C2-1)return gt.push([ce,Ce]),this.size=++Oe.size,this;Oe=this.__data__=new Lv(gt)}return Oe.set(ce,Ce),this.size=Oe.size,this}var Nv=ew,zl=qi,md=Ao,Hg=Kn,tw=ar,Ov=Vn,rw=Nv;function Id(ce){var Ce=this.__data__=new zl(ce);this.size=Ce.size}Id.prototype.clear=md,Id.prototype.delete=Hg,Id.prototype.get=tw,Id.prototype.has=Ov,Id.prototype.set=rw;var Yg=Id;function Jg(ce,Ce){for(var Oe=-1,gt=ce==null?0:ce.length;++Oe<gt&&Ce(ce[Oe],Oe,ce)!==!1;);return ce}var P0=Jg,af=au,nw=function(){try{var ce=af(Object,"defineProperty");return ce({},"",{}),ce}catch{}}(),Pv=nw,w2=Pv;function G0(ce,Ce,Oe){Ce=="__proto__"&&w2?w2(ce,Ce,{configurable:!0,enumerable:!0,value:Oe,writable:!0}):ce[Ce]=Oe}var Kl=G0,Yc=Kl,Wg=kt,of=Object.prototype,iw=of.hasOwnProperty;function ks(ce,Ce,Oe){var gt=ce[Ce];(!(iw.call(ce,Ce)&&Wg(gt,Oe))||Oe===void 0&&!(Ce in ce))&&Yc(ce,Ce,Oe)}var E2=ks,U0=E2,aw=Kl;function sf(ce,Ce,Oe,gt){var Nt=!Oe;Oe||(Oe={});for(var Ht=-1,fr=Ce.length;++Ht<fr;){var lr=Ce[Ht],Or=gt?gt(Oe[lr],ce[lr],lr,Oe,ce):void 0;Or===void 0&&(Or=ce[lr]),Nt?aw(Oe,lr,Or):U0(Oe,lr,Or)}return Oe}var qg=sf;function ow(ce,Ce){for(var Oe=-1,gt=Array(ce);++Oe<ce;)gt[Oe]=Ce(Oe);return gt}var su=ow;function Gv(ce){return ce!=null&&typeof ce=="object"}var uf=Gv,B2=ec,j0=uf,k2="[object Arguments]";function o5(ce){return j0(ce)&&B2(ce)==k2}var sw=o5,Uv=sw,uw=uf,Q2=Object.prototype,cw=Q2.hasOwnProperty,zg=Q2.propertyIsEnumerable,lw=Uv(function(){return arguments}())?Uv:function(ce){return uw(ce)&&cw.call(ce,"callee")&&!zg.call(ce,"callee")},Jc=lw,uA=Array.isArray,Nu=uA,bd={exports:{}};function cA(){return!1}var x2=cA;bd.exports,function(ce,Ce){var Oe=xa,gt=x2,Nt=Ce&&!Ce.nodeType&&Ce,Ht=Nt&&!0&&ce&&!ce.nodeType&&ce,fr=Ht&&Ht.exports===Nt,lr=fr?Oe.Buffer:void 0,Or=lr?lr.isBuffer:void 0,Xr=Or||gt;ce.exports=Xr}(bd,bd.exports);var kh=bd.exports,Cu=9007199254740991,H0=/^(?:0|[1-9]\d*)$/;function hw(ce,Ce){var Oe=typeof ce;return Ce=Ce??Cu,!!Ce&&(Oe=="number"||Oe!="symbol"&&H0.test(ce))&&ce>-1&&ce%1==0&&ce<Ce}var Wc=hw,Cd=9007199254740991;function qc(ce){return typeof ce=="number"&&ce>-1&&ce%1==0&&ce<=Cd}var Kg=qc,fw=ec,S2=Kg,jv=uf,s5="[object Arguments]",Vg="[object Array]",Zg="[object Boolean]",cf="[object Date]",lf="[object Error]",Vl="[object Function]",_2="[object Map]",Hv="[object Number]",Y0="[object Object]",D2="[object RegExp]",Qh="[object Set]",Yv="[object String]",wu="[object WeakMap]",J0="[object ArrayBuffer]",R2="[object DataView]",Aw="[object Float32Array]",W0="[object Float64Array]",u5="[object Int8Array]",M2="[object Int16Array]",c5="[object Int32Array]",F2="[object Uint8Array]",T2="[object Uint8ClampedArray]",Xg="[object Uint16Array]",$g="[object Uint32Array]",go={};go[Aw]=go[W0]=go[u5]=go[M2]=go[c5]=go[F2]=go[T2]=go[Xg]=go[$g]=!0,go[s5]=go[Vg]=go[J0]=go[Zg]=go[R2]=go[cf]=go[lf]=go[Vl]=go[_2]=go[Hv]=go[Y0]=go[D2]=go[Qh]=go[Yv]=go[wu]=!1;function dw(ce){return jv(ce)&&S2(ce.length)&&!!go[fw(ce)]}var gw=dw;function l5(ce){return function(Ce){return ce(Ce)}}var lA=l5,oc={exports:{}};oc.exports,function(ce,Ce){var Oe=Ea,gt=Ce&&!Ce.nodeType&&Ce,Nt=gt&&!0&&ce&&!ce.nodeType&&ce,Ht=Nt&&Nt.exports===gt,fr=Ht&&Oe.process,lr=function(){try{var Or=Nt&&Nt.require&&Nt.require("util").types;return Or||fr&&fr.binding&&fr.binding("util")}catch{}}();ce.exports=lr}(oc,oc.exports);var q0=oc.exports,h5=gw,Jv=lA,L2=q0,N2=L2&&L2.isTypedArray,f5=N2?Jv(N2):h5,ep=f5,Wv=su,A5=Jc,qv=Nu,zv=kh,O2=Wc,tp=ep,Kv=Object.prototype,Sa=Kv.hasOwnProperty;function P2(ce,Ce){var Oe=qv(ce),gt=!Oe&&A5(ce),Nt=!Oe&&!gt&&zv(ce),Ht=!Oe&&!gt&&!Nt&&tp(ce),fr=Oe||gt||Nt||Ht,lr=fr?Wv(ce.length,String):[],Or=lr.length;for(var Xr in ce)(Ce||Sa.call(ce,Xr))&&!(fr&&(Xr=="length"||Nt&&(Xr=="offset"||Xr=="parent")||Ht&&(Xr=="buffer"||Xr=="byteLength"||Xr=="byteOffset")||O2(Xr,Or)))&&lr.push(Xr);return lr}var Vv=P2,hA=Object.prototype;function Ui(ce){var Ce=ce&&ce.constructor,Oe=typeof Ce=="function"&&Ce.prototype||hA;return ce===Oe}var Zv=Ui;function Xv(ce,Ce){return function(Oe){return ce(Ce(Oe))}}var fA=Xv,d5=fA,$v=d5(Object.keys,Object),G2=$v,_n=Zv,ey=G2,U2=Object.prototype,ty=U2.hasOwnProperty;function Er(ce){if(!_n(ce))return ey(ce);var Ce=[];for(var Oe in Object(ce))ty.call(ce,Oe)&&Oe!="constructor"&&Ce.push(Oe);return Ce}var ry=Er,ny=h2,j2=Kg;function pw(ce){return ce!=null&&j2(ce.length)&&!ny(ce)}var Za=pw,z0=Vv,H2=ry,g5=Za;function K0(ce){return g5(ce)?z0(ce):H2(ce)}var rp=K0,iy=qg,p5=rp;function vw(ce,Ce){return ce&&iy(Ce,p5(Ce),ce)}var ei=vw;function ay(ce){var Ce=[];if(ce!=null)for(var Oe in Object(ce))Ce.push(Oe);return Ce}var oy=ay,sy=yl,yw=Zv,mw=oy,v5=Object.prototype,wd=v5.hasOwnProperty;function Ed(ce){if(!sy(ce))return mw(ce);var Ce=yw(ce),Oe=[];for(var gt in ce)gt=="constructor"&&(Ce||!wd.call(ce,gt))||Oe.push(gt);return Oe}var np=Ed,Y2=Vv,J2=np,hf=Za;function Zl(ce){return hf(ce)?Y2(ce,!0):J2(ce)}var uy=Zl,Iw=qg,zc=uy;function cy(ce,Ce){return ce&&Iw(Ce,zc(Ce),ce)}var V0=cy,ff={exports:{}};ff.exports,function(ce,Ce){var Oe=xa,gt=Ce&&!Ce.nodeType&&Ce,Nt=gt&&!0&&ce&&!ce.nodeType&&ce,Ht=Nt&&Nt.exports===gt,fr=Ht?Oe.Buffer:void 0,lr=fr?fr.allocUnsafe:void 0;function Or(Xr,hn){if(hn)return Xr.slice();var Pn=Xr.length,Xn=lr?lr(Pn):new Xr.constructor(Pn);return Xr.copy(Xn),Xn}ce.exports=Or}(ff,ff.exports);var so=ff.exports;function Bd(ce,Ce){var Oe=-1,gt=ce.length;for(Ce||(Ce=Array(gt));++Oe<gt;)Ce[Oe]=ce[Oe];return Ce}var Do=Bd;function Ec(ce,Ce){for(var Oe=-1,gt=ce==null?0:ce.length,Nt=0,Ht=[];++Oe<gt;){var fr=ce[Oe];Ce(fr,Oe,ce)&&(Ht[Nt++]=fr)}return Ht}var kd=Ec;function ly(){return[]}var W2=ly,Kc=kd,hy=W2,Qd=Object.prototype,Vc=Qd.propertyIsEnumerable,Il=Object.getOwnPropertySymbols,q2=Il?function(ce){return ce==null?[]:(ce=Object(ce),Kc(Il(ce),function(Ce){return Vc.call(ce,Ce)}))}:hy,ip=q2,bw=qg,Cw=ip;function z2(ce,Ce){return bw(ce,Cw(ce),Ce)}var Nn=z2;function ap(ce,Ce){for(var Oe=-1,gt=Ce.length,Nt=ce.length;++Oe<gt;)ce[Nt+Oe]=Ce[Oe];return ce}var op=ap,y5=fA,K2=y5(Object.getPrototypeOf,Object),Z0=K2,bl=op,V2=Z0,fy=ip,ww=W2,Z2=Object.getOwnPropertySymbols,X0=Z2?function(ce){for(var Ce=[];ce;)bl(Ce,fy(ce)),ce=V2(ce);return Ce}:ww,sp=X0,Ew=qg,ea=sp;function jr(ce,Ce){return Ew(ce,ea(ce),Ce)}var Ra=jr,ki=op,uu=Nu;function AA(ce,Ce,Oe){var gt=Ce(ce);return uu(ce)?gt:ki(gt,Oe(ce))}var Ay=AA,Zc=Ay,dy=ip,Af=rp;function gy(ce){return Zc(ce,Af,dy)}var Jo=gy,sc=Ay,Bc=sp,up=uy;function Xc(ce){return sc(ce,up,Bc)}var $0=Xc,cp=au,X2=xa,kc=cp(X2,"DataView"),e1=kc,$2=au,py=xa,xi=$2(py,"Promise"),Ba=xi,Bw=au,t1=xa,dA=Bw(t1,"Set"),ja=dA,xd=au,kw=xa,Sd=xd(kw,"WeakMap"),vy=Sd,gA=e1,df=iA,eI=Ba,xh=ja,yy=vy,tI=ec,_d=ql,my="[object Map]",lp="[object Object]",es="[object Promise]",cu="[object Set]",Dd="[object WeakMap]",rI="[object DataView]",Cl=_d(gA),Qw=_d(df),Sh=_d(eI),uc=_d(xh),Vi=_d(yy),wl=tI;(gA&&wl(new gA(new ArrayBuffer(1)))!=rI||df&&wl(new df)!=my||eI&&wl(eI.resolve())!=es||xh&&wl(new xh)!=cu||yy&&wl(new yy)!=Dd)&&(wl=function(ce){var Ce=tI(ce),Oe=Ce==lp?ce.constructor:void 0,gt=Oe?_d(Oe):"";if(gt)switch(gt){case Cl:return rI;case Qw:return my;case Sh:return es;case uc:return cu;case Vi:return Dd}return Ce});var gf=wl,Iy=Object.prototype,fs=Iy.hasOwnProperty;function El(ce){var Ce=ce.length,Oe=new ce.constructor(Ce);return Ce&&typeof ce[0]=="string"&&fs.call(ce,"index")&&(Oe.index=ce.index,Oe.input=ce.input),Oe}var $c=El,r1=xa,hp=r1.Uint8Array,xw=hp,n1=xw;function Sw(ce){var Ce=new ce.constructor(ce.byteLength);return new n1(Ce).set(new n1(ce)),Ce}var ai=Sw,Rd=ai;function fp(ce,Ce){var Oe=Ce?Rd(ce.buffer):ce.buffer;return new ce.constructor(Oe,ce.byteOffset,ce.byteLength)}var to=fp,_w=/\w*$/;function by(ce){var Ce=new ce.constructor(ce.source,_w.exec(ce));return Ce.lastIndex=ce.lastIndex,Ce}var Ap=by,i1=fi,Ys=i1?i1.prototype:void 0,nI=Ys?Ys.valueOf:void 0;function m5(ce){return nI?Object(nI.call(ce)):{}}var Dw=m5,Cy=ai;function wy(ce,Ce){var Oe=Ce?Cy(ce.buffer):ce.buffer;return new ce.constructor(Oe,ce.byteOffset,ce.length)}var pA=wy,Rw=ai,I5=to,Po=Ap,pf=Dw,Ro=pA,Go="[object Boolean]",_h="[object Date]",Ey="[object Map]",Md="[object Number]",b5="[object RegExp]",iI="[object Set]",aI="[object String]",Bl="[object Symbol]",oI="[object ArrayBuffer]",Qs="[object DataView]",Qc="[object Float32Array]",C5="[object Float64Array]",Mw="[object Int8Array]",Zi="[object Int16Array]",sI="[object Int32Array]",Fw="[object Uint8Array]",a1="[object Uint8ClampedArray]",ts="[object Uint16Array]",uI="[object Uint32Array]";function vA(ce,Ce,Oe){var gt=ce.constructor;switch(Ce){case oI:return Rw(ce);case Go:case _h:return new gt(+ce);case Qs:return I5(ce,Oe);case Qc:case C5:case Mw:case Zi:case sI:case Fw:case a1:case ts:case uI:return Ro(ce,Oe);case Ey:return new gt;case Md:case aI:return new gt(ce);case b5:return Po(ce);case iI:return new gt;case Bl:return pf(ce)}}var Js=vA,Tw=yl,Lw=Object.create,ii=function(){function ce(){}return function(Ce){if(!Tw(Ce))return{};if(Lw)return Lw(Ce);ce.prototype=Ce;var Oe=new ce;return ce.prototype=void 0,Oe}}(),cc=ii,By=cc,cI=Z0,ji=Zv;function Ou(ce){return typeof ce.constructor=="function"&&!ji(ce)?By(cI(ce)):{}}var lI=Ou,Xa=gf,yA=uf,o1="[object Map]";function dp(ce){return yA(ce)&&Xa(ce)==o1}var s1=dp,po=s1,ky=lA,Qy=q0,xy=Qy&&Qy.isMap,Sy=xy?ky(xy):po,vo=Sy,Dh=gf,Fa=uf,Fd="[object Set]";function Td(ce){return Fa(ce)&&Dh(ce)==Fd}var Rh=Td,mA=Rh,Xl=lA,kl=q0,xs=kl&&kl.isSet,Ld=xs?Xl(xs):mA,on=Ld,vf=Yg,$l=P0,Nd=E2,IA=ei,hI=V0,u1=so,_y=Do,fI=Nn,eh=Ra,bA=Jo,w5=$0,Nw=gf,AI=$c,lc=Js,gp=lI,E5=Nu,hc=kh,th=vo,yf=yl,Ow=on,B5=rp,fc=uy,Ql=1,k5=2,Pw=4,dI="[object Arguments]",Gw="[object Array]",Dy="[object Boolean]",Uw="[object Date]",jw="[object Error]",pp="[object Function]",c1="[object GeneratorFunction]",Ry="[object Map]",Si="[object Number]",gI="[object Object]",Od="[object RegExp]",Hw="[object Set]",Yw="[object String]",Jw="[object Symbol]",Ws="[object WeakMap]",Ww="[object ArrayBuffer]",Pd="[object DataView]",pI="[object Float32Array]",l1="[object Float64Array]",mf="[object Int8Array]",vp="[object Int16Array]",If="[object Int32Array]",ta="[object Uint8Array]",xc="[object Uint8ClampedArray]",CA="[object Uint16Array]",Q5="[object Uint32Array]",Mn={};Mn[dI]=Mn[Gw]=Mn[Ww]=Mn[Pd]=Mn[Dy]=Mn[Uw]=Mn[pI]=Mn[l1]=Mn[mf]=Mn[vp]=Mn[If]=Mn[Ry]=Mn[Si]=Mn[gI]=Mn[Od]=Mn[Hw]=Mn[Yw]=Mn[Jw]=Mn[ta]=Mn[xc]=Mn[CA]=Mn[Q5]=!0,Mn[jw]=Mn[pp]=Mn[Ws]=!1;function My(ce,Ce,Oe,gt,Nt,Ht){var fr,lr=Ce&Ql,Or=Ce&k5,Xr=Ce&Pw;if(Oe&&(fr=Nt?Oe(ce,gt,Nt,Ht):Oe(ce)),fr!==void 0)return fr;if(!yf(ce))return ce;var hn=E5(ce);if(hn){if(fr=AI(ce),!lr)return _y(ce,fr)}else{var Pn=Nw(ce),Xn=Pn==pp||Pn==c1;if(hc(ce))return u1(ce,lr);if(Pn==gI||Pn==dI||Xn&&!Nt){if(fr=Or||Xn?{}:gp(ce),!lr)return Or?eh(ce,hI(fr,ce)):fI(ce,IA(fr,ce))}else{if(!Mn[Pn])return Nt?ce:{};fr=lc(ce,Pn,lr)}}Ht||(Ht=new vf);var ti=Ht.get(ce);if(ti)return ti;Ht.set(ce,fr),Ow(ce)?ce.forEach(function(Ar){fr.add(My(Ar,Ce,Oe,Ar,ce,Ht))}):th(ce)&&ce.forEach(function(Ar,Ue){fr.set(Ue,My(Ar,Ce,Oe,Ue,ce,Ht))});var Jt=Xr?Or?w5:bA:Or?fc:B5,gr=hn?void 0:Jt(ce);return $l(gr||ce,function(Ar,Ue){gr&&(Ue=Ar,Ar=ce[Ue]),Nd(fr,Ue,My(Ar,Ce,Oe,Ue,ce,Ht))}),fr}var x5=My,qw=ec,zw=uf,vI="[object Symbol]";function lu(ce){return typeof ce=="symbol"||zw(ce)&&qw(ce)==vI}var qs=lu,Ir=Nu,Mh=qs,Ac=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ur=/^\w*$/;function yp(ce,Ce){if(Ir(ce))return!1;var Oe=typeof ce;return Oe=="number"||Oe=="symbol"||Oe=="boolean"||ce==null||Mh(ce)?!0:Ur.test(ce)||!Ac.test(ce)||Ce!=null&&ce in Object(Ce)}var mp=yp,Un=O0,h1="Expected a function";function f1(ce,Ce){if(typeof ce!="function"||Ce!=null&&typeof Ce!="function")throw new TypeError(h1);var Oe=function(){var gt=arguments,Nt=Ce?Ce.apply(this,gt):gt[0],Ht=Oe.cache;if(Ht.has(Nt))return Ht.get(Nt);var fr=ce.apply(this,gt);return Oe.cache=Ht.set(Nt,fr)||Ht,fr};return Oe.cache=new(f1.Cache||Un),Oe}f1.Cache=Un;var Ss=f1,yI=Ss,rs=500;function As(ce){var Ce=yI(ce,function(gt){return Oe.size===rs&&Oe.clear(),gt}),Oe=Ce.cache;return Ce}var Mi=As,dc=Mi,bi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ta=/\\(\\)?/g,Ip=dc(function(ce){var Ce=[];return ce.charCodeAt(0)===46&&Ce.push(""),ce.replace(bi,function(Oe,gt,Nt,Ht){Ce.push(Nt?Ht.replace(Ta,"$1"):gt||Oe)}),Ce}),wA=Ip,Sc=fi,EA=Kt,gc=Nu,zs=qs,Wo=Sc?Sc.prototype:void 0,Gd=Wo?Wo.toString:void 0;function Ud(ce){if(typeof ce=="string")return ce;if(gc(ce))return EA(ce,Ud)+"";if(zs(ce))return Gd?Gd.call(ce):"";var Ce=ce+"";return Ce=="0"&&1/ce==-1/0?"-0":Ce}var Kw=Ud,Vw=Kw;function _c(ce){return ce==null?"":Vw(ce)}var BA=_c,jd=Nu,Hd=mp,Zw=wA,Fh=BA;function bp(ce,Ce){return jd(ce)?ce:Hd(ce,Ce)?[ce]:Zw(Fh(ce))}var Yd=bp;function S5(ce){var Ce=ce==null?0:ce.length;return Ce?ce[Ce-1]:void 0}var mI=S5,II=qs;function A1(ce){if(typeof ce=="string"||II(ce))return ce;var Ce=ce+"";return Ce=="0"&&1/ce==-1/0?"-0":Ce}var xl=A1,bI=Yd,kA=xl;function Dc(ce,Ce){Ce=bI(Ce,ce);for(var Oe=0,gt=Ce.length;ce!=null&&Oe<gt;)ce=ce[kA(Ce[Oe++])];return Oe&&Oe==gt?ce:void 0}var ko=Dc;function Jd(ce,Ce,Oe){var gt=-1,Nt=ce.length;Ce<0&&(Ce=-Ce>Nt?0:Nt+Ce),Oe=Oe>Nt?Nt:Oe,Oe<0&&(Oe+=Nt),Nt=Ce>Oe?0:Oe-Ce>>>0,Ce>>>=0;for(var Ht=Array(Nt);++gt<Nt;)Ht[gt]=ce[gt+Ce];return Ht}var Wd=Jd,CI=ko,Ks=Wd;function Xw(ce,Ce){return Ce.length<2?ce:CI(ce,Ks(Ce,0,-1))}var Fy=Xw,d1=Yd,Ty=mI,_5=Fy,wI=xl;function Cp(ce,Ce){return Ce=d1(Ce,ce),ce=_5(ce,Ce),ce==null||delete ce[wI(Ty(Ce))]}var bf=Cp,$w=ec,Ly=Z0,Ny=uf,QA="[object Object]",ma=Function.prototype,uo=Object.prototype,xA=ma.toString,qd=uo.hasOwnProperty,co=xA.call(Object);function hu(ce){if(!Ny(ce)||$w(ce)!=QA)return!1;var Ce=Ly(ce);if(Ce===null)return!0;var Oe=qd.call(Ce,"constructor")&&Ce.constructor;return typeof Oe=="function"&&Oe instanceof Oe&&xA.call(Oe)==co}var SA=hu,Pu=SA;function D5(ce){return Pu(ce)?void 0:ce}var eE=D5,wp=fi,EI=Jc,zd=Nu,_A=wp?wp.isConcatSpreadable:void 0;function tE(ce){return zd(ce)||EI(ce)||!!(_A&&ce&&ce[_A])}var BI=tE,R5=op,kI=BI;function Ep(ce,Ce,Oe,gt,Nt){var Ht=-1,fr=ce.length;for(Oe||(Oe=kI),Nt||(Nt=[]);++Ht<fr;){var lr=ce[Ht];Ce>0&&Oe(lr)?Ce>1?Ep(lr,Ce-1,Oe,gt,Nt):R5(Nt,lr):gt||(Nt[Nt.length]=lr)}return Nt}var Kd=Ep,Oy=Kd;function Vd(ce){var Ce=ce==null?0:ce.length;return Ce?Oy(ce,1):[]}var QI=Vd;function Py(ce,Ce,Oe){switch(Oe.length){case 0:return ce.call(Ce);case 1:return ce.call(Ce,Oe[0]);case 2:return ce.call(Ce,Oe[0],Oe[1]);case 3:return ce.call(Ce,Oe[0],Oe[1],Oe[2])}return ce.apply(Ce,Oe)}var Zd=Py,xI=Zd,rE=Math.max;function nE(ce,Ce,Oe){return Ce=rE(Ce===void 0?ce.length-1:Ce,0),function(){for(var gt=arguments,Nt=-1,Ht=rE(gt.length-Ce,0),fr=Array(Ht);++Nt<Ht;)fr[Nt]=gt[Ce+Nt];Nt=-1;for(var lr=Array(Ce+1);++Nt<Ce;)lr[Nt]=gt[Nt];return lr[Ce]=Oe(fr),xI(ce,this,lr)}}var SI=nE;function g1(ce){return function(){return ce}}var _I=g1;function DI(ce){return ce}var Xd=DI,M5=_I,RI=Pv,Gy=Xd,iE=RI?function(ce,Ce){return RI(ce,"toString",{configurable:!0,enumerable:!1,value:M5(Ce),writable:!0})}:Gy,Gu=iE,ds=800,fu=16,gs=Date.now;function Rc(ce){var Ce=0,Oe=0;return function(){var gt=gs(),Nt=fu-(gt-Oe);if(Oe=gt,Nt>0){if(++Ce>=ds)return arguments[0]}else Ce=0;return ce.apply(void 0,arguments)}}var Cf=Rc,$d=Gu,p1=Cf,Uu=p1($d),Uy=Uu,rh=QI,wf=SI,ju=Uy;function Sl(ce){return ju(wf(ce,void 0,rh),ce+"")}var aE=Sl,eg=Kt,oE=x5,F5=bf,sE=Yd,Hu=qg,Th=eE,nh=aE,T5=$0,MI=1,jy=2,Yu=4,uE=nh(function(ce,Ce){var Oe={};if(ce==null)return Oe;var gt=!1;Ce=eg(Ce,function(Ht){return Ht=sE(Ht,ce),gt||(gt=Ht.length>1),Ht}),Hu(ce,T5(ce),Oe),gt&&(Oe=oE(Oe,MI|jy|Yu,Th));for(var Nt=Ce.length;Nt--;)F5(Oe,Ce[Nt]);return Oe}),pc=uE;const cE=Eh(pc);var Ju=/\s/;function Vs(ce){for(var Ce=ce.length;Ce--&&Ju.test(ce.charAt(Ce)););return Ce}var Eu=Vs,FI=Eu,lE=/^\s+/;function Bp(ce){return ce&&ce.slice(0,FI(ce)+1).replace(lE,"")}var L5=Bp,Hy=L5,v1=yl,TI=qs,tg=NaN,LI=/^[-+]0x[0-9a-f]+$/i,DA=/^0b[01]+$/i,rg=/^0o[0-7]+$/i,y1=parseInt;function m1(ce){if(typeof ce=="number")return ce;if(TI(ce))return tg;if(v1(ce)){var Ce=typeof ce.valueOf=="function"?ce.valueOf():ce;ce=v1(Ce)?Ce+"":Ce}if(typeof ce!="string")return ce===0?ce:+ce;ce=Hy(ce);var Oe=DA.test(ce);return Oe||rg.test(ce)?y1(ce.slice(2),Oe?2:8):LI.test(ce)?tg:+ce}var ng=m1,N5=ng,O5=1/0,hE=17976931348623157e292;function ig(ce){if(!ce)return ce===0?ce:0;if(ce=N5(ce),ce===O5||ce===-1/0){var Ce=ce<0?-1:1;return Ce*hE}return ce===ce?ce:0}var NI=ig,ga=NI;function Co(ce){var Ce=ga(ce),Oe=Ce%1;return Ce===Ce?Oe?Ce-Oe:Ce:0}var Lh=Co,Nh=Lh,OI="Expected a function";function kp(ce,Ce){if(typeof Ce!="function")throw new TypeError(OI);return ce=Nh(ce),function(){if(--ce<1)return Ce.apply(this,arguments)}}var _l=kp,ag=vy,Oh=ag&&new ag,I1=Oh,PI=Xd,fE=I1,P5=fE?function(ce,Ce){return fE.set(ce,Ce),ce}:PI,AE=P5,el=cc,GI=yl;function Yy(ce){return function(){var Ce=arguments;switch(Ce.length){case 0:return new ce;case 1:return new ce(Ce[0]);case 2:return new ce(Ce[0],Ce[1]);case 3:return new ce(Ce[0],Ce[1],Ce[2]);case 4:return new ce(Ce[0],Ce[1],Ce[2],Ce[3]);case 5:return new ce(Ce[0],Ce[1],Ce[2],Ce[3],Ce[4]);case 6:return new ce(Ce[0],Ce[1],Ce[2],Ce[3],Ce[4],Ce[5]);case 7:return new ce(Ce[0],Ce[1],Ce[2],Ce[3],Ce[4],Ce[5],Ce[6])}var Oe=el(ce.prototype),gt=ce.apply(Oe,Ce);return GI(gt)?gt:Oe}}var b1=Yy,dE=b1,tl=xa,gE=1;function Qp(ce,Ce,Oe){var gt=Ce&gE,Nt=dE(ce);function Ht(){var fr=this&&this!==tl&&this instanceof Ht?Nt:ce;return fr.apply(gt?Oe:this,arguments)}return Ht}var pE=Qp,Dl=Math.max;function og(ce,Ce,Oe,gt){for(var Nt=-1,Ht=ce.length,fr=Oe.length,lr=-1,Or=Ce.length,Xr=Dl(Ht-fr,0),hn=Array(Or+Xr),Pn=!gt;++lr<Or;)hn[lr]=Ce[lr];for(;++Nt<fr;)(Pn||Nt<Ht)&&(hn[Oe[Nt]]=ce[Nt]);for(;Xr--;)hn[lr++]=ce[Nt++];return hn}var Rl=og,C1=Math.max;function UI(ce,Ce,Oe,gt){for(var Nt=-1,Ht=ce.length,fr=-1,lr=Oe.length,Or=-1,Xr=Ce.length,hn=C1(Ht-lr,0),Pn=Array(hn+Xr),Xn=!gt;++Nt<hn;)Pn[Nt]=ce[Nt];for(var ti=Nt;++Or<Xr;)Pn[ti+Or]=Ce[Or];for(;++fr<lr;)(Xn||Nt<Ht)&&(Pn[ti+Oe[fr]]=ce[Nt++]);return Pn}var vE=UI;function w1(ce,Ce){for(var Oe=ce.length,gt=0;Oe--;)ce[Oe]===Ce&&++gt;return gt}var yE=w1;function jI(){}var RA=jI,E1=cc,mE=RA,Jy=4294967295;function MA(ce){this.__wrapped__=ce,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Jy,this.__views__=[]}MA.prototype=E1(mE.prototype),MA.prototype.constructor=MA;var Ml=MA;function Bu(){}var Fl=Bu,Tl=I1,sg=Fl,Wy=Tl?function(ce){return Tl.get(ce)}:sg,xp=Wy,Uo={},_s=Uo,La=_s,Ef=Object.prototype,G5=Ef.hasOwnProperty;function qy(ce){for(var Ce=ce.name+"",Oe=La[Ce],gt=G5.call(La,Ce)?Oe.length:0;gt--;){var Nt=Oe[gt],Ht=Nt.func;if(Ht==null||Ht==ce)return Nt.name}return Ce}var B1=qy,IE=cc,HI=RA;function k1(ce,Ce){this.__wrapped__=ce,this.__actions__=[],this.__chain__=!!Ce,this.__index__=0,this.__values__=void 0}k1.prototype=IE(HI.prototype),k1.prototype.constructor=k1;var zy=k1,FA=Ml,bE=zy,CE=Do;function wE(ce){if(ce instanceof FA)return ce.clone();var Ce=new bE(ce.__wrapped__,ce.__chain__);return Ce.__actions__=CE(ce.__actions__),Ce.__index__=ce.__index__,Ce.__values__=ce.__values__,Ce}var Ky=wE,ug=Ml,EE=zy,BE=RA,U5=Nu,j5=uf,kE=Ky,H5=Object.prototype,Y5=H5.hasOwnProperty;function Ia(ce){if(j5(ce)&&!U5(ce)&&!(ce instanceof ug)){if(ce instanceof EE)return ce;if(Y5.call(ce,"__wrapped__"))return kE(ce)}return new EE(ce)}Ia.prototype=BE.prototype,Ia.prototype.constructor=Ia;var J5=Ia,Sp=Ml,W5=xp,q5=B1,TA=J5;function QE(ce){var Ce=q5(ce),Oe=TA[Ce];if(typeof Oe!="function"||!(Ce in Sp.prototype))return!1;if(ce===Oe)return!0;var gt=W5(Oe);return!!gt&&ce===gt[0]}var YI=QE,Vy=AE,JI=Cf,_p=JI(Vy),Dp=_p,LA=/\{\n\/\* \[wrapped with (.+)\] \*/,WI=/,? & /;function qI(ce){var Ce=ce.match(LA);return Ce?Ce[1].split(WI):[]}var xE=qI,zI=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function z5(ce,Ce){var Oe=Ce.length;if(!Oe)return ce;var gt=Oe-1;return Ce[gt]=(Oe>1?"& ":"")+Ce[gt],Ce=Ce.join(Oe>2?", ":" "),ce.replace(zI,`{
  198. /* [wrapped with `+Ce+`] */
  199. `)}var KI=z5;function Zy(ce,Ce,Oe,gt){for(var Nt=ce.length,Ht=Oe+(gt?1:-1);gt?Ht--:++Ht<Nt;)if(Ce(ce[Ht],Ht,ce))return Ht;return-1}var Ph=Zy;function Mc(ce){return ce!==ce}var Xy=Mc;function Rp(ce,Ce,Oe){for(var gt=Oe-1,Nt=ce.length;++gt<Nt;)if(ce[gt]===Ce)return gt;return-1}var $y=Rp,VI=Ph,ns=Xy,Bf=$y;function kf(ce,Ce,Oe){return Ce===Ce?Bf(ce,Ce,Oe):VI(ce,ns,Oe)}var cg=kf,SE=cg;function K5(ce,Ce){var Oe=ce==null?0:ce.length;return!!Oe&&SE(ce,Ce,0)>-1}var Q1=K5,_E=P0,DE=Q1,RE=1,ZI=2,Gh=8,Mp=16,Fp=32,em=64,x1=128,tm=256,V5=512,ME=[["ary",x1],["bind",RE],["bindKey",ZI],["curry",Gh],["curryRight",Mp],["flip",V5],["partial",Fp],["partialRight",em],["rearg",tm]];function Tp(ce,Ce){return _E(ME,function(Oe){var gt="_."+Oe[0];Ce&Oe[1]&&!DE(ce,gt)&&ce.push(gt)}),ce.sort()}var Lp=Tp,FE=xE,TE=KI,XI=Uy,$I=Lp;function ku(ce,Ce,Oe){var gt=Ce+"";return XI(ce,TE(gt,$I(FE(gt),Oe)))}var lg=ku,eb=YI,rm=Dp,tb=lg,S1=4,Z5=8,_1=32,NA=64;function nm(ce,Ce,Oe,gt,Nt,Ht,fr,lr,Or,Xr){var hn=Ce&Z5,Pn=hn?fr:void 0,Xn=hn?void 0:fr,ti=hn?Ht:void 0,Jt=hn?void 0:Ht;Ce|=hn?_1:NA,Ce&=~(hn?NA:_1),Ce&S1||(Ce&=-4);var gr=[ce,Ce,Nt,ti,Pn,Jt,Xn,lr,Or,Xr],Ar=Oe.apply(void 0,gr);return eb(ce)&&rm(Ar,gr),Ar.placeholder=gt,tb(Ar,ce,Ce)}var D1=nm;function rb(ce){var Ce=ce;return Ce.placeholder}var Ll=rb,im=Do,Qf=Wc,R1=Math.min;function Mo(ce,Ce){for(var Oe=ce.length,gt=R1(Ce.length,Oe),Nt=im(ce);gt--;){var Ht=Ce[gt];ce[gt]=Qf(Ht,Oe)?Nt[Ht]:void 0}return ce}var OA=Mo,am="__lodash_placeholder__";function PA(ce,Ce){for(var Oe=-1,gt=ce.length,Nt=0,Ht=[];++Oe<gt;){var fr=ce[Oe];(fr===Ce||fr===am)&&(ce[Oe]=am,Ht[Nt++]=Oe)}return Ht}var Ds=PA,rl=Rl,nb=vE,X5=yE,Oi=b1,$5=D1,LE=Ll,Np=OA,ek=Ds,NE=xa,Nl=1,Qu=2,Ol=8,Uh=16,GA=128,om=512;function ih(ce,Ce,Oe,gt,Nt,Ht,fr,lr,Or,Xr){var hn=Ce&GA,Pn=Ce&Nl,Xn=Ce&Qu,ti=Ce&(Ol|Uh),Jt=Ce&om,gr=Xn?void 0:Oi(ce);function Ar(){for(var Ue=arguments.length,At=Array(Ue),qt=Ue;qt--;)At[qt]=arguments[qt];if(ti)var Cr=LE(Ar),Sn=X5(At,Cr);if(gt&&(At=rl(At,gt,Nt,ti)),Ht&&(At=nb(At,Ht,fr,ti)),Ue-=Sn,ti&&Ue<Xr){var Qr=ek(At,Cr);return $5(ce,Ce,ih,Ar.placeholder,Oe,At,Qr,lr,Or,Xr-Ue)}var Zn=Pn?Oe:this,Na=Xn?Zn[ce]:ce;return Ue=At.length,lr?At=Np(At,lr):Jt&&Ue>1&&At.reverse(),hn&&Or<Ue&&(At.length=Or),this&&this!==NE&&this instanceof Ar&&(Na=gr||Oi(Na)),Na.apply(Zn,At)}return Ar}var hg=ih,xu=Zd,OE=b1,tk=hg,ib=D1,ab=Ll,ob=Ds,rk=xa;function sb(ce,Ce,Oe){var gt=OE(ce);function Nt(){for(var Ht=arguments.length,fr=Array(Ht),lr=Ht,Or=ab(Nt);lr--;)fr[lr]=arguments[lr];var Xr=Ht<3&&fr[0]!==Or&&fr[Ht-1]!==Or?[]:ob(fr,Or);if(Ht-=Xr.length,Ht<Oe)return ib(ce,Ce,tk,Nt.placeholder,void 0,fr,Xr,void 0,void 0,Oe-Ht);var hn=this&&this!==rk&&this instanceof Nt?gt:ce;return xu(hn,this,fr)}return Nt}var PE=sb,ub=Zd,GE=b1,nk=xa,UE=1;function ik(ce,Ce,Oe,gt){var Nt=Ce&UE,Ht=GE(ce);function fr(){for(var lr=-1,Or=arguments.length,Xr=-1,hn=gt.length,Pn=Array(hn+Or),Xn=this&&this!==nk&&this instanceof fr?Ht:ce;++Xr<hn;)Pn[Xr]=gt[Xr];for(;Or--;)Pn[Xr++]=arguments[++lr];return ub(Xn,Nt?Oe:this,Pn)}return fr}var cb=ik,lb=Rl,ak=vE,hb=Ds,jE="__lodash_placeholder__",Op=1,fg=2,HE=4,fb=8,M1=128,F1=256,YE=Math.min;function JE(ce,Ce){var Oe=ce[1],gt=Ce[1],Nt=Oe|gt,Ht=Nt<(Op|fg|M1),fr=gt==M1&&Oe==fb||gt==M1&&Oe==F1&&ce[7].length<=Ce[8]||gt==(M1|F1)&&Ce[7].length<=Ce[8]&&Oe==fb;if(!(Ht||fr))return ce;gt&Op&&(ce[2]=Ce[2],Nt|=Oe&Op?0:HE);var lr=Ce[3];if(lr){var Or=ce[3];ce[3]=Or?lb(Or,lr,Ce[4]):lr,ce[4]=Or?hb(ce[3],jE):Ce[4]}return lr=Ce[5],lr&&(Or=ce[5],ce[5]=Or?ak(Or,lr,Ce[6]):lr,ce[6]=Or?hb(ce[5],jE):Ce[6]),lr=Ce[7],lr&&(ce[7]=lr),gt&M1&&(ce[8]=ce[8]==null?Ce[8]:YE(ce[8],Ce[8])),ce[9]==null&&(ce[9]=Ce[9]),ce[0]=Ce[0],ce[1]=Nt,ce}var WE=JE,Ab=AE,qE=pE,ok=PE,db=hg,gb=cb,T1=xp,sk=WE,uk=Dp,ck=lg,zE=Lh,lk="Expected a function",KE=1,ah=2,Pp=8,pb=16,sm=32,Wu=64,Gp=Math.max;function Fo(ce,Ce,Oe,gt,Nt,Ht,fr,lr){var Or=Ce&ah;if(!Or&&typeof ce!="function")throw new TypeError(lk);var Xr=gt?gt.length:0;if(Xr||(Ce&=-97,gt=Nt=void 0),fr=fr===void 0?fr:Gp(zE(fr),0),lr=lr===void 0?lr:zE(lr),Xr-=Nt?Nt.length:0,Ce&Wu){var hn=gt,Pn=Nt;gt=Nt=void 0}var Xn=Or?void 0:T1(ce),ti=[ce,Ce,Oe,gt,Nt,hn,Pn,Ht,fr,lr];if(Xn&&sk(ti,Xn),ce=ti[0],Ce=ti[1],Oe=ti[2],gt=ti[3],Nt=ti[4],lr=ti[9]=ti[9]===void 0?Or?0:ce.length:Gp(ti[9]-Xr,0),!lr&&Ce&(Pp|pb)&&(Ce&=-25),!Ce||Ce==KE)var Jt=qE(ce,Ce,Oe);else Ce==Pp||Ce==pb?Jt=ok(ce,Ce,lr):(Ce==sm||Ce==(KE|sm))&&!Nt.length?Jt=gb(ce,Ce,Oe,gt):Jt=db.apply(void 0,ti);var gr=Xn?Ab:uk;return ck(gr(Jt,ti),ce,Ce)}var ps=Fo,VE=ps,Zs=128;function ZE(ce,Ce,Oe){return Ce=Oe?void 0:Ce,Ce=ce&&Ce==null?ce.length:Ce,VE(ce,Zs,void 0,void 0,void 0,void 0,Ce)}var XE=ZE,hk=Lh,fk="Expected a function";function $E(ce,Ce){var Oe;if(typeof Ce!="function")throw new TypeError(fk);return ce=hk(ce),function(){return--ce>0&&(Oe=Ce.apply(this,arguments)),ce<=1&&(Ce=void 0),Oe}}var eB=$E,vb=Xd,L1=SI,N1=Uy;function yb(ce,Ce){return N1(L1(ce,Ce,vb),ce+"")}var oh=yb,Ak=oh,tB=ps,rB=Ll,dk=Ds,gk=1,um=32,Fc=Ak(function(ce,Ce,Oe){var gt=gk;if(Oe.length){var Nt=dk(Oe,rB(Fc));gt|=um}return tB(ce,gt,Ce,Oe,Nt)});Fc.placeholder={};var Up=Fc,mb=oh,nB=ps,Ib=Ll,pk=Ds,iB=1,aB=2,jp=32,Hp=mb(function(ce,Ce,Oe){var gt=iB|aB;if(Oe.length){var Nt=pk(Oe,Ib(Hp));gt|=jp}return nB(Ce,gt,ce,Oe,Nt)});Hp.placeholder={};var un=Hp,sh=ps,Ag=8;function cm(ce,Ce,Oe){Ce=Oe?void 0:Ce;var gt=sh(ce,Ag,void 0,void 0,void 0,void 0,void 0,Ce);return gt.placeholder=cm.placeholder,gt}cm.placeholder={};var oB=cm,sB=ps,uB=16;function bb(ce,Ce,Oe){Ce=Oe?void 0:Ce;var gt=sB(ce,uB,void 0,void 0,void 0,void 0,void 0,Ce);return gt.placeholder=bb.placeholder,gt}bb.placeholder={};var cB=bb,Cb=xa,lB=function(){return Cb.Date.now()},hB=lB,wb=yl,lm=hB,hm=ng,fm="Expected a function",Yp=Math.max,fB=Math.min;function O1(ce,Ce,Oe){var gt,Nt,Ht,fr,lr,Or,Xr=0,hn=!1,Pn=!1,Xn=!0;if(typeof ce!="function")throw new TypeError(fm);Ce=hm(Ce)||0,wb(Oe)&&(hn=!!Oe.leading,Pn="maxWait"in Oe,Ht=Pn?Yp(hm(Oe.maxWait)||0,Ce):Ht,Xn="trailing"in Oe?!!Oe.trailing:Xn);function ti(Qr){var Zn=gt,Na=Nt;return gt=Nt=void 0,Xr=Qr,fr=ce.apply(Na,Zn),fr}function Jt(Qr){return Xr=Qr,lr=setTimeout(Ue,Ce),hn?ti(Qr):fr}function gr(Qr){var Zn=Qr-Or,Na=Qr-Xr,ka=Ce-Zn;return Pn?fB(ka,Ht-Na):ka}function Ar(Qr){var Zn=Qr-Or,Na=Qr-Xr;return Or===void 0||Zn>=Ce||Zn<0||Pn&&Na>=Ht}function Ue(){var Qr=lm();if(Ar(Qr))return At(Qr);lr=setTimeout(Ue,gr(Qr))}function At(Qr){return lr=void 0,Xn&&gt?ti(Qr):(gt=Nt=void 0,fr)}function qt(){lr!==void 0&&clearTimeout(lr),Xr=0,gt=Or=Nt=lr=void 0}function Cr(){return lr===void 0?fr:At(lm())}function Sn(){var Qr=lm(),Zn=Ar(Qr);if(gt=arguments,Nt=this,Or=Qr,Zn){if(lr===void 0)return Jt(Or);if(Pn)return clearTimeout(lr),lr=setTimeout(Ue,Ce),ti(Or)}return lr===void 0&&(lr=setTimeout(Ue,Ce)),fr}return Sn.cancel=qt,Sn.flush=Cr,Sn}var xf=O1,dg="Expected a function";function vk(ce,Ce,Oe){if(typeof ce!="function")throw new TypeError(dg);return setTimeout(function(){ce.apply(void 0,Oe)},Ce)}var jh=vk,Sf=jh,P1=oh,ro=P1(function(ce,Ce){return Sf(ce,1,Ce)}),qo=ro,qa=jh,Au=oh,Eb=ng,Pl=Au(function(ce,Ce,Oe){return qa(ce,Eb(Ce)||0,Oe)}),Jp=Pl,yk=ps,Gl=512;function Wp(ce){return yk(ce,Gl)}var mk=Wp,Bb="Expected a function";function Am(ce){if(typeof ce!="function")throw new TypeError(Bb);return function(){var Ce=arguments;switch(Ce.length){case 0:return!ce.call(this);case 1:return!ce.call(this,Ce[0]);case 2:return!ce.call(this,Ce[0],Ce[1]);case 3:return!ce.call(this,Ce[0],Ce[1],Ce[2])}return!ce.apply(this,Ce)}}var Ik=Am,qu=eB;function AB(ce){return qu(2,ce)}var kb=AB,dm="__lodash_hash_undefined__";function bk(ce){return this.__data__.set(ce,dm),this}var Qb=bk;function dB(ce){return this.__data__.has(ce)}var xb=dB,gm=O0,G1=Qb,qp=xb;function Rs(ce){var Ce=-1,Oe=ce==null?0:ce.length;for(this.__data__=new gm;++Ce<Oe;)this.add(ce[Ce])}Rs.prototype.add=Rs.prototype.push=G1,Rs.prototype.has=qp;var Ck=Rs;function gB(ce,Ce){for(var Oe=-1,gt=ce==null?0:ce.length;++Oe<gt;)if(Ce(ce[Oe],Oe,ce))return!0;return!1}var Sb=gB;function pm(ce,Ce){return ce.has(Ce)}var _b=pm,zp=Ck,vm=Sb,pB=_b,vB=1,uh=2;function ym(ce,Ce,Oe,gt,Nt,Ht){var fr=Oe&vB,lr=ce.length,Or=Ce.length;if(lr!=Or&&!(fr&&Or>lr))return!1;var Xr=Ht.get(ce),hn=Ht.get(Ce);if(Xr&&hn)return Xr==Ce&&hn==ce;var Pn=-1,Xn=!0,ti=Oe&uh?new zp:void 0;for(Ht.set(ce,Ce),Ht.set(Ce,ce);++Pn<lr;){var Jt=ce[Pn],gr=Ce[Pn];if(gt)var Ar=fr?gt(gr,Jt,Pn,Ce,ce,Ht):gt(Jt,gr,Pn,ce,Ce,Ht);if(Ar!==void 0){if(Ar)continue;Xn=!1;break}if(ti){if(!vm(Ce,function(Ue,At){if(!pB(ti,At)&&(Jt===Ue||Nt(Jt,Ue,Oe,gt,Ht)))return ti.push(At)})){Xn=!1;break}}else if(!(Jt===gr||Nt(Jt,gr,Oe,gt,Ht))){Xn=!1;break}}return Ht.delete(ce),Ht.delete(Ce),Xn}var Db=ym;function Xs(ce){var Ce=-1,Oe=Array(ce.size);return ce.forEach(function(gt,Nt){Oe[++Ce]=[Nt,gt]}),Oe}var mm=Xs;function Rb(ce){var Ce=-1,Oe=Array(ce.size);return ce.forEach(function(gt){Oe[++Ce]=gt}),Oe}var yB=Rb,Mb=fi,Fb=xw,Tb=kt,Lb=Db,U1=mm,mB=yB,Nb=1,Im=2,wk="[object Boolean]",IB="[object Date]",j1="[object Error]",H1="[object Map]",Y1="[object Number]",bm="[object RegExp]",Hh="[object Set]",Kp="[object String]",nl="[object Symbol]",no="[object ArrayBuffer]",bB="[object DataView]",Ob=Mb?Mb.prototype:void 0,J1=Ob?Ob.valueOf:void 0;function CB(ce,Ce,Oe,gt,Nt,Ht,fr){switch(Oe){case bB:if(ce.byteLength!=Ce.byteLength||ce.byteOffset!=Ce.byteOffset)return!1;ce=ce.buffer,Ce=Ce.buffer;case no:return!(ce.byteLength!=Ce.byteLength||!Ht(new Fb(ce),new Fb(Ce)));case wk:case IB:case Y1:return Tb(+ce,+Ce);case j1:return ce.name==Ce.name&&ce.message==Ce.message;case bm:case Kp:return ce==Ce+"";case H1:var lr=U1;case Hh:var Or=gt&Nb;if(lr||(lr=mB),ce.size!=Ce.size&&!Or)return!1;var Xr=fr.get(ce);if(Xr)return Xr==Ce;gt|=Im,fr.set(ce,Ce);var hn=Lb(lr(ce),lr(Ce),gt,Nt,Ht,fr);return fr.delete(ce),hn;case nl:if(J1)return J1.call(ce)==J1.call(Ce)}return!1}var Ek=CB,Pb=Jo,Bk=1,Vp=Object.prototype,a=Vp.hasOwnProperty;function c(ce,Ce,Oe,gt,Nt,Ht){var fr=Oe&Bk,lr=Pb(ce),Or=lr.length,Xr=Pb(Ce),hn=Xr.length;if(Or!=hn&&!fr)return!1;for(var Pn=Or;Pn--;){var Xn=lr[Pn];if(!(fr?Xn in Ce:a.call(Ce,Xn)))return!1}var ti=Ht.get(ce),Jt=Ht.get(Ce);if(ti&&Jt)return ti==Ce&&Jt==ce;var gr=!0;Ht.set(ce,Ce),Ht.set(Ce,ce);for(var Ar=fr;++Pn<Or;){Xn=lr[Pn];var Ue=ce[Xn],At=Ce[Xn];if(gt)var qt=fr?gt(At,Ue,Xn,Ce,ce,Ht):gt(Ue,At,Xn,ce,Ce,Ht);if(!(qt===void 0?Ue===At||Nt(Ue,At,Oe,gt,Ht):qt)){gr=!1;break}Ar||(Ar=Xn=="constructor")}if(gr&&!Ar){var Cr=ce.constructor,Sn=Ce.constructor;Cr!=Sn&&"constructor"in ce&&"constructor"in Ce&&!(typeof Cr=="function"&&Cr instanceof Cr&&typeof Sn=="function"&&Sn instanceof Sn)&&(gr=!1)}return Ht.delete(ce),Ht.delete(Ce),gr}var u=c,h=Yg,d=Db,p=Ek,g=u,A=gf,m=Nu,y=kh,b=ep,I=1,E="[object Arguments]",B="[object Array]",S="[object Object]",_=Object.prototype,D=_.hasOwnProperty;function T(ce,Ce,Oe,gt,Nt,Ht){var fr=m(ce),lr=m(Ce),Or=fr?B:A(ce),Xr=lr?B:A(Ce);Or=Or==E?S:Or,Xr=Xr==E?S:Xr;var hn=Or==S,Pn=Xr==S,Xn=Or==Xr;if(Xn&&y(ce)){if(!y(Ce))return!1;fr=!0,hn=!1}if(Xn&&!hn)return Ht||(Ht=new h),fr||b(ce)?d(ce,Ce,Oe,gt,Nt,Ht):p(ce,Ce,Or,Oe,gt,Nt,Ht);if(!(Oe&I)){var ti=hn&&D.call(ce,"__wrapped__"),Jt=Pn&&D.call(Ce,"__wrapped__");if(ti||Jt){var gr=ti?ce.value():ce,Ar=Jt?Ce.value():Ce;return Ht||(Ht=new h),Nt(gr,Ar,Oe,gt,Ht)}}return Xn?(Ht||(Ht=new h),g(ce,Ce,Oe,gt,Nt,Ht)):!1}var F=T,N=F,H=uf;function W(ce,Ce,Oe,gt,Nt){return ce===Ce?!0:ce==null||Ce==null||!H(ce)&&!H(Ce)?ce!==ce&&Ce!==Ce:N(ce,Ce,Oe,gt,W,Nt)}var V=W,te=Yg,ue=V,fe=1,de=2;function Ae(ce,Ce,Oe,gt){var Nt=Oe.length,Ht=Nt,fr=!gt;if(ce==null)return!Ht;for(ce=Object(ce);Nt--;){var lr=Oe[Nt];if(fr&&lr[2]?lr[1]!==ce[lr[0]]:!(lr[0]in ce))return!1}for(;++Nt<Ht;){lr=Oe[Nt];var Or=lr[0],Xr=ce[Or],hn=lr[1];if(fr&&lr[2]){if(Xr===void 0&&!(Or in ce))return!1}else{var Pn=new te;if(gt)var Xn=gt(Xr,hn,Or,ce,Ce,Pn);if(!(Xn===void 0?ue(hn,Xr,fe|de,gt,Pn):Xn))return!1}}return!0}var we=Ae,Z=yl;function ne(ce){return ce===ce&&!Z(ce)}var j=ne,J=j,q=rp;function z(ce){for(var Ce=q(ce),Oe=Ce.length;Oe--;){var gt=Ce[Oe],Nt=ce[gt];Ce[Oe]=[gt,Nt,J(Nt)]}return Ce}var X=z;function se(ce,Ce){return function(Oe){return Oe==null?!1:Oe[ce]===Ce&&(Ce!==void 0||ce in Object(Oe))}}var oe=se,ye=we,ae=X,me=oe;function Fe(ce){var Ce=ae(ce);return Ce.length==1&&Ce[0][2]?me(Ce[0][0],Ce[0][1]):function(Oe){return Oe===ce||ye(Oe,ce,Ce)}}var _e=Fe,rt=ko;function et(ce,Ce,Oe){var gt=ce==null?void 0:rt(ce,Ce);return gt===void 0?Oe:gt}var st=et;function Ge(ce,Ce){return ce!=null&&Ce in Object(ce)}var Be=Ge,Te=Yd,je=Jc,lt=Nu,Me=Wc,Ke=Kg,Rt=xl;function Ie(ce,Ce,Oe){Ce=Te(Ce,ce);for(var gt=-1,Nt=Ce.length,Ht=!1;++gt<Nt;){var fr=Rt(Ce[gt]);if(!(Ht=ce!=null&&Oe(ce,fr)))break;ce=ce[fr]}return Ht||++gt!=Nt?Ht:(Nt=ce==null?0:ce.length,!!Nt&&Ke(Nt)&&Me(fr,Nt)&&(lt(ce)||je(ce)))}var Re=Ie,qe=Be,pt=Re;function Lt(ce,Ce){return ce!=null&&pt(ce,Ce,qe)}var Qe=Lt,_t=V,Ft=st,Ze=Qe,$e=mp,nt=j,Ot=oe,He=xl,Je=1,tt=2;function mt(ce,Ce){return $e(ce)&&nt(Ce)?Ot(He(ce),Ce):function(Oe){var gt=Ft(Oe,ce);return gt===void 0&&gt===Ce?Ze(Oe,ce):_t(Ce,gt,Je|tt)}}var Xe=mt;function Ye(ce){return function(Ce){return Ce==null?void 0:Ce[ce]}}var ot=Ye,yt=ko;function Mt(ce){return function(Ce){return yt(Ce,ce)}}var cr=Mt,$t=ot,Hr=cr,mr=mp,sr=xl;function Yr(ce){return mr(ce)?$t(sr(ce)):Hr(ce)}var Mr=Yr,Dr=_e,nn=Xe,Sr=Xd,tn=Nu,Cn=Mr;function Jn(ce){return typeof ce=="function"?ce:ce==null?Sr:typeof ce=="object"?tn(ce)?nn(ce[0],ce[1]):Dr(ce):Cn(ce)}var Rr=Jn,An=oh,dn=An,br=dn,gn=Zd,wn=Kt,kn=Kd,Dn=Rr,oi=oh,Kr=lA,On=br,Ci=Nu,li=Math.min,ia=On(function(ce,Ce){Ce=Ce.length==1&&Ci(Ce[0])?wn(Ce[0],Kr(Dn)):wn(kn(Ce,1),Kr(Dn));var Oe=Ce.length;return oi(function(gt){for(var Nt=-1,Ht=li(gt.length,Oe);++Nt<Ht;)gt[Nt]=Ce[Nt].call(this,gt[Nt]);return gn(ce,this,gt)})}),ht=ia,Pt=oh,Zt=ps,vn=Ll,jn=Ds,ba=32,aa=Pt(function(ce,Ce){var Oe=jn(Ce,vn(aa));return Zt(ce,ba,void 0,Ce,Oe)});aa.placeholder={};var wo=aa,is=oh,as=ps,vs=Ll,lo=Ds,ra=64,pi=is(function(ce,Ce){var Oe=lo(Ce,vs(pi));return as(ce,ra,void 0,Ce,Oe)});pi.placeholder={};var Ms=pi,Fs=ps,zu=aE,Ul=256,UA=zu(function(ce,Ce){return Fs(ce,Ul,void 0,void 0,void 0,Ce)}),os=UA,Yh=oh,ys=Lh,ch="Expected a function";function _f(ce,Ce){if(typeof ce!="function")throw new TypeError(ch);return Ce=Ce===void 0?Ce:ys(Ce),Yh(ce,Ce)}var Su=_f,Zp=Wd;function jA(ce,Ce,Oe){var gt=ce.length;return Oe=Oe===void 0?gt:Oe,!Ce&&Oe>=gt?ce:Zp(ce,Ce,Oe)}var Xp=jA,$p=Zd,gg=op,e0=oh,du=Xp,t0=Lh,ms="Expected a function",lh=Math.max;function r0(ce,Ce){if(typeof ce!="function")throw new TypeError(ms);return Ce=Ce==null?0:lh(t0(Ce),0),e0(function(Oe){var gt=Oe[Ce],Nt=du(Oe,0,Ce);return gt&&gg(Nt,gt),$p(ce,this,Nt)})}var vc=r0,Ku=xf,pg=yl,yo="Expected a function";function il(ce,Ce,Oe){var gt=!0,Nt=!0;if(typeof ce!="function")throw new TypeError(yo);return pg(Oe)&&(gt="leading"in Oe?!!Oe.leading:gt,Nt="trailing"in Oe?!!Oe.trailing:Nt),Ku(ce,Ce,{leading:gt,maxWait:Ce,trailing:Nt})}var HA=il,Ts=XE;function Qo(ce){return Ts(ce,1)}var hh=Qo,vg=Xd;function gu(ce){return typeof ce=="function"?ce:vg}var pu=gu,yg=pu,mg=wo;function fh(ce,Ce){return mg(yg(Ce),ce)}var Df=fh,Rf={after:_l,ary:XE,before:eB,bind:Up,bindKey:un,curry:oB,curryRight:cB,debounce:xf,defer:qo,delay:Jp,flip:mk,memoize:Ss,negate:Ik,once:kb,overArgs:ht,partial:wo,partialRight:Ms,rearg:os,rest:Su,spread:vc,throttle:HA,unary:hh,wrap:Df};const Ah=(ce,Ce)=>{const Oe=ce.__vccOpts||ce;for(const[gt,Nt]of Ce)Oe[gt]=Nt;return Oe},Jh=`data:text/javascript;base64,${wh(Et)}`,al=`data:text/javascript;base64,${wh(En)}`;let Mf=!1,jo=!1;const bt=ua.defineComponent({name:"VueOfficePdf",props:{src:[String,ArrayBuffer,Blob],requestOptions:{type:Object,default:()=>({})},staticFileUrl:{type:String,default:"https://unpkg.com/pdfjs-dist@3.1.81/"},options:{type:Object,default:()=>({})},defaultScale:{type:Number,default:1}},emits:["rendered","error"],setup(ce,{emit:Ce}){let Oe=null,gt=null;const Nt=ua.ref(null),Ht=ua.ref(null),fr=ua.ref([]),lr=ua.ref(0);let Or=0,Xr=0,hn=0,Pn=0,Xn=6,ti=0,Jt=0,gr=null,Ar=2,Ue=ua.ref(ce.options.defaultScale||1);ua.onBeforeUnmount(()=>{Oe!==null&&(Oe.destroy(),Oe=null,gt=null,gr&&clearTimeout(gr))});function At(){return Ue}function qt(ha){Ue.value=ha,Na()}function Cr(){return xt(Jh).then(()=>{if(window.pdfjsLib&&!jo)jo=!0,window.pdfjsLib.GlobalWorkerOptions.workerSrc=al;else return Promise.reject("window.pdfjsLib未找到")})}function Sn(){return new Promise(ha=>{const fa=()=>{window.pdfjsLib?ha():gr=setTimeout(fa,10)};fa()})}function Qr(){return window.pdfjsLib?Promise.resolve():Mf?Sn():(Mf=!0,Cr())}function Zn(){Ht.value.innerHTML=""}function Na(){if(!ce.src){Zn(),Ce("error",new Error("src不能为空"));return}gt=window.pdfjsLib.getDocument(Wn({url:Zo(ce.src,{type:"application/pdf"}),withCredentials:ce.requestOptions&&ce.requestOptions.withCredentials,cMapUrl:`${ce.staticFileUrl.endsWith("/")?ce.staticFileUrl:ce.staticFileUrl+"/"}cmaps/`,cMapPacked:!0,enableXfa:!0},cE(ce.options,["width"]))),gt.promise.then(ha=>{Oe&&Oe.destroy(),Oe=ha,ka(Oe).then(fa=>{Or=Oe.numPages,Pn=Nt.value.getBoundingClientRect().height,Xr=fa.width,hn=fa.height,ti=fa.canvasWidth,Jt=fa.canvasHeight;let Oa=ce.options.gap||10;Xn=Math.ceil(Pn/(hn+Oa))+4;let Qi=(hn+Oa)*Or-Oa;Ht.value.style.height=Qi+"px",Zn(),Is(1,Math.min(Or,Xn))})}).catch(ha=>{Ce("error",ha)})}function ka(ha){return ha.getPage(1).then(fa=>{let Oa=ce.options.width||Ht.value.getBoundingClientRect().width-20,Qi=fa.getViewport({scale:1});Qi.width>Oa*2?Ar=.5:Qi.width>Oa?Ar=1:Ar=2,Qi=fa.getViewport({scale:Ar*(Ue.value<1?Ue.value:1)});const eu=window.devicePixelRatio>2?1.5:2;let tu=Math.floor(Qi.width*eu),bs=Math.floor(Qi.height*eu),Pa=Math.floor(Qi.width),xo=Math.floor(Qi.height);if(ce.options.width){let n0=ce.options.width/Pa;Pa=Math.floor(ce.options.width),xo=Math.floor(xo*n0)}let ol=Ht.value.getBoundingClientRect().width-20;if(Pa>ol){let n0=ol/Pa;Pa=Math.floor(ol),xo=Math.floor(xo*n0)}return{width:Pa,height:xo,canvasWidth:tu,canvasHeight:bs}}).catch(fa=>{Ce("error",fa)})}const To=Rf.debounce(function(ha){const{scrollTop:fa}=ha.target;let Oa=parseInt(getComputedStyle(Ht.value).paddingTop)||0;const Qi=ce.options.gap||10,eu=Math.max(Math.floor(Math.max(fa-Oa,0)/(hn+Qi))-1,1),tu=Math.min(eu+Xn-1,Or);Is(eu,tu)},60);function Lo(ha){let fa=parseInt(getComputedStyle(Ht.value).paddingTop)||0,Oa=ce.options.gap||10;const Qi=document.createElement("canvas");return Qi.style.position="absolute",Qi.style.top=(ha-1)*(hn+Oa)+fa+"px",Qi.style.left="50%",Qi.style.transform="translate(-50%)",Qi.style.backgroundColor="#fff",Qi.setAttribute("data-id",ha),Qi.width=ti,Qi.height=Jt,Qi.style.width=`${Xr}px`,Qi.style.height=`${hn}px`,Qi}function Is(ha,fa){let Oa=Ht.value,Qi=[...Oa.childNodes],eu=[];if(Oa.childNodes.length===0)for(let tu=ha;tu<=fa;tu++){let bs=Lo(tu);Oa.appendChild(bs),eu.push(Ls(tu,bs))}else{let tu=+Qi[0].getAttribute("data-id"),bs=+Qi[Qi.length-1].getAttribute("data-id");if(fa<tu||ha>bs)for(let Pa=ha;Pa<=fa;Pa++){let xo=Lo(Pa);Oa.appendChild(xo),eu.push(Ls(Pa,xo))}if(ha<tu&&fa>=tu){let Pa=Qi[0];for(let xo=tu-1;xo>=ha;xo--){let ol=Lo(xo);Oa.insertBefore(ol,Pa),Pa=ol,eu.push(Ls(xo,ol))}}for(let Pa=0;Pa<=bs-tu;Pa++){let xo=+Qi[Pa].getAttribute("data-id");(xo<ha||xo>fa)&&Oa.removeChild(Qi[Pa])}if(fa>bs&&ha<=bs)for(let Pa=bs+1;Pa<=fa;Pa++){let xo=Lo(Pa);Oa.appendChild(xo),eu.push(Ls(Pa,xo))}}Promise.all(eu).then(tu=>{Ce("rendered")}).catch(tu=>{Ce("error",tu)})}function Ls(ha,fa){return Oe.getPage(ha).then(Oa=>{const Qi=Oa.getViewport({scale:Ar*(Ue.value<1?Ue.value:1)});let eu=window.devicePixelRatio>2?1.5:2;if(ti*Qi.height!==Jt*Qi.width){let Pa=Math.floor(Qi.width*eu),xo=Math.floor(Qi.height*eu),ol=Jt/xo;eu=eu*ol,fa.width=Pa*ol,fa.style.width=parseInt(fa.style.width)*ol+"px"}const tu=fa.getContext("2d"),bs=eu!==1?[eu,0,0,eu,0,0]:null;return Oa.render({canvasContext:tu,transform:bs,viewport:Qi}).promise})}function $s(){Is(1,Math.min(Or,Xn))}ua.onMounted(()=>{ce.src&&Qr().then(Na).catch(ha=>{console.warn(ha)})}),ua.watch(()=>ce.src,()=>{Qr().then(Na).catch(ha=>{console.warn(ha)})});function Xi(ha){Oe&&Oe._transport&&Oe._transport.getData().then(fa=>{jc(ha||`vue-office-pdf-${new Date().getTime()}.pdf`,fa.buffer)})}return{containerRef:Nt,wrapperRef:Ht,rootRef:fr,numPages:lr,save:Xi,onScrollPdf:To,rerender:$s,userScale:Ue,getScale:At,setScale:qt}}});function Wt(ce,Ce,Oe,gt,Nt,Ht){return vi.openBlock(),vi.createElementBlock("div",{class:"vue-office-pdf",ref:"containerRef",style:{"text-align":"center","overflow-y":"auto",position:"relative"},onScroll:Ce[0]||(Ce[0]=(...fr)=>ce.onScrollPdf&&ce.onScrollPdf(...fr))},[vi.createElementVNode("div",{ref:"wrapperRef",class:"vue-office-pdf-wrapper",style:vi.normalizeStyle([{background:"gray",padding:"30px 0",position:"relative","box-sizing":"content-box"},{width:`${100*(ce.userScale<1?1:ce.userScale)}%`}])},null,4),vi.renderSlot(ce.$slots,"default")],544)}const _r=Ah(bt,[["render",Wt]]);return _r.install=function(ce){ce.component(_r.name,_r)},_r})}(jx)),jx.exports}var ise=nse();const ase=Jx(ise);var Hx={exports:{}},ose=Hx.exports,GG;function sse(){return GG||(GG=1,function(mo,Fg){(function(ua,vi){mo.exports=vi(ND(),OD())})(ose,function(ua,vi){var Bo=function(r,t){return Bo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},Bo(r,t)};function Gs(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Bo(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var Wr=function(){return Wr=Object.assign||function(r){for(var t,e=1,n=arguments.length;e<n;e++){t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},Wr.apply(this,arguments)};function Ua(r,t,e,n){function i(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function l(C){try{v(n.next(C))}catch(w){s(w)}}function f(C){try{v(n.throw(C))}catch(w){s(w)}}function v(C){C.done?o(C.value):i(C.value).then(l,f)}v((n=n.apply(r,[])).next())})}function Va(r,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return s.next=l(0),s.throw=l(1),s.return=l(2),typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(v){return function(C){return f([v,C])}}function f(v){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,v[0]&&(e=0)),e;)try{if(n=1,i&&(o=v[0]&2?i.return:v[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,v[1])).done)return o;switch(i=0,o&&(v=[v[0]&2,o.value]),v[0]){case 0:case 1:o=v;break;case 4:return e.label++,{value:v[1],done:!1};case 5:e.label++,i=v[1],v=[0];continue;case 7:v=e.ops.pop(),e.trys.pop();continue;default:if(o=e.trys,!(o=o.length>0&&o[o.length-1])&&(v[0]===6||v[0]===2)){e=0;continue}if(v[0]===3&&(!o||v[1]>o[0]&&v[1]<o[3])){e.label=v[1];break}if(v[0]===6&&e.label<o[1]){e.label=o[1],o=v;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(v);break}o[2]&&e.ops.pop(),e.trys.pop();continue}v=t.call(r,e)}catch(C){v=[6,C],i=0}finally{n=o=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}}function Wn(r,t,e){for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return r.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var ao=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof W3<"u"?W3:typeof self<"u"?self:{};function En(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Et(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Zo={exports:{}};/*!
  200. JSZip v3.10.1 - A JavaScript class for generating and reading zip files
  201. <http://stuartk.com/jszip>
  202. (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
  203. Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
  204. JSZip uses the library pako released under the MIT license :
  205. https://github.com/nodeca/pako/blob/main/LICENSE
  206. */(function(r,t){(function(e){r.exports=e()})(function(){return function e(n,i,o){function s(v,C){if(!i[v]){if(!n[v]){var w=typeof Et=="function"&&Et;if(!C&&w)return w(v,!0);if(l)return l(v,!0);var x=new Error("Cannot find module '"+v+"'");throw x.code="MODULE_NOT_FOUND",x}var Q=i[v]={exports:{}};n[v][0].call(Q.exports,function(R){var L=n[v][1][R];return s(L||R)},Q,Q.exports,e,n,i,o)}return i[v].exports}for(var l=typeof Et=="function"&&Et,f=0;f<o.length;f++)s(o[f]);return s}({1:[function(e,n,i){var o=e("./utils"),s=e("./support"),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(f){for(var v,C,w,x,Q,R,L,P=[],M=0,k=f.length,G=k,Y=o.getTypeOf(f)!=="string";M<f.length;)G=k-M,w=Y?(v=f[M++],C=M<k?f[M++]:0,M<k?f[M++]:0):(v=f.charCodeAt(M++),C=M<k?f.charCodeAt(M++):0,M<k?f.charCodeAt(M++):0),x=v>>2,Q=(3&v)<<4|C>>4,R=1<G?(15&C)<<2|w>>6:64,L=2<G?63&w:64,P.push(l.charAt(x)+l.charAt(Q)+l.charAt(R)+l.charAt(L));return P.join("")},i.decode=function(f){var v,C,w,x,Q,R,L=0,P=0,M="data:";if(f.substr(0,M.length)===M)throw new Error("Invalid base64 input, it looks like a data url.");var k,G=3*(f=f.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(f.charAt(f.length-1)===l.charAt(64)&&G--,f.charAt(f.length-2)===l.charAt(64)&&G--,G%1!=0)throw new Error("Invalid base64 input, bad content length.");for(k=s.uint8array?new Uint8Array(0|G):new Array(0|G);L<f.length;)v=l.indexOf(f.charAt(L++))<<2|(x=l.indexOf(f.charAt(L++)))>>4,C=(15&x)<<4|(Q=l.indexOf(f.charAt(L++)))>>2,w=(3&Q)<<6|(R=l.indexOf(f.charAt(L++))),k[P++]=v,Q!==64&&(k[P++]=C),R!==64&&(k[P++]=w);return k}},{"./support":30,"./utils":32}],2:[function(e,n,i){var o=e("./external"),s=e("./stream/DataWorker"),l=e("./stream/Crc32Probe"),f=e("./stream/DataLengthProbe");function v(C,w,x,Q,R){this.compressedSize=C,this.uncompressedSize=w,this.crc32=x,this.compression=Q,this.compressedContent=R}v.prototype={getContentWorker:function(){var C=new s(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new f("data_length")),w=this;return C.on("end",function(){if(this.streamInfo.data_length!==w.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),C},getCompressedWorker:function(){return new s(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},v.createWorkerFrom=function(C,w,x){return C.pipe(new l).pipe(new f("uncompressedSize")).pipe(w.compressWorker(x)).pipe(new f("compressedSize")).withStreamInfo("compression",w)},n.exports=v},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,n,i){var o=e("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,n,i){var o=e("./utils"),s=function(){for(var l,f=[],v=0;v<256;v++){l=v;for(var C=0;C<8;C++)l=1&l?3988292384^l>>>1:l>>>1;f[v]=l}return f}();n.exports=function(l,f){return l!==void 0&&l.length?o.getTypeOf(l)!=="string"?function(v,C,w,x){var Q=s,R=x+w;v^=-1;for(var L=x;L<R;L++)v=v>>>8^Q[255&(v^C[L])];return-1^v}(0|f,l,l.length,0):function(v,C,w,x){var Q=s,R=x+w;v^=-1;for(var L=x;L<R;L++)v=v>>>8^Q[255&(v^C.charCodeAt(L))];return-1^v}(0|f,l,l.length,0):0}},{"./utils":32}],5:[function(e,n,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(e,n,i){var o=null;o=typeof Promise<"u"?Promise:e("lie"),n.exports={Promise:o}},{lie:37}],7:[function(e,n,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=e("pako"),l=e("./utils"),f=e("./stream/GenericWorker"),v=o?"uint8array":"array";function C(w,x){f.call(this,"FlateWorker/"+w),this._pako=null,this._pakoAction=w,this._pakoOptions=x,this.meta={}}i.magic="\b\0",l.inherits(C,f),C.prototype.processChunk=function(w){this.meta=w.meta,this._pako===null&&this._createPako(),this._pako.push(l.transformTo(v,w.data),!1)},C.prototype.flush=function(){f.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},C.prototype.cleanUp=function(){f.prototype.cleanUp.call(this),this._pako=null},C.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var w=this;this._pako.onData=function(x){w.push({data:x,meta:w.meta})}},i.compressWorker=function(w){return new C("Deflate",w)},i.uncompressWorker=function(){return new C("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,n,i){function o(Q,R){var L,P="";for(L=0;L<R;L++)P+=String.fromCharCode(255&Q),Q>>>=8;return P}function s(Q,R,L,P,M,k){var G,Y,re=Q.file,ie=Q.compression,le=k!==v.utf8encode,pe=l.transformTo("string",k(re.name)),ve=l.transformTo("string",v.utf8encode(re.name)),Ee=re.comment,Se=l.transformTo("string",k(Ee)),ke=l.transformTo("string",v.utf8encode(Ee)),Le=ve.length!==re.name.length,be=ke.length!==Ee.length,ze="",ut="",ft="",Qt=re.dir,vt=re.date,Gt={crc32:0,compressedSize:0,uncompressedSize:0};R&&!L||(Gt.crc32=Q.crc32,Gt.compressedSize=Q.compressedSize,Gt.uncompressedSize=Q.uncompressedSize);var Ct=0;R&&(Ct|=8),le||!Le&&!be||(Ct|=2048);var St=0,dr=0;Qt&&(St|=16),M==="UNIX"?(dr=798,St|=function(ir,Fn){var Ei=ir;return ir||(Ei=Fn?16893:33204),(65535&Ei)<<16}(re.unixPermissions,Qt)):(dr=20,St|=function(ir){return 63&(ir||0)}(re.dosPermissions)),G=vt.getUTCHours(),G<<=6,G|=vt.getUTCMinutes(),G<<=5,G|=vt.getUTCSeconds()/2,Y=vt.getUTCFullYear()-1980,Y<<=4,Y|=vt.getUTCMonth()+1,Y<<=5,Y|=vt.getUTCDate(),Le&&(ut=o(1,1)+o(C(pe),4)+ve,ze+="up"+o(ut.length,2)+ut),be&&(ft=o(1,1)+o(C(Se),4)+ke,ze+="uc"+o(ft.length,2)+ft);var ur="";return ur+=`
  207. \0`,ur+=o(Ct,2),ur+=ie.magic,ur+=o(G,2),ur+=o(Y,2),ur+=o(Gt.crc32,4),ur+=o(Gt.compressedSize,4),ur+=o(Gt.uncompressedSize,4),ur+=o(pe.length,2),ur+=o(ze.length,2),{fileRecord:w.LOCAL_FILE_HEADER+ur+pe+ze,dirRecord:w.CENTRAL_FILE_HEADER+o(dr,2)+ur+o(Se.length,2)+"\0\0\0\0"+o(St,4)+o(P,4)+pe+ze+Se}}var l=e("../utils"),f=e("../stream/GenericWorker"),v=e("../utf8"),C=e("../crc32"),w=e("../signature");function x(Q,R,L,P){f.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=R,this.zipPlatform=L,this.encodeFileName=P,this.streamFiles=Q,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}l.inherits(x,f),x.prototype.push=function(Q){var R=Q.meta.percent||0,L=this.entriesCount,P=this._sources.length;this.accumulate?this.contentBuffer.push(Q):(this.bytesWritten+=Q.data.length,f.prototype.push.call(this,{data:Q.data,meta:{currentFile:this.currentFile,percent:L?(R+100*(L-P-1))/L:100}}))},x.prototype.openedSource=function(Q){this.currentSourceOffset=this.bytesWritten,this.currentFile=Q.file.name;var R=this.streamFiles&&!Q.file.dir;if(R){var L=s(Q,R,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:L.fileRecord,meta:{percent:0}})}else this.accumulate=!0},x.prototype.closedSource=function(Q){this.accumulate=!1;var R=this.streamFiles&&!Q.file.dir,L=s(Q,R,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(L.dirRecord),R)this.push({data:function(P){return w.DATA_DESCRIPTOR+o(P.crc32,4)+o(P.compressedSize,4)+o(P.uncompressedSize,4)}(Q),meta:{percent:100}});else for(this.push({data:L.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},x.prototype.flush=function(){for(var Q=this.bytesWritten,R=0;R<this.dirRecords.length;R++)this.push({data:this.dirRecords[R],meta:{percent:100}});var L=this.bytesWritten-Q,P=function(M,k,G,Y,re){var ie=l.transformTo("string",re(Y));return w.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(M,2)+o(M,2)+o(k,4)+o(G,4)+o(ie.length,2)+ie}(this.dirRecords.length,L,Q,this.zipComment,this.encodeFileName);this.push({data:P,meta:{percent:100}})},x.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},x.prototype.registerPrevious=function(Q){this._sources.push(Q);var R=this;return Q.on("data",function(L){R.processChunk(L)}),Q.on("end",function(){R.closedSource(R.previous.streamInfo),R._sources.length?R.prepareNextSource():R.end()}),Q.on("error",function(L){R.error(L)}),this},x.prototype.resume=function(){return!!f.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},x.prototype.error=function(Q){var R=this._sources;if(!f.prototype.error.call(this,Q))return!1;for(var L=0;L<R.length;L++)try{R[L].error(Q)}catch{}return!0},x.prototype.lock=function(){f.prototype.lock.call(this);for(var Q=this._sources,R=0;R<Q.length;R++)Q[R].lock()},n.exports=x},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,n,i){var o=e("../compressions"),s=e("./ZipFileWorker");i.generateWorker=function(l,f,v){var C=new s(f.streamFiles,v,f.platform,f.encodeFileName),w=0;try{l.forEach(function(x,Q){w++;var R=function(k,G){var Y=k||G,re=o[Y];if(!re)throw new Error(Y+" is not a valid compression method !");return re}(Q.options.compression,f.compression),L=Q.options.compressionOptions||f.compressionOptions||{},P=Q.dir,M=Q.date;Q._compressWorker(R,L).withStreamInfo("file",{name:x,dir:P,date:M,comment:Q.comment||"",unixPermissions:Q.unixPermissions,dosPermissions:Q.dosPermissions}).pipe(C)}),C.entriesCount=w}catch(x){C.error(x)}return C}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,n,i){function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new o;for(var l in this)typeof this[l]!="function"&&(s[l]=this[l]);return s}}(o.prototype=e("./object")).loadAsync=e("./load"),o.support=e("./support"),o.defaults=e("./defaults"),o.version="3.10.1",o.loadAsync=function(s,l){return new o().loadAsync(s,l)},o.external=e("./external"),n.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,n,i){var o=e("./utils"),s=e("./external"),l=e("./utf8"),f=e("./zipEntries"),v=e("./stream/Crc32Probe"),C=e("./nodejsUtils");function w(x){return new s.Promise(function(Q,R){var L=x.decompressed.getContentWorker().pipe(new v);L.on("error",function(P){R(P)}).on("end",function(){L.streamInfo.crc32!==x.decompressed.crc32?R(new Error("Corrupted zip : CRC32 mismatch")):Q()}).resume()})}n.exports=function(x,Q){var R=this;return Q=o.extend(Q||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:l.utf8decode}),C.isNode&&C.isStream(x)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",x,!0,Q.optimizedBinaryString,Q.base64).then(function(L){var P=new f(Q);return P.load(L),P}).then(function(L){var P=[s.Promise.resolve(L)],M=L.files;if(Q.checkCRC32)for(var k=0;k<M.length;k++)P.push(w(M[k]));return s.Promise.all(P)}).then(function(L){for(var P=L.shift(),M=P.files,k=0;k<M.length;k++){var G=M[k],Y=G.fileNameStr,re=o.resolve(G.fileNameStr);R.file(re,G.decompressed,{binary:!0,optimizedBinaryString:!0,date:G.date,dir:G.dir,comment:G.fileCommentStr.length?G.fileCommentStr:null,unixPermissions:G.unixPermissions,dosPermissions:G.dosPermissions,createFolders:Q.createFolders}),G.dir||(R.file(re).unsafeOriginalName=Y)}return P.zipComment.length&&(R.comment=P.zipComment),R})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,n,i){var o=e("../utils"),s=e("../stream/GenericWorker");function l(f,v){s.call(this,"Nodejs stream input adapter for "+f),this._upstreamEnded=!1,this._bindStream(v)}o.inherits(l,s),l.prototype._bindStream=function(f){var v=this;(this._stream=f).pause(),f.on("data",function(C){v.push({data:C,meta:{percent:0}})}).on("error",function(C){v.isPaused?this.generatedError=C:v.error(C)}).on("end",function(){v.isPaused?v._upstreamEnded=!0:v.end()})},l.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},l.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},n.exports=l},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,n,i){var o=e("readable-stream").Readable;function s(l,f,v){o.call(this,f),this._helper=l;var C=this;l.on("data",function(w,x){C.push(w)||C._helper.pause(),v&&v(x)}).on("error",function(w){C.emit("error",w)}).on("end",function(){C.push(null)})}e("../utils").inherits(s,o),s.prototype._read=function(){this._helper.resume()},n.exports=s},{"../utils":32,"readable-stream":16}],14:[function(e,n,i){n.exports={isNode:typeof Buffer<"u",newBufferFrom:function(o,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,s);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,s)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var s=new Buffer(o);return s.fill(0),s},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(e,n,i){function o(re,ie,le){var pe,ve=l.getTypeOf(ie),Ee=l.extend(le||{},C);Ee.date=Ee.date||new Date,Ee.compression!==null&&(Ee.compression=Ee.compression.toUpperCase()),typeof Ee.unixPermissions=="string"&&(Ee.unixPermissions=parseInt(Ee.unixPermissions,8)),Ee.unixPermissions&&16384&Ee.unixPermissions&&(Ee.dir=!0),Ee.dosPermissions&&16&Ee.dosPermissions&&(Ee.dir=!0),Ee.dir&&(re=M(re)),Ee.createFolders&&(pe=P(re))&&k.call(this,pe,!0);var Se=ve==="string"&&Ee.binary===!1&&Ee.base64===!1;le&&le.binary!==void 0||(Ee.binary=!Se),(ie instanceof w&&ie.uncompressedSize===0||Ee.dir||!ie||ie.length===0)&&(Ee.base64=!1,Ee.binary=!0,ie="",Ee.compression="STORE",ve="string");var ke=null;ke=ie instanceof w||ie instanceof f?ie:R.isNode&&R.isStream(ie)?new L(re,ie):l.prepareContent(re,ie,Ee.binary,Ee.optimizedBinaryString,Ee.base64);var Le=new x(re,ke,Ee);this.files[re]=Le}var s=e("./utf8"),l=e("./utils"),f=e("./stream/GenericWorker"),v=e("./stream/StreamHelper"),C=e("./defaults"),w=e("./compressedObject"),x=e("./zipObject"),Q=e("./generate"),R=e("./nodejsUtils"),L=e("./nodejs/NodejsStreamInputAdapter"),P=function(re){re.slice(-1)==="/"&&(re=re.substring(0,re.length-1));var ie=re.lastIndexOf("/");return 0<ie?re.substring(0,ie):""},M=function(re){return re.slice(-1)!=="/"&&(re+="/"),re},k=function(re,ie){return ie=ie!==void 0?ie:C.createFolders,re=M(re),this.files[re]||o.call(this,re,null,{dir:!0,createFolders:ie}),this.files[re]};function G(re){return Object.prototype.toString.call(re)==="[object RegExp]"}var Y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(re){var ie,le,pe;for(ie in this.files)pe=this.files[ie],(le=ie.slice(this.root.length,ie.length))&&ie.slice(0,this.root.length)===this.root&&re(le,pe)},filter:function(re){var ie=[];return this.forEach(function(le,pe){re(le,pe)&&ie.push(pe)}),ie},file:function(re,ie,le){if(arguments.length!==1)return re=this.root+re,o.call(this,re,ie,le),this;if(G(re)){var pe=re;return this.filter(function(Ee,Se){return!Se.dir&&pe.test(Ee)})}var ve=this.files[this.root+re];return ve&&!ve.dir?ve:null},folder:function(re){if(!re)return this;if(G(re))return this.filter(function(ve,Ee){return Ee.dir&&re.test(ve)});var ie=this.root+re,le=k.call(this,ie),pe=this.clone();return pe.root=le.name,pe},remove:function(re){re=this.root+re;var ie=this.files[re];if(ie||(re.slice(-1)!=="/"&&(re+="/"),ie=this.files[re]),ie&&!ie.dir)delete this.files[re];else for(var le=this.filter(function(ve,Ee){return Ee.name.slice(0,re.length)===re}),pe=0;pe<le.length;pe++)delete this.files[le[pe].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(re){var ie,le={};try{if((le=l.extend(re||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=le.type.toLowerCase(),le.compression=le.compression.toUpperCase(),le.type==="binarystring"&&(le.type="string"),!le.type)throw new Error("No output type specified.");l.checkSupport(le.type),le.platform!=="darwin"&&le.platform!=="freebsd"&&le.platform!=="linux"&&le.platform!=="sunos"||(le.platform="UNIX"),le.platform==="win32"&&(le.platform="DOS");var pe=le.comment||this.comment||"";ie=Q.generateWorker(this,le,pe)}catch(ve){(ie=new f("error")).error(ve)}return new v(ie,le.type||"string",le.mimeType)},generateAsync:function(re,ie){return this.generateInternalStream(re).accumulate(ie)},generateNodeStream:function(re,ie){return(re=re||{}).type||(re.type="nodebuffer"),this.generateInternalStream(re).toNodejsStream(ie)}};n.exports=Y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,n,i){n.exports=e("stream")},{stream:void 0}],17:[function(e,n,i){var o=e("./DataReader");function s(l){o.call(this,l);for(var f=0;f<this.data.length;f++)l[f]=255&l[f]}e("../utils").inherits(s,o),s.prototype.byteAt=function(l){return this.data[this.zero+l]},s.prototype.lastIndexOfSignature=function(l){for(var f=l.charCodeAt(0),v=l.charCodeAt(1),C=l.charCodeAt(2),w=l.charCodeAt(3),x=this.length-4;0<=x;--x)if(this.data[x]===f&&this.data[x+1]===v&&this.data[x+2]===C&&this.data[x+3]===w)return x-this.zero;return-1},s.prototype.readAndCheckSignature=function(l){var f=l.charCodeAt(0),v=l.charCodeAt(1),C=l.charCodeAt(2),w=l.charCodeAt(3),x=this.readData(4);return f===x[0]&&v===x[1]&&C===x[2]&&w===x[3]},s.prototype.readData=function(l){if(this.checkOffset(l),l===0)return[];var f=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,f},n.exports=s},{"../utils":32,"./DataReader":18}],18:[function(e,n,i){var o=e("../utils");function s(l){this.data=l,this.length=l.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(l){this.checkIndex(this.index+l)},checkIndex:function(l){if(this.length<this.zero+l||l<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+l+"). Corrupted zip ?")},setIndex:function(l){this.checkIndex(l),this.index=l},skip:function(l){this.setIndex(this.index+l)},byteAt:function(){},readInt:function(l){var f,v=0;for(this.checkOffset(l),f=this.index+l-1;f>=this.index;f--)v=(v<<8)+this.byteAt(f);return this.index+=l,v},readString:function(l){return o.transformTo("string",this.readData(l))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var l=this.readInt(4);return new Date(Date.UTC(1980+(l>>25&127),(l>>21&15)-1,l>>16&31,l>>11&31,l>>5&63,(31&l)<<1))}},n.exports=s},{"../utils":32}],19:[function(e,n,i){var o=e("./Uint8ArrayReader");function s(l){o.call(this,l)}e("../utils").inherits(s,o),s.prototype.readData=function(l){this.checkOffset(l);var f=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,f},n.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,n,i){var o=e("./DataReader");function s(l){o.call(this,l)}e("../utils").inherits(s,o),s.prototype.byteAt=function(l){return this.data.charCodeAt(this.zero+l)},s.prototype.lastIndexOfSignature=function(l){return this.data.lastIndexOf(l)-this.zero},s.prototype.readAndCheckSignature=function(l){return l===this.readData(4)},s.prototype.readData=function(l){this.checkOffset(l);var f=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,f},n.exports=s},{"../utils":32,"./DataReader":18}],21:[function(e,n,i){var o=e("./ArrayReader");function s(l){o.call(this,l)}e("../utils").inherits(s,o),s.prototype.readData=function(l){if(this.checkOffset(l),l===0)return new Uint8Array(0);var f=this.data.subarray(this.zero+this.index,this.zero+this.index+l);return this.index+=l,f},n.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(e,n,i){var o=e("../utils"),s=e("../support"),l=e("./ArrayReader"),f=e("./StringReader"),v=e("./NodeBufferReader"),C=e("./Uint8ArrayReader");n.exports=function(w){var x=o.getTypeOf(w);return o.checkSupport(x),x!=="string"||s.uint8array?x==="nodebuffer"?new v(w):s.uint8array?new C(o.transformTo("uint8array",w)):new l(o.transformTo("array",w)):new f(w)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,n,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,n,i){var o=e("./GenericWorker"),s=e("../utils");function l(f){o.call(this,"ConvertWorker to "+f),this.destType=f}s.inherits(l,o),l.prototype.processChunk=function(f){this.push({data:s.transformTo(this.destType,f.data),meta:f.meta})},n.exports=l},{"../utils":32,"./GenericWorker":28}],25:[function(e,n,i){var o=e("./GenericWorker"),s=e("../crc32");function l(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(l,o),l.prototype.processChunk=function(f){this.streamInfo.crc32=s(f.data,this.streamInfo.crc32||0),this.push(f)},n.exports=l},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,n,i){var o=e("../utils"),s=e("./GenericWorker");function l(f){s.call(this,"DataLengthProbe for "+f),this.propName=f,this.withStreamInfo(f,0)}o.inherits(l,s),l.prototype.processChunk=function(f){if(f){var v=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=v+f.data.length}s.prototype.processChunk.call(this,f)},n.exports=l},{"../utils":32,"./GenericWorker":28}],27:[function(e,n,i){var o=e("../utils"),s=e("./GenericWorker");function l(f){s.call(this,"DataWorker");var v=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,f.then(function(C){v.dataIsReady=!0,v.data=C,v.max=C&&C.length||0,v.type=o.getTypeOf(C),v.isPaused||v._tickAndRepeat()},function(C){v.error(C)})}o.inherits(l,s),l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},l.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},l.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},l.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var f=null,v=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":f=this.data.substring(this.index,v);break;case"uint8array":f=this.data.subarray(this.index,v);break;case"array":case"nodebuffer":f=this.data.slice(this.index,v)}return this.index=v,this.push({data:f,meta:{percent:this.max?this.index/this.max*100:0}})},n.exports=l},{"../utils":32,"./GenericWorker":28}],28:[function(e,n,i){function o(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,l){return this._listeners[s].push(l),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,l){if(this._listeners[s])for(var f=0;f<this._listeners[s].length;f++)this._listeners[s][f].call(this,l)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var l=this;return s.on("data",function(f){l.processChunk(f)}),s.on("end",function(){l.end()}),s.on("error",function(f){l.error(f)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,l){return this.extraStreamInfo[s]=l,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},n.exports=o},{}],29:[function(e,n,i){var o=e("../utils"),s=e("./ConvertWorker"),l=e("./GenericWorker"),f=e("../base64"),v=e("../support"),C=e("../external"),w=null;if(v.nodestream)try{w=e("../nodejs/NodejsStreamOutputAdapter")}catch{}function x(R,L){return new C.Promise(function(P,M){var k=[],G=R._internalType,Y=R._outputType,re=R._mimeType;R.on("data",function(ie,le){k.push(ie),L&&L(le)}).on("error",function(ie){k=[],M(ie)}).on("end",function(){try{var ie=function(le,pe,ve){switch(le){case"blob":return o.newBlob(o.transformTo("arraybuffer",pe),ve);case"base64":return f.encode(pe);default:return o.transformTo(le,pe)}}(Y,function(le,pe){var ve,Ee=0,Se=null,ke=0;for(ve=0;ve<pe.length;ve++)ke+=pe[ve].length;switch(le){case"string":return pe.join("");case"array":return Array.prototype.concat.apply([],pe);case"uint8array":for(Se=new Uint8Array(ke),ve=0;ve<pe.length;ve++)Se.set(pe[ve],Ee),Ee+=pe[ve].length;return Se;case"nodebuffer":return Buffer.concat(pe);default:throw new Error("concat : unsupported type '"+le+"'")}}(G,k),re);P(ie)}catch(le){M(le)}k=[]}).resume()})}function Q(R,L,P){var M=L;switch(L){case"blob":case"arraybuffer":M="uint8array";break;case"base64":M="string"}try{this._internalType=M,this._outputType=L,this._mimeType=P,o.checkSupport(M),this._worker=R.pipe(new s(M)),R.lock()}catch(k){this._worker=new l("error"),this._worker.error(k)}}Q.prototype={accumulate:function(R){return x(this,R)},on:function(R,L){var P=this;return R==="data"?this._worker.on(R,function(M){L.call(P,M.data,M.meta)}):this._worker.on(R,function(){o.delay(L,arguments,P)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(R){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new w(this,{objectMode:this._outputType!=="nodebuffer"},R)}},n.exports=Q},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,n,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(o),i.blob=s.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!e("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(e,n,i){for(var o=e("./utils"),s=e("./support"),l=e("./nodejsUtils"),f=e("./stream/GenericWorker"),v=new Array(256),C=0;C<256;C++)v[C]=252<=C?6:248<=C?5:240<=C?4:224<=C?3:192<=C?2:1;v[254]=v[254]=1;function w(){f.call(this,"utf-8 decode"),this.leftOver=null}function x(){f.call(this,"utf-8 encode")}i.utf8encode=function(Q){return s.nodebuffer?l.newBufferFrom(Q,"utf-8"):function(R){var L,P,M,k,G,Y=R.length,re=0;for(k=0;k<Y;k++)(64512&(P=R.charCodeAt(k)))==55296&&k+1<Y&&(64512&(M=R.charCodeAt(k+1)))==56320&&(P=65536+(P-55296<<10)+(M-56320),k++),re+=P<128?1:P<2048?2:P<65536?3:4;for(L=s.uint8array?new Uint8Array(re):new Array(re),k=G=0;G<re;k++)(64512&(P=R.charCodeAt(k)))==55296&&k+1<Y&&(64512&(M=R.charCodeAt(k+1)))==56320&&(P=65536+(P-55296<<10)+(M-56320),k++),P<128?L[G++]=P:(P<2048?L[G++]=192|P>>>6:(P<65536?L[G++]=224|P>>>12:(L[G++]=240|P>>>18,L[G++]=128|P>>>12&63),L[G++]=128|P>>>6&63),L[G++]=128|63&P);return L}(Q)},i.utf8decode=function(Q){return s.nodebuffer?o.transformTo("nodebuffer",Q).toString("utf-8"):function(R){var L,P,M,k,G=R.length,Y=new Array(2*G);for(L=P=0;L<G;)if((M=R[L++])<128)Y[P++]=M;else if(4<(k=v[M]))Y[P++]=65533,L+=k-1;else{for(M&=k===2?31:k===3?15:7;1<k&&L<G;)M=M<<6|63&R[L++],k--;1<k?Y[P++]=65533:M<65536?Y[P++]=M:(M-=65536,Y[P++]=55296|M>>10&1023,Y[P++]=56320|1023&M)}return Y.length!==P&&(Y.subarray?Y=Y.subarray(0,P):Y.length=P),o.applyFromCharCode(Y)}(Q=o.transformTo(s.uint8array?"uint8array":"array",Q))},o.inherits(w,f),w.prototype.processChunk=function(Q){var R=o.transformTo(s.uint8array?"uint8array":"array",Q.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var L=R;(R=new Uint8Array(L.length+this.leftOver.length)).set(this.leftOver,0),R.set(L,this.leftOver.length)}else R=this.leftOver.concat(R);this.leftOver=null}var P=function(k,G){var Y;for((G=G||k.length)>k.length&&(G=k.length),Y=G-1;0<=Y&&(192&k[Y])==128;)Y--;return Y<0||Y===0?G:Y+v[k[Y]]>G?Y:G}(R),M=R;P!==R.length&&(s.uint8array?(M=R.subarray(0,P),this.leftOver=R.subarray(P,R.length)):(M=R.slice(0,P),this.leftOver=R.slice(P,R.length))),this.push({data:i.utf8decode(M),meta:Q.meta})},w.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=w,o.inherits(x,f),x.prototype.processChunk=function(Q){this.push({data:i.utf8encode(Q.data),meta:Q.meta})},i.Utf8EncodeWorker=x},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,n,i){var o=e("./support"),s=e("./base64"),l=e("./nodejsUtils"),f=e("./external");function v(L){return L}function C(L,P){for(var M=0;M<L.length;++M)P[M]=255&L.charCodeAt(M);return P}e("setimmediate"),i.newBlob=function(L,P){i.checkSupport("blob");try{return new Blob([L],{type:P})}catch{try{var M=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return M.append(L),M.getBlob(P)}catch{throw new Error("Bug : can't construct the Blob.")}}};var w={stringifyByChunk:function(L,P,M){var k=[],G=0,Y=L.length;if(Y<=M)return String.fromCharCode.apply(null,L);for(;G<Y;)P==="array"||P==="nodebuffer"?k.push(String.fromCharCode.apply(null,L.slice(G,Math.min(G+M,Y)))):k.push(String.fromCharCode.apply(null,L.subarray(G,Math.min(G+M,Y)))),G+=M;return k.join("")},stringifyByChar:function(L){for(var P="",M=0;M<L.length;M++)P+=String.fromCharCode(L[M]);return P},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,l.allocBuffer(1)).length===1}catch{return!1}}()}};function x(L){var P=65536,M=i.getTypeOf(L),k=!0;if(M==="uint8array"?k=w.applyCanBeUsed.uint8array:M==="nodebuffer"&&(k=w.applyCanBeUsed.nodebuffer),k)for(;1<P;)try{return w.stringifyByChunk(L,M,P)}catch{P=Math.floor(P/2)}return w.stringifyByChar(L)}function Q(L,P){for(var M=0;M<L.length;M++)P[M]=L[M];return P}i.applyFromCharCode=x;var R={};R.string={string:v,array:function(L){return C(L,new Array(L.length))},arraybuffer:function(L){return R.string.uint8array(L).buffer},uint8array:function(L){return C(L,new Uint8Array(L.length))},nodebuffer:function(L){return C(L,l.allocBuffer(L.length))}},R.array={string:x,array:v,arraybuffer:function(L){return new Uint8Array(L).buffer},uint8array:function(L){return new Uint8Array(L)},nodebuffer:function(L){return l.newBufferFrom(L)}},R.arraybuffer={string:function(L){return x(new Uint8Array(L))},array:function(L){return Q(new Uint8Array(L),new Array(L.byteLength))},arraybuffer:v,uint8array:function(L){return new Uint8Array(L)},nodebuffer:function(L){return l.newBufferFrom(new Uint8Array(L))}},R.uint8array={string:x,array:function(L){return Q(L,new Array(L.length))},arraybuffer:function(L){return L.buffer},uint8array:v,nodebuffer:function(L){return l.newBufferFrom(L)}},R.nodebuffer={string:x,array:function(L){return Q(L,new Array(L.length))},arraybuffer:function(L){return R.nodebuffer.uint8array(L).buffer},uint8array:function(L){return Q(L,new Uint8Array(L.length))},nodebuffer:v},i.transformTo=function(L,P){if(P=P||"",!L)return P;i.checkSupport(L);var M=i.getTypeOf(P);return R[M][L](P)},i.resolve=function(L){for(var P=L.split("/"),M=[],k=0;k<P.length;k++){var G=P[k];G==="."||G===""&&k!==0&&k!==P.length-1||(G===".."?M.pop():M.push(G))}return M.join("/")},i.getTypeOf=function(L){return typeof L=="string"?"string":Object.prototype.toString.call(L)==="[object Array]"?"array":o.nodebuffer&&l.isBuffer(L)?"nodebuffer":o.uint8array&&L instanceof Uint8Array?"uint8array":o.arraybuffer&&L instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(L){if(!o[L.toLowerCase()])throw new Error(L+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(L){var P,M,k="";for(M=0;M<(L||"").length;M++)k+="\\x"+((P=L.charCodeAt(M))<16?"0":"")+P.toString(16).toUpperCase();return k},i.delay=function(L,P,M){setImmediate(function(){L.apply(M||null,P||[])})},i.inherits=function(L,P){function M(){}M.prototype=P.prototype,L.prototype=new M},i.extend=function(){var L,P,M={};for(L=0;L<arguments.length;L++)for(P in arguments[L])Object.prototype.hasOwnProperty.call(arguments[L],P)&&M[P]===void 0&&(M[P]=arguments[L][P]);return M},i.prepareContent=function(L,P,M,k,G){return f.Promise.resolve(P).then(function(Y){return o.blob&&(Y instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(Y))!==-1)&&typeof FileReader<"u"?new f.Promise(function(re,ie){var le=new FileReader;le.onload=function(pe){re(pe.target.result)},le.onerror=function(pe){ie(pe.target.error)},le.readAsArrayBuffer(Y)}):Y}).then(function(Y){var re=i.getTypeOf(Y);return re?(re==="arraybuffer"?Y=i.transformTo("uint8array",Y):re==="string"&&(G?Y=s.decode(Y):M&&k!==!0&&(Y=function(ie){return C(ie,o.uint8array?new Uint8Array(ie.length):new Array(ie.length))}(Y))),Y):f.Promise.reject(new Error("Can't read the data of '"+L+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,n,i){var o=e("./reader/readerFor"),s=e("./utils"),l=e("./signature"),f=e("./zipEntry"),v=e("./support");function C(w){this.files=[],this.loadOptions=w}C.prototype={checkSignature:function(w){if(!this.reader.readAndCheckSignature(w)){this.reader.index-=4;var x=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(x)+", expected "+s.pretty(w)+")")}},isSignature:function(w,x){var Q=this.reader.index;this.reader.setIndex(w);var R=this.reader.readString(4)===x;return this.reader.setIndex(Q),R},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var w=this.reader.readData(this.zipCommentLength),x=v.uint8array?"uint8array":"array",Q=s.transformTo(x,w);this.zipComment=this.loadOptions.decodeFileName(Q)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var w,x,Q,R=this.zip64EndOfCentralSize-44;0<R;)w=this.reader.readInt(2),x=this.reader.readInt(4),Q=this.reader.readData(x),this.zip64ExtensibleData[w]={id:w,length:x,value:Q}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var w,x;for(w=0;w<this.files.length;w++)x=this.files[w],this.reader.setIndex(x.localHeaderOffset),this.checkSignature(l.LOCAL_FILE_HEADER),x.readLocalPart(this.reader),x.handleUTF8(),x.processAttributes()},readCentralDir:function(){var w;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(l.CENTRAL_FILE_HEADER);)(w=new f({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(w);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var w=this.reader.lastIndexOfSignature(l.CENTRAL_DIRECTORY_END);if(w<0)throw this.isSignature(0,l.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(w);var x=w;if(this.checkSignature(l.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(w=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(w),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,l.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var Q=this.centralDirOffset+this.centralDirSize;this.zip64&&(Q+=20,Q+=12+this.zip64EndOfCentralSize);var R=x-Q;if(0<R)this.isSignature(x,l.CENTRAL_FILE_HEADER)||(this.reader.zero=R);else if(R<0)throw new Error("Corrupted zip: missing "+Math.abs(R)+" bytes.")},prepareReader:function(w){this.reader=o(w)},load:function(w){this.prepareReader(w),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},n.exports=C},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,n,i){var o=e("./reader/readerFor"),s=e("./utils"),l=e("./compressedObject"),f=e("./crc32"),v=e("./utf8"),C=e("./compressions"),w=e("./support");function x(Q,R){this.options=Q,this.loadOptions=R}x.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(Q){var R,L;if(Q.skip(22),this.fileNameLength=Q.readInt(2),L=Q.readInt(2),this.fileName=Q.readData(this.fileNameLength),Q.skip(L),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((R=function(P){for(var M in C)if(Object.prototype.hasOwnProperty.call(C,M)&&C[M].magic===P)return C[M];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new l(this.compressedSize,this.uncompressedSize,this.crc32,R,Q.readData(this.compressedSize))},readCentralPart:function(Q){this.versionMadeBy=Q.readInt(2),Q.skip(2),this.bitFlag=Q.readInt(2),this.compressionMethod=Q.readString(2),this.date=Q.readDate(),this.crc32=Q.readInt(4),this.compressedSize=Q.readInt(4),this.uncompressedSize=Q.readInt(4);var R=Q.readInt(2);if(this.extraFieldsLength=Q.readInt(2),this.fileCommentLength=Q.readInt(2),this.diskNumberStart=Q.readInt(2),this.internalFileAttributes=Q.readInt(2),this.externalFileAttributes=Q.readInt(4),this.localHeaderOffset=Q.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");Q.skip(R),this.readExtraFields(Q),this.parseZIP64ExtraField(Q),this.fileComment=Q.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var Q=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),Q==0&&(this.dosPermissions=63&this.externalFileAttributes),Q==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var Q=o(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=Q.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=Q.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=Q.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=Q.readInt(4))}},readExtraFields:function(Q){var R,L,P,M=Q.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});Q.index+4<M;)R=Q.readInt(2),L=Q.readInt(2),P=Q.readData(L),this.extraFields[R]={id:R,length:L,value:P};Q.setIndex(M)},handleUTF8:function(){var Q=w.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=v.utf8decode(this.fileName),this.fileCommentStr=v.utf8decode(this.fileComment);else{var R=this.findExtraFieldUnicodePath();if(R!==null)this.fileNameStr=R;else{var L=s.transformTo(Q,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(L)}var P=this.findExtraFieldUnicodeComment();if(P!==null)this.fileCommentStr=P;else{var M=s.transformTo(Q,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(M)}}},findExtraFieldUnicodePath:function(){var Q=this.extraFields[28789];if(Q){var R=o(Q.value);return R.readInt(1)!==1||f(this.fileName)!==R.readInt(4)?null:v.utf8decode(R.readData(Q.length-5))}return null},findExtraFieldUnicodeComment:function(){var Q=this.extraFields[25461];if(Q){var R=o(Q.value);return R.readInt(1)!==1||f(this.fileComment)!==R.readInt(4)?null:v.utf8decode(R.readData(Q.length-5))}return null}},n.exports=x},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,n,i){function o(R,L,P){this.name=R,this.dir=P.dir,this.date=P.date,this.comment=P.comment,this.unixPermissions=P.unixPermissions,this.dosPermissions=P.dosPermissions,this._data=L,this._dataBinary=P.binary,this.options={compression:P.compression,compressionOptions:P.compressionOptions}}var s=e("./stream/StreamHelper"),l=e("./stream/DataWorker"),f=e("./utf8"),v=e("./compressedObject"),C=e("./stream/GenericWorker");o.prototype={internalStream:function(R){var L=null,P="string";try{if(!R)throw new Error("No output type specified.");var M=(P=R.toLowerCase())==="string"||P==="text";P!=="binarystring"&&P!=="text"||(P="string"),L=this._decompressWorker();var k=!this._dataBinary;k&&!M&&(L=L.pipe(new f.Utf8EncodeWorker)),!k&&M&&(L=L.pipe(new f.Utf8DecodeWorker))}catch(G){(L=new C("error")).error(G)}return new s(L,P,"")},async:function(R,L){return this.internalStream(R).accumulate(L)},nodeStream:function(R,L){return this.internalStream(R||"nodebuffer").toNodejsStream(L)},_compressWorker:function(R,L){if(this._data instanceof v&&this._data.compression.magic===R.magic)return this._data.getCompressedWorker();var P=this._decompressWorker();return this._dataBinary||(P=P.pipe(new f.Utf8EncodeWorker)),v.createWorkerFrom(P,R,L)},_decompressWorker:function(){return this._data instanceof v?this._data.getContentWorker():this._data instanceof C?this._data:new l(this._data)}};for(var w=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],x=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Q=0;Q<w.length;Q++)o.prototype[w[Q]]=x;n.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,n,i){(function(o){var s,l,f=o.MutationObserver||o.WebKitMutationObserver;if(f){var v=0,C=new f(R),w=o.document.createTextNode("");C.observe(w,{characterData:!0}),s=function(){w.data=v=++v%2}}else if(o.setImmediate||o.MessageChannel===void 0)s="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var L=o.document.createElement("script");L.onreadystatechange=function(){R(),L.onreadystatechange=null,L.parentNode.removeChild(L),L=null},o.document.documentElement.appendChild(L)}:function(){setTimeout(R,0)};else{var x=new o.MessageChannel;x.port1.onmessage=R,s=function(){x.port2.postMessage(0)}}var Q=[];function R(){var L,P;l=!0;for(var M=Q.length;M;){for(P=Q,Q=[],L=-1;++L<M;)P[L]();M=Q.length}l=!1}n.exports=function(L){Q.push(L)!==1||l||s()}}).call(this,typeof ao<"u"?ao:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(e,n,i){var o=e("immediate");function s(){}var l={},f=["REJECTED"],v=["FULFILLED"],C=["PENDING"];function w(M){if(typeof M!="function")throw new TypeError("resolver must be a function");this.state=C,this.queue=[],this.outcome=void 0,M!==s&&L(this,M)}function x(M,k,G){this.promise=M,typeof k=="function"&&(this.onFulfilled=k,this.callFulfilled=this.otherCallFulfilled),typeof G=="function"&&(this.onRejected=G,this.callRejected=this.otherCallRejected)}function Q(M,k,G){o(function(){var Y;try{Y=k(G)}catch(re){return l.reject(M,re)}Y===M?l.reject(M,new TypeError("Cannot resolve promise with itself")):l.resolve(M,Y)})}function R(M){var k=M&&M.then;if(M&&(typeof M=="object"||typeof M=="function")&&typeof k=="function")return function(){k.apply(M,arguments)}}function L(M,k){var G=!1;function Y(le){G||(G=!0,l.reject(M,le))}function re(le){G||(G=!0,l.resolve(M,le))}var ie=P(function(){k(re,Y)});ie.status==="error"&&Y(ie.value)}function P(M,k){var G={};try{G.value=M(k),G.status="success"}catch(Y){G.status="error",G.value=Y}return G}(n.exports=w).prototype.finally=function(M){if(typeof M!="function")return this;var k=this.constructor;return this.then(function(G){return k.resolve(M()).then(function(){return G})},function(G){return k.resolve(M()).then(function(){throw G})})},w.prototype.catch=function(M){return this.then(null,M)},w.prototype.then=function(M,k){if(typeof M!="function"&&this.state===v||typeof k!="function"&&this.state===f)return this;var G=new this.constructor(s);return this.state!==C?Q(G,this.state===v?M:k,this.outcome):this.queue.push(new x(G,M,k)),G},x.prototype.callFulfilled=function(M){l.resolve(this.promise,M)},x.prototype.otherCallFulfilled=function(M){Q(this.promise,this.onFulfilled,M)},x.prototype.callRejected=function(M){l.reject(this.promise,M)},x.prototype.otherCallRejected=function(M){Q(this.promise,this.onRejected,M)},l.resolve=function(M,k){var G=P(R,k);if(G.status==="error")return l.reject(M,G.value);var Y=G.value;if(Y)L(M,Y);else{M.state=v,M.outcome=k;for(var re=-1,ie=M.queue.length;++re<ie;)M.queue[re].callFulfilled(k)}return M},l.reject=function(M,k){M.state=f,M.outcome=k;for(var G=-1,Y=M.queue.length;++G<Y;)M.queue[G].callRejected(k);return M},w.resolve=function(M){return M instanceof this?M:l.resolve(new this(s),M)},w.reject=function(M){var k=new this(s);return l.reject(k,M)},w.all=function(M){var k=this;if(Object.prototype.toString.call(M)!=="[object Array]")return this.reject(new TypeError("must be an array"));var G=M.length,Y=!1;if(!G)return this.resolve([]);for(var re=new Array(G),ie=0,le=-1,pe=new this(s);++le<G;)ve(M[le],le);return pe;function ve(Ee,Se){k.resolve(Ee).then(function(ke){re[Se]=ke,++ie!==G||Y||(Y=!0,l.resolve(pe,re))},function(ke){Y||(Y=!0,l.reject(pe,ke))})}},w.race=function(M){var k=this;if(Object.prototype.toString.call(M)!=="[object Array]")return this.reject(new TypeError("must be an array"));var G=M.length,Y=!1;if(!G)return this.resolve([]);for(var re=-1,ie=new this(s);++re<G;)le=M[re],k.resolve(le).then(function(pe){Y||(Y=!0,l.resolve(ie,pe))},function(pe){Y||(Y=!0,l.reject(ie,pe))});var le;return ie}},{immediate:36}],38:[function(e,n,i){var o={};(0,e("./lib/utils/common").assign)(o,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),n.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,n,i){var o=e("./zlib/deflate"),s=e("./utils/common"),l=e("./utils/strings"),f=e("./zlib/messages"),v=e("./zlib/zstream"),C=Object.prototype.toString,w=0,x=-1,Q=0,R=8;function L(M){if(!(this instanceof L))return new L(M);this.options=s.assign({level:x,method:R,chunkSize:16384,windowBits:15,memLevel:8,strategy:Q,to:""},M||{});var k=this.options;k.raw&&0<k.windowBits?k.windowBits=-k.windowBits:k.gzip&&0<k.windowBits&&k.windowBits<16&&(k.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new v,this.strm.avail_out=0;var G=o.deflateInit2(this.strm,k.level,k.method,k.windowBits,k.memLevel,k.strategy);if(G!==w)throw new Error(f[G]);if(k.header&&o.deflateSetHeader(this.strm,k.header),k.dictionary){var Y;if(Y=typeof k.dictionary=="string"?l.string2buf(k.dictionary):C.call(k.dictionary)==="[object ArrayBuffer]"?new Uint8Array(k.dictionary):k.dictionary,(G=o.deflateSetDictionary(this.strm,Y))!==w)throw new Error(f[G]);this._dict_set=!0}}function P(M,k){var G=new L(k);if(G.push(M,!0),G.err)throw G.msg||f[G.err];return G.result}L.prototype.push=function(M,k){var G,Y,re=this.strm,ie=this.options.chunkSize;if(this.ended)return!1;Y=k===~~k?k:k===!0?4:0,typeof M=="string"?re.input=l.string2buf(M):C.call(M)==="[object ArrayBuffer]"?re.input=new Uint8Array(M):re.input=M,re.next_in=0,re.avail_in=re.input.length;do{if(re.avail_out===0&&(re.output=new s.Buf8(ie),re.next_out=0,re.avail_out=ie),(G=o.deflate(re,Y))!==1&&G!==w)return this.onEnd(G),!(this.ended=!0);re.avail_out!==0&&(re.avail_in!==0||Y!==4&&Y!==2)||(this.options.to==="string"?this.onData(l.buf2binstring(s.shrinkBuf(re.output,re.next_out))):this.onData(s.shrinkBuf(re.output,re.next_out)))}while((0<re.avail_in||re.avail_out===0)&&G!==1);return Y===4?(G=o.deflateEnd(this.strm),this.onEnd(G),this.ended=!0,G===w):Y!==2||(this.onEnd(w),!(re.avail_out=0))},L.prototype.onData=function(M){this.chunks.push(M)},L.prototype.onEnd=function(M){M===w&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=M,this.msg=this.strm.msg},i.Deflate=L,i.deflate=P,i.deflateRaw=function(M,k){return(k=k||{}).raw=!0,P(M,k)},i.gzip=function(M,k){return(k=k||{}).gzip=!0,P(M,k)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,n,i){var o=e("./zlib/inflate"),s=e("./utils/common"),l=e("./utils/strings"),f=e("./zlib/constants"),v=e("./zlib/messages"),C=e("./zlib/zstream"),w=e("./zlib/gzheader"),x=Object.prototype.toString;function Q(L){if(!(this instanceof Q))return new Q(L);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},L||{});var P=this.options;P.raw&&0<=P.windowBits&&P.windowBits<16&&(P.windowBits=-P.windowBits,P.windowBits===0&&(P.windowBits=-15)),!(0<=P.windowBits&&P.windowBits<16)||L&&L.windowBits||(P.windowBits+=32),15<P.windowBits&&P.windowBits<48&&!(15&P.windowBits)&&(P.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new C,this.strm.avail_out=0;var M=o.inflateInit2(this.strm,P.windowBits);if(M!==f.Z_OK)throw new Error(v[M]);this.header=new w,o.inflateGetHeader(this.strm,this.header)}function R(L,P){var M=new Q(P);if(M.push(L,!0),M.err)throw M.msg||v[M.err];return M.result}Q.prototype.push=function(L,P){var M,k,G,Y,re,ie,le=this.strm,pe=this.options.chunkSize,ve=this.options.dictionary,Ee=!1;if(this.ended)return!1;k=P===~~P?P:P===!0?f.Z_FINISH:f.Z_NO_FLUSH,typeof L=="string"?le.input=l.binstring2buf(L):x.call(L)==="[object ArrayBuffer]"?le.input=new Uint8Array(L):le.input=L,le.next_in=0,le.avail_in=le.input.length;do{if(le.avail_out===0&&(le.output=new s.Buf8(pe),le.next_out=0,le.avail_out=pe),(M=o.inflate(le,f.Z_NO_FLUSH))===f.Z_NEED_DICT&&ve&&(ie=typeof ve=="string"?l.string2buf(ve):x.call(ve)==="[object ArrayBuffer]"?new Uint8Array(ve):ve,M=o.inflateSetDictionary(this.strm,ie)),M===f.Z_BUF_ERROR&&Ee===!0&&(M=f.Z_OK,Ee=!1),M!==f.Z_STREAM_END&&M!==f.Z_OK)return this.onEnd(M),!(this.ended=!0);le.next_out&&(le.avail_out!==0&&M!==f.Z_STREAM_END&&(le.avail_in!==0||k!==f.Z_FINISH&&k!==f.Z_SYNC_FLUSH)||(this.options.to==="string"?(G=l.utf8border(le.output,le.next_out),Y=le.next_out-G,re=l.buf2string(le.output,G),le.next_out=Y,le.avail_out=pe-Y,Y&&s.arraySet(le.output,le.output,G,Y,0),this.onData(re)):this.onData(s.shrinkBuf(le.output,le.next_out)))),le.avail_in===0&&le.avail_out===0&&(Ee=!0)}while((0<le.avail_in||le.avail_out===0)&&M!==f.Z_STREAM_END);return M===f.Z_STREAM_END&&(k=f.Z_FINISH),k===f.Z_FINISH?(M=o.inflateEnd(this.strm),this.onEnd(M),this.ended=!0,M===f.Z_OK):k!==f.Z_SYNC_FLUSH||(this.onEnd(f.Z_OK),!(le.avail_out=0))},Q.prototype.onData=function(L){this.chunks.push(L)},Q.prototype.onEnd=function(L){L===f.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=L,this.msg=this.strm.msg},i.Inflate=Q,i.inflate=R,i.inflateRaw=function(L,P){return(P=P||{}).raw=!0,R(L,P)},i.ungzip=R},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,n,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(f){for(var v=Array.prototype.slice.call(arguments,1);v.length;){var C=v.shift();if(C){if(typeof C!="object")throw new TypeError(C+"must be non-object");for(var w in C)C.hasOwnProperty(w)&&(f[w]=C[w])}}return f},i.shrinkBuf=function(f,v){return f.length===v?f:f.subarray?f.subarray(0,v):(f.length=v,f)};var s={arraySet:function(f,v,C,w,x){if(v.subarray&&f.subarray)f.set(v.subarray(C,C+w),x);else for(var Q=0;Q<w;Q++)f[x+Q]=v[C+Q]},flattenChunks:function(f){var v,C,w,x,Q,R;for(v=w=0,C=f.length;v<C;v++)w+=f[v].length;for(R=new Uint8Array(w),v=x=0,C=f.length;v<C;v++)Q=f[v],R.set(Q,x),x+=Q.length;return R}},l={arraySet:function(f,v,C,w,x){for(var Q=0;Q<w;Q++)f[x+Q]=v[C+Q]},flattenChunks:function(f){return[].concat.apply([],f)}};i.setTyped=function(f){f?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,s)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,l))},i.setTyped(o)},{}],42:[function(e,n,i){var o=e("./common"),s=!0,l=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{l=!1}for(var f=new o.Buf8(256),v=0;v<256;v++)f[v]=252<=v?6:248<=v?5:240<=v?4:224<=v?3:192<=v?2:1;function C(w,x){if(x<65537&&(w.subarray&&l||!w.subarray&&s))return String.fromCharCode.apply(null,o.shrinkBuf(w,x));for(var Q="",R=0;R<x;R++)Q+=String.fromCharCode(w[R]);return Q}f[254]=f[254]=1,i.string2buf=function(w){var x,Q,R,L,P,M=w.length,k=0;for(L=0;L<M;L++)(64512&(Q=w.charCodeAt(L)))==55296&&L+1<M&&(64512&(R=w.charCodeAt(L+1)))==56320&&(Q=65536+(Q-55296<<10)+(R-56320),L++),k+=Q<128?1:Q<2048?2:Q<65536?3:4;for(x=new o.Buf8(k),L=P=0;P<k;L++)(64512&(Q=w.charCodeAt(L)))==55296&&L+1<M&&(64512&(R=w.charCodeAt(L+1)))==56320&&(Q=65536+(Q-55296<<10)+(R-56320),L++),Q<128?x[P++]=Q:(Q<2048?x[P++]=192|Q>>>6:(Q<65536?x[P++]=224|Q>>>12:(x[P++]=240|Q>>>18,x[P++]=128|Q>>>12&63),x[P++]=128|Q>>>6&63),x[P++]=128|63&Q);return x},i.buf2binstring=function(w){return C(w,w.length)},i.binstring2buf=function(w){for(var x=new o.Buf8(w.length),Q=0,R=x.length;Q<R;Q++)x[Q]=w.charCodeAt(Q);return x},i.buf2string=function(w,x){var Q,R,L,P,M=x||w.length,k=new Array(2*M);for(Q=R=0;Q<M;)if((L=w[Q++])<128)k[R++]=L;else if(4<(P=f[L]))k[R++]=65533,Q+=P-1;else{for(L&=P===2?31:P===3?15:7;1<P&&Q<M;)L=L<<6|63&w[Q++],P--;1<P?k[R++]=65533:L<65536?k[R++]=L:(L-=65536,k[R++]=55296|L>>10&1023,k[R++]=56320|1023&L)}return C(k,R)},i.utf8border=function(w,x){var Q;for((x=x||w.length)>w.length&&(x=w.length),Q=x-1;0<=Q&&(192&w[Q])==128;)Q--;return Q<0||Q===0?x:Q+f[w[Q]]>x?Q:x}},{"./common":41}],43:[function(e,n,i){n.exports=function(o,s,l,f){for(var v=65535&o|0,C=o>>>16&65535|0,w=0;l!==0;){for(l-=w=2e3<l?2e3:l;C=C+(v=v+s[f++]|0)|0,--w;);v%=65521,C%=65521}return v|C<<16|0}},{}],44:[function(e,n,i){n.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,n,i){var o=function(){for(var s,l=[],f=0;f<256;f++){s=f;for(var v=0;v<8;v++)s=1&s?3988292384^s>>>1:s>>>1;l[f]=s}return l}();n.exports=function(s,l,f,v){var C=o,w=v+f;s^=-1;for(var x=v;x<w;x++)s=s>>>8^C[255&(s^l[x])];return-1^s}},{}],46:[function(e,n,i){var o,s=e("../utils/common"),l=e("./trees"),f=e("./adler32"),v=e("./crc32"),C=e("./messages"),w=0,x=4,Q=0,R=-2,L=-1,P=4,M=2,k=8,G=9,Y=286,re=30,ie=19,le=2*Y+1,pe=15,ve=3,Ee=258,Se=Ee+ve+1,ke=42,Le=113,be=1,ze=2,ut=3,ft=4;function Qt(Pe,hr){return Pe.msg=C[hr],hr}function vt(Pe){return(Pe<<1)-(4<Pe?9:0)}function Gt(Pe){for(var hr=Pe.length;0<=--hr;)Pe[hr]=0}function Ct(Pe){var hr=Pe.state,rr=hr.pending;rr>Pe.avail_out&&(rr=Pe.avail_out),rr!==0&&(s.arraySet(Pe.output,hr.pending_buf,hr.pending_out,rr,Pe.next_out),Pe.next_out+=rr,hr.pending_out+=rr,Pe.total_out+=rr,Pe.avail_out-=rr,hr.pending-=rr,hr.pending===0&&(hr.pending_out=0))}function St(Pe,hr){l._tr_flush_block(Pe,0<=Pe.block_start?Pe.block_start:-1,Pe.strstart-Pe.block_start,hr),Pe.block_start=Pe.strstart,Ct(Pe.strm)}function dr(Pe,hr){Pe.pending_buf[Pe.pending++]=hr}function ur(Pe,hr){Pe.pending_buf[Pe.pending++]=hr>>>8&255,Pe.pending_buf[Pe.pending++]=255&hr}function ir(Pe,hr){var rr,Bt,wt=Pe.max_chain_length,Yt=Pe.strstart,Br=Pe.prev_length,kr=Pe.nice_match,tr=Pe.strstart>Pe.w_size-Se?Pe.strstart-(Pe.w_size-Se):0,rn=Pe.window,Gn=Pe.w_mask,fn=Pe.prev,di=Pe.strstart+Ee,za=rn[Yt+Br-1],sa=rn[Yt+Br];Pe.prev_length>=Pe.good_match&&(wt>>=2),kr>Pe.lookahead&&(kr=Pe.lookahead);do if(rn[(rr=hr)+Br]===sa&&rn[rr+Br-1]===za&&rn[rr]===rn[Yt]&&rn[++rr]===rn[Yt+1]){Yt+=2,rr++;do;while(rn[++Yt]===rn[++rr]&&rn[++Yt]===rn[++rr]&&rn[++Yt]===rn[++rr]&&rn[++Yt]===rn[++rr]&&rn[++Yt]===rn[++rr]&&rn[++Yt]===rn[++rr]&&rn[++Yt]===rn[++rr]&&rn[++Yt]===rn[++rr]&&Yt<di);if(Bt=Ee-(di-Yt),Yt=di-Ee,Br<Bt){if(Pe.match_start=hr,kr<=(Br=Bt))break;za=rn[Yt+Br-1],sa=rn[Yt+Br]}}while((hr=fn[hr&Gn])>tr&&--wt!=0);return Br<=Pe.lookahead?Br:Pe.lookahead}function Fn(Pe){var hr,rr,Bt,wt,Yt,Br,kr,tr,rn,Gn,fn=Pe.w_size;do{if(wt=Pe.window_size-Pe.lookahead-Pe.strstart,Pe.strstart>=fn+(fn-Se)){for(s.arraySet(Pe.window,Pe.window,fn,fn,0),Pe.match_start-=fn,Pe.strstart-=fn,Pe.block_start-=fn,hr=rr=Pe.hash_size;Bt=Pe.head[--hr],Pe.head[hr]=fn<=Bt?Bt-fn:0,--rr;);for(hr=rr=fn;Bt=Pe.prev[--hr],Pe.prev[hr]=fn<=Bt?Bt-fn:0,--rr;);wt+=fn}if(Pe.strm.avail_in===0)break;if(Br=Pe.strm,kr=Pe.window,tr=Pe.strstart+Pe.lookahead,rn=wt,Gn=void 0,Gn=Br.avail_in,rn<Gn&&(Gn=rn),rr=Gn===0?0:(Br.avail_in-=Gn,s.arraySet(kr,Br.input,Br.next_in,Gn,tr),Br.state.wrap===1?Br.adler=f(Br.adler,kr,Gn,tr):Br.state.wrap===2&&(Br.adler=v(Br.adler,kr,Gn,tr)),Br.next_in+=Gn,Br.total_in+=Gn,Gn),Pe.lookahead+=rr,Pe.lookahead+Pe.insert>=ve)for(Yt=Pe.strstart-Pe.insert,Pe.ins_h=Pe.window[Yt],Pe.ins_h=(Pe.ins_h<<Pe.hash_shift^Pe.window[Yt+1])&Pe.hash_mask;Pe.insert&&(Pe.ins_h=(Pe.ins_h<<Pe.hash_shift^Pe.window[Yt+ve-1])&Pe.hash_mask,Pe.prev[Yt&Pe.w_mask]=Pe.head[Pe.ins_h],Pe.head[Pe.ins_h]=Yt,Yt++,Pe.insert--,!(Pe.lookahead+Pe.insert<ve)););}while(Pe.lookahead<Se&&Pe.strm.avail_in!==0)}function Ei(Pe,hr){for(var rr,Bt;;){if(Pe.lookahead<Se){if(Fn(Pe),Pe.lookahead<Se&&hr===w)return be;if(Pe.lookahead===0)break}if(rr=0,Pe.lookahead>=ve&&(Pe.ins_h=(Pe.ins_h<<Pe.hash_shift^Pe.window[Pe.strstart+ve-1])&Pe.hash_mask,rr=Pe.prev[Pe.strstart&Pe.w_mask]=Pe.head[Pe.ins_h],Pe.head[Pe.ins_h]=Pe.strstart),rr!==0&&Pe.strstart-rr<=Pe.w_size-Se&&(Pe.match_length=ir(Pe,rr)),Pe.match_length>=ve)if(Bt=l._tr_tally(Pe,Pe.strstart-Pe.match_start,Pe.match_length-ve),Pe.lookahead-=Pe.match_length,Pe.match_length<=Pe.max_lazy_match&&Pe.lookahead>=ve){for(Pe.match_length--;Pe.strstart++,Pe.ins_h=(Pe.ins_h<<Pe.hash_shift^Pe.window[Pe.strstart+ve-1])&Pe.hash_mask,rr=Pe.prev[Pe.strstart&Pe.w_mask]=Pe.head[Pe.ins_h],Pe.head[Pe.ins_h]=Pe.strstart,--Pe.match_length!=0;);Pe.strstart++}else Pe.strstart+=Pe.match_length,Pe.match_length=0,Pe.ins_h=Pe.window[Pe.strstart],Pe.ins_h=(Pe.ins_h<<Pe.hash_shift^Pe.window[Pe.strstart+1])&Pe.hash_mask;else Bt=l._tr_tally(Pe,0,Pe.window[Pe.strstart]),Pe.lookahead--,Pe.strstart++;if(Bt&&(St(Pe,!1),Pe.strm.avail_out===0))return be}return Pe.insert=Pe.strstart<ve-1?Pe.strstart:ve-1,hr===x?(St(Pe,!0),Pe.strm.avail_out===0?ut:ft):Pe.last_lit&&(St(Pe,!1),Pe.strm.avail_out===0)?be:ze}function Vr(Pe,hr){for(var rr,Bt,wt;;){if(Pe.lookahead<Se){if(Fn(Pe),Pe.lookahead<Se&&hr===w)return be;if(Pe.lookahead===0)break}if(rr=0,Pe.lookahead>=ve&&(Pe.ins_h=(Pe.ins_h<<Pe.hash_shift^Pe.window[Pe.strstart+ve-1])&Pe.hash_mask,rr=Pe.prev[Pe.strstart&Pe.w_mask]=Pe.head[Pe.ins_h],Pe.head[Pe.ins_h]=Pe.strstart),Pe.prev_length=Pe.match_length,Pe.prev_match=Pe.match_start,Pe.match_length=ve-1,rr!==0&&Pe.prev_length<Pe.max_lazy_match&&Pe.strstart-rr<=Pe.w_size-Se&&(Pe.match_length=ir(Pe,rr),Pe.match_length<=5&&(Pe.strategy===1||Pe.match_length===ve&&4096<Pe.strstart-Pe.match_start)&&(Pe.match_length=ve-1)),Pe.prev_length>=ve&&Pe.match_length<=Pe.prev_length){for(wt=Pe.strstart+Pe.lookahead-ve,Bt=l._tr_tally(Pe,Pe.strstart-1-Pe.prev_match,Pe.prev_length-ve),Pe.lookahead-=Pe.prev_length-1,Pe.prev_length-=2;++Pe.strstart<=wt&&(Pe.ins_h=(Pe.ins_h<<Pe.hash_shift^Pe.window[Pe.strstart+ve-1])&Pe.hash_mask,rr=Pe.prev[Pe.strstart&Pe.w_mask]=Pe.head[Pe.ins_h],Pe.head[Pe.ins_h]=Pe.strstart),--Pe.prev_length!=0;);if(Pe.match_available=0,Pe.match_length=ve-1,Pe.strstart++,Bt&&(St(Pe,!1),Pe.strm.avail_out===0))return be}else if(Pe.match_available){if((Bt=l._tr_tally(Pe,0,Pe.window[Pe.strstart-1]))&&St(Pe,!1),Pe.strstart++,Pe.lookahead--,Pe.strm.avail_out===0)return be}else Pe.match_available=1,Pe.strstart++,Pe.lookahead--}return Pe.match_available&&(Bt=l._tr_tally(Pe,0,Pe.window[Pe.strstart-1]),Pe.match_available=0),Pe.insert=Pe.strstart<ve-1?Pe.strstart:ve-1,hr===x?(St(Pe,!0),Pe.strm.avail_out===0?ut:ft):Pe.last_lit&&(St(Pe,!1),Pe.strm.avail_out===0)?be:ze}function qr(Pe,hr,rr,Bt,wt){this.good_length=Pe,this.max_lazy=hr,this.nice_length=rr,this.max_chain=Bt,this.func=wt}function Tn(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=k,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*le),this.dyn_dtree=new s.Buf16(2*(2*re+1)),this.bl_tree=new s.Buf16(2*(2*ie+1)),Gt(this.dyn_ltree),Gt(this.dyn_dtree),Gt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(pe+1),this.heap=new s.Buf16(2*Y+1),Gt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*Y+1),Gt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function zr(Pe){var hr;return Pe&&Pe.state?(Pe.total_in=Pe.total_out=0,Pe.data_type=M,(hr=Pe.state).pending=0,hr.pending_out=0,hr.wrap<0&&(hr.wrap=-hr.wrap),hr.status=hr.wrap?ke:Le,Pe.adler=hr.wrap===2?0:1,hr.last_flush=w,l._tr_init(hr),Q):Qt(Pe,R)}function Qn(Pe){var hr=zr(Pe);return hr===Q&&function(rr){rr.window_size=2*rr.w_size,Gt(rr.head),rr.max_lazy_match=o[rr.level].max_lazy,rr.good_match=o[rr.level].good_length,rr.nice_match=o[rr.level].nice_length,rr.max_chain_length=o[rr.level].max_chain,rr.strstart=0,rr.block_start=0,rr.lookahead=0,rr.insert=0,rr.match_length=rr.prev_length=ve-1,rr.match_available=0,rr.ins_h=0}(Pe.state),hr}function Yi(Pe,hr,rr,Bt,wt,Yt){if(!Pe)return R;var Br=1;if(hr===L&&(hr=6),Bt<0?(Br=0,Bt=-Bt):15<Bt&&(Br=2,Bt-=16),wt<1||G<wt||rr!==k||Bt<8||15<Bt||hr<0||9<hr||Yt<0||P<Yt)return Qt(Pe,R);Bt===8&&(Bt=9);var kr=new Tn;return(Pe.state=kr).strm=Pe,kr.wrap=Br,kr.gzhead=null,kr.w_bits=Bt,kr.w_size=1<<kr.w_bits,kr.w_mask=kr.w_size-1,kr.hash_bits=wt+7,kr.hash_size=1<<kr.hash_bits,kr.hash_mask=kr.hash_size-1,kr.hash_shift=~~((kr.hash_bits+ve-1)/ve),kr.window=new s.Buf8(2*kr.w_size),kr.head=new s.Buf16(kr.hash_size),kr.prev=new s.Buf16(kr.w_size),kr.lit_bufsize=1<<wt+6,kr.pending_buf_size=4*kr.lit_bufsize,kr.pending_buf=new s.Buf8(kr.pending_buf_size),kr.d_buf=1*kr.lit_bufsize,kr.l_buf=3*kr.lit_bufsize,kr.level=hr,kr.strategy=Yt,kr.method=rr,Qn(Pe)}o=[new qr(0,0,0,0,function(Pe,hr){var rr=65535;for(rr>Pe.pending_buf_size-5&&(rr=Pe.pending_buf_size-5);;){if(Pe.lookahead<=1){if(Fn(Pe),Pe.lookahead===0&&hr===w)return be;if(Pe.lookahead===0)break}Pe.strstart+=Pe.lookahead,Pe.lookahead=0;var Bt=Pe.block_start+rr;if((Pe.strstart===0||Pe.strstart>=Bt)&&(Pe.lookahead=Pe.strstart-Bt,Pe.strstart=Bt,St(Pe,!1),Pe.strm.avail_out===0)||Pe.strstart-Pe.block_start>=Pe.w_size-Se&&(St(Pe,!1),Pe.strm.avail_out===0))return be}return Pe.insert=0,hr===x?(St(Pe,!0),Pe.strm.avail_out===0?ut:ft):(Pe.strstart>Pe.block_start&&(St(Pe,!1),Pe.strm.avail_out),be)}),new qr(4,4,8,4,Ei),new qr(4,5,16,8,Ei),new qr(4,6,32,32,Ei),new qr(4,4,16,16,Vr),new qr(8,16,32,32,Vr),new qr(8,16,128,128,Vr),new qr(8,32,128,256,Vr),new qr(32,128,258,1024,Vr),new qr(32,258,258,4096,Vr)],i.deflateInit=function(Pe,hr){return Yi(Pe,hr,k,15,8,0)},i.deflateInit2=Yi,i.deflateReset=Qn,i.deflateResetKeep=zr,i.deflateSetHeader=function(Pe,hr){return Pe&&Pe.state?Pe.state.wrap!==2?R:(Pe.state.gzhead=hr,Q):R},i.deflate=function(Pe,hr){var rr,Bt,wt,Yt;if(!Pe||!Pe.state||5<hr||hr<0)return Pe?Qt(Pe,R):R;if(Bt=Pe.state,!Pe.output||!Pe.input&&Pe.avail_in!==0||Bt.status===666&&hr!==x)return Qt(Pe,Pe.avail_out===0?-5:R);if(Bt.strm=Pe,rr=Bt.last_flush,Bt.last_flush=hr,Bt.status===ke)if(Bt.wrap===2)Pe.adler=0,dr(Bt,31),dr(Bt,139),dr(Bt,8),Bt.gzhead?(dr(Bt,(Bt.gzhead.text?1:0)+(Bt.gzhead.hcrc?2:0)+(Bt.gzhead.extra?4:0)+(Bt.gzhead.name?8:0)+(Bt.gzhead.comment?16:0)),dr(Bt,255&Bt.gzhead.time),dr(Bt,Bt.gzhead.time>>8&255),dr(Bt,Bt.gzhead.time>>16&255),dr(Bt,Bt.gzhead.time>>24&255),dr(Bt,Bt.level===9?2:2<=Bt.strategy||Bt.level<2?4:0),dr(Bt,255&Bt.gzhead.os),Bt.gzhead.extra&&Bt.gzhead.extra.length&&(dr(Bt,255&Bt.gzhead.extra.length),dr(Bt,Bt.gzhead.extra.length>>8&255)),Bt.gzhead.hcrc&&(Pe.adler=v(Pe.adler,Bt.pending_buf,Bt.pending,0)),Bt.gzindex=0,Bt.status=69):(dr(Bt,0),dr(Bt,0),dr(Bt,0),dr(Bt,0),dr(Bt,0),dr(Bt,Bt.level===9?2:2<=Bt.strategy||Bt.level<2?4:0),dr(Bt,3),Bt.status=Le);else{var Br=k+(Bt.w_bits-8<<4)<<8;Br|=(2<=Bt.strategy||Bt.level<2?0:Bt.level<6?1:Bt.level===6?2:3)<<6,Bt.strstart!==0&&(Br|=32),Br+=31-Br%31,Bt.status=Le,ur(Bt,Br),Bt.strstart!==0&&(ur(Bt,Pe.adler>>>16),ur(Bt,65535&Pe.adler)),Pe.adler=1}if(Bt.status===69)if(Bt.gzhead.extra){for(wt=Bt.pending;Bt.gzindex<(65535&Bt.gzhead.extra.length)&&(Bt.pending!==Bt.pending_buf_size||(Bt.gzhead.hcrc&&Bt.pending>wt&&(Pe.adler=v(Pe.adler,Bt.pending_buf,Bt.pending-wt,wt)),Ct(Pe),wt=Bt.pending,Bt.pending!==Bt.pending_buf_size));)dr(Bt,255&Bt.gzhead.extra[Bt.gzindex]),Bt.gzindex++;Bt.gzhead.hcrc&&Bt.pending>wt&&(Pe.adler=v(Pe.adler,Bt.pending_buf,Bt.pending-wt,wt)),Bt.gzindex===Bt.gzhead.extra.length&&(Bt.gzindex=0,Bt.status=73)}else Bt.status=73;if(Bt.status===73)if(Bt.gzhead.name){wt=Bt.pending;do{if(Bt.pending===Bt.pending_buf_size&&(Bt.gzhead.hcrc&&Bt.pending>wt&&(Pe.adler=v(Pe.adler,Bt.pending_buf,Bt.pending-wt,wt)),Ct(Pe),wt=Bt.pending,Bt.pending===Bt.pending_buf_size)){Yt=1;break}Yt=Bt.gzindex<Bt.gzhead.name.length?255&Bt.gzhead.name.charCodeAt(Bt.gzindex++):0,dr(Bt,Yt)}while(Yt!==0);Bt.gzhead.hcrc&&Bt.pending>wt&&(Pe.adler=v(Pe.adler,Bt.pending_buf,Bt.pending-wt,wt)),Yt===0&&(Bt.gzindex=0,Bt.status=91)}else Bt.status=91;if(Bt.status===91)if(Bt.gzhead.comment){wt=Bt.pending;do{if(Bt.pending===Bt.pending_buf_size&&(Bt.gzhead.hcrc&&Bt.pending>wt&&(Pe.adler=v(Pe.adler,Bt.pending_buf,Bt.pending-wt,wt)),Ct(Pe),wt=Bt.pending,Bt.pending===Bt.pending_buf_size)){Yt=1;break}Yt=Bt.gzindex<Bt.gzhead.comment.length?255&Bt.gzhead.comment.charCodeAt(Bt.gzindex++):0,dr(Bt,Yt)}while(Yt!==0);Bt.gzhead.hcrc&&Bt.pending>wt&&(Pe.adler=v(Pe.adler,Bt.pending_buf,Bt.pending-wt,wt)),Yt===0&&(Bt.status=103)}else Bt.status=103;if(Bt.status===103&&(Bt.gzhead.hcrc?(Bt.pending+2>Bt.pending_buf_size&&Ct(Pe),Bt.pending+2<=Bt.pending_buf_size&&(dr(Bt,255&Pe.adler),dr(Bt,Pe.adler>>8&255),Pe.adler=0,Bt.status=Le)):Bt.status=Le),Bt.pending!==0){if(Ct(Pe),Pe.avail_out===0)return Bt.last_flush=-1,Q}else if(Pe.avail_in===0&&vt(hr)<=vt(rr)&&hr!==x)return Qt(Pe,-5);if(Bt.status===666&&Pe.avail_in!==0)return Qt(Pe,-5);if(Pe.avail_in!==0||Bt.lookahead!==0||hr!==w&&Bt.status!==666){var kr=Bt.strategy===2?function(tr,rn){for(var Gn;;){if(tr.lookahead===0&&(Fn(tr),tr.lookahead===0)){if(rn===w)return be;break}if(tr.match_length=0,Gn=l._tr_tally(tr,0,tr.window[tr.strstart]),tr.lookahead--,tr.strstart++,Gn&&(St(tr,!1),tr.strm.avail_out===0))return be}return tr.insert=0,rn===x?(St(tr,!0),tr.strm.avail_out===0?ut:ft):tr.last_lit&&(St(tr,!1),tr.strm.avail_out===0)?be:ze}(Bt,hr):Bt.strategy===3?function(tr,rn){for(var Gn,fn,di,za,sa=tr.window;;){if(tr.lookahead<=Ee){if(Fn(tr),tr.lookahead<=Ee&&rn===w)return be;if(tr.lookahead===0)break}if(tr.match_length=0,tr.lookahead>=ve&&0<tr.strstart&&(fn=sa[di=tr.strstart-1])===sa[++di]&&fn===sa[++di]&&fn===sa[++di]){za=tr.strstart+Ee;do;while(fn===sa[++di]&&fn===sa[++di]&&fn===sa[++di]&&fn===sa[++di]&&fn===sa[++di]&&fn===sa[++di]&&fn===sa[++di]&&fn===sa[++di]&&di<za);tr.match_length=Ee-(za-di),tr.match_length>tr.lookahead&&(tr.match_length=tr.lookahead)}if(tr.match_length>=ve?(Gn=l._tr_tally(tr,1,tr.match_length-ve),tr.lookahead-=tr.match_length,tr.strstart+=tr.match_length,tr.match_length=0):(Gn=l._tr_tally(tr,0,tr.window[tr.strstart]),tr.lookahead--,tr.strstart++),Gn&&(St(tr,!1),tr.strm.avail_out===0))return be}return tr.insert=0,rn===x?(St(tr,!0),tr.strm.avail_out===0?ut:ft):tr.last_lit&&(St(tr,!1),tr.strm.avail_out===0)?be:ze}(Bt,hr):o[Bt.level].func(Bt,hr);if(kr!==ut&&kr!==ft||(Bt.status=666),kr===be||kr===ut)return Pe.avail_out===0&&(Bt.last_flush=-1),Q;if(kr===ze&&(hr===1?l._tr_align(Bt):hr!==5&&(l._tr_stored_block(Bt,0,0,!1),hr===3&&(Gt(Bt.head),Bt.lookahead===0&&(Bt.strstart=0,Bt.block_start=0,Bt.insert=0))),Ct(Pe),Pe.avail_out===0))return Bt.last_flush=-1,Q}return hr!==x?Q:Bt.wrap<=0?1:(Bt.wrap===2?(dr(Bt,255&Pe.adler),dr(Bt,Pe.adler>>8&255),dr(Bt,Pe.adler>>16&255),dr(Bt,Pe.adler>>24&255),dr(Bt,255&Pe.total_in),dr(Bt,Pe.total_in>>8&255),dr(Bt,Pe.total_in>>16&255),dr(Bt,Pe.total_in>>24&255)):(ur(Bt,Pe.adler>>>16),ur(Bt,65535&Pe.adler)),Ct(Pe),0<Bt.wrap&&(Bt.wrap=-Bt.wrap),Bt.pending!==0?Q:1)},i.deflateEnd=function(Pe){var hr;return Pe&&Pe.state?(hr=Pe.state.status)!==ke&&hr!==69&&hr!==73&&hr!==91&&hr!==103&&hr!==Le&&hr!==666?Qt(Pe,R):(Pe.state=null,hr===Le?Qt(Pe,-3):Q):R},i.deflateSetDictionary=function(Pe,hr){var rr,Bt,wt,Yt,Br,kr,tr,rn,Gn=hr.length;if(!Pe||!Pe.state||(Yt=(rr=Pe.state).wrap)===2||Yt===1&&rr.status!==ke||rr.lookahead)return R;for(Yt===1&&(Pe.adler=f(Pe.adler,hr,Gn,0)),rr.wrap=0,Gn>=rr.w_size&&(Yt===0&&(Gt(rr.head),rr.strstart=0,rr.block_start=0,rr.insert=0),rn=new s.Buf8(rr.w_size),s.arraySet(rn,hr,Gn-rr.w_size,rr.w_size,0),hr=rn,Gn=rr.w_size),Br=Pe.avail_in,kr=Pe.next_in,tr=Pe.input,Pe.avail_in=Gn,Pe.next_in=0,Pe.input=hr,Fn(rr);rr.lookahead>=ve;){for(Bt=rr.strstart,wt=rr.lookahead-(ve-1);rr.ins_h=(rr.ins_h<<rr.hash_shift^rr.window[Bt+ve-1])&rr.hash_mask,rr.prev[Bt&rr.w_mask]=rr.head[rr.ins_h],rr.head[rr.ins_h]=Bt,Bt++,--wt;);rr.strstart=Bt,rr.lookahead=ve-1,Fn(rr)}return rr.strstart+=rr.lookahead,rr.block_start=rr.strstart,rr.insert=rr.lookahead,rr.lookahead=0,rr.match_length=rr.prev_length=ve-1,rr.match_available=0,Pe.next_in=kr,Pe.input=tr,Pe.avail_in=Br,rr.wrap=Yt,Q},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,n,i){n.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,n,i){n.exports=function(o,s){var l,f,v,C,w,x,Q,R,L,P,M,k,G,Y,re,ie,le,pe,ve,Ee,Se,ke,Le,be,ze;l=o.state,f=o.next_in,be=o.input,v=f+(o.avail_in-5),C=o.next_out,ze=o.output,w=C-(s-o.avail_out),x=C+(o.avail_out-257),Q=l.dmax,R=l.wsize,L=l.whave,P=l.wnext,M=l.window,k=l.hold,G=l.bits,Y=l.lencode,re=l.distcode,ie=(1<<l.lenbits)-1,le=(1<<l.distbits)-1;e:do{G<15&&(k+=be[f++]<<G,G+=8,k+=be[f++]<<G,G+=8),pe=Y[k&ie];t:for(;;){if(k>>>=ve=pe>>>24,G-=ve,(ve=pe>>>16&255)===0)ze[C++]=65535&pe;else{if(!(16&ve)){if(!(64&ve)){pe=Y[(65535&pe)+(k&(1<<ve)-1)];continue t}if(32&ve){l.mode=12;break e}o.msg="invalid literal/length code",l.mode=30;break e}Ee=65535&pe,(ve&=15)&&(G<ve&&(k+=be[f++]<<G,G+=8),Ee+=k&(1<<ve)-1,k>>>=ve,G-=ve),G<15&&(k+=be[f++]<<G,G+=8,k+=be[f++]<<G,G+=8),pe=re[k&le];r:for(;;){if(k>>>=ve=pe>>>24,G-=ve,!(16&(ve=pe>>>16&255))){if(!(64&ve)){pe=re[(65535&pe)+(k&(1<<ve)-1)];continue r}o.msg="invalid distance code",l.mode=30;break e}if(Se=65535&pe,G<(ve&=15)&&(k+=be[f++]<<G,(G+=8)<ve&&(k+=be[f++]<<G,G+=8)),Q<(Se+=k&(1<<ve)-1)){o.msg="invalid distance too far back",l.mode=30;break e}if(k>>>=ve,G-=ve,(ve=C-w)<Se){if(L<(ve=Se-ve)&&l.sane){o.msg="invalid distance too far back",l.mode=30;break e}if(Le=M,(ke=0)===P){if(ke+=R-ve,ve<Ee){for(Ee-=ve;ze[C++]=M[ke++],--ve;);ke=C-Se,Le=ze}}else if(P<ve){if(ke+=R+P-ve,(ve-=P)<Ee){for(Ee-=ve;ze[C++]=M[ke++],--ve;);if(ke=0,P<Ee){for(Ee-=ve=P;ze[C++]=M[ke++],--ve;);ke=C-Se,Le=ze}}}else if(ke+=P-ve,ve<Ee){for(Ee-=ve;ze[C++]=M[ke++],--ve;);ke=C-Se,Le=ze}for(;2<Ee;)ze[C++]=Le[ke++],ze[C++]=Le[ke++],ze[C++]=Le[ke++],Ee-=3;Ee&&(ze[C++]=Le[ke++],1<Ee&&(ze[C++]=Le[ke++]))}else{for(ke=C-Se;ze[C++]=ze[ke++],ze[C++]=ze[ke++],ze[C++]=ze[ke++],2<(Ee-=3););Ee&&(ze[C++]=ze[ke++],1<Ee&&(ze[C++]=ze[ke++]))}break}}break}}while(f<v&&C<x);f-=Ee=G>>3,k&=(1<<(G-=Ee<<3))-1,o.next_in=f,o.next_out=C,o.avail_in=f<v?v-f+5:5-(f-v),o.avail_out=C<x?x-C+257:257-(C-x),l.hold=k,l.bits=G}},{}],49:[function(e,n,i){var o=e("../utils/common"),s=e("./adler32"),l=e("./crc32"),f=e("./inffast"),v=e("./inftrees"),C=1,w=2,x=0,Q=-2,R=1,L=852,P=592;function M(ke){return(ke>>>24&255)+(ke>>>8&65280)+((65280&ke)<<8)+((255&ke)<<24)}function k(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function G(ke){var Le;return ke&&ke.state?(Le=ke.state,ke.total_in=ke.total_out=Le.total=0,ke.msg="",Le.wrap&&(ke.adler=1&Le.wrap),Le.mode=R,Le.last=0,Le.havedict=0,Le.dmax=32768,Le.head=null,Le.hold=0,Le.bits=0,Le.lencode=Le.lendyn=new o.Buf32(L),Le.distcode=Le.distdyn=new o.Buf32(P),Le.sane=1,Le.back=-1,x):Q}function Y(ke){var Le;return ke&&ke.state?((Le=ke.state).wsize=0,Le.whave=0,Le.wnext=0,G(ke)):Q}function re(ke,Le){var be,ze;return ke&&ke.state?(ze=ke.state,Le<0?(be=0,Le=-Le):(be=1+(Le>>4),Le<48&&(Le&=15)),Le&&(Le<8||15<Le)?Q:(ze.window!==null&&ze.wbits!==Le&&(ze.window=null),ze.wrap=be,ze.wbits=Le,Y(ke))):Q}function ie(ke,Le){var be,ze;return ke?(ze=new k,(ke.state=ze).window=null,(be=re(ke,Le))!==x&&(ke.state=null),be):Q}var le,pe,ve=!0;function Ee(ke){if(ve){var Le;for(le=new o.Buf32(512),pe=new o.Buf32(32),Le=0;Le<144;)ke.lens[Le++]=8;for(;Le<256;)ke.lens[Le++]=9;for(;Le<280;)ke.lens[Le++]=7;for(;Le<288;)ke.lens[Le++]=8;for(v(C,ke.lens,0,288,le,0,ke.work,{bits:9}),Le=0;Le<32;)ke.lens[Le++]=5;v(w,ke.lens,0,32,pe,0,ke.work,{bits:5}),ve=!1}ke.lencode=le,ke.lenbits=9,ke.distcode=pe,ke.distbits=5}function Se(ke,Le,be,ze){var ut,ft=ke.state;return ft.window===null&&(ft.wsize=1<<ft.wbits,ft.wnext=0,ft.whave=0,ft.window=new o.Buf8(ft.wsize)),ze>=ft.wsize?(o.arraySet(ft.window,Le,be-ft.wsize,ft.wsize,0),ft.wnext=0,ft.whave=ft.wsize):(ze<(ut=ft.wsize-ft.wnext)&&(ut=ze),o.arraySet(ft.window,Le,be-ze,ut,ft.wnext),(ze-=ut)?(o.arraySet(ft.window,Le,be-ze,ze,0),ft.wnext=ze,ft.whave=ft.wsize):(ft.wnext+=ut,ft.wnext===ft.wsize&&(ft.wnext=0),ft.whave<ft.wsize&&(ft.whave+=ut))),0}i.inflateReset=Y,i.inflateReset2=re,i.inflateResetKeep=G,i.inflateInit=function(ke){return ie(ke,15)},i.inflateInit2=ie,i.inflate=function(ke,Le){var be,ze,ut,ft,Qt,vt,Gt,Ct,St,dr,ur,ir,Fn,Ei,Vr,qr,Tn,zr,Qn,Yi,Pe,hr,rr,Bt,wt=0,Yt=new o.Buf8(4),Br=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!ke||!ke.state||!ke.output||!ke.input&&ke.avail_in!==0)return Q;(be=ke.state).mode===12&&(be.mode=13),Qt=ke.next_out,ut=ke.output,Gt=ke.avail_out,ft=ke.next_in,ze=ke.input,vt=ke.avail_in,Ct=be.hold,St=be.bits,dr=vt,ur=Gt,hr=x;e:for(;;)switch(be.mode){case R:if(be.wrap===0){be.mode=13;break}for(;St<16;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}if(2&be.wrap&&Ct===35615){Yt[be.check=0]=255&Ct,Yt[1]=Ct>>>8&255,be.check=l(be.check,Yt,2,0),St=Ct=0,be.mode=2;break}if(be.flags=0,be.head&&(be.head.done=!1),!(1&be.wrap)||(((255&Ct)<<8)+(Ct>>8))%31){ke.msg="incorrect header check",be.mode=30;break}if((15&Ct)!=8){ke.msg="unknown compression method",be.mode=30;break}if(St-=4,Pe=8+(15&(Ct>>>=4)),be.wbits===0)be.wbits=Pe;else if(Pe>be.wbits){ke.msg="invalid window size",be.mode=30;break}be.dmax=1<<Pe,ke.adler=be.check=1,be.mode=512&Ct?10:12,St=Ct=0;break;case 2:for(;St<16;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}if(be.flags=Ct,(255&be.flags)!=8){ke.msg="unknown compression method",be.mode=30;break}if(57344&be.flags){ke.msg="unknown header flags set",be.mode=30;break}be.head&&(be.head.text=Ct>>8&1),512&be.flags&&(Yt[0]=255&Ct,Yt[1]=Ct>>>8&255,be.check=l(be.check,Yt,2,0)),St=Ct=0,be.mode=3;case 3:for(;St<32;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}be.head&&(be.head.time=Ct),512&be.flags&&(Yt[0]=255&Ct,Yt[1]=Ct>>>8&255,Yt[2]=Ct>>>16&255,Yt[3]=Ct>>>24&255,be.check=l(be.check,Yt,4,0)),St=Ct=0,be.mode=4;case 4:for(;St<16;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}be.head&&(be.head.xflags=255&Ct,be.head.os=Ct>>8),512&be.flags&&(Yt[0]=255&Ct,Yt[1]=Ct>>>8&255,be.check=l(be.check,Yt,2,0)),St=Ct=0,be.mode=5;case 5:if(1024&be.flags){for(;St<16;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}be.length=Ct,be.head&&(be.head.extra_len=Ct),512&be.flags&&(Yt[0]=255&Ct,Yt[1]=Ct>>>8&255,be.check=l(be.check,Yt,2,0)),St=Ct=0}else be.head&&(be.head.extra=null);be.mode=6;case 6:if(1024&be.flags&&(vt<(ir=be.length)&&(ir=vt),ir&&(be.head&&(Pe=be.head.extra_len-be.length,be.head.extra||(be.head.extra=new Array(be.head.extra_len)),o.arraySet(be.head.extra,ze,ft,ir,Pe)),512&be.flags&&(be.check=l(be.check,ze,ir,ft)),vt-=ir,ft+=ir,be.length-=ir),be.length))break e;be.length=0,be.mode=7;case 7:if(2048&be.flags){if(vt===0)break e;for(ir=0;Pe=ze[ft+ir++],be.head&&Pe&&be.length<65536&&(be.head.name+=String.fromCharCode(Pe)),Pe&&ir<vt;);if(512&be.flags&&(be.check=l(be.check,ze,ir,ft)),vt-=ir,ft+=ir,Pe)break e}else be.head&&(be.head.name=null);be.length=0,be.mode=8;case 8:if(4096&be.flags){if(vt===0)break e;for(ir=0;Pe=ze[ft+ir++],be.head&&Pe&&be.length<65536&&(be.head.comment+=String.fromCharCode(Pe)),Pe&&ir<vt;);if(512&be.flags&&(be.check=l(be.check,ze,ir,ft)),vt-=ir,ft+=ir,Pe)break e}else be.head&&(be.head.comment=null);be.mode=9;case 9:if(512&be.flags){for(;St<16;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}if(Ct!==(65535&be.check)){ke.msg="header crc mismatch",be.mode=30;break}St=Ct=0}be.head&&(be.head.hcrc=be.flags>>9&1,be.head.done=!0),ke.adler=be.check=0,be.mode=12;break;case 10:for(;St<32;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}ke.adler=be.check=M(Ct),St=Ct=0,be.mode=11;case 11:if(be.havedict===0)return ke.next_out=Qt,ke.avail_out=Gt,ke.next_in=ft,ke.avail_in=vt,be.hold=Ct,be.bits=St,2;ke.adler=be.check=1,be.mode=12;case 12:if(Le===5||Le===6)break e;case 13:if(be.last){Ct>>>=7&St,St-=7&St,be.mode=27;break}for(;St<3;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}switch(be.last=1&Ct,St-=1,3&(Ct>>>=1)){case 0:be.mode=14;break;case 1:if(Ee(be),be.mode=20,Le!==6)break;Ct>>>=2,St-=2;break e;case 2:be.mode=17;break;case 3:ke.msg="invalid block type",be.mode=30}Ct>>>=2,St-=2;break;case 14:for(Ct>>>=7&St,St-=7&St;St<32;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}if((65535&Ct)!=(Ct>>>16^65535)){ke.msg="invalid stored block lengths",be.mode=30;break}if(be.length=65535&Ct,St=Ct=0,be.mode=15,Le===6)break e;case 15:be.mode=16;case 16:if(ir=be.length){if(vt<ir&&(ir=vt),Gt<ir&&(ir=Gt),ir===0)break e;o.arraySet(ut,ze,ft,ir,Qt),vt-=ir,ft+=ir,Gt-=ir,Qt+=ir,be.length-=ir;break}be.mode=12;break;case 17:for(;St<14;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}if(be.nlen=257+(31&Ct),Ct>>>=5,St-=5,be.ndist=1+(31&Ct),Ct>>>=5,St-=5,be.ncode=4+(15&Ct),Ct>>>=4,St-=4,286<be.nlen||30<be.ndist){ke.msg="too many length or distance symbols",be.mode=30;break}be.have=0,be.mode=18;case 18:for(;be.have<be.ncode;){for(;St<3;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}be.lens[Br[be.have++]]=7&Ct,Ct>>>=3,St-=3}for(;be.have<19;)be.lens[Br[be.have++]]=0;if(be.lencode=be.lendyn,be.lenbits=7,rr={bits:be.lenbits},hr=v(0,be.lens,0,19,be.lencode,0,be.work,rr),be.lenbits=rr.bits,hr){ke.msg="invalid code lengths set",be.mode=30;break}be.have=0,be.mode=19;case 19:for(;be.have<be.nlen+be.ndist;){for(;qr=(wt=be.lencode[Ct&(1<<be.lenbits)-1])>>>16&255,Tn=65535&wt,!((Vr=wt>>>24)<=St);){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}if(Tn<16)Ct>>>=Vr,St-=Vr,be.lens[be.have++]=Tn;else{if(Tn===16){for(Bt=Vr+2;St<Bt;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}if(Ct>>>=Vr,St-=Vr,be.have===0){ke.msg="invalid bit length repeat",be.mode=30;break}Pe=be.lens[be.have-1],ir=3+(3&Ct),Ct>>>=2,St-=2}else if(Tn===17){for(Bt=Vr+3;St<Bt;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}St-=Vr,Pe=0,ir=3+(7&(Ct>>>=Vr)),Ct>>>=3,St-=3}else{for(Bt=Vr+7;St<Bt;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}St-=Vr,Pe=0,ir=11+(127&(Ct>>>=Vr)),Ct>>>=7,St-=7}if(be.have+ir>be.nlen+be.ndist){ke.msg="invalid bit length repeat",be.mode=30;break}for(;ir--;)be.lens[be.have++]=Pe}}if(be.mode===30)break;if(be.lens[256]===0){ke.msg="invalid code -- missing end-of-block",be.mode=30;break}if(be.lenbits=9,rr={bits:be.lenbits},hr=v(C,be.lens,0,be.nlen,be.lencode,0,be.work,rr),be.lenbits=rr.bits,hr){ke.msg="invalid literal/lengths set",be.mode=30;break}if(be.distbits=6,be.distcode=be.distdyn,rr={bits:be.distbits},hr=v(w,be.lens,be.nlen,be.ndist,be.distcode,0,be.work,rr),be.distbits=rr.bits,hr){ke.msg="invalid distances set",be.mode=30;break}if(be.mode=20,Le===6)break e;case 20:be.mode=21;case 21:if(6<=vt&&258<=Gt){ke.next_out=Qt,ke.avail_out=Gt,ke.next_in=ft,ke.avail_in=vt,be.hold=Ct,be.bits=St,f(ke,ur),Qt=ke.next_out,ut=ke.output,Gt=ke.avail_out,ft=ke.next_in,ze=ke.input,vt=ke.avail_in,Ct=be.hold,St=be.bits,be.mode===12&&(be.back=-1);break}for(be.back=0;qr=(wt=be.lencode[Ct&(1<<be.lenbits)-1])>>>16&255,Tn=65535&wt,!((Vr=wt>>>24)<=St);){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}if(qr&&!(240&qr)){for(zr=Vr,Qn=qr,Yi=Tn;qr=(wt=be.lencode[Yi+((Ct&(1<<zr+Qn)-1)>>zr)])>>>16&255,Tn=65535&wt,!(zr+(Vr=wt>>>24)<=St);){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}Ct>>>=zr,St-=zr,be.back+=zr}if(Ct>>>=Vr,St-=Vr,be.back+=Vr,be.length=Tn,qr===0){be.mode=26;break}if(32&qr){be.back=-1,be.mode=12;break}if(64&qr){ke.msg="invalid literal/length code",be.mode=30;break}be.extra=15&qr,be.mode=22;case 22:if(be.extra){for(Bt=be.extra;St<Bt;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}be.length+=Ct&(1<<be.extra)-1,Ct>>>=be.extra,St-=be.extra,be.back+=be.extra}be.was=be.length,be.mode=23;case 23:for(;qr=(wt=be.distcode[Ct&(1<<be.distbits)-1])>>>16&255,Tn=65535&wt,!((Vr=wt>>>24)<=St);){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}if(!(240&qr)){for(zr=Vr,Qn=qr,Yi=Tn;qr=(wt=be.distcode[Yi+((Ct&(1<<zr+Qn)-1)>>zr)])>>>16&255,Tn=65535&wt,!(zr+(Vr=wt>>>24)<=St);){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}Ct>>>=zr,St-=zr,be.back+=zr}if(Ct>>>=Vr,St-=Vr,be.back+=Vr,64&qr){ke.msg="invalid distance code",be.mode=30;break}be.offset=Tn,be.extra=15&qr,be.mode=24;case 24:if(be.extra){for(Bt=be.extra;St<Bt;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}be.offset+=Ct&(1<<be.extra)-1,Ct>>>=be.extra,St-=be.extra,be.back+=be.extra}if(be.offset>be.dmax){ke.msg="invalid distance too far back",be.mode=30;break}be.mode=25;case 25:if(Gt===0)break e;if(ir=ur-Gt,be.offset>ir){if((ir=be.offset-ir)>be.whave&&be.sane){ke.msg="invalid distance too far back",be.mode=30;break}Fn=ir>be.wnext?(ir-=be.wnext,be.wsize-ir):be.wnext-ir,ir>be.length&&(ir=be.length),Ei=be.window}else Ei=ut,Fn=Qt-be.offset,ir=be.length;for(Gt<ir&&(ir=Gt),Gt-=ir,be.length-=ir;ut[Qt++]=Ei[Fn++],--ir;);be.length===0&&(be.mode=21);break;case 26:if(Gt===0)break e;ut[Qt++]=be.length,Gt--,be.mode=21;break;case 27:if(be.wrap){for(;St<32;){if(vt===0)break e;vt--,Ct|=ze[ft++]<<St,St+=8}if(ur-=Gt,ke.total_out+=ur,be.total+=ur,ur&&(ke.adler=be.check=be.flags?l(be.check,ut,ur,Qt-ur):s(be.check,ut,ur,Qt-ur)),ur=Gt,(be.flags?Ct:M(Ct))!==be.check){ke.msg="incorrect data check",be.mode=30;break}St=Ct=0}be.mode=28;case 28:if(be.wrap&&be.flags){for(;St<32;){if(vt===0)break e;vt--,Ct+=ze[ft++]<<St,St+=8}if(Ct!==(4294967295&be.total)){ke.msg="incorrect length check",be.mode=30;break}St=Ct=0}be.mode=29;case 29:hr=1;break e;case 30:hr=-3;break e;case 31:return-4;case 32:default:return Q}return ke.next_out=Qt,ke.avail_out=Gt,ke.next_in=ft,ke.avail_in=vt,be.hold=Ct,be.bits=St,(be.wsize||ur!==ke.avail_out&&be.mode<30&&(be.mode<27||Le!==4))&&Se(ke,ke.output,ke.next_out,ur-ke.avail_out)?(be.mode=31,-4):(dr-=ke.avail_in,ur-=ke.avail_out,ke.total_in+=dr,ke.total_out+=ur,be.total+=ur,be.wrap&&ur&&(ke.adler=be.check=be.flags?l(be.check,ut,ur,ke.next_out-ur):s(be.check,ut,ur,ke.next_out-ur)),ke.data_type=be.bits+(be.last?64:0)+(be.mode===12?128:0)+(be.mode===20||be.mode===15?256:0),(dr==0&&ur===0||Le===4)&&hr===x&&(hr=-5),hr)},i.inflateEnd=function(ke){if(!ke||!ke.state)return Q;var Le=ke.state;return Le.window&&(Le.window=null),ke.state=null,x},i.inflateGetHeader=function(ke,Le){var be;return ke&&ke.state&&2&(be=ke.state).wrap?((be.head=Le).done=!1,x):Q},i.inflateSetDictionary=function(ke,Le){var be,ze=Le.length;return ke&&ke.state?(be=ke.state).wrap!==0&&be.mode!==11?Q:be.mode===11&&s(1,Le,ze,0)!==be.check?-3:Se(ke,Le,ze,ze)?(be.mode=31,-4):(be.havedict=1,x):Q},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,n,i){var o=e("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],l=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],f=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],v=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];n.exports=function(C,w,x,Q,R,L,P,M){var k,G,Y,re,ie,le,pe,ve,Ee,Se=M.bits,ke=0,Le=0,be=0,ze=0,ut=0,ft=0,Qt=0,vt=0,Gt=0,Ct=0,St=null,dr=0,ur=new o.Buf16(16),ir=new o.Buf16(16),Fn=null,Ei=0;for(ke=0;ke<=15;ke++)ur[ke]=0;for(Le=0;Le<Q;Le++)ur[w[x+Le]]++;for(ut=Se,ze=15;1<=ze&&ur[ze]===0;ze--);if(ze<ut&&(ut=ze),ze===0)return R[L++]=20971520,R[L++]=20971520,M.bits=1,0;for(be=1;be<ze&&ur[be]===0;be++);for(ut<be&&(ut=be),ke=vt=1;ke<=15;ke++)if(vt<<=1,(vt-=ur[ke])<0)return-1;if(0<vt&&(C===0||ze!==1))return-1;for(ir[1]=0,ke=1;ke<15;ke++)ir[ke+1]=ir[ke]+ur[ke];for(Le=0;Le<Q;Le++)w[x+Le]!==0&&(P[ir[w[x+Le]]++]=Le);if(le=C===0?(St=Fn=P,19):C===1?(St=s,dr-=257,Fn=l,Ei-=257,256):(St=f,Fn=v,-1),ke=be,ie=L,Qt=Le=Ct=0,Y=-1,re=(Gt=1<<(ft=ut))-1,C===1&&852<Gt||C===2&&592<Gt)return 1;for(;;){for(pe=ke-Qt,Ee=P[Le]<le?(ve=0,P[Le]):P[Le]>le?(ve=Fn[Ei+P[Le]],St[dr+P[Le]]):(ve=96,0),k=1<<ke-Qt,be=G=1<<ft;R[ie+(Ct>>Qt)+(G-=k)]=pe<<24|ve<<16|Ee|0,G!==0;);for(k=1<<ke-1;Ct&k;)k>>=1;if(k!==0?(Ct&=k-1,Ct+=k):Ct=0,Le++,--ur[ke]==0){if(ke===ze)break;ke=w[x+P[Le]]}if(ut<ke&&(Ct&re)!==Y){for(Qt===0&&(Qt=ut),ie+=be,vt=1<<(ft=ke-Qt);ft+Qt<ze&&!((vt-=ur[ft+Qt])<=0);)ft++,vt<<=1;if(Gt+=1<<ft,C===1&&852<Gt||C===2&&592<Gt)return 1;R[Y=Ct&re]=ut<<24|ft<<16|ie-L|0}}return Ct!==0&&(R[ie+Ct]=ke-Qt<<24|64<<16|0),M.bits=ut,0}},{"../utils/common":41}],51:[function(e,n,i){n.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,n,i){var o=e("../utils/common"),s=0,l=1;function f(wt){for(var Yt=wt.length;0<=--Yt;)wt[Yt]=0}var v=0,C=29,w=256,x=w+1+C,Q=30,R=19,L=2*x+1,P=15,M=16,k=7,G=256,Y=16,re=17,ie=18,le=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],pe=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ve=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ee=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Se=new Array(2*(x+2));f(Se);var ke=new Array(2*Q);f(ke);var Le=new Array(512);f(Le);var be=new Array(256);f(be);var ze=new Array(C);f(ze);var ut,ft,Qt,vt=new Array(Q);function Gt(wt,Yt,Br,kr,tr){this.static_tree=wt,this.extra_bits=Yt,this.extra_base=Br,this.elems=kr,this.max_length=tr,this.has_stree=wt&&wt.length}function Ct(wt,Yt){this.dyn_tree=wt,this.max_code=0,this.stat_desc=Yt}function St(wt){return wt<256?Le[wt]:Le[256+(wt>>>7)]}function dr(wt,Yt){wt.pending_buf[wt.pending++]=255&Yt,wt.pending_buf[wt.pending++]=Yt>>>8&255}function ur(wt,Yt,Br){wt.bi_valid>M-Br?(wt.bi_buf|=Yt<<wt.bi_valid&65535,dr(wt,wt.bi_buf),wt.bi_buf=Yt>>M-wt.bi_valid,wt.bi_valid+=Br-M):(wt.bi_buf|=Yt<<wt.bi_valid&65535,wt.bi_valid+=Br)}function ir(wt,Yt,Br){ur(wt,Br[2*Yt],Br[2*Yt+1])}function Fn(wt,Yt){for(var Br=0;Br|=1&wt,wt>>>=1,Br<<=1,0<--Yt;);return Br>>>1}function Ei(wt,Yt,Br){var kr,tr,rn=new Array(P+1),Gn=0;for(kr=1;kr<=P;kr++)rn[kr]=Gn=Gn+Br[kr-1]<<1;for(tr=0;tr<=Yt;tr++){var fn=wt[2*tr+1];fn!==0&&(wt[2*tr]=Fn(rn[fn]++,fn))}}function Vr(wt){var Yt;for(Yt=0;Yt<x;Yt++)wt.dyn_ltree[2*Yt]=0;for(Yt=0;Yt<Q;Yt++)wt.dyn_dtree[2*Yt]=0;for(Yt=0;Yt<R;Yt++)wt.bl_tree[2*Yt]=0;wt.dyn_ltree[2*G]=1,wt.opt_len=wt.static_len=0,wt.last_lit=wt.matches=0}function qr(wt){8<wt.bi_valid?dr(wt,wt.bi_buf):0<wt.bi_valid&&(wt.pending_buf[wt.pending++]=wt.bi_buf),wt.bi_buf=0,wt.bi_valid=0}function Tn(wt,Yt,Br,kr){var tr=2*Yt,rn=2*Br;return wt[tr]<wt[rn]||wt[tr]===wt[rn]&&kr[Yt]<=kr[Br]}function zr(wt,Yt,Br){for(var kr=wt.heap[Br],tr=Br<<1;tr<=wt.heap_len&&(tr<wt.heap_len&&Tn(Yt,wt.heap[tr+1],wt.heap[tr],wt.depth)&&tr++,!Tn(Yt,kr,wt.heap[tr],wt.depth));)wt.heap[Br]=wt.heap[tr],Br=tr,tr<<=1;wt.heap[Br]=kr}function Qn(wt,Yt,Br){var kr,tr,rn,Gn,fn=0;if(wt.last_lit!==0)for(;kr=wt.pending_buf[wt.d_buf+2*fn]<<8|wt.pending_buf[wt.d_buf+2*fn+1],tr=wt.pending_buf[wt.l_buf+fn],fn++,kr===0?ir(wt,tr,Yt):(ir(wt,(rn=be[tr])+w+1,Yt),(Gn=le[rn])!==0&&ur(wt,tr-=ze[rn],Gn),ir(wt,rn=St(--kr),Br),(Gn=pe[rn])!==0&&ur(wt,kr-=vt[rn],Gn)),fn<wt.last_lit;);ir(wt,G,Yt)}function Yi(wt,Yt){var Br,kr,tr,rn=Yt.dyn_tree,Gn=Yt.stat_desc.static_tree,fn=Yt.stat_desc.has_stree,di=Yt.stat_desc.elems,za=-1;for(wt.heap_len=0,wt.heap_max=L,Br=0;Br<di;Br++)rn[2*Br]!==0?(wt.heap[++wt.heap_len]=za=Br,wt.depth[Br]=0):rn[2*Br+1]=0;for(;wt.heap_len<2;)rn[2*(tr=wt.heap[++wt.heap_len]=za<2?++za:0)]=1,wt.depth[tr]=0,wt.opt_len--,fn&&(wt.static_len-=Gn[2*tr+1]);for(Yt.max_code=za,Br=wt.heap_len>>1;1<=Br;Br--)zr(wt,rn,Br);for(tr=di;Br=wt.heap[1],wt.heap[1]=wt.heap[wt.heap_len--],zr(wt,rn,1),kr=wt.heap[1],wt.heap[--wt.heap_max]=Br,wt.heap[--wt.heap_max]=kr,rn[2*tr]=rn[2*Br]+rn[2*kr],wt.depth[tr]=(wt.depth[Br]>=wt.depth[kr]?wt.depth[Br]:wt.depth[kr])+1,rn[2*Br+1]=rn[2*kr+1]=tr,wt.heap[1]=tr++,zr(wt,rn,1),2<=wt.heap_len;);wt.heap[--wt.heap_max]=wt.heap[1],function(sa,Zu){var jf,Gc,Hf,No,ud,Sg,dl=Zu.dyn_tree,C0=Zu.max_code,xC=Zu.stat_desc.static_tree,Ja=Zu.stat_desc.has_stree,Ru=Zu.stat_desc.extra_bits,vQ=Zu.stat_desc.extra_base,Zm=Zu.stat_desc.max_length,_3=0;for(No=0;No<=P;No++)sa.bl_count[No]=0;for(dl[2*sa.heap[sa.heap_max]+1]=0,jf=sa.heap_max+1;jf<L;jf++)Zm<(No=dl[2*dl[2*(Gc=sa.heap[jf])+1]+1]+1)&&(No=Zm,_3++),dl[2*Gc+1]=No,C0<Gc||(sa.bl_count[No]++,ud=0,vQ<=Gc&&(ud=Ru[Gc-vQ]),Sg=dl[2*Gc],sa.opt_len+=Sg*(No+ud),Ja&&(sa.static_len+=Sg*(xC[2*Gc+1]+ud)));if(_3!==0){do{for(No=Zm-1;sa.bl_count[No]===0;)No--;sa.bl_count[No]--,sa.bl_count[No+1]+=2,sa.bl_count[Zm]--,_3-=2}while(0<_3);for(No=Zm;No!==0;No--)for(Gc=sa.bl_count[No];Gc!==0;)C0<(Hf=sa.heap[--jf])||(dl[2*Hf+1]!==No&&(sa.opt_len+=(No-dl[2*Hf+1])*dl[2*Hf],dl[2*Hf+1]=No),Gc--)}}(wt,Yt),Ei(rn,za,wt.bl_count)}function Pe(wt,Yt,Br){var kr,tr,rn=-1,Gn=Yt[1],fn=0,di=7,za=4;for(Gn===0&&(di=138,za=3),Yt[2*(Br+1)+1]=65535,kr=0;kr<=Br;kr++)tr=Gn,Gn=Yt[2*(kr+1)+1],++fn<di&&tr===Gn||(fn<za?wt.bl_tree[2*tr]+=fn:tr!==0?(tr!==rn&&wt.bl_tree[2*tr]++,wt.bl_tree[2*Y]++):fn<=10?wt.bl_tree[2*re]++:wt.bl_tree[2*ie]++,rn=tr,za=(fn=0)===Gn?(di=138,3):tr===Gn?(di=6,3):(di=7,4))}function hr(wt,Yt,Br){var kr,tr,rn=-1,Gn=Yt[1],fn=0,di=7,za=4;for(Gn===0&&(di=138,za=3),kr=0;kr<=Br;kr++)if(tr=Gn,Gn=Yt[2*(kr+1)+1],!(++fn<di&&tr===Gn)){if(fn<za)for(;ir(wt,tr,wt.bl_tree),--fn!=0;);else tr!==0?(tr!==rn&&(ir(wt,tr,wt.bl_tree),fn--),ir(wt,Y,wt.bl_tree),ur(wt,fn-3,2)):fn<=10?(ir(wt,re,wt.bl_tree),ur(wt,fn-3,3)):(ir(wt,ie,wt.bl_tree),ur(wt,fn-11,7));rn=tr,za=(fn=0)===Gn?(di=138,3):tr===Gn?(di=6,3):(di=7,4)}}f(vt);var rr=!1;function Bt(wt,Yt,Br,kr){ur(wt,(v<<1)+(kr?1:0),3),function(tr,rn,Gn,fn){qr(tr),dr(tr,Gn),dr(tr,~Gn),o.arraySet(tr.pending_buf,tr.window,rn,Gn,tr.pending),tr.pending+=Gn}(wt,Yt,Br)}i._tr_init=function(wt){rr||(function(){var Yt,Br,kr,tr,rn,Gn=new Array(P+1);for(tr=kr=0;tr<C-1;tr++)for(ze[tr]=kr,Yt=0;Yt<1<<le[tr];Yt++)be[kr++]=tr;for(be[kr-1]=tr,tr=rn=0;tr<16;tr++)for(vt[tr]=rn,Yt=0;Yt<1<<pe[tr];Yt++)Le[rn++]=tr;for(rn>>=7;tr<Q;tr++)for(vt[tr]=rn<<7,Yt=0;Yt<1<<pe[tr]-7;Yt++)Le[256+rn++]=tr;for(Br=0;Br<=P;Br++)Gn[Br]=0;for(Yt=0;Yt<=143;)Se[2*Yt+1]=8,Yt++,Gn[8]++;for(;Yt<=255;)Se[2*Yt+1]=9,Yt++,Gn[9]++;for(;Yt<=279;)Se[2*Yt+1]=7,Yt++,Gn[7]++;for(;Yt<=287;)Se[2*Yt+1]=8,Yt++,Gn[8]++;for(Ei(Se,x+1,Gn),Yt=0;Yt<Q;Yt++)ke[2*Yt+1]=5,ke[2*Yt]=Fn(Yt,5);ut=new Gt(Se,le,w+1,x,P),ft=new Gt(ke,pe,0,Q,P),Qt=new Gt(new Array(0),ve,0,R,k)}(),rr=!0),wt.l_desc=new Ct(wt.dyn_ltree,ut),wt.d_desc=new Ct(wt.dyn_dtree,ft),wt.bl_desc=new Ct(wt.bl_tree,Qt),wt.bi_buf=0,wt.bi_valid=0,Vr(wt)},i._tr_stored_block=Bt,i._tr_flush_block=function(wt,Yt,Br,kr){var tr,rn,Gn=0;0<wt.level?(wt.strm.data_type===2&&(wt.strm.data_type=function(fn){var di,za=4093624447;for(di=0;di<=31;di++,za>>>=1)if(1&za&&fn.dyn_ltree[2*di]!==0)return s;if(fn.dyn_ltree[18]!==0||fn.dyn_ltree[20]!==0||fn.dyn_ltree[26]!==0)return l;for(di=32;di<w;di++)if(fn.dyn_ltree[2*di]!==0)return l;return s}(wt)),Yi(wt,wt.l_desc),Yi(wt,wt.d_desc),Gn=function(fn){var di;for(Pe(fn,fn.dyn_ltree,fn.l_desc.max_code),Pe(fn,fn.dyn_dtree,fn.d_desc.max_code),Yi(fn,fn.bl_desc),di=R-1;3<=di&&fn.bl_tree[2*Ee[di]+1]===0;di--);return fn.opt_len+=3*(di+1)+5+5+4,di}(wt),tr=wt.opt_len+3+7>>>3,(rn=wt.static_len+3+7>>>3)<=tr&&(tr=rn)):tr=rn=Br+5,Br+4<=tr&&Yt!==-1?Bt(wt,Yt,Br,kr):wt.strategy===4||rn===tr?(ur(wt,2+(kr?1:0),3),Qn(wt,Se,ke)):(ur(wt,4+(kr?1:0),3),function(fn,di,za,sa){var Zu;for(ur(fn,di-257,5),ur(fn,za-1,5),ur(fn,sa-4,4),Zu=0;Zu<sa;Zu++)ur(fn,fn.bl_tree[2*Ee[Zu]+1],3);hr(fn,fn.dyn_ltree,di-1),hr(fn,fn.dyn_dtree,za-1)}(wt,wt.l_desc.max_code+1,wt.d_desc.max_code+1,Gn+1),Qn(wt,wt.dyn_ltree,wt.dyn_dtree)),Vr(wt),kr&&qr(wt)},i._tr_tally=function(wt,Yt,Br){return wt.pending_buf[wt.d_buf+2*wt.last_lit]=Yt>>>8&255,wt.pending_buf[wt.d_buf+2*wt.last_lit+1]=255&Yt,wt.pending_buf[wt.l_buf+wt.last_lit]=255&Br,wt.last_lit++,Yt===0?wt.dyn_ltree[2*Br]++:(wt.matches++,Yt--,wt.dyn_ltree[2*(be[Br]+w+1)]++,wt.dyn_dtree[2*St(Yt)]++),wt.last_lit===wt.lit_bufsize-1},i._tr_align=function(wt){ur(wt,2,3),ir(wt,G,Se),function(Yt){Yt.bi_valid===16?(dr(Yt,Yt.bi_buf),Yt.bi_buf=0,Yt.bi_valid=0):8<=Yt.bi_valid&&(Yt.pending_buf[Yt.pending++]=255&Yt.bi_buf,Yt.bi_buf>>=8,Yt.bi_valid-=8)}(wt)}},{"../utils/common":41}],53:[function(e,n,i){n.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,n,i){(function(o){(function(s,l){if(!s.setImmediate){var f,v,C,w,x=1,Q={},R=!1,L=s.document,P=Object.getPrototypeOf&&Object.getPrototypeOf(s);P=P&&P.setTimeout?P:s,f={}.toString.call(s.process)==="[object process]"?function(Y){process.nextTick(function(){k(Y)})}:function(){if(s.postMessage&&!s.importScripts){var Y=!0,re=s.onmessage;return s.onmessage=function(){Y=!1},s.postMessage("","*"),s.onmessage=re,Y}}()?(w="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",G,!1):s.attachEvent("onmessage",G),function(Y){s.postMessage(w+Y,"*")}):s.MessageChannel?((C=new MessageChannel).port1.onmessage=function(Y){k(Y.data)},function(Y){C.port2.postMessage(Y)}):L&&"onreadystatechange"in L.createElement("script")?(v=L.documentElement,function(Y){var re=L.createElement("script");re.onreadystatechange=function(){k(Y),re.onreadystatechange=null,v.removeChild(re),re=null},v.appendChild(re)}):function(Y){setTimeout(k,0,Y)},P.setImmediate=function(Y){typeof Y!="function"&&(Y=new Function(""+Y));for(var re=new Array(arguments.length-1),ie=0;ie<re.length;ie++)re[ie]=arguments[ie+1];var le={callback:Y,args:re};return Q[x]=le,f(x),x++},P.clearImmediate=M}function M(Y){delete Q[Y]}function k(Y){if(R)setTimeout(k,0,Y);else{var re=Q[Y];if(re){R=!0;try{(function(ie){var le=ie.callback,pe=ie.args;switch(pe.length){case 0:le();break;case 1:le(pe[0]);break;case 2:le(pe[0],pe[1]);break;case 3:le(pe[0],pe[1],pe[2]);break;default:le.apply(l,pe)}})(re)}finally{M(Y),R=!1}}}}function G(Y){Y.source===s&&typeof Y.data=="string"&&Y.data.indexOf(w)===0&&k(+Y.data.slice(w.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof ao<"u"?ao:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Zo);var xt=Zo.exports;const jc=En(xt);var wc={exports:{}};/**
  208. * @license
  209. * Lodash <https://lodash.com/>
  210. * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  211. * Released under MIT license <https://lodash.com/license>
  212. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  213. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  214. */wc.exports,function(r,t){(function(){var e,n="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",l="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",v=500,C="__lodash_placeholder__",w=1,x=2,Q=4,R=1,L=2,P=1,M=2,k=4,G=8,Y=16,re=32,ie=64,le=128,pe=256,ve=512,Ee=30,Se="...",ke=800,Le=16,be=1,ze=2,ut=3,ft=1/0,Qt=9007199254740991,vt=17976931348623157e292,Gt=NaN,Ct=4294967295,St=Ct-1,dr=Ct>>>1,ur=[["ary",le],["bind",P],["bindKey",M],["curry",G],["curryRight",Y],["flip",ve],["partial",re],["partialRight",ie],["rearg",pe]],ir="[object Arguments]",Fn="[object Array]",Ei="[object AsyncFunction]",Vr="[object Boolean]",qr="[object Date]",Tn="[object DOMException]",zr="[object Error]",Qn="[object Function]",Yi="[object GeneratorFunction]",Pe="[object Map]",hr="[object Number]",rr="[object Null]",Bt="[object Object]",wt="[object Promise]",Yt="[object Proxy]",Br="[object RegExp]",kr="[object Set]",tr="[object String]",rn="[object Symbol]",Gn="[object Undefined]",fn="[object WeakMap]",di="[object WeakSet]",za="[object ArrayBuffer]",sa="[object DataView]",Zu="[object Float32Array]",jf="[object Float64Array]",Gc="[object Int8Array]",Hf="[object Int16Array]",No="[object Int32Array]",ud="[object Uint8Array]",Sg="[object Uint8ClampedArray]",dl="[object Uint16Array]",C0="[object Uint32Array]",xC=/\b__p \+= '';/g,Ja=/\b(__p \+=) '' \+/g,Ru=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vQ=/&(?:amp|lt|gt|quot|#39);/g,Zm=/[&<>"']/g,_3=RegExp(vQ.source),f$=RegExp(Zm.source),A$=/<%-([\s\S]+?)%>/g,d$=/<%([\s\S]+?)%>/g,sO=/<%=([\s\S]+?)%>/g,g$=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,p$=/^\w*$/,v$=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,B_=/[\\^$.*+?()[\]{}|]/g,y$=RegExp(B_.source),k_=/^\s+/,m$=/\s/,I$=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,b$=/\{\n\/\* \[wrapped with (.+)\] \*/,C$=/,? & /,w$=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,E$=/[()=,{}\[\]\/\s]/,B$=/\\(\\)?/g,k$=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,uO=/\w*$/,Q$=/^[-+]0x[0-9a-f]+$/i,x$=/^0b[01]+$/i,S$=/^\[object .+?Constructor\]$/,_$=/^0o[0-7]+$/i,D$=/^(?:0|[1-9]\d*)$/,R$=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,X9=/($^)/,M$=/['\n\r\u2028\u2029\\]/g,$9="\\ud800-\\udfff",F$="\\u0300-\\u036f",T$="\\ufe20-\\ufe2f",L$="\\u20d0-\\u20ff",cO=F$+T$+L$,lO="\\u2700-\\u27bf",hO="a-z\\xdf-\\xf6\\xf8-\\xff",N$="\\xac\\xb1\\xd7\\xf7",O$="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",P$="\\u2000-\\u206f",G$=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fO="A-Z\\xc0-\\xd6\\xd8-\\xde",AO="\\ufe0e\\ufe0f",dO=N$+O$+P$+G$,Q_="['’]",U$="["+$9+"]",gO="["+dO+"]",ex="["+cO+"]",pO="\\d+",j$="["+lO+"]",vO="["+hO+"]",yO="[^"+$9+dO+pO+lO+hO+fO+"]",x_="\\ud83c[\\udffb-\\udfff]",H$="(?:"+ex+"|"+x_+")",mO="[^"+$9+"]",S_="(?:\\ud83c[\\udde6-\\uddff]){2}",__="[\\ud800-\\udbff][\\udc00-\\udfff]",D3="["+fO+"]",IO="\\u200d",bO="(?:"+vO+"|"+yO+")",Y$="(?:"+D3+"|"+yO+")",CO="(?:"+Q_+"(?:d|ll|m|re|s|t|ve))?",wO="(?:"+Q_+"(?:D|LL|M|RE|S|T|VE))?",EO=H$+"?",BO="["+AO+"]?",J$="(?:"+IO+"(?:"+[mO,S_,__].join("|")+")"+BO+EO+")*",W$="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",q$="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",kO=BO+EO+J$,z$="(?:"+[j$,S_,__].join("|")+")"+kO,K$="(?:"+[mO+ex+"?",ex,S_,__,U$].join("|")+")",V$=RegExp(Q_,"g"),Z$=RegExp(ex,"g"),D_=RegExp(x_+"(?="+x_+")|"+K$+kO,"g"),X$=RegExp([D3+"?"+vO+"+"+CO+"(?="+[gO,D3,"$"].join("|")+")",Y$+"+"+wO+"(?="+[gO,D3+bO,"$"].join("|")+")",D3+"?"+bO+"+"+CO,D3+"+"+wO,q$,W$,pO,z$].join("|"),"g"),$$=RegExp("["+IO+$9+cO+AO+"]"),eee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tee=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ree=-1,Cs={};Cs[Zu]=Cs[jf]=Cs[Gc]=Cs[Hf]=Cs[No]=Cs[ud]=Cs[Sg]=Cs[dl]=Cs[C0]=!0,Cs[ir]=Cs[Fn]=Cs[za]=Cs[Vr]=Cs[sa]=Cs[qr]=Cs[zr]=Cs[Qn]=Cs[Pe]=Cs[hr]=Cs[Bt]=Cs[Br]=Cs[kr]=Cs[tr]=Cs[fn]=!1;var us={};us[ir]=us[Fn]=us[za]=us[sa]=us[Vr]=us[qr]=us[Zu]=us[jf]=us[Gc]=us[Hf]=us[No]=us[Pe]=us[hr]=us[Bt]=us[Br]=us[kr]=us[tr]=us[rn]=us[ud]=us[Sg]=us[dl]=us[C0]=!0,us[zr]=us[Qn]=us[fn]=!1;var nee={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},iee={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},aee={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},oee={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},see=parseFloat,uee=parseInt,QO=typeof ao=="object"&&ao&&ao.Object===Object&&ao,cee=typeof self=="object"&&self&&self.Object===Object&&self,gl=QO||cee||Function("return this")(),R_=t&&!t.nodeType&&t,SC=R_&&!0&&r&&!r.nodeType&&r,xO=SC&&SC.exports===R_,M_=xO&&QO.process,cd=function(){try{var zt=SC&&SC.require&&SC.require("util").types;return zt||M_&&M_.binding&&M_.binding("util")}catch{}}(),SO=cd&&cd.isArrayBuffer,_O=cd&&cd.isDate,DO=cd&&cd.isMap,RO=cd&&cd.isRegExp,MO=cd&&cd.isSet,FO=cd&&cd.isTypedArray;function Yf(zt,wr,vr){switch(vr.length){case 0:return zt.call(wr);case 1:return zt.call(wr,vr[0]);case 2:return zt.call(wr,vr[0],vr[1]);case 3:return zt.call(wr,vr[0],vr[1],vr[2])}return zt.apply(wr,vr)}function lee(zt,wr,vr,zn){for(var Aa=-1,Eo=zt==null?0:zt.length;++Aa<Eo;){var bc=zt[Aa];wr(zn,bc,vr(bc),zt)}return zn}function ld(zt,wr){for(var vr=-1,zn=zt==null?0:zt.length;++vr<zn&&wr(zt[vr],vr,zt)!==!1;);return zt}function hee(zt,wr){for(var vr=zt==null?0:zt.length;vr--&&wr(zt[vr],vr,zt)!==!1;);return zt}function TO(zt,wr){for(var vr=-1,zn=zt==null?0:zt.length;++vr<zn;)if(!wr(zt[vr],vr,zt))return!1;return!0}function Xm(zt,wr){for(var vr=-1,zn=zt==null?0:zt.length,Aa=0,Eo=[];++vr<zn;){var bc=zt[vr];wr(bc,vr,zt)&&(Eo[Aa++]=bc)}return Eo}function tx(zt,wr){var vr=zt==null?0:zt.length;return!!vr&&R3(zt,wr,0)>-1}function F_(zt,wr,vr){for(var zn=-1,Aa=zt==null?0:zt.length;++zn<Aa;)if(vr(wr,zt[zn]))return!0;return!1}function Ps(zt,wr){for(var vr=-1,zn=zt==null?0:zt.length,Aa=Array(zn);++vr<zn;)Aa[vr]=wr(zt[vr],vr,zt);return Aa}function $m(zt,wr){for(var vr=-1,zn=wr.length,Aa=zt.length;++vr<zn;)zt[Aa+vr]=wr[vr];return zt}function T_(zt,wr,vr,zn){var Aa=-1,Eo=zt==null?0:zt.length;for(zn&&Eo&&(vr=zt[++Aa]);++Aa<Eo;)vr=wr(vr,zt[Aa],Aa,zt);return vr}function fee(zt,wr,vr,zn){var Aa=zt==null?0:zt.length;for(zn&&Aa&&(vr=zt[--Aa]);Aa--;)vr=wr(vr,zt[Aa],Aa,zt);return vr}function L_(zt,wr){for(var vr=-1,zn=zt==null?0:zt.length;++vr<zn;)if(wr(zt[vr],vr,zt))return!0;return!1}var Aee=N_("length");function dee(zt){return zt.split("")}function gee(zt){return zt.match(w$)||[]}function LO(zt,wr,vr){var zn;return vr(zt,function(Aa,Eo,bc){if(wr(Aa,Eo,bc))return zn=Eo,!1}),zn}function rx(zt,wr,vr,zn){for(var Aa=zt.length,Eo=vr+(zn?1:-1);zn?Eo--:++Eo<Aa;)if(wr(zt[Eo],Eo,zt))return Eo;return-1}function R3(zt,wr,vr){return wr===wr?Qee(zt,wr,vr):rx(zt,NO,vr)}function pee(zt,wr,vr,zn){for(var Aa=vr-1,Eo=zt.length;++Aa<Eo;)if(zn(zt[Aa],wr))return Aa;return-1}function NO(zt){return zt!==zt}function OO(zt,wr){var vr=zt==null?0:zt.length;return vr?P_(zt,wr)/vr:Gt}function N_(zt){return function(wr){return wr==null?e:wr[zt]}}function O_(zt){return function(wr){return zt==null?e:zt[wr]}}function PO(zt,wr,vr,zn,Aa){return Aa(zt,function(Eo,bc,Vo){vr=zn?(zn=!1,Eo):wr(vr,Eo,bc,Vo)}),vr}function vee(zt,wr){var vr=zt.length;for(zt.sort(wr);vr--;)zt[vr]=zt[vr].value;return zt}function P_(zt,wr){for(var vr,zn=-1,Aa=zt.length;++zn<Aa;){var Eo=wr(zt[zn]);Eo!==e&&(vr=vr===e?Eo:vr+Eo)}return vr}function G_(zt,wr){for(var vr=-1,zn=Array(zt);++vr<zt;)zn[vr]=wr(vr);return zn}function yee(zt,wr){return Ps(wr,function(vr){return[vr,zt[vr]]})}function GO(zt){return zt&&zt.slice(0,YO(zt)+1).replace(k_,"")}function Jf(zt){return function(wr){return zt(wr)}}function U_(zt,wr){return Ps(wr,function(vr){return zt[vr]})}function yQ(zt,wr){return zt.has(wr)}function UO(zt,wr){for(var vr=-1,zn=zt.length;++vr<zn&&R3(wr,zt[vr],0)>-1;);return vr}function jO(zt,wr){for(var vr=zt.length;vr--&&R3(wr,zt[vr],0)>-1;);return vr}function mee(zt,wr){for(var vr=zt.length,zn=0;vr--;)zt[vr]===wr&&++zn;return zn}var Iee=O_(nee),bee=O_(iee);function Cee(zt){return"\\"+oee[zt]}function wee(zt,wr){return zt==null?e:zt[wr]}function M3(zt){return $$.test(zt)}function Eee(zt){return eee.test(zt)}function Bee(zt){for(var wr,vr=[];!(wr=zt.next()).done;)vr.push(wr.value);return vr}function j_(zt){var wr=-1,vr=Array(zt.size);return zt.forEach(function(zn,Aa){vr[++wr]=[Aa,zn]}),vr}function HO(zt,wr){return function(vr){return zt(wr(vr))}}function e2(zt,wr){for(var vr=-1,zn=zt.length,Aa=0,Eo=[];++vr<zn;){var bc=zt[vr];(bc===wr||bc===C)&&(zt[vr]=C,Eo[Aa++]=vr)}return Eo}function nx(zt){var wr=-1,vr=Array(zt.size);return zt.forEach(function(zn){vr[++wr]=zn}),vr}function kee(zt){var wr=-1,vr=Array(zt.size);return zt.forEach(function(zn){vr[++wr]=[zn,zn]}),vr}function Qee(zt,wr,vr){for(var zn=vr-1,Aa=zt.length;++zn<Aa;)if(zt[zn]===wr)return zn;return-1}function xee(zt,wr,vr){for(var zn=vr+1;zn--;)if(zt[zn]===wr)return zn;return zn}function F3(zt){return M3(zt)?_ee(zt):Aee(zt)}function _g(zt){return M3(zt)?Dee(zt):dee(zt)}function YO(zt){for(var wr=zt.length;wr--&&m$.test(zt.charAt(wr)););return wr}var See=O_(aee);function _ee(zt){for(var wr=D_.lastIndex=0;D_.test(zt);)++wr;return wr}function Dee(zt){return zt.match(D_)||[]}function Ree(zt){return zt.match(X$)||[]}var Mee=function zt(wr){wr=wr==null?gl:T3.defaults(gl.Object(),wr,T3.pick(gl,tee));var vr=wr.Array,zn=wr.Date,Aa=wr.Error,Eo=wr.Function,bc=wr.Math,Vo=wr.Object,H_=wr.RegExp,Fee=wr.String,hd=wr.TypeError,ix=vr.prototype,Tee=Eo.prototype,L3=Vo.prototype,ax=wr["__core-js_shared__"],ox=Tee.toString,Oo=L3.hasOwnProperty,Lee=0,JO=function(){var O=/[^.]+$/.exec(ax&&ax.keys&&ax.keys.IE_PROTO||"");return O?"Symbol(src)_1."+O:""}(),sx=L3.toString,Nee=ox.call(Vo),Oee=gl._,Pee=H_("^"+ox.call(Oo).replace(B_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ux=xO?wr.Buffer:e,t2=wr.Symbol,cx=wr.Uint8Array,WO=ux?ux.allocUnsafe:e,lx=HO(Vo.getPrototypeOf,Vo),qO=Vo.create,zO=L3.propertyIsEnumerable,hx=ix.splice,KO=t2?t2.isConcatSpreadable:e,mQ=t2?t2.iterator:e,_C=t2?t2.toStringTag:e,fx=function(){try{var O=TC(Vo,"defineProperty");return O({},"",{}),O}catch{}}(),Gee=wr.clearTimeout!==gl.clearTimeout&&wr.clearTimeout,Uee=zn&&zn.now!==gl.Date.now&&zn.now,jee=wr.setTimeout!==gl.setTimeout&&wr.setTimeout,Ax=bc.ceil,dx=bc.floor,Y_=Vo.getOwnPropertySymbols,Hee=ux?ux.isBuffer:e,VO=wr.isFinite,Yee=ix.join,Jee=HO(Vo.keys,Vo),Cc=bc.max,Yl=bc.min,Wee=zn.now,qee=wr.parseInt,ZO=bc.random,zee=ix.reverse,J_=TC(wr,"DataView"),IQ=TC(wr,"Map"),W_=TC(wr,"Promise"),N3=TC(wr,"Set"),bQ=TC(wr,"WeakMap"),CQ=TC(Vo,"create"),gx=bQ&&new bQ,O3={},Kee=LC(J_),Vee=LC(IQ),Zee=LC(W_),Xee=LC(N3),$ee=LC(bQ),px=t2?t2.prototype:e,wQ=px?px.valueOf:e,XO=px?px.toString:e;function at(O){if(Iu(O)&&!ya(O)&&!(O instanceof Ka)){if(O instanceof fd)return O;if(Oo.call(O,"__wrapped__"))return $P(O)}return new fd(O)}var P3=function(){function O(){}return function(K){if(!iu(K))return{};if(qO)return qO(K);O.prototype=K;var he=new O;return O.prototype=e,he}}();function vx(){}function fd(O,K){this.__wrapped__=O,this.__actions__=[],this.__chain__=!!K,this.__index__=0,this.__values__=e}at.templateSettings={escape:A$,evaluate:d$,interpolate:sO,variable:"",imports:{_:at}},at.prototype=vx.prototype,at.prototype.constructor=at,fd.prototype=P3(vx.prototype),fd.prototype.constructor=fd;function Ka(O){this.__wrapped__=O,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ct,this.__views__=[]}function ete(){var O=new Ka(this.__wrapped__);return O.__actions__=Vh(this.__actions__),O.__dir__=this.__dir__,O.__filtered__=this.__filtered__,O.__iteratees__=Vh(this.__iteratees__),O.__takeCount__=this.__takeCount__,O.__views__=Vh(this.__views__),O}function tte(){if(this.__filtered__){var O=new Ka(this);O.__dir__=-1,O.__filtered__=!0}else O=this.clone(),O.__dir__*=-1;return O}function rte(){var O=this.__wrapped__.value(),K=this.__dir__,he=ya(O),xe=K<0,Ve=he?O.length:0,ct=dre(0,Ve,this.__views__),Dt=ct.start,Ut=ct.end,Xt=Ut-Dt,Nr=xe?Ut:Dt-1,Gr=this.__iteratees__,Zr=Gr.length,Rn=0,ui=Yl(Xt,this.__takeCount__);if(!he||!xe&&Ve==Xt&&ui==Xt)return CP(O,this.__actions__);var Pi=[];e:for(;Xt--&&Rn<ui;){Nr+=K;for(var _a=-1,Gi=O[Nr];++_a<Zr;){var Wa=Gr[_a],eo=Wa.iteratee,zf=Wa.type,Ch=eo(Gi);if(zf==ze)Gi=Ch;else if(!Ch){if(zf==be)continue e;break e}}Pi[Rn++]=Gi}return Pi}Ka.prototype=P3(vx.prototype),Ka.prototype.constructor=Ka;function DC(O){var K=-1,he=O==null?0:O.length;for(this.clear();++K<he;){var xe=O[K];this.set(xe[0],xe[1])}}function nte(){this.__data__=CQ?CQ(null):{},this.size=0}function ite(O){var K=this.has(O)&&delete this.__data__[O];return this.size-=K?1:0,K}function ate(O){var K=this.__data__;if(CQ){var he=K[O];return he===f?e:he}return Oo.call(K,O)?K[O]:e}function ote(O){var K=this.__data__;return CQ?K[O]!==e:Oo.call(K,O)}function ste(O,K){var he=this.__data__;return this.size+=this.has(O)?0:1,he[O]=CQ&&K===e?f:K,this}DC.prototype.clear=nte,DC.prototype.delete=ite,DC.prototype.get=ate,DC.prototype.has=ote,DC.prototype.set=ste;function yv(O){var K=-1,he=O==null?0:O.length;for(this.clear();++K<he;){var xe=O[K];this.set(xe[0],xe[1])}}function ute(){this.__data__=[],this.size=0}function cte(O){var K=this.__data__,he=yx(K,O);if(he<0)return!1;var xe=K.length-1;return he==xe?K.pop():hx.call(K,he,1),--this.size,!0}function lte(O){var K=this.__data__,he=yx(K,O);return he<0?e:K[he][1]}function hte(O){return yx(this.__data__,O)>-1}function fte(O,K){var he=this.__data__,xe=yx(he,O);return xe<0?(++this.size,he.push([O,K])):he[xe][1]=K,this}yv.prototype.clear=ute,yv.prototype.delete=cte,yv.prototype.get=lte,yv.prototype.has=hte,yv.prototype.set=fte;function mv(O){var K=-1,he=O==null?0:O.length;for(this.clear();++K<he;){var xe=O[K];this.set(xe[0],xe[1])}}function Ate(){this.size=0,this.__data__={hash:new DC,map:new(IQ||yv),string:new DC}}function dte(O){var K=Dx(this,O).delete(O);return this.size-=K?1:0,K}function gte(O){return Dx(this,O).get(O)}function pte(O){return Dx(this,O).has(O)}function vte(O,K){var he=Dx(this,O),xe=he.size;return he.set(O,K),this.size+=he.size==xe?0:1,this}mv.prototype.clear=Ate,mv.prototype.delete=dte,mv.prototype.get=gte,mv.prototype.has=pte,mv.prototype.set=vte;function RC(O){var K=-1,he=O==null?0:O.length;for(this.__data__=new mv;++K<he;)this.add(O[K])}function yte(O){return this.__data__.set(O,f),this}function mte(O){return this.__data__.has(O)}RC.prototype.add=RC.prototype.push=yte,RC.prototype.has=mte;function Dg(O){var K=this.__data__=new yv(O);this.size=K.size}function Ite(){this.__data__=new yv,this.size=0}function bte(O){var K=this.__data__,he=K.delete(O);return this.size=K.size,he}function Cte(O){return this.__data__.get(O)}function wte(O){return this.__data__.has(O)}function Ete(O,K){var he=this.__data__;if(he instanceof yv){var xe=he.__data__;if(!IQ||xe.length<i-1)return xe.push([O,K]),this.size=++he.size,this;he=this.__data__=new mv(xe)}return he.set(O,K),this.size=he.size,this}Dg.prototype.clear=Ite,Dg.prototype.delete=bte,Dg.prototype.get=Cte,Dg.prototype.has=wte,Dg.prototype.set=Ete;function $O(O,K){var he=ya(O),xe=!he&&NC(O),Ve=!he&&!xe&&o2(O),ct=!he&&!xe&&!Ve&&H3(O),Dt=he||xe||Ve||ct,Ut=Dt?G_(O.length,Fee):[],Xt=Ut.length;for(var Nr in O)(K||Oo.call(O,Nr))&&!(Dt&&(Nr=="length"||Ve&&(Nr=="offset"||Nr=="parent")||ct&&(Nr=="buffer"||Nr=="byteLength"||Nr=="byteOffset")||wv(Nr,Xt)))&&Ut.push(Nr);return Ut}function eP(O){var K=O.length;return K?O[nD(0,K-1)]:e}function Bte(O,K){return Rx(Vh(O),MC(K,0,O.length))}function kte(O){return Rx(Vh(O))}function q_(O,K,he){(he!==e&&!Rg(O[K],he)||he===e&&!(K in O))&&Iv(O,K,he)}function EQ(O,K,he){var xe=O[K];(!(Oo.call(O,K)&&Rg(xe,he))||he===e&&!(K in O))&&Iv(O,K,he)}function yx(O,K){for(var he=O.length;he--;)if(Rg(O[he][0],K))return he;return-1}function Qte(O,K,he,xe){return r2(O,function(Ve,ct,Dt){K(xe,Ve,he(Ve),Dt)}),xe}function tP(O,K){return O&&E0(K,Uc(K),O)}function xte(O,K){return O&&E0(K,Xh(K),O)}function Iv(O,K,he){K=="__proto__"&&fx?fx(O,K,{configurable:!0,enumerable:!0,value:he,writable:!0}):O[K]=he}function z_(O,K){for(var he=-1,xe=K.length,Ve=vr(xe),ct=O==null;++he<xe;)Ve[he]=ct?e:xD(O,K[he]);return Ve}function MC(O,K,he){return O===O&&(he!==e&&(O=O<=he?O:he),K!==e&&(O=O>=K?O:K)),O}function Ad(O,K,he,xe,Ve,ct){var Dt,Ut=K&w,Xt=K&x,Nr=K&Q;if(he&&(Dt=Ve?he(O,xe,Ve,ct):he(O)),Dt!==e)return Dt;if(!iu(O))return O;var Gr=ya(O);if(Gr){if(Dt=pre(O),!Ut)return Vh(O,Dt)}else{var Zr=Jl(O),Rn=Zr==Qn||Zr==Yi;if(o2(O))return BP(O,Ut);if(Zr==Bt||Zr==ir||Rn&&!Ve){if(Dt=Xt||Rn?{}:YP(O),!Ut)return Xt?are(O,xte(Dt,O)):ire(O,tP(Dt,O))}else{if(!us[Zr])return Ve?O:{};Dt=vre(O,Zr,Ut)}}ct||(ct=new Dg);var ui=ct.get(O);if(ui)return ui;ct.set(O,Dt),mG(O)?O.forEach(function(Gi){Dt.add(Ad(Gi,K,he,Gi,O,ct))}):vG(O)&&O.forEach(function(Gi,Wa){Dt.set(Wa,Ad(Gi,K,he,Wa,O,ct))});var Pi=Nr?Xt?dD:AD:Xt?Xh:Uc,_a=Gr?e:Pi(O);return ld(_a||O,function(Gi,Wa){_a&&(Wa=Gi,Gi=O[Wa]),EQ(Dt,Wa,Ad(Gi,K,he,Wa,O,ct))}),Dt}function Ste(O){var K=Uc(O);return function(he){return rP(he,O,K)}}function rP(O,K,he){var xe=he.length;if(O==null)return!xe;for(O=Vo(O);xe--;){var Ve=he[xe],ct=K[Ve],Dt=O[Ve];if(Dt===e&&!(Ve in O)||!ct(Dt))return!1}return!0}function nP(O,K,he){if(typeof O!="function")throw new hd(s);return DQ(function(){O.apply(e,he)},K)}function BQ(O,K,he,xe){var Ve=-1,ct=tx,Dt=!0,Ut=O.length,Xt=[],Nr=K.length;if(!Ut)return Xt;he&&(K=Ps(K,Jf(he))),xe?(ct=F_,Dt=!1):K.length>=i&&(ct=yQ,Dt=!1,K=new RC(K));e:for(;++Ve<Ut;){var Gr=O[Ve],Zr=he==null?Gr:he(Gr);if(Gr=xe||Gr!==0?Gr:0,Dt&&Zr===Zr){for(var Rn=Nr;Rn--;)if(K[Rn]===Zr)continue e;Xt.push(Gr)}else ct(K,Zr,xe)||Xt.push(Gr)}return Xt}var r2=_P(w0),iP=_P(V_,!0);function _te(O,K){var he=!0;return r2(O,function(xe,Ve,ct){return he=!!K(xe,Ve,ct),he}),he}function mx(O,K,he){for(var xe=-1,Ve=O.length;++xe<Ve;){var ct=O[xe],Dt=K(ct);if(Dt!=null&&(Ut===e?Dt===Dt&&!qf(Dt):he(Dt,Ut)))var Ut=Dt,Xt=ct}return Xt}function Dte(O,K,he,xe){var Ve=O.length;for(he=Qa(he),he<0&&(he=-he>Ve?0:Ve+he),xe=xe===e||xe>Ve?Ve:Qa(xe),xe<0&&(xe+=Ve),xe=he>xe?0:bG(xe);he<xe;)O[he++]=K;return O}function aP(O,K){var he=[];return r2(O,function(xe,Ve,ct){K(xe,Ve,ct)&&he.push(xe)}),he}function pl(O,K,he,xe,Ve){var ct=-1,Dt=O.length;for(he||(he=mre),Ve||(Ve=[]);++ct<Dt;){var Ut=O[ct];K>0&&he(Ut)?K>1?pl(Ut,K-1,he,xe,Ve):$m(Ve,Ut):xe||(Ve[Ve.length]=Ut)}return Ve}var K_=DP(),oP=DP(!0);function w0(O,K){return O&&K_(O,K,Uc)}function V_(O,K){return O&&oP(O,K,Uc)}function Ix(O,K){return Xm(K,function(he){return Ev(O[he])})}function FC(O,K){K=i2(K,O);for(var he=0,xe=K.length;O!=null&&he<xe;)O=O[B0(K[he++])];return he&&he==xe?O:e}function sP(O,K,he){var xe=K(O);return ya(O)?xe:$m(xe,he(O))}function Ih(O){return O==null?O===e?Gn:rr:_C&&_C in Vo(O)?Are(O):kre(O)}function Z_(O,K){return O>K}function Rte(O,K){return O!=null&&Oo.call(O,K)}function Mte(O,K){return O!=null&&K in Vo(O)}function Fte(O,K,he){return O>=Yl(K,he)&&O<Cc(K,he)}function X_(O,K,he){for(var xe=he?F_:tx,Ve=O[0].length,ct=O.length,Dt=ct,Ut=vr(ct),Xt=1/0,Nr=[];Dt--;){var Gr=O[Dt];Dt&&K&&(Gr=Ps(Gr,Jf(K))),Xt=Yl(Gr.length,Xt),Ut[Dt]=!he&&(K||Ve>=120&&Gr.length>=120)?new RC(Dt&&Gr):e}Gr=O[0];var Zr=-1,Rn=Ut[0];e:for(;++Zr<Ve&&Nr.length<Xt;){var ui=Gr[Zr],Pi=K?K(ui):ui;if(ui=he||ui!==0?ui:0,!(Rn?yQ(Rn,Pi):xe(Nr,Pi,he))){for(Dt=ct;--Dt;){var _a=Ut[Dt];if(!(_a?yQ(_a,Pi):xe(O[Dt],Pi,he)))continue e}Rn&&Rn.push(Pi),Nr.push(ui)}}return Nr}function Tte(O,K,he,xe){return w0(O,function(Ve,ct,Dt){K(xe,he(Ve),ct,Dt)}),xe}function kQ(O,K,he){K=i2(K,O),O=zP(O,K);var xe=O==null?O:O[B0(gd(K))];return xe==null?e:Yf(xe,O,he)}function uP(O){return Iu(O)&&Ih(O)==ir}function Lte(O){return Iu(O)&&Ih(O)==za}function Nte(O){return Iu(O)&&Ih(O)==qr}function QQ(O,K,he,xe,Ve){return O===K?!0:O==null||K==null||!Iu(O)&&!Iu(K)?O!==O&&K!==K:Ote(O,K,he,xe,QQ,Ve)}function Ote(O,K,he,xe,Ve,ct){var Dt=ya(O),Ut=ya(K),Xt=Dt?Fn:Jl(O),Nr=Ut?Fn:Jl(K);Xt=Xt==ir?Bt:Xt,Nr=Nr==ir?Bt:Nr;var Gr=Xt==Bt,Zr=Nr==Bt,Rn=Xt==Nr;if(Rn&&o2(O)){if(!o2(K))return!1;Dt=!0,Gr=!1}if(Rn&&!Gr)return ct||(ct=new Dg),Dt||H3(O)?UP(O,K,he,xe,Ve,ct):hre(O,K,Xt,he,xe,Ve,ct);if(!(he&R)){var ui=Gr&&Oo.call(O,"__wrapped__"),Pi=Zr&&Oo.call(K,"__wrapped__");if(ui||Pi){var _a=ui?O.value():O,Gi=Pi?K.value():K;return ct||(ct=new Dg),Ve(_a,Gi,he,xe,ct)}}return Rn?(ct||(ct=new Dg),fre(O,K,he,xe,Ve,ct)):!1}function Pte(O){return Iu(O)&&Jl(O)==Pe}function $_(O,K,he,xe){var Ve=he.length,ct=Ve,Dt=!xe;if(O==null)return!ct;for(O=Vo(O);Ve--;){var Ut=he[Ve];if(Dt&&Ut[2]?Ut[1]!==O[Ut[0]]:!(Ut[0]in O))return!1}for(;++Ve<ct;){Ut=he[Ve];var Xt=Ut[0],Nr=O[Xt],Gr=Ut[1];if(Dt&&Ut[2]){if(Nr===e&&!(Xt in O))return!1}else{var Zr=new Dg;if(xe)var Rn=xe(Nr,Gr,Xt,O,K,Zr);if(!(Rn===e?QQ(Gr,Nr,R|L,xe,Zr):Rn))return!1}}return!0}function cP(O){if(!iu(O)||bre(O))return!1;var K=Ev(O)?Pee:S$;return K.test(LC(O))}function Gte(O){return Iu(O)&&Ih(O)==Br}function Ute(O){return Iu(O)&&Jl(O)==kr}function jte(O){return Iu(O)&&Ox(O.length)&&!!Cs[Ih(O)]}function lP(O){return typeof O=="function"?O:O==null?$h:typeof O=="object"?ya(O)?AP(O[0],O[1]):fP(O):RG(O)}function eD(O){if(!_Q(O))return Jee(O);var K=[];for(var he in Vo(O))Oo.call(O,he)&&he!="constructor"&&K.push(he);return K}function Hte(O){if(!iu(O))return Bre(O);var K=_Q(O),he=[];for(var xe in O)xe=="constructor"&&(K||!Oo.call(O,xe))||he.push(xe);return he}function tD(O,K){return O<K}function hP(O,K){var he=-1,xe=Zh(O)?vr(O.length):[];return r2(O,function(Ve,ct,Dt){xe[++he]=K(Ve,ct,Dt)}),xe}function fP(O){var K=pD(O);return K.length==1&&K[0][2]?WP(K[0][0],K[0][1]):function(he){return he===O||$_(he,O,K)}}function AP(O,K){return yD(O)&&JP(K)?WP(B0(O),K):function(he){var xe=xD(he,O);return xe===e&&xe===K?SD(he,O):QQ(K,xe,R|L)}}function bx(O,K,he,xe,Ve){O!==K&&K_(K,function(ct,Dt){if(Ve||(Ve=new Dg),iu(ct))Yte(O,K,Dt,he,bx,xe,Ve);else{var Ut=xe?xe(ID(O,Dt),ct,Dt+"",O,K,Ve):e;Ut===e&&(Ut=ct),q_(O,Dt,Ut)}},Xh)}function Yte(O,K,he,xe,Ve,ct,Dt){var Ut=ID(O,he),Xt=ID(K,he),Nr=Dt.get(Xt);if(Nr){q_(O,he,Nr);return}var Gr=ct?ct(Ut,Xt,he+"",O,K,Dt):e,Zr=Gr===e;if(Zr){var Rn=ya(Xt),ui=!Rn&&o2(Xt),Pi=!Rn&&!ui&&H3(Xt);Gr=Xt,Rn||ui||Pi?ya(Ut)?Gr=Ut:Mu(Ut)?Gr=Vh(Ut):ui?(Zr=!1,Gr=BP(Xt,!0)):Pi?(Zr=!1,Gr=kP(Xt,!0)):Gr=[]:RQ(Xt)||NC(Xt)?(Gr=Ut,NC(Ut)?Gr=CG(Ut):(!iu(Ut)||Ev(Ut))&&(Gr=YP(Xt))):Zr=!1}Zr&&(Dt.set(Xt,Gr),Ve(Gr,Xt,xe,ct,Dt),Dt.delete(Xt)),q_(O,he,Gr)}function dP(O,K){var he=O.length;if(he)return K+=K<0?he:0,wv(K,he)?O[K]:e}function gP(O,K,he){K.length?K=Ps(K,function(ct){return ya(ct)?function(Dt){return FC(Dt,ct.length===1?ct[0]:ct)}:ct}):K=[$h];var xe=-1;K=Ps(K,Jf(Li()));var Ve=hP(O,function(ct,Dt,Ut){var Xt=Ps(K,function(Nr){return Nr(ct)});return{criteria:Xt,index:++xe,value:ct}});return vee(Ve,function(ct,Dt){return nre(ct,Dt,he)})}function Jte(O,K){return pP(O,K,function(he,xe){return SD(O,xe)})}function pP(O,K,he){for(var xe=-1,Ve=K.length,ct={};++xe<Ve;){var Dt=K[xe],Ut=FC(O,Dt);he(Ut,Dt)&&xQ(ct,i2(Dt,O),Ut)}return ct}function Wte(O){return function(K){return FC(K,O)}}function rD(O,K,he,xe){var Ve=xe?pee:R3,ct=-1,Dt=K.length,Ut=O;for(O===K&&(K=Vh(K)),he&&(Ut=Ps(O,Jf(he)));++ct<Dt;)for(var Xt=0,Nr=K[ct],Gr=he?he(Nr):Nr;(Xt=Ve(Ut,Gr,Xt,xe))>-1;)Ut!==O&&hx.call(Ut,Xt,1),hx.call(O,Xt,1);return O}function vP(O,K){for(var he=O?K.length:0,xe=he-1;he--;){var Ve=K[he];if(he==xe||Ve!==ct){var ct=Ve;wv(Ve)?hx.call(O,Ve,1):oD(O,Ve)}}return O}function nD(O,K){return O+dx(ZO()*(K-O+1))}function qte(O,K,he,xe){for(var Ve=-1,ct=Cc(Ax((K-O)/(he||1)),0),Dt=vr(ct);ct--;)Dt[xe?ct:++Ve]=O,O+=he;return Dt}function iD(O,K){var he="";if(!O||K<1||K>Qt)return he;do K%2&&(he+=O),K=dx(K/2),K&&(O+=O);while(K);return he}function Ma(O,K){return bD(qP(O,K,$h),O+"")}function zte(O){return eP(Y3(O))}function Kte(O,K){var he=Y3(O);return Rx(he,MC(K,0,he.length))}function xQ(O,K,he,xe){if(!iu(O))return O;K=i2(K,O);for(var Ve=-1,ct=K.length,Dt=ct-1,Ut=O;Ut!=null&&++Ve<ct;){var Xt=B0(K[Ve]),Nr=he;if(Xt==="__proto__"||Xt==="constructor"||Xt==="prototype")return O;if(Ve!=Dt){var Gr=Ut[Xt];Nr=xe?xe(Gr,Xt,Ut):e,Nr===e&&(Nr=iu(Gr)?Gr:wv(K[Ve+1])?[]:{})}EQ(Ut,Xt,Nr),Ut=Ut[Xt]}return O}var yP=gx?function(O,K){return gx.set(O,K),O}:$h,Vte=fx?function(O,K){return fx(O,"toString",{configurable:!0,enumerable:!1,value:DD(K),writable:!0})}:$h;function Zte(O){return Rx(Y3(O))}function dd(O,K,he){var xe=-1,Ve=O.length;K<0&&(K=-K>Ve?0:Ve+K),he=he>Ve?Ve:he,he<0&&(he+=Ve),Ve=K>he?0:he-K>>>0,K>>>=0;for(var ct=vr(Ve);++xe<Ve;)ct[xe]=O[xe+K];return ct}function Xte(O,K){var he;return r2(O,function(xe,Ve,ct){return he=K(xe,Ve,ct),!he}),!!he}function Cx(O,K,he){var xe=0,Ve=O==null?xe:O.length;if(typeof K=="number"&&K===K&&Ve<=dr){for(;xe<Ve;){var ct=xe+Ve>>>1,Dt=O[ct];Dt!==null&&!qf(Dt)&&(he?Dt<=K:Dt<K)?xe=ct+1:Ve=ct}return Ve}return aD(O,K,$h,he)}function aD(O,K,he,xe){var Ve=0,ct=O==null?0:O.length;if(ct===0)return 0;K=he(K);for(var Dt=K!==K,Ut=K===null,Xt=qf(K),Nr=K===e;Ve<ct;){var Gr=dx((Ve+ct)/2),Zr=he(O[Gr]),Rn=Zr!==e,ui=Zr===null,Pi=Zr===Zr,_a=qf(Zr);if(Dt)var Gi=xe||Pi;else Nr?Gi=Pi&&(xe||Rn):Ut?Gi=Pi&&Rn&&(xe||!ui):Xt?Gi=Pi&&Rn&&!ui&&(xe||!_a):ui||_a?Gi=!1:Gi=xe?Zr<=K:Zr<K;Gi?Ve=Gr+1:ct=Gr}return Yl(ct,St)}function mP(O,K){for(var he=-1,xe=O.length,Ve=0,ct=[];++he<xe;){var Dt=O[he],Ut=K?K(Dt):Dt;if(!he||!Rg(Ut,Xt)){var Xt=Ut;ct[Ve++]=Dt===0?0:Dt}}return ct}function IP(O){return typeof O=="number"?O:qf(O)?Gt:+O}function Wf(O){if(typeof O=="string")return O;if(ya(O))return Ps(O,Wf)+"";if(qf(O))return XO?XO.call(O):"";var K=O+"";return K=="0"&&1/O==-1/0?"-0":K}function n2(O,K,he){var xe=-1,Ve=tx,ct=O.length,Dt=!0,Ut=[],Xt=Ut;if(he)Dt=!1,Ve=F_;else if(ct>=i){var Nr=K?null:cre(O);if(Nr)return nx(Nr);Dt=!1,Ve=yQ,Xt=new RC}else Xt=K?[]:Ut;e:for(;++xe<ct;){var Gr=O[xe],Zr=K?K(Gr):Gr;if(Gr=he||Gr!==0?Gr:0,Dt&&Zr===Zr){for(var Rn=Xt.length;Rn--;)if(Xt[Rn]===Zr)continue e;K&&Xt.push(Zr),Ut.push(Gr)}else Ve(Xt,Zr,he)||(Xt!==Ut&&Xt.push(Zr),Ut.push(Gr))}return Ut}function oD(O,K){return K=i2(K,O),O=zP(O,K),O==null||delete O[B0(gd(K))]}function bP(O,K,he,xe){return xQ(O,K,he(FC(O,K)),xe)}function Ex(O,K,he,xe){for(var Ve=O.length,ct=xe?Ve:-1;(xe?ct--:++ct<Ve)&&K(O[ct],ct,O););return he?dd(O,xe?0:ct,xe?ct+1:Ve):dd(O,xe?ct+1:0,xe?Ve:ct)}function CP(O,K){var he=O;return he instanceof Ka&&(he=he.value()),T_(K,function(xe,Ve){return Ve.func.apply(Ve.thisArg,$m([xe],Ve.args))},he)}function sD(O,K,he){var xe=O.length;if(xe<2)return xe?n2(O[0]):[];for(var Ve=-1,ct=vr(xe);++Ve<xe;)for(var Dt=O[Ve],Ut=-1;++Ut<xe;)Ut!=Ve&&(ct[Ve]=BQ(ct[Ve]||Dt,O[Ut],K,he));return n2(pl(ct,1),K,he)}function wP(O,K,he){for(var xe=-1,Ve=O.length,ct=K.length,Dt={};++xe<Ve;){var Ut=xe<ct?K[xe]:e;he(Dt,O[xe],Ut)}return Dt}function uD(O){return Mu(O)?O:[]}function cD(O){return typeof O=="function"?O:$h}function i2(O,K){return ya(O)?O:yD(O,K)?[O]:XP(So(O))}var $te=Ma;function a2(O,K,he){var xe=O.length;return he=he===e?xe:he,!K&&he>=xe?O:dd(O,K,he)}var EP=Gee||function(O){return gl.clearTimeout(O)};function BP(O,K){if(K)return O.slice();var he=O.length,xe=WO?WO(he):new O.constructor(he);return O.copy(xe),xe}function lD(O){var K=new O.constructor(O.byteLength);return new cx(K).set(new cx(O)),K}function ere(O,K){var he=K?lD(O.buffer):O.buffer;return new O.constructor(he,O.byteOffset,O.byteLength)}function tre(O){var K=new O.constructor(O.source,uO.exec(O));return K.lastIndex=O.lastIndex,K}function rre(O){return wQ?Vo(wQ.call(O)):{}}function kP(O,K){var he=K?lD(O.buffer):O.buffer;return new O.constructor(he,O.byteOffset,O.length)}function QP(O,K){if(O!==K){var he=O!==e,xe=O===null,Ve=O===O,ct=qf(O),Dt=K!==e,Ut=K===null,Xt=K===K,Nr=qf(K);if(!Ut&&!Nr&&!ct&&O>K||ct&&Dt&&Xt&&!Ut&&!Nr||xe&&Dt&&Xt||!he&&Xt||!Ve)return 1;if(!xe&&!ct&&!Nr&&O<K||Nr&&he&&Ve&&!xe&&!ct||Ut&&he&&Ve||!Dt&&Ve||!Xt)return-1}return 0}function nre(O,K,he){for(var xe=-1,Ve=O.criteria,ct=K.criteria,Dt=Ve.length,Ut=he.length;++xe<Dt;){var Xt=QP(Ve[xe],ct[xe]);if(Xt){if(xe>=Ut)return Xt;var Nr=he[xe];return Xt*(Nr=="desc"?-1:1)}}return O.index-K.index}function xP(O,K,he,xe){for(var Ve=-1,ct=O.length,Dt=he.length,Ut=-1,Xt=K.length,Nr=Cc(ct-Dt,0),Gr=vr(Xt+Nr),Zr=!xe;++Ut<Xt;)Gr[Ut]=K[Ut];for(;++Ve<Dt;)(Zr||Ve<ct)&&(Gr[he[Ve]]=O[Ve]);for(;Nr--;)Gr[Ut++]=O[Ve++];return Gr}function SP(O,K,he,xe){for(var Ve=-1,ct=O.length,Dt=-1,Ut=he.length,Xt=-1,Nr=K.length,Gr=Cc(ct-Ut,0),Zr=vr(Gr+Nr),Rn=!xe;++Ve<Gr;)Zr[Ve]=O[Ve];for(var ui=Ve;++Xt<Nr;)Zr[ui+Xt]=K[Xt];for(;++Dt<Ut;)(Rn||Ve<ct)&&(Zr[ui+he[Dt]]=O[Ve++]);return Zr}function Vh(O,K){var he=-1,xe=O.length;for(K||(K=vr(xe));++he<xe;)K[he]=O[he];return K}function E0(O,K,he,xe){var Ve=!he;he||(he={});for(var ct=-1,Dt=K.length;++ct<Dt;){var Ut=K[ct],Xt=xe?xe(he[Ut],O[Ut],Ut,he,O):e;Xt===e&&(Xt=O[Ut]),Ve?Iv(he,Ut,Xt):EQ(he,Ut,Xt)}return he}function ire(O,K){return E0(O,vD(O),K)}function are(O,K){return E0(O,jP(O),K)}function Bx(O,K){return function(he,xe){var Ve=ya(he)?lee:Qte,ct=K?K():{};return Ve(he,O,Li(xe,2),ct)}}function G3(O){return Ma(function(K,he){var xe=-1,Ve=he.length,ct=Ve>1?he[Ve-1]:e,Dt=Ve>2?he[2]:e;for(ct=O.length>3&&typeof ct=="function"?(Ve--,ct):e,Dt&&bh(he[0],he[1],Dt)&&(ct=Ve<3?e:ct,Ve=1),K=Vo(K);++xe<Ve;){var Ut=he[xe];Ut&&O(K,Ut,xe,ct)}return K})}function _P(O,K){return function(he,xe){if(he==null)return he;if(!Zh(he))return O(he,xe);for(var Ve=he.length,ct=K?Ve:-1,Dt=Vo(he);(K?ct--:++ct<Ve)&&xe(Dt[ct],ct,Dt)!==!1;);return he}}function DP(O){return function(K,he,xe){for(var Ve=-1,ct=Vo(K),Dt=xe(K),Ut=Dt.length;Ut--;){var Xt=Dt[O?Ut:++Ve];if(he(ct[Xt],Xt,ct)===!1)break}return K}}function ore(O,K,he){var xe=K&P,Ve=SQ(O);function ct(){var Dt=this&&this!==gl&&this instanceof ct?Ve:O;return Dt.apply(xe?he:this,arguments)}return ct}function RP(O){return function(K){K=So(K);var he=M3(K)?_g(K):e,xe=he?he[0]:K.charAt(0),Ve=he?a2(he,1).join(""):K.slice(1);return xe[O]()+Ve}}function U3(O){return function(K){return T_(_G(SG(K).replace(V$,"")),O,"")}}function SQ(O){return function(){var K=arguments;switch(K.length){case 0:return new O;case 1:return new O(K[0]);case 2:return new O(K[0],K[1]);case 3:return new O(K[0],K[1],K[2]);case 4:return new O(K[0],K[1],K[2],K[3]);case 5:return new O(K[0],K[1],K[2],K[3],K[4]);case 6:return new O(K[0],K[1],K[2],K[3],K[4],K[5]);case 7:return new O(K[0],K[1],K[2],K[3],K[4],K[5],K[6])}var he=P3(O.prototype),xe=O.apply(he,K);return iu(xe)?xe:he}}function sre(O,K,he){var xe=SQ(O);function Ve(){for(var ct=arguments.length,Dt=vr(ct),Ut=ct,Xt=j3(Ve);Ut--;)Dt[Ut]=arguments[Ut];var Nr=ct<3&&Dt[0]!==Xt&&Dt[ct-1]!==Xt?[]:e2(Dt,Xt);if(ct-=Nr.length,ct<he)return NP(O,K,kx,Ve.placeholder,e,Dt,Nr,e,e,he-ct);var Gr=this&&this!==gl&&this instanceof Ve?xe:O;return Yf(Gr,this,Dt)}return Ve}function MP(O){return function(K,he,xe){var Ve=Vo(K);if(!Zh(K)){var ct=Li(he,3);K=Uc(K),he=function(Ut){return ct(Ve[Ut],Ut,Ve)}}var Dt=O(K,he,xe);return Dt>-1?Ve[ct?K[Dt]:Dt]:e}}function FP(O){return Cv(function(K){var he=K.length,xe=he,Ve=fd.prototype.thru;for(O&&K.reverse();xe--;){var ct=K[xe];if(typeof ct!="function")throw new hd(s);if(Ve&&!Dt&&_x(ct)=="wrapper")var Dt=new fd([],!0)}for(xe=Dt?xe:he;++xe<he;){ct=K[xe];var Ut=_x(ct),Xt=Ut=="wrapper"?gD(ct):e;Xt&&mD(Xt[0])&&Xt[1]==(le|G|re|pe)&&!Xt[4].length&&Xt[9]==1?Dt=Dt[_x(Xt[0])].apply(Dt,Xt[3]):Dt=ct.length==1&&mD(ct)?Dt[Ut]():Dt.thru(ct)}return function(){var Nr=arguments,Gr=Nr[0];if(Dt&&Nr.length==1&&ya(Gr))return Dt.plant(Gr).value();for(var Zr=0,Rn=he?K[Zr].apply(this,Nr):Gr;++Zr<he;)Rn=K[Zr].call(this,Rn);return Rn}})}function kx(O,K,he,xe,Ve,ct,Dt,Ut,Xt,Nr){var Gr=K&le,Zr=K&P,Rn=K&M,ui=K&(G|Y),Pi=K&ve,_a=Rn?e:SQ(O);function Gi(){for(var Wa=arguments.length,eo=vr(Wa),zf=Wa;zf--;)eo[zf]=arguments[zf];if(ui)var Ch=j3(Gi),Kf=mee(eo,Ch);if(xe&&(eo=xP(eo,xe,Ve,ui)),ct&&(eo=SP(eo,ct,Dt,ui)),Wa-=Kf,ui&&Wa<Nr){var Fu=e2(eo,Ch);return NP(O,K,kx,Gi.placeholder,he,eo,Fu,Ut,Xt,Nr-Wa)}var Mg=Zr?he:this,kv=Rn?Mg[O]:O;return Wa=eo.length,Ut?eo=Qre(eo,Ut):Pi&&Wa>1&&eo.reverse(),Gr&&Xt<Wa&&(eo.length=Xt),this&&this!==gl&&this instanceof Gi&&(kv=_a||SQ(kv)),kv.apply(Mg,eo)}return Gi}function TP(O,K){return function(he,xe){return Tte(he,O,K(xe),{})}}function Qx(O,K){return function(he,xe){var Ve;if(he===e&&xe===e)return K;if(he!==e&&(Ve=he),xe!==e){if(Ve===e)return xe;typeof he=="string"||typeof xe=="string"?(he=Wf(he),xe=Wf(xe)):(he=IP(he),xe=IP(xe)),Ve=O(he,xe)}return Ve}}function hD(O){return Cv(function(K){return K=Ps(K,Jf(Li())),Ma(function(he){var xe=this;return O(K,function(Ve){return Yf(Ve,xe,he)})})})}function xx(O,K){K=K===e?" ":Wf(K);var he=K.length;if(he<2)return he?iD(K,O):K;var xe=iD(K,Ax(O/F3(K)));return M3(K)?a2(_g(xe),0,O).join(""):xe.slice(0,O)}function ure(O,K,he,xe){var Ve=K&P,ct=SQ(O);function Dt(){for(var Ut=-1,Xt=arguments.length,Nr=-1,Gr=xe.length,Zr=vr(Gr+Xt),Rn=this&&this!==gl&&this instanceof Dt?ct:O;++Nr<Gr;)Zr[Nr]=xe[Nr];for(;Xt--;)Zr[Nr++]=arguments[++Ut];return Yf(Rn,Ve?he:this,Zr)}return Dt}function LP(O){return function(K,he,xe){return xe&&typeof xe!="number"&&bh(K,he,xe)&&(he=xe=e),K=Bv(K),he===e?(he=K,K=0):he=Bv(he),xe=xe===e?K<he?1:-1:Bv(xe),qte(K,he,xe,O)}}function Sx(O){return function(K,he){return typeof K=="string"&&typeof he=="string"||(K=pd(K),he=pd(he)),O(K,he)}}function NP(O,K,he,xe,Ve,ct,Dt,Ut,Xt,Nr){var Gr=K&G,Zr=Gr?Dt:e,Rn=Gr?e:Dt,ui=Gr?ct:e,Pi=Gr?e:ct;K|=Gr?re:ie,K&=~(Gr?ie:re),K&k||(K&=-4);var _a=[O,K,Ve,ui,Zr,Pi,Rn,Ut,Xt,Nr],Gi=he.apply(e,_a);return mD(O)&&KP(Gi,_a),Gi.placeholder=xe,VP(Gi,O,K)}function fD(O){var K=bc[O];return function(he,xe){if(he=pd(he),xe=xe==null?0:Yl(Qa(xe),292),xe&&VO(he)){var Ve=(So(he)+"e").split("e"),ct=K(Ve[0]+"e"+(+Ve[1]+xe));return Ve=(So(ct)+"e").split("e"),+(Ve[0]+"e"+(+Ve[1]-xe))}return K(he)}}var cre=N3&&1/nx(new N3([,-0]))[1]==ft?function(O){return new N3(O)}:FD;function OP(O){return function(K){var he=Jl(K);return he==Pe?j_(K):he==kr?kee(K):yee(K,O(K))}}function bv(O,K,he,xe,Ve,ct,Dt,Ut){var Xt=K&M;if(!Xt&&typeof O!="function")throw new hd(s);var Nr=xe?xe.length:0;if(Nr||(K&=-97,xe=Ve=e),Dt=Dt===e?Dt:Cc(Qa(Dt),0),Ut=Ut===e?Ut:Qa(Ut),Nr-=Ve?Ve.length:0,K&ie){var Gr=xe,Zr=Ve;xe=Ve=e}var Rn=Xt?e:gD(O),ui=[O,K,he,xe,Ve,Gr,Zr,ct,Dt,Ut];if(Rn&&Ere(ui,Rn),O=ui[0],K=ui[1],he=ui[2],xe=ui[3],Ve=ui[4],Ut=ui[9]=ui[9]===e?Xt?0:O.length:Cc(ui[9]-Nr,0),!Ut&&K&(G|Y)&&(K&=-25),!K||K==P)var Pi=ore(O,K,he);else K==G||K==Y?Pi=sre(O,K,Ut):(K==re||K==(P|re))&&!Ve.length?Pi=ure(O,K,he,xe):Pi=kx.apply(e,ui);var _a=Rn?yP:KP;return VP(_a(Pi,ui),O,K)}function PP(O,K,he,xe){return O===e||Rg(O,L3[he])&&!Oo.call(xe,he)?K:O}function GP(O,K,he,xe,Ve,ct){return iu(O)&&iu(K)&&(ct.set(K,O),bx(O,K,e,GP,ct),ct.delete(K)),O}function lre(O){return RQ(O)?e:O}function UP(O,K,he,xe,Ve,ct){var Dt=he&R,Ut=O.length,Xt=K.length;if(Ut!=Xt&&!(Dt&&Xt>Ut))return!1;var Nr=ct.get(O),Gr=ct.get(K);if(Nr&&Gr)return Nr==K&&Gr==O;var Zr=-1,Rn=!0,ui=he&L?new RC:e;for(ct.set(O,K),ct.set(K,O);++Zr<Ut;){var Pi=O[Zr],_a=K[Zr];if(xe)var Gi=Dt?xe(_a,Pi,Zr,K,O,ct):xe(Pi,_a,Zr,O,K,ct);if(Gi!==e){if(Gi)continue;Rn=!1;break}if(ui){if(!L_(K,function(Wa,eo){if(!yQ(ui,eo)&&(Pi===Wa||Ve(Pi,Wa,he,xe,ct)))return ui.push(eo)})){Rn=!1;break}}else if(!(Pi===_a||Ve(Pi,_a,he,xe,ct))){Rn=!1;break}}return ct.delete(O),ct.delete(K),Rn}function hre(O,K,he,xe,Ve,ct,Dt){switch(he){case sa:if(O.byteLength!=K.byteLength||O.byteOffset!=K.byteOffset)return!1;O=O.buffer,K=K.buffer;case za:return!(O.byteLength!=K.byteLength||!ct(new cx(O),new cx(K)));case Vr:case qr:case hr:return Rg(+O,+K);case zr:return O.name==K.name&&O.message==K.message;case Br:case tr:return O==K+"";case Pe:var Ut=j_;case kr:var Xt=xe&R;if(Ut||(Ut=nx),O.size!=K.size&&!Xt)return!1;var Nr=Dt.get(O);if(Nr)return Nr==K;xe|=L,Dt.set(O,K);var Gr=UP(Ut(O),Ut(K),xe,Ve,ct,Dt);return Dt.delete(O),Gr;case rn:if(wQ)return wQ.call(O)==wQ.call(K)}return!1}function fre(O,K,he,xe,Ve,ct){var Dt=he&R,Ut=AD(O),Xt=Ut.length,Nr=AD(K),Gr=Nr.length;if(Xt!=Gr&&!Dt)return!1;for(var Zr=Xt;Zr--;){var Rn=Ut[Zr];if(!(Dt?Rn in K:Oo.call(K,Rn)))return!1}var ui=ct.get(O),Pi=ct.get(K);if(ui&&Pi)return ui==K&&Pi==O;var _a=!0;ct.set(O,K),ct.set(K,O);for(var Gi=Dt;++Zr<Xt;){Rn=Ut[Zr];var Wa=O[Rn],eo=K[Rn];if(xe)var zf=Dt?xe(eo,Wa,Rn,K,O,ct):xe(Wa,eo,Rn,O,K,ct);if(!(zf===e?Wa===eo||Ve(Wa,eo,he,xe,ct):zf)){_a=!1;break}Gi||(Gi=Rn=="constructor")}if(_a&&!Gi){var Ch=O.constructor,Kf=K.constructor;Ch!=Kf&&"constructor"in O&&"constructor"in K&&!(typeof Ch=="function"&&Ch instanceof Ch&&typeof Kf=="function"&&Kf instanceof Kf)&&(_a=!1)}return ct.delete(O),ct.delete(K),_a}function Cv(O){return bD(qP(O,e,rG),O+"")}function AD(O){return sP(O,Uc,vD)}function dD(O){return sP(O,Xh,jP)}var gD=gx?function(O){return gx.get(O)}:FD;function _x(O){for(var K=O.name+"",he=O3[K],xe=Oo.call(O3,K)?he.length:0;xe--;){var Ve=he[xe],ct=Ve.func;if(ct==null||ct==O)return Ve.name}return K}function j3(O){var K=Oo.call(at,"placeholder")?at:O;return K.placeholder}function Li(){var O=at.iteratee||RD;return O=O===RD?lP:O,arguments.length?O(arguments[0],arguments[1]):O}function Dx(O,K){var he=O.__data__;return Ire(K)?he[typeof K=="string"?"string":"hash"]:he.map}function pD(O){for(var K=Uc(O),he=K.length;he--;){var xe=K[he],Ve=O[xe];K[he]=[xe,Ve,JP(Ve)]}return K}function TC(O,K){var he=wee(O,K);return cP(he)?he:e}function Are(O){var K=Oo.call(O,_C),he=O[_C];try{O[_C]=e;var xe=!0}catch{}var Ve=sx.call(O);return xe&&(K?O[_C]=he:delete O[_C]),Ve}var vD=Y_?function(O){return O==null?[]:(O=Vo(O),Xm(Y_(O),function(K){return zO.call(O,K)}))}:TD,jP=Y_?function(O){for(var K=[];O;)$m(K,vD(O)),O=lx(O);return K}:TD,Jl=Ih;(J_&&Jl(new J_(new ArrayBuffer(1)))!=sa||IQ&&Jl(new IQ)!=Pe||W_&&Jl(W_.resolve())!=wt||N3&&Jl(new N3)!=kr||bQ&&Jl(new bQ)!=fn)&&(Jl=function(O){var K=Ih(O),he=K==Bt?O.constructor:e,xe=he?LC(he):"";if(xe)switch(xe){case Kee:return sa;case Vee:return Pe;case Zee:return wt;case Xee:return kr;case $ee:return fn}return K});function dre(O,K,he){for(var xe=-1,Ve=he.length;++xe<Ve;){var ct=he[xe],Dt=ct.size;switch(ct.type){case"drop":O+=Dt;break;case"dropRight":K-=Dt;break;case"take":K=Yl(K,O+Dt);break;case"takeRight":O=Cc(O,K-Dt);break}}return{start:O,end:K}}function gre(O){var K=O.match(b$);return K?K[1].split(C$):[]}function HP(O,K,he){K=i2(K,O);for(var xe=-1,Ve=K.length,ct=!1;++xe<Ve;){var Dt=B0(K[xe]);if(!(ct=O!=null&&he(O,Dt)))break;O=O[Dt]}return ct||++xe!=Ve?ct:(Ve=O==null?0:O.length,!!Ve&&Ox(Ve)&&wv(Dt,Ve)&&(ya(O)||NC(O)))}function pre(O){var K=O.length,he=new O.constructor(K);return K&&typeof O[0]=="string"&&Oo.call(O,"index")&&(he.index=O.index,he.input=O.input),he}function YP(O){return typeof O.constructor=="function"&&!_Q(O)?P3(lx(O)):{}}function vre(O,K,he){var xe=O.constructor;switch(K){case za:return lD(O);case Vr:case qr:return new xe(+O);case sa:return ere(O,he);case Zu:case jf:case Gc:case Hf:case No:case ud:case Sg:case dl:case C0:return kP(O,he);case Pe:return new xe;case hr:case tr:return new xe(O);case Br:return tre(O);case kr:return new xe;case rn:return rre(O)}}function yre(O,K){var he=K.length;if(!he)return O;var xe=he-1;return K[xe]=(he>1?"& ":"")+K[xe],K=K.join(he>2?", ":" "),O.replace(I$,`{
  215. /* [wrapped with `+K+`] */
  216. `)}function mre(O){return ya(O)||NC(O)||!!(KO&&O&&O[KO])}function wv(O,K){var he=typeof O;return K=K??Qt,!!K&&(he=="number"||he!="symbol"&&D$.test(O))&&O>-1&&O%1==0&&O<K}function bh(O,K,he){if(!iu(he))return!1;var xe=typeof K;return(xe=="number"?Zh(he)&&wv(K,he.length):xe=="string"&&K in he)?Rg(he[K],O):!1}function yD(O,K){if(ya(O))return!1;var he=typeof O;return he=="number"||he=="symbol"||he=="boolean"||O==null||qf(O)?!0:p$.test(O)||!g$.test(O)||K!=null&&O in Vo(K)}function Ire(O){var K=typeof O;return K=="string"||K=="number"||K=="symbol"||K=="boolean"?O!=="__proto__":O===null}function mD(O){var K=_x(O),he=at[K];if(typeof he!="function"||!(K in Ka.prototype))return!1;if(O===he)return!0;var xe=gD(he);return!!xe&&O===xe[0]}function bre(O){return!!JO&&JO in O}var Cre=ax?Ev:LD;function _Q(O){var K=O&&O.constructor,he=typeof K=="function"&&K.prototype||L3;return O===he}function JP(O){return O===O&&!iu(O)}function WP(O,K){return function(he){return he==null?!1:he[O]===K&&(K!==e||O in Vo(he))}}function wre(O){var K=Lx(O,function(xe){return he.size===v&&he.clear(),xe}),he=K.cache;return K}function Ere(O,K){var he=O[1],xe=K[1],Ve=he|xe,ct=Ve<(P|M|le),Dt=xe==le&&he==G||xe==le&&he==pe&&O[7].length<=K[8]||xe==(le|pe)&&K[7].length<=K[8]&&he==G;if(!(ct||Dt))return O;xe&P&&(O[2]=K[2],Ve|=he&P?0:k);var Ut=K[3];if(Ut){var Xt=O[3];O[3]=Xt?xP(Xt,Ut,K[4]):Ut,O[4]=Xt?e2(O[3],C):K[4]}return Ut=K[5],Ut&&(Xt=O[5],O[5]=Xt?SP(Xt,Ut,K[6]):Ut,O[6]=Xt?e2(O[5],C):K[6]),Ut=K[7],Ut&&(O[7]=Ut),xe&le&&(O[8]=O[8]==null?K[8]:Yl(O[8],K[8])),O[9]==null&&(O[9]=K[9]),O[0]=K[0],O[1]=Ve,O}function Bre(O){var K=[];if(O!=null)for(var he in Vo(O))K.push(he);return K}function kre(O){return sx.call(O)}function qP(O,K,he){return K=Cc(K===e?O.length-1:K,0),function(){for(var xe=arguments,Ve=-1,ct=Cc(xe.length-K,0),Dt=vr(ct);++Ve<ct;)Dt[Ve]=xe[K+Ve];Ve=-1;for(var Ut=vr(K+1);++Ve<K;)Ut[Ve]=xe[Ve];return Ut[K]=he(Dt),Yf(O,this,Ut)}}function zP(O,K){return K.length<2?O:FC(O,dd(K,0,-1))}function Qre(O,K){for(var he=O.length,xe=Yl(K.length,he),Ve=Vh(O);xe--;){var ct=K[xe];O[xe]=wv(ct,he)?Ve[ct]:e}return O}function ID(O,K){if(!(K==="constructor"&&typeof O[K]=="function")&&K!="__proto__")return O[K]}var KP=ZP(yP),DQ=jee||function(O,K){return gl.setTimeout(O,K)},bD=ZP(Vte);function VP(O,K,he){var xe=K+"";return bD(O,yre(xe,xre(gre(xe),he)))}function ZP(O){var K=0,he=0;return function(){var xe=Wee(),Ve=Le-(xe-he);if(he=xe,Ve>0){if(++K>=ke)return arguments[0]}else K=0;return O.apply(e,arguments)}}function Rx(O,K){var he=-1,xe=O.length,Ve=xe-1;for(K=K===e?xe:K;++he<K;){var ct=nD(he,Ve),Dt=O[ct];O[ct]=O[he],O[he]=Dt}return O.length=K,O}var XP=wre(function(O){var K=[];return O.charCodeAt(0)===46&&K.push(""),O.replace(v$,function(he,xe,Ve,ct){K.push(Ve?ct.replace(B$,"$1"):xe||he)}),K});function B0(O){if(typeof O=="string"||qf(O))return O;var K=O+"";return K=="0"&&1/O==-1/0?"-0":K}function LC(O){if(O!=null){try{return ox.call(O)}catch{}try{return O+""}catch{}}return""}function xre(O,K){return ld(ur,function(he){var xe="_."+he[0];K&he[1]&&!tx(O,xe)&&O.push(xe)}),O.sort()}function $P(O){if(O instanceof Ka)return O.clone();var K=new fd(O.__wrapped__,O.__chain__);return K.__actions__=Vh(O.__actions__),K.__index__=O.__index__,K.__values__=O.__values__,K}function Sre(O,K,he){(he?bh(O,K,he):K===e)?K=1:K=Cc(Qa(K),0);var xe=O==null?0:O.length;if(!xe||K<1)return[];for(var Ve=0,ct=0,Dt=vr(Ax(xe/K));Ve<xe;)Dt[ct++]=dd(O,Ve,Ve+=K);return Dt}function _re(O){for(var K=-1,he=O==null?0:O.length,xe=0,Ve=[];++K<he;){var ct=O[K];ct&&(Ve[xe++]=ct)}return Ve}function Dre(){var O=arguments.length;if(!O)return[];for(var K=vr(O-1),he=arguments[0],xe=O;xe--;)K[xe-1]=arguments[xe];return $m(ya(he)?Vh(he):[he],pl(K,1))}var Rre=Ma(function(O,K){return Mu(O)?BQ(O,pl(K,1,Mu,!0)):[]}),Mre=Ma(function(O,K){var he=gd(K);return Mu(he)&&(he=e),Mu(O)?BQ(O,pl(K,1,Mu,!0),Li(he,2)):[]}),Fre=Ma(function(O,K){var he=gd(K);return Mu(he)&&(he=e),Mu(O)?BQ(O,pl(K,1,Mu,!0),e,he):[]});function Tre(O,K,he){var xe=O==null?0:O.length;return xe?(K=he||K===e?1:Qa(K),dd(O,K<0?0:K,xe)):[]}function Lre(O,K,he){var xe=O==null?0:O.length;return xe?(K=he||K===e?1:Qa(K),K=xe-K,dd(O,0,K<0?0:K)):[]}function Nre(O,K){return O&&O.length?Ex(O,Li(K,3),!0,!0):[]}function Ore(O,K){return O&&O.length?Ex(O,Li(K,3),!0):[]}function Pre(O,K,he,xe){var Ve=O==null?0:O.length;return Ve?(he&&typeof he!="number"&&bh(O,K,he)&&(he=0,xe=Ve),Dte(O,K,he,xe)):[]}function eG(O,K,he){var xe=O==null?0:O.length;if(!xe)return-1;var Ve=he==null?0:Qa(he);return Ve<0&&(Ve=Cc(xe+Ve,0)),rx(O,Li(K,3),Ve)}function tG(O,K,he){var xe=O==null?0:O.length;if(!xe)return-1;var Ve=xe-1;return he!==e&&(Ve=Qa(he),Ve=he<0?Cc(xe+Ve,0):Yl(Ve,xe-1)),rx(O,Li(K,3),Ve,!0)}function rG(O){var K=O==null?0:O.length;return K?pl(O,1):[]}function Gre(O){var K=O==null?0:O.length;return K?pl(O,ft):[]}function Ure(O,K){var he=O==null?0:O.length;return he?(K=K===e?1:Qa(K),pl(O,K)):[]}function jre(O){for(var K=-1,he=O==null?0:O.length,xe={};++K<he;){var Ve=O[K];xe[Ve[0]]=Ve[1]}return xe}function nG(O){return O&&O.length?O[0]:e}function Hre(O,K,he){var xe=O==null?0:O.length;if(!xe)return-1;var Ve=he==null?0:Qa(he);return Ve<0&&(Ve=Cc(xe+Ve,0)),R3(O,K,Ve)}function Yre(O){var K=O==null?0:O.length;return K?dd(O,0,-1):[]}var Jre=Ma(function(O){var K=Ps(O,uD);return K.length&&K[0]===O[0]?X_(K):[]}),Wre=Ma(function(O){var K=gd(O),he=Ps(O,uD);return K===gd(he)?K=e:he.pop(),he.length&&he[0]===O[0]?X_(he,Li(K,2)):[]}),qre=Ma(function(O){var K=gd(O),he=Ps(O,uD);return K=typeof K=="function"?K:e,K&&he.pop(),he.length&&he[0]===O[0]?X_(he,e,K):[]});function zre(O,K){return O==null?"":Yee.call(O,K)}function gd(O){var K=O==null?0:O.length;return K?O[K-1]:e}function Kre(O,K,he){var xe=O==null?0:O.length;if(!xe)return-1;var Ve=xe;return he!==e&&(Ve=Qa(he),Ve=Ve<0?Cc(xe+Ve,0):Yl(Ve,xe-1)),K===K?xee(O,K,Ve):rx(O,NO,Ve,!0)}function Vre(O,K){return O&&O.length?dP(O,Qa(K)):e}var Zre=Ma(iG);function iG(O,K){return O&&O.length&&K&&K.length?rD(O,K):O}function Xre(O,K,he){return O&&O.length&&K&&K.length?rD(O,K,Li(he,2)):O}function $re(O,K,he){return O&&O.length&&K&&K.length?rD(O,K,e,he):O}var ene=Cv(function(O,K){var he=O==null?0:O.length,xe=z_(O,K);return vP(O,Ps(K,function(Ve){return wv(Ve,he)?+Ve:Ve}).sort(QP)),xe});function tne(O,K){var he=[];if(!(O&&O.length))return he;var xe=-1,Ve=[],ct=O.length;for(K=Li(K,3);++xe<ct;){var Dt=O[xe];K(Dt,xe,O)&&(he.push(Dt),Ve.push(xe))}return vP(O,Ve),he}function CD(O){return O==null?O:zee.call(O)}function rne(O,K,he){var xe=O==null?0:O.length;return xe?(he&&typeof he!="number"&&bh(O,K,he)?(K=0,he=xe):(K=K==null?0:Qa(K),he=he===e?xe:Qa(he)),dd(O,K,he)):[]}function nne(O,K){return Cx(O,K)}function ine(O,K,he){return aD(O,K,Li(he,2))}function ane(O,K){var he=O==null?0:O.length;if(he){var xe=Cx(O,K);if(xe<he&&Rg(O[xe],K))return xe}return-1}function one(O,K){return Cx(O,K,!0)}function sne(O,K,he){return aD(O,K,Li(he,2),!0)}function une(O,K){var he=O==null?0:O.length;if(he){var xe=Cx(O,K,!0)-1;if(Rg(O[xe],K))return xe}return-1}function cne(O){return O&&O.length?mP(O):[]}function lne(O,K){return O&&O.length?mP(O,Li(K,2)):[]}function hne(O){var K=O==null?0:O.length;return K?dd(O,1,K):[]}function fne(O,K,he){return O&&O.length?(K=he||K===e?1:Qa(K),dd(O,0,K<0?0:K)):[]}function Ane(O,K,he){var xe=O==null?0:O.length;return xe?(K=he||K===e?1:Qa(K),K=xe-K,dd(O,K<0?0:K,xe)):[]}function dne(O,K){return O&&O.length?Ex(O,Li(K,3),!1,!0):[]}function gne(O,K){return O&&O.length?Ex(O,Li(K,3)):[]}var pne=Ma(function(O){return n2(pl(O,1,Mu,!0))}),vne=Ma(function(O){var K=gd(O);return Mu(K)&&(K=e),n2(pl(O,1,Mu,!0),Li(K,2))}),yne=Ma(function(O){var K=gd(O);return K=typeof K=="function"?K:e,n2(pl(O,1,Mu,!0),e,K)});function mne(O){return O&&O.length?n2(O):[]}function Ine(O,K){return O&&O.length?n2(O,Li(K,2)):[]}function bne(O,K){return K=typeof K=="function"?K:e,O&&O.length?n2(O,e,K):[]}function wD(O){if(!(O&&O.length))return[];var K=0;return O=Xm(O,function(he){if(Mu(he))return K=Cc(he.length,K),!0}),G_(K,function(he){return Ps(O,N_(he))})}function aG(O,K){if(!(O&&O.length))return[];var he=wD(O);return K==null?he:Ps(he,function(xe){return Yf(K,e,xe)})}var Cne=Ma(function(O,K){return Mu(O)?BQ(O,K):[]}),wne=Ma(function(O){return sD(Xm(O,Mu))}),Ene=Ma(function(O){var K=gd(O);return Mu(K)&&(K=e),sD(Xm(O,Mu),Li(K,2))}),Bne=Ma(function(O){var K=gd(O);return K=typeof K=="function"?K:e,sD(Xm(O,Mu),e,K)}),kne=Ma(wD);function Qne(O,K){return wP(O||[],K||[],EQ)}function xne(O,K){return wP(O||[],K||[],xQ)}var Sne=Ma(function(O){var K=O.length,he=K>1?O[K-1]:e;return he=typeof he=="function"?(O.pop(),he):e,aG(O,he)});function oG(O){var K=at(O);return K.__chain__=!0,K}function _ne(O,K){return K(O),O}function Mx(O,K){return K(O)}var Dne=Cv(function(O){var K=O.length,he=K?O[0]:0,xe=this.__wrapped__,Ve=function(ct){return z_(ct,O)};return K>1||this.__actions__.length||!(xe instanceof Ka)||!wv(he)?this.thru(Ve):(xe=xe.slice(he,+he+(K?1:0)),xe.__actions__.push({func:Mx,args:[Ve],thisArg:e}),new fd(xe,this.__chain__).thru(function(ct){return K&&!ct.length&&ct.push(e),ct}))});function Rne(){return oG(this)}function Mne(){return new fd(this.value(),this.__chain__)}function Fne(){this.__values__===e&&(this.__values__=IG(this.value()));var O=this.__index__>=this.__values__.length,K=O?e:this.__values__[this.__index__++];return{done:O,value:K}}function Tne(){return this}function Lne(O){for(var K,he=this;he instanceof vx;){var xe=$P(he);xe.__index__=0,xe.__values__=e,K?Ve.__wrapped__=xe:K=xe;var Ve=xe;he=he.__wrapped__}return Ve.__wrapped__=O,K}function Nne(){var O=this.__wrapped__;if(O instanceof Ka){var K=O;return this.__actions__.length&&(K=new Ka(this)),K=K.reverse(),K.__actions__.push({func:Mx,args:[CD],thisArg:e}),new fd(K,this.__chain__)}return this.thru(CD)}function One(){return CP(this.__wrapped__,this.__actions__)}var Pne=Bx(function(O,K,he){Oo.call(O,he)?++O[he]:Iv(O,he,1)});function Gne(O,K,he){var xe=ya(O)?TO:_te;return he&&bh(O,K,he)&&(K=e),xe(O,Li(K,3))}function Une(O,K){var he=ya(O)?Xm:aP;return he(O,Li(K,3))}var jne=MP(eG),Hne=MP(tG);function Yne(O,K){return pl(Fx(O,K),1)}function Jne(O,K){return pl(Fx(O,K),ft)}function Wne(O,K,he){return he=he===e?1:Qa(he),pl(Fx(O,K),he)}function sG(O,K){var he=ya(O)?ld:r2;return he(O,Li(K,3))}function uG(O,K){var he=ya(O)?hee:iP;return he(O,Li(K,3))}var qne=Bx(function(O,K,he){Oo.call(O,he)?O[he].push(K):Iv(O,he,[K])});function zne(O,K,he,xe){O=Zh(O)?O:Y3(O),he=he&&!xe?Qa(he):0;var Ve=O.length;return he<0&&(he=Cc(Ve+he,0)),Px(O)?he<=Ve&&O.indexOf(K,he)>-1:!!Ve&&R3(O,K,he)>-1}var Kne=Ma(function(O,K,he){var xe=-1,Ve=typeof K=="function",ct=Zh(O)?vr(O.length):[];return r2(O,function(Dt){ct[++xe]=Ve?Yf(K,Dt,he):kQ(Dt,K,he)}),ct}),Vne=Bx(function(O,K,he){Iv(O,he,K)});function Fx(O,K){var he=ya(O)?Ps:hP;return he(O,Li(K,3))}function Zne(O,K,he,xe){return O==null?[]:(ya(K)||(K=K==null?[]:[K]),he=xe?e:he,ya(he)||(he=he==null?[]:[he]),gP(O,K,he))}var Xne=Bx(function(O,K,he){O[he?0:1].push(K)},function(){return[[],[]]});function $ne(O,K,he){var xe=ya(O)?T_:PO,Ve=arguments.length<3;return xe(O,Li(K,4),he,Ve,r2)}function eie(O,K,he){var xe=ya(O)?fee:PO,Ve=arguments.length<3;return xe(O,Li(K,4),he,Ve,iP)}function tie(O,K){var he=ya(O)?Xm:aP;return he(O,Nx(Li(K,3)))}function rie(O){var K=ya(O)?eP:zte;return K(O)}function nie(O,K,he){(he?bh(O,K,he):K===e)?K=1:K=Qa(K);var xe=ya(O)?Bte:Kte;return xe(O,K)}function iie(O){var K=ya(O)?kte:Zte;return K(O)}function aie(O){if(O==null)return 0;if(Zh(O))return Px(O)?F3(O):O.length;var K=Jl(O);return K==Pe||K==kr?O.size:eD(O).length}function oie(O,K,he){var xe=ya(O)?L_:Xte;return he&&bh(O,K,he)&&(K=e),xe(O,Li(K,3))}var sie=Ma(function(O,K){if(O==null)return[];var he=K.length;return he>1&&bh(O,K[0],K[1])?K=[]:he>2&&bh(K[0],K[1],K[2])&&(K=[K[0]]),gP(O,pl(K,1),[])}),Tx=Uee||function(){return gl.Date.now()};function uie(O,K){if(typeof K!="function")throw new hd(s);return O=Qa(O),function(){if(--O<1)return K.apply(this,arguments)}}function cG(O,K,he){return K=he?e:K,K=O&&K==null?O.length:K,bv(O,le,e,e,e,e,K)}function lG(O,K){var he;if(typeof K!="function")throw new hd(s);return O=Qa(O),function(){return--O>0&&(he=K.apply(this,arguments)),O<=1&&(K=e),he}}var ED=Ma(function(O,K,he){var xe=P;if(he.length){var Ve=e2(he,j3(ED));xe|=re}return bv(O,xe,K,he,Ve)}),hG=Ma(function(O,K,he){var xe=P|M;if(he.length){var Ve=e2(he,j3(hG));xe|=re}return bv(K,xe,O,he,Ve)});function fG(O,K,he){K=he?e:K;var xe=bv(O,G,e,e,e,e,e,K);return xe.placeholder=fG.placeholder,xe}function AG(O,K,he){K=he?e:K;var xe=bv(O,Y,e,e,e,e,e,K);return xe.placeholder=AG.placeholder,xe}function dG(O,K,he){var xe,Ve,ct,Dt,Ut,Xt,Nr=0,Gr=!1,Zr=!1,Rn=!0;if(typeof O!="function")throw new hd(s);K=pd(K)||0,iu(he)&&(Gr=!!he.leading,Zr="maxWait"in he,ct=Zr?Cc(pd(he.maxWait)||0,K):ct,Rn="trailing"in he?!!he.trailing:Rn);function ui(Fu){var Mg=xe,kv=Ve;return xe=Ve=e,Nr=Fu,Dt=O.apply(kv,Mg),Dt}function Pi(Fu){return Nr=Fu,Ut=DQ(Wa,K),Gr?ui(Fu):Dt}function _a(Fu){var Mg=Fu-Xt,kv=Fu-Nr,MG=K-Mg;return Zr?Yl(MG,ct-kv):MG}function Gi(Fu){var Mg=Fu-Xt,kv=Fu-Nr;return Xt===e||Mg>=K||Mg<0||Zr&&kv>=ct}function Wa(){var Fu=Tx();if(Gi(Fu))return eo(Fu);Ut=DQ(Wa,_a(Fu))}function eo(Fu){return Ut=e,Rn&&xe?ui(Fu):(xe=Ve=e,Dt)}function zf(){Ut!==e&&EP(Ut),Nr=0,xe=Xt=Ve=Ut=e}function Ch(){return Ut===e?Dt:eo(Tx())}function Kf(){var Fu=Tx(),Mg=Gi(Fu);if(xe=arguments,Ve=this,Xt=Fu,Mg){if(Ut===e)return Pi(Xt);if(Zr)return EP(Ut),Ut=DQ(Wa,K),ui(Xt)}return Ut===e&&(Ut=DQ(Wa,K)),Dt}return Kf.cancel=zf,Kf.flush=Ch,Kf}var cie=Ma(function(O,K){return nP(O,1,K)}),lie=Ma(function(O,K,he){return nP(O,pd(K)||0,he)});function hie(O){return bv(O,ve)}function Lx(O,K){if(typeof O!="function"||K!=null&&typeof K!="function")throw new hd(s);var he=function(){var xe=arguments,Ve=K?K.apply(this,xe):xe[0],ct=he.cache;if(ct.has(Ve))return ct.get(Ve);var Dt=O.apply(this,xe);return he.cache=ct.set(Ve,Dt)||ct,Dt};return he.cache=new(Lx.Cache||mv),he}Lx.Cache=mv;function Nx(O){if(typeof O!="function")throw new hd(s);return function(){var K=arguments;switch(K.length){case 0:return!O.call(this);case 1:return!O.call(this,K[0]);case 2:return!O.call(this,K[0],K[1]);case 3:return!O.call(this,K[0],K[1],K[2])}return!O.apply(this,K)}}function fie(O){return lG(2,O)}var Aie=$te(function(O,K){K=K.length==1&&ya(K[0])?Ps(K[0],Jf(Li())):Ps(pl(K,1),Jf(Li()));var he=K.length;return Ma(function(xe){for(var Ve=-1,ct=Yl(xe.length,he);++Ve<ct;)xe[Ve]=K[Ve].call(this,xe[Ve]);return Yf(O,this,xe)})}),BD=Ma(function(O,K){var he=e2(K,j3(BD));return bv(O,re,e,K,he)}),gG=Ma(function(O,K){var he=e2(K,j3(gG));return bv(O,ie,e,K,he)}),die=Cv(function(O,K){return bv(O,pe,e,e,e,K)});function gie(O,K){if(typeof O!="function")throw new hd(s);return K=K===e?K:Qa(K),Ma(O,K)}function pie(O,K){if(typeof O!="function")throw new hd(s);return K=K==null?0:Cc(Qa(K),0),Ma(function(he){var xe=he[K],Ve=a2(he,0,K);return xe&&$m(Ve,xe),Yf(O,this,Ve)})}function vie(O,K,he){var xe=!0,Ve=!0;if(typeof O!="function")throw new hd(s);return iu(he)&&(xe="leading"in he?!!he.leading:xe,Ve="trailing"in he?!!he.trailing:Ve),dG(O,K,{leading:xe,maxWait:K,trailing:Ve})}function yie(O){return cG(O,1)}function mie(O,K){return BD(cD(K),O)}function Iie(){if(!arguments.length)return[];var O=arguments[0];return ya(O)?O:[O]}function bie(O){return Ad(O,Q)}function Cie(O,K){return K=typeof K=="function"?K:e,Ad(O,Q,K)}function wie(O){return Ad(O,w|Q)}function Eie(O,K){return K=typeof K=="function"?K:e,Ad(O,w|Q,K)}function Bie(O,K){return K==null||rP(O,K,Uc(K))}function Rg(O,K){return O===K||O!==O&&K!==K}var kie=Sx(Z_),Qie=Sx(function(O,K){return O>=K}),NC=uP(function(){return arguments}())?uP:function(O){return Iu(O)&&Oo.call(O,"callee")&&!zO.call(O,"callee")},ya=vr.isArray,xie=SO?Jf(SO):Lte;function Zh(O){return O!=null&&Ox(O.length)&&!Ev(O)}function Mu(O){return Iu(O)&&Zh(O)}function Sie(O){return O===!0||O===!1||Iu(O)&&Ih(O)==Vr}var o2=Hee||LD,_ie=_O?Jf(_O):Nte;function Die(O){return Iu(O)&&O.nodeType===1&&!RQ(O)}function Rie(O){if(O==null)return!0;if(Zh(O)&&(ya(O)||typeof O=="string"||typeof O.splice=="function"||o2(O)||H3(O)||NC(O)))return!O.length;var K=Jl(O);if(K==Pe||K==kr)return!O.size;if(_Q(O))return!eD(O).length;for(var he in O)if(Oo.call(O,he))return!1;return!0}function Mie(O,K){return QQ(O,K)}function Fie(O,K,he){he=typeof he=="function"?he:e;var xe=he?he(O,K):e;return xe===e?QQ(O,K,e,he):!!xe}function kD(O){if(!Iu(O))return!1;var K=Ih(O);return K==zr||K==Tn||typeof O.message=="string"&&typeof O.name=="string"&&!RQ(O)}function Tie(O){return typeof O=="number"&&VO(O)}function Ev(O){if(!iu(O))return!1;var K=Ih(O);return K==Qn||K==Yi||K==Ei||K==Yt}function pG(O){return typeof O=="number"&&O==Qa(O)}function Ox(O){return typeof O=="number"&&O>-1&&O%1==0&&O<=Qt}function iu(O){var K=typeof O;return O!=null&&(K=="object"||K=="function")}function Iu(O){return O!=null&&typeof O=="object"}var vG=DO?Jf(DO):Pte;function Lie(O,K){return O===K||$_(O,K,pD(K))}function Nie(O,K,he){return he=typeof he=="function"?he:e,$_(O,K,pD(K),he)}function Oie(O){return yG(O)&&O!=+O}function Pie(O){if(Cre(O))throw new Aa(o);return cP(O)}function Gie(O){return O===null}function Uie(O){return O==null}function yG(O){return typeof O=="number"||Iu(O)&&Ih(O)==hr}function RQ(O){if(!Iu(O)||Ih(O)!=Bt)return!1;var K=lx(O);if(K===null)return!0;var he=Oo.call(K,"constructor")&&K.constructor;return typeof he=="function"&&he instanceof he&&ox.call(he)==Nee}var QD=RO?Jf(RO):Gte;function jie(O){return pG(O)&&O>=-9007199254740991&&O<=Qt}var mG=MO?Jf(MO):Ute;function Px(O){return typeof O=="string"||!ya(O)&&Iu(O)&&Ih(O)==tr}function qf(O){return typeof O=="symbol"||Iu(O)&&Ih(O)==rn}var H3=FO?Jf(FO):jte;function Hie(O){return O===e}function Yie(O){return Iu(O)&&Jl(O)==fn}function Jie(O){return Iu(O)&&Ih(O)==di}var Wie=Sx(tD),qie=Sx(function(O,K){return O<=K});function IG(O){if(!O)return[];if(Zh(O))return Px(O)?_g(O):Vh(O);if(mQ&&O[mQ])return Bee(O[mQ]());var K=Jl(O),he=K==Pe?j_:K==kr?nx:Y3;return he(O)}function Bv(O){if(!O)return O===0?O:0;if(O=pd(O),O===ft||O===-1/0){var K=O<0?-1:1;return K*vt}return O===O?O:0}function Qa(O){var K=Bv(O),he=K%1;return K===K?he?K-he:K:0}function bG(O){return O?MC(Qa(O),0,Ct):0}function pd(O){if(typeof O=="number")return O;if(qf(O))return Gt;if(iu(O)){var K=typeof O.valueOf=="function"?O.valueOf():O;O=iu(K)?K+"":K}if(typeof O!="string")return O===0?O:+O;O=GO(O);var he=x$.test(O);return he||_$.test(O)?uee(O.slice(2),he?2:8):Q$.test(O)?Gt:+O}function CG(O){return E0(O,Xh(O))}function zie(O){return O?MC(Qa(O),-9007199254740991,Qt):O===0?O:0}function So(O){return O==null?"":Wf(O)}var Kie=G3(function(O,K){if(_Q(K)||Zh(K)){E0(K,Uc(K),O);return}for(var he in K)Oo.call(K,he)&&EQ(O,he,K[he])}),wG=G3(function(O,K){E0(K,Xh(K),O)}),Gx=G3(function(O,K,he,xe){E0(K,Xh(K),O,xe)}),Vie=G3(function(O,K,he,xe){E0(K,Uc(K),O,xe)}),Zie=Cv(z_);function Xie(O,K){var he=P3(O);return K==null?he:tP(he,K)}var $ie=Ma(function(O,K){O=Vo(O);var he=-1,xe=K.length,Ve=xe>2?K[2]:e;for(Ve&&bh(K[0],K[1],Ve)&&(xe=1);++he<xe;)for(var ct=K[he],Dt=Xh(ct),Ut=-1,Xt=Dt.length;++Ut<Xt;){var Nr=Dt[Ut],Gr=O[Nr];(Gr===e||Rg(Gr,L3[Nr])&&!Oo.call(O,Nr))&&(O[Nr]=ct[Nr])}return O}),eae=Ma(function(O){return O.push(e,GP),Yf(EG,e,O)});function tae(O,K){return LO(O,Li(K,3),w0)}function rae(O,K){return LO(O,Li(K,3),V_)}function nae(O,K){return O==null?O:K_(O,Li(K,3),Xh)}function iae(O,K){return O==null?O:oP(O,Li(K,3),Xh)}function aae(O,K){return O&&w0(O,Li(K,3))}function oae(O,K){return O&&V_(O,Li(K,3))}function sae(O){return O==null?[]:Ix(O,Uc(O))}function uae(O){return O==null?[]:Ix(O,Xh(O))}function xD(O,K,he){var xe=O==null?e:FC(O,K);return xe===e?he:xe}function cae(O,K){return O!=null&&HP(O,K,Rte)}function SD(O,K){return O!=null&&HP(O,K,Mte)}var lae=TP(function(O,K,he){K!=null&&typeof K.toString!="function"&&(K=sx.call(K)),O[K]=he},DD($h)),hae=TP(function(O,K,he){K!=null&&typeof K.toString!="function"&&(K=sx.call(K)),Oo.call(O,K)?O[K].push(he):O[K]=[he]},Li),fae=Ma(kQ);function Uc(O){return Zh(O)?$O(O):eD(O)}function Xh(O){return Zh(O)?$O(O,!0):Hte(O)}function Aae(O,K){var he={};return K=Li(K,3),w0(O,function(xe,Ve,ct){Iv(he,K(xe,Ve,ct),xe)}),he}function dae(O,K){var he={};return K=Li(K,3),w0(O,function(xe,Ve,ct){Iv(he,Ve,K(xe,Ve,ct))}),he}var gae=G3(function(O,K,he){bx(O,K,he)}),EG=G3(function(O,K,he,xe){bx(O,K,he,xe)}),pae=Cv(function(O,K){var he={};if(O==null)return he;var xe=!1;K=Ps(K,function(ct){return ct=i2(ct,O),xe||(xe=ct.length>1),ct}),E0(O,dD(O),he),xe&&(he=Ad(he,w|x|Q,lre));for(var Ve=K.length;Ve--;)oD(he,K[Ve]);return he});function vae(O,K){return BG(O,Nx(Li(K)))}var yae=Cv(function(O,K){return O==null?{}:Jte(O,K)});function BG(O,K){if(O==null)return{};var he=Ps(dD(O),function(xe){return[xe]});return K=Li(K),pP(O,he,function(xe,Ve){return K(xe,Ve[0])})}function mae(O,K,he){K=i2(K,O);var xe=-1,Ve=K.length;for(Ve||(Ve=1,O=e);++xe<Ve;){var ct=O==null?e:O[B0(K[xe])];ct===e&&(xe=Ve,ct=he),O=Ev(ct)?ct.call(O):ct}return O}function Iae(O,K,he){return O==null?O:xQ(O,K,he)}function bae(O,K,he,xe){return xe=typeof xe=="function"?xe:e,O==null?O:xQ(O,K,he,xe)}var kG=OP(Uc),QG=OP(Xh);function Cae(O,K,he){var xe=ya(O),Ve=xe||o2(O)||H3(O);if(K=Li(K,4),he==null){var ct=O&&O.constructor;Ve?he=xe?new ct:[]:iu(O)?he=Ev(ct)?P3(lx(O)):{}:he={}}return(Ve?ld:w0)(O,function(Dt,Ut,Xt){return K(he,Dt,Ut,Xt)}),he}function wae(O,K){return O==null?!0:oD(O,K)}function Eae(O,K,he){return O==null?O:bP(O,K,cD(he))}function Bae(O,K,he,xe){return xe=typeof xe=="function"?xe:e,O==null?O:bP(O,K,cD(he),xe)}function Y3(O){return O==null?[]:U_(O,Uc(O))}function kae(O){return O==null?[]:U_(O,Xh(O))}function Qae(O,K,he){return he===e&&(he=K,K=e),he!==e&&(he=pd(he),he=he===he?he:0),K!==e&&(K=pd(K),K=K===K?K:0),MC(pd(O),K,he)}function xae(O,K,he){return K=Bv(K),he===e?(he=K,K=0):he=Bv(he),O=pd(O),Fte(O,K,he)}function Sae(O,K,he){if(he&&typeof he!="boolean"&&bh(O,K,he)&&(K=he=e),he===e&&(typeof K=="boolean"?(he=K,K=e):typeof O=="boolean"&&(he=O,O=e)),O===e&&K===e?(O=0,K=1):(O=Bv(O),K===e?(K=O,O=0):K=Bv(K)),O>K){var xe=O;O=K,K=xe}if(he||O%1||K%1){var Ve=ZO();return Yl(O+Ve*(K-O+see("1e-"+((Ve+"").length-1))),K)}return nD(O,K)}var _ae=U3(function(O,K,he){return K=K.toLowerCase(),O+(he?xG(K):K)});function xG(O){return _D(So(O).toLowerCase())}function SG(O){return O=So(O),O&&O.replace(R$,Iee).replace(Z$,"")}function Dae(O,K,he){O=So(O),K=Wf(K);var xe=O.length;he=he===e?xe:MC(Qa(he),0,xe);var Ve=he;return he-=K.length,he>=0&&O.slice(he,Ve)==K}function Rae(O){return O=So(O),O&&f$.test(O)?O.replace(Zm,bee):O}function Mae(O){return O=So(O),O&&y$.test(O)?O.replace(B_,"\\$&"):O}var Fae=U3(function(O,K,he){return O+(he?"-":"")+K.toLowerCase()}),Tae=U3(function(O,K,he){return O+(he?" ":"")+K.toLowerCase()}),Lae=RP("toLowerCase");function Nae(O,K,he){O=So(O),K=Qa(K);var xe=K?F3(O):0;if(!K||xe>=K)return O;var Ve=(K-xe)/2;return xx(dx(Ve),he)+O+xx(Ax(Ve),he)}function Oae(O,K,he){O=So(O),K=Qa(K);var xe=K?F3(O):0;return K&&xe<K?O+xx(K-xe,he):O}function Pae(O,K,he){O=So(O),K=Qa(K);var xe=K?F3(O):0;return K&&xe<K?xx(K-xe,he)+O:O}function Gae(O,K,he){return he||K==null?K=0:K&&(K=+K),qee(So(O).replace(k_,""),K||0)}function Uae(O,K,he){return(he?bh(O,K,he):K===e)?K=1:K=Qa(K),iD(So(O),K)}function jae(){var O=arguments,K=So(O[0]);return O.length<3?K:K.replace(O[1],O[2])}var Hae=U3(function(O,K,he){return O+(he?"_":"")+K.toLowerCase()});function Yae(O,K,he){return he&&typeof he!="number"&&bh(O,K,he)&&(K=he=e),he=he===e?Ct:he>>>0,he?(O=So(O),O&&(typeof K=="string"||K!=null&&!QD(K))&&(K=Wf(K),!K&&M3(O))?a2(_g(O),0,he):O.split(K,he)):[]}var Jae=U3(function(O,K,he){return O+(he?" ":"")+_D(K)});function Wae(O,K,he){return O=So(O),he=he==null?0:MC(Qa(he),0,O.length),K=Wf(K),O.slice(he,he+K.length)==K}function qae(O,K,he){var xe=at.templateSettings;he&&bh(O,K,he)&&(K=e),O=So(O),K=Gx({},K,xe,PP);var Ve=Gx({},K.imports,xe.imports,PP),ct=Uc(Ve),Dt=U_(Ve,ct),Ut,Xt,Nr=0,Gr=K.interpolate||X9,Zr="__p += '",Rn=H_((K.escape||X9).source+"|"+Gr.source+"|"+(Gr===sO?k$:X9).source+"|"+(K.evaluate||X9).source+"|$","g"),ui="//# sourceURL="+(Oo.call(K,"sourceURL")?(K.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ree+"]")+`
  217. `;O.replace(Rn,function(Gi,Wa,eo,zf,Ch,Kf){return eo||(eo=zf),Zr+=O.slice(Nr,Kf).replace(M$,Cee),Wa&&(Ut=!0,Zr+=`' +
  218. __e(`+Wa+`) +
  219. '`),Ch&&(Xt=!0,Zr+=`';
  220. `+Ch+`;
  221. __p += '`),eo&&(Zr+=`' +
  222. ((__t = (`+eo+`)) == null ? '' : __t) +
  223. '`),Nr=Kf+Gi.length,Gi}),Zr+=`';
  224. `;var Pi=Oo.call(K,"variable")&&K.variable;if(!Pi)Zr=`with (obj) {
  225. `+Zr+`
  226. }
  227. `;else if(E$.test(Pi))throw new Aa(l);Zr=(Xt?Zr.replace(xC,""):Zr).replace(Ja,"$1").replace(Ru,"$1;"),Zr="function("+(Pi||"obj")+`) {
  228. `+(Pi?"":`obj || (obj = {});
  229. `)+"var __t, __p = ''"+(Ut?", __e = _.escape":"")+(Xt?`, __j = Array.prototype.join;
  230. function print() { __p += __j.call(arguments, '') }
  231. `:`;
  232. `)+Zr+`return __p
  233. }`;var _a=DG(function(){return Eo(ct,ui+"return "+Zr).apply(e,Dt)});if(_a.source=Zr,kD(_a))throw _a;return _a}function zae(O){return So(O).toLowerCase()}function Kae(O){return So(O).toUpperCase()}function Vae(O,K,he){if(O=So(O),O&&(he||K===e))return GO(O);if(!O||!(K=Wf(K)))return O;var xe=_g(O),Ve=_g(K),ct=UO(xe,Ve),Dt=jO(xe,Ve)+1;return a2(xe,ct,Dt).join("")}function Zae(O,K,he){if(O=So(O),O&&(he||K===e))return O.slice(0,YO(O)+1);if(!O||!(K=Wf(K)))return O;var xe=_g(O),Ve=jO(xe,_g(K))+1;return a2(xe,0,Ve).join("")}function Xae(O,K,he){if(O=So(O),O&&(he||K===e))return O.replace(k_,"");if(!O||!(K=Wf(K)))return O;var xe=_g(O),Ve=UO(xe,_g(K));return a2(xe,Ve).join("")}function $ae(O,K){var he=Ee,xe=Se;if(iu(K)){var Ve="separator"in K?K.separator:Ve;he="length"in K?Qa(K.length):he,xe="omission"in K?Wf(K.omission):xe}O=So(O);var ct=O.length;if(M3(O)){var Dt=_g(O);ct=Dt.length}if(he>=ct)return O;var Ut=he-F3(xe);if(Ut<1)return xe;var Xt=Dt?a2(Dt,0,Ut).join(""):O.slice(0,Ut);if(Ve===e)return Xt+xe;if(Dt&&(Ut+=Xt.length-Ut),QD(Ve)){if(O.slice(Ut).search(Ve)){var Nr,Gr=Xt;for(Ve.global||(Ve=H_(Ve.source,So(uO.exec(Ve))+"g")),Ve.lastIndex=0;Nr=Ve.exec(Gr);)var Zr=Nr.index;Xt=Xt.slice(0,Zr===e?Ut:Zr)}}else if(O.indexOf(Wf(Ve),Ut)!=Ut){var Rn=Xt.lastIndexOf(Ve);Rn>-1&&(Xt=Xt.slice(0,Rn))}return Xt+xe}function eoe(O){return O=So(O),O&&_3.test(O)?O.replace(vQ,See):O}var toe=U3(function(O,K,he){return O+(he?" ":"")+K.toUpperCase()}),_D=RP("toUpperCase");function _G(O,K,he){return O=So(O),K=he?e:K,K===e?Eee(O)?Ree(O):gee(O):O.match(K)||[]}var DG=Ma(function(O,K){try{return Yf(O,e,K)}catch(he){return kD(he)?he:new Aa(he)}}),roe=Cv(function(O,K){return ld(K,function(he){he=B0(he),Iv(O,he,ED(O[he],O))}),O});function noe(O){var K=O==null?0:O.length,he=Li();return O=K?Ps(O,function(xe){if(typeof xe[1]!="function")throw new hd(s);return[he(xe[0]),xe[1]]}):[],Ma(function(xe){for(var Ve=-1;++Ve<K;){var ct=O[Ve];if(Yf(ct[0],this,xe))return Yf(ct[1],this,xe)}})}function ioe(O){return Ste(Ad(O,w))}function DD(O){return function(){return O}}function aoe(O,K){return O==null||O!==O?K:O}var ooe=FP(),soe=FP(!0);function $h(O){return O}function RD(O){return lP(typeof O=="function"?O:Ad(O,w))}function uoe(O){return fP(Ad(O,w))}function coe(O,K){return AP(O,Ad(K,w))}var loe=Ma(function(O,K){return function(he){return kQ(he,O,K)}}),hoe=Ma(function(O,K){return function(he){return kQ(O,he,K)}});function MD(O,K,he){var xe=Uc(K),Ve=Ix(K,xe);he==null&&!(iu(K)&&(Ve.length||!xe.length))&&(he=K,K=O,O=this,Ve=Ix(K,Uc(K)));var ct=!(iu(he)&&"chain"in he)||!!he.chain,Dt=Ev(O);return ld(Ve,function(Ut){var Xt=K[Ut];O[Ut]=Xt,Dt&&(O.prototype[Ut]=function(){var Nr=this.__chain__;if(ct||Nr){var Gr=O(this.__wrapped__),Zr=Gr.__actions__=Vh(this.__actions__);return Zr.push({func:Xt,args:arguments,thisArg:O}),Gr.__chain__=Nr,Gr}return Xt.apply(O,$m([this.value()],arguments))})}),O}function foe(){return gl._===this&&(gl._=Oee),this}function FD(){}function Aoe(O){return O=Qa(O),Ma(function(K){return dP(K,O)})}var doe=hD(Ps),goe=hD(TO),poe=hD(L_);function RG(O){return yD(O)?N_(B0(O)):Wte(O)}function voe(O){return function(K){return O==null?e:FC(O,K)}}var yoe=LP(),moe=LP(!0);function TD(){return[]}function LD(){return!1}function Ioe(){return{}}function boe(){return""}function Coe(){return!0}function woe(O,K){if(O=Qa(O),O<1||O>Qt)return[];var he=Ct,xe=Yl(O,Ct);K=Li(K),O-=Ct;for(var Ve=G_(xe,K);++he<O;)K(he);return Ve}function Eoe(O){return ya(O)?Ps(O,B0):qf(O)?[O]:Vh(XP(So(O)))}function Boe(O){var K=++Lee;return So(O)+K}var koe=Qx(function(O,K){return O+K},0),Qoe=fD("ceil"),xoe=Qx(function(O,K){return O/K},1),Soe=fD("floor");function _oe(O){return O&&O.length?mx(O,$h,Z_):e}function Doe(O,K){return O&&O.length?mx(O,Li(K,2),Z_):e}function Roe(O){return OO(O,$h)}function Moe(O,K){return OO(O,Li(K,2))}function Foe(O){return O&&O.length?mx(O,$h,tD):e}function Toe(O,K){return O&&O.length?mx(O,Li(K,2),tD):e}var Loe=Qx(function(O,K){return O*K},1),Noe=fD("round"),Ooe=Qx(function(O,K){return O-K},0);function Poe(O){return O&&O.length?P_(O,$h):0}function Goe(O,K){return O&&O.length?P_(O,Li(K,2)):0}return at.after=uie,at.ary=cG,at.assign=Kie,at.assignIn=wG,at.assignInWith=Gx,at.assignWith=Vie,at.at=Zie,at.before=lG,at.bind=ED,at.bindAll=roe,at.bindKey=hG,at.castArray=Iie,at.chain=oG,at.chunk=Sre,at.compact=_re,at.concat=Dre,at.cond=noe,at.conforms=ioe,at.constant=DD,at.countBy=Pne,at.create=Xie,at.curry=fG,at.curryRight=AG,at.debounce=dG,at.defaults=$ie,at.defaultsDeep=eae,at.defer=cie,at.delay=lie,at.difference=Rre,at.differenceBy=Mre,at.differenceWith=Fre,at.drop=Tre,at.dropRight=Lre,at.dropRightWhile=Nre,at.dropWhile=Ore,at.fill=Pre,at.filter=Une,at.flatMap=Yne,at.flatMapDeep=Jne,at.flatMapDepth=Wne,at.flatten=rG,at.flattenDeep=Gre,at.flattenDepth=Ure,at.flip=hie,at.flow=ooe,at.flowRight=soe,at.fromPairs=jre,at.functions=sae,at.functionsIn=uae,at.groupBy=qne,at.initial=Yre,at.intersection=Jre,at.intersectionBy=Wre,at.intersectionWith=qre,at.invert=lae,at.invertBy=hae,at.invokeMap=Kne,at.iteratee=RD,at.keyBy=Vne,at.keys=Uc,at.keysIn=Xh,at.map=Fx,at.mapKeys=Aae,at.mapValues=dae,at.matches=uoe,at.matchesProperty=coe,at.memoize=Lx,at.merge=gae,at.mergeWith=EG,at.method=loe,at.methodOf=hoe,at.mixin=MD,at.negate=Nx,at.nthArg=Aoe,at.omit=pae,at.omitBy=vae,at.once=fie,at.orderBy=Zne,at.over=doe,at.overArgs=Aie,at.overEvery=goe,at.overSome=poe,at.partial=BD,at.partialRight=gG,at.partition=Xne,at.pick=yae,at.pickBy=BG,at.property=RG,at.propertyOf=voe,at.pull=Zre,at.pullAll=iG,at.pullAllBy=Xre,at.pullAllWith=$re,at.pullAt=ene,at.range=yoe,at.rangeRight=moe,at.rearg=die,at.reject=tie,at.remove=tne,at.rest=gie,at.reverse=CD,at.sampleSize=nie,at.set=Iae,at.setWith=bae,at.shuffle=iie,at.slice=rne,at.sortBy=sie,at.sortedUniq=cne,at.sortedUniqBy=lne,at.split=Yae,at.spread=pie,at.tail=hne,at.take=fne,at.takeRight=Ane,at.takeRightWhile=dne,at.takeWhile=gne,at.tap=_ne,at.throttle=vie,at.thru=Mx,at.toArray=IG,at.toPairs=kG,at.toPairsIn=QG,at.toPath=Eoe,at.toPlainObject=CG,at.transform=Cae,at.unary=yie,at.union=pne,at.unionBy=vne,at.unionWith=yne,at.uniq=mne,at.uniqBy=Ine,at.uniqWith=bne,at.unset=wae,at.unzip=wD,at.unzipWith=aG,at.update=Eae,at.updateWith=Bae,at.values=Y3,at.valuesIn=kae,at.without=Cne,at.words=_G,at.wrap=mie,at.xor=wne,at.xorBy=Ene,at.xorWith=Bne,at.zip=kne,at.zipObject=Qne,at.zipObjectDeep=xne,at.zipWith=Sne,at.entries=kG,at.entriesIn=QG,at.extend=wG,at.extendWith=Gx,MD(at,at),at.add=koe,at.attempt=DG,at.camelCase=_ae,at.capitalize=xG,at.ceil=Qoe,at.clamp=Qae,at.clone=bie,at.cloneDeep=wie,at.cloneDeepWith=Eie,at.cloneWith=Cie,at.conformsTo=Bie,at.deburr=SG,at.defaultTo=aoe,at.divide=xoe,at.endsWith=Dae,at.eq=Rg,at.escape=Rae,at.escapeRegExp=Mae,at.every=Gne,at.find=jne,at.findIndex=eG,at.findKey=tae,at.findLast=Hne,at.findLastIndex=tG,at.findLastKey=rae,at.floor=Soe,at.forEach=sG,at.forEachRight=uG,at.forIn=nae,at.forInRight=iae,at.forOwn=aae,at.forOwnRight=oae,at.get=xD,at.gt=kie,at.gte=Qie,at.has=cae,at.hasIn=SD,at.head=nG,at.identity=$h,at.includes=zne,at.indexOf=Hre,at.inRange=xae,at.invoke=fae,at.isArguments=NC,at.isArray=ya,at.isArrayBuffer=xie,at.isArrayLike=Zh,at.isArrayLikeObject=Mu,at.isBoolean=Sie,at.isBuffer=o2,at.isDate=_ie,at.isElement=Die,at.isEmpty=Rie,at.isEqual=Mie,at.isEqualWith=Fie,at.isError=kD,at.isFinite=Tie,at.isFunction=Ev,at.isInteger=pG,at.isLength=Ox,at.isMap=vG,at.isMatch=Lie,at.isMatchWith=Nie,at.isNaN=Oie,at.isNative=Pie,at.isNil=Uie,at.isNull=Gie,at.isNumber=yG,at.isObject=iu,at.isObjectLike=Iu,at.isPlainObject=RQ,at.isRegExp=QD,at.isSafeInteger=jie,at.isSet=mG,at.isString=Px,at.isSymbol=qf,at.isTypedArray=H3,at.isUndefined=Hie,at.isWeakMap=Yie,at.isWeakSet=Jie,at.join=zre,at.kebabCase=Fae,at.last=gd,at.lastIndexOf=Kre,at.lowerCase=Tae,at.lowerFirst=Lae,at.lt=Wie,at.lte=qie,at.max=_oe,at.maxBy=Doe,at.mean=Roe,at.meanBy=Moe,at.min=Foe,at.minBy=Toe,at.stubArray=TD,at.stubFalse=LD,at.stubObject=Ioe,at.stubString=boe,at.stubTrue=Coe,at.multiply=Loe,at.nth=Vre,at.noConflict=foe,at.noop=FD,at.now=Tx,at.pad=Nae,at.padEnd=Oae,at.padStart=Pae,at.parseInt=Gae,at.random=Sae,at.reduce=$ne,at.reduceRight=eie,at.repeat=Uae,at.replace=jae,at.result=mae,at.round=Noe,at.runInContext=zt,at.sample=rie,at.size=aie,at.snakeCase=Hae,at.some=oie,at.sortedIndex=nne,at.sortedIndexBy=ine,at.sortedIndexOf=ane,at.sortedLastIndex=one,at.sortedLastIndexBy=sne,at.sortedLastIndexOf=une,at.startCase=Jae,at.startsWith=Wae,at.subtract=Ooe,at.sum=Poe,at.sumBy=Goe,at.template=qae,at.times=woe,at.toFinite=Bv,at.toInteger=Qa,at.toLength=bG,at.toLower=zae,at.toNumber=pd,at.toSafeInteger=zie,at.toString=So,at.toUpper=Kae,at.trim=Vae,at.trimEnd=Zae,at.trimStart=Xae,at.truncate=$ae,at.unescape=eoe,at.uniqueId=Boe,at.upperCase=toe,at.upperFirst=_D,at.each=sG,at.eachRight=uG,at.first=nG,MD(at,function(){var O={};return w0(at,function(K,he){Oo.call(at.prototype,he)||(O[he]=K)}),O}(),{chain:!1}),at.VERSION=n,ld(["bind","bindKey","curry","curryRight","partial","partialRight"],function(O){at[O].placeholder=at}),ld(["drop","take"],function(O,K){Ka.prototype[O]=function(he){he=he===e?1:Cc(Qa(he),0);var xe=this.__filtered__&&!K?new Ka(this):this.clone();return xe.__filtered__?xe.__takeCount__=Yl(he,xe.__takeCount__):xe.__views__.push({size:Yl(he,Ct),type:O+(xe.__dir__<0?"Right":"")}),xe},Ka.prototype[O+"Right"]=function(he){return this.reverse()[O](he).reverse()}}),ld(["filter","map","takeWhile"],function(O,K){var he=K+1,xe=he==be||he==ut;Ka.prototype[O]=function(Ve){var ct=this.clone();return ct.__iteratees__.push({iteratee:Li(Ve,3),type:he}),ct.__filtered__=ct.__filtered__||xe,ct}}),ld(["head","last"],function(O,K){var he="take"+(K?"Right":"");Ka.prototype[O]=function(){return this[he](1).value()[0]}}),ld(["initial","tail"],function(O,K){var he="drop"+(K?"":"Right");Ka.prototype[O]=function(){return this.__filtered__?new Ka(this):this[he](1)}}),Ka.prototype.compact=function(){return this.filter($h)},Ka.prototype.find=function(O){return this.filter(O).head()},Ka.prototype.findLast=function(O){return this.reverse().find(O)},Ka.prototype.invokeMap=Ma(function(O,K){return typeof O=="function"?new Ka(this):this.map(function(he){return kQ(he,O,K)})}),Ka.prototype.reject=function(O){return this.filter(Nx(Li(O)))},Ka.prototype.slice=function(O,K){O=Qa(O);var he=this;return he.__filtered__&&(O>0||K<0)?new Ka(he):(O<0?he=he.takeRight(-O):O&&(he=he.drop(O)),K!==e&&(K=Qa(K),he=K<0?he.dropRight(-K):he.take(K-O)),he)},Ka.prototype.takeRightWhile=function(O){return this.reverse().takeWhile(O).reverse()},Ka.prototype.toArray=function(){return this.take(Ct)},w0(Ka.prototype,function(O,K){var he=/^(?:filter|find|map|reject)|While$/.test(K),xe=/^(?:head|last)$/.test(K),Ve=at[xe?"take"+(K=="last"?"Right":""):K],ct=xe||/^find/.test(K);Ve&&(at.prototype[K]=function(){var Dt=this.__wrapped__,Ut=xe?[1]:arguments,Xt=Dt instanceof Ka,Nr=Ut[0],Gr=Xt||ya(Dt),Zr=function(Wa){var eo=Ve.apply(at,$m([Wa],Ut));return xe&&Rn?eo[0]:eo};Gr&&he&&typeof Nr=="function"&&Nr.length!=1&&(Xt=Gr=!1);var Rn=this.__chain__,ui=!!this.__actions__.length,Pi=ct&&!Rn,_a=Xt&&!ui;if(!ct&&Gr){Dt=_a?Dt:new Ka(this);var Gi=O.apply(Dt,Ut);return Gi.__actions__.push({func:Mx,args:[Zr],thisArg:e}),new fd(Gi,Rn)}return Pi&&_a?O.apply(this,Ut):(Gi=this.thru(Zr),Pi?xe?Gi.value()[0]:Gi.value():Gi)})}),ld(["pop","push","shift","sort","splice","unshift"],function(O){var K=ix[O],he=/^(?:push|sort|unshift)$/.test(O)?"tap":"thru",xe=/^(?:pop|shift)$/.test(O);at.prototype[O]=function(){var Ve=arguments;if(xe&&!this.__chain__){var ct=this.value();return K.apply(ya(ct)?ct:[],Ve)}return this[he](function(Dt){return K.apply(ya(Dt)?Dt:[],Ve)})}}),w0(Ka.prototype,function(O,K){var he=at[K];if(he){var xe=he.name+"";Oo.call(O3,xe)||(O3[xe]=[]),O3[xe].push({name:K,func:he})}}),O3[kx(e,M).name]=[{name:"wrapper",func:e}],Ka.prototype.clone=ete,Ka.prototype.reverse=tte,Ka.prototype.value=rte,at.prototype.at=Dne,at.prototype.chain=Rne,at.prototype.commit=Mne,at.prototype.next=Fne,at.prototype.plant=Lne,at.prototype.reverse=Nne,at.prototype.toJSON=at.prototype.valueOf=at.prototype.value=One,at.prototype.first=at.prototype.head,mQ&&(at.prototype[mQ]=Tne),at},T3=Mee();SC?((SC.exports=T3)._=T3,R_._=T3):gl._=T3}).call(ao)}(wc,wc.exports);for(var It=wc.exports,Vt=[],Ni=0;Ni<256;++Ni)Vt.push((Ni+256).toString(16).slice(1));function wh(r,t=0){return(Vt[r[t+0]]+Vt[r[t+1]]+Vt[r[t+2]]+Vt[r[t+3]]+"-"+Vt[r[t+4]]+Vt[r[t+5]]+"-"+Vt[r[t+6]]+Vt[r[t+7]]+"-"+Vt[r[t+8]]+Vt[r[t+9]]+"-"+Vt[r[t+10]]+Vt[r[t+11]]+Vt[r[t+12]]+Vt[r[t+13]]+Vt[r[t+14]]+Vt[r[t+15]]).toLowerCase()}var vl,Eh=new Uint8Array(16);function Da(){if(!vl&&(vl=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!vl))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return vl(Eh)}var Kt=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const er={randomUUID:Kt};function xr(r,t,e){if(er.randomUUID&&!r)return er.randomUUID();r=r||{};var n=r.random||(r.rng||Da)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,wh(n)}/*! *****************************************************************************
  234. Copyright (c) Microsoft Corporation.
  235. Permission to use, copy, modify, and/or distribute this software for any
  236. purpose with or without fee is hereby granted.
  237. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  238. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  239. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  240. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  241. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  242. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  243. PERFORMANCE OF THIS SOFTWARE.
  244. ***************************************************************************** */var Hn=function(r,t){return Hn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},Hn(r,t)};function kt(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Hn(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var da=function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r}(),cs=function(){function r(){this.browser=new da,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r}(),Yn=new cs;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Yn.wxa=!0,Yn.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Yn.worker=!0:!Yn.hasGlobalWindow||"Deno"in window?(Yn.node=!0,Yn.svgSupported=!0):Xu(navigator.userAgent,Yn);function Xu(r,t){var e=t.browser,n=r.match(/Firefox\/([\d.]+)/),i=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),o=r.match(/Edge?\/([\d.]+)/),s=/micromessenger/i.test(r);n&&(e.firefox=!0,e.version=n[1]),i&&(e.ie=!0,e.version=i[1]),o&&(e.edge=!0,e.version=o[1],e.newEdge=+o[1].split(".")[0]>18),s&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11),t.domSupported=typeof document<"u";var l=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in l||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in l)&&!("OTransition"in l),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}var ca=12,_o="sans-serif",hi=ca+"px "+_o,ws=20,Ri=100,Bi="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function si(r){var t={};if(typeof JSON>"u")return t;for(var e=0;e<r.length;e++){var n=String.fromCharCode(e+32),i=(r.charCodeAt(e)-ws)/Ri;t[n]=i}return t}var ls=si(Bi),oo={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var r,t;return function(e,n){if(!r){var i=oo.createCanvas();r=i&&i.getContext("2d")}if(r)return t!==n&&(t=r.font=n||hi),r.measureText(e);e=e||"",n=n||hi;var o=/((?:\d+)?\.?\d*)px/.exec(n),s=o&&+o[1]||ca,l=0;if(n.indexOf("mono")>=0)l=s*e.length;else for(var f=0;f<e.length;f++){var v=ls[e[f]];l+=v==null?s:v*s}return{width:l}}}(),loadImage:function(r,t,e){var n=new Image;return n.onload=t,n.onerror=e,n.src=r,n}},hs=xa(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(r,t){return r["[object "+t+"]"]=!0,r},{}),bu=xa(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(r,t){return r["[object "+t+"Array]"]=!0,r},{}),Ji=Object.prototype.toString,Ca=Array.prototype,Wi=Ca.forEach,In=Ca.filter,Io=Ca.slice,Xo=Ca.map,la=(function(){}).constructor,wa=la?la.prototype:null,qi="__proto__",Hc=2311;function zi(){return Hc++}function Ao(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];typeof console<"u"&&console.error.apply(console,r)}function Bn(r){if(r==null||typeof r!="object")return r;var t=r,e=Ji.call(r);if(e==="[object Array]"){if(!sn(r)){t=[];for(var n=0,i=r.length;n<i;n++)t[n]=Bn(r[n])}}else if(bu[e]){if(!sn(r)){var o=r.constructor;if(o.from)t=o.from(r);else{t=new o(r.length);for(var n=0,i=r.length;n<i;n++)t[n]=r[n]}}}else if(!hs[e]&&!sn(r)&&!Zf(r)){t={};for(var s in r)r.hasOwnProperty(s)&&s!==qi&&(t[s]=Bn(r[s]))}return t}function Kn(r,t,e){if(!Ln(t)||!Ln(r))return e?Bn(t):r;for(var n in t)if(t.hasOwnProperty(n)&&n!==qi){var i=r[n],o=t[n];Ln(o)&&Ln(i)&&!yr(o)&&!yr(i)&&!Zf(o)&&!Zf(i)&&!UC(o)&&!UC(i)&&!sn(o)&&!sn(i)?Kn(i,o,e):(e||!(n in r))&&(r[n]=Bn(t[n]))}return r}function Us(r,t){for(var e=r[0],n=1,i=r.length;n<i;n++)e=Kn(e,r[n],t);return e}function ar(r,t){if(Object.assign)Object.assign(r,t);else for(var e in t)t.hasOwnProperty(e)&&e!==qi&&(r[e]=t[e]);return r}function pn(r,t,e){for(var n=fi(t),i=0,o=n.length;i<o;i++){var s=n[i];(e?t[s]!=null:r[s]==null)&&(r[s]=t[s])}return r}function Vn(r,t){if(r){if(r.indexOf)return r.indexOf(t);for(var e=0,n=r.length;e<n;e++)if(r[e]===t)return e}return-1}function Es(r,t){var e=r.prototype;function n(){}n.prototype=t.prototype,r.prototype=new n;for(var i in e)e.hasOwnProperty(i)&&(r.prototype[i]=e[i]);r.prototype.constructor=r,r.superClass=t}function Ea(r,t,e){if(r="prototype"in r?r.prototype:r,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){var o=n[i];o!=="constructor"&&(e?t[o]!=null:r[o]==null)&&(r[o]=t[o])}else pn(r,t,e)}function bo(r){return!r||typeof r=="string"?!1:typeof r.length=="number"}function Ne(r,t,e){if(r&&t)if(r.forEach&&r.forEach===Wi)r.forEach(t,e);else if(r.length===+r.length)for(var n=0,i=r.length;n<i;n++)t.call(e,r[n],n,r);else for(var o in r)r.hasOwnProperty(o)&&t.call(e,r[o],o,r)}function pr(r,t,e){if(!r)return[];if(!t)return c2(r);if(r.map&&r.map===Xo)return r.map(t,e);for(var n=[],i=0,o=r.length;i<o;i++)n.push(t.call(e,r[i],i,r));return n}function xa(r,t,e,n){if(r&&t){for(var i=0,o=r.length;i<o;i++)e=t.call(n,e,r[i],i,r);return e}}function Ii(r,t,e){if(!r)return[];if(!t)return c2(r);if(r.filter&&r.filter===In)return r.filter(t,e);for(var n=[],i=0,o=r.length;i<o;i++)t.call(e,r[i],i,r)&&n.push(r[i]);return n}function Vf(r,t,e){if(r&&t){for(var n=0,i=r.length;n<i;n++)if(t.call(e,r[n],n,r))return r[n]}}function fi(r){if(!r)return[];if(Object.keys)return Object.keys(r);var t=[];for(var e in r)r.hasOwnProperty(e)&&t.push(e);return t}function $r(r,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return function(){return r.apply(t,e.concat(Io.call(arguments)))}}var an=wa&&bn(wa.bind)?wa.call.bind(wa.bind):$r;function ni(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return function(){return r.apply(this,t.concat(Io.call(arguments)))}}function yr(r){return Array.isArray?Array.isArray(r):Ji.call(r)==="[object Array]"}function bn(r){return typeof r=="function"}function en(r){return typeof r=="string"}function k0(r){return Ji.call(r)==="[object String]"}function $i(r){return typeof r=="number"}function Ln(r){var t=typeof r;return t==="function"||!!r&&t==="object"}function UC(r){return!!hs[Ji.call(r)]}function $u(r){return!!bu[Ji.call(r)]}function Zf(r){return typeof r=="object"&&typeof r.nodeType=="number"&&typeof r.ownerDocument=="object"}function Q0(r){return r.colorStops!=null}function u2(r){return r.image!=null}function q3(r){return Ji.call(r)==="[object RegExp]"}function Tg(r){return r!==r}function Bs(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var e=0,n=r.length;e<n;e++)if(r[e]!=null)return r[e]}function $n(r,t){return r??t}function ec(r,t,e){return r??t??e}function c2(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return Io.apply(r,t)}function yl(r){if(typeof r=="number")return[r,r,r,r];var t=r.length;return t===2?[r[0],r[1],r[0],r[1]]:t===3?[r[0],r[1],r[2],r[1]]:r}function tc(r,t){if(!r)throw new Error(t)}function Wl(r){return r==null?null:typeof r.trim=="function"?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var l2="__ec_primitive__";function Ki(r){r[l2]=!0}function sn(r){return r[l2]}var jC=function(){function r(){this.data={}}return r.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},r.prototype.has=function(t){return this.data.hasOwnProperty(t)},r.prototype.get=function(t){return this.data[t]},r.prototype.set=function(t,e){return this.data[t]=e,this},r.prototype.keys=function(){return fi(this.data)},r.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},r}(),nr=typeof Map=="function";function h2(){return nr?new Map:new jC}var Tu=function(){function r(t){var e=yr(t);this.data=h2();var n=this;t instanceof r?t.each(i):t&&Ne(t,i);function i(o,s){e?n.set(o,s):n.set(s,o)}}return r.prototype.hasKey=function(t){return this.data.has(t)},r.prototype.get=function(t){return this.data.get(t)},r.prototype.set=function(t,e){return this.data.set(t,e),e},r.prototype.each=function(t,e){this.data.forEach(function(n,i){t.call(e,n,i)})},r.prototype.keys=function(){var t=this.data.keys();return nr?Array.from(t):t},r.prototype.removeKey=function(t){this.data.delete(t)},r}();function mn(r){return new Tu(r)}function x0(r,t){for(var e=new r.constructor(r.length+t.length),n=0;n<r.length;n++)e[n]=r[n];for(var i=r.length,n=0;n<t.length;n++)e[n+i]=t[n];return e}function Lg(r,t){var e;if(Object.create)e=Object.create(r);else{var n=function(){};n.prototype=r,e=new n}return t&&ar(e,t),e}function f2(r){var t=r.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function ln(r,t){return r.hasOwnProperty(t)}function $o(){}var Qv=180/Math.PI;function vd(r,t){return r==null&&(r=0),t==null&&(t=0),[r,t]}function rc(r,t){return r[0]=t[0],r[1]=t[1],r}function ql(r){return[r[0],r[1]]}function z3(r,t,e){return r[0]=t,r[1]=e,r}function HC(r,t,e){return r[0]=t[0]+e[0],r[1]=t[1]+e[1],r}function A2(r,t,e,n){return r[0]=t[0]+e[0]*n,r[1]=t[1]+e[1]*n,r}function Xf(r,t,e){return r[0]=t[0]-e[0],r[1]=t[1]-e[1],r}function ef(r){return Math.sqrt(xv(r))}function xv(r){return r[0]*r[0]+r[1]*r[1]}function Ng(r,t,e){return r[0]=t[0]*e,r[1]=t[1]*e,r}function Ti(r,t){var e=ef(t);return e===0?(r[0]=0,r[1]=0):(r[0]=t[0]/e,r[1]=t[1]/e),r}function $f(r,t){return Math.sqrt((r[0]-t[0])*(r[0]-t[0])+(r[1]-t[1])*(r[1]-t[1]))}var eA=$f;function YC(r,t){return(r[0]-t[0])*(r[0]-t[0])+(r[1]-t[1])*(r[1]-t[1])}var tA=YC;function S0(r,t,e,n){return r[0]=t[0]+n*(e[0]-t[0]),r[1]=t[1]+n*(e[1]-t[1]),r}function js(r,t,e){var n=t[0],i=t[1];return r[0]=e[0]*n+e[2]*i+e[4],r[1]=e[1]*n+e[3]*i+e[5],r}function rA(r,t,e){return r[0]=Math.min(t[0],e[0]),r[1]=Math.min(t[1],e[1]),r}function tf(r,t,e){return r[0]=Math.max(t[0],e[0]),r[1]=Math.max(t[1],e[1]),r}var Og=function(){function r(t,e){this.target=t,this.topTarget=e&&e.topTarget}return r}(),d2=function(){function r(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return r.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Og(e,t),"dragstart",t.event))},r.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,o=n-this._x,s=i-this._y;this._x=n,this._y=i,e.drift(o,s,t),this.handler.dispatchToElement(new Og(e,t),"drag",t.event);var l=this.handler.findHover(n,i,e).target,f=this._dropTarget;this._dropTarget=l,e!==l&&(f&&l!==f&&this.handler.dispatchToElement(new Og(f,t),"dragleave",t.event),l&&l!==f&&this.handler.dispatchToElement(new Og(l,t),"dragenter",t.event))}},r.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new Og(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Og(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},r}(),au=function(){function r(t){t&&(this._$eventProcessor=t)}return r.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var o=this._$handlers;if(typeof e=="function"&&(i=n,n=e,e=null),!n||!t)return this;var s=this._$eventProcessor;e!=null&&s&&s.normalizeQuery&&(e=s.normalizeQuery(e)),o[t]||(o[t]=[]);for(var l=0;l<o[t].length;l++)if(o[t][l].h===n)return this;var f={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},v=o[t].length-1,C=o[t][v];return C&&C.callAtLast?o[t].splice(v,0,f):o[t].push(f),this},r.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},r.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],o=0,s=n[t].length;o<s;o++)n[t][o].h!==e&&i.push(n[t][o]);n[t]=i}n[t]&&n[t].length===0&&delete n[t]}else delete n[t];return this},r.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],o=this._$eventProcessor;if(i)for(var s=e.length,l=i.length,f=0;f<l;f++){var v=i[f];if(!(o&&o.filter&&v.query!=null&&!o.filter(t,v.query)))switch(s){case 0:v.h.call(v.ctx);break;case 1:v.h.call(v.ctx,e[0]);break;case 2:v.h.call(v.ctx,e[0],e[1]);break;default:v.h.apply(v.ctx,e);break}}return o&&o.afterTrigger&&o.afterTrigger(t),this},r.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],o=this._$eventProcessor;if(i)for(var s=e.length,l=e[s-1],f=i.length,v=0;v<f;v++){var C=i[v];if(!(o&&o.filter&&C.query!=null&&!o.filter(t,C.query)))switch(s){case 0:C.h.call(l);break;case 1:C.h.call(l,e[0]);break;case 2:C.h.call(l,e[0],e[1]);break;default:C.h.apply(l,e.slice(1,s-1));break}}return o&&o.afterTrigger&&o.afterTrigger(t),this},r}(),JC=Math.log(2);function nA(r,t,e,n,i,o){var s=n+"-"+i,l=r.length;if(o.hasOwnProperty(s))return o[s];if(t===1){var f=Math.round(Math.log((1<<l)-1&~i)/JC);return r[e][f]}for(var v=n|1<<e,C=e+1;n&1<<C;)C++;for(var w=0,x=0,Q=0;x<l;x++){var R=1<<x;R&i||(w+=(Q%2?-1:1)*r[e][x]*nA(r,t-1,C,v,i|R,o),Q++)}return o[s]=w,w}function _0(r,t){var e=[[r[0],r[1],1,0,0,0,-t[0]*r[0],-t[0]*r[1]],[0,0,0,r[0],r[1],1,-t[1]*r[0],-t[1]*r[1]],[r[2],r[3],1,0,0,0,-t[2]*r[2],-t[2]*r[3]],[0,0,0,r[2],r[3],1,-t[3]*r[2],-t[3]*r[3]],[r[4],r[5],1,0,0,0,-t[4]*r[4],-t[4]*r[5]],[0,0,0,r[4],r[5],1,-t[5]*r[4],-t[5]*r[5]],[r[6],r[7],1,0,0,0,-t[6]*r[6],-t[6]*r[7]],[0,0,0,r[6],r[7],1,-t[7]*r[6],-t[7]*r[7]]],n={},i=nA(e,8,0,0,0,n);if(i!==0){for(var o=[],s=0;s<8;s++)for(var l=0;l<8;l++)o[l]==null&&(o[l]=0),o[l]+=((s+l)%2?-1:1)*nA(e,7,s===0?1:0,1<<s,1<<l,n)/i*t[s];return function(f,v,C){var w=v*o[6]+C*o[7]+1;f[0]=(v*o[0]+C*o[1]+o[2])/w,f[1]=(v*o[3]+C*o[4]+o[5])/w}}}var iA="___zrEVENTSAVED",Sv=[];function K3(r,t,e,n,i){return Pg(Sv,t,n,i,!0)&&Pg(r,e,Sv[0],Sv[1])}function Pg(r,t,e,n,i){if(t.getBoundingClientRect&&Yn.domSupported&&!WC(t)){var o=t[iA]||(t[iA]={}),s=g2(t,o),l=_v(s,o,i);if(l)return l(r,e,n),!0}return!1}function g2(r,t){var e=t.markers;if(e)return e;e=t.markers=[];for(var n=["left","right"],i=["top","bottom"],o=0;o<4;o++){var s=document.createElement("div"),l=s.style,f=o%2,v=(o>>1)%2;l.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[f]+":0",i[v]+":0",n[1-f]+":auto",i[1-v]+":auto",""].join("!important;"),r.appendChild(s),e.push(s)}return e}function _v(r,t,e){for(var n=e?"invTrans":"trans",i=t[n],o=t.srcCoords,s=[],l=[],f=!0,v=0;v<4;v++){var C=r[v].getBoundingClientRect(),w=2*v,x=C.left,Q=C.top;s.push(x,Q),f=f&&o&&x===o[w]&&Q===o[w+1],l.push(r[v].offsetLeft,r[v].offsetTop)}return f&&i?i:(t.srcCoords=s,t[n]=e?_0(l,s):_0(s,l))}function WC(r){return r.nodeName.toUpperCase()==="CANVAS"}var Dv=/([&<>"'])/g,qC={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function ou(r){return r==null?"":(r+"").replace(Dv,function(t,e){return qC[e]})}var V3=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Gg=[],Z3=Yn.browser.firefox&&+Yn.browser.version.split(".")[0]<39;function p2(r,t,e,n){return e=e||{},n?D0(r,t,e):Z3&&t.layerX!=null&&t.layerX!==t.offsetX?(e.zrX=t.layerX,e.zrY=t.layerY):t.offsetX!=null?(e.zrX=t.offsetX,e.zrY=t.offsetY):D0(r,t,e),e}function D0(r,t,e){if(Yn.domSupported&&r.getBoundingClientRect){var n=t.clientX,i=t.clientY;if(WC(r)){var o=r.getBoundingClientRect();e.zrX=n-o.left,e.zrY=i-o.top;return}else if(Pg(Gg,r,n,i)){e.zrX=Gg[0],e.zrY=Gg[1];return}}e.zrX=e.zrY=0}function R0(r){return r||window.event}function nc(r,t,e){if(t=R0(t),t.zrX!=null)return t;var n=t.type,i=n&&n.indexOf("touch")>=0;if(i){var o=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&p2(r,o,t,e)}else{p2(r,t,t,e);var s=zC(t);t.zrDelta=s?s/120:-(t.detail||0)/3}var l=t.button;return t.which==null&&l!==void 0&&V3.test(t.type)&&(t.which=l&1?1:l&2?3:l&4?2:0),t}function zC(r){var t=r.wheelDelta;if(t)return t;var e=r.deltaX,n=r.deltaY;if(e==null||n==null)return t;var i=Math.abs(n!==0?n:e),o=n>0?-1:n<0?1:e>0?-1:1;return 3*i*o}function v2(r,t,e,n){r.addEventListener(t,e,n)}function X3(r,t,e,n){r.removeEventListener(t,e,n)}var rf=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function KC(r){return r.which===2||r.which===3}var $3=function(){function r(){this._track=[]}return r.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var o={points:[],touches:[],target:e,event:t},s=0,l=i.length;s<l;s++){var f=i[s],v=p2(n,f,{});o.points.push([v.zrX,v.zrY]),o.touches.push(f)}this._track.push(o)}},r.prototype._recognize=function(t){for(var e in aA)if(aA.hasOwnProperty(e)){var n=aA[e](this._track,t);if(n)return n}},r}();function VC(r){var t=r[1][0]-r[0][0],e=r[1][1]-r[0][1];return Math.sqrt(t*t+e*e)}function e5(r){return[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]}var aA={pinch:function(r,t){var e=r.length;if(e){var n=(r[e-1]||{}).points,i=(r[e-2]||{}).points||n;if(i&&i.length>1&&n&&n.length>1){var o=VC(n)/VC(i);!isFinite(o)&&(o=1),t.pinchScale=o;var s=e5(n);return t.pinchX=s[0],t.pinchY=s[1],{type:"pinch",target:r[0].target,event:t}}}}};function Lu(){return[1,0,0,1,0,0]}function M0(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function ml(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r}function ic(r,t,e){var n=t[0]*e[0]+t[2]*e[1],i=t[1]*e[0]+t[3]*e[1],o=t[0]*e[2]+t[2]*e[3],s=t[1]*e[2]+t[3]*e[3],l=t[0]*e[4]+t[2]*e[5]+t[4],f=t[1]*e[4]+t[3]*e[5]+t[5];return r[0]=n,r[1]=i,r[2]=o,r[3]=s,r[4]=l,r[5]=f,r}function Hs(r,t,e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4]+e[0],r[5]=t[5]+e[1],r}function nf(r,t,e,n){n===void 0&&(n=[0,0]);var i=t[0],o=t[2],s=t[4],l=t[1],f=t[3],v=t[5],C=Math.sin(e),w=Math.cos(e);return r[0]=i*w+l*C,r[1]=-i*C+l*w,r[2]=o*w+f*C,r[3]=-o*C+w*f,r[4]=w*(s-n[0])+C*(v-n[1])+n[0],r[5]=w*(v-n[1])-C*(s-n[0])+n[1],r}function Rv(r,t,e){var n=e[0],i=e[1];return r[0]=t[0]*n,r[1]=t[1]*i,r[2]=t[2]*n,r[3]=t[3]*i,r[4]=t[4]*n,r[5]=t[5]*i,r}function yd(r,t){var e=t[0],n=t[2],i=t[4],o=t[1],s=t[3],l=t[5],f=e*s-o*n;return f?(f=1/f,r[0]=s*f,r[1]=-o*f,r[2]=-n*f,r[3]=e*f,r[4]=(n*l-s*i)*f,r[5]=(o*i-e*l)*f,r):null}function t5(r){var t=Lu();return ml(t,r),t}var ci=function(){function r(t,e){this.x=t||0,this.y=e||0}return r.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(t,e){return this.x=t,this.y=e,this},r.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},r.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},r.prototype.scale=function(t){this.x*=t,this.y*=t},r.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},r.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},r.prototype.dot=function(t){return this.x*t.x+this.y*t.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},r.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},r.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},r.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},r.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},r.set=function(t,e,n){t.x=e,t.y=n},r.copy=function(t,e){t.x=e.x,t.y=e.y},r.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},r.lenSquare=function(t){return t.x*t.x+t.y*t.y},r.dot=function(t,e){return t.x*e.x+t.y*e.y},r.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},r.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},r.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},r.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},r.lerp=function(t,e,n,i){var o=1-i;t.x=o*e.x+i*n.x,t.y=o*e.y+i*n.y},r}(),Mv=Math.min,F0=Math.max,ac=new ci,oA=new ci,Bh=new ci,sA=new ci,T0=new ci,Ug=new ci,gi=function(){function r(t,e,n,i){n<0&&(t=t+n,n=-n),i<0&&(e=e+i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return r.prototype.union=function(t){var e=Mv(t.x,this.x),n=Mv(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=F0(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=F0(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},r.prototype.applyTransform=function(t){r.applyTransform(this,this,t)},r.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,o=Lu();return Hs(o,o,[-e.x,-e.y]),Rv(o,o,[n,i]),Hs(o,o,[t.x,t.y]),o},r.prototype.intersect=function(t,e){if(!t)return!1;t instanceof r||(t=r.create(t));var n=this,i=n.x,o=n.x+n.width,s=n.y,l=n.y+n.height,f=t.x,v=t.x+t.width,C=t.y,w=t.y+t.height,x=!(o<f||v<i||l<C||w<s);if(e){var Q=1/0,R=0,L=Math.abs(o-f),P=Math.abs(v-i),M=Math.abs(l-C),k=Math.abs(w-s),G=Math.min(L,P),Y=Math.min(M,k);o<f||v<i?G>R&&(R=G,L<P?ci.set(Ug,-L,0):ci.set(Ug,P,0)):G<Q&&(Q=G,L<P?ci.set(T0,L,0):ci.set(T0,-P,0)),l<C||w<s?Y>R&&(R=Y,M<k?ci.set(Ug,0,-M):ci.set(Ug,0,k)):G<Q&&(Q=G,M<k?ci.set(T0,0,M):ci.set(T0,0,-k))}return e&&ci.copy(e,x?T0:Ug),x},r.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(t){r.copy(this,t)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(t){return new r(t.x,t.y,t.width,t.height)},r.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},r.applyTransform=function(t,e,n){if(!n){t!==e&&r.copy(t,e);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],o=n[3],s=n[4],l=n[5];t.x=e.x*i+s,t.y=e.y*o+l,t.width=e.width*i,t.height=e.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}ac.x=Bh.x=e.x,ac.y=sA.y=e.y,oA.x=sA.x=e.x+e.width,oA.y=Bh.y=e.y+e.height,ac.transform(n),sA.transform(n),oA.transform(n),Bh.transform(n),t.x=Mv(ac.x,oA.x,Bh.x,sA.x),t.y=Mv(ac.y,oA.y,Bh.y,sA.y);var f=F0(ac.x,oA.x,Bh.x,sA.x),v=F0(ac.y,oA.y,Bh.y,sA.y);t.width=f-t.x,t.height=v-t.y},r}(),y2="silent";function r5(r,t,e){return{type:r,event:e,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:e.zrX,offsetY:e.zrY,gestureEvent:e.gestureEvent,pinchX:e.pinchX,pinchY:e.pinchY,pinchScale:e.pinchScale,wheelDelta:e.zrDelta,zrByTouch:e.zrByTouch,which:e.which,stop:ZC}}function ZC(){rf(this.event)}var n5=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.handler=null,e}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(au),L0=function(){function r(t,e){this.x=t,this.y=e}return r}(),i5=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],m2=new gi(0,0,0,0),Fv=function(r){kt(t,r);function t(e,n,i,o,s){var l=r.call(this)||this;return l._hovered=new L0(0,0),l.storage=e,l.painter=n,l.painterRoot=o,l._pointerSize=s,i=i||new n5,l.proxy=null,l.setHandlerProxy(i),l._draggingMgr=new d2(l),l}return t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(Ne(i5,function(n){e.on&&e.on(n,this[n],this)},this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var n=e.zrX,i=e.zrY,o=Tv(this,n,i),s=this._hovered,l=s.target;l&&!l.__zr&&(s=this.findHover(s.x,s.y),l=s.target);var f=this._hovered=o?new L0(n,i):this.findHover(n,i),v=f.target,C=this.proxy;C.setCursor&&C.setCursor(v?v.cursor:"default"),l&&v!==l&&this.dispatchToElement(s,"mouseout",e),this.dispatchToElement(f,"mousemove",e),v&&v!==l&&this.dispatchToElement(f,"mouseover",e)},t.prototype.mouseout=function(e){var n=e.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",e),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new L0(0,0)},t.prototype.dispatch=function(e,n){var i=this[e];i&&i.call(this,n)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var n=this.proxy;n.setCursor&&n.setCursor(e)},t.prototype.dispatchToElement=function(e,n,i){e=e||{};var o=e.target;if(!(o&&o.silent)){for(var s="on"+n,l=r5(n,e,i);o&&(o[s]&&(l.cancelBubble=!!o[s].call(o,l)),o.trigger(n,l),o=o.__hostTarget?o.__hostTarget:o.parent,!l.cancelBubble););l.cancelBubble||(this.trigger(n,l),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(f){typeof f[s]=="function"&&f[s].call(f,l),f.trigger&&f.trigger(n,l)}))}},t.prototype.findHover=function(e,n,i){var o=this.storage.getDisplayList(),s=new L0(e,n);if(I2(o,s,e,n,i),this._pointerSize&&!s.target){for(var l=[],f=this._pointerSize,v=f/2,C=new gi(e-v,n-v,f,f),w=o.length-1;w>=0;w--){var x=o[w];x!==i&&!x.ignore&&!x.ignoreCoarsePointer&&(!x.parent||!x.parent.ignoreCoarsePointer)&&(m2.copy(x.getBoundingRect()),x.transform&&m2.applyTransform(x.transform),m2.intersect(C)&&l.push(x))}if(l.length)for(var Q=4,R=Math.PI/12,L=Math.PI*2,P=0;P<v;P+=Q)for(var M=0;M<L;M+=R){var k=e+P*Math.cos(M),G=n+P*Math.sin(M);if(I2(l,s,k,G,i),s.target)return s}}return s},t.prototype.processGesture=function(e,n){this._gestureMgr||(this._gestureMgr=new $3);var i=this._gestureMgr;n==="start"&&i.clear();var o=i.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if(n==="end"&&i.clear(),o){var s=o.type;e.gestureEvent=s;var l=new L0;l.target=o.target,this.dispatchToElement(l,s,o.event)}},t}(au);Ne(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(r){Fv.prototype[r]=function(t){var e=t.zrX,n=t.zrY,i=Tv(this,e,n),o,s;if((r!=="mouseup"||!i)&&(o=this.findHover(e,n),s=o.target),r==="mousedown")this._downEl=s,this._downPoint=[t.zrX,t.zrY],this._upEl=s;else if(r==="mouseup")this._upEl=s;else if(r==="click"){if(this._downEl!==this._upEl||!this._downPoint||eA(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(o,r,t)}});function a5(r,t,e){if(r[r.rectHover?"rectContain":"contain"](t,e)){for(var n=r,i=void 0,o=!1;n;){if(n.ignoreClip&&(o=!0),!o){var s=n.getClipPath();if(s&&!s.contain(t,e))return!1}n.silent&&(i=!0);var l=n.__hostTarget;n=l||n.parent}return i?y2:!0}return!1}function I2(r,t,e,n,i){for(var o=r.length-1;o>=0;o--){var s=r[o],l=void 0;if(s!==i&&!s.ignore&&(l=a5(s,e,n))&&(!t.topTarget&&(t.topTarget=s),l!==y2)){t.target=s;break}}}function Tv(r,t,e){var n=r.painter;return t<0||t>n.getWidth()||e<0||e>n.getHeight()}var b2=32,N0=7;function jg(r){for(var t=0;r>=b2;)t|=r&1,r>>=1;return r+t}function O0(r,t,e,n){var i=t+1;if(i===e)return 1;if(n(r[i++],r[t])<0){for(;i<e&&n(r[i],r[i-1])<0;)i++;XC(r,t,i)}else for(;i<e&&n(r[i],r[i-1])>=0;)i++;return i-t}function XC(r,t,e){for(e--;t<e;){var n=r[t];r[t++]=r[e],r[e--]=n}}function $C(r,t,e,n,i){for(n===t&&n++;n<e;n++){for(var o=r[n],s=t,l=n,f;s<l;)f=s+l>>>1,i(o,r[f])<0?l=f:s=f+1;var v=n-s;switch(v){case 3:r[s+3]=r[s+2];case 2:r[s+2]=r[s+1];case 1:r[s+1]=r[s];break;default:for(;v>0;)r[s+v]=r[s+v-1],v--}r[s]=o}}function Lv(r,t,e,n,i,o){var s=0,l=0,f=1;if(o(r,t[e+i])>0){for(l=n-i;f<l&&o(r,t[e+i+f])>0;)s=f,f=(f<<1)+1,f<=0&&(f=l);f>l&&(f=l),s+=i,f+=i}else{for(l=i+1;f<l&&o(r,t[e+i-f])<=0;)s=f,f=(f<<1)+1,f<=0&&(f=l);f>l&&(f=l);var v=s;s=i-f,f=i-v}for(s++;s<f;){var C=s+(f-s>>>1);o(r,t[e+C])>0?s=C+1:f=C}return f}function C2(r,t,e,n,i,o){var s=0,l=0,f=1;if(o(r,t[e+i])<0){for(l=i+1;f<l&&o(r,t[e+i-f])<0;)s=f,f=(f<<1)+1,f<=0&&(f=l);f>l&&(f=l);var v=s;s=i-f,f=i-v}else{for(l=n-i;f<l&&o(r,t[e+i+f])>=0;)s=f,f=(f<<1)+1,f<=0&&(f=l);f>l&&(f=l),s+=i,f+=i}for(s++;s<f;){var C=s+(f-s>>>1);o(r,t[e+C])<0?f=C:s=C+1}return f}function ew(r,t){var e=N0,n,i,o=0,s=[];n=[],i=[];function l(Q,R){n[o]=Q,i[o]=R,o+=1}function f(){for(;o>1;){var Q=o-2;if(Q>=1&&i[Q-1]<=i[Q]+i[Q+1]||Q>=2&&i[Q-2]<=i[Q]+i[Q-1])i[Q-1]<i[Q+1]&&Q--;else if(i[Q]>i[Q+1])break;C(Q)}}function v(){for(;o>1;){var Q=o-2;Q>0&&i[Q-1]<i[Q+1]&&Q--,C(Q)}}function C(Q){var R=n[Q],L=i[Q],P=n[Q+1],M=i[Q+1];i[Q]=L+M,Q===o-3&&(n[Q+1]=n[Q+2],i[Q+1]=i[Q+2]),o--;var k=C2(r[P],r,R,L,0,t);R+=k,L-=k,L!==0&&(M=Lv(r[R+L-1],r,P,M,M-1,t),M!==0&&(L<=M?w(R,L,P,M):x(R,L,P,M)))}function w(Q,R,L,P){var M=0;for(M=0;M<R;M++)s[M]=r[Q+M];var k=0,G=L,Y=Q;if(r[Y++]=r[G++],--P===0){for(M=0;M<R;M++)r[Y+M]=s[k+M];return}if(R===1){for(M=0;M<P;M++)r[Y+M]=r[G+M];r[Y+P]=s[k];return}for(var re=e,ie,le,pe;;){ie=0,le=0,pe=!1;do if(t(r[G],s[k])<0){if(r[Y++]=r[G++],le++,ie=0,--P===0){pe=!0;break}}else if(r[Y++]=s[k++],ie++,le=0,--R===1){pe=!0;break}while((ie|le)<re);if(pe)break;do{if(ie=C2(r[G],s,k,R,0,t),ie!==0){for(M=0;M<ie;M++)r[Y+M]=s[k+M];if(Y+=ie,k+=ie,R-=ie,R<=1){pe=!0;break}}if(r[Y++]=r[G++],--P===0){pe=!0;break}if(le=Lv(s[k],r,G,P,0,t),le!==0){for(M=0;M<le;M++)r[Y+M]=r[G+M];if(Y+=le,G+=le,P-=le,P===0){pe=!0;break}}if(r[Y++]=s[k++],--R===1){pe=!0;break}re--}while(ie>=N0||le>=N0);if(pe)break;re<0&&(re=0),re+=2}if(e=re,e<1&&(e=1),R===1){for(M=0;M<P;M++)r[Y+M]=r[G+M];r[Y+P]=s[k]}else{if(R===0)throw new Error;for(M=0;M<R;M++)r[Y+M]=s[k+M]}}function x(Q,R,L,P){var M=0;for(M=0;M<P;M++)s[M]=r[L+M];var k=Q+R-1,G=P-1,Y=L+P-1,re=0,ie=0;if(r[Y--]=r[k--],--R===0){for(re=Y-(P-1),M=0;M<P;M++)r[re+M]=s[M];return}if(P===1){for(Y-=R,k-=R,ie=Y+1,re=k+1,M=R-1;M>=0;M--)r[ie+M]=r[re+M];r[Y]=s[G];return}for(var le=e;;){var pe=0,ve=0,Ee=!1;do if(t(s[G],r[k])<0){if(r[Y--]=r[k--],pe++,ve=0,--R===0){Ee=!0;break}}else if(r[Y--]=s[G--],ve++,pe=0,--P===1){Ee=!0;break}while((pe|ve)<le);if(Ee)break;do{if(pe=R-C2(s[G],r,Q,R,R-1,t),pe!==0){for(Y-=pe,k-=pe,R-=pe,ie=Y+1,re=k+1,M=pe-1;M>=0;M--)r[ie+M]=r[re+M];if(R===0){Ee=!0;break}}if(r[Y--]=s[G--],--P===1){Ee=!0;break}if(ve=P-Lv(r[k],s,0,P,P-1,t),ve!==0){for(Y-=ve,G-=ve,P-=ve,ie=Y+1,re=G+1,M=0;M<ve;M++)r[ie+M]=s[re+M];if(P<=1){Ee=!0;break}}if(r[Y--]=r[k--],--R===0){Ee=!0;break}le--}while(pe>=N0||ve>=N0);if(Ee)break;le<0&&(le=0),le+=2}if(e=le,e<1&&(e=1),P===1){for(Y-=R,k-=R,ie=Y+1,re=k+1,M=R-1;M>=0;M--)r[ie+M]=r[re+M];r[Y]=s[G]}else{if(P===0)throw new Error;for(re=Y-(P-1),M=0;M<P;M++)r[re+M]=s[M]}}return{mergeRuns:f,forceMergeRuns:v,pushRun:l}}function Nv(r,t,e,n){e||(e=0),n||(n=r.length);var i=n-e;if(!(i<2)){var o=0;if(i<b2){o=O0(r,e,n,t),$C(r,e,n,e+o,t);return}var s=ew(r,t),l=jg(i);do{if(o=O0(r,e,n,t),o<l){var f=i;f>l&&(f=l),$C(r,e,e+f,e+o,t),o=f}s.pushRun(e,o),s.mergeRuns(),i-=o,e+=o}while(i!==0);s.forceMergeRuns()}}var zl=1,md=2,Hg=4,tw=!1;function Ov(){tw||(tw=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function rw(r,t){return r.zlevel===t.zlevel?r.z===t.z?r.z2-t.z2:r.z-t.z:r.zlevel-t.zlevel}var Id=function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=rw}return r.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},r.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},r.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,o=e.length;i<o;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,Nv(n,rw)},r.prototype._updateAndAddDisplayable=function(t,e,n){if(!(t.ignore&&!n)){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e?e=e.slice():e=[];for(var o=i,s=t;o;)o.parent=s,o.updateTransform(),e.push(o),s=o,o=o.getClipPath()}if(t.childrenRef){for(var l=t.childrenRef(),f=0;f<l.length;f++){var v=l[f];t.__dirty&&(v.__dirty|=zl),this._updateAndAddDisplayable(v,e,n)}t.__dirty=0}else{var C=t;e&&e.length?C.__clipPaths=e:C.__clipPaths&&C.__clipPaths.length>0&&(C.__clipPaths=[]),isNaN(C.z)&&(Ov(),C.z=0),isNaN(C.z2)&&(Ov(),C.z2=0),isNaN(C.zlevel)&&(Ov(),C.zlevel=0),this._displayList[this._displayListLen++]=C}var w=t.getDecalElement&&t.getDecalElement();w&&this._updateAndAddDisplayable(w,e,n);var x=t.getTextGuideLine();x&&this._updateAndAddDisplayable(x,e,n);var Q=t.getTextContent();Q&&this._updateAndAddDisplayable(Q,e,n)}},r.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},r.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);return}var i=Vn(this._roots,t);i>=0&&this._roots.splice(i,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r}(),Yg;Yg=Yn.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var Jg={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),-(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)))},elasticOut:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*r)*Math.sin((r-t)*(2*Math.PI)/n)+1)},elasticInOut:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),(r*=2)<1?-.5*(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)):e*Math.pow(2,-10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)*.5+1)},backIn:function(r){var t=1.70158;return r*r*((t+1)*r-t)},backOut:function(r){var t=1.70158;return--r*r*((t+1)*r+t)+1},backInOut:function(r){var t=2.5949095;return(r*=2)<1?.5*(r*r*((t+1)*r-t)):.5*((r-=2)*r*((t+1)*r+t)+2)},bounceIn:function(r){return 1-Jg.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?Jg.bounceIn(r*2)*.5:Jg.bounceOut(r*2-1)*.5+.5}},P0=Math.pow,af=Math.sqrt,nw=1e-8,Pv=1e-4,w2=af(3),G0=1/3,Kl=vd(),Yc=vd(),Wg=vd();function of(r){return r>-1e-8&&r<nw}function iw(r){return r>nw||r<-1e-8}function ks(r,t,e,n,i){var o=1-i;return o*o*(o*r+3*i*t)+i*i*(i*n+3*o*e)}function E2(r,t,e,n,i){var o=1-i;return 3*(((t-r)*o+2*(e-t)*i)*o+(n-e)*i*i)}function U0(r,t,e,n,i,o){var s=n+3*(t-e)-r,l=3*(e-t*2+r),f=3*(t-r),v=r-i,C=l*l-3*s*f,w=l*f-9*s*v,x=f*f-3*l*v,Q=0;if(of(C)&&of(w))if(of(l))o[0]=0;else{var R=-f/l;R>=0&&R<=1&&(o[Q++]=R)}else{var L=w*w-4*C*x;if(of(L)){var P=w/C,R=-l/s+P,M=-P/2;R>=0&&R<=1&&(o[Q++]=R),M>=0&&M<=1&&(o[Q++]=M)}else if(L>0){var k=af(L),G=C*l+1.5*s*(-w+k),Y=C*l+1.5*s*(-w-k);G<0?G=-P0(-G,G0):G=P0(G,G0),Y<0?Y=-P0(-Y,G0):Y=P0(Y,G0);var R=(-l-(G+Y))/(3*s);R>=0&&R<=1&&(o[Q++]=R)}else{var re=(2*C*l-3*s*w)/(2*af(C*C*C)),ie=Math.acos(re)/3,le=af(C),pe=Math.cos(ie),R=(-l-2*le*pe)/(3*s),M=(-l+le*(pe+w2*Math.sin(ie)))/(3*s),ve=(-l+le*(pe-w2*Math.sin(ie)))/(3*s);R>=0&&R<=1&&(o[Q++]=R),M>=0&&M<=1&&(o[Q++]=M),ve>=0&&ve<=1&&(o[Q++]=ve)}}return Q}function aw(r,t,e,n,i){var o=6*e-12*t+6*r,s=9*t+3*n-3*r-9*e,l=3*t-3*r,f=0;if(of(s)){if(iw(o)){var v=-l/o;v>=0&&v<=1&&(i[f++]=v)}}else{var C=o*o-4*s*l;if(of(C))i[0]=-o/(2*s);else if(C>0){var w=af(C),v=(-o+w)/(2*s),x=(-o-w)/(2*s);v>=0&&v<=1&&(i[f++]=v),x>=0&&x<=1&&(i[f++]=x)}}return f}function sf(r,t,e,n,i,o){var s=(t-r)*i+r,l=(e-t)*i+t,f=(n-e)*i+e,v=(l-s)*i+s,C=(f-l)*i+l,w=(C-v)*i+v;o[0]=r,o[1]=s,o[2]=v,o[3]=w,o[4]=w,o[5]=C,o[6]=f,o[7]=n}function qg(r,t,e,n,i,o,s,l,f,v,C){var w,x=.005,Q=1/0,R,L,P,M;Kl[0]=f,Kl[1]=v;for(var k=0;k<1;k+=.05)Yc[0]=ks(r,e,i,s,k),Yc[1]=ks(t,n,o,l,k),P=tA(Kl,Yc),P<Q&&(w=k,Q=P);Q=1/0;for(var G=0;G<32&&!(x<Pv);G++)R=w-x,L=w+x,Yc[0]=ks(r,e,i,s,R),Yc[1]=ks(t,n,o,l,R),P=tA(Yc,Kl),R>=0&&P<Q?(w=R,Q=P):(Wg[0]=ks(r,e,i,s,L),Wg[1]=ks(t,n,o,l,L),M=tA(Wg,Kl),L<=1&&M<Q?(w=L,Q=M):x*=.5);return C&&(C[0]=ks(r,e,i,s,w),C[1]=ks(t,n,o,l,w)),af(Q)}function ow(r,t,e,n,i,o,s,l,f){for(var v=r,C=t,w=0,x=1/f,Q=1;Q<=f;Q++){var R=Q*x,L=ks(r,e,i,s,R),P=ks(t,n,o,l,R),M=L-v,k=P-C;w+=Math.sqrt(M*M+k*k),v=L,C=P}return w}function su(r,t,e,n){var i=1-n;return i*(i*r+2*n*t)+n*n*e}function Gv(r,t,e,n){return 2*((1-n)*(t-r)+n*(e-t))}function uf(r,t,e,n,i){var o=r-2*t+e,s=2*(t-r),l=r-n,f=0;if(of(o)){if(iw(s)){var v=-l/s;v>=0&&v<=1&&(i[f++]=v)}}else{var C=s*s-4*o*l;if(of(C)){var v=-s/(2*o);v>=0&&v<=1&&(i[f++]=v)}else if(C>0){var w=af(C),v=(-s+w)/(2*o),x=(-s-w)/(2*o);v>=0&&v<=1&&(i[f++]=v),x>=0&&x<=1&&(i[f++]=x)}}return f}function B2(r,t,e){var n=r+e-2*t;return n===0?.5:(r-t)/n}function j0(r,t,e,n,i){var o=(t-r)*n+r,s=(e-t)*n+t,l=(s-o)*n+o;i[0]=r,i[1]=o,i[2]=l,i[3]=l,i[4]=s,i[5]=e}function k2(r,t,e,n,i,o,s,l,f){var v,C=.005,w=1/0;Kl[0]=s,Kl[1]=l;for(var x=0;x<1;x+=.05){Yc[0]=su(r,e,i,x),Yc[1]=su(t,n,o,x);var Q=tA(Kl,Yc);Q<w&&(v=x,w=Q)}w=1/0;for(var R=0;R<32&&!(C<Pv);R++){var L=v-C,P=v+C;Yc[0]=su(r,e,i,L),Yc[1]=su(t,n,o,L);var Q=tA(Yc,Kl);if(L>=0&&Q<w)v=L,w=Q;else{Wg[0]=su(r,e,i,P),Wg[1]=su(t,n,o,P);var M=tA(Wg,Kl);P<=1&&M<w?(v=P,w=M):C*=.5}}return f&&(f[0]=su(r,e,i,v),f[1]=su(t,n,o,v)),af(w)}function o5(r,t,e,n,i,o,s){for(var l=r,f=t,v=0,C=1/s,w=1;w<=s;w++){var x=w*C,Q=su(r,e,i,x),R=su(t,n,o,x),L=Q-l,P=R-f;v+=Math.sqrt(L*L+P*P),l=Q,f=R}return v}var sw=/cubic-bezier\(([0-9,\.e ]+)\)/;function Uv(r){var t=r&&sw.exec(r);if(t){var e=t[1].split(","),n=+Wl(e[0]),i=+Wl(e[1]),o=+Wl(e[2]),s=+Wl(e[3]);if(isNaN(n+i+o+s))return;var l=[];return function(f){return f<=0?0:f>=1?1:U0(0,n,o,1,f,l)&&ks(0,i,s,1,l[0])}}}var uw=function(){function r(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||$o,this.ondestroy=t.ondestroy||$o,this.onrestart=t.onrestart||$o,t.easing&&this.setEasing(t.easing)}return r.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var n=this._life,i=t-this._startTime-this._pausedTime,o=i/n;o<0&&(o=0),o=Math.min(o,1);var s=this.easingFunc,l=s?s(o):o;if(this.onframe(l),o===1)if(this.loop){var f=i%n;this._startTime=t-f,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(t){this.easing=t,this.easingFunc=bn(t)?t:Jg[t]||Uv(t)},r}(),Q2=function(){function r(t){this.value=t}return r}(),cw=function(){function r(){this._len=0}return r.prototype.insert=function(t){var e=new Q2(t);return this.insertEntry(e),e},r.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},r.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r}(),zg=function(){function r(t){this._list=new cw,this._maxSize=10,this._map={},this._maxSize=t}return r.prototype.put=function(t,e){var n=this._list,i=this._map,o=null;if(i[t]==null){var s=n.len(),l=this._lastRemovedEntry;if(s>=this._maxSize&&s>0){var f=n.head;n.remove(f),delete i[f.key],o=f.value,this._lastRemovedEntry=f}l?l.value=e:l=new Q2(e),l.key=t,n.insertEntry(l),i[t]=l}return o},r.prototype.get=function(t){var e=this._map[t],n=this._list;if(e!=null)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r}(),lw={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Jc(r){return r=Math.round(r),r<0?0:r>255?255:r}function uA(r){return r=Math.round(r),r<0?0:r>360?360:r}function Nu(r){return r<0?0:r>1?1:r}function bd(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?Jc(parseFloat(t)/100*255):Jc(parseInt(t,10))}function cA(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?Nu(parseFloat(t)/100):Nu(parseFloat(t))}function x2(r,t,e){return e<0?e+=1:e>1&&(e-=1),e*6<1?r+(t-r)*e*6:e*2<1?t:e*3<2?r+(t-r)*(2/3-e)*6:r}function kh(r,t,e){return r+(t-r)*e}function Cu(r,t,e,n,i){return r[0]=t,r[1]=e,r[2]=n,r[3]=i,r}function H0(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r}var hw=new zg(20),Wc=null;function Cd(r,t){Wc&&H0(Wc,t),Wc=hw.put(r,Wc||t.slice())}function qc(r,t){if(r){t=t||[];var e=hw.get(r);if(e)return H0(t,e);r=r+"";var n=r.replace(/ /g,"").toLowerCase();if(n in lw)return H0(t,lw[n]),Cd(r,t),t;var i=n.length;if(n.charAt(0)==="#"){if(i===4||i===5){var o=parseInt(n.slice(1,4),16);if(!(o>=0&&o<=4095)){Cu(t,0,0,0,1);return}return Cu(t,(o&3840)>>4|(o&3840)>>8,o&240|(o&240)>>4,o&15|(o&15)<<4,i===5?parseInt(n.slice(4),16)/15:1),Cd(r,t),t}else if(i===7||i===9){var o=parseInt(n.slice(1,7),16);if(!(o>=0&&o<=16777215)){Cu(t,0,0,0,1);return}return Cu(t,(o&16711680)>>16,(o&65280)>>8,o&255,i===9?parseInt(n.slice(7),16)/255:1),Cd(r,t),t}return}var s=n.indexOf("("),l=n.indexOf(")");if(s!==-1&&l+1===i){var f=n.substr(0,s),v=n.substr(s+1,l-(s+1)).split(","),C=1;switch(f){case"rgba":if(v.length!==4)return v.length===3?Cu(t,+v[0],+v[1],+v[2],1):Cu(t,0,0,0,1);C=cA(v.pop());case"rgb":if(v.length>=3)return Cu(t,bd(v[0]),bd(v[1]),bd(v[2]),v.length===3?C:cA(v[3])),Cd(r,t),t;Cu(t,0,0,0,1);return;case"hsla":if(v.length!==4){Cu(t,0,0,0,1);return}return v[3]=cA(v[3]),Kg(v,t),Cd(r,t),t;case"hsl":if(v.length!==3){Cu(t,0,0,0,1);return}return Kg(v,t),Cd(r,t),t;default:return}}Cu(t,0,0,0,1)}}function Kg(r,t){var e=(parseFloat(r[0])%360+360)%360/360,n=cA(r[1]),i=cA(r[2]),o=i<=.5?i*(n+1):i+n-i*n,s=i*2-o;return t=t||[],Cu(t,Jc(x2(s,o,e+1/3)*255),Jc(x2(s,o,e)*255),Jc(x2(s,o,e-1/3)*255),1),r.length===4&&(t[3]=r[3]),t}function fw(r){if(r){var t=r[0]/255,e=r[1]/255,n=r[2]/255,i=Math.min(t,e,n),o=Math.max(t,e,n),s=o-i,l=(o+i)/2,f,v;if(s===0)f=0,v=0;else{l<.5?v=s/(o+i):v=s/(2-o-i);var C=((o-t)/6+s/2)/s,w=((o-e)/6+s/2)/s,x=((o-n)/6+s/2)/s;t===o?f=x-w:e===o?f=1/3+C-x:n===o&&(f=2/3+w-C),f<0&&(f+=1),f>1&&(f-=1)}var Q=[f*360,v,l];return r[3]!=null&&Q.push(r[3]),Q}}function S2(r,t){var e=qc(r);if(e){for(var n=0;n<3;n++)t<0?e[n]=e[n]*(1-t)|0:e[n]=(255-e[n])*t+e[n]|0,e[n]>255?e[n]=255:e[n]<0&&(e[n]=0);return cf(e,e.length===4?"rgba":"rgb")}}function jv(r,t,e){if(!(!(t&&t.length)||!(r>=0&&r<=1))){e=e||[];var n=r*(t.length-1),i=Math.floor(n),o=Math.ceil(n),s=t[i],l=t[o],f=n-i;return e[0]=Jc(kh(s[0],l[0],f)),e[1]=Jc(kh(s[1],l[1],f)),e[2]=Jc(kh(s[2],l[2],f)),e[3]=Nu(kh(s[3],l[3],f)),e}}function s5(r,t,e){if(!(!(t&&t.length)||!(r>=0&&r<=1))){var n=r*(t.length-1),i=Math.floor(n),o=Math.ceil(n),s=qc(t[i]),l=qc(t[o]),f=n-i,v=cf([Jc(kh(s[0],l[0],f)),Jc(kh(s[1],l[1],f)),Jc(kh(s[2],l[2],f)),Nu(kh(s[3],l[3],f))],"rgba");return e?{color:v,leftIndex:i,rightIndex:o,value:n}:v}}function Vg(r,t,e,n){var i=qc(r);if(r)return i=fw(i),t!=null&&(i[0]=uA(t)),e!=null&&(i[1]=cA(e)),n!=null&&(i[2]=cA(n)),cf(Kg(i),"rgba")}function Zg(r,t){var e=qc(r);if(e&&t!=null)return e[3]=Nu(t),cf(e,"rgba")}function cf(r,t){if(!(!r||!r.length)){var e=r[0]+","+r[1]+","+r[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(e+=","+r[3]),t+"("+e+")"}}function lf(r,t){var e=qc(r);return e?(.299*e[0]+.587*e[1]+.114*e[2])*e[3]/255+(1-e[3])*t:0}var Vl=new zg(100);function _2(r){if(en(r)){var t=Vl.get(r);return t||(t=S2(r,-.1),Vl.put(r,t)),t}else if(Q0(r)){var e=ar({},r);return e.colorStops=pr(r.colorStops,function(n){return{offset:n.offset,color:S2(n.color,-.1)}}),e}return r}var Hv=Math.round;function Y0(r){var t;if(!r||r==="transparent")r="none";else if(typeof r=="string"&&r.indexOf("rgba")>-1){var e=qc(r);e&&(r="rgb("+e[0]+","+e[1]+","+e[2]+")",t=e[3])}return{color:r,opacity:t??1}}var D2=1e-4;function Qh(r){return r<D2&&r>-1e-4}function Yv(r){return Hv(r*1e3)/1e3}function wu(r){return Hv(r*1e4)/1e4}function J0(r){return"matrix("+Yv(r[0])+","+Yv(r[1])+","+Yv(r[2])+","+Yv(r[3])+","+wu(r[4])+","+wu(r[5])+")"}var R2={left:"start",right:"end",center:"middle",middle:"middle"};function Aw(r,t,e){return e==="top"?r+=t/2:e==="bottom"&&(r-=t/2),r}function W0(r){return r&&(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)}function u5(r){var t=r.style,e=r.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),e[0],e[1]].join(",")}function M2(r){return r&&!!r.image}function c5(r){return r&&!!r.svgElement}function F2(r){return M2(r)||c5(r)}function T2(r){return r.type==="linear"}function Xg(r){return r.type==="radial"}function $g(r){return r&&(r.type==="linear"||r.type==="radial")}function go(r){return"url(#"+r+")"}function dw(r){var t=r.getGlobalScale(),e=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(e)/Math.log(10)),1)}function gw(r){var t=r.x||0,e=r.y||0,n=(r.rotation||0)*Qv,i=$n(r.scaleX,1),o=$n(r.scaleY,1),s=r.skewX||0,l=r.skewY||0,f=[];return(t||e)&&f.push("translate("+t+"px,"+e+"px)"),n&&f.push("rotate("+n+")"),(i!==1||o!==1)&&f.push("scale("+i+","+o+")"),(s||l)&&f.push("skew("+Hv(s*Qv)+"deg, "+Hv(l*Qv)+"deg)"),f.join(" ")}var l5=function(){return Yn.hasGlobalWindow&&bn(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null}}(),lA=Array.prototype.slice;function oc(r,t,e){return(t-r)*e+r}function q0(r,t,e,n){for(var i=t.length,o=0;o<i;o++)r[o]=oc(t[o],e[o],n);return r}function h5(r,t,e,n){for(var i=t.length,o=i&&t[0].length,s=0;s<i;s++){r[s]||(r[s]=[]);for(var l=0;l<o;l++)r[s][l]=oc(t[s][l],e[s][l],n)}return r}function Jv(r,t,e,n){for(var i=t.length,o=0;o<i;o++)r[o]=t[o]+e[o]*n;return r}function L2(r,t,e,n){for(var i=t.length,o=i&&t[0].length,s=0;s<i;s++){r[s]||(r[s]=[]);for(var l=0;l<o;l++)r[s][l]=t[s][l]+e[s][l]*n}return r}function N2(r,t){for(var e=r.length,n=t.length,i=e>n?t:r,o=Math.min(e,n),s=i[o-1]||{color:[0,0,0,0],offset:0},l=o;l<Math.max(e,n);l++)i.push({offset:s.offset,color:s.color.slice()})}function f5(r,t,e){var n=r,i=t;if(!(!n.push||!i.push)){var o=n.length,s=i.length;if(o!==s){var l=o>s;if(l)n.length=s;else for(var f=o;f<s;f++)n.push(e===1?i[f]:lA.call(i[f]))}for(var v=n[0]&&n[0].length,f=0;f<n.length;f++)if(e===1)isNaN(n[f])&&(n[f]=i[f]);else for(var C=0;C<v;C++)isNaN(n[f][C])&&(n[f][C]=i[f][C])}}function ep(r){if(bo(r)){var t=r.length;if(bo(r[0])){for(var e=[],n=0;n<t;n++)e.push(lA.call(r[n]));return e}return lA.call(r)}return r}function Wv(r){return r[0]=Math.floor(r[0])||0,r[1]=Math.floor(r[1])||0,r[2]=Math.floor(r[2])||0,r[3]=r[3]==null?1:r[3],"rgba("+r.join(",")+")"}function A5(r){return bo(r&&r[0])?2:1}var qv=0,zv=1,O2=2,tp=3,Kv=4,Sa=5,P2=6;function Vv(r){return r===Kv||r===Sa}function hA(r){return r===zv||r===O2}var Ui=[0,0,0,0],Zv=function(){function r(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return r.prototype.isFinished=function(){return this._finished},r.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},r.prototype.needsAnimate=function(){return this.keyframes.length>=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,o=i.length,s=!1,l=P2,f=e;if(bo(e)){var v=A5(e);l=v,(v===1&&!$i(e[0])||v===2&&!$i(e[0][0]))&&(s=!0)}else if($i(e)&&!Tg(e))l=qv;else if(en(e))if(!isNaN(+e))l=qv;else{var C=qc(e);C&&(f=C,l=tp)}else if(Q0(e)){var w=ar({},f);w.colorStops=pr(e.colorStops,function(Q){return{offset:Q.offset,color:qc(Q.color)}}),T2(e)?l=Kv:Xg(e)&&(l=Sa),f=w}o===0?this.valType=l:(l!==this.valType||l===P2)&&(s=!0),this.discrete=this.discrete||s;var x={time:t,value:f,rawValue:e,percent:0};return n&&(x.easing=n,x.easingFunc=bn(n)?n:Jg[n]||Uv(n)),i.push(x),x},r.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(L,P){return L.time-P.time});for(var i=this.valType,o=n.length,s=n[o-1],l=this.discrete,f=hA(i),v=Vv(i),C=0;C<o;C++){var w=n[C],x=w.value,Q=s.value;w.percent=w.time/t,l||(f&&C!==o-1?f5(x,Q,i):v&&N2(x.colorStops,Q.colorStops))}if(!l&&i!==Sa&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;for(var R=n[0].value,C=0;C<o;C++)i===qv?n[C].additiveValue=n[C].value-R:i===tp?n[C].additiveValue=Jv([],n[C].value,R,-1):hA(i)&&(n[C].additiveValue=i===zv?Jv([],n[C].value,R,-1):L2([],n[C].value,R,-1))}},r.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n=this._additiveTrack!=null,i=n?"additiveValue":"value",o=this.valType,s=this.keyframes,l=s.length,f=this.propName,v=o===tp,C,w=this._lastFr,x=Math.min,Q,R;if(l===1)Q=R=s[0];else{if(e<0)C=0;else if(e<this._lastFrP){var L=x(w+1,l-1);for(C=L;C>=0&&!(s[C].percent<=e);C--);C=x(C,l-2)}else{for(C=w;C<l&&!(s[C].percent>e);C++);C=x(C-1,l-2)}R=s[C+1],Q=s[C]}if(Q&&R){this._lastFr=C,this._lastFrP=e;var P=R.percent-Q.percent,M=P===0?1:x((e-Q.percent)/P,1);R.easingFunc&&(M=R.easingFunc(M));var k=n?this._additiveValue:v?Ui:t[f];if((hA(o)||v)&&!k&&(k=this._additiveValue=[]),this.discrete)t[f]=M<1?Q.rawValue:R.rawValue;else if(hA(o))o===zv?q0(k,Q[i],R[i],M):h5(k,Q[i],R[i],M);else if(Vv(o)){var G=Q[i],Y=R[i],re=o===Kv;t[f]={type:re?"linear":"radial",x:oc(G.x,Y.x,M),y:oc(G.y,Y.y,M),colorStops:pr(G.colorStops,function(le,pe){var ve=Y.colorStops[pe];return{offset:oc(le.offset,ve.offset,M),color:Wv(q0([],le.color,ve.color,M))}}),global:Y.global},re?(t[f].x2=oc(G.x2,Y.x2,M),t[f].y2=oc(G.y2,Y.y2,M)):t[f].r=oc(G.r,Y.r,M)}else if(v)q0(k,Q[i],R[i],M),n||(t[f]=Wv(k));else{var ie=oc(Q[i],R[i],M);n?this._additiveValue=ie:t[f]=ie}n&&this._addToTarget(t)}}},r.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;e===qv?t[n]=t[n]+i:e===tp?(qc(t[n],Ui),Jv(Ui,Ui,i,1),t[n]=Wv(Ui)):e===zv?Jv(t[n],t[n],i,1):e===O2&&L2(t[n],t[n],i,1)},r}(),Xv=function(){function r(t,e,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i){Ao("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(t){this._target=t},r.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,fi(e),n)},r.prototype.whenWithKeys=function(t,e,n,i){for(var o=this._tracks,s=0;s<n.length;s++){var l=n[s],f=o[l];if(!f){f=o[l]=new Zv(l);var v=void 0,C=this._getAdditiveTrack(l);if(C){var w=C.keyframes,x=w[w.length-1];v=x&&x.value,C.valType===tp&&v&&(v=Wv(v))}else v=this._target[l];if(v==null)continue;t>0&&f.addKeyframe(0,ep(v),i),this._trackKeys.push(l)}f.addKeyframe(t,ep(e[l]),i)}return this._maxTime=Math.max(this._maxTime,t),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},r.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},r.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},r.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var o=n[i].getTrack(t);o&&(e=o)}return e},r.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,o=0;o<this._trackKeys.length;o++){var s=this._trackKeys[o],l=this._tracks[s],f=this._getAdditiveTrack(s),v=l.keyframes,C=v.length;if(l.prepare(i,f),l.needsAnimate())if(!this._allowDiscrete&&l.discrete){var w=v[C-1];w&&(e._target[l.propName]=w.rawValue),l.setFinished()}else n.push(l)}if(n.length||this._force){var x=new uw({life:i,loop:this._loop,delay:this._delay||0,onframe:function(Q){e._started=2;var R=e._additiveAnimators;if(R){for(var L=!1,P=0;P<R.length;P++)if(R[P]._clip){L=!0;break}L||(e._additiveAnimators=null)}for(var P=0;P<n.length;P++)n[P].step(e._target,Q);var M=e._onframeCbs;if(M)for(var P=0;P<M.length;P++)M[P](e._target,Q)},ondestroy:function(){e._doneCallback()}});this._clip=x,this.animation&&this.animation.addClip(x),t&&x.setEasing(t)}else this._doneCallback();return this}},r.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},r.prototype.delay=function(t){return this._delay=t,this},r.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},r.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},r.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},r.prototype.getClip=function(){return this._clip},r.prototype.getTrack=function(t){return this._tracks[t]},r.prototype.getTracks=function(){var t=this;return pr(this._trackKeys,function(e){return t._tracks[e]})},r.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,o=0;o<t.length;o++){var s=n[t[o]];s&&!s.isFinished()&&(e?s.step(this._target,1):this._started===1&&s.step(this._target,0),s.setFinished())}for(var l=!0,o=0;o<i.length;o++)if(!n[i[o]].isFinished()){l=!1;break}return l&&this._abortedCallback(),l},r.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var o=e[i],s=this._tracks[o];if(!(!s||s.isFinished())){var l=s.keyframes,f=l[n?0:l.length-1];f&&(t[o]=ep(f.rawValue))}}}},r.prototype.__changeFinalValue=function(t,e){e=e||fi(t);for(var n=0;n<e.length;n++){var i=e[n],o=this._tracks[i];if(o){var s=o.keyframes;if(s.length>1){var l=s.pop();o.addKeyframe(l.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},r}();function fA(){return new Date().getTime()}var d5=function(r){kt(t,r);function t(e){var n=r.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var n=e.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(e){if(e.animation){var n=e.prev,i=e.next;n?n.next=i:this._head=i,i?i.prev=n:this._tail=n,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var n=e.getClip();n&&this.removeClip(n),e.animation=null},t.prototype.update=function(e){for(var n=fA()-this._pausedTime,i=n-this._time,o=this._head;o;){var s=o.next,l=o.step(n,i);l&&(o.ondestroy(),this.removeClip(o)),o=s}this._time=n,e||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0;function n(){e._running&&(Yg(n),!e._paused&&e.update())}Yg(n)},t.prototype.start=function(){this._running||(this._time=fA(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=fA(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=fA()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var n=e.next;e.prev=e.next=e.animation=null,e=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(e,n){n=n||{},this.start();var i=new Xv(e,n.loop);return this.addAnimator(i),i},t}(au),$v=300,G2=Yn.domSupported,_n=function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=pr(r,function(i){var o=i.replace("mouse","pointer");return e.hasOwnProperty(o)?o:i});return{mouse:r,touch:t,pointer:n}}(),ey={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},U2=!1;function ty(r){var t=r.pointerType;return t==="pen"||t==="touch"}function Er(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function ry(r){r&&(r.zrByTouch=!0)}function ny(r,t){return nc(r.dom,new pw(r,t),!0)}function j2(r,t){for(var e=t,n=!1;e&&e.nodeType!==9&&!(n=e.domBelongToZr||e!==t&&e===r.painterRoot);)e=e.parentNode;return n}var pw=function(){function r(t,e){this.stopPropagation=$o,this.stopImmediatePropagation=$o,this.preventDefault=$o,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return r}(),Za={mousedown:function(r){r=nc(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=nc(this.dom,r);var t=this.__mayPointerCapture;t&&(r.zrX!==t[0]||r.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=nc(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=nc(this.dom,r);var t=r.toElement||r.relatedTarget;j2(this,t)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){U2=!0,r=nc(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){U2||(r=nc(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=nc(this.dom,r),ry(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),Za.mousemove.call(this,r),Za.mousedown.call(this,r)},touchmove:function(r){r=nc(this.dom,r),ry(r),this.handler.processGesture(r,"change"),Za.mousemove.call(this,r)},touchend:function(r){r=nc(this.dom,r),ry(r),this.handler.processGesture(r,"end"),Za.mouseup.call(this,r),+new Date-+this.__lastTouchMoment<$v&&Za.click.call(this,r)},pointerdown:function(r){Za.mousedown.call(this,r)},pointermove:function(r){ty(r)||Za.mousemove.call(this,r)},pointerup:function(r){Za.mouseup.call(this,r)},pointerout:function(r){ty(r)||Za.mouseout.call(this,r)}};Ne(["click","dblclick","contextmenu"],function(r){Za[r]=function(t){t=nc(this.dom,t),this.trigger(r,t)}});var z0={pointermove:function(r){ty(r)||z0.mousemove.call(this,r)},pointerup:function(r){z0.mouseup.call(this,r)},mousemove:function(r){this.trigger("mousemove",r)},mouseup:function(r){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",r),t&&(r.zrEventControl="only_globalout",this.trigger("mouseout",r))}};function H2(r,t){var e=t.domHandlers;Yn.pointerEventsSupported?Ne(_n.pointer,function(n){K0(t,n,function(i){e[n].call(r,i)})}):(Yn.touchEventsSupported&&Ne(_n.touch,function(n){K0(t,n,function(i){e[n].call(r,i),Er(t)})}),Ne(_n.mouse,function(n){K0(t,n,function(i){i=R0(i),t.touching||e[n].call(r,i)})}))}function g5(r,t){Yn.pointerEventsSupported?Ne(ey.pointer,e):Yn.touchEventsSupported||Ne(ey.mouse,e);function e(n){function i(o){o=R0(o),j2(r,o.target)||(o=ny(r,o),t.domHandlers[n].call(r,o))}K0(t,n,i,{capture:!0})}}function K0(r,t,e,n){r.mounted[t]=e,r.listenerOpts[t]=n,v2(r.domTarget,t,e,n)}function rp(r){var t=r.mounted;for(var e in t)t.hasOwnProperty(e)&&X3(r.domTarget,e,t[e],r.listenerOpts[e]);r.mounted={}}var iy=function(){function r(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return r}(),p5=function(r){kt(t,r);function t(e,n){var i=r.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new iy(e,Za),G2&&(i._globalHandlerScope=new iy(document,z0)),H2(i,i._localHandlerScope),i}return t.prototype.dispose=function(){rp(this._localHandlerScope),G2&&rp(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,G2&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var n=this._globalHandlerScope;e?g5(this,n):rp(n)}},t}(au),vw=1;Yn.hasGlobalWindow&&(vw=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var ei=vw,ay=.4,oy="#333",sy="#ccc",yw="#eee",mw=M0,v5=5e-5;function wd(r){return r>v5||r<-5e-5}var Ed=[],np=[],Y2=Lu(),J2=Math.abs,hf=function(){function r(){}return r.prototype.getLocalTransform=function(t){return r.getLocalTransform(this,t)},r.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},r.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},r.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},r.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},r.prototype.needLocalTransform=function(){return wd(this.rotation)||wd(this.x)||wd(this.y)||wd(this.scaleX-1)||wd(this.scaleY-1)||wd(this.skewX)||wd(this.skewY)},r.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(mw(n),this.invTransform=null);return}n=n||Lu(),e?this.getLocalTransform(n):mw(n),t&&(e?ic(n,t,n):ml(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},r.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(e!=null&&e!==1){this.getGlobalScale(Ed);var n=Ed[0]<0?-1:1,i=Ed[1]<0?-1:1,o=((Ed[0]-n)*e+n)/Ed[0]||0,s=((Ed[1]-i)*e+i)/Ed[1]||0;t[0]*=o,t[1]*=o,t[2]*=s,t[3]*=s}this.invTransform=this.invTransform||Lu(),yd(this.invTransform,t)},r.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},r.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),o=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(o),e=Math.sqrt(e),this.skewX=o,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Lu(),ic(np,t.invTransform,e),e=np);var n=this.originX,i=this.originY;(n||i)&&(Y2[4]=n,Y2[5]=i,ic(np,e,Y2),np[4]-=n,np[5]-=i,e=np),this.setLocalTransform(e)}},r.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},r.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&js(n,n,i),n},r.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&js(n,n,i),n},r.prototype.getLineScale=function(){var t=this.transform;return t&&J2(t[0]-1)>1e-10&&J2(t[3]-1)>1e-10?Math.sqrt(J2(t[0]*t[3]-t[2]*t[1])):1},r.prototype.copyTransform=function(t){uy(this,t)},r.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,o=t.scaleX,s=t.scaleY,l=t.anchorX,f=t.anchorY,v=t.rotation||0,C=t.x,w=t.y,x=t.skewX?Math.tan(t.skewX):0,Q=t.skewY?Math.tan(-t.skewY):0;if(n||i||l||f){var R=n+l,L=i+f;e[4]=-R*o-x*L*s,e[5]=-L*s-Q*R*o}else e[4]=e[5]=0;return e[0]=o,e[3]=s,e[1]=Q*o,e[2]=x*s,v&&nf(e,e,v),e[4]+=n+C,e[5]+=i+w,e},r.initDefaultProps=function(){var t=r.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),r}(),Zl=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function uy(r,t){for(var e=0;e<Zl.length;e++){var n=Zl[e];r[n]=t[n]}}var Iw={};function zc(r,t){t=t||hi;var e=Iw[t];e||(e=Iw[t]=new zg(500));var n=e.get(r);return n==null&&(n=oo.measureText(r,t).width,e.put(r,n)),n}function cy(r,t,e,n){var i=zc(r,t),o=Bd(t),s=ff(0,i,e),l=so(0,o,n),f=new gi(s,l,i,o);return f}function V0(r,t,e,n){var i=((r||"")+"").split(`
  245. `),o=i.length;if(o===1)return cy(i[0],t,e,n);for(var s=new gi(0,0,0,0),l=0;l<i.length;l++){var f=cy(i[l],t,e,n);l===0?s.copy(f):s.union(f)}return s}function ff(r,t,e){return e==="right"?r-=t:e==="center"&&(r-=t/2),r}function so(r,t,e){return e==="middle"?r-=t/2:e==="bottom"&&(r-=t),r}function Bd(r){return zc("国",r)}function Do(r,t){return typeof r=="string"?r.lastIndexOf("%")>=0?parseFloat(r)/100*t:parseFloat(r):r}function Ec(r,t,e){var n=t.position||"inside",i=t.distance!=null?t.distance:5,o=e.height,s=e.width,l=o/2,f=e.x,v=e.y,C="left",w="top";if(n instanceof Array)f+=Do(n[0],e.width),v+=Do(n[1],e.height),C=null,w=null;else switch(n){case"left":f-=i,v+=l,C="right",w="middle";break;case"right":f+=i+s,v+=l,w="middle";break;case"top":f+=s/2,v-=i,C="center",w="bottom";break;case"bottom":f+=s/2,v+=o+i,C="center";break;case"inside":f+=s/2,v+=l,C="center",w="middle";break;case"insideLeft":f+=i,v+=l,w="middle";break;case"insideRight":f+=s-i,v+=l,C="right",w="middle";break;case"insideTop":f+=s/2,v+=i,C="center";break;case"insideBottom":f+=s/2,v+=o-i,C="center",w="bottom";break;case"insideTopLeft":f+=i,v+=i;break;case"insideTopRight":f+=s-i,v+=i,C="right";break;case"insideBottomLeft":f+=i,v+=o-i,w="bottom";break;case"insideBottomRight":f+=s-i,v+=o-i,C="right",w="bottom";break}return r=r||{},r.x=f,r.y=v,r.align=C,r.verticalAlign=w,r}var kd="__zr_normal__",ly=Zl.concat(["ignore"]),W2=xa(Zl,function(r,t){return r[t]=!0,r},{ignore:!1}),Kc={},hy=new gi(0,0,0,0),Qd=function(){function r(t){this.id=zi(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return r.prototype._init=function(t){this.attr(t)},r.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,o=e.innerTransformable,s=void 0,l=void 0,f=!1;o.parent=i?this:null;var v=!1;if(o.copyTransform(e),n.position!=null){var C=hy;n.layoutRect?C.copy(n.layoutRect):C.copy(this.getBoundingRect()),i||C.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Kc,n,C):Ec(Kc,n,C),o.x=Kc.x,o.y=Kc.y,s=Kc.align,l=Kc.verticalAlign;var w=n.origin;if(w&&n.rotation!=null){var x=void 0,Q=void 0;w==="center"?(x=C.width*.5,Q=C.height*.5):(x=Do(w[0],C.width),Q=Do(w[1],C.height)),v=!0,o.originX=-o.x+x+(i?0:C.x),o.originY=-o.y+Q+(i?0:C.y)}}n.rotation!=null&&(o.rotation=n.rotation);var R=n.offset;R&&(o.x+=R[0],o.y+=R[1],v||(o.originX=-R[0],o.originY=-R[1]));var L=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,P=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),M=void 0,k=void 0,G=void 0;L&&this.canBeInsideText()?(M=n.insideFill,k=n.insideStroke,(M==null||M==="auto")&&(M=this.getInsideTextFill()),(k==null||k==="auto")&&(k=this.getInsideTextStroke(M),G=!0)):(M=n.outsideFill,k=n.outsideStroke,(M==null||M==="auto")&&(M=this.getOutsideFill()),(k==null||k==="auto")&&(k=this.getOutsideStroke(M),G=!0)),M=M||"#000",(M!==P.fill||k!==P.stroke||G!==P.autoStroke||s!==P.align||l!==P.verticalAlign)&&(f=!0,P.fill=M,P.stroke=k,P.autoStroke=G,P.align=s,P.verticalAlign=l,e.setDefaultTextStyle(P)),e.__dirty|=zl,f&&e.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(t){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?sy:oy},r.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n=typeof e=="string"&&qc(e);n||(n=[255,255,255,1]);for(var i=n[3],o=this.__zr.isDarkMode(),s=0;s<3;s++)n[s]=n[s]*i+(o?0:255)*(1-i);return n[3]=1,cf(n,"rgba")},r.prototype.traverse=function(t,e){},r.prototype.attrKV=function(t,e){t==="textConfig"?this.setTextConfig(e):t==="textContent"?this.setTextContent(e):t==="clipPath"?this.setClipPath(e):t==="extra"?(this.extra=this.extra||{},ar(this.extra,e)):this[t]=e},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(t,e){if(typeof t=="string")this.attrKV(t,e);else if(Ln(t))for(var n=t,i=fi(n),o=0;o<i.length;o++){var s=i[o];this.attrKV(s,t[s])}return this.markRedraw(),this},r.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],o=i.__fromStateTransition;if(!(i.getLoop()||o&&o!==kd)){var s=i.targetName,l=s?e[s]:e;i.saveTo(l)}}},r.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,ly)},r.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var o=n[i];t[o]!=null&&!(o in e)&&(e[o]=this[o])}},r.prototype.hasState=function(){return this.currentStates.length>0},r.prototype.getState=function(t){return this.states[t]},r.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},r.prototype.clearStates=function(t){this.useState(kd,!1,t)},r.prototype.useState=function(t,e,n,i){var o=t===kd,s=this.hasState();if(!(!s&&o)){var l=this.currentStates,f=this.stateTransition;if(!(Vn(l,t)>=0&&(e||l.length===1))){var v;if(this.stateProxy&&!o&&(v=this.stateProxy(t)),v||(v=this.states&&this.states[t]),!v&&!o){Ao("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(v);var C=!!(v&&v.hoverLayer||i);C&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,v,this._normalState,e,!n&&!this.__inHover&&f&&f.duration>0,f);var w=this._textContent,x=this._textGuide;return w&&w.useState(t,e,n,C),x&&x.useState(t,e,n,C),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!C&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),v}}},r.prototype.useStates=function(t,e,n){if(!t.length)this.clearStates();else{var i=[],o=this.currentStates,s=t.length,l=s===o.length;if(l){for(var f=0;f<s;f++)if(t[f]!==o[f]){l=!1;break}}if(l)return;for(var f=0;f<s;f++){var v=t[f],C=void 0;this.stateProxy&&(C=this.stateProxy(v,t)),C||(C=this.states[v]),C&&i.push(C)}var w=i[s-1],x=!!(w&&w.hoverLayer||n);x&&this._toggleHoverLayerFlag(!0);var Q=this._mergeStates(i),R=this.stateTransition;this.saveCurrentToNormalState(Q),this._applyStateObj(t.join(","),Q,this._normalState,!1,!e&&!this.__inHover&&R&&R.duration>0,R);var L=this._textContent,P=this._textGuide;L&&L.useStates(t,e,x),P&&P.useStates(t,e,x),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!x&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}},r.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},r.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},r.prototype.removeState=function(t){var e=Vn(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},r.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),o=Vn(i,t),s=Vn(i,e)>=0;o>=0?s?i.splice(o,1):i[o]=e:n&&!s&&i.push(e),this.useStates(i)},r.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},r.prototype._mergeStates=function(t){for(var e={},n,i=0;i<t.length;i++){var o=t[i];ar(e,o),o.textConfig&&(n=n||{},ar(n,o.textConfig))}return n&&(e.textConfig=n),e},r.prototype._applyStateObj=function(t,e,n,i,o,s){var l=!(e&&i);e&&e.textConfig?(this.textConfig=ar({},i?this.textConfig:n.textConfig),ar(this.textConfig,e.textConfig)):l&&n.textConfig&&(this.textConfig=n.textConfig);for(var f={},v=!1,C=0;C<ly.length;C++){var w=ly[C],x=o&&W2[w];e&&e[w]!=null?x?(v=!0,f[w]=e[w]):this[w]=e[w]:l&&n[w]!=null&&(x?(v=!0,f[w]=n[w]):this[w]=n[w])}if(!o)for(var C=0;C<this.animators.length;C++){var Q=this.animators[C],R=Q.targetName;Q.getLoop()||Q.__changeFinalValue(R?(e||n)[R]:e||n)}v&&this._transitionState(t,f,s)},r.prototype._attachComponent=function(t){if(!(t.__zr&&!t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},r.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},r.prototype.getClipPath=function(){return this._clipPath},r.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},r.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},r.prototype.getTextContent=function(){return this._textContent},r.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new hf,this._attachComponent(t),this._textContent=t,this.markRedraw())},r.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),ar(this.textConfig,t),this.markRedraw()},r.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},r.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},r.prototype.getTextGuideLine=function(){return this._textGuide},r.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},r.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},r.prototype.markRedraw=function(){this.__dirty|=zl;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},r.prototype.dirty=function(){this.markRedraw()},r.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},r.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},r.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},r.prototype.animate=function(t,e,n){var i=t?this[t]:this,o=new Xv(i,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},r.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var o=i.animators,s=Vn(o,t);s>=0&&o.splice(s,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},r.prototype.updateDuringAnimation=function(t){this.markRedraw()},r.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,o=[],s=0;s<i;s++){var l=n[s];!t||t===l.scope?l.stop(e):o.push(l)}return this.animators=o,this},r.prototype.animateTo=function(t,e,n){Vc(this,t,e,n)},r.prototype.animateFrom=function(t,e,n){Vc(this,t,e,n,!0)},r.prototype._transitionState=function(t,e,n,i){for(var o=Vc(this,e,n,i),s=0;s<o.length;s++)o[s].__fromStateTransition=t},r.prototype.getBoundingRect=function(){return null},r.prototype.getPaintRect=function(){return null},r.initDefaultProps=function(){var t=r.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=zl;function e(n,i,o,s){Object.defineProperty(t,n,{get:function(){if(!this[i]){var f=this[i]=[];l(this,f)}return this[i]},set:function(f){this[o]=f[0],this[s]=f[1],this[i]=f,l(this,f)}});function l(f,v){Object.defineProperty(v,0,{get:function(){return f[o]},set:function(C){f[o]=C}}),Object.defineProperty(v,1,{get:function(){return f[s]},set:function(C){f[s]=C}})}}Object.defineProperty&&(e("position","_legacyPos","x","y"),e("scale","_legacyScale","scaleX","scaleY"),e("origin","_legacyOrigin","originX","originY"))}(),r}();Ea(Qd,au),Ea(Qd,hf);function Vc(r,t,e,n,i){e=e||{};var o=[];z2(r,"",r,t,e,n,o,i);var s=o.length,l=!1,f=e.done,v=e.aborted,C=function(){l=!0,s--,s<=0&&(l?f&&f():v&&v())},w=function(){s--,s<=0&&(l?f&&f():v&&v())};s||f&&f(),o.length>0&&e.during&&o[0].during(function(R,L){e.during(L)});for(var x=0;x<o.length;x++){var Q=o[x];Q.done(C),Q.aborted(w),e.force&&Q.duration(e.duration),Q.start(e.easing)}return o}function Il(r,t,e){for(var n=0;n<e;n++)r[n]=t[n]}function q2(r){return bo(r[0])}function ip(r,t,e){if(bo(t[e]))if(bo(r[e])||(r[e]=[]),$u(t[e])){var n=t[e].length;r[e].length!==n&&(r[e]=new t[e].constructor(n),Il(r[e],t[e],n))}else{var i=t[e],o=r[e],s=i.length;if(q2(i))for(var l=i[0].length,f=0;f<s;f++)o[f]?Il(o[f],i[f],l):o[f]=Array.prototype.slice.call(i[f]);else Il(o,i,s);o.length=i.length}else r[e]=t[e]}function bw(r,t){return r===t||bo(r)&&bo(t)&&Cw(r,t)}function Cw(r,t){var e=r.length;if(e!==t.length)return!1;for(var n=0;n<e;n++)if(r[n]!==t[n])return!1;return!0}function z2(r,t,e,n,i,o,s,l){for(var f=fi(n),v=i.duration,C=i.delay,w=i.additive,x=i.setToFinal,Q=!Ln(o),R=r.animators,L=[],P=0;P<f.length;P++){var M=f[P],k=n[M];if(k!=null&&e[M]!=null&&(Q||o[M]))if(Ln(k)&&!bo(k)&&!Q0(k)){if(t){l||(e[M]=k,r.updateDuringAnimation(t));continue}z2(r,M,e[M],k,i,o&&o[M],s,l)}else L.push(M);else l||(e[M]=k,r.updateDuringAnimation(t),L.push(M))}var G=L.length;if(!w&&G)for(var Y=0;Y<R.length;Y++){var re=R[Y];if(re.targetName===t){var ie=re.stopTracks(L);if(ie){var le=Vn(R,re);R.splice(le,1)}}}if(i.force||(L=Ii(L,function(Se){return!bw(n[Se],e[Se])}),G=L.length),G>0||i.force&&!s.length){var pe=void 0,ve=void 0,Ee=void 0;if(l){ve={},x&&(pe={});for(var Y=0;Y<G;Y++){var M=L[Y];ve[M]=e[M],x?pe[M]=n[M]:e[M]=n[M]}}else if(x){Ee={};for(var Y=0;Y<G;Y++){var M=L[Y];Ee[M]=ep(e[M]),ip(e,n,M)}}var re=new Xv(e,!1,!1,w?Ii(R,function(ke){return ke.targetName===t}):null);re.targetName=t,i.scope&&(re.scope=i.scope),x&&pe&&re.whenWithKeys(0,pe,L),Ee&&re.whenWithKeys(0,Ee,L),re.whenWithKeys(v??500,l?ve:n,L).delay(C||0),r.addAnimator(re,t),s.push(re)}}var Nn=function(r){kt(t,r);function t(e){var n=r.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var n=this._children,i=0;i<n.length;i++)if(n[i].name===e)return n[i]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){return e&&(e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e))),this},t.prototype.addBefore=function(e,n){if(e&&e!==this&&e.parent!==this&&n&&n.parent===this){var i=this._children,o=i.indexOf(n);o>=0&&(i.splice(o,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,n){var i=Vn(this._children,e);return i>=0&&this.replaceAt(n,i),this},t.prototype.replaceAt=function(e,n){var i=this._children,o=i[n];if(e&&e!==this&&e.parent!==this&&e!==o){i[n]=e,o.parent=null;var s=this.__zr;s&&o.removeSelfFromZr(s),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var n=this.__zr;n&&n!==e.__zr&&e.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(e){var n=this.__zr,i=this._children,o=Vn(i,e);return o<0?this:(i.splice(o,1),e.parent=null,n&&e.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var e=this._children,n=this.__zr,i=0;i<e.length;i++){var o=e[i];n&&o.removeSelfFromZr(n),o.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,n){for(var i=this._children,o=0;o<i.length;o++){var s=i[o];e.call(n,s,o)}return this},t.prototype.traverse=function(e,n){for(var i=0;i<this._children.length;i++){var o=this._children[i],s=e.call(n,o);o.isGroup&&!s&&o.traverse(e,n)}return this},t.prototype.addSelfToZr=function(e){r.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(e)}},t.prototype.removeSelfFromZr=function(e){r.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(e)}},t.prototype.getBoundingRect=function(e){for(var n=new gi(0,0,0,0),i=e||this._children,o=[],s=null,l=0;l<i.length;l++){var f=i[l];if(!(f.ignore||f.invisible)){var v=f.getBoundingRect(),C=f.getLocalTransform(o);C?(gi.applyTransform(n,v,C),s=s||n.clone(),s.union(n)):(s=s||v.clone(),s.union(v))}}return s||n},t}(Qd);Nn.prototype.type="group";/*!
  246. * ZRender, a high performance 2d drawing library.
  247. *
  248. * Copyright (c) 2013, Baidu Inc.
  249. * All rights reserved.
  250. *
  251. * LICENSE
  252. * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
  253. */var ap={},op={};function y5(r){delete op[r]}function K2(r){if(!r)return!1;if(typeof r=="string")return lf(r,1)<ay;if(r.colorStops){for(var t=r.colorStops,e=0,n=t.length,i=0;i<n;i++)e+=lf(t[i].color,1);return e/=n,e<ay}return!1}var Z0=function(){function r(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new Id,s=n.renderer||"canvas";ap[s]||(s=fi(ap)[0]),n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var l=new ap[s](e,o,n,t),f=n.ssr||l.ssrOnly;this.storage=o,this.painter=l;var v=!Yn.node&&!Yn.worker&&!f?new p5(l.getViewportRoot(),l.root):null,C=n.useCoarsePointer,w=C==null||C==="auto"?Yn.touchEventsSupported:!!C,x=44,Q;w&&(Q=$n(n.pointerSize,x)),this.handler=new Fv(o,l,v,l.root,Q),this.animation=new d5({stage:{update:f?null:function(){return i._flush(!0)}}}),f||this.animation.start()}return r.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},r.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},r.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},r.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=K2(t))},r.prototype.getBackgroundColor=function(){return this._backgroundColor},r.prototype.setDarkMode=function(t){this._darkMode=t},r.prototype.isDarkMode=function(){return this._darkMode},r.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},r.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},r.prototype.flush=function(){this._disposed||this._flush(!1)},r.prototype._flush=function(t){var e,n=fA();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=fA();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},r.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},r.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},r.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},r.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},r.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof Nn&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},r.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,y5(this.id))},r}();function bl(r,t){var e=new Z0(zi(),r,t);return op[e.id]=e,e}function V2(r,t){ap[r]=t}var fy;function ww(r){if(typeof fy=="function")return fy(r)}function Z2(r){fy=r}var X0=1e-4,sp=20;function Ew(r){return r.replace(/^\s+|\s+$/g,"")}function ea(r,t,e,n){var i=t[0],o=t[1],s=e[0],l=e[1],f=o-i,v=l-s;if(f===0)return v===0?s:(s+l)/2;if(n)if(f>0){if(r<=i)return s;if(r>=o)return l}else{if(r>=i)return s;if(r<=o)return l}else{if(r===i)return s;if(r===o)return l}return(r-i)/f*v+s}function jr(r,t){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return en(r)?Ew(r).match(/%$/)?parseFloat(r)/100*t:parseFloat(r):r==null?NaN:+r}function Ra(r,t,e){return t==null&&(t=10),t=Math.min(Math.max(0,t),sp),r=(+r).toFixed(t),e?r:+r}function ki(r){return r.sort(function(t,e){return t-e}),r}function uu(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(r*t)/t===r)return e}return AA(r)}function AA(r){var t=r.toString().toLowerCase(),e=t.indexOf("e"),n=e>0?+t.slice(e+1):0,i=e>0?e:t.length,o=t.indexOf("."),s=o<0?0:i-1-o;return Math.max(0,s-n)}function Ay(r,t){var e=Math.log,n=Math.LN10,i=Math.floor(e(r[1]-r[0])/n),o=Math.round(e(Math.abs(t[1]-t[0]))/n),s=Math.min(Math.max(-i+o,0),20);return isFinite(s)?s:20}function Zc(r,t){var e=xa(r,function(Q,R){return Q+(isNaN(R)?0:R)},0);if(e===0)return[];for(var n=Math.pow(10,t),i=pr(r,function(Q){return(isNaN(Q)?0:Q)/e*n*100}),o=n*100,s=pr(i,function(Q){return Math.floor(Q)}),l=xa(s,function(Q,R){return Q+R},0),f=pr(i,function(Q,R){return Q-s[R]});l<o;){for(var v=Number.NEGATIVE_INFINITY,C=null,w=0,x=f.length;w<x;++w)f[w]>v&&(v=f[w],C=w);++s[C],f[C]=0,++l}return pr(s,function(Q){return Q/n})}function dy(r,t){var e=Math.max(uu(r),uu(t)),n=r+t;return e>sp?n:Ra(n,e)}var Af=9007199254740991;function gy(r){var t=Math.PI*2;return(r%t+t)%t}function Jo(r){return r>-1e-4&&r<X0}var sc=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Bc(r){if(r instanceof Date)return r;if(en(r)){var t=sc.exec(r);if(!t)return new Date(NaN);if(t[8]){var e=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(e-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,e,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(r==null)return new Date(NaN);return new Date(Math.round(r))}function up(r){return Math.pow(10,Xc(r))}function Xc(r){if(r===0)return 0;var t=Math.floor(Math.log(r)/Math.LN10);return r/Math.pow(10,t)>=10&&t++,t}function $0(r,t){var e=Xc(r),n=Math.pow(10,e),i=r/n,o;return i<1.5?o=1:i<2.5?o=2:i<4?o=3:i<7?o=5:o=10,r=o*n,e>=-20?+r.toFixed(e<0?-e:0):r}function cp(r,t){var e=(r.length-1)*t+1,n=Math.floor(e),i=+r[n-1],o=e-n;return o?i+o*(r[n]-i):i}function X2(r){r.sort(function(f,v){return l(f,v,0)?-1:1});for(var t=-1/0,e=1,n=0;n<r.length;){for(var i=r[n].interval,o=r[n].close,s=0;s<2;s++)i[s]<=t&&(i[s]=t,o[s]=s?1:1-e),t=i[s],e=o[s];i[0]===i[1]&&o[0]*o[1]!==1?r.splice(n,1):n++}return r;function l(f,v,C){return f.interval[C]<v.interval[C]||f.interval[C]===v.interval[C]&&(f.close[C]-v.close[C]===(C?-1:1)||!C&&l(f,v,1))}}function kc(r){var t=parseFloat(r);return t==r&&(t!==0||!en(r)||r.indexOf("x")<=0)?t:NaN}function e1(r){return!isNaN(kc(r))}function $2(){return Math.round(Math.random()*9)}function py(r,t){return t===0?r:py(t,r%t)}function xi(r,t){return r==null?t:t==null?r:r*t/py(r,t)}function Ba(r){throw new Error(r)}function Bw(r,t,e){return(t-r)*e+r}var t1="series\0",dA="\0_ec_\0";function ja(r){return r instanceof Array?r:r==null?[]:[r]}function xd(r,t,e){if(r){r[t]=r[t]||{},r.emphasis=r.emphasis||{},r.emphasis[t]=r.emphasis[t]||{};for(var n=0,i=e.length;n<i;n++){var o=e[n];!r.emphasis[t].hasOwnProperty(o)&&r[t].hasOwnProperty(o)&&(r.emphasis[t][o]=r[t][o])}}}var kw=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Sd(r){return Ln(r)&&!yr(r)&&!(r instanceof Date)?r.value:r}function vy(r){return Ln(r)&&!(r instanceof Array)}function gA(r,t,e){var n=e==="normalMerge",i=e==="replaceMerge",o=e==="replaceAll";r=r||[],t=(t||[]).slice();var s=mn();Ne(t,function(f,v){if(!Ln(f)){t[v]=null;return}});var l=df(r,s,e);return(n||i)&&eI(l,r,s,t),n&&xh(l,t),n||i?yy(l,t,i):o&&tI(l,t),_d(l),l}function df(r,t,e){var n=[];if(e==="replaceAll")return n;for(var i=0;i<r.length;i++){var o=r[i];o&&o.id!=null&&t.set(o.id,i),n.push({existing:e==="replaceMerge"||Dd(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return n}function eI(r,t,e,n){Ne(n,function(i,o){if(!(!i||i.id==null)){var s=lp(i.id),l=e.get(s);if(l!=null){var f=r[l];tc(!f.newOption,'Duplicated option on id "'+s+'".'),f.newOption=i,f.existing=t[l],n[o]=null}}})}function xh(r,t){Ne(t,function(e,n){if(!(!e||e.name==null))for(var i=0;i<r.length;i++){var o=r[i].existing;if(!r[i].newOption&&o&&(o.id==null||e.id==null)&&!Dd(e)&&!Dd(o)&&my("name",o,e)){r[i].newOption=e,t[n]=null;return}}})}function yy(r,t,e){Ne(t,function(n){if(n){for(var i,o=0;(i=r[o])&&(i.newOption||Dd(i.existing)||i.existing&&n.id!=null&&!my("id",n,i.existing));)o++;i?(i.newOption=n,i.brandNew=e):r.push({newOption:n,brandNew:e,existing:null,keyInfo:null}),o++}})}function tI(r,t){Ne(t,function(e){r.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}function _d(r){var t=mn();Ne(r,function(e){var n=e.existing;n&&t.set(n.id,e)}),Ne(r,function(e){var n=e.newOption;tc(!n||n.id==null||!t.get(n.id)||t.get(n.id)===e,"id duplicates: "+(n&&n.id)),n&&n.id!=null&&t.set(n.id,e),!e.keyInfo&&(e.keyInfo={})}),Ne(r,function(e,n){var i=e.existing,o=e.newOption,s=e.keyInfo;if(Ln(o)){if(s.name=o.name!=null?lp(o.name):i?i.name:t1+n,i)s.id=lp(i.id);else if(o.id!=null)s.id=lp(o.id);else{var l=0;do s.id="\0"+s.name+"\0"+l++;while(t.get(s.id))}t.set(s.id,e)}})}function my(r,t,e){var n=es(t[r],null),i=es(e[r],null);return n!=null&&i!=null&&n===i}function lp(r){return es(r,"")}function es(r,t){return r==null?t:en(r)?r:$i(r)||k0(r)?r+"":t}function cu(r){var t=r.name;return!!(t&&t.indexOf(t1))}function Dd(r){return r&&r.id!=null&&lp(r.id).indexOf(dA)===0}function rI(r){return dA+r}function Cl(r,t,e){Ne(r,function(n){var i=n.newOption;Ln(i)&&(n.keyInfo.mainType=t,n.keyInfo.subType=Qw(t,i,n.existing,e))})}function Qw(r,t,e,n){var i=t.type?t.type:e?e.subType:n.determineSubType(r,t);return i}function Sh(r,t){var e={},n={};return i(r||[],e),i(t||[],n,e),[o(e),o(n)];function i(s,l,f){for(var v=0,C=s.length;v<C;v++){var w=es(s[v].seriesId,null);if(w==null)return;for(var x=ja(s[v].dataIndex),Q=f&&f[w],R=0,L=x.length;R<L;R++){var P=x[R];Q&&Q[P]?Q[P]=null:(l[w]||(l[w]={}))[P]=1}}}function o(s,l){var f=[];for(var v in s)if(s.hasOwnProperty(v)&&s[v]!=null)if(l)f.push(+v);else{var C=o(s[v],!0);C.length&&f.push({seriesId:v,dataIndex:C})}return f}}function uc(r,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return yr(t.dataIndex)?pr(t.dataIndex,function(e){return r.indexOfRawIndex(e)}):r.indexOfRawIndex(t.dataIndex);if(t.name!=null)return yr(t.name)?pr(t.name,function(e){return r.indexOfName(e)}):r.indexOfName(t.name)}function Vi(){var r="__ec_inner_"+wl++;return function(t){return t[r]||(t[r]={})}}var wl=$2();function gf(r,t,e){var n=Iy(t,e),i=n.mainTypeSpecified,o=n.queryOptionMap,s=n.others,l=s,f=e?e.defaultMainType:null;return!i&&f&&o.set(f,{}),o.each(function(v,C){var w=$c(r,C,v,{useDefault:f===C,enableAll:e&&e.enableAll!=null?e.enableAll:!0,enableNone:e&&e.enableNone!=null?e.enableNone:!0});l[C+"Models"]=w.models,l[C+"Model"]=w.models[0]}),l}function Iy(r,t){var e;if(en(r)){var n={};n[r+"Index"]=0,e=n}else e=r;var i=mn(),o={},s=!1;return Ne(e,function(l,f){if(f==="dataIndex"||f==="dataIndexInside"){o[f]=l;return}var v=f.match(/^(\w+)(Index|Id|Name)$/)||[],C=v[1],w=(v[2]||"").toLowerCase();if(!(!C||!w||t&&t.includeMainTypes&&Vn(t.includeMainTypes,C)<0)){s=s||!!C;var x=i.get(C)||i.set(C,{});x[w]=l}}),{mainTypeSpecified:s,queryOptionMap:i,others:o}}var fs={useDefault:!0,enableAll:!1,enableNone:!1},El={useDefault:!1,enableAll:!0,enableNone:!0};function $c(r,t,e,n){n=n||fs;var i=e.index,o=e.id,s=e.name,l={models:null,specified:i!=null||o!=null||s!=null};if(!l.specified){var f=void 0;return l.models=n.useDefault&&(f=r.getComponent(t))?[f]:[],l}return i==="none"||i===!1?(tc(n.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[],l):(i==="all"&&(tc(n.enableAll,'`"all"` is not a valid value on index option.'),i=o=s=null),l.models=r.queryComponents({mainType:t,index:i,id:o,name:s}),l)}function r1(r,t,e){r.setAttribute?r.setAttribute(t,e):r[t]=e}function hp(r,t){return r.getAttribute?r.getAttribute(t):r[t]}function xw(r){return r==="auto"?Yn.domSupported?"html":"richText":r||"html"}function n1(r,t){var e=mn(),n=[];return Ne(r,function(i){var o=t(i);(e.get(o)||(n.push(o),e.set(o,[]))).push(i)}),{keys:n,buckets:e}}function Sw(r,t,e,n,i){var o=t==null||t==="auto";if(n==null)return n;if($i(n)){var s=Bw(e||0,n,i);return Ra(s,o?Math.max(uu(e||0),uu(n)):t)}else{if(en(n))return i<1?e:n;for(var l=[],f=e,v=n,C=Math.max(f?f.length:0,v.length),w=0;w<C;++w){var x=r.getDimensionInfo(w);if(x&&x.type==="ordinal")l[w]=(i<1&&f?f:v)[w];else{var Q=f&&f[w]?f[w]:0,R=v[w],s=Bw(Q,R,i);l[w]=Ra(s,o?Math.max(uu(Q),uu(R)):t)}}return l}}var ai=".",Rd="___EC__COMPONENT__CONTAINER___",fp="___EC__EXTENDED_CLASS___";function to(r){var t={main:"",sub:""};if(r){var e=r.split(ai);t.main=e[0]||"",t.sub=e[1]||""}return t}function _w(r){tc(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function by(r){return!!(r&&r[fp])}function Ap(r,t){r.$constructor=r,r.extend=function(e){var n=this,i;return i1(n)?i=function(o){kt(s,o);function s(){return o.apply(this,arguments)||this}return s}(n):(i=function(){(e.$constructor||n).apply(this,arguments)},Es(i,this)),ar(i.prototype,e),i[fp]=!0,i.extend=this.extend,i.superCall=Dw,i.superApply=Cy,i.superClass=n,i}}function i1(r){return bn(r)&&/^class\s/.test(Function.prototype.toString.call(r))}function Ys(r,t){r.extend=t.extend}var nI=Math.round(Math.random()*10);function m5(r){var t=["__\0is_clz",nI++].join("_");r.prototype[t]=!0,r.isInstance=function(e){return!!(e&&e[t])}}function Dw(r,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return this.superClass.prototype[t].apply(r,e)}function Cy(r,t,e){return this.superClass.prototype[t].apply(r,e)}function wy(r){var t={};r.registerClass=function(n){var i=n.type||n.prototype.type;if(i){_w(i),n.prototype.type=i;var o=to(i);if(!o.sub)t[o.main]=n;else if(o.sub!==Rd){var s=e(o);s[o.sub]=n}}return n},r.getClass=function(n,i,o){var s=t[n];if(s&&s[Rd]&&(s=i?s[i]:null),o&&!s)throw new Error(i?"Component "+n+"."+(i||"")+" is used but not imported.":n+".type should be specified.");return s},r.getClassesByMainType=function(n){var i=to(n),o=[],s=t[i.main];return s&&s[Rd]?Ne(s,function(l,f){f!==Rd&&o.push(l)}):o.push(s),o},r.hasClass=function(n){var i=to(n);return!!t[i.main]},r.getAllClassMainTypes=function(){var n=[];return Ne(t,function(i,o){n.push(o)}),n},r.hasSubTypes=function(n){var i=to(n),o=t[i.main];return o&&o[Rd]};function e(n){var i=t[n.main];return(!i||!i[Rd])&&(i=t[n.main]={},i[Rd]=!0),i}}function pA(r,t){for(var e=0;e<r.length;e++)r[e][1]||(r[e][1]=r[e][0]);return t=t||!1,function(n,i,o){for(var s={},l=0;l<r.length;l++){var f=r[l][1];if(!(i&&Vn(i,f)>=0||o&&Vn(o,f)<0)){var v=n.getShallow(f,t);v!=null&&(s[r[l][0]]=v)}}return s}}var Rw=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],I5=pA(Rw),Po=function(){function r(){}return r.prototype.getAreaStyle=function(t,e){return I5(this,t,e)},r}(),pf=new zg(50);function Ro(r){if(typeof r=="string"){var t=pf.get(r);return t&&t.image}else return r}function Go(r,t,e,n,i){if(r)if(typeof r=="string"){if(t&&t.__zrImageSrc===r||!e)return t;var o=pf.get(r),s={hostEl:e,cb:n,cbPayload:i};return o?(t=o.image,!Ey(t)&&o.pending.push(s)):(t=oo.loadImage(r,_h,_h),t.__zrImageSrc=r,pf.put(r,t.__cachedImgObj={image:t,pending:[s]})),t}else return r;else return t}function _h(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<r.pending.length;t++){var e=r.pending[t],n=e.cb;n&&n(this,e.cbPayload),e.hostEl.dirty()}r.pending.length=0}function Ey(r){return r&&r.width&&r.height}var Md=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function b5(r,t,e,n,i,o){if(!e){r.text="",r.isTruncated=!1;return}var s=(t+"").split(`
  254. `);o=iI(e,n,i,o);for(var l=!1,f={},v=0,C=s.length;v<C;v++)aI(f,s[v],o),s[v]=f.textLine,l=l||f.isTruncated;r.text=s.join(`
  255. `),r.isTruncated=l}function iI(r,t,e,n){n=n||{};var i=ar({},n);i.font=t,e=$n(e,"..."),i.maxIterations=$n(n.maxIterations,2);var o=i.minChar=$n(n.minChar,0);i.cnCharWidth=zc("国",t);var s=i.ascCharWidth=zc("a",t);i.placeholder=$n(n.placeholder,"");for(var l=r=Math.max(0,r-1),f=0;f<o&&l>=s;f++)l-=s;var v=zc(e,t);return v>l&&(e="",v=0),l=r-v,i.ellipsis=e,i.ellipsisWidth=v,i.contentWidth=l,i.containerWidth=r,i}function aI(r,t,e){var n=e.containerWidth,i=e.font,o=e.contentWidth;if(!n){r.textLine="",r.isTruncated=!1;return}var s=zc(t,i);if(s<=n){r.textLine=t,r.isTruncated=!1;return}for(var l=0;;l++){if(s<=o||l>=e.maxIterations){t+=e.ellipsis;break}var f=l===0?Bl(t,o,e.ascCharWidth,e.cnCharWidth):s>0?Math.floor(t.length*o/s):0;t=t.substr(0,f),s=zc(t,i)}t===""&&(t=e.placeholder),r.textLine=t,r.isTruncated=!0}function Bl(r,t,e,n){for(var i=0,o=0,s=r.length;o<s&&i<t;o++){var l=r.charCodeAt(o);i+=0<=l&&l<=127?e:n}return o}function oI(r,t){r!=null&&(r+="");var e=t.overflow,n=t.padding,i=t.font,o=e==="truncate",s=Bd(i),l=$n(t.lineHeight,s),f=!!t.backgroundColor,v=t.lineOverflow==="truncate",C=!1,w=t.width,x;w!=null&&(e==="break"||e==="breakAll")?x=r?ts(r,t.font,w,e==="breakAll",0).lines:[]:x=r?r.split(`
  256. `):[];var Q=x.length*l,R=$n(t.height,Q);if(Q>R&&v){var L=Math.floor(R/l);C=C||x.length>L,x=x.slice(0,L)}if(r&&o&&w!=null)for(var P=iI(w,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),M={},k=0;k<x.length;k++)aI(M,x[k],P),x[k]=M.textLine,C=C||M.isTruncated;for(var G=R,Y=0,k=0;k<x.length;k++)Y=Math.max(zc(x[k],i),Y);w==null&&(w=Y);var re=Y;return n&&(G+=n[0]+n[2],re+=n[1]+n[3],w+=n[1]+n[3]),f&&(re=w),{lines:x,height:R,outerWidth:re,outerHeight:G,lineHeight:l,calculatedLineHeight:s,contentWidth:Y,contentHeight:Q,width:w,isTruncated:C}}var Qs=function(){function r(){}return r}(),Qc=function(){function r(t){this.tokens=[],t&&(this.tokens=t)}return r}(),C5=function(){function r(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return r}();function Mw(r,t){var e=new C5;if(r!=null&&(r+=""),!r)return e;for(var n=t.width,i=t.height,o=t.overflow,s=(o==="break"||o==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:o==="breakAll"}:null,l=Md.lastIndex=0,f;(f=Md.exec(r))!=null;){var v=f.index;v>l&&Zi(e,r.substring(l,v),t,s),Zi(e,f[2],t,s,f[1]),l=Md.lastIndex}l<r.length&&Zi(e,r.substring(l,r.length),t,s);var C=[],w=0,x=0,Q=t.padding,R=o==="truncate",L=t.lineOverflow==="truncate",P={};function M(Gt,Ct,St){Gt.width=Ct,Gt.lineHeight=St,w+=St,x=Math.max(x,Ct)}e:for(var k=0;k<e.lines.length;k++){for(var G=e.lines[k],Y=0,re=0,ie=0;ie<G.tokens.length;ie++){var le=G.tokens[ie],pe=le.styleName&&t.rich[le.styleName]||{},ve=le.textPadding=pe.padding,Ee=ve?ve[1]+ve[3]:0,Se=le.font=pe.font||t.font;le.contentHeight=Bd(Se);var ke=$n(pe.height,le.contentHeight);if(le.innerHeight=ke,ve&&(ke+=ve[0]+ve[2]),le.height=ke,le.lineHeight=ec(pe.lineHeight,t.lineHeight,ke),le.align=pe&&pe.align||t.align,le.verticalAlign=pe&&pe.verticalAlign||"middle",L&&i!=null&&w+le.lineHeight>i){var Le=e.lines.length;ie>0?(G.tokens=G.tokens.slice(0,ie),M(G,re,Y),e.lines=e.lines.slice(0,k+1)):e.lines=e.lines.slice(0,k),e.isTruncated=e.isTruncated||e.lines.length<Le;break e}var be=pe.width,ze=be==null||be==="auto";if(typeof be=="string"&&be.charAt(be.length-1)==="%")le.percentWidth=be,C.push(le),le.contentWidth=zc(le.text,Se);else{if(ze){var ut=pe.backgroundColor,ft=ut&&ut.image;ft&&(ft=Ro(ft),Ey(ft)&&(le.width=Math.max(le.width,ft.width*ke/ft.height)))}var Qt=R&&n!=null?n-re:null;Qt!=null&&Qt<le.width?!ze||Qt<Ee?(le.text="",le.width=le.contentWidth=0):(b5(P,le.text,Qt-Ee,Se,t.ellipsis,{minChar:t.truncateMinChar}),le.text=P.text,e.isTruncated=e.isTruncated||P.isTruncated,le.width=le.contentWidth=zc(le.text,Se)):le.contentWidth=zc(le.text,Se)}le.width+=Ee,re+=le.width,pe&&(Y=Math.max(Y,le.lineHeight))}M(G,re,Y)}e.outerWidth=e.width=$n(n,x),e.outerHeight=e.height=$n(i,w),e.contentHeight=w,e.contentWidth=x,Q&&(e.outerWidth+=Q[1]+Q[3],e.outerHeight+=Q[0]+Q[2]);for(var k=0;k<C.length;k++){var le=C[k],vt=le.percentWidth;le.width=parseInt(vt,10)/100*e.width}return e}function Zi(r,t,e,n,i){var o=t==="",s=i&&e.rich[i]||{},l=r.lines,f=s.font||e.font,v=!1,C,w;if(n){var x=s.padding,Q=x?x[1]+x[3]:0;if(s.width!=null&&s.width!=="auto"){var R=Do(s.width,n.width)+Q;l.length>0&&R+n.accumWidth>n.width&&(C=t.split(`
  257. `),v=!0),n.accumWidth=R}else{var L=ts(t,f,n.width,n.breakAll,n.accumWidth);n.accumWidth=L.accumWidth+Q,w=L.linesWidths,C=L.lines}}else C=t.split(`
  258. `);for(var P=0;P<C.length;P++){var M=C[P],k=new Qs;if(k.styleName=i,k.text=M,k.isLineHolder=!M&&!o,typeof s.width=="number"?k.width=s.width:k.width=w?w[P]:zc(M,f),!P&&!v){var G=(l[l.length-1]||(l[0]=new Qc)).tokens,Y=G.length;Y===1&&G[0].isLineHolder?G[0]=k:(M||!Y||o)&&G.push(k)}else l.push(new Qc([k]))}}function sI(r){var t=r.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var Fw=xa(",&?/;] ".split(""),function(r,t){return r[t]=!0,r},{});function a1(r){return sI(r)?!!Fw[r]:!0}function ts(r,t,e,n,i){for(var o=[],s=[],l="",f="",v=0,C=0,w=0;w<r.length;w++){var x=r.charAt(w);if(x===`
  259. `){f&&(l+=f,C+=v),o.push(l),s.push(C),l="",f="",v=0,C=0;continue}var Q=zc(x,t),R=n?!1:!a1(x);if(o.length?C+Q>e:i+C+Q>e){C?(l||f)&&(R?(l||(l=f,f="",v=0,C=v),o.push(l),s.push(C-v),f+=x,v+=Q,l="",C=v):(f&&(l+=f,f="",v=0),o.push(l),s.push(C),l=x,C=Q)):R?(o.push(f),s.push(v),f=x,v=Q):(o.push(x),s.push(Q));continue}C+=Q,R?(f+=x,v+=Q):(f&&(l+=f,f="",v=0),l+=x)}return!o.length&&!l&&(l=r,f="",v=0),f&&(l+=f),l&&(o.push(l),s.push(C)),o.length===1&&(C+=i),{accumWidth:C,lines:o,linesWidths:s}}var uI="__zr_style_"+Math.round(Math.random()*10),vA={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Js={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};vA[uI]=!0;var Tw=["z","z2","invisible"],Lw=["invisible"],ii=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype._init=function(e){for(var n=fi(e),i=0;i<n.length;i++){var o=n[i];o==="style"?this.useStyle(e[o]):r.prototype.attrKV.call(this,o,e[o])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,n,i,o){var s=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&cI(this,e,n)||s&&!s[0]&&!s[3])return!1;if(i&&this.__clipPaths){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(o&&this.parent)for(var f=this.parent;f;){if(f.ignore)return!1;f=f.parent}return!0},t.prototype.contain=function(e,n){return this.rectContain(e,n)},t.prototype.traverse=function(e,n){e.call(n,this)},t.prototype.rectContain=function(e,n){var i=this.transformCoordToLocal(e,n),o=this.getBoundingRect();return o.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,i=this.getBoundingRect(),o=this.style,s=o.shadowBlur||0,l=o.shadowOffsetX||0,f=o.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new gi(0,0,0,0)),n?gi.applyTransform(e,i,n):e.copy(i),(s||l||f)&&(e.width+=s*2+Math.abs(l),e.height+=s*2+Math.abs(f),e.x=Math.min(e.x,e.x+l-s),e.y=Math.min(e.y,e.y+f-s));var v=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-v),e.y=Math.floor(e.y-v),e.width=Math.ceil(e.width+1+v*2),e.height=Math.ceil(e.height+1+v*2))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new gi(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(e,n){e!=="style"?r.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(e,n){return typeof e=="string"?this.style[e]=n:ar(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=md,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&md)},t.prototype.styleUpdated=function(){this.__dirty&=-3},t.prototype.createStyle=function(e){return Lg(vA,e)},t.prototype.useStyle=function(e){e[uI]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[uI]},t.prototype._innerSaveToNormal=function(e){r.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,Tw)},t.prototype._applyStateObj=function(e,n,i,o,s,l){r.prototype._applyStateObj.call(this,e,n,i,o,s,l);var f=!(n&&o),v;if(n&&n.style?s?o?v=n.style:(v=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(v,n.style)):(v=this._mergeStyle(this.createStyle(),o?this.style:i.style),this._mergeStyle(v,n.style)):f&&(v=i.style),v)if(s){var C=this.style;if(this.style=this.createStyle(f?{}:C),f)for(var w=fi(C),x=0;x<w.length;x++){var Q=w[x];Q in v&&(v[Q]=v[Q],this.style[Q]=C[Q])}for(var R=fi(v),x=0;x<R.length;x++){var Q=R[x];this.style[Q]=this.style[Q]}this._transitionState(e,{style:v},l,this.getAnimationStyleProps())}else this.useStyle(v);for(var L=this.__inHover?Lw:Tw,x=0;x<L.length;x++){var Q=L[x];n&&n[Q]!=null?this[Q]=n[Q]:f&&i[Q]!=null&&(this[Q]=i[Q])}},t.prototype._mergeStates=function(e){for(var n=r.prototype._mergeStates.call(this,e),i,o=0;o<e.length;o++){var s=e[o];s.style&&(i=i||{},this._mergeStyle(i,s.style))}return i&&(n.style=i),n},t.prototype._mergeStyle=function(e,n){return ar(e,n),e},t.prototype.getAnimationStyleProps=function(){return Js},t.initDefaultProps=function(){var e=t.prototype;e.type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=zl|md}(),t}(Qd),cc=new gi(0,0,0,0),By=new gi(0,0,0,0);function cI(r,t,e){return cc.copy(r.getBoundingRect()),r.transform&&cc.applyTransform(r.transform),By.width=t,By.height=e,!cc.intersect(By)}var ji=Math.min,Ou=Math.max,lI=Math.sin,Xa=Math.cos,yA=Math.PI*2,o1=vd(),dp=vd(),s1=vd();function po(r,t,e){if(r.length!==0){for(var n=r[0],i=n[0],o=n[0],s=n[1],l=n[1],f=1;f<r.length;f++)n=r[f],i=ji(i,n[0]),o=Ou(o,n[0]),s=ji(s,n[1]),l=Ou(l,n[1]);t[0]=i,t[1]=s,e[0]=o,e[1]=l}}function ky(r,t,e,n,i,o){i[0]=ji(r,e),i[1]=ji(t,n),o[0]=Ou(r,e),o[1]=Ou(t,n)}var Qy=[],xy=[];function Sy(r,t,e,n,i,o,s,l,f,v){var C=aw,w=ks,x=C(r,e,i,s,Qy);f[0]=1/0,f[1]=1/0,v[0]=-1/0,v[1]=-1/0;for(var Q=0;Q<x;Q++){var R=w(r,e,i,s,Qy[Q]);f[0]=ji(R,f[0]),v[0]=Ou(R,v[0])}x=C(t,n,o,l,xy);for(var Q=0;Q<x;Q++){var L=w(t,n,o,l,xy[Q]);f[1]=ji(L,f[1]),v[1]=Ou(L,v[1])}f[0]=ji(r,f[0]),v[0]=Ou(r,v[0]),f[0]=ji(s,f[0]),v[0]=Ou(s,v[0]),f[1]=ji(t,f[1]),v[1]=Ou(t,v[1]),f[1]=ji(l,f[1]),v[1]=Ou(l,v[1])}function vo(r,t,e,n,i,o,s,l){var f=B2,v=su,C=Ou(ji(f(r,e,i),1),0),w=Ou(ji(f(t,n,o),1),0),x=v(r,e,i,C),Q=v(t,n,o,w);s[0]=ji(r,i,x),s[1]=ji(t,o,Q),l[0]=Ou(r,i,x),l[1]=Ou(t,o,Q)}function Dh(r,t,e,n,i,o,s,l,f){var v=rA,C=tf,w=Math.abs(i-o);if(w%yA<1e-4&&w>1e-4){l[0]=r-e,l[1]=t-n,f[0]=r+e,f[1]=t+n;return}if(o1[0]=Xa(i)*e+r,o1[1]=lI(i)*n+t,dp[0]=Xa(o)*e+r,dp[1]=lI(o)*n+t,v(l,o1,dp),C(f,o1,dp),i=i%yA,i<0&&(i=i+yA),o=o%yA,o<0&&(o=o+yA),i>o&&!s?o+=yA:i<o&&s&&(i+=yA),s){var x=o;o=i,i=x}for(var Q=0;Q<o;Q+=Math.PI/2)Q>i&&(s1[0]=Xa(Q)*e+r,s1[1]=lI(Q)*n+t,v(l,s1,l),C(f,s1,f))}var Fa={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Fd=[],Td=[],Rh=[],mA=[],Xl=[],kl=[],xs=Math.min,Ld=Math.max,on=Math.cos,vf=Math.sin,$l=Math.abs,Nd=Math.PI,IA=Nd*2,hI=typeof Float32Array<"u",u1=[];function _y(r){var t=Math.round(r/Nd*1e8)/1e8;return t%2*Nd}function fI(r,t){var e=_y(r[0]);e<0&&(e+=IA);var n=e-r[0],i=r[1];i+=n,!t&&i-e>=IA?i=e+IA:t&&e-i>=IA?i=e-IA:!t&&e>i?i=e+(IA-_y(e-i)):t&&e<i&&(i=e-(IA-_y(i-e))),r[0]=e,r[1]=i}var eh=function(){function r(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return r.prototype.increaseVersion=function(){this._version++},r.prototype.getVersion=function(){return this._version},r.prototype.setScale=function(t,e,n){n=n||0,n>0&&(this._ux=$l(n/ei/t)||0,this._uy=$l(n/ei/e)||0)},r.prototype.setDPR=function(t){this.dpr=t},r.prototype.setContext=function(t){this._ctx=t},r.prototype.getContext=function(){return this._ctx},r.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},r.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},r.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Fa.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},r.prototype.lineTo=function(t,e){var n=$l(t-this._xi),i=$l(e-this._yi),o=n>this._ux||i>this._uy;if(this.addData(Fa.L,t,e),this._ctx&&o&&this._ctx.lineTo(t,e),o)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var s=n*n+i*i;s>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=s)}return this},r.prototype.bezierCurveTo=function(t,e,n,i,o,s){return this._drawPendingPt(),this.addData(Fa.C,t,e,n,i,o,s),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,o,s),this._xi=o,this._yi=s,this},r.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Fa.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},r.prototype.arc=function(t,e,n,i,o,s){this._drawPendingPt(),u1[0]=i,u1[1]=o,fI(u1,s),i=u1[0],o=u1[1];var l=o-i;return this.addData(Fa.A,t,e,n,n,i,l,0,s?0:1),this._ctx&&this._ctx.arc(t,e,n,i,o,s),this._xi=on(o)*n+t,this._yi=vf(o)*n+e,this},r.prototype.arcTo=function(t,e,n,i,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,o),this},r.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Fa.R,t,e,n,i),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(Fa.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},r.prototype.fill=function(t){t&&t.fill(),this.toStatic()},r.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&hI&&(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},r.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,o=0;o<e;o++)n+=t[o].len();hI&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var o=0;o<e;o++)for(var s=t[o].data,l=0;l<s.length;l++)this.data[i++]=s[l];this._len=i},r.prototype.addData=function(t,e,n,i,o,s,l,f,v){if(this._saveData){var C=this.data;this._len+arguments.length>C.length&&(this._expandData(),C=this.data);for(var w=0;w<arguments.length;w++)C[this._len++]=arguments[w]}},r.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},r.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},r.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,hI&&this._len>11&&(this.data=new Float32Array(t)))}},r.prototype.getBoundingRect=function(){Rh[0]=Rh[1]=Xl[0]=Xl[1]=Number.MAX_VALUE,mA[0]=mA[1]=kl[0]=kl[1]=-Number.MAX_VALUE;var t=this.data,e=0,n=0,i=0,o=0,s;for(s=0;s<this._len;){var l=t[s++],f=s===1;switch(f&&(e=t[s],n=t[s+1],i=e,o=n),l){case Fa.M:e=i=t[s++],n=o=t[s++],Xl[0]=i,Xl[1]=o,kl[0]=i,kl[1]=o;break;case Fa.L:ky(e,n,t[s],t[s+1],Xl,kl),e=t[s++],n=t[s++];break;case Fa.C:Sy(e,n,t[s++],t[s++],t[s++],t[s++],t[s],t[s+1],Xl,kl),e=t[s++],n=t[s++];break;case Fa.Q:vo(e,n,t[s++],t[s++],t[s],t[s+1],Xl,kl),e=t[s++],n=t[s++];break;case Fa.A:var v=t[s++],C=t[s++],w=t[s++],x=t[s++],Q=t[s++],R=t[s++]+Q;s+=1;var L=!t[s++];f&&(i=on(Q)*w+v,o=vf(Q)*x+C),Dh(v,C,w,x,Q,R,L,Xl,kl),e=on(R)*w+v,n=vf(R)*x+C;break;case Fa.R:i=e=t[s++],o=n=t[s++];var P=t[s++],M=t[s++];ky(i,o,i+P,o+M,Xl,kl);break;case Fa.Z:e=i,n=o;break}rA(Rh,Rh,Xl),tf(mA,mA,kl)}return s===0&&(Rh[0]=Rh[1]=mA[0]=mA[1]=0),new gi(Rh[0],Rh[1],mA[0]-Rh[0],mA[1]-Rh[1])},r.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,o=0,s=0,l=0,f=0;this._pathSegLen||(this._pathSegLen=[]);for(var v=this._pathSegLen,C=0,w=0,x=0;x<e;){var Q=t[x++],R=x===1;R&&(o=t[x],s=t[x+1],l=o,f=s);var L=-1;switch(Q){case Fa.M:o=l=t[x++],s=f=t[x++];break;case Fa.L:{var P=t[x++],M=t[x++],k=P-o,G=M-s;($l(k)>n||$l(G)>i||x===e-1)&&(L=Math.sqrt(k*k+G*G),o=P,s=M);break}case Fa.C:{var Y=t[x++],re=t[x++],P=t[x++],M=t[x++],ie=t[x++],le=t[x++];L=ow(o,s,Y,re,P,M,ie,le,10),o=ie,s=le;break}case Fa.Q:{var Y=t[x++],re=t[x++],P=t[x++],M=t[x++];L=o5(o,s,Y,re,P,M,10),o=P,s=M;break}case Fa.A:var pe=t[x++],ve=t[x++],Ee=t[x++],Se=t[x++],ke=t[x++],Le=t[x++],be=Le+ke;x+=1,R&&(l=on(ke)*Ee+pe,f=vf(ke)*Se+ve),L=Ld(Ee,Se)*xs(IA,Math.abs(Le)),o=on(be)*Ee+pe,s=vf(be)*Se+ve;break;case Fa.R:{l=o=t[x++],f=s=t[x++];var ze=t[x++],ut=t[x++];L=ze*2+ut*2;break}case Fa.Z:{var k=l-o,G=f-s;L=Math.sqrt(k*k+G*G),o=l,s=f;break}}L>=0&&(v[w++]=L,C+=L)}return this._pathLen=C,C},r.prototype.rebuildPath=function(t,e){var n=this.data,i=this._ux,o=this._uy,s=this._len,l,f,v,C,w,x,Q=e<1,R,L,P=0,M=0,k,G=0,Y,re;if(!(Q&&(this._pathSegLen||this._calculateLength(),R=this._pathSegLen,L=this._pathLen,k=e*L,!k)))e:for(var ie=0;ie<s;){var le=n[ie++],pe=ie===1;switch(pe&&(v=n[ie],C=n[ie+1],l=v,f=C),le!==Fa.L&&G>0&&(t.lineTo(Y,re),G=0),le){case Fa.M:l=v=n[ie++],f=C=n[ie++],t.moveTo(v,C);break;case Fa.L:{w=n[ie++],x=n[ie++];var ve=$l(w-v),Ee=$l(x-C);if(ve>i||Ee>o){if(Q){var Se=R[M++];if(P+Se>k){var ke=(k-P)/Se;t.lineTo(v*(1-ke)+w*ke,C*(1-ke)+x*ke);break e}P+=Se}t.lineTo(w,x),v=w,C=x,G=0}else{var Le=ve*ve+Ee*Ee;Le>G&&(Y=w,re=x,G=Le)}break}case Fa.C:{var be=n[ie++],ze=n[ie++],ut=n[ie++],ft=n[ie++],Qt=n[ie++],vt=n[ie++];if(Q){var Se=R[M++];if(P+Se>k){var ke=(k-P)/Se;sf(v,be,ut,Qt,ke,Fd),sf(C,ze,ft,vt,ke,Td),t.bezierCurveTo(Fd[1],Td[1],Fd[2],Td[2],Fd[3],Td[3]);break e}P+=Se}t.bezierCurveTo(be,ze,ut,ft,Qt,vt),v=Qt,C=vt;break}case Fa.Q:{var be=n[ie++],ze=n[ie++],ut=n[ie++],ft=n[ie++];if(Q){var Se=R[M++];if(P+Se>k){var ke=(k-P)/Se;j0(v,be,ut,ke,Fd),j0(C,ze,ft,ke,Td),t.quadraticCurveTo(Fd[1],Td[1],Fd[2],Td[2]);break e}P+=Se}t.quadraticCurveTo(be,ze,ut,ft),v=ut,C=ft;break}case Fa.A:var Gt=n[ie++],Ct=n[ie++],St=n[ie++],dr=n[ie++],ur=n[ie++],ir=n[ie++],Fn=n[ie++],Ei=!n[ie++],Vr=St>dr?St:dr,qr=$l(St-dr)>.001,Tn=ur+ir,zr=!1;if(Q){var Se=R[M++];P+Se>k&&(Tn=ur+ir*(k-P)/Se,zr=!0),P+=Se}if(qr&&t.ellipse?t.ellipse(Gt,Ct,St,dr,Fn,ur,Tn,Ei):t.arc(Gt,Ct,Vr,ur,Tn,Ei),zr)break e;pe&&(l=on(ur)*St+Gt,f=vf(ur)*dr+Ct),v=on(Tn)*St+Gt,C=vf(Tn)*dr+Ct;break;case Fa.R:l=v=n[ie],f=C=n[ie+1],w=n[ie++],x=n[ie++];var Qn=n[ie++],Yi=n[ie++];if(Q){var Se=R[M++];if(P+Se>k){var Pe=k-P;t.moveTo(w,x),t.lineTo(w+xs(Pe,Qn),x),Pe-=Qn,Pe>0&&t.lineTo(w+Qn,x+xs(Pe,Yi)),Pe-=Yi,Pe>0&&t.lineTo(w+Ld(Qn-Pe,0),x+Yi),Pe-=Qn,Pe>0&&t.lineTo(w,x+Ld(Yi-Pe,0));break e}P+=Se}t.rect(w,x,Qn,Yi);break;case Fa.Z:if(Q){var Se=R[M++];if(P+Se>k){var ke=(k-P)/Se;t.lineTo(v*(1-ke)+l*ke,C*(1-ke)+f*ke);break e}P+=Se}t.closePath(),v=l,C=f}}},r.prototype.clone=function(){var t=new r,e=this.data;return t.data=e.slice?e.slice():Array.prototype.slice.call(e),t._len=this._len,t},r.CMD=Fa,r.initDefaultProps=function(){var t=r.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),r}();function bA(r,t,e,n,i,o,s){if(i===0)return!1;var l=i,f=0,v=r;if(s>t+l&&s>n+l||s<t-l&&s<n-l||o>r+l&&o>e+l||o<r-l&&o<e-l)return!1;if(r!==e)f=(t-n)/(r-e),v=(r*n-e*t)/(r-e);else return Math.abs(o-r)<=l/2;var C=f*o-s+v,w=C*C/(f*f+1);return w<=l/2*l/2}function w5(r,t,e,n,i,o,s,l,f,v,C){if(f===0)return!1;var w=f;if(C>t+w&&C>n+w&&C>o+w&&C>l+w||C<t-w&&C<n-w&&C<o-w&&C<l-w||v>r+w&&v>e+w&&v>i+w&&v>s+w||v<r-w&&v<e-w&&v<i-w&&v<s-w)return!1;var x=qg(r,t,e,n,i,o,s,l,v,C,null);return x<=w/2}function Nw(r,t,e,n,i,o,s,l,f){if(s===0)return!1;var v=s;if(f>t+v&&f>n+v&&f>o+v||f<t-v&&f<n-v&&f<o-v||l>r+v&&l>e+v&&l>i+v||l<r-v&&l<e-v&&l<i-v)return!1;var C=k2(r,t,e,n,i,o,l,f,null);return C<=v/2}var AI=Math.PI*2;function lc(r){return r%=AI,r<0&&(r+=AI),r}var gp=Math.PI*2;function E5(r,t,e,n,i,o,s,l,f){if(s===0)return!1;var v=s;l-=r,f-=t;var C=Math.sqrt(l*l+f*f);if(C-v>e||C+v<e)return!1;if(Math.abs(n-i)%gp<1e-4)return!0;if(o){var w=n;n=lc(i),i=lc(w)}else n=lc(n),i=lc(i);n>i&&(i+=gp);var x=Math.atan2(f,l);return x<0&&(x+=gp),x>=n&&x<=i||x+gp>=n&&x+gp<=i}function hc(r,t,e,n,i,o){if(o>t&&o>n||o<t&&o<n||n===t)return 0;var s=(o-t)/(n-t),l=n<t?1:-1;(s===1||s===0)&&(l=n<t?.5:-.5);var f=s*(e-r)+r;return f===i?1/0:f>i?l:0}var th=eh.CMD,yf=Math.PI*2,Ow=1e-4;function B5(r,t){return Math.abs(r-t)<Ow}var fc=[-1,-1,-1],Ql=[-1,-1];function k5(){var r=Ql[0];Ql[0]=Ql[1],Ql[1]=r}function Pw(r,t,e,n,i,o,s,l,f,v){if(v>t&&v>n&&v>o&&v>l||v<t&&v<n&&v<o&&v<l)return 0;var C=U0(t,n,o,l,v,fc);if(C===0)return 0;for(var w=0,x=-1,Q=void 0,R=void 0,L=0;L<C;L++){var P=fc[L],M=P===0||P===1?.5:1,k=ks(r,e,i,s,P);k<f||(x<0&&(x=aw(t,n,o,l,Ql),Ql[1]<Ql[0]&&x>1&&k5(),Q=ks(t,n,o,l,Ql[0]),x>1&&(R=ks(t,n,o,l,Ql[1]))),x===2?P<Ql[0]?w+=Q<t?M:-M:P<Ql[1]?w+=R<Q?M:-M:w+=l<R?M:-M:P<Ql[0]?w+=Q<t?M:-M:w+=l<Q?M:-M)}return w}function dI(r,t,e,n,i,o,s,l){if(l>t&&l>n&&l>o||l<t&&l<n&&l<o)return 0;var f=uf(t,n,o,l,fc);if(f===0)return 0;var v=B2(t,n,o);if(v>=0&&v<=1){for(var C=0,w=su(t,n,o,v),x=0;x<f;x++){var Q=fc[x]===0||fc[x]===1?.5:1,R=su(r,e,i,fc[x]);R<s||(fc[x]<v?C+=w<t?Q:-Q:C+=o<w?Q:-Q)}return C}else{var Q=fc[0]===0||fc[0]===1?.5:1,R=su(r,e,i,fc[0]);return R<s?0:o<t?Q:-Q}}function Gw(r,t,e,n,i,o,s,l){if(l-=t,l>e||l<-e)return 0;var f=Math.sqrt(e*e-l*l);fc[0]=-f,fc[1]=f;var v=Math.abs(n-i);if(v<1e-4)return 0;if(v>=yf-1e-4){n=0,i=yf;var C=o?1:-1;return s>=fc[0]+r&&s<=fc[1]+r?C:0}if(n>i){var w=n;n=i,i=w}n<0&&(n+=yf,i+=yf);for(var x=0,Q=0;Q<2;Q++){var R=fc[Q];if(R+r>s){var L=Math.atan2(l,R),C=o?1:-1;L<0&&(L=yf+L),(L>=n&&L<=i||L+yf>=n&&L+yf<=i)&&(L>Math.PI/2&&L<Math.PI*1.5&&(C=-C),x+=C)}}return x}function Dy(r,t,e,n,i){for(var o=r.data,s=r.len(),l=0,f=0,v=0,C=0,w=0,x,Q,R=0;R<s;){var L=o[R++],P=R===1;switch(L===th.M&&R>1&&(e||(l+=hc(f,v,C,w,n,i))),P&&(f=o[R],v=o[R+1],C=f,w=v),L){case th.M:C=o[R++],w=o[R++],f=C,v=w;break;case th.L:if(e){if(bA(f,v,o[R],o[R+1],t,n,i))return!0}else l+=hc(f,v,o[R],o[R+1],n,i)||0;f=o[R++],v=o[R++];break;case th.C:if(e){if(w5(f,v,o[R++],o[R++],o[R++],o[R++],o[R],o[R+1],t,n,i))return!0}else l+=Pw(f,v,o[R++],o[R++],o[R++],o[R++],o[R],o[R+1],n,i)||0;f=o[R++],v=o[R++];break;case th.Q:if(e){if(Nw(f,v,o[R++],o[R++],o[R],o[R+1],t,n,i))return!0}else l+=dI(f,v,o[R++],o[R++],o[R],o[R+1],n,i)||0;f=o[R++],v=o[R++];break;case th.A:var M=o[R++],k=o[R++],G=o[R++],Y=o[R++],re=o[R++],ie=o[R++];R+=1;var le=!!(1-o[R++]);x=Math.cos(re)*G+M,Q=Math.sin(re)*Y+k,P?(C=x,w=Q):l+=hc(f,v,x,Q,n,i);var pe=(n-M)*Y/G+M;if(e){if(E5(M,k,Y,re,re+ie,le,t,pe,i))return!0}else l+=Gw(M,k,Y,re,re+ie,le,pe,i);f=Math.cos(re+ie)*G+M,v=Math.sin(re+ie)*Y+k;break;case th.R:C=f=o[R++],w=v=o[R++];var ve=o[R++],Ee=o[R++];if(x=C+ve,Q=w+Ee,e){if(bA(C,w,x,w,t,n,i)||bA(x,w,x,Q,t,n,i)||bA(x,Q,C,Q,t,n,i)||bA(C,Q,C,w,t,n,i))return!0}else l+=hc(x,w,x,Q,n,i),l+=hc(C,Q,C,w,n,i);break;case th.Z:if(e){if(bA(f,v,C,w,t,n,i))return!0}else l+=hc(f,v,C,w,n,i);f=C,v=w;break}}return!e&&!B5(v,w)&&(l+=hc(f,v,C,w,n,i)||0),l!==0}function Uw(r,t,e){return Dy(r,0,!1,t,e)}function jw(r,t,e,n){return Dy(r,t,!0,e,n)}var pp=pn({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},vA),c1={style:pn({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Js.style)},Ry=Zl.concat(["invisible","culling","z","z2","zlevel","parent"]),Si=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.update=function(){var e=this;r.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(f){e.buildPath(f,e.shape)}),i.silent=!0;var o=i.style;for(var s in n)o[s]!==n[s]&&(o[s]=n[s]);o.fill=n.fill?n.decal:null,o.decal=null,o.shadowColor=null,n.strokeFirst&&(o.stroke=null);for(var l=0;l<Ry.length;++l)i[Ry[l]]=this[Ry[l]];i.__dirty|=zl}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(e){var n=fi(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var o=0;o<n.length;o++){var s=n[o],l=e[s];s==="style"?this.style?ar(this.style,l):this.useStyle(l):s==="shape"?ar(this.shape,l):r.prototype.attrKV.call(this,s,l)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var e=this.style.fill;if(e!=="none"){if(en(e)){var n=lf(e,0);return n>.5?oy:n>.2?yw:sy}else if(e)return sy}return oy},t.prototype.getInsideTextStroke=function(e){var n=this.style.fill;if(en(n)){var i=this.__zr,o=!!(i&&i.isDarkMode()),s=lf(e,0)<ay;if(o===s)return n}},t.prototype.buildPath=function(e,n,i){},t.prototype.pathUpdated=function(){this.__dirty&=-5},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new eh(!1)},t.prototype.hasStroke=function(){var e=this.style,n=e.stroke;return!(n==null||n==="none"||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style,n=e.fill;return n!=null&&n!=="none"},t.prototype.getBoundingRect=function(){var e=this._rect,n=this.style,i=!e;if(i){var o=!1;this.path||(o=!0,this.createPathProxy());var s=this.path;(o||this.__dirty&Hg)&&(s.beginPath(),this.buildPath(s,this.shape,!1),this.pathUpdated()),e=s.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var l=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||i){l.copy(e);var f=n.strokeNoScale?this.getLineScale():1,v=n.lineWidth;if(!this.hasFill()){var C=this.strokeContainThreshold;v=Math.max(v,C??4)}f>1e-10&&(l.width+=v/f,l.height+=v/f,l.x-=v/f/2,l.y-=v/f/2)}return l}return e},t.prototype.contain=function(e,n){var i=this.transformCoordToLocal(e,n),o=this.getBoundingRect(),s=this.style;if(e=i[0],n=i[1],o.contain(e,n)){var l=this.path;if(this.hasStroke()){var f=s.lineWidth,v=s.strokeNoScale?this.getLineScale():1;if(v>1e-10&&(this.hasFill()||(f=Math.max(f,this.strokeContainThreshold)),jw(l,f/v,e,n)))return!0}if(this.hasFill())return Uw(l,e,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Hg,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():e==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(e,n){e==="shape"?this.setShape(n):r.prototype.attrKV.call(this,e,n)},t.prototype.setShape=function(e,n){var i=this.shape;return i||(i=this.shape={}),typeof e=="string"?i[e]=n:ar(i,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Hg)},t.prototype.createStyle=function(e){return Lg(pp,e)},t.prototype._innerSaveToNormal=function(e){r.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=ar({},this.shape))},t.prototype._applyStateObj=function(e,n,i,o,s,l){r.prototype._applyStateObj.call(this,e,n,i,o,s,l);var f=!(n&&o),v;if(n&&n.shape?s?o?v=n.shape:(v=ar({},i.shape),ar(v,n.shape)):(v=ar({},o?this.shape:i.shape),ar(v,n.shape)):f&&(v=i.shape),v)if(s){this.shape=ar({},this.shape);for(var C={},w=fi(v),x=0;x<w.length;x++){var Q=w[x];typeof v[Q]=="object"?this.shape[Q]=v[Q]:C[Q]=v[Q]}this._transitionState(e,{shape:C},l)}else this.shape=v,this.dirtyShape()},t.prototype._mergeStates=function(e){for(var n=r.prototype._mergeStates.call(this,e),i,o=0;o<e.length;o++){var s=e[o];s.shape&&(i=i||{},this._mergeStyle(i,s.shape))}return i&&(n.shape=i),n},t.prototype.getAnimationStyleProps=function(){return c1},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var n=function(o){kt(s,o);function s(l){var f=o.call(this,l)||this;return e.init&&e.init.call(f,l),f}return s.prototype.getDefaultStyle=function(){return Bn(e.style)},s.prototype.getDefaultShape=function(){return Bn(e.shape)},s}(t);for(var i in e)typeof e[i]=="function"&&(n.prototype[i]=e[i]);return n},t.initDefaultProps=function(){var e=t.prototype;e.type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=zl|md|Hg}(),t}(ii),gI=pn({strokeFirst:!0,font:hi,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},pp),Od=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var e=this.style,n=e.stroke;return n!=null&&n!=="none"&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style,n=e.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(e){return Lg(gI,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var n=e.text;n!=null?n+="":n="";var i=V0(n,e.font,e.textAlign,e.textBaseline);if(i.x+=e.x||0,i.y+=e.y||0,this.hasStroke()){var o=e.lineWidth;i.x-=o/2,i.y-=o/2,i.width+=o,i.height+=o}this._rect=i}return this._rect},t.initDefaultProps=function(){var e=t.prototype;e.dirtyRectTolerance=10}(),t}(ii);Od.prototype.type="tspan";var Hw=pn({x:0,y:0},vA),Yw={style:pn({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Js.style)};function Jw(r){return!!(r&&typeof r!="string"&&r.width&&r.height)}var Ws=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.createStyle=function(e){return Lg(Hw,e)},t.prototype._getSize=function(e){var n=this.style,i=n[e];if(i!=null)return i;var o=Jw(n.image)?n.image:this.__image;if(!o)return 0;var s=e==="width"?"height":"width",l=n[s];return l==null?o[e]:o[e]/o[s]*l},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return Yw},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new gi(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(ii);Ws.prototype.type="image";function Ww(r,t){var e=t.x,n=t.y,i=t.width,o=t.height,s=t.r,l,f,v,C;i<0&&(e=e+i,i=-i),o<0&&(n=n+o,o=-o),typeof s=="number"?l=f=v=C=s:s instanceof Array?s.length===1?l=f=v=C=s[0]:s.length===2?(l=v=s[0],f=C=s[1]):s.length===3?(l=s[0],f=C=s[1],v=s[2]):(l=s[0],f=s[1],v=s[2],C=s[3]):l=f=v=C=0;var w;l+f>i&&(w=l+f,l*=i/w,f*=i/w),v+C>i&&(w=v+C,v*=i/w,C*=i/w),f+v>o&&(w=f+v,f*=o/w,v*=o/w),l+C>o&&(w=l+C,l*=o/w,C*=o/w),r.moveTo(e+l,n),r.lineTo(e+i-f,n),f!==0&&r.arc(e+i-f,n+f,f,-Math.PI/2,0),r.lineTo(e+i,n+o-v),v!==0&&r.arc(e+i-v,n+o-v,v,0,Math.PI/2),r.lineTo(e+C,n+o),C!==0&&r.arc(e+C,n+o-C,C,Math.PI/2,Math.PI),r.lineTo(e,n+l),l!==0&&r.arc(e+l,n+l,l,Math.PI,Math.PI*1.5)}var Pd=Math.round;function pI(r,t,e){if(t){var n=t.x1,i=t.x2,o=t.y1,s=t.y2;r.x1=n,r.x2=i,r.y1=o,r.y2=s;var l=e&&e.lineWidth;return l&&(Pd(n*2)===Pd(i*2)&&(r.x1=r.x2=mf(n,l,!0)),Pd(o*2)===Pd(s*2)&&(r.y1=r.y2=mf(o,l,!0))),r}}function l1(r,t,e){if(t){var n=t.x,i=t.y,o=t.width,s=t.height;r.x=n,r.y=i,r.width=o,r.height=s;var l=e&&e.lineWidth;return l&&(r.x=mf(n,l,!0),r.y=mf(i,l,!0),r.width=Math.max(mf(n+o,l,!1)-r.x,o===0?0:1),r.height=Math.max(mf(i+s,l,!1)-r.y,s===0?0:1)),r}}function mf(r,t,e){if(!t)return r;var n=Pd(r*2);return(n+Pd(t))%2===0?n/2:(n+(e?1:-1))/2}var vp=function(){function r(){this.x=0,this.y=0,this.width=0,this.height=0}return r}(),If={},ta=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new vp},t.prototype.buildPath=function(e,n){var i,o,s,l;if(this.subPixelOptimize){var f=l1(If,n,this.style);i=f.x,o=f.y,s=f.width,l=f.height,f.r=n.r,n=f}else i=n.x,o=n.y,s=n.width,l=n.height;n.r?Ww(e,n):e.rect(i,o,s,l)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Si);ta.prototype.type="rect";var xc={fill:"#000"},CA=2,Q5={style:pn({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Js.style)},Mn=function(r){kt(t,r);function t(e){var n=r.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=xc,n.attr(e),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){r.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):r.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):r.prototype.getLocalTransform.call(this,e)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),r.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,qs(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(e){r.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},t.prototype.removeSelfFromZr=function(e){r.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new gi(0,0,0,0),n=this._children,i=[],o=null,s=0;s<n.length;s++){var l=n[s],f=l.getBoundingRect(),v=l.getLocalTransform(i);v?(e.copy(f),e.applyTransform(v),o=o||e.clone(),o.union(e)):(o=o||f.clone(),o.union(f))}this._rect=o||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||xc},t.prototype.setTextContent=function(e){},t.prototype._mergeStyle=function(e,n){if(!n)return e;var i=n.rich,o=e.rich||i&&{};return ar(e,n),i&&o?(this._mergeRich(o,i),e.rich=o):o&&(e.rich=o),e},t.prototype._mergeRich=function(e,n){for(var i=fi(n),o=0;o<i.length;o++){var s=i[o];e[s]=e[s]||{},ar(e[s],n[s])}},t.prototype.getAnimationStyleProps=function(){return Q5},t.prototype._getOrCreateChild=function(e){var n=this._children[this._childCursor];return(!n||!(n instanceof e))&&(n=new e),this._children[this._childCursor++]=n,n.__zr=this.__zr,n.parent=this,n},t.prototype._updatePlainTexts=function(){var e=this.style,n=e.font||hi,i=e.padding,o=yp(e),s=oI(o,e),l=mp(e),f=!!e.backgroundColor,v=s.outerHeight,C=s.outerWidth,w=s.contentWidth,x=s.lines,Q=s.lineHeight,R=this._defaultStyle;this.isTruncated=!!s.isTruncated;var L=e.x||0,P=e.y||0,M=e.align||R.align||"left",k=e.verticalAlign||R.verticalAlign||"top",G=L,Y=so(P,s.contentHeight,k);if(l||i){var re=ff(L,C,M),ie=so(P,v,k);l&&this._renderBackground(e,e,re,ie,C,v)}Y+=Q/2,i&&(G=Ur(L,M,i),k==="top"?Y+=i[0]:k==="bottom"&&(Y-=i[2]));for(var le=0,pe=!1,ve=Ac("fill"in e?e.fill:(pe=!0,R.fill)),Ee=Mh("stroke"in e?e.stroke:!f&&(!R.autoStroke||pe)?(le=CA,R.stroke):null),Se=e.textShadowBlur>0,ke=e.width!=null&&(e.overflow==="truncate"||e.overflow==="break"||e.overflow==="breakAll"),Le=s.calculatedLineHeight,be=0;be<x.length;be++){var ze=this._getOrCreateChild(Od),ut=ze.createStyle();ze.useStyle(ut),ut.text=x[be],ut.x=G,ut.y=Y,ut.textAlign=M,ut.textBaseline="middle",ut.opacity=e.opacity,ut.strokeFirst=!0,Se&&(ut.shadowBlur=e.textShadowBlur||0,ut.shadowColor=e.textShadowColor||"transparent",ut.shadowOffsetX=e.textShadowOffsetX||0,ut.shadowOffsetY=e.textShadowOffsetY||0),ut.stroke=Ee,ut.fill=ve,Ee&&(ut.lineWidth=e.lineWidth||le,ut.lineDash=e.lineDash,ut.lineDashOffset=e.lineDashOffset||0),ut.font=n,vI(ut,e),Y+=Q,ke&&ze.setBoundingRect(new gi(ff(ut.x,w,ut.textAlign),so(ut.y,Le,ut.textBaseline),w,Le))}},t.prototype._updateRichTexts=function(){var e=this.style,n=yp(e),i=Mw(n,e),o=i.width,s=i.outerWidth,l=i.outerHeight,f=e.padding,v=e.x||0,C=e.y||0,w=this._defaultStyle,x=e.align||w.align,Q=e.verticalAlign||w.verticalAlign;this.isTruncated=!!i.isTruncated;var R=ff(v,s,x),L=so(C,l,Q),P=R,M=L;f&&(P+=f[3],M+=f[0]);var k=P+o;mp(e)&&this._renderBackground(e,e,R,L,s,l);for(var G=!!e.backgroundColor,Y=0;Y<i.lines.length;Y++){for(var re=i.lines[Y],ie=re.tokens,le=ie.length,pe=re.lineHeight,ve=re.width,Ee=0,Se=P,ke=k,Le=le-1,be=void 0;Ee<le&&(be=ie[Ee],!be.align||be.align==="left");)this._placeToken(be,e,pe,M,Se,"left",G),ve-=be.width,Se+=be.width,Ee++;for(;Le>=0&&(be=ie[Le],be.align==="right");)this._placeToken(be,e,pe,M,ke,"right",G),ve-=be.width,ke-=be.width,Le--;for(Se+=(o-(Se-P)-(k-ke)-ve)/2;Ee<=Le;)be=ie[Ee],this._placeToken(be,e,pe,M,Se+be.width/2,"center",G),Se+=be.width,Ee++;M+=pe}},t.prototype._placeToken=function(e,n,i,o,s,l,f){var v=n.rich[e.styleName]||{};v.text=e.text;var C=e.verticalAlign,w=o+i/2;C==="top"?w=o+e.height/2:C==="bottom"&&(w=o+i-e.height/2);var x=!e.isLineHolder&&mp(v);x&&this._renderBackground(v,n,l==="right"?s-e.width:l==="center"?s-e.width/2:s,w-e.height/2,e.width,e.height);var Q=!!v.backgroundColor,R=e.textPadding;R&&(s=Ur(s,l,R),w-=e.height/2-R[0]-e.innerHeight/2);var L=this._getOrCreateChild(Od),P=L.createStyle();L.useStyle(P);var M=this._defaultStyle,k=!1,G=0,Y=Ac("fill"in v?v.fill:"fill"in n?n.fill:(k=!0,M.fill)),re=Mh("stroke"in v?v.stroke:"stroke"in n?n.stroke:!Q&&!f&&(!M.autoStroke||k)?(G=CA,M.stroke):null),ie=v.textShadowBlur>0||n.textShadowBlur>0;P.text=e.text,P.x=s,P.y=w,ie&&(P.shadowBlur=v.textShadowBlur||n.textShadowBlur||0,P.shadowColor=v.textShadowColor||n.textShadowColor||"transparent",P.shadowOffsetX=v.textShadowOffsetX||n.textShadowOffsetX||0,P.shadowOffsetY=v.textShadowOffsetY||n.textShadowOffsetY||0),P.textAlign=l,P.textBaseline="middle",P.font=e.font||hi,P.opacity=ec(v.opacity,n.opacity,1),vI(P,v),re&&(P.lineWidth=ec(v.lineWidth,n.lineWidth,G),P.lineDash=$n(v.lineDash,n.lineDash),P.lineDashOffset=n.lineDashOffset||0,P.stroke=re),Y&&(P.fill=Y);var le=e.contentWidth,pe=e.contentHeight;L.setBoundingRect(new gi(ff(P.x,le,P.textAlign),so(P.y,pe,P.textBaseline),le,pe))},t.prototype._renderBackground=function(e,n,i,o,s,l){var f=e.backgroundColor,v=e.borderWidth,C=e.borderColor,w=f&&f.image,x=f&&!w,Q=e.borderRadius,R=this,L,P;if(x||e.lineHeight||v&&C){L=this._getOrCreateChild(ta),L.useStyle(L.createStyle()),L.style.fill=null;var M=L.shape;M.x=i,M.y=o,M.width=s,M.height=l,M.r=Q,L.dirtyShape()}if(x){var k=L.style;k.fill=f||null,k.fillOpacity=$n(e.fillOpacity,1)}else if(w){P=this._getOrCreateChild(Ws),P.onload=function(){R.dirtyStyle()};var G=P.style;G.image=f.image,G.x=i,G.y=o,G.width=s,G.height=l}if(v&&C){var k=L.style;k.lineWidth=v,k.stroke=C,k.strokeOpacity=$n(e.strokeOpacity,1),k.lineDash=e.borderDash,k.lineDashOffset=e.borderDashOffset||0,L.strokeContainThreshold=0,L.hasFill()&&L.hasStroke()&&(k.strokeFirst=!0,k.lineWidth*=2)}var Y=(L||P).style;Y.shadowBlur=e.shadowBlur||0,Y.shadowColor=e.shadowColor||"transparent",Y.shadowOffsetX=e.shadowOffsetX||0,Y.shadowOffsetY=e.shadowOffsetY||0,Y.opacity=ec(e.opacity,n.opacity,1)},t.makeFont=function(e){var n="";return lu(e)&&(n=[e.fontStyle,e.fontWeight,zw(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),n&&Wl(n)||e.textFont||e.font},t}(ii),My={left:!0,right:1,center:1},x5={top:1,bottom:1,middle:1},qw=["fontStyle","fontWeight","fontSize","fontFamily"];function zw(r){return typeof r=="string"&&(r.indexOf("px")!==-1||r.indexOf("rem")!==-1||r.indexOf("em")!==-1)?r:isNaN(+r)?ca+"px":r+"px"}function vI(r,t){for(var e=0;e<qw.length;e++){var n=qw[e],i=t[n];i!=null&&(r[n]=i)}}function lu(r){return r.fontSize!=null||r.fontFamily||r.fontWeight}function qs(r){return Ir(r),Ne(r.rich,Ir),r}function Ir(r){if(r){r.font=Mn.makeFont(r);var t=r.align;t==="middle"&&(t="center"),r.align=t==null||My[t]?t:"left";var e=r.verticalAlign;e==="center"&&(e="middle"),r.verticalAlign=e==null||x5[e]?e:"top";var n=r.padding;n&&(r.padding=yl(r.padding))}}function Mh(r,t){return r==null||t<=0||r==="transparent"||r==="none"?null:r.image||r.colorStops?"#000":r}function Ac(r){return r==null||r==="none"?null:r.image||r.colorStops?"#000":r}function Ur(r,t,e){return t==="right"?r-e[1]:t==="center"?r+e[3]/2-e[1]/2:r+e[3]}function yp(r){var t=r.text;return t!=null&&(t+=""),t}function mp(r){return!!(r.backgroundColor||r.lineHeight||r.borderWidth&&r.borderColor)}var Un=Vi(),h1=function(r,t,e,n){if(n){var i=Un(n);i.dataIndex=e,i.dataType=t,i.seriesIndex=r,i.ssrType="chart",n.type==="group"&&n.traverse(function(o){var s=Un(o);s.seriesIndex=r,s.dataIndex=e,s.dataType=t,s.ssrType="chart"})}},f1=1,Ss={},yI=Vi(),rs=Vi(),As=0,Mi=1,dc=2,bi=["emphasis","blur","select"],Ta=["normal","emphasis","blur","select"],Ip=10,wA=9,Sc="highlight",EA="downplay",gc="select",zs="unselect",Wo="toggleSelect";function Gd(r){return r!=null&&r!=="none"}function Ud(r,t,e){r.onHoverStateChange&&(r.hoverState||0)!==e&&r.onHoverStateChange(t),r.hoverState=e}function Kw(r){Ud(r,"emphasis",dc)}function Vw(r){r.hoverState===dc&&Ud(r,"normal",As)}function _c(r){Ud(r,"blur",Mi)}function BA(r){r.hoverState===Mi&&Ud(r,"normal",As)}function jd(r){r.selected=!0}function Hd(r){r.selected=!1}function Zw(r,t,e){t(r,e)}function Fh(r,t,e){Zw(r,t,e),r.isGroup&&r.traverse(function(n){Zw(n,t,e)})}function bp(r,t){switch(t){case"emphasis":r.hoverState=dc;break;case"normal":r.hoverState=As;break;case"blur":r.hoverState=Mi;break;case"select":r.selected=!0}}function Yd(r,t,e,n){for(var i=r.style,o={},s=0;s<t.length;s++){var l=t[s],f=i[l];o[l]=f??n[l]}for(var s=0;s<r.animators.length;s++){var v=r.animators[s];v.__fromStateTransition&&v.__fromStateTransition.indexOf(e)<0&&v.targetName==="style"&&v.saveTo(o,t)}return o}function S5(r,t,e,n){var i=e&&Vn(e,"select")>=0,o=!1;if(r instanceof Si){var s=yI(r),l=i&&s.selectFill||s.normalFill,f=i&&s.selectStroke||s.normalStroke;if(Gd(l)||Gd(f)){n=n||{};var v=n.style||{};v.fill==="inherit"?(o=!0,n=ar({},n),v=ar({},v),v.fill=l):!Gd(v.fill)&&Gd(l)?(o=!0,n=ar({},n),v=ar({},v),v.fill=_2(l)):!Gd(v.stroke)&&Gd(f)&&(o||(n=ar({},n),v=ar({},v)),v.stroke=_2(f)),n.style=v}}if(n&&n.z2==null){o||(n=ar({},n));var C=r.z2EmphasisLift;n.z2=r.z2+(C??Ip)}return n}function mI(r,t,e){if(e&&e.z2==null){e=ar({},e);var n=r.z2SelectLift;e.z2=r.z2+(n??wA)}return e}function II(r,t,e){var n=Vn(r.currentStates,t)>=0,i=r.style.opacity,o=n?null:Yd(r,["opacity"],t,{opacity:1});e=e||{};var s=e.style||{};return s.opacity==null&&(e=ar({},e),s=ar({opacity:n?i:o.opacity*.1},s),e.style=s),e}function A1(r,t){var e=this.states[r];if(this.style){if(r==="emphasis")return S5(this,r,t,e);if(r==="blur")return II(this,r,e);if(r==="select")return mI(this,r,e)}return e}function xl(r){r.stateProxy=A1;var t=r.getTextContent(),e=r.getTextGuideLine();t&&(t.stateProxy=A1),e&&(e.stateProxy=A1)}function bI(r,t){!Xw(r,t)&&!r.__highByOuter&&Fh(r,Kw)}function kA(r,t){!Xw(r,t)&&!r.__highByOuter&&Fh(r,Vw)}function Dc(r,t){r.__highByOuter|=1<<(t||0),Fh(r,Kw)}function ko(r,t){!(r.__highByOuter&=~(1<<(t||0)))&&Fh(r,Vw)}function Jd(r){Fh(r,_c)}function Wd(r){Fh(r,BA)}function CI(r){Fh(r,jd)}function Ks(r){Fh(r,Hd)}function Xw(r,t){return r.__highDownSilentOnTouch&&t.zrByTouch}function Fy(r){var t=r.getModel(),e=[],n=[];t.eachComponent(function(i,o){var s=rs(o),l=i==="series",f=l?r.getViewOfSeriesModel(o):r.getViewOfComponentModel(o);!l&&n.push(f),s.isBlured&&(f.group.traverse(function(v){BA(v)}),l&&e.push(o)),s.isBlured=!1}),Ne(n,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(e,!1,t)})}function d1(r,t,e,n){var i=n.getModel();e=e||"coordinateSystem";function o(v,C){for(var w=0;w<C.length;w++){var x=v.getItemGraphicEl(C[w]);x&&Wd(x)}}if(r!=null&&!(!t||t==="none")){var s=i.getSeriesByIndex(r),l=s.coordinateSystem;l&&l.master&&(l=l.master);var f=[];i.eachSeries(function(v){var C=s===v,w=v.coordinateSystem;w&&w.master&&(w=w.master);var x=w&&l?w===l:C;if(!(e==="series"&&!C||e==="coordinateSystem"&&!x||t==="series"&&C)){var Q=n.getViewOfSeriesModel(v);if(Q.group.traverse(function(P){P.__highByOuter&&C&&t==="self"||_c(P)}),bo(t))o(v.getData(),t);else if(Ln(t))for(var R=fi(t),L=0;L<R.length;L++)o(v.getData(R[L]),t[R[L]]);f.push(v),rs(v).isBlured=!0}}),i.eachComponent(function(v,C){if(v!=="series"){var w=n.getViewOfComponentModel(C);w&&w.toggleBlurSeries&&w.toggleBlurSeries(f,!0,i)}})}}function Ty(r,t,e){if(!(r==null||t==null)){var n=e.getModel().getComponent(r,t);if(n){rs(n).isBlured=!0;var i=e.getViewOfComponentModel(n);!i||!i.focusBlurEnabled||i.group.traverse(function(o){_c(o)})}}}function _5(r,t,e){var n=r.seriesIndex,i=r.getData(t.dataType);if(i){var o=uc(i,t);o=(yr(o)?o[0]:o)||0;var s=i.getItemGraphicEl(o);if(!s)for(var l=i.count(),f=0;!s&&f<l;)s=i.getItemGraphicEl(f++);if(s){var v=Un(s);d1(n,v.focus,v.blurScope,e)}else{var C=r.get(["emphasis","focus"]),w=r.get(["emphasis","blurScope"]);C!=null&&d1(n,C,w,e)}}}function wI(r,t,e,n){var i={focusSelf:!1,dispatchers:null};if(r==null||r==="series"||t==null||e==null)return i;var o=n.getModel().getComponent(r,t);if(!o)return i;var s=n.getViewOfComponentModel(o);if(!s||!s.findHighDownDispatchers)return i;for(var l=s.findHighDownDispatchers(e),f,v=0;v<l.length;v++)if(Un(l[v]).focus==="self"){f=!0;break}return{focusSelf:f,dispatchers:l}}function Cp(r,t,e){var n=Un(r),i=wI(n.componentMainType,n.componentIndex,n.componentHighDownName,e),o=i.dispatchers,s=i.focusSelf;o?(s&&Ty(n.componentMainType,n.componentIndex,e),Ne(o,function(l){return bI(l,t)})):(d1(n.seriesIndex,n.focus,n.blurScope,e),n.focus==="self"&&Ty(n.componentMainType,n.componentIndex,e),bI(r,t))}function bf(r,t,e){Fy(e);var n=Un(r),i=wI(n.componentMainType,n.componentIndex,n.componentHighDownName,e).dispatchers;i?Ne(i,function(o){return kA(o,t)}):kA(r,t)}function $w(r,t,e){if(wp(t)){var n=t.dataType,i=r.getData(n),o=uc(i,t);yr(o)||(o=[o]),r[t.type===Wo?"toggleSelect":t.type===gc?"select":"unselect"](o,n)}}function Ly(r){var t=r.getAllData();Ne(t,function(e){var n=e.data,i=e.type;n.eachItemGraphicEl(function(o,s){r.isSelected(s,i)?CI(o):Ks(o)})})}function Ny(r){var t=[];return r.eachSeries(function(e){var n=e.getAllData();Ne(n,function(i){i.data;var o=i.type,s=e.getSelectedDataIndices();if(s.length>0){var l={dataIndex:s,seriesIndex:e.seriesIndex};o!=null&&(l.dataType=o),t.push(l)}})}),t}function QA(r,t,e){SA(r,!0),Fh(r,xl),xA(r,t,e)}function ma(r){SA(r,!1)}function uo(r,t,e,n){n?ma(r):QA(r,t,e)}function xA(r,t,e){var n=Un(r);t!=null?(n.focus=t,n.blurScope=e):n.focus&&(n.focus=null)}var qd=["emphasis","blur","select"],co={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function hu(r,t,e,n){e=e||"itemStyle";for(var i=0;i<qd.length;i++){var o=qd[i],s=t.getModel([o,e]),l=r.ensureState(o);l.style=n?n(s):s[co[e]]()}}function SA(r,t){var e=t===!1,n=r;r.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=r.highDownSilentOnTouch),(!e||n.__highDownDispatcher)&&(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!e)}function Pu(r){return!!(r&&r.__highDownDispatcher)}function D5(r,t,e){var n=Un(r);n.componentMainType=t.mainType,n.componentIndex=t.componentIndex,n.componentHighDownName=e}function eE(r){var t=Ss[r];return t==null&&f1<=32&&(t=Ss[r]=f1++),t}function wp(r){var t=r.type;return t===gc||t===zs||t===Wo}function EI(r){var t=r.type;return t===Sc||t===EA}function zd(r){var t=yI(r);t.normalFill=r.style.fill,t.normalStroke=r.style.stroke;var e=r.states.select||{};t.selectFill=e.style&&e.style.fill||null,t.selectStroke=e.style&&e.style.stroke||null}var _A=eh.CMD,tE=[[],[],[]],BI=Math.sqrt,R5=Math.atan2;function kI(r,t){if(t){var e=r.data,n=r.len(),i,o,s,l,f,v,C=_A.M,w=_A.C,x=_A.L,Q=_A.R,R=_A.A,L=_A.Q;for(s=0,l=0;s<n;){switch(i=e[s++],l=s,o=0,i){case C:o=1;break;case x:o=1;break;case w:o=3;break;case L:o=2;break;case R:var P=t[4],M=t[5],k=BI(t[0]*t[0]+t[1]*t[1]),G=BI(t[2]*t[2]+t[3]*t[3]),Y=R5(-t[1]/G,t[0]/k);e[s]*=k,e[s++]+=P,e[s]*=G,e[s++]+=M,e[s++]*=k,e[s++]*=G,e[s++]+=Y,e[s++]+=Y,s+=2,l=s;break;case Q:v[0]=e[s++],v[1]=e[s++],js(v,v,t),e[l++]=v[0],e[l++]=v[1],v[0]+=e[s++],v[1]+=e[s++],js(v,v,t),e[l++]=v[0],e[l++]=v[1]}for(f=0;f<o;f++){var re=tE[f];re[0]=e[s++],re[1]=e[s++],js(re,re,t),e[l++]=re[0],e[l++]=re[1]}}r.increaseVersion()}}var Ep=Math.sqrt,Kd=Math.sin,Oy=Math.cos,Vd=Math.PI;function QI(r){return Math.sqrt(r[0]*r[0]+r[1]*r[1])}function Py(r,t){return(r[0]*t[0]+r[1]*t[1])/(QI(r)*QI(t))}function Zd(r,t){return(r[0]*t[1]<r[1]*t[0]?-1:1)*Math.acos(Py(r,t))}function xI(r,t,e,n,i,o,s,l,f,v,C){var w=f*(Vd/180),x=Oy(w)*(r-e)/2+Kd(w)*(t-n)/2,Q=-1*Kd(w)*(r-e)/2+Oy(w)*(t-n)/2,R=x*x/(s*s)+Q*Q/(l*l);R>1&&(s*=Ep(R),l*=Ep(R));var L=(i===o?-1:1)*Ep((s*s*(l*l)-s*s*(Q*Q)-l*l*(x*x))/(s*s*(Q*Q)+l*l*(x*x)))||0,P=L*s*Q/l,M=L*-l*x/s,k=(r+e)/2+Oy(w)*P-Kd(w)*M,G=(t+n)/2+Kd(w)*P+Oy(w)*M,Y=Zd([1,0],[(x-P)/s,(Q-M)/l]),re=[(x-P)/s,(Q-M)/l],ie=[(-1*x-P)/s,(-1*Q-M)/l],le=Zd(re,ie);if(Py(re,ie)<=-1&&(le=Vd),Py(re,ie)>=1&&(le=0),le<0){var pe=Math.round(le/Vd*1e6)/1e6;le=Vd*2+pe%2*Vd}C.addData(v,k,G,s,l,Y,le,w,o)}var rE=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,nE=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function SI(r){var t=new eh;if(!r)return t;var e=0,n=0,i=e,o=n,s,l=eh.CMD,f=r.match(rE);if(!f)return t;for(var v=0;v<f.length;v++){for(var C=f[v],w=C.charAt(0),x=void 0,Q=C.match(nE)||[],R=Q.length,L=0;L<R;L++)Q[L]=parseFloat(Q[L]);for(var P=0;P<R;){var M=void 0,k=void 0,G=void 0,Y=void 0,re=void 0,ie=void 0,le=void 0,pe=e,ve=n,Ee=void 0,Se=void 0;switch(w){case"l":e+=Q[P++],n+=Q[P++],x=l.L,t.addData(x,e,n);break;case"L":e=Q[P++],n=Q[P++],x=l.L,t.addData(x,e,n);break;case"m":e+=Q[P++],n+=Q[P++],x=l.M,t.addData(x,e,n),i=e,o=n,w="l";break;case"M":e=Q[P++],n=Q[P++],x=l.M,t.addData(x,e,n),i=e,o=n,w="L";break;case"h":e+=Q[P++],x=l.L,t.addData(x,e,n);break;case"H":e=Q[P++],x=l.L,t.addData(x,e,n);break;case"v":n+=Q[P++],x=l.L,t.addData(x,e,n);break;case"V":n=Q[P++],x=l.L,t.addData(x,e,n);break;case"C":x=l.C,t.addData(x,Q[P++],Q[P++],Q[P++],Q[P++],Q[P++],Q[P++]),e=Q[P-2],n=Q[P-1];break;case"c":x=l.C,t.addData(x,Q[P++]+e,Q[P++]+n,Q[P++]+e,Q[P++]+n,Q[P++]+e,Q[P++]+n),e+=Q[P-2],n+=Q[P-1];break;case"S":M=e,k=n,Ee=t.len(),Se=t.data,s===l.C&&(M+=e-Se[Ee-4],k+=n-Se[Ee-3]),x=l.C,pe=Q[P++],ve=Q[P++],e=Q[P++],n=Q[P++],t.addData(x,M,k,pe,ve,e,n);break;case"s":M=e,k=n,Ee=t.len(),Se=t.data,s===l.C&&(M+=e-Se[Ee-4],k+=n-Se[Ee-3]),x=l.C,pe=e+Q[P++],ve=n+Q[P++],e+=Q[P++],n+=Q[P++],t.addData(x,M,k,pe,ve,e,n);break;case"Q":pe=Q[P++],ve=Q[P++],e=Q[P++],n=Q[P++],x=l.Q,t.addData(x,pe,ve,e,n);break;case"q":pe=Q[P++]+e,ve=Q[P++]+n,e+=Q[P++],n+=Q[P++],x=l.Q,t.addData(x,pe,ve,e,n);break;case"T":M=e,k=n,Ee=t.len(),Se=t.data,s===l.Q&&(M+=e-Se[Ee-4],k+=n-Se[Ee-3]),e=Q[P++],n=Q[P++],x=l.Q,t.addData(x,M,k,e,n);break;case"t":M=e,k=n,Ee=t.len(),Se=t.data,s===l.Q&&(M+=e-Se[Ee-4],k+=n-Se[Ee-3]),e+=Q[P++],n+=Q[P++],x=l.Q,t.addData(x,M,k,e,n);break;case"A":G=Q[P++],Y=Q[P++],re=Q[P++],ie=Q[P++],le=Q[P++],pe=e,ve=n,e=Q[P++],n=Q[P++],x=l.A,xI(pe,ve,e,n,ie,le,G,Y,re,x,t);break;case"a":G=Q[P++],Y=Q[P++],re=Q[P++],ie=Q[P++],le=Q[P++],pe=e,ve=n,e+=Q[P++],n+=Q[P++],x=l.A,xI(pe,ve,e,n,ie,le,G,Y,re,x,t);break}}(w==="z"||w==="Z")&&(x=l.Z,t.addData(x),e=i,n=o),s=x}return t.toStatic(),t}var g1=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.applyTransform=function(e){},t}(Si);function _I(r){return r.setData!=null}function DI(r,t){var e=SI(r),n=ar({},t);return n.buildPath=function(i){if(_I(i)){i.setData(e.data);var o=i.getContext();o&&i.rebuildPath(o,1)}else{var o=i;e.rebuildPath(o,1)}},n.applyTransform=function(i){kI(e,i),this.dirtyShape()},n}function Xd(r,t){return new g1(DI(r,t))}function M5(r,t){var e=DI(r,t),n=function(i){kt(o,i);function o(s){var l=i.call(this,s)||this;return l.applyTransform=e.applyTransform,l.buildPath=e.buildPath,l}return o}(g1);return n}function RI(r,t){for(var e=[],n=r.length,i=0;i<n;i++){var o=r[i];e.push(o.getUpdatedPathProxy(!0))}var s=new Si(t);return s.createPathProxy(),s.buildPath=function(l){if(_I(l)){l.appendPath(e);var f=l.getContext();f&&l.rebuildPath(f,1)}},s}function Gy(r,t){t=t||{};var e=new Si;return r.shape&&e.setShape(r.shape),e.setStyle(r.style),t.bakeTransform?kI(e.path,r.getComputedTransform()):t.toLocal?e.setLocalTransform(r.getComputedTransform()):e.copyTransform(r),e.buildPath=r.buildPath,e.applyTransform=e.applyTransform,e.z=r.z,e.z2=r.z2,e.zlevel=r.zlevel,e}var iE=function(){function r(){this.cx=0,this.cy=0,this.r=0}return r}(),Gu=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new iE},t.prototype.buildPath=function(e,n){e.moveTo(n.cx+n.r,n.cy),e.arc(n.cx,n.cy,n.r,0,Math.PI*2)},t}(Si);Gu.prototype.type="circle";var ds=function(){function r(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return r}(),fu=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new ds},t.prototype.buildPath=function(e,n){var i=.5522848,o=n.cx,s=n.cy,l=n.rx,f=n.ry,v=l*i,C=f*i;e.moveTo(o-l,s),e.bezierCurveTo(o-l,s-C,o-v,s-f,o,s-f),e.bezierCurveTo(o+v,s-f,o+l,s-C,o+l,s),e.bezierCurveTo(o+l,s+C,o+v,s+f,o,s+f),e.bezierCurveTo(o-v,s+f,o-l,s+C,o-l,s),e.closePath()},t}(Si);fu.prototype.type="ellipse";var gs=Math.PI,Rc=gs*2,Cf=Math.sin,$d=Math.cos,p1=Math.acos,Uu=Math.atan2,Uy=Math.abs,rh=Math.sqrt,wf=Math.max,ju=Math.min,Sl=1e-4;function aE(r,t,e,n,i,o,s,l){var f=e-r,v=n-t,C=s-i,w=l-o,x=w*f-C*v;if(!(x*x<Sl))return x=(C*(t-o)-w*(r-i))/x,[r+x*f,t+x*v]}function eg(r,t,e,n,i,o,s){var l=r-e,f=t-n,v=(s?o:-o)/rh(l*l+f*f),C=v*f,w=-v*l,x=r+C,Q=t+w,R=e+C,L=n+w,P=(x+R)/2,M=(Q+L)/2,k=R-x,G=L-Q,Y=k*k+G*G,re=i-o,ie=x*L-R*Q,le=(G<0?-1:1)*rh(wf(0,re*re*Y-ie*ie)),pe=(ie*G-k*le)/Y,ve=(-ie*k-G*le)/Y,Ee=(ie*G+k*le)/Y,Se=(-ie*k+G*le)/Y,ke=pe-P,Le=ve-M,be=Ee-P,ze=Se-M;return ke*ke+Le*Le>be*be+ze*ze&&(pe=Ee,ve=Se),{cx:pe,cy:ve,x0:-C,y0:-w,x1:pe*(i/re-1),y1:ve*(i/re-1)}}function oE(r){var t;if(yr(r)){var e=r.length;if(!e)return r;e===1?t=[r[0],r[0],0,0]:e===2?t=[r[0],r[0],r[1],r[1]]:e===3?t=r.concat(r[2]):t=r}else t=[r,r,r,r];return t}function F5(r,t){var e,n=wf(t.r,0),i=wf(t.r0||0,0),o=n>0,s=i>0;if(!(!o&&!s)){if(o||(n=i,i=0),i>n){var l=n;n=i,i=l}var f=t.startAngle,v=t.endAngle;if(!(isNaN(f)||isNaN(v))){var C=t.cx,w=t.cy,x=!!t.clockwise,Q=Uy(v-f),R=Q>Rc&&Q%Rc;if(R>Sl&&(Q=R),!(n>Sl))r.moveTo(C,w);else if(Q>Rc-Sl)r.moveTo(C+n*$d(f),w+n*Cf(f)),r.arc(C,w,n,f,v,!x),i>Sl&&(r.moveTo(C+i*$d(v),w+i*Cf(v)),r.arc(C,w,i,v,f,x));else{var L=void 0,P=void 0,M=void 0,k=void 0,G=void 0,Y=void 0,re=void 0,ie=void 0,le=void 0,pe=void 0,ve=void 0,Ee=void 0,Se=void 0,ke=void 0,Le=void 0,be=void 0,ze=n*$d(f),ut=n*Cf(f),ft=i*$d(v),Qt=i*Cf(v),vt=Q>Sl;if(vt){var Gt=t.cornerRadius;Gt&&(e=oE(Gt),L=e[0],P=e[1],M=e[2],k=e[3]);var Ct=Uy(n-i)/2;if(G=ju(Ct,M),Y=ju(Ct,k),re=ju(Ct,L),ie=ju(Ct,P),ve=le=wf(G,Y),Ee=pe=wf(re,ie),(le>Sl||pe>Sl)&&(Se=n*$d(v),ke=n*Cf(v),Le=i*$d(f),be=i*Cf(f),Q<gs)){var St=aE(ze,ut,Le,be,Se,ke,ft,Qt);if(St){var dr=ze-St[0],ur=ut-St[1],ir=Se-St[0],Fn=ke-St[1],Ei=1/Cf(p1((dr*ir+ur*Fn)/(rh(dr*dr+ur*ur)*rh(ir*ir+Fn*Fn)))/2),Vr=rh(St[0]*St[0]+St[1]*St[1]);ve=ju(le,(n-Vr)/(Ei+1)),Ee=ju(pe,(i-Vr)/(Ei-1))}}}if(!vt)r.moveTo(C+ze,w+ut);else if(ve>Sl){var qr=ju(M,ve),Tn=ju(k,ve),zr=eg(Le,be,ze,ut,n,qr,x),Qn=eg(Se,ke,ft,Qt,n,Tn,x);r.moveTo(C+zr.cx+zr.x0,w+zr.cy+zr.y0),ve<le&&qr===Tn?r.arc(C+zr.cx,w+zr.cy,ve,Uu(zr.y0,zr.x0),Uu(Qn.y0,Qn.x0),!x):(qr>0&&r.arc(C+zr.cx,w+zr.cy,qr,Uu(zr.y0,zr.x0),Uu(zr.y1,zr.x1),!x),r.arc(C,w,n,Uu(zr.cy+zr.y1,zr.cx+zr.x1),Uu(Qn.cy+Qn.y1,Qn.cx+Qn.x1),!x),Tn>0&&r.arc(C+Qn.cx,w+Qn.cy,Tn,Uu(Qn.y1,Qn.x1),Uu(Qn.y0,Qn.x0),!x))}else r.moveTo(C+ze,w+ut),r.arc(C,w,n,f,v,!x);if(!(i>Sl)||!vt)r.lineTo(C+ft,w+Qt);else if(Ee>Sl){var qr=ju(L,Ee),Tn=ju(P,Ee),zr=eg(ft,Qt,Se,ke,i,-Tn,x),Qn=eg(ze,ut,Le,be,i,-qr,x);r.lineTo(C+zr.cx+zr.x0,w+zr.cy+zr.y0),Ee<pe&&qr===Tn?r.arc(C+zr.cx,w+zr.cy,Ee,Uu(zr.y0,zr.x0),Uu(Qn.y0,Qn.x0),!x):(Tn>0&&r.arc(C+zr.cx,w+zr.cy,Tn,Uu(zr.y0,zr.x0),Uu(zr.y1,zr.x1),!x),r.arc(C,w,i,Uu(zr.cy+zr.y1,zr.cx+zr.x1),Uu(Qn.cy+Qn.y1,Qn.cx+Qn.x1),x),qr>0&&r.arc(C+Qn.cx,w+Qn.cy,qr,Uu(Qn.y1,Qn.x1),Uu(Qn.y0,Qn.x0),!x))}else r.lineTo(C+ft,w+Qt),r.arc(C,w,i,v,f,x)}r.closePath()}}}var sE=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return r}(),Hu=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new sE},t.prototype.buildPath=function(e,n){F5(e,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Si);Hu.prototype.type="sector";var Th=function(){function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return r}(),nh=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new Th},t.prototype.buildPath=function(e,n){var i=n.cx,o=n.cy,s=Math.PI*2;e.moveTo(i+n.r,o),e.arc(i,o,n.r,0,s,!1),e.moveTo(i+n.r0,o),e.arc(i,o,n.r0,0,s,!0)},t}(Si);nh.prototype.type="ring";function T5(r,t,e,n){var i=[],o=[],s=[],l=[],f,v,C,w;if(n){C=[1/0,1/0],w=[-1/0,-1/0];for(var x=0,Q=r.length;x<Q;x++)rA(C,C,r[x]),tf(w,w,r[x]);rA(C,C,n[0]),tf(w,w,n[1])}for(var x=0,Q=r.length;x<Q;x++){var R=r[x];if(e)f=r[x?x-1:Q-1],v=r[(x+1)%Q];else if(x===0||x===Q-1){i.push(ql(r[x]));continue}else f=r[x-1],v=r[x+1];Xf(o,v,f),Ng(o,o,t);var L=$f(R,f),P=$f(R,v),M=L+P;M!==0&&(L/=M,P/=M),Ng(s,o,-L),Ng(l,o,P);var k=HC([],R,s),G=HC([],R,l);n&&(tf(k,k,C),rA(k,k,w),tf(G,G,C),rA(G,G,w)),i.push(k),i.push(G)}return e&&i.push(i.shift()),i}function MI(r,t,e){var n=t.smooth,i=t.points;if(i&&i.length>=2){if(n){var o=T5(i,n,e,t.smoothConstraint);r.moveTo(i[0][0],i[0][1]);for(var s=i.length,l=0;l<(e?s:s-1);l++){var f=o[l*2],v=o[l*2+1],C=i[(l+1)%s];r.bezierCurveTo(f[0],f[1],v[0],v[1],C[0],C[1])}}else{r.moveTo(i[0][0],i[0][1]);for(var l=1,w=i.length;l<w;l++)r.lineTo(i[l][0],i[l][1])}e&&r.closePath()}}var jy=function(){function r(){this.points=null,this.smooth=0,this.smoothConstraint=null}return r}(),Yu=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new jy},t.prototype.buildPath=function(e,n){MI(e,n,!0)},t}(Si);Yu.prototype.type="polygon";var uE=function(){function r(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return r}(),pc=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new uE},t.prototype.buildPath=function(e,n){MI(e,n,!1)},t}(Si);pc.prototype.type="polyline";var cE={},Ju=function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return r}(),Vs=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Ju},t.prototype.buildPath=function(e,n){var i,o,s,l;if(this.subPixelOptimize){var f=pI(cE,n,this.style);i=f.x1,o=f.y1,s=f.x2,l=f.y2}else i=n.x1,o=n.y1,s=n.x2,l=n.y2;var v=n.percent;v!==0&&(e.moveTo(i,o),v<1&&(s=i*(1-v)+s*v,l=o*(1-v)+l*v),e.lineTo(s,l))},t.prototype.pointAt=function(e){var n=this.shape;return[n.x1*(1-e)+n.x2*e,n.y1*(1-e)+n.y2*e]},t}(Si);Vs.prototype.type="line";var Eu=[],FI=function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return r}();function lE(r,t,e){var n=r.cpx2,i=r.cpy2;return n!=null||i!=null?[(e?E2:ks)(r.x1,r.cpx1,r.cpx2,r.x2,t),(e?E2:ks)(r.y1,r.cpy1,r.cpy2,r.y2,t)]:[(e?Gv:su)(r.x1,r.cpx1,r.x2,t),(e?Gv:su)(r.y1,r.cpy1,r.y2,t)]}var Bp=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new FI},t.prototype.buildPath=function(e,n){var i=n.x1,o=n.y1,s=n.x2,l=n.y2,f=n.cpx1,v=n.cpy1,C=n.cpx2,w=n.cpy2,x=n.percent;x!==0&&(e.moveTo(i,o),C==null||w==null?(x<1&&(j0(i,f,s,x,Eu),f=Eu[1],s=Eu[2],j0(o,v,l,x,Eu),v=Eu[1],l=Eu[2]),e.quadraticCurveTo(f,v,s,l)):(x<1&&(sf(i,f,C,s,x,Eu),f=Eu[1],C=Eu[2],s=Eu[3],sf(o,v,w,l,x,Eu),v=Eu[1],w=Eu[2],l=Eu[3]),e.bezierCurveTo(f,v,C,w,s,l)))},t.prototype.pointAt=function(e){return lE(this.shape,e,!1)},t.prototype.tangentAt=function(e){var n=lE(this.shape,e,!0);return Ti(n,n)},t}(Si);Bp.prototype.type="bezier-curve";var L5=function(){function r(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r}(),Hy=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new L5},t.prototype.buildPath=function(e,n){var i=n.cx,o=n.cy,s=Math.max(n.r,0),l=n.startAngle,f=n.endAngle,v=n.clockwise,C=Math.cos(l),w=Math.sin(l);e.moveTo(C*s+i,w*s+o),e.arc(i,o,s,l,f,!v)},t}(Si);Hy.prototype.type="arc";var v1=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="compound",e}return t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,n=this.shapeChanged(),i=0;i<e.length;i++)n=n||e[i].shapeChanged();n&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],n=this.getGlobalScale(),i=0;i<e.length;i++)e[i].path||e[i].createPathProxy(),e[i].path.setScale(n[0],n[1],e[i].segmentIgnoreThreshold)},t.prototype.buildPath=function(e,n){for(var i=n.paths||[],o=0;o<i.length;o++)i[o].buildPath(e,i[o].shape,!0)},t.prototype.afterBrush=function(){for(var e=this.shape.paths||[],n=0;n<e.length;n++)e[n].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Si.prototype.getBoundingRect.call(this)},t}(Si),TI=function(){function r(t){this.colorStops=t||[]}return r.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},r}(),tg=function(r){kt(t,r);function t(e,n,i,o,s,l){var f=r.call(this,s)||this;return f.x=e??0,f.y=n??0,f.x2=i??1,f.y2=o??0,f.type="linear",f.global=l||!1,f}return t}(TI),LI=function(r){kt(t,r);function t(e,n,i,o,s){var l=r.call(this,o)||this;return l.x=e??.5,l.y=n??.5,l.r=i??.5,l.type="radial",l.global=s||!1,l}return t}(TI),DA=[0,0],rg=[0,0],y1=new ci,m1=new ci,ng=function(){function r(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new ci;for(var n=0;n<2;n++)this._axes[n]=new ci;t&&this.fromBoundingRect(t,e)}return r.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,o=t.x,s=t.y,l=o+t.width,f=s+t.height;if(n[0].set(o,s),n[1].set(l,s),n[2].set(l,f),n[3].set(o,f),e)for(var v=0;v<4;v++)n[v].transform(e);ci.sub(i[0],n[1],n[0]),ci.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(var v=0;v<2;v++)this._origin[v]=i[v].dot(n[0])},r.prototype.intersect=function(t,e){var n=!0,i=!e;return y1.set(1/0,1/0),m1.set(0,0),!this._intersectCheckOneSide(this,t,y1,m1,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,y1,m1,i,-1)&&(n=!1,i)||i||ci.copy(e,n?y1:m1),n},r.prototype._intersectCheckOneSide=function(t,e,n,i,o,s){for(var l=!0,f=0;f<2;f++){var v=this._axes[f];if(this._getProjMinMaxOnAxis(f,t._corners,DA),this._getProjMinMaxOnAxis(f,e._corners,rg),DA[1]<rg[0]||DA[0]>rg[1]){if(l=!1,o)return l;var C=Math.abs(rg[0]-DA[1]),w=Math.abs(DA[0]-rg[1]);Math.min(C,w)>i.len()&&(C<w?ci.scale(i,v,-C*s):ci.scale(i,v,w*s))}else if(n){var C=Math.abs(rg[0]-DA[1]),w=Math.abs(DA[0]-rg[1]);Math.min(C,w)<n.len()&&(C<w?ci.scale(n,v,C*s):ci.scale(n,v,-w*s))}}return l},r.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],o=this._origin,s=e[0].dot(i)+o[t],l=s,f=s,v=1;v<e.length;v++){var C=e[v].dot(i)+o[t];l=Math.min(C,l),f=Math.max(C,f)}n[0]=l,n[1]=f},r}(),N5=[],O5=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return t.prototype.traverse=function(e,n){e.call(n,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(e,n){n?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,n){n=n||!1;for(var i=0;i<e.length;i++)this.addDisplayable(e[i],n)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(e){for(var n=this._cursor;n<this._displayables.length;n++)e&&e(this._displayables[n]);for(var n=0;n<this._temporaryDisplayables.length;n++)e&&e(this._temporaryDisplayables[n])},t.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var n=this._displayables[e];n.parent=this,n.update(),n.parent=null}for(var e=0;e<this._temporaryDisplayables.length;e++){var n=this._temporaryDisplayables[e];n.parent=this,n.update(),n.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new gi(1/0,1/0,-1/0,-1/0),n=0;n<this._displayables.length;n++){var i=this._displayables[n],o=i.getBoundingRect().clone();i.needLocalTransform()&&o.applyTransform(i.getLocalTransform(N5)),e.union(o)}this._rect=e}return this._rect},t.prototype.contain=function(e,n){var i=this.transformCoordToLocal(e,n),o=this.getBoundingRect();if(o.contain(i[0],i[1]))for(var s=0;s<this._displayables.length;s++){var l=this._displayables[s];if(l.contain(e,n))return!0}return!1},t}(ii),hE=Vi();function ig(r,t,e,n,i){var o;if(t&&t.ecModel){var s=t.ecModel.getUpdatePayload();o=s&&s.animation}var l=t&&t.isAnimationEnabled(),f=r==="update";if(l){var v=void 0,C=void 0,w=void 0;n?(v=$n(n.duration,200),C=$n(n.easing,"cubicOut"),w=0):(v=t.getShallow(f?"animationDurationUpdate":"animationDuration"),C=t.getShallow(f?"animationEasingUpdate":"animationEasing"),w=t.getShallow(f?"animationDelayUpdate":"animationDelay")),o&&(o.duration!=null&&(v=o.duration),o.easing!=null&&(C=o.easing),o.delay!=null&&(w=o.delay)),bn(w)&&(w=w(e,i)),bn(v)&&(v=v(e));var x={duration:v||0,delay:w,easing:C};return x}else return null}function NI(r,t,e,n,i,o,s){var l=!1,f;bn(i)?(s=o,o=i,i=null):Ln(i)&&(o=i.cb,s=i.during,l=i.isFrom,f=i.removeOpt,i=i.dataIndex);var v=r==="leave";v||t.stopAnimation("leave");var C=ig(r,n,i,v?f||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(t,i):null);if(C&&C.duration>0){var w=C.duration,x=C.delay,Q=C.easing,R={duration:w,delay:x||0,easing:Q,done:o,force:!!o||!!s,setToFinal:!v,scope:r,during:s};l?t.animateFrom(e,R):t.animateTo(e,R)}else t.stopAnimation(),!l&&t.attr(e),s&&s(1),o&&o()}function ga(r,t,e,n,i,o){NI("update",r,t,e,n,i,o)}function Co(r,t,e,n,i,o){NI("enter",r,t,e,n,i,o)}function Lh(r){if(!r.__zr)return!0;for(var t=0;t<r.animators.length;t++){var e=r.animators[t];if(e.scope==="leave")return!0}return!1}function Nh(r,t,e,n,i,o){Lh(r)||NI("leave",r,t,e,n,i,o)}function OI(r,t,e,n){r.removeTextContent(),r.removeTextGuideLine(),Nh(r,{style:{opacity:0}},t,e,n)}function kp(r,t,e){function n(){r.parent&&r.parent.remove(r)}r.isGroup?r.traverse(function(i){i.isGroup||OI(i,t,e,n)}):OI(r,t,e,n)}function _l(r){hE(r).oldStyle=r.style}function ag(r){return hE(r).oldStyle}var Oh=Math.max,I1=Math.min,PI={};function fE(r){return Si.extend(r)}var P5=M5;function AE(r,t){return P5(r,t)}function el(r,t){PI[r]=t}function GI(r){if(PI.hasOwnProperty(r))return PI[r]}function Yy(r,t,e,n){var i=Xd(r,t);return e&&(n==="center"&&(e=dE(e,i.getBoundingRect())),gE(i,e)),i}function b1(r,t,e){var n=new Ws({style:{image:r,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(i){if(e==="center"){var o={width:i.width,height:i.height};n.setStyle(dE(t,o))}}});return n}function dE(r,t){var e=t.width/t.height,n=r.height*e,i;n<=r.width?i=r.height:(n=r.width,i=n/e);var o=r.x+r.width/2,s=r.y+r.height/2;return{x:o-n/2,y:s-i/2,width:n,height:i}}var tl=RI;function gE(r,t){if(r.applyTransform){var e=r.getBoundingRect(),n=e.calculateTransform(t);r.applyTransform(n)}}function Qp(r,t){return pI(r,r,{lineWidth:t}),r}function pE(r){return l1(r.shape,r.shape,r.style),r}var Dl=mf;function og(r,t){for(var e=M0([]);r&&r!==t;)ic(e,r.getLocalTransform(),e),r=r.parent;return e}function Rl(r,t,e){return t&&!bo(t)&&(t=hf.getLocalTransform(t)),e&&(t=yd([],t)),js([],r,t)}function C1(r,t,e){var n=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),i=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),o=[r==="left"?-n:r==="right"?n:0,r==="top"?-i:r==="bottom"?i:0];return o=Rl(o,t,e),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function UI(r){return!r.isGroup}function vE(r){return r.shape!=null}function w1(r,t,e){if(!r||!t)return;function n(s){var l={};return s.traverse(function(f){UI(f)&&f.anid&&(l[f.anid]=f)}),l}function i(s){var l={x:s.x,y:s.y,rotation:s.rotation};return vE(s)&&(l.shape=ar({},s.shape)),l}var o=n(r);t.traverse(function(s){if(UI(s)&&s.anid){var l=o[s.anid];if(l){var f=i(s);s.attr(i(l)),ga(s,f,e,Un(s).dataIndex)}}})}function yE(r,t){return pr(r,function(e){var n=e[0];n=Oh(n,t.x),n=I1(n,t.x+t.width);var i=e[1];return i=Oh(i,t.y),i=I1(i,t.y+t.height),[n,i]})}function jI(r,t){var e=Oh(r.x,t.x),n=I1(r.x+r.width,t.x+t.width),i=Oh(r.y,t.y),o=I1(r.y+r.height,t.y+t.height);if(n>=e&&o>=i)return{x:e,y:i,width:n-e,height:o-i}}function RA(r,t,e){var n=ar({rectHover:!0},t),i=n.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(i.image=r.slice(8),pn(i,e),new Ws(n)):Yy(r.replace("path://",""),n,e,"center")}function E1(r,t,e,n,i){for(var o=0,s=i[i.length-1];o<i.length;o++){var l=i[o];if(mE(r,t,e,n,l[0],l[1],s[0],s[1]))return!0;s=l}}function mE(r,t,e,n,i,o,s,l){var f=e-r,v=n-t,C=s-i,w=l-o,x=Jy(C,w,f,v);if(MA(x))return!1;var Q=r-i,R=t-o,L=Jy(Q,R,f,v)/x;if(L<0||L>1)return!1;var P=Jy(Q,R,C,w)/x;return!(P<0||P>1)}function Jy(r,t,e,n){return r*n-e*t}function MA(r){return r<=1e-6&&r>=-1e-6}function Ml(r){var t=r.itemTooltipOption,e=r.componentModel,n=r.itemName,i=en(t)?{formatter:t}:t,o=e.mainType,s=e.componentIndex,l={componentType:o,name:n,$vars:["name"]};l[o+"Index"]=s;var f=r.formatterParamsExtra;f&&Ne(fi(f),function(C){ln(l,C)||(l[C]=f[C],l.$vars.push(C))});var v=Un(r.el);v.componentMainType=o,v.componentIndex=s,v.tooltipConfig={name:n,option:pn({content:n,encodeHTMLContent:!0,formatterParams:l},i)}}function Bu(r,t){var e;r.isGroup&&(e=t(r)),e||r.traverse(t)}function Fl(r,t){if(r)if(yr(r))for(var e=0;e<r.length;e++)Bu(r[e],t);else Bu(r,t)}el("circle",Gu),el("ellipse",fu),el("sector",Hu),el("ring",nh),el("polygon",Yu),el("polyline",pc),el("rect",ta),el("line",Vs),el("bezierCurve",Bp),el("arc",Hy);const Tl=Object.freeze(Object.defineProperty({__proto__:null,Arc:Hy,BezierCurve:Bp,BoundingRect:gi,Circle:Gu,CompoundPath:v1,Ellipse:fu,Group:Nn,Image:Ws,IncrementalDisplayable:O5,Line:Vs,LinearGradient:tg,OrientedBoundingRect:ng,Path:Si,Point:ci,Polygon:Yu,Polyline:pc,RadialGradient:LI,Rect:ta,Ring:nh,Sector:Hu,Text:Mn,applyTransform:Rl,clipPointsByRect:yE,clipRectByRect:jI,createIcon:RA,extendPath:AE,extendShape:fE,getShapeClass:GI,getTransform:og,groupTransition:w1,initProps:Co,isElementRemoved:Lh,lineLineIntersect:mE,linePolygonIntersect:E1,makeImage:b1,makePath:Yy,mergePath:tl,registerShape:el,removeElement:Nh,removeElementWithFadeOut:kp,resizePath:gE,setTooltipConfig:Ml,subPixelOptimize:Dl,subPixelOptimizeLine:Qp,subPixelOptimizeRect:pE,transformDirection:C1,traverseElements:Fl,updateProps:ga},Symbol.toStringTag,{value:"Module"}));var sg={};function Wy(r,t){for(var e=0;e<bi.length;e++){var n=bi[e],i=t[n],o=r.ensureState(n);o.style=o.style||{},o.style.text=i}var s=r.currentStates.slice();r.clearStates(!0),r.setStyle({text:t.normal}),r.useStates(s,!0)}function xp(r,t,e){var n=r.labelFetcher,i=r.labelDataIndex,o=r.labelDimIndex,s=t.normal,l;n&&(l=n.getFormattedLabel(i,"normal",null,o,s&&s.get("formatter"),e!=null?{interpolatedValue:e}:null)),l==null&&(l=bn(r.defaultText)?r.defaultText(i,r,e):r.defaultText);for(var f={normal:l},v=0;v<bi.length;v++){var C=bi[v],w=t[C];f[C]=$n(n?n.getFormattedLabel(i,C,null,o,w&&w.get("formatter")):null,l)}return f}function Uo(r,t,e,n){e=e||sg;for(var i=r instanceof Mn,o=!1,s=0;s<Ta.length;s++){var l=t[Ta[s]];if(l&&l.getShallow("show")){o=!0;break}}var f=i?r:r.getTextContent();if(o){i||(f||(f=new Mn,r.setTextContent(f)),r.stateProxy&&(f.stateProxy=r.stateProxy));var v=xp(e,t),C=t.normal,w=!!C.getShallow("show"),x=La(C,n&&n.normal,e,!1,!i);x.text=v.normal,i||r.setTextConfig(Ef(C,e,!1));for(var s=0;s<bi.length;s++){var Q=bi[s],l=t[Q];if(l){var R=f.ensureState(Q),L=!!$n(l.getShallow("show"),w);if(L!==w&&(R.ignore=!L),R.style=La(l,n&&n[Q],e,!0,!i),R.style.text=v[Q],!i){var P=r.ensureState(Q);P.textConfig=Ef(l,e,!0)}}}f.silent=!!C.getShallow("silent"),f.style.x!=null&&(x.x=f.style.x),f.style.y!=null&&(x.y=f.style.y),f.ignore=!w,f.useStyle(x),f.dirty(),e.enableTextSetter&&(FA(f).setLabelText=function(M){var k=xp(e,t,M);Wy(f,k)})}else f&&(f.ignore=!0);r.dirty()}function _s(r,t){t=t||"label";for(var e={normal:r.getModel(t)},n=0;n<bi.length;n++){var i=bi[n];e[i]=r.getModel([i,t])}return e}function La(r,t,e,n,i){var o={};return G5(o,r,e,n,i),t&&ar(o,t),o}function Ef(r,t,e){t=t||{};var n={},i,o=r.getShallow("rotate"),s=$n(r.getShallow("distance"),e?null:5),l=r.getShallow("offset");return i=r.getShallow("position")||(e?null:"inside"),i==="outside"&&(i=t.defaultOutsidePosition||"top"),i!=null&&(n.position=i),l!=null&&(n.offset=l),o!=null&&(o*=Math.PI/180,n.rotation=o),s!=null&&(n.distance=s),n.outsideFill=r.get("color")==="inherit"?t.inheritColor||null:"auto",n}function G5(r,t,e,n,i){e=e||sg;var o=t.ecModel,s=o&&o.option.textStyle,l=qy(t),f;if(l){f={};for(var v in l)if(l.hasOwnProperty(v)){var C=t.getModel(["rich",v]);k1(f[v]={},C,s,e,n,i,!1,!0)}}f&&(r.rich=f);var w=t.get("overflow");w&&(r.overflow=w);var x=t.get("minMargin");x!=null&&(r.margin=x),k1(r,t,s,e,n,i,!0,!1)}function qy(r){for(var t;r&&r!==r.ecModel;){var e=(r.option||sg).rich;if(e){t=t||{};for(var n=fi(e),i=0;i<n.length;i++){var o=n[i];t[o]=1}}r=r.parentModel}return t}var B1=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],IE=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],HI=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function k1(r,t,e,n,i,o,s,l){e=!i&&e||sg;var f=n&&n.inheritColor,v=t.getShallow("color"),C=t.getShallow("textBorderColor"),w=$n(t.getShallow("opacity"),e.opacity);(v==="inherit"||v==="auto")&&(f?v=f:v=null),(C==="inherit"||C==="auto")&&(f?C=f:C=null),o||(v=v||e.color,C=C||e.textBorderColor),v!=null&&(r.fill=v),C!=null&&(r.stroke=C);var x=$n(t.getShallow("textBorderWidth"),e.textBorderWidth);x!=null&&(r.lineWidth=x);var Q=$n(t.getShallow("textBorderType"),e.textBorderType);Q!=null&&(r.lineDash=Q);var R=$n(t.getShallow("textBorderDashOffset"),e.textBorderDashOffset);R!=null&&(r.lineDashOffset=R),!i&&w==null&&!l&&(w=n&&n.defaultOpacity),w!=null&&(r.opacity=w),!i&&!o&&r.fill==null&&n.inheritColor&&(r.fill=n.inheritColor);for(var L=0;L<B1.length;L++){var P=B1[L],M=$n(t.getShallow(P),e[P]);M!=null&&(r[P]=M)}for(var L=0;L<IE.length;L++){var P=IE[L],M=t.getShallow(P);M!=null&&(r[P]=M)}if(r.verticalAlign==null){var k=t.getShallow("baseline");k!=null&&(r.verticalAlign=k)}if(!s||!n.disableBox){for(var L=0;L<HI.length;L++){var P=HI[L],M=t.getShallow(P);M!=null&&(r[P]=M)}var G=t.getShallow("borderType");G!=null&&(r.borderDash=G),(r.backgroundColor==="auto"||r.backgroundColor==="inherit")&&f&&(r.backgroundColor=f),(r.borderColor==="auto"||r.borderColor==="inherit")&&f&&(r.borderColor=f)}}function zy(r,t){var e=t&&t.getModel("textStyle");return Wl([r.fontStyle||e&&e.getShallow("fontStyle")||"",r.fontWeight||e&&e.getShallow("fontWeight")||"",(r.fontSize||e&&e.getShallow("fontSize")||12)+"px",r.fontFamily||e&&e.getShallow("fontFamily")||"sans-serif"].join(" "))}var FA=Vi();function bE(r,t,e,n){if(r){var i=FA(r);i.prevValue=i.value,i.value=e;var o=t.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=n,i.statesModels=t)}}function CE(r,t,e,n,i){var o=FA(r);if(!o.valueAnimation||o.prevValue===o.value)return;var s=o.defaultInterpolatedText,l=$n(o.interpolatedValue,o.prevValue),f=o.value;function v(C){var w=Sw(e,o.precision,l,f,C);o.interpolatedValue=C===1?null:w;var x=xp({labelDataIndex:t,labelFetcher:i,defaultText:s?s(w):w+""},o.statesModels,w);Wy(r,x)}r.percent=0,(o.prevValue==null?Co:ga)(r,{percent:1},n,t,null,v)}var wE=["textStyle","color"],Ky=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],ug=new Mn,EE=function(){function r(){}return r.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(wE):null)},r.prototype.getFont=function(){return zy({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},r.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<Ky.length;n++)e[Ky[n]]=this.getShallow(Ky[n]);return ug.useStyle(e),ug.update(),ug.getBoundingRect()},r}(),BE=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],U5=pA(BE),j5=function(){function r(){}return r.prototype.getLineStyle=function(t){return U5(this,t)},r}(),kE=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],H5=pA(kE),Y5=function(){function r(){}return r.prototype.getItemStyle=function(t,e){return H5(this,t,e)},r}(),Ia=function(){function r(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return r.prototype.init=function(t,e,n){},r.prototype.mergeOption=function(t,e){Kn(this.option,t,!0)},r.prototype.get=function(t,e){return t==null?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},r.prototype.getShallow=function(t,e){var n=this.option,i=n==null?n:n[t];if(i==null&&!e){var o=this.parentModel;o&&(i=o.getShallow(t))}return i},r.prototype.getModel=function(t,e){var n=t!=null,i=n?this.parsePath(t):null,o=n?this._doGet(i):this.option;return e=e||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new r(o,e,this.ecModel)},r.prototype.isEmpty=function(){return this.option==null},r.prototype.restoreData=function(){},r.prototype.clone=function(){var t=this.constructor;return new t(Bn(this.option))},r.prototype.parsePath=function(t){return typeof t=="string"?t.split("."):t},r.prototype.resolveParentPath=function(t){return t},r.prototype.isAnimationEnabled=function(){if(!Yn.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},r.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&!(t[i]&&(n=n&&typeof n=="object"?n[t[i]]:null,n==null));i++);return n==null&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},r}();Ap(Ia),m5(Ia),Ea(Ia,j5),Ea(Ia,Y5),Ea(Ia,Po),Ea(Ia,EE);var J5=Math.round(Math.random()*10);function Sp(r){return[r||"",J5++].join("_")}function W5(r){var t={};r.registerSubTypeDefaulter=function(e,n){var i=to(e);t[i.main]=n},r.determineSubType=function(e,n){var i=n.type;if(!i){var o=to(e).main;r.hasSubTypes(e)&&t[o]&&(i=t[o](n))}return i}}function q5(r,t){r.topologicalTravel=function(o,s,l,f){if(!o.length)return;var v=e(s),C=v.graph,w=v.noEntryList,x={};for(Ne(o,function(k){x[k]=!0});w.length;){var Q=w.pop(),R=C[Q],L=!!x[Q];L&&(l.call(f,Q,R.originalDeps.slice()),delete x[Q]),Ne(R.successor,L?M:P)}Ne(x,function(){var k="";throw new Error(k)});function P(k){C[k].entryCount--,C[k].entryCount===0&&w.push(k)}function M(k){x[k]=!0,P(k)}};function e(o){var s={},l=[];return Ne(o,function(f){var v=n(s,f),C=v.originalDeps=t(f),w=i(C,o);v.entryCount=w.length,v.entryCount===0&&l.push(f),Ne(w,function(x){Vn(v.predecessor,x)<0&&v.predecessor.push(x);var Q=n(s,x);Vn(Q.successor,x)<0&&Q.successor.push(f)})}),{graph:s,noEntryList:l}}function n(o,s){return o[s]||(o[s]={predecessor:[],successor:[]}),o[s]}function i(o,s){var l=[];return Ne(o,function(f){Vn(s,f)>=0&&l.push(f)}),l}}function TA(r,t){return Kn(Kn({},r,!0),t,!0)}const QE={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},YI={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var Vy="ZH",JI="EN",_p=JI,Dp={},LA={},WI=Yn.domSupported?function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage||_p).toUpperCase();return r.indexOf(Vy)>-1?Vy:_p}():_p;function qI(r,t){r=r.toUpperCase(),LA[r]=new Ia(t),Dp[r]=t}function xE(r){if(en(r)){var t=Dp[r.toUpperCase()]||{};return r===Vy||r===JI?Bn(t):Kn(Bn(t),Bn(Dp[_p]),!1)}else return Kn(Bn(r),Bn(Dp[_p]),!1)}function zI(r){return LA[r]}function z5(){return LA[_p]}qI(JI,QE),qI(Vy,YI);var KI=1e3,Zy=KI*60,Ph=Zy*60,Mc=Ph*24,Xy=Mc*365,Rp={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},$y="{yyyy}-{MM}-{dd}",VI={year:"{yyyy}",month:"{yyyy}-{MM}",day:$y,hour:$y+" "+Rp.hour,minute:$y+" "+Rp.minute,second:$y+" "+Rp.second,millisecond:Rp.none},ns=["year","month","day","hour","minute","second","millisecond"],Bf=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function kf(r,t){return r+="","0000".substr(0,t-r.length)+r}function cg(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function SE(r){return r===cg(r)}function K5(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Q1(r,t,e,n){var i=Bc(r),o=i[ZI(e)](),s=i[Gh(e)]()+1,l=Math.floor((s-1)/3)+1,f=i[Mp(e)](),v=i["get"+(e?"UTC":"")+"Day"](),C=i[Fp(e)](),w=(C-1)%12+1,x=i[em(e)](),Q=i[x1(e)](),R=i[tm(e)](),L=C>=12?"pm":"am",P=L.toUpperCase(),M=n instanceof Ia?n:zI(n||WI)||z5(),k=M.getModel("time"),G=k.get("month"),Y=k.get("monthAbbr"),re=k.get("dayOfWeek"),ie=k.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,L+"").replace(/{A}/g,P+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,kf(o%100+"",2)).replace(/{Q}/g,l+"").replace(/{MMMM}/g,G[s-1]).replace(/{MMM}/g,Y[s-1]).replace(/{MM}/g,kf(s,2)).replace(/{M}/g,s+"").replace(/{dd}/g,kf(f,2)).replace(/{d}/g,f+"").replace(/{eeee}/g,re[v]).replace(/{ee}/g,ie[v]).replace(/{e}/g,v+"").replace(/{HH}/g,kf(C,2)).replace(/{H}/g,C+"").replace(/{hh}/g,kf(w+"",2)).replace(/{h}/g,w+"").replace(/{mm}/g,kf(x,2)).replace(/{m}/g,x+"").replace(/{ss}/g,kf(Q,2)).replace(/{s}/g,Q+"").replace(/{SSS}/g,kf(R,3)).replace(/{S}/g,R+"")}function _E(r,t,e,n,i){var o=null;if(en(e))o=e;else if(bn(e))o=e(r.value,t,{level:r.level});else{var s=ar({},Rp);if(r.level>0)for(var l=0;l<ns.length;++l)s[ns[l]]="{primary|"+s[ns[l]]+"}";var f=e?e.inherit===!1?e:pn(e,s):s,v=DE(r.value,i);if(f[v])o=f[v];else if(f.inherit){for(var C=Bf.indexOf(v),l=C-1;l>=0;--l)if(f[v]){o=f[v];break}o=o||s.none}if(yr(o)){var w=r.level==null?0:r.level>=0?r.level:o.length+r.level;w=Math.min(w,o.length-1),o=o[w]}}return Q1(new Date(r.value),o,i,n)}function DE(r,t){var e=Bc(r),n=e[Gh(t)]()+1,i=e[Mp(t)](),o=e[Fp(t)](),s=e[em(t)](),l=e[x1(t)](),f=e[tm(t)](),v=f===0,C=v&&l===0,w=C&&s===0,x=w&&o===0,Q=x&&i===1,R=Q&&n===1;return R?"year":Q?"month":x?"day":w?"hour":C?"minute":v?"second":"millisecond"}function RE(r,t,e){var n=$i(r)?Bc(r):r;switch(t=t||DE(r,e),t){case"year":return n[ZI(e)]();case"half-year":return n[Gh(e)]()>=6?1:0;case"quarter":return Math.floor((n[Gh(e)]()+1)/4);case"month":return n[Gh(e)]();case"day":return n[Mp(e)]();case"half-day":return n[Fp(e)]()/24;case"hour":return n[Fp(e)]();case"minute":return n[em(e)]();case"second":return n[x1(e)]();case"millisecond":return n[tm(e)]()}}function ZI(r){return r?"getUTCFullYear":"getFullYear"}function Gh(r){return r?"getUTCMonth":"getMonth"}function Mp(r){return r?"getUTCDate":"getDate"}function Fp(r){return r?"getUTCHours":"getHours"}function em(r){return r?"getUTCMinutes":"getMinutes"}function x1(r){return r?"getUTCSeconds":"getSeconds"}function tm(r){return r?"getUTCMilliseconds":"getMilliseconds"}function V5(r){return r?"setUTCFullYear":"setFullYear"}function ME(r){return r?"setUTCMonth":"setMonth"}function Tp(r){return r?"setUTCDate":"setDate"}function Lp(r){return r?"setUTCHours":"setHours"}function FE(r){return r?"setUTCMinutes":"setMinutes"}function TE(r){return r?"setUTCSeconds":"setSeconds"}function XI(r){return r?"setUTCMilliseconds":"setMilliseconds"}function $I(r){if(!e1(r))return en(r)?r:"-";var t=(r+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function ku(r,t){return r=(r||"").toLowerCase().replace(/-(.)/g,function(e,n){return n.toUpperCase()}),t&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var lg=yl;function eb(r,t,e){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(C){return C&&Wl(C)?C:"-"}function o(C){return!!(C!=null&&!isNaN(C)&&isFinite(C))}var s=t==="time",l=r instanceof Date;if(s||l){var f=s?Bc(r):r;if(isNaN(+f)){if(l)return"-"}else return Q1(f,n,e)}if(t==="ordinal")return k0(r)?i(r):$i(r)&&o(r)?r+"":"-";var v=kc(r);return o(v)?$I(v):k0(r)?i(r):typeof r=="boolean"?r+"":"-"}var rm=["a","b","c","d","e","f","g"],tb=function(r,t){return"{"+r+(t??"")+"}"};function S1(r,t,e){yr(t)||(t=[t]);var n=t.length;if(!n)return"";for(var i=t[0].$vars||[],o=0;o<i.length;o++){var s=rm[o];r=r.replace(tb(s),tb(s,0))}for(var l=0;l<n;l++)for(var f=0;f<i.length;f++){var v=t[l][i[f]];r=r.replace(tb(rm[f],l),e?ou(v):v)}return r}function Z5(r,t,e){return Ne(t,function(n,i){r=r.replace("{"+i+"}",n)}),r}function _1(r,t){var e=en(r)?{color:r,extraCssText:t}:r||{},n=e.color,i=e.type;t=e.extraCssText;var o=e.renderMode||"html";if(!n)return"";if(o==="html")return i==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+ou(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+ou(n)+";"+(t||"")+'"></span>';var s=e.markerId||"markerX";return{renderMode:o,content:"{"+s+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function NA(r,t){return t=t||"transparent",en(r)?r:Ln(r)&&r.colorStops&&(r.colorStops[0]||{}).color||t}function nm(r,t){if(t==="_blank"||t==="blank"){var e=window.open();e.opener=null,e.location.href=r}else window.open(r,t)}var D1=Ne,rb=["left","right","top","bottom","width","height"],Ll=[["width","left","right"],["height","top","bottom"]];function im(r,t,e,n,i){var o=0,s=0;n==null&&(n=1/0),i==null&&(i=1/0);var l=0;t.eachChild(function(f,v){var C=f.getBoundingRect(),w=t.childAt(v+1),x=w&&w.getBoundingRect(),Q,R;if(r==="horizontal"){var L=C.width+(x?-x.x+C.x:0);Q=o+L,Q>n||f.newline?(o=0,Q=L,s+=l+e,l=C.height):l=Math.max(l,C.height)}else{var P=C.height+(x?-x.y+C.y:0);R=s+P,R>i||f.newline?(o+=l+e,s=0,R=P,l=C.width):l=Math.max(l,C.width)}f.newline||(f.x=o,f.y=s,f.markRedraw(),r==="horizontal"?o=Q+e:s=R+e)})}var Qf=im;ni(im,"vertical"),ni(im,"horizontal");function R1(r,t,e){var n=t.width,i=t.height,o=jr(r.left,n),s=jr(r.top,i),l=jr(r.right,n),f=jr(r.bottom,i);return(isNaN(o)||isNaN(parseFloat(r.left)))&&(o=0),(isNaN(l)||isNaN(parseFloat(r.right)))&&(l=n),(isNaN(s)||isNaN(parseFloat(r.top)))&&(s=0),(isNaN(f)||isNaN(parseFloat(r.bottom)))&&(f=i),e=lg(e||0),{width:Math.max(l-o-e[1]-e[3],0),height:Math.max(f-s-e[0]-e[2],0)}}function Mo(r,t,e){e=lg(e||0);var n=t.width,i=t.height,o=jr(r.left,n),s=jr(r.top,i),l=jr(r.right,n),f=jr(r.bottom,i),v=jr(r.width,n),C=jr(r.height,i),w=e[2]+e[0],x=e[1]+e[3],Q=r.aspect;switch(isNaN(v)&&(v=n-l-x-o),isNaN(C)&&(C=i-f-w-s),Q!=null&&(isNaN(v)&&isNaN(C)&&(Q>n/i?v=n*.8:C=i*.8),isNaN(v)&&(v=Q*C),isNaN(C)&&(C=v/Q)),isNaN(o)&&(o=n-l-v-x),isNaN(s)&&(s=i-f-C-w),r.left||r.right){case"center":o=n/2-v/2-e[3];break;case"right":o=n-v-x;break}switch(r.top||r.bottom){case"middle":case"center":s=i/2-C/2-e[0];break;case"bottom":s=i-C-w;break}o=o||0,s=s||0,isNaN(v)&&(v=n-x-o-(l||0)),isNaN(C)&&(C=i-w-s-(f||0));var R=new gi(o+e[3],s+e[0],v,C);return R.margin=e,R}function OA(r,t,e,n,i,o){var s=!i||!i.hv||i.hv[0],l=!i||!i.hv||i.hv[1],f=i&&i.boundingMode||"all";if(o=o||r,o.x=r.x,o.y=r.y,!s&&!l)return!1;var v;if(f==="raw")v=r.type==="group"?new gi(0,0,+t.width||0,+t.height||0):r.getBoundingRect();else if(v=r.getBoundingRect(),r.needLocalTransform()){var C=r.getLocalTransform();v=v.clone(),v.applyTransform(C)}var w=Mo(pn({width:v.width,height:v.height},t),e,n),x=s?w.x-v.x:0,Q=l?w.y-v.y:0;return f==="raw"?(o.x=x,o.y=Q):(o.x+=x,o.y+=Q),o===r&&r.markRedraw(),!0}function am(r,t){return r[Ll[t][0]]!=null||r[Ll[t][1]]!=null&&r[Ll[t][2]]!=null}function PA(r){var t=r.layoutMode||r.constructor.layoutMode;return Ln(t)?t:t?{type:t}:null}function Ds(r,t,e){var n=e&&e.ignoreSize;!yr(n)&&(n=[n,n]);var i=s(Ll[0],0),o=s(Ll[1],1);v(Ll[0],r,i),v(Ll[1],r,o);function s(C,w){var x={},Q=0,R={},L=0,P=2;if(D1(C,function(G){R[G]=r[G]}),D1(C,function(G){l(t,G)&&(x[G]=R[G]=t[G]),f(x,G)&&Q++,f(R,G)&&L++}),n[w])return f(t,C[1])?R[C[2]]=null:f(t,C[2])&&(R[C[1]]=null),R;if(L===P||!Q)return R;if(Q>=P)return x;for(var M=0;M<C.length;M++){var k=C[M];if(!l(x,k)&&l(r,k)){x[k]=r[k];break}}return x}function l(C,w){return C.hasOwnProperty(w)}function f(C,w){return C[w]!=null&&C[w]!=="auto"}function v(C,w,x){D1(C,function(Q){w[Q]=x[Q]})}}function rl(r){return nb({},r)}function nb(r,t){return t&&r&&D1(rb,function(e){t.hasOwnProperty(e)&&(r[e]=t[e])}),r}var X5=Vi(),Oi=function(r){kt(t,r);function t(e,n,i){var o=r.call(this,e,n,i)||this;return o.uid=Sp("ec_cpt_model"),o}return t.prototype.init=function(e,n,i){this.mergeDefaultAndTheme(e,i)},t.prototype.mergeDefaultAndTheme=function(e,n){var i=PA(this),o=i?rl(e):{},s=n.getTheme();Kn(e,s.get(this.mainType)),Kn(e,this.getDefaultOption()),i&&Ds(e,o,i)},t.prototype.mergeOption=function(e,n){Kn(this.option,e,!0);var i=PA(this);i&&Ds(this.option,e,i)},t.prototype.optionUpdated=function(e,n){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!by(e))return e.defaultOption;var n=X5(this);if(!n.defaultOption){for(var i=[],o=e;o;){var s=o.prototype.defaultOption;s&&i.push(s),o=o.superClass}for(var l={},f=i.length-1;f>=0;f--)l=Kn(l,i[f],!0);n.defaultOption=l}return n.defaultOption},t.prototype.getReferringComponents=function(e,n){var i=e+"Index",o=e+"Id";return $c(this.ecModel,e,{index:this.get(i,!0),id:this.get(o,!0)},n)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(Ia);Ys(Oi,Ia),wy(Oi),W5(Oi),q5(Oi,$5);function $5(r){var t=[];return Ne(Oi.getClassesByMainType(r),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=pr(t,function(e){return to(e).main}),r!=="dataset"&&Vn(t,"dataset")<=0&&t.unshift("dataset"),t}var LE="";typeof navigator<"u"&&(LE=navigator.platform||"");var Np="rgba(0, 0, 0, 0.2)";const ek={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Np,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Np,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Np,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Np,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Np,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Np,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:LE.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var NE=mn(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Nl="original",Qu="arrayRows",Ol="objectRows",Uh="keyedColumns",GA="typedArray",om="unknown",ih="column",hg="row",xu={Must:1,Might:2,Not:3},OE=Vi();function tk(r){OE(r).datasetMap=mn()}function ib(r,t,e){var n={},i=ob(t);if(!i||!r)return n;var o=[],s=[],l=t.ecModel,f=OE(l).datasetMap,v=i.uid+"_"+e.seriesLayoutBy,C,w;r=r.slice(),Ne(r,function(L,P){var M=Ln(L)?L:r[P]={name:L};M.type==="ordinal"&&C==null&&(C=P,w=R(M)),n[M.name]=[]});var x=f.get(v)||f.set(v,{categoryWayDim:w,valueWayDim:0});Ne(r,function(L,P){var M=L.name,k=R(L);if(C==null){var G=x.valueWayDim;Q(n[M],G,k),Q(s,G,k),x.valueWayDim+=k}else if(C===P)Q(n[M],0,k),Q(o,0,k);else{var G=x.categoryWayDim;Q(n[M],G,k),Q(s,G,k),x.categoryWayDim+=k}});function Q(L,P,M){for(var k=0;k<M;k++)L.push(P+k)}function R(L){var P=L.dimsDef;return P?P.length:1}return o.length&&(n.itemName=o),s.length&&(n.seriesName=s),n}function ab(r,t,e){var n={},i=ob(r);if(!i)return n;var o=t.sourceFormat,s=t.dimensionsDefine,l;(o===Ol||o===Uh)&&Ne(s,function(C,w){(Ln(C)?C.name:C)==="name"&&(l=w)});var f=function(){for(var C={},w={},x=[],Q=0,R=Math.min(5,e);Q<R;Q++){var L=PE(t.data,o,t.seriesLayoutBy,s,t.startIndex,Q);x.push(L);var P=L===xu.Not;if(P&&C.v==null&&Q!==l&&(C.v=Q),(C.n==null||C.n===C.v||!P&&x[C.n]===xu.Not)&&(C.n=Q),M(C)&&x[C.n]!==xu.Not)return C;P||(L===xu.Might&&w.v==null&&Q!==l&&(w.v=Q),(w.n==null||w.n===w.v)&&(w.n=Q))}function M(k){return k.v!=null&&k.n!=null}return M(C)?C:M(w)?w:null}();if(f){n.value=[f.v];var v=l??f.n;n.itemName=[v],n.seriesName=[v]}return n}function ob(r){var t=r.get("data",!0);if(!t)return $c(r.ecModel,"dataset",{index:r.get("datasetIndex",!0),id:r.get("datasetId",!0)},fs).models[0]}function rk(r){return!r.get("transform",!0)&&!r.get("fromTransformResult",!0)?[]:$c(r.ecModel,"dataset",{index:r.get("fromDatasetIndex",!0),id:r.get("fromDatasetId",!0)},fs).models}function sb(r,t){return PE(r.data,r.sourceFormat,r.seriesLayoutBy,r.dimensionsDefine,r.startIndex,t)}function PE(r,t,e,n,i,o){var s,l=5;if($u(r))return xu.Not;var f,v;if(n){var C=n[o];Ln(C)?(f=C.name,v=C.type):en(C)&&(f=C)}if(v!=null)return v==="ordinal"?xu.Must:xu.Not;if(t===Qu){var w=r;if(e===hg){for(var x=w[o],Q=0;Q<(x||[]).length&&Q<l;Q++)if((s=Y(x[i+Q]))!=null)return s}else for(var Q=0;Q<w.length&&Q<l;Q++){var R=w[i+Q];if(R&&(s=Y(R[o]))!=null)return s}}else if(t===Ol){var L=r;if(!f)return xu.Not;for(var Q=0;Q<L.length&&Q<l;Q++){var P=L[Q];if(P&&(s=Y(P[f]))!=null)return s}}else if(t===Uh){var M=r;if(!f)return xu.Not;var x=M[f];if(!x||$u(x))return xu.Not;for(var Q=0;Q<x.length&&Q<l;Q++)if((s=Y(x[Q]))!=null)return s}else if(t===Nl)for(var k=r,Q=0;Q<k.length&&Q<l;Q++){var P=k[Q],G=Sd(P);if(!yr(G))return xu.Not;if((s=Y(G[o]))!=null)return s}function Y(re){var ie=en(re);if(re!=null&&Number.isFinite(Number(re))&&re!=="")return ie?xu.Might:xu.Not;if(ie&&re!=="-")return xu.Must}return xu.Not}var ub=mn();function GE(r,t){tc(ub.get(r)==null&&t),ub.set(r,t)}function nk(r,t,e){var n=ub.get(t);if(!n)return e;var i=n(r);return i?e.concat(i):e}var UE=Vi(),ik=Vi(),cb=function(){function r(){}return r.prototype.getColorFromPalette=function(t,e,n){var i=ja(this.get("color",!0)),o=this.get("colorLayer",!0);return hb(this,UE,i,o,t,e,n)},r.prototype.clearColorPalette=function(){jE(this,UE)},r}();function lb(r,t,e,n){var i=ja(r.get(["aria","decal","decals"]));return hb(r,ik,i,null,t,e,n)}function ak(r,t){for(var e=r.length,n=0;n<e;n++)if(r[n].length>t)return r[n];return r[e-1]}function hb(r,t,e,n,i,o,s){o=o||r;var l=t(o),f=l.paletteIdx||0,v=l.paletteNameMap=l.paletteNameMap||{};if(v.hasOwnProperty(i))return v[i];var C=s==null||!n?e:ak(n,s);if(C=C||e,!(!C||!C.length)){var w=C[f];return i&&(v[i]=w),l.paletteIdx=(f+1)%C.length,w}}function jE(r,t){t(r).paletteIdx=0,t(r).paletteNameMap={}}var Op,fg,HE,fb="\0_ec_inner",M1=1,F1=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e,n,i,o,s,l){o=o||{},this.option=null,this._theme=new Ia(o),this._locale=new Ia(s),this._optionManager=l},t.prototype.setOption=function(e,n,i){var o=qE(n);this._optionManager.setOption(e,i,o),this._resetOption(null,o)},t.prototype.resetOption=function(e,n){return this._resetOption(e,qE(n))},t.prototype._resetOption=function(e,n){var i=!1,o=this._optionManager;if(!e||e==="recreate"){var s=o.mountOption(e==="recreate");!this.option||e==="recreate"?HE(this,s):(this.restoreData(),this._mergeOption(s,n)),i=!0}if((e==="timeline"||e==="media")&&this.restoreData(),!e||e==="recreate"||e==="timeline"){var l=o.getTimelineOption(this);l&&(i=!0,this._mergeOption(l,n))}if(!e||e==="recreate"||e==="media"){var f=o.getMediaOption(this);f.length&&Ne(f,function(v){i=!0,this._mergeOption(v,n)},this)}return i},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,n){var i=this.option,o=this._componentsMap,s=this._componentsCount,l=[],f=mn(),v=n&&n.replaceMergeMainTypeMap;tk(this),Ne(e,function(w,x){w!=null&&(Oi.hasClass(x)?x&&(l.push(x),f.set(x,!0)):i[x]=i[x]==null?Bn(w):Kn(i[x],w,!0))}),v&&v.each(function(w,x){Oi.hasClass(x)&&!f.get(x)&&(l.push(x),f.set(x,!0))}),Oi.topologicalTravel(l,Oi.getAllClassMainTypes(),C,this);function C(w){var x=nk(this,w,ja(e[w])),Q=o.get(w),R=Q?v&&v.get(w)?"replaceMerge":"normalMerge":"replaceAll",L=gA(Q,x,R);Cl(L,w,Oi),i[w]=null,o.set(w,null),s.set(w,0);var P=[],M=[],k=0,G;Ne(L,function(Y,re){var ie=Y.existing,le=Y.newOption;if(!le)ie&&(ie.mergeOption({},this),ie.optionUpdated({},!1));else{var pe=w==="series",ve=Oi.getClass(w,Y.keyInfo.subType,!pe);if(!ve)return;if(w==="tooltip"){if(G)return;G=!0}if(ie&&ie.constructor===ve)ie.name=Y.keyInfo.name,ie.mergeOption(le,this),ie.optionUpdated(le,!1);else{var Ee=ar({componentIndex:re},Y.keyInfo);ie=new ve(le,this,this,Ee),ar(ie,Ee),Y.brandNew&&(ie.__requireNewView=!0),ie.init(le,this,this),ie.optionUpdated(null,!0)}}ie?(P.push(ie.option),M.push(ie),k++):(P.push(void 0),M.push(void 0))},this),i[w]=P,o.set(w,M),s.set(w,k),w==="series"&&Op(this)}this._seriesIndices||Op(this)},t.prototype.getOption=function(){var e=Bn(this.option);return Ne(e,function(n,i){if(Oi.hasClass(i)){for(var o=ja(n),s=o.length,l=!1,f=s-1;f>=0;f--)o[f]&&!Dd(o[f])?l=!0:(o[f]=null,!l&&s--);o.length=s,e[i]=o}}),delete e[fb],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,n){var i=this._componentsMap.get(e);if(i){var o=i[n||0];if(o)return o;if(n==null){for(var s=0;s<i.length;s++)if(i[s])return i[s]}}},t.prototype.queryComponents=function(e){var n=e.mainType;if(!n)return[];var i=e.index,o=e.id,s=e.name,l=this._componentsMap.get(n);if(!l||!l.length)return[];var f;return i!=null?(f=[],Ne(ja(i),function(v){l[v]&&f.push(l[v])})):o!=null?f=WE("id",o,l):s!=null?f=WE("name",s,l):f=Ii(l,function(v){return!!v}),Ab(f,e)},t.prototype.findComponents=function(e){var n=e.query,i=e.mainType,o=l(n),s=o?this.queryComponents(o):Ii(this._componentsMap.get(i),function(v){return!!v});return f(Ab(s,e));function l(v){var C=i+"Index",w=i+"Id",x=i+"Name";return v&&(v[C]!=null||v[w]!=null||v[x]!=null)?{mainType:i,index:v[C],id:v[w],name:v[x]}:null}function f(v){return e.filter?Ii(v,e.filter):v}},t.prototype.eachComponent=function(e,n,i){var o=this._componentsMap;if(bn(e)){var s=n,l=e;o.each(function(w,x){for(var Q=0;w&&Q<w.length;Q++){var R=w[Q];R&&l.call(s,x,R,R.componentIndex)}})}else for(var f=en(e)?o.get(e):Ln(e)?this.findComponents(e):null,v=0;f&&v<f.length;v++){var C=f[v];C&&n.call(i,C,C.componentIndex)}},t.prototype.getSeriesByName=function(e){var n=es(e,null);return Ii(this._componentsMap.get("series"),function(i){return!!i&&n!=null&&i.name===n})},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return Ii(this._componentsMap.get("series"),function(n){return!!n&&n.subType===e})},t.prototype.getSeries=function(){return Ii(this._componentsMap.get("series"),function(e){return!!e})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,n){fg(this),Ne(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];e.call(n,o,i)},this)},t.prototype.eachRawSeries=function(e,n){Ne(this._componentsMap.get("series"),function(i){i&&e.call(n,i,i.componentIndex)})},t.prototype.eachSeriesByType=function(e,n,i){fg(this),Ne(this._seriesIndices,function(o){var s=this._componentsMap.get("series")[o];s.subType===e&&n.call(i,s,o)},this)},t.prototype.eachRawSeriesByType=function(e,n,i){return Ne(this.getSeriesByType(e),n,i)},t.prototype.isSeriesFiltered=function(e){return fg(this),this._seriesIndicesMap.get(e.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,n){fg(this);var i=[];Ne(this._seriesIndices,function(o){var s=this._componentsMap.get("series")[o];e.call(n,s,o)&&i.push(o)},this),this._seriesIndices=i,this._seriesIndicesMap=mn(i)},t.prototype.restoreData=function(e){Op(this);var n=this._componentsMap,i=[];n.each(function(o,s){Oi.hasClass(s)&&i.push(s)}),Oi.topologicalTravel(i,Oi.getAllClassMainTypes(),function(o){Ne(n.get(o),function(s){s&&(o!=="series"||!YE(s,e))&&s.restoreData()})})},t.internalField=function(){Op=function(e){var n=e._seriesIndices=[];Ne(e._componentsMap.get("series"),function(i){i&&n.push(i.componentIndex)}),e._seriesIndicesMap=mn(n)},fg=function(e){},HE=function(e,n){e.option={},e.option[fb]=M1,e._componentsMap=mn({series:[]}),e._componentsCount=mn();var i=n.aria;Ln(i)&&i.enabled==null&&(i.enabled=!0),JE(n,e._theme.option),Kn(n,ek,!1),e._mergeOption(n,null)}}(),t}(Ia);function YE(r,t){if(t){var e=t.seriesIndex,n=t.seriesId,i=t.seriesName;return e!=null&&r.componentIndex!==e||n!=null&&r.id!==n||i!=null&&r.name!==i}}function JE(r,t){var e=r.color&&!r.colorLayer;Ne(t,function(n,i){i==="colorLayer"&&e||Oi.hasClass(i)||(typeof n=="object"?r[i]=r[i]?Kn(r[i],n,!1):Bn(n):r[i]==null&&(r[i]=n))})}function WE(r,t,e){if(yr(t)){var n=mn();return Ne(t,function(o){if(o!=null){var s=es(o,null);s!=null&&n.set(o,!0)}}),Ii(e,function(o){return o&&n.get(o[r])})}else{var i=es(t,null);return Ii(e,function(o){return o&&i!=null&&o[r]===i})}}function Ab(r,t){return t.hasOwnProperty("subType")?Ii(r,function(e){return e&&e.subType===t.subType}):r}function qE(r){var t=mn();return r&&Ne(ja(r.replaceMerge),function(e){t.set(e,!0)}),{replaceMergeMainTypeMap:t}}Ea(F1,cb);var ok=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],db=function(){function r(t){Ne(ok,function(e){this[e]=an(t[e],t)},this)}return r}(),gb={},T1=function(){function r(){this._coordinateSystems=[]}return r.prototype.create=function(t,e){var n=[];Ne(gb,function(i,o){var s=i.create(t,e);n=n.concat(s||[])}),this._coordinateSystems=n},r.prototype.update=function(t,e){Ne(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},r.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},r.register=function(t,e){gb[t]=e},r.get=function(t){return gb[t]},r}(),sk=/^(min|max)?(.+)$/,uk=function(){function r(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return r.prototype.setOption=function(t,e,n){t&&(Ne(ja(t.series),function(s){s&&s.data&&$u(s.data)&&Ki(s.data)}),Ne(ja(t.dataset),function(s){s&&s.source&&$u(s.source)&&Ki(s.source)})),t=Bn(t);var i=this._optionBackup,o=ck(t,e,!i);this._newBaseOption=o.baseOption,i?(o.timelineOptions.length&&(i.timelineOptions=o.timelineOptions),o.mediaList.length&&(i.mediaList=o.mediaList),o.mediaDefault&&(i.mediaDefault=o.mediaDefault)):this._optionBackup=o},r.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],Bn(t?e.baseOption:this._newBaseOption)},r.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=Bn(n[i.getCurrentIndex()]))}return e},r.prototype.getMediaOption=function(t){var e=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,o=this._mediaDefault,s=[],l=[];if(!i.length&&!o)return l;for(var f=0,v=i.length;f<v;f++)zE(i[f].query,e,n)&&s.push(f);return!s.length&&o&&(s=[-1]),s.length&&!KE(s,this._currentMediaIndices)&&(l=pr(s,function(C){return Bn(C===-1?o.option:i[C].option)})),this._currentMediaIndices=s,l},r}();function ck(r,t,e){var n=[],i,o,s=r.baseOption,l=r.timeline,f=r.options,v=r.media,C=!!r.media,w=!!(f||l||s&&s.timeline);s?(o=s,o.timeline||(o.timeline=l)):((w||C)&&(r.options=r.media=null),o=r),C&&(yr(v)&&Ne(v,function(Q){Q&&Q.option&&(Q.query?n.push(Q):i||(i=Q))})),x(o),Ne(f,function(Q){return x(Q)}),Ne(n,function(Q){return x(Q.option)});function x(Q){Ne(t,function(R){R(Q,e)})}return{baseOption:o,timelineOptions:f||[],mediaDefault:i,mediaList:n}}function zE(r,t,e){var n={width:t,height:e,aspectratio:t/e},i=!0;return Ne(r,function(o,s){var l=s.match(sk);if(!(!l||!l[1]||!l[2])){var f=l[1],v=l[2].toLowerCase();lk(n[v],o,f)||(i=!1)}}),i}function lk(r,t,e){return e==="min"?r>=t:e==="max"?r<=t:r===t}function KE(r,t){return r.join(",")===t.join(",")}var ah=Ne,Pp=Ln,pb=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function sm(r){var t=r&&r.itemStyle;if(t)for(var e=0,n=pb.length;e<n;e++){var i=pb[e],o=t.normal,s=t.emphasis;o&&o[i]&&(r[i]=r[i]||{},r[i].normal?Kn(r[i].normal,o[i]):r[i].normal=o[i],o[i]=null),s&&s[i]&&(r[i]=r[i]||{},r[i].emphasis?Kn(r[i].emphasis,s[i]):r[i].emphasis=s[i],s[i]=null)}}function Wu(r,t,e){if(r&&r[t]&&(r[t].normal||r[t].emphasis)){var n=r[t].normal,i=r[t].emphasis;n&&(e?(r[t].normal=r[t].emphasis=null,pn(r[t],n)):r[t]=n),i&&(r.emphasis=r.emphasis||{},r.emphasis[t]=i,i.focus&&(r.emphasis.focus=i.focus),i.blurScope&&(r.emphasis.blurScope=i.blurScope))}}function Gp(r){Wu(r,"itemStyle"),Wu(r,"lineStyle"),Wu(r,"areaStyle"),Wu(r,"label"),Wu(r,"labelLine"),Wu(r,"upperLabel"),Wu(r,"edgeLabel")}function Fo(r,t){var e=Pp(r)&&r[t],n=Pp(e)&&e.textStyle;if(n)for(var i=0,o=kw.length;i<o;i++){var s=kw[i];n.hasOwnProperty(s)&&(e[s]=n[s])}}function ps(r){r&&(Gp(r),Fo(r,"label"),r.emphasis&&Fo(r.emphasis,"label"))}function VE(r){if(Pp(r)){sm(r),Gp(r),Fo(r,"label"),Fo(r,"upperLabel"),Fo(r,"edgeLabel"),r.emphasis&&(Fo(r.emphasis,"label"),Fo(r.emphasis,"upperLabel"),Fo(r.emphasis,"edgeLabel"));var t=r.markPoint;t&&(sm(t),ps(t));var e=r.markLine;e&&(sm(e),ps(e));var n=r.markArea;n&&ps(n);var i=r.data;if(r.type==="graph"){i=i||r.nodes;var o=r.links||r.edges;if(o&&!$u(o))for(var s=0;s<o.length;s++)ps(o[s]);Ne(r.categories,function(v){Gp(v)})}if(i&&!$u(i))for(var s=0;s<i.length;s++)ps(i[s]);if(t=r.markPoint,t&&t.data)for(var l=t.data,s=0;s<l.length;s++)ps(l[s]);if(e=r.markLine,e&&e.data)for(var f=e.data,s=0;s<f.length;s++)yr(f[s])?(ps(f[s][0]),ps(f[s][1])):ps(f[s]);r.type==="gauge"?(Fo(r,"axisLabel"),Fo(r,"title"),Fo(r,"detail")):r.type==="treemap"?(Wu(r.breadcrumb,"itemStyle"),Ne(r.levels,function(v){Gp(v)})):r.type==="tree"&&Gp(r.leaves)}}function Zs(r){return yr(r)?r:r?[r]:[]}function ZE(r){return(yr(r)?r[0]:r)||{}}function XE(r,t){ah(Zs(r.series),function(n){Pp(n)&&VE(n)});var e=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&e.push("valueAxis","categoryAxis","logAxis","timeAxis"),ah(e,function(n){ah(Zs(r[n]),function(i){i&&(Fo(i,"axisLabel"),Fo(i.axisPointer,"label"))})}),ah(Zs(r.parallel),function(n){var i=n&&n.parallelAxisDefault;Fo(i,"axisLabel"),Fo(i&&i.axisPointer,"label")}),ah(Zs(r.calendar),function(n){Wu(n,"itemStyle"),Fo(n,"dayLabel"),Fo(n,"monthLabel"),Fo(n,"yearLabel")}),ah(Zs(r.radar),function(n){Fo(n,"name"),n.name&&n.axisName==null&&(n.axisName=n.name,delete n.name),n.nameGap!=null&&n.axisNameGap==null&&(n.axisNameGap=n.nameGap,delete n.nameGap)}),ah(Zs(r.geo),function(n){Pp(n)&&(ps(n),ah(Zs(n.regions),function(i){ps(i)}))}),ah(Zs(r.timeline),function(n){ps(n),Wu(n,"label"),Wu(n,"itemStyle"),Wu(n,"controlStyle",!0);var i=n.data;yr(i)&&Ne(i,function(o){Ln(o)&&(Wu(o,"label"),Wu(o,"itemStyle"))})}),ah(Zs(r.toolbox),function(n){Wu(n,"iconStyle"),ah(n.feature,function(i){Wu(i,"iconStyle")})}),Fo(ZE(r.axisPointer),"label"),Fo(ZE(r.tooltip).axisPointer,"label")}function hk(r,t){for(var e=t.split(","),n=r,i=0;i<e.length&&(n=n&&n[e[i]],n!=null);i++);return n}function fk(r,t,e,n){for(var i=t.split(","),o=r,s,l=0;l<i.length-1;l++)s=i[l],o[s]==null&&(o[s]={}),o=o[s];o[i[l]]==null&&(o[i[l]]=e)}function $E(r){r&&Ne(eB,function(t){t[0]in r&&!(t[1]in r)&&(r[t[1]]=r[t[0]])})}var eB=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],vb=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],L1=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function N1(r){var t=r&&r.itemStyle;if(t)for(var e=0;e<L1.length;e++){var n=L1[e][1],i=L1[e][0];t[n]!=null&&(t[i]=t[n])}}function yb(r){r&&r.alignTo==="edge"&&r.margin!=null&&r.edgeDistance==null&&(r.edgeDistance=r.margin)}function oh(r){r&&r.downplay&&!r.blur&&(r.blur=r.downplay)}function Ak(r){r&&r.focusNodeAdjacency!=null&&(r.emphasis=r.emphasis||{},r.emphasis.focus==null&&(r.emphasis.focus="adjacency"))}function tB(r,t){if(r)for(var e=0;e<r.length;e++)t(r[e]),r[e]&&tB(r[e].children,t)}function rB(r,t){XE(r,t),r.series=ja(r.series),Ne(r.series,function(e){if(Ln(e)){var n=e.type;if(n==="line")e.clipOverflow!=null&&(e.clip=e.clipOverflow);else if(n==="pie"||n==="gauge"){e.clockWise!=null&&(e.clockwise=e.clockWise),yb(e.label);var i=e.data;if(i&&!$u(i))for(var o=0;o<i.length;o++)yb(i[o]);e.hoverOffset!=null&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if(n==="gauge"){var s=hk(e,"pointer.color");s!=null&&fk(e,"itemStyle.color",s)}else if(n==="bar"){N1(e),N1(e.backgroundStyle),N1(e.emphasis);var i=e.data;if(i&&!$u(i))for(var o=0;o<i.length;o++)typeof i[o]=="object"&&(N1(i[o]),N1(i[o]&&i[o].emphasis))}else if(n==="sunburst"){var l=e.highlightPolicy;l&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=l)),oh(e),tB(e.data,oh)}else n==="graph"||n==="sankey"?Ak(e):n==="map"&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&pn(e,e.mapLocation));e.hoverAnimation!=null&&(e.emphasis=e.emphasis||{},e.emphasis&&e.emphasis.scale==null&&(e.emphasis.scale=e.hoverAnimation)),$E(e)}}),r.dataRange&&(r.visualMap=r.dataRange),Ne(vb,function(e){var n=r[e];n&&(yr(n)||(n=[n]),Ne(n,function(i){$E(i)}))})}function dk(r){var t=mn();r.eachSeries(function(e){var n=e.get("stack");if(n){var i=t.get(n)||t.set(n,[]),o=e.getData(),s={stackResultDimension:o.getCalculationInfo("stackResultDimension"),stackedOverDimension:o.getCalculationInfo("stackedOverDimension"),stackedDimension:o.getCalculationInfo("stackedDimension"),stackedByDimension:o.getCalculationInfo("stackedByDimension"),isStackedByIndex:o.getCalculationInfo("isStackedByIndex"),data:o,seriesModel:e};if(!s.stackedDimension||!(s.isStackedByIndex||s.stackedByDimension))return;i.length&&o.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(s)}}),t.each(gk)}function gk(r){Ne(r,function(t,e){var n=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],s=t.data,l=t.isStackedByIndex,f=t.seriesModel.get("stackStrategy")||"samesign";s.modify(o,function(v,C,w){var x=s.get(t.stackedDimension,w);if(isNaN(x))return i;var Q,R;l?R=s.getRawIndex(w):Q=s.get(t.stackedByDimension,w);for(var L=NaN,P=e-1;P>=0;P--){var M=r[P];if(l||(R=M.data.rawIndexOf(M.stackedByDimension,Q)),R>=0){var k=M.data.getByRawIndex(M.stackResultDimension,R);if(f==="all"||f==="positive"&&k>0||f==="negative"&&k<0||f==="samesign"&&x>=0&&k>0||f==="samesign"&&x<=0&&k<0){x=dy(x,k),L=k;break}}}return n[0]=x,n[1]=L,n})})}var um=function(){function r(t){this.data=t.data||(t.sourceFormat===Uh?{}:[]),this.sourceFormat=t.sourceFormat||om,this.seriesLayoutBy=t.seriesLayoutBy||ih,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];i.type==null&&sb(this,n)===xu.Must&&(i.type="ordinal")}}return r}();function Fc(r){return r instanceof um}function Up(r,t,e){e=e||Ib(r);var n=t.seriesLayoutBy,i=pk(r,e,n,t.sourceHeader,t.dimensions),o=new um({data:r,sourceFormat:e,seriesLayoutBy:n,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:Bn(t)});return o}function mb(r){return new um({data:r,sourceFormat:$u(r)?GA:Nl})}function nB(r){return new um({data:r.data,sourceFormat:r.sourceFormat,seriesLayoutBy:r.seriesLayoutBy,dimensionsDefine:Bn(r.dimensionsDefine),startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount})}function Ib(r){var t=om;if($u(r))t=GA;else if(yr(r)){r.length===0&&(t=Qu);for(var e=0,n=r.length;e<n;e++){var i=r[e];if(i!=null){if(yr(i)||$u(i)){t=Qu;break}else if(Ln(i)){t=Ol;break}}}}else if(Ln(r)){for(var o in r)if(ln(r,o)&&bo(r[o])){t=Uh;break}}return t}function pk(r,t,e,n,i){var o,s;if(!r)return{dimensionsDefine:aB(i),startIndex:s,dimensionsDetectedCount:o};if(t===Qu){var l=r;n==="auto"||n==null?jp(function(v){v!=null&&v!=="-"&&(en(v)?s==null&&(s=1):s=0)},e,l,10):s=$i(n)?n:n?1:0,!i&&s===1&&(i=[],jp(function(v,C){i[C]=v!=null?v+"":""},e,l,1/0)),o=i?i.length:e===hg?l.length:l[0]?l[0].length:null}else if(t===Ol)i||(i=iB(r));else if(t===Uh)i||(i=[],Ne(r,function(v,C){i.push(C)}));else if(t===Nl){var f=Sd(r[0]);o=yr(f)&&f.length||1}return{startIndex:s,dimensionsDefine:aB(i),dimensionsDetectedCount:o}}function iB(r){for(var t=0,e;t<r.length&&!(e=r[t++]););if(e)return fi(e)}function aB(r){if(r){var t=mn();return pr(r,function(e,n){e=Ln(e)?e:{name:e};var i={name:e.name,displayName:e.displayName,type:e.type};if(i.name==null)return i;i.name+="",i.displayName==null&&(i.displayName=i.name);var o=t.get(i.name);return o?i.name+="-"+o.count++:t.set(i.name,{count:1}),i})}}function jp(r,t,e,n){if(t===hg)for(var i=0;i<e.length&&i<n;i++)r(e[i]?e[i][0]:null,i);else for(var o=e[0]||[],i=0;i<o.length&&i<n;i++)r(o[i],i)}function Hp(r){var t=r.sourceFormat;return t===Ol||t===Uh}var un,sh,Ag,cm,oB,sB=function(){function r(t,e){var n=Fc(t)?t:mb(t);this._source=n;var i=this._data=n.data;n.sourceFormat===GA&&(this._offset=0,this._dimSize=e,this._data=i),oB(this,i,n)}return r.prototype.getSource=function(){return this._source},r.prototype.count=function(){return 0},r.prototype.getItem=function(t,e){},r.prototype.appendData=function(t){},r.prototype.clean=function(){},r.protoInitialize=function(){var t=r.prototype;t.pure=!1,t.persistent=!0}(),r.internalField=function(){var t;oB=function(s,l,f){var v=f.sourceFormat,C=f.seriesLayoutBy,w=f.startIndex,x=f.dimensionsDefine,Q=cm[fm(v,C)];if(ar(s,Q),v===GA)s.getItem=e,s.count=i,s.fillStorage=n;else{var R=cB(v,C);s.getItem=an(R,null,l,w,x);var L=hB(v,C);s.count=an(L,null,l,w,x)}};var e=function(s,l){s=s-this._offset,l=l||[];for(var f=this._data,v=this._dimSize,C=v*s,w=0;w<v;w++)l[w]=f[C+w];return l},n=function(s,l,f,v){for(var C=this._data,w=this._dimSize,x=0;x<w;x++){for(var Q=v[x],R=Q[0]==null?1/0:Q[0],L=Q[1]==null?-1/0:Q[1],P=l-s,M=f[x],k=0;k<P;k++){var G=C[k*w+x];M[s+k]=G,G<R&&(R=G),G>L&&(L=G)}Q[0]=R,Q[1]=L}},i=function(){return this._data?this._data.length/this._dimSize:0};cm=(t={},t[Qu+"_"+ih]={pure:!0,appendData:o},t[Qu+"_"+hg]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Ol]={pure:!0,appendData:o},t[Uh]={pure:!0,appendData:function(s){var l=this._data;Ne(s,function(f,v){for(var C=l[v]||(l[v]=[]),w=0;w<(f||[]).length;w++)C.push(f[w])})}},t[Nl]={appendData:o},t[GA]={persistent:!1,pure:!0,appendData:function(s){this._data=s},clean:function(){this._offset+=this.count(),this._data=null}},t);function o(s){for(var l=0;l<s.length;l++)this._data.push(s[l])}}(),r}(),uB=function(r,t,e,n){return r[n]},bb=(un={},un[Qu+"_"+ih]=function(r,t,e,n){return r[n+t]},un[Qu+"_"+hg]=function(r,t,e,n,i){n+=t;for(var o=i||[],s=r,l=0;l<s.length;l++){var f=s[l];o[l]=f?f[n]:null}return o},un[Ol]=uB,un[Uh]=function(r,t,e,n,i){for(var o=i||[],s=0;s<e.length;s++){var l=e[s].name,f=r[l];o[s]=f?f[n]:null}return o},un[Nl]=uB,un);function cB(r,t){var e=bb[fm(r,t)];return e}var Cb=function(r,t,e){return r.length},lB=(sh={},sh[Qu+"_"+ih]=function(r,t,e){return Math.max(0,r.length-t)},sh[Qu+"_"+hg]=function(r,t,e){var n=r[0];return n?Math.max(0,n.length-t):0},sh[Ol]=Cb,sh[Uh]=function(r,t,e){var n=e[0].name,i=r[n];return i?i.length:0},sh[Nl]=Cb,sh);function hB(r,t){var e=lB[fm(r,t)];return e}var wb=function(r,t,e){return r[t]},lm=(Ag={},Ag[Qu]=wb,Ag[Ol]=function(r,t,e){return r[e]},Ag[Uh]=wb,Ag[Nl]=function(r,t,e){var n=Sd(r);return n instanceof Array?n[t]:n},Ag[GA]=wb,Ag);function hm(r){var t=lm[r];return t}function fm(r,t){return r===Qu?r+"_"+t:r}function Yp(r,t,e){if(r){var n=r.getRawDataItem(t);if(n!=null){var i=r.getStore(),o=i.getSource().sourceFormat;if(e!=null){var s=r.getDimensionIndex(e),l=i.getDimensionProperty(s);return hm(o)(n,s,l)}else{var f=n;return o===Nl&&(f=Sd(n)),f}}}}var fB=/\{@(.+?)\}/g,O1=function(){function r(){}return r.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),o=n.getRawIndex(t),s=n.getName(t),l=n.getRawDataItem(t),f=n.getItemVisual(t,"style"),v=f&&f[n.getItemVisual(t,"drawType")||"fill"],C=f&&f.stroke,w=this.mainType,x=w==="series",Q=n.userOutput&&n.userOutput.get();return{componentType:w,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:x?this.subType:null,seriesIndex:this.seriesIndex,seriesId:x?this.id:null,seriesName:x?this.name:null,name:s,dataIndex:o,data:l,dataType:e,value:i,color:v,borderColor:C,dimensionNames:Q?Q.fullDimensions:null,encode:Q?Q.encode:null,$vars:["seriesName","name","value"]}},r.prototype.getFormattedLabel=function(t,e,n,i,o,s){e=e||"normal";var l=this.getData(n),f=this.getDataParams(t,n);if(s&&(f.value=s.interpolatedValue),i!=null&&yr(f.value)&&(f.value=f.value[i]),!o){var v=l.getItemModel(t);o=v.get(e==="normal"?["label","formatter"]:[e,"label","formatter"])}if(bn(o))return f.status=e,f.dimensionIndex=i,o(f);if(en(o)){var C=S1(o,f);return C.replace(fB,function(w,x){var Q=x.length,R=x;R.charAt(0)==="["&&R.charAt(Q-1)==="]"&&(R=+R.slice(1,Q-1));var L=Yp(l,t,R);if(s&&yr(s.interpolatedValue)){var P=l.getDimensionIndex(R);P>=0&&(L=s.interpolatedValue[P])}return L!=null?L+"":""})}},r.prototype.getRawValue=function(t,e){return Yp(this.getData(e),t)},r.prototype.formatTooltip=function(t,e,n){},r}();function xf(r){var t,e;return Ln(r)?r.type&&(e=r):t=r,{text:t,frag:e}}function dg(r){return new vk(r)}var vk=function(){function r(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return r.prototype.perform=function(t){var e=this._upstream,n=t&&t.skip;if(this._dirty&&e){var i=this.context;i.data=i.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var o;this._plan&&!n&&(o=this._plan(this.context));var s=C(this._modBy),l=this._modDataCount||0,f=C(t&&t.modBy),v=t&&t.modDataCount||0;(s!==f||l!==v)&&(o="reset");function C(k){return!(k>=1)&&(k=1),k}var w;(this._dirty||o==="reset")&&(this._dirty=!1,w=this._doReset(n)),this._modBy=f,this._modDataCount=v;var x=t&&t.step;if(e?this._dueEnd=e._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var Q=this._dueIndex,R=Math.min(x!=null?this._dueIndex+x:1/0,this._dueEnd);if(!n&&(w||Q<R)){var L=this._progress;if(yr(L))for(var P=0;P<L.length;P++)this._doProgress(L[P],Q,R,f,v);else this._doProgress(L,Q,R,f,v)}this._dueIndex=R;var M=this._settedOutputEnd!=null?this._settedOutputEnd:R;this._outputDueEnd=M}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},r.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},r.prototype._doProgress=function(t,e,n,i,o){jh.reset(e,n,i,o),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:jh.next},this.context)},r.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var e,n;!t&&this._reset&&(e=this._reset(this.context),e&&e.progress&&(n=e.forceFirstProgress,e=e.progress),yr(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},r.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},r.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},r.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},r.prototype.getUpstream=function(){return this._upstream},r.prototype.getDownstream=function(){return this._downstream},r.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},r}(),jh=function(){var r,t,e,n,i,o={reset:function(f,v,C,w){t=f,r=v,e=C,n=w,i=Math.ceil(n/e),o.next=e>1&&n>0?l:s}};return o;function s(){return t<r?t++:null}function l(){var f=t%i*e+Math.ceil(t/i),v=t>=r?null:f<n?f:t;return t++,v}}();function Sf(r,t){var e=t&&t.type;return e==="ordinal"?r:(e==="time"&&!$i(r)&&r!=null&&r!=="-"&&(r=+Bc(r)),r==null||r===""?NaN:Number(r))}var P1=mn({number:function(r){return parseFloat(r)},time:function(r){return+Bc(r)},trim:function(r){return en(r)?Wl(r):r}});function ro(r){return P1.get(r)}var qo={lt:function(r,t){return r<t},lte:function(r,t){return r<=t},gt:function(r,t){return r>t},gte:function(r,t){return r>=t}},qa=function(){function r(t,e){if(!$i(e)){var n="";Ba(n)}this._opFn=qo[t],this._rvalFloat=kc(e)}return r.prototype.evaluate=function(t){return $i(t)?this._opFn(t,this._rvalFloat):this._opFn(kc(t),this._rvalFloat)},r}(),Au=function(){function r(t,e){var n=t==="desc";this._resultLT=n?1:-1,e==null&&(e=n?"min":"max"),this._incomparable=e==="min"?-1/0:1/0}return r.prototype.evaluate=function(t,e){var n=$i(t)?t:kc(t),i=$i(e)?e:kc(e),o=isNaN(n),s=isNaN(i);if(o&&(n=this._incomparable),s&&(i=this._incomparable),o&&s){var l=en(t),f=en(e);l&&(n=f?t:0),f&&(i=l?e:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},r}(),Eb=function(){function r(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=kc(e)}return r.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n!==this._rvalTypeof&&(n==="number"||this._rvalTypeof==="number")&&(e=kc(t)===this._rvalFloat)}return this._isEQ?e:!e},r}();function Pl(r,t){return r==="eq"||r==="ne"?new Eb(r==="eq",t):ln(qo,r)?new qa(r,t):null}var Jp=function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(t){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(t){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(t,e){},r.prototype.retrieveValueFromItem=function(t,e){},r.prototype.convertValue=function(t,e){return Sf(t,e)},r}();function yk(r,t){var e=new Jp,n=r.data,i=e.sourceFormat=r.sourceFormat,o=r.startIndex,s="";r.seriesLayoutBy!==ih&&Ba(s);var l=[],f={},v=r.dimensionsDefine;if(v)Ne(v,function(L,P){var M=L.name,k={index:P,name:M,displayName:L.displayName};if(l.push(k),M!=null){var G="";ln(f,M)&&Ba(G),f[M]=k}});else for(var C=0;C<r.dimensionsDetectedCount;C++)l.push({index:C});var w=cB(i,ih);t.__isBuiltIn&&(e.getRawDataItem=function(L){return w(n,o,l,L)},e.getRawData=an(Gl,null,r)),e.cloneRawData=an(Wp,null,r);var x=hB(i,ih);e.count=an(x,null,n,o,l);var Q=hm(i);e.retrieveValue=function(L,P){var M=w(n,o,l,L);return R(M,P)};var R=e.retrieveValueFromItem=function(L,P){if(L!=null){var M=l[P];if(M)return Q(L,P,M.name)}};return e.getDimensionInfo=an(mk,null,l,f),e.cloneAllDimensionInfo=an(Bb,null,l),e}function Gl(r){var t=r.sourceFormat;if(!kb(t)){var e="";Ba(e)}return r.data}function Wp(r){var t=r.sourceFormat,e=r.data;if(!kb(t)){var n="";Ba(n)}if(t===Qu){for(var i=[],o=0,s=e.length;o<s;o++)i.push(e[o].slice());return i}else if(t===Ol){for(var i=[],o=0,s=e.length;o<s;o++)i.push(ar({},e[o]));return i}}function mk(r,t,e){if(e!=null){if($i(e)||!isNaN(e)&&!ln(t,e))return r[e];if(ln(t,e))return t[e]}}function Bb(r){return Bn(r)}var Am=mn();function Ik(r){r=Bn(r);var t=r.type,e="";t||Ba(e);var n=t.split(":");n.length!==2&&Ba(e);var i=!1;n[0]==="echarts"&&(t=n[1],i=!0),r.__isBuiltIn=i,Am.set(t,r)}function qu(r,t,e){var n=ja(r),i=n.length,o="";i||Ba(o);for(var s=0,l=i;s<l;s++){var f=n[s];t=AB(f,t),s!==l-1&&(t.length=Math.max(t.length,1))}return t}function AB(r,t,e,n){var i="";t.length||Ba(i),Ln(r)||Ba(i);var o=r.type,s=Am.get(o);s||Ba(i);var l=pr(t,function(v){return yk(v,s)}),f=ja(s.transform({upstream:l[0],upstreamList:l,config:Bn(r.config)}));return pr(f,function(v,C){var w="";Ln(v)||Ba(w),v.data||Ba(w);var x=Ib(v.data);kb(x)||Ba(w);var Q,R=t[0];if(R&&C===0&&!v.dimensions){var L=R.startIndex;L&&(v.data=R.data.slice(0,L).concat(v.data)),Q={seriesLayoutBy:ih,sourceHeader:L,dimensions:R.metaRawOption.dimensions}}else Q={seriesLayoutBy:ih,sourceHeader:0,dimensions:v.dimensions};return Up(v.data,Q,null)})}function kb(r){return r===Qu||r===Ol}var dm="undefined",bk=typeof Uint32Array===dm?Array:Uint32Array,Qb=typeof Uint16Array===dm?Array:Uint16Array,dB=typeof Int32Array===dm?Array:Int32Array,xb=typeof Float64Array===dm?Array:Float64Array,gm={float:xb,int:dB,ordinal:Array,number:Array,time:xb},G1;function qp(r){return r>65535?bk:Qb}function Rs(){return[1/0,-1/0]}function Ck(r){var t=r.constructor;return t===Array?r.slice():new t(r)}function gB(r,t,e,n,i){var o=gm[e||"float"];if(i){var s=r[t],l=s&&s.length;if(l!==n){for(var f=new o(n),v=0;v<l;v++)f[v]=s[v];r[t]=f}}else r[t]=new o(n)}var Sb=function(){function r(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=mn()}return r.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),o=this.defaultDimValueGetter=G1[i.sourceFormat];this._dimValueGetter=n||o,this._rawExtent=[],Hp(i),this._dimensions=pr(e,function(s){return{type:s.type,property:s.property}}),this._initDataFromProvider(0,t.count())},r.prototype.getProvider=function(){return this._provider},r.prototype.getSource=function(){return this._provider.getSource()},r.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,o=n.get(t);if(o!=null){if(i[o].type===e)return o}else o=i.length;return i[o]={type:e},n.set(t,o),this._chunks[o]=new gm[e||"float"](this._rawCount),this._rawExtent[o]=Rs(),o},r.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],o=this._rawExtent,s=i.ordinalOffset||0,l=n.length;s===0&&(o[t]=Rs());for(var f=o[t],v=s;v<l;v++){var C=n[v]=e.parseAndCollect(n[v]);isNaN(C)||(f[0]=Math.min(C,f[0]),f[1]=Math.max(C,f[1]))}i.ordinalMeta=e,i.ordinalOffset=l,i.type="ordinal"},r.prototype.getOrdinalMeta=function(t){var e=this._dimensions[t],n=e.ordinalMeta;return n},r.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},r.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},r.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,o=i.length,s=this._rawExtent,l=this.count(),f=l+Math.max(t.length,e||0),v=0;v<o;v++){var C=i[v];gB(n,v,C.type,f,!0)}for(var w=[],x=l;x<f;x++)for(var Q=x-l,R=0;R<o;R++){var C=i[R],L=G1.arrayRows.call(this,t[Q]||w,C.property,Q,R);n[R][x]=L;var P=s[R];L<P[0]&&(P[0]=L),L>P[1]&&(P[1]=L)}return this._rawCount=this._count=f,{start:l,end:f}},r.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,s=this._dimensions,l=s.length,f=this._rawExtent,v=pr(s,function(k){return k.property}),C=0;C<l;C++){var w=s[C];f[C]||(f[C]=Rs()),gB(o,C,w.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,f);else for(var x=[],Q=t;Q<e;Q++){x=i.getItem(Q,x);for(var R=0;R<l;R++){var L=o[R],P=this._dimValueGetter(x,v[R],Q,R);L[Q]=P;var M=f[R];P<M[0]&&(M[0]=P),P>M[1]&&(M[1]=P)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},r.prototype.getValues=function(t,e){var n=[],i=[];if(e==null){e=t,t=[];for(var o=0;o<this._dimensions.length;o++)i.push(o)}else i=t;for(var o=0,s=i.length;o<s;o++)n.push(this.get(i[o],e));return n},r.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},r.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,o=this.count();i<o;i++){var s=this.get(t,i);isNaN(s)||(n+=s)}return n},r.prototype.getMedian=function(t){var e=[];this.each([t],function(o){isNaN(o)||e.push(o)});var n=e.sort(function(o,s){return o-s}),i=this.count();return i===0?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},r.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(n!=null&&n<this._count&&n===t)return t;for(var i=0,o=this._count-1;i<=o;){var s=(i+o)/2|0;if(e[s]<t)i=s+1;else if(e[s]>t)o=s-1;else return s}return-1},r.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks,o=i[t],s=[];if(!o)return s;n==null&&(n=1/0);for(var l=1/0,f=-1,v=0,C=0,w=this.count();C<w;C++){var x=this.getRawIndex(C),Q=e-o[x],R=Math.abs(Q);R<=n&&((R<l||R===l&&Q>=0&&f<0)&&(l=R,f=Q,v=0),Q===f&&(s[v++]=C))}return s.length=v,s},r.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var o=0;o<i;o++)t[o]=e[o]}else t=new n(e.buffer,0,i)}else{var n=qp(this._rawCount);t=new n(this.count());for(var o=0;o<t.length;o++)t[o]=o}return t},r.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),o=qp(n._rawCount),s=new o(i),l=[],f=t.length,v=0,C=t[0],w=n._chunks,x=0;x<i;x++){var Q=void 0,R=n.getRawIndex(x);if(f===0)Q=e(x);else if(f===1){var L=w[C][R];Q=e(L,x)}else{for(var P=0;P<f;P++)l[P]=w[t[P]][R];l[P]=x,Q=e.apply(null,l)}Q&&(s[v++]=R)}return v<i&&(n._indices=s),n._count=v,n._extent=[],n._updateGetRawIdx(),n},r.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=fi(t),o=i.length;if(!o)return this;var s=e.count(),l=qp(e._rawCount),f=new l(s),v=0,C=i[0],w=t[C][0],x=t[C][1],Q=e._chunks,R=!1;if(!e._indices){var L=0;if(o===1){for(var P=Q[i[0]],M=0;M<n;M++){var k=P[M];(k>=w&&k<=x||isNaN(k))&&(f[v++]=L),L++}R=!0}else if(o===2){for(var P=Q[i[0]],G=Q[i[1]],Y=t[i[1]][0],re=t[i[1]][1],M=0;M<n;M++){var k=P[M],ie=G[M];(k>=w&&k<=x||isNaN(k))&&(ie>=Y&&ie<=re||isNaN(ie))&&(f[v++]=L),L++}R=!0}}if(!R)if(o===1)for(var M=0;M<s;M++){var le=e.getRawIndex(M),k=Q[i[0]][le];(k>=w&&k<=x||isNaN(k))&&(f[v++]=le)}else for(var M=0;M<s;M++){for(var pe=!0,le=e.getRawIndex(M),ve=0;ve<o;ve++){var Ee=i[ve],k=Q[Ee][le];(k<t[Ee][0]||k>t[Ee][1])&&(pe=!1)}pe&&(f[v++]=e.getRawIndex(M))}return v<s&&(e._indices=f),e._count=v,e._extent=[],e._updateGetRawIdx(),e},r.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},r.prototype.modify=function(t,e){this._updateDims(this,t,e)},r.prototype._updateDims=function(t,e,n){for(var i=t._chunks,o=[],s=e.length,l=t.count(),f=[],v=t._rawExtent,C=0;C<e.length;C++)v[e[C]]=Rs();for(var w=0;w<l;w++){for(var x=t.getRawIndex(w),Q=0;Q<s;Q++)f[Q]=i[e[Q]][x];f[s]=w;var R=n&&n.apply(null,f);if(R!=null){typeof R!="object"&&(o[0]=R,R=o);for(var C=0;C<R.length;C++){var L=e[C],P=R[C],M=v[L],k=i[L];k&&(k[x]=P),P<M[0]&&(M[0]=P),P>M[1]&&(M[1]=P)}}}},r.prototype.lttbDownSample=function(t,e){var n=this.clone([t],!0),i=n._chunks,o=i[t],s=this.count(),l=0,f=Math.floor(1/e),v=this.getRawIndex(0),C,w,x,Q=new(qp(this._rawCount))(Math.min((Math.ceil(s/f)+2)*2,s));Q[l++]=v;for(var R=1;R<s-1;R+=f){for(var L=Math.min(R+f,s-1),P=Math.min(R+f*2,s),M=(P+L)/2,k=0,G=L;G<P;G++){var Y=this.getRawIndex(G),re=o[Y];isNaN(re)||(k+=re)}k/=P-L;var ie=R,le=Math.min(R+f,s),pe=R-1,ve=o[v];C=-1,x=ie;for(var Ee=-1,Se=0,G=ie;G<le;G++){var Y=this.getRawIndex(G),re=o[Y];if(isNaN(re)){Se++,Ee<0&&(Ee=Y);continue}w=Math.abs((pe-M)*(re-ve)-(pe-G)*(k-ve)),w>C&&(C=w,x=Y)}Se>0&&Se<le-ie&&(Q[l++]=Math.min(Ee,x),x=Math.max(Ee,x)),Q[l++]=x,v=x}return Q[l++]=this.getRawIndex(s-1),n._count=l,n._indices=Q,n.getRawIndex=this._getRawIdx,n},r.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,o=Math.floor(1/e),s=i[t],l=this.count(),f=new(qp(this._rawCount))(Math.ceil(l/o)*2),v=0,C=0;C<l;C+=o){var w=C,x=s[this.getRawIndex(w)],Q=C,R=s[this.getRawIndex(Q)],L=o;C+o>l&&(L=l-C);for(var P=0;P<L;P++){var M=this.getRawIndex(C+P),k=s[M];k<x&&(x=k,w=C+P),k>R&&(R=k,Q=C+P)}var G=this.getRawIndex(w),Y=this.getRawIndex(Q);w<Q?(f[v++]=G,f[v++]=Y):(f[v++]=Y,f[v++]=G)}return n._count=v,n._indices=f,n._updateGetRawIdx(),n},r.prototype.downSample=function(t,e,n,i){for(var o=this.clone([t],!0),s=o._chunks,l=[],f=Math.floor(1/e),v=s[t],C=this.count(),w=o._rawExtent[t]=Rs(),x=new(qp(this._rawCount))(Math.ceil(C/f)),Q=0,R=0;R<C;R+=f){f>C-R&&(f=C-R,l.length=f);for(var L=0;L<f;L++){var P=this.getRawIndex(R+L);l[L]=v[P]}var M=n(l),k=this.getRawIndex(Math.min(R+i(l,M)||0,C-1));v[k]=M,M<w[0]&&(w[0]=M),M>w[1]&&(w[1]=M),x[Q++]=k}return o._count=Q,o._indices=x,o._updateGetRawIdx(),o},r.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,o=0,s=this.count();o<s;o++){var l=this.getRawIndex(o);switch(n){case 0:e(o);break;case 1:e(i[t[0]][l],o);break;case 2:e(i[t[0]][l],i[t[1]][l],o);break;default:for(var f=0,v=[];f<n;f++)v[f]=i[t[f]][l];v[f]=o,e.apply(null,v)}}},r.prototype.getDataExtent=function(t){var e=this._chunks[t],n=Rs();if(!e)return n;var i=this.count(),o=!this._indices,s;if(o)return this._rawExtent[t].slice();if(s=this._extent[t],s)return s.slice();s=n;for(var l=s[0],f=s[1],v=0;v<i;v++){var C=this.getRawIndex(v),w=e[C];w<l&&(l=w),w>f&&(f=w)}return s=[l,f],this._extent[t]=s,s},r.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,o=0;o<i.length;o++)n.push(i[o][e]);return n},r.prototype.clone=function(t,e){var n=new r,i=this._chunks,o=t&&xa(t,function(l,f){return l[f]=!0,l},{});if(o)for(var s=0;s<i.length;s++)n._chunks[s]=o[s]?Ck(i[s]):i[s];else n._chunks=i;return this._copyCommonProps(n),e||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},r.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Bn(this._extent),t._rawExtent=Bn(this._rawExtent)},r.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},r.prototype._getRawIdxIdentity=function(t){return t},r.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=function(){function t(e,n,i,o){return Sf(e[o],this._dimensions[o])}G1={arrayRows:t,objectRows:function(e,n,i,o){return Sf(e[n],this._dimensions[o])},keyedColumns:t,original:function(e,n,i,o){var s=e&&(e.value==null?e:e.value);return Sf(s instanceof Array?s[o]:s,this._dimensions[o])},typedArray:function(e,n,i,o){return e[o]}}}(),r}(),pm=function(){function r(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,e=this._getUpstreamSourceManagers(),n=!!e.length,i,o;if(zp(t)){var s=t,l=void 0,f=void 0,v=void 0;if(n){var C=e[0];C.prepareSource(),v=C.getSource(),l=v.data,f=v.sourceFormat,o=[C._getVersionSign()]}else l=s.get("data",!0),f=$u(l)?GA:Nl,o=[];var w=this._getSourceMetaRawOption()||{},x=v&&v.metaRawOption||{},Q=$n(w.seriesLayoutBy,x.seriesLayoutBy)||null,R=$n(w.sourceHeader,x.sourceHeader),L=$n(w.dimensions,x.dimensions),P=Q!==x.seriesLayoutBy||!!R!=!!x.sourceHeader||L;i=P?[Up(l,{seriesLayoutBy:Q,sourceHeader:R,dimensions:L},f)]:[]}else{var M=t;if(n){var k=this._applyTransform(e);i=k.sourceList,o=k.upstreamSignList}else{var G=M.get("source",!0);i=[Up(G,this._getSourceMetaRawOption(),null)],o=[]}}this._setLocalSource(i,o)},r.prototype._applyTransform=function(t){var e=this._sourceHost,n=e.get("transform",!0),i=e.get("fromTransformResult",!0);if(i!=null){var o="";t.length!==1&&vm(o)}var s,l=[],f=[];return Ne(t,function(v){v.prepareSource();var C=v.getSource(i||0),w="";i!=null&&!C&&vm(w),l.push(C),f.push(v._getVersionSign())}),n?s=qu(n,l,{datasetIndex:e.componentIndex}):i!=null&&(s=[nB(l[0])]),{sourceList:s,upstreamSignList:f}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},r.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},r.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},r.prototype._innerGetDataStore=function(t,e,n){var i=0,o=this._storeList,s=o[i];s||(s=o[i]={});var l=s[n];if(!l){var f=this._getUpstreamSourceManagers()[0];zp(this._sourceHost)&&f?l=f._innerGetDataStore(t,e,n):(l=new Sb,l.initData(new sB(e,t.length),t)),s[n]=l}return l},r.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(zp(t)){var e=ob(t);return e?[e.getSourceManager()]:[]}else return pr(rk(t),function(n){return n.getSourceManager()})},r.prototype._getSourceMetaRawOption=function(){var t=this._sourceHost,e,n,i;if(zp(t))e=t.get("seriesLayoutBy",!0),n=t.get("sourceHeader",!0),i=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var o=t;e=o.get("seriesLayoutBy",!0),n=o.get("sourceHeader",!0),i=o.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:n,dimensions:i}},r}();function _b(r){var t=r.option.transform;t&&Ki(r.option.transform)}function zp(r){return r.mainType==="series"}function vm(r){throw new Error(r)}var pB="line-height:1";function vB(r){var t=r.lineHeight;return t==null?pB:"line-height:"+ou(t+"")+"px"}function uh(r,t){var e=r.color||"#6e7079",n=r.fontSize||12,i=r.fontWeight||"400",o=r.color||"#464646",s=r.fontSize||14,l=r.fontWeight||"900";return t==="html"?{nameStyle:"font-size:"+ou(n+"")+"px;color:"+ou(e)+";font-weight:"+ou(i+""),valueStyle:"font-size:"+ou(s+"")+"px;color:"+ou(o)+";font-weight:"+ou(l+"")}:{nameStyle:{fontSize:n,fill:e,fontWeight:i},valueStyle:{fontSize:s,fill:o,fontWeight:l}}}var ym=[0,10,20,30],Db=["",`
  260. `,`
  261. `,`
  262. `];function Xs(r,t){return t.type=r,t}function mm(r){return r.type==="section"}function Rb(r){return mm(r)?Mb:Fb}function yB(r){if(mm(r)){var t=0,e=r.blocks.length,n=e>1||e>0&&!r.noHeader;return Ne(r.blocks,function(i){var o=yB(i);o>=t&&(t=o+ +(n&&(!o||mm(i)&&!i.noHeader)))}),t}return 0}function Mb(r,t,e,n){var i=t.noHeader,o=Lb(yB(t)),s=[],l=t.blocks||[];tc(!l||yr(l)),l=l||[];var f=r.orderMode;if(t.sortBlocks&&f){l=l.slice();var v={valueAsc:"asc",valueDesc:"desc"};if(ln(v,f)){var C=new Au(v[f],null);l.sort(function(L,P){return C.evaluate(L.sortParam,P.sortParam)})}else f==="seriesDesc"&&l.reverse()}Ne(l,function(L,P){var M=t.valueFormatter,k=Rb(L)(M?ar(ar({},r),{valueFormatter:M}):r,L,P>0?o.html:0,n);k!=null&&s.push(k)});var w=r.renderMode==="richText"?s.join(o.richText):U1(n,s.join(""),i?e:o.html);if(i)return w;var x=eb(t.header,"ordinal",r.useUTC),Q=uh(n,r.renderMode).nameStyle,R=vB(n);return r.renderMode==="richText"?Im(r,x,Q)+o.richText+w:U1(n,'<div style="'+Q+";"+R+';">'+ou(x)+"</div>"+w,e)}function Fb(r,t,e,n){var i=r.renderMode,o=t.noName,s=t.noValue,l=!t.markerType,f=t.name,v=r.useUTC,C=t.valueFormatter||r.valueFormatter||function(Y){return Y=yr(Y)?Y:[Y],pr(Y,function(re,ie){return eb(re,yr(Q)?Q[ie]:Q,v)})};if(!(o&&s)){var w=l?"":r.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),x=o?"":eb(f,"ordinal",v),Q=t.valueType,R=s?[]:C(t.value,t.dataIndex),L=!l||!o,P=!l&&o,M=uh(n,i),k=M.nameStyle,G=M.valueStyle;return i==="richText"?(l?"":w)+(o?"":Im(r,x,k))+(s?"":wk(r,R,L,P,G)):U1(n,(l?"":w)+(o?"":mB(x,!l,k))+(s?"":Nb(R,L,P,G)),e)}}function Tb(r,t,e,n,i,o){if(r){var s=Rb(r),l={useUTC:i,renderMode:e,orderMode:n,markupStyleCreator:t,valueFormatter:r.valueFormatter};return s(l,r,0,o)}}function Lb(r){return{html:ym[r],richText:Db[r]}}function U1(r,t,e){var n='<div style="clear:both"></div>',i="margin: "+e+"px 0 0",o=vB(r);return'<div style="'+i+";"+o+';">'+t+n+"</div>"}function mB(r,t,e){var n=t?"margin-left:2px":"";return'<span style="'+e+";"+n+'">'+ou(r)+"</span>"}function Nb(r,t,e,n){var i=e?"10px":"20px",o=t?"float:right;margin-left:"+i:"";return r=yr(r)?r:[r],'<span style="'+o+";"+n+'">'+pr(r,function(s){return ou(s)}).join("&nbsp;&nbsp;")+"</span>"}function Im(r,t,e){return r.markupStyleCreator.wrapRichTextStyle(t,e)}function wk(r,t,e,n,i){var o=[i],s=n?10:20;return e&&o.push({padding:[0,0,0,s],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(yr(t)?t.join(" "):t,o)}function IB(r,t){var e=r.getData().getItemVisual(t,"style"),n=e[r.visualDrawType];return NA(n)}function j1(r,t){var e=r.get("padding");return e??(t==="richText"?[8,10]:10)}var H1=function(){function r(){this.richTextStyles={},this._nextStyleNameId=$2()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(t,e,n){var i=n==="richText"?this._generateStyleName():null,o=_1({color:e,type:t,renderMode:n,markerId:i});return en(o)?o:(this.richTextStyles[i]=o.style,o.content)},r.prototype.wrapRichTextStyle=function(t,e){var n={};yr(e)?Ne(e,function(o){return ar(n,o)}):ar(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},r}();function Y1(r){var t=r.series,e=r.dataIndex,n=r.multipleSeries,i=t.getData(),o=i.mapDimensionsAll("defaultedTooltip"),s=o.length,l=t.getRawValue(e),f=yr(l),v=IB(t,e),C,w,x,Q;if(s>1||f&&!s){var R=bm(l,t,e,o,v);C=R.inlineValues,w=R.inlineValueTypes,x=R.blocks,Q=R.inlineValues[0]}else if(s){var L=i.getDimensionInfo(o[0]);Q=C=Yp(i,e,o[0]),w=L.type}else Q=C=f?l[0]:l;var P=cu(t),M=P&&t.name||"",k=i.getName(e),G=n?M:k;return Xs("section",{header:M,noHeader:n||!P,sortParam:Q,blocks:[Xs("nameValue",{markerType:"item",markerColor:v,name:G,noName:!Wl(G),value:C,valueType:w,dataIndex:e})].concat(x||[])})}function bm(r,t,e,n,i){var o=t.getData(),s=xa(r,function(w,x,Q){var R=o.getDimensionInfo(Q);return w=w||R&&R.tooltip!==!1&&R.displayName!=null},!1),l=[],f=[],v=[];n.length?Ne(n,function(w){C(Yp(o,e,w),w)}):Ne(r,C);function C(w,x){var Q=o.getDimensionInfo(x);!Q||Q.otherDims.tooltip===!1||(s?v.push(Xs("nameValue",{markerType:"subItem",markerColor:i,name:Q.displayName,value:w,valueType:Q.type})):(l.push(w),f.push(Q.type)))}return{inlineValues:l,inlineValueTypes:f,blocks:v}}var Hh=Vi();function Kp(r,t){return r.getName(t)||r.getId(t)}var nl="__universalTransitionEnabled",no=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return t.prototype.init=function(e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=dg({count:J1,reset:CB}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,i);var o=Hh(this).sourceManager=new pm(this);o.prepareSource();var s=this.getInitialData(e,i);Pb(s,this),this.dataTask.context.data=s,Hh(this).dataBeforeProcessed=s,bB(this),this._initSelectedMapFromData(s)},t.prototype.mergeDefaultAndTheme=function(e,n){var i=PA(this),o=i?rl(e):{},s=this.subType;Oi.hasClass(s)&&(s+="Series"),Kn(e,n.getTheme().get(this.subType)),Kn(e,this.getDefaultOption()),xd(e,"label",["show"]),this.fillDataTextStyle(e.data),i&&Ds(e,o,i)},t.prototype.mergeOption=function(e,n){e=Kn(this.option,e,!0),this.fillDataTextStyle(e.data);var i=PA(this);i&&Ds(this.option,e,i);var o=Hh(this).sourceManager;o.dirty(),o.prepareSource();var s=this.getInitialData(e,n);Pb(s,this),this.dataTask.dirty(),this.dataTask.context.data=s,Hh(this).dataBeforeProcessed=s,bB(this),this._initSelectedMapFromData(s)},t.prototype.fillDataTextStyle=function(e){if(e&&!$u(e))for(var n=["show"],i=0;i<e.length;i++)e[i]&&e[i].label&&xd(e[i],"label",n)},t.prototype.getInitialData=function(e,n){},t.prototype.appendData=function(e){var n=this.getRawData();n.appendData(e.data)},t.prototype.getData=function(e){var n=Vp(this);if(n){var i=n.context.data;return e==null||!i.getLinkedData?i:i.getLinkedData(e)}else return Hh(this).data},t.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},t.prototype.setData=function(e){var n=Vp(this);if(n){var i=n.context;i.outputData=e,n!==this.dataTask&&(i.data=e)}Hh(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return mn(e)},t.prototype.getSourceManager=function(){return Hh(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return Hh(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var e=this.get("colorBy");return e||"series"},t.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},t.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},t.prototype.formatTooltip=function(e,n,i){return Y1({series:this,dataIndex:e,multipleSeries:n})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(Yn.node&&!(e&&e.ssr))return!1;var n=this.getShallow("animation");return n&&this.getData().count()>this.getShallow("animationThreshold")&&(n=!1),!!n},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,n,i){var o=this.ecModel,s=cb.prototype.getColorFromPalette.call(this,e,n,i);return s||(s=o.getColorFromPalette(e,n,i)),s},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,n){this._innerSelect(this.getData(n),e)},t.prototype.unselect=function(e,n){var i=this.option.selectedMap;if(i){var o=this.option.selectedMode,s=this.getData(n);if(o==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var l=0;l<e.length;l++){var f=e[l],v=Kp(s,f);i[v]=!1,this._selectedDataIndicesMap[v]=-1}}},t.prototype.toggleSelect=function(e,n){for(var i=[],o=0;o<e.length;o++)i[0]=e[o],this.isSelected(e[o],n)?this.unselect(i,n):this.select(i,n)},t.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,n=fi(e),i=[],o=0;o<n.length;o++){var s=e[n[o]];s>=0&&i.push(s)}return i},t.prototype.isSelected=function(e,n){var i=this.option.selectedMap;if(!i)return!1;var o=this.getData(n);return(i==="all"||i[Kp(o,e)])&&!o.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[nl])return!0;var e=this.option.universalTransition;return e?e===!0?!0:e&&e.enabled:!1},t.prototype._innerSelect=function(e,n){var i,o,s=this.option,l=s.selectedMode,f=n.length;if(!(!l||!f)){if(l==="series")s.selectedMap="all";else if(l==="multiple"){Ln(s.selectedMap)||(s.selectedMap={});for(var v=s.selectedMap,C=0;C<f;C++){var w=n[C],x=Kp(e,w);v[x]=!0,this._selectedDataIndicesMap[x]=e.getRawIndex(w)}}else if(l==="single"||l===!0){var Q=n[f-1],x=Kp(e,Q);s.selectedMap=(i={},i[x]=!0,i),this._selectedDataIndicesMap=(o={},o[x]=e.getRawIndex(Q),o)}}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var n=[];e.hasItemOption&&e.each(function(i){var o=e.getRawDataItem(i);o&&o.selected&&n.push(i)}),n.length>0&&this._innerSelect(e,n)}},t.registerClass=function(e){return Oi.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(Oi);Ea(no,O1),Ea(no,cb),Ys(no,Oi);function bB(r){var t=r.name;cu(r)||(r.name=Ob(r)||t)}function Ob(r){var t=r.getRawData(),e=t.mapDimensionsAll("seriesName"),n=[];return Ne(e,function(i){var o=t.getDimensionInfo(i);o.displayName&&n.push(o.displayName)}),n.join(" ")}function J1(r){return r.model.getRawData().count()}function CB(r){var t=r.model;return t.setData(t.getRawData().cloneShallow()),Ek}function Ek(r,t){t.outputData&&r.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function Pb(r,t){Ne(x0(r.CHANGABLE_METHODS,r.DOWNSAMPLE_METHODS),function(e){r.wrapMethod(e,ni(Bk,t))})}function Bk(r,t){var e=Vp(r);return e&&e.setOutputEnd((t||this).count()),t}function Vp(r){var t=(r.ecModel||{}).scheduler,e=t&&t.getPipeline(r.uid);if(e){var n=e.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(r.uid))}return n}}var a=function(){function r(){this.group=new Nn,this.uid=Sp("viewComponent")}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,n,i){},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,n,i){},r.prototype.updateLayout=function(t,e,n,i){},r.prototype.updateVisual=function(t,e,n,i){},r.prototype.toggleBlurSeries=function(t,e,n){},r.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},r}();Ap(a),wy(a);function c(){var r=Vi();return function(t){var e=r(t),n=t.pipelineContext,i=!!e.large,o=!!e.progressiveRender,s=e.large=!!(n&&n.large),l=e.progressiveRender=!!(n&&n.progressiveRender);return(i!==s||o!==l)&&"reset"}}var u=Vi(),h=c(),d=function(){function r(){this.group=new Nn,this.uid=Sp("viewChart"),this.renderTask=dg({plan:A,reset:m}),this.renderTask.context={view:this}}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,n,i){},r.prototype.highlight=function(t,e,n,i){var o=t.getData(i&&i.dataType);o&&g(o,i,"emphasis")},r.prototype.downplay=function(t,e,n,i){var o=t.getData(i&&i.dataType);o&&g(o,i,"normal")},r.prototype.remove=function(t,e){this.group.removeAll()},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},r.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},r.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},r.prototype.eachRendered=function(t){Fl(this.group,t)},r.markUpdateMethod=function(t,e){u(t).updateMethod=e},r.protoInitialize=function(){var t=r.prototype;t.type="chart"}(),r}();function p(r,t,e){r&&Pu(r)&&(t==="emphasis"?Dc:ko)(r,e)}function g(r,t,e){var n=uc(r,t),i=t&&t.highlightKey!=null?eE(t.highlightKey):null;n!=null?Ne(ja(n),function(o){p(r.getItemGraphicEl(o),e,i)}):r.eachItemGraphicEl(function(o){p(o,e,i)})}Ap(d),wy(d);function A(r){return h(r.model)}function m(r){var t=r.model,e=r.ecModel,n=r.api,i=r.payload,o=t.pipelineContext.progressiveRender,s=r.view,l=i&&u(i).updateMethod,f=o?"incrementalPrepareRender":l&&s[l]?l:"render";return f!=="render"&&s[f](t,e,n,i),y[f]}var y={incrementalPrepareRender:{progress:function(r,t){t.view.incrementalRender(r,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(r,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},b="\0__throttleOriginMethod",I="\0__throttleRate",E="\0__throttleType";function B(r,t,e){var n,i=0,o=0,s=null,l,f,v,C;t=t||0;function w(){o=new Date().getTime(),s=null,r.apply(f,v||[])}var x=function(){for(var Q=[],R=0;R<arguments.length;R++)Q[R]=arguments[R];n=new Date().getTime(),f=this,v=Q;var L=C||t,P=C||e;C=null,l=n-(P?i:o)-L,clearTimeout(s),P?s=setTimeout(w,L):l>=0?w():s=setTimeout(w,-l),i=n};return x.clear=function(){s&&(clearTimeout(s),s=null)},x.debounceNextCall=function(Q){C=Q},x}function S(r,t,e,n){var i=r[t];if(i){var o=i[b]||i,s=i[E],l=i[I];if(l!==e||s!==n){if(e==null||!n)return r[t]=o;i=r[t]=B(o,e,n==="debounce"),i[b]=o,i[E]=n,i[I]=e}return i}}function _(r,t){var e=r[t];e&&e[b]&&(e.clear&&e.clear(),r[t]=e[b])}var D=Vi(),T={itemStyle:pA(kE,!0),lineStyle:pA(BE,!0)},F={lineStyle:"stroke",itemStyle:"fill"};function N(r,t){var e=r.visualStyleMapper||T[t];return e||(console.warn("Unknown style type '"+t+"'."),T.itemStyle)}function H(r,t){var e=r.visualDrawType||F[t];return e||(console.warn("Unknown style type '"+t+"'."),"fill")}var W={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData(),n=r.visualStyleAccessPath||"itemStyle",i=r.getModel(n),o=N(r,n),s=o(i),l=i.getShallow("decal");l&&(e.setVisual("decal",l),l.dirty=!0);var f=H(r,n),v=s[f],C=bn(v)?v:null,w=s.fill==="auto"||s.stroke==="auto";if(!s[f]||C||w){var x=r.getColorFromPalette(r.name,null,t.getSeriesCount());s[f]||(s[f]=x,e.setVisual("colorFromPalette",!0)),s.fill=s.fill==="auto"||bn(s.fill)?x:s.fill,s.stroke=s.stroke==="auto"||bn(s.stroke)?x:s.stroke}if(e.setVisual("style",s),e.setVisual("drawType",f),!t.isSeriesFiltered(r)&&C)return e.setVisual("colorFromPalette",!1),{dataEach:function(Q,R){var L=r.getDataParams(R),P=ar({},s);P[f]=C(L),Q.setItemVisual(R,"style",P)}}}},V=new Ia,te={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){if(!(r.ignoreStyleOnData||t.isSeriesFiltered(r))){var e=r.getData(),n=r.visualStyleAccessPath||"itemStyle",i=N(r,n),o=e.getVisual("drawType");return{dataEach:e.hasItemOption?function(s,l){var f=s.getRawDataItem(l);if(f&&f[n]){V.option=f[n];var v=i(V),C=s.ensureUniqueItemVisual(l,"style");ar(C,v),V.option.decal&&(s.setItemVisual(l,"decal",V.option.decal),V.option.decal.dirty=!0),o in v&&s.setItemVisual(l,"colorFromPalette",!1)}}:null}}}},ue={performRawSeries:!0,overallReset:function(r){var t=mn();r.eachSeries(function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var i=e.type+"-"+n,o=t.get(i);o||(o={},t.set(i,o)),D(e).scope=o}}),r.eachSeries(function(e){if(!(e.isColorBySeries()||r.isSeriesFiltered(e))){var n=e.getRawData(),i={},o=e.getData(),s=D(e).scope,l=e.visualStyleAccessPath||"itemStyle",f=H(e,l);o.each(function(v){var C=o.getRawIndex(v);i[C]=v}),n.each(function(v){var C=i[v],w=o.getItemVisual(C,"colorFromPalette");if(w){var x=o.ensureUniqueItemVisual(C,"style"),Q=n.getName(v)||v+"",R=n.count();x[f]=e.getColorFromPalette(Q,s,R)}})}})}},fe=Math.PI;function de(r,t){t=t||{},pn(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var e=new Nn,n=new ta({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});e.add(n);var i=new Mn({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),o=new ta({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});e.add(o);var s;return t.showSpinner&&(s=new Hy({shape:{startAngle:-fe/2,endAngle:-fe/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),s.animateShape(!0).when(1e3,{endAngle:fe*3/2}).start("circularInOut"),s.animateShape(!0).when(1e3,{startAngle:fe*3/2}).delay(300).start("circularInOut"),e.add(s)),e.resize=function(){var l=i.getBoundingRect().width,f=t.showSpinner?t.spinnerRadius:0,v=(r.getWidth()-f*2-(t.showSpinner&&l?10:0)-l)/2-(t.showSpinner&&l?0:5+l/2)+(t.showSpinner?0:l/2)+(l?0:f),C=r.getHeight()/2;t.showSpinner&&s.setShape({cx:v,cy:C}),o.setShape({x:v-f,y:C-f,width:f*2,height:f*2}),n.setShape({x:0,y:0,width:r.getWidth(),height:r.getHeight()})},e.resize(),e}var Ae=function(){function r(t,e,n,i){this._stageTaskMap=mn(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return r.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(n){var i=n.overallTask;i&&i.dirty()})},r.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,o=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,s=o?n.step:null,l=i&&i.modDataCount,f=l!=null?Math.ceil(l/s):null;return{step:s,modBy:f,modDataCount:l}}},r.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},r.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),o=i.count(),s=n.progressiveEnabled&&e.incrementalPrepareRender&&o>=n.threshold,l=t.get("large")&&o>=t.get("largeThreshold"),f=t.get("progressiveChunkMode")==="mod"?o:null;t.pipelineContext=n.context={progressiveRender:s,modDataCount:f,large:l}},r.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=mn();t.eachSeries(function(i){var o=i.getProgressive(),s=i.uid;n.set(s,{id:s,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:o&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(o||700),count:0}),e._pipe(i,i.dataTask)})},r.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;Ne(this._allHandlers,function(i){var o=t.get(i.uid)||t.set(i.uid,{}),s="";tc(!(i.reset&&i.overallReset),s),i.reset&&this._createSeriesStageTask(i,o,e,n),i.overallReset&&this._createOverallStageTask(i,o,e,n)},this)},r.prototype.prepareView=function(t,e,n,i){var o=t.renderTask,s=o.context;s.model=e,s.ecModel=n,s.api=i,o.__block=!t.incrementalPrepareRender,this._pipe(e,o)},r.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},r.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},r.prototype._performStageTasks=function(t,e,n,i){i=i||{};var o=!1,s=this;Ne(t,function(f,v){if(!(i.visualType&&i.visualType!==f.visualType)){var C=s._stageTaskMap.get(f.uid),w=C.seriesTaskMap,x=C.overallTask;if(x){var Q,R=x.agentStubMap;R.each(function(P){l(i,P)&&(P.dirty(),Q=!0)}),Q&&x.dirty(),s.updatePayload(x,n);var L=s.getPerformArgs(x,i.block);R.each(function(P){P.perform(L)}),x.perform(L)&&(o=!0)}else w&&w.each(function(P,M){l(i,P)&&P.dirty();var k=s.getPerformArgs(P,i.block);k.skip=!f.performRawSeries&&e.isSeriesFiltered(P.context.model),s.updatePayload(P,n),P.perform(k)&&(o=!0)})}});function l(f,v){return f.setDirty&&(!f.dirtyMap||f.dirtyMap.get(v.__pipeline.id))}this.unfinished=o||this.unfinished},r.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(n){e=n.dataTask.perform()||e}),this.unfinished=e||this.unfinished},r.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},r.prototype.updatePayload=function(t,e){e!=="remain"&&(t.context.payload=e)},r.prototype._createSeriesStageTask=function(t,e,n,i){var o=this,s=e.seriesTaskMap,l=e.seriesTaskMap=mn(),f=t.seriesType,v=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(C):f?n.eachRawSeriesByType(f,C):v&&v(n,i).each(C);function C(w){var x=w.uid,Q=l.set(x,s&&s.get(x)||dg({plan:J,reset:q,count:se}));Q.context={model:w,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:o},o._pipe(w,Q)}},r.prototype._createOverallStageTask=function(t,e,n,i){var o=this,s=e.overallTask=e.overallTask||dg({reset:we});s.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:o};var l=s.agentStubMap,f=s.agentStubMap=mn(),v=t.seriesType,C=t.getTargetSeries,w=!0,x=!1,Q="";tc(!t.createOnAllSeries,Q),v?n.eachRawSeriesByType(v,R):C?C(n,i).each(R):(w=!1,Ne(n.getSeries(),R));function R(L){var P=L.uid,M=f.set(P,l&&l.get(P)||(x=!0,dg({reset:Z,onDirty:j})));M.context={model:L,overallProgress:w},M.agent=s,M.__block=w,o._pipe(L,M)}x&&s.dirty()},r.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},r.wrapStageHandler=function(t,e){return bn(t)&&(t={overallReset:t,seriesType:oe(t)}),t.uid=Sp("stageHandler"),e&&(t.visualType=e),t},r}();function we(r){r.overallReset(r.ecModel,r.api,r.payload)}function Z(r){return r.overallProgress&&ne}function ne(){this.agent.dirty(),this.getDownstream().dirty()}function j(){this.agent&&this.agent.dirty()}function J(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function q(r){r.useClearVisual&&r.data.clearAllVisual();var t=r.resetDefines=ja(r.reset(r.model,r.ecModel,r.api,r.payload));return t.length>1?pr(t,function(e,n){return X(n)}):z}var z=X(0);function X(r){return function(t,e){var n=e.data,i=e.resetDefines[r];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(n,o);else i&&i.progress&&i.progress(t,n)}}function se(r){return r.data.count()}function oe(r){me=null;try{r(ye,ae)}catch{}return me}var ye={},ae={},me;Fe(ye,F1),Fe(ae,db),ye.eachSeriesByType=ye.eachRawSeriesByType=function(r){me=r},ye.eachComponent=function(r){r.mainType==="series"&&r.subType&&(me=r.subType)};function Fe(r,t){for(var e in t.prototype)r[e]=$o}var _e=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const rt={color:_e,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],_e]};var et="#B9B8CE",st="#100C2A",Ge=function(){return{axisLine:{lineStyle:{color:et}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Be=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Te={darkMode:!0,color:Be,backgroundColor:st,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:et},pageTextStyle:{color:et}},textStyle:{color:et},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:et}},dataZoom:{borderColor:"#71708A",textStyle:{color:et},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:et}},timeline:{lineStyle:{color:et},label:{color:et},controlStyle:{color:et,borderColor:et}},calendar:{itemStyle:{color:st},dayLabel:{color:et},monthLabel:{color:et},yearLabel:{color:et}},timeAxis:Ge(),logAxis:Ge(),valueAxis:Ge(),categoryAxis:Ge(),line:{symbol:"circle"},graph:{color:Be},gauge:{title:{color:et},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:et},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Te.categoryAxis.splitLine.show=!1;var je=function(){function r(){}return r.prototype.normalizeQuery=function(t){var e={},n={},i={};if(en(t)){var o=to(t);e.mainType=o.main||null,e.subType=o.sub||null}else{var s=["Index","Name","Id"],l={name:1,dataIndex:1,dataType:1};Ne(t,function(f,v){for(var C=!1,w=0;w<s.length;w++){var x=s[w],Q=v.lastIndexOf(x);if(Q>0&&Q===v.length-x.length){var R=v.slice(0,Q);R!=="data"&&(e.mainType=R,e[x.toLowerCase()]=f,C=!0)}}l.hasOwnProperty(v)&&(n[v]=f,C=!0),C||(i[v]=f)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},r.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,o=n.packedEvent,s=n.model,l=n.view;if(!s||!l)return!0;var f=e.cptQuery,v=e.dataQuery;return C(f,s,"mainType")&&C(f,s,"subType")&&C(f,s,"index","componentIndex")&&C(f,s,"name")&&C(f,s,"id")&&C(v,o,"name")&&C(v,o,"dataIndex")&&C(v,o,"dataType")&&(!l.filterForExposedEvent||l.filterForExposedEvent(t,e.otherQuery,i,o));function C(w,x,Q,R){return w[Q]==null||x[R||Q]===w[Q]}},r.prototype.afterTrigger=function(){this.eventInfo=null},r}(),lt=["symbol","symbolSize","symbolRotate","symbolOffset"],Me=lt.concat(["symbolKeepAspect"]),Ke={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData();if(r.legendIcon&&e.setVisual("legendIcon",r.legendIcon),!r.hasSymbolVisual)return;for(var n={},i={},o=!1,s=0;s<lt.length;s++){var l=lt[s],f=r.get(l);bn(f)?(o=!0,i[l]=f):n[l]=f}if(n.symbol=n.symbol||r.defaultSymbol,e.setVisual(ar({legendIcon:r.legendIcon||n.symbol,symbolKeepAspect:r.get("symbolKeepAspect")},n)),t.isSeriesFiltered(r))return;var v=fi(i);function C(w,x){for(var Q=r.getRawValue(x),R=r.getDataParams(x),L=0;L<v.length;L++){var P=v[L];w.setItemVisual(x,P,i[P](Q,R))}}return{dataEach:o?C:null}}},Rt={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){if(!r.hasSymbolVisual||t.isSeriesFiltered(r))return;var e=r.getData();function n(i,o){for(var s=i.getItemModel(o),l=0;l<Me.length;l++){var f=Me[l],v=s.getShallow(f,!0);v!=null&&i.setItemVisual(o,f,v)}}return{dataEach:e.hasItemOption?n:null}}};function Ie(r,t,e){switch(e){case"color":var n=r.getItemVisual(t,"style");return n[r.getVisual("drawType")];case"opacity":return r.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return r.getItemVisual(t,e)}}function Re(r,t){switch(t){case"color":var e=r.getVisual("style");return e[r.getVisual("drawType")];case"opacity":return r.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return r.getVisual(t)}}function qe(r,t,e,n){switch(e){case"color":var i=r.ensureUniqueItemVisual(t,"style");i[r.getVisual("drawType")]=n,r.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":r.ensureUniqueItemVisual(t,"style").opacity=n;break;case"symbol":case"symbolSize":case"liftZ":r.setItemVisual(t,e,n);break}}function pt(r,t){function e(n,i){var o=[];return n.eachComponent({mainType:"series",subType:r,query:i},function(s){o.push(s.seriesIndex)}),o}Ne([[r+"ToggleSelect","toggleSelect"],[r+"Select","select"],[r+"UnSelect","unselect"]],function(n){t(n[0],function(i,o,s){i=ar({},i),s.dispatchAction(ar(i,{type:n[1],seriesIndex:e(o,i)}))})})}function Lt(r,t,e,n,i){var o=r+t;e.isSilent(o)||n.eachComponent({mainType:"series",subType:"pie"},function(s){for(var l=s.seriesIndex,f=s.option.selectedMap,v=i.selected,C=0;C<v.length;C++)if(v[C].seriesIndex===l){var w=s.getData(),x=uc(w,i.fromActionPayload);e.trigger(o,{type:o,seriesId:s.id,name:yr(x)?w.getName(x[0]):w.getName(x),selected:en(f)?f:ar({},f)})}})}function Qe(r,t,e){r.on("selectchanged",function(n){var i=e.getModel();n.isFromClick?(Lt("map","selectchanged",t,i,n),Lt("pie","selectchanged",t,i,n)):n.fromAction==="select"?(Lt("map","selected",t,i,n),Lt("pie","selected",t,i,n)):n.fromAction==="unselect"&&(Lt("map","unselected",t,i,n),Lt("pie","unselected",t,i,n))})}function _t(r,t,e){for(var n;r&&!(t(r)&&(n=r,e));)r=r.__hostTarget||r.parent;return n}var Ft=Math.round(Math.random()*9),Ze=typeof Object.defineProperty=="function",$e=function(){function r(){this._id="__ec_inner_"+Ft++}return r.prototype.get=function(t){return this._guard(t)[this._id]},r.prototype.set=function(t,e){var n=this._guard(t);return Ze?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},r.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},r.prototype.has=function(t){return!!this._guard(t)[this._id]},r.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},r}(),nt=Si.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(r,t){var e=t.cx,n=t.cy,i=t.width/2,o=t.height/2;r.moveTo(e,n-o),r.lineTo(e+i,n+o),r.lineTo(e-i,n+o),r.closePath()}}),Ot=Si.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(r,t){var e=t.cx,n=t.cy,i=t.width/2,o=t.height/2;r.moveTo(e,n-o),r.lineTo(e+i,n),r.lineTo(e,n+o),r.lineTo(e-i,n),r.closePath()}}),He=Si.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(r,t){var e=t.x,n=t.y,i=t.width/5*3,o=Math.max(i,t.height),s=i/2,l=s*s/(o-s),f=n-o+s+l,v=Math.asin(l/s),C=Math.cos(v)*s,w=Math.sin(v),x=Math.cos(v),Q=s*.6,R=s*.7;r.moveTo(e-C,f+l),r.arc(e,f,s,Math.PI-v,Math.PI*2+v),r.bezierCurveTo(e+C-w*Q,f+l+x*Q,e,n-R,e,n),r.bezierCurveTo(e,n-R,e-C+w*Q,f+l+x*Q,e-C,f+l),r.closePath()}}),Je=Si.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(r,t){var e=t.height,n=t.width,i=t.x,o=t.y,s=n/3*2;r.moveTo(i,o),r.lineTo(i+s,o+e),r.lineTo(i,o+e/4*3),r.lineTo(i-s,o+e),r.lineTo(i,o),r.closePath()}}),tt={line:Vs,rect:ta,roundRect:ta,square:ta,circle:Gu,diamond:Ot,pin:He,arrow:Je,triangle:nt},mt={line:function(r,t,e,n,i){i.x1=r,i.y1=t+n/2,i.x2=r+e,i.y2=t+n/2},rect:function(r,t,e,n,i){i.x=r,i.y=t,i.width=e,i.height=n},roundRect:function(r,t,e,n,i){i.x=r,i.y=t,i.width=e,i.height=n,i.r=Math.min(e,n)/4},square:function(r,t,e,n,i){var o=Math.min(e,n);i.x=r,i.y=t,i.width=o,i.height=o},circle:function(r,t,e,n,i){i.cx=r+e/2,i.cy=t+n/2,i.r=Math.min(e,n)/2},diamond:function(r,t,e,n,i){i.cx=r+e/2,i.cy=t+n/2,i.width=e,i.height=n},pin:function(r,t,e,n,i){i.x=r+e/2,i.y=t+n/2,i.width=e,i.height=n},arrow:function(r,t,e,n,i){i.x=r+e/2,i.y=t+n/2,i.width=e,i.height=n},triangle:function(r,t,e,n,i){i.cx=r+e/2,i.cy=t+n/2,i.width=e,i.height=n}},Xe={};Ne(tt,function(r,t){Xe[t]=new r});var Ye=Si.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(r,t,e){var n=Ec(r,t,e),i=this.shape;return i&&i.symbolType==="pin"&&t.position==="inside"&&(n.y=e.y+e.height*.4),n},buildPath:function(r,t,e){var n=t.symbolType;if(n!=="none"){var i=Xe[n];i||(n="rect",i=Xe[n]),mt[n](t.x,t.y,t.width,t.height,i.shape),i.buildPath(r,i.shape,e)}}});function ot(r,t){if(this.type!=="image"){var e=this.style;this.__isEmptyBrush?(e.stroke=r,e.fill=t||"#fff",e.lineWidth=2):this.shape.symbolType==="line"?e.stroke=r:e.fill=r,this.markRedraw()}}function yt(r,t,e,n,i,o,s){var l=r.indexOf("empty")===0;l&&(r=r.substr(5,1).toLowerCase()+r.substr(6));var f;return r.indexOf("image://")===0?f=b1(r.slice(8),new gi(t,e,n,i),s?"center":"cover"):r.indexOf("path://")===0?f=Yy(r.slice(7),{},new gi(t,e,n,i),s?"center":"cover"):f=new Ye({shape:{symbolType:r,x:t,y:e,width:n,height:i}}),f.__isEmptyBrush=l,f.setColor=ot,o&&f.setColor(o),f}function Mt(r){return yr(r)||(r=[+r,+r]),[r[0]||0,r[1]||0]}function cr(r,t){if(r!=null)return yr(r)||(r=[r,r]),[jr(r[0],t[0])||0,jr($n(r[1],r[0]),t[1])||0]}function $t(r){return isFinite(r)}function Hr(r,t,e){var n=t.x==null?0:t.x,i=t.x2==null?1:t.x2,o=t.y==null?0:t.y,s=t.y2==null?0:t.y2;t.global||(n=n*e.width+e.x,i=i*e.width+e.x,o=o*e.height+e.y,s=s*e.height+e.y),n=$t(n)?n:0,i=$t(i)?i:1,o=$t(o)?o:0,s=$t(s)?s:0;var l=r.createLinearGradient(n,o,i,s);return l}function mr(r,t,e){var n=e.width,i=e.height,o=Math.min(n,i),s=t.x==null?.5:t.x,l=t.y==null?.5:t.y,f=t.r==null?.5:t.r;t.global||(s=s*n+e.x,l=l*i+e.y,f=f*o),s=$t(s)?s:.5,l=$t(l)?l:.5,f=f>=0&&$t(f)?f:.5;var v=r.createRadialGradient(s,l,0,s,l,f);return v}function sr(r,t,e){for(var n=t.type==="radial"?mr(r,t,e):Hr(r,t,e),i=t.colorStops,o=0;o<i.length;o++)n.addColorStop(i[o].offset,i[o].color);return n}function Yr(r,t){if(r===t||!r&&!t)return!1;if(!r||!t||r.length!==t.length)return!0;for(var e=0;e<r.length;e++)if(r[e]!==t[e])return!0;return!1}function Mr(r){return parseInt(r,10)}function Dr(r,t,e){var n=["width","height"][t],i=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],s=["paddingRight","paddingBottom"][t];if(e[n]!=null&&e[n]!=="auto")return parseFloat(e[n]);var l=document.defaultView.getComputedStyle(r);return(r[i]||Mr(l[n])||Mr(r.style[n]))-(Mr(l[o])||0)-(Mr(l[s])||0)|0}function nn(r,t){return!r||r==="solid"||!(t>0)?null:r==="dashed"?[4*t,2*t]:r==="dotted"?[t]:$i(r)?[r]:yr(r)?r:null}function Sr(r){var t=r.style,e=t.lineDash&&t.lineWidth>0&&nn(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(e){var i=t.strokeNoScale&&r.getLineScale?r.getLineScale():1;i&&i!==1&&(e=pr(e,function(o){return o/i}),n/=i)}return[e,n]}var tn=new eh(!0);function Cn(r){var t=r.stroke;return!(t==null||t==="none"||!(r.lineWidth>0))}function Jn(r){return typeof r=="string"&&r!=="none"}function Rr(r){var t=r.fill;return t!=null&&t!=="none"}function An(r,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.fillOpacity*t.opacity,r.fill(),r.globalAlpha=e}else r.fill()}function dn(r,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.strokeOpacity*t.opacity,r.stroke(),r.globalAlpha=e}else r.stroke()}function br(r,t,e){var n=Go(t.image,t.__image,e);if(Ey(n)){var i=r.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*Qv),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}function gn(r,t,e,n){var i,o=Cn(e),s=Rr(e),l=e.strokePercent,f=l<1,v=!t.path;(!t.silent||f)&&v&&t.createPathProxy();var C=t.path||tn,w=t.__dirty;if(!n){var x=e.fill,Q=e.stroke,R=s&&!!x.colorStops,L=o&&!!Q.colorStops,P=s&&!!x.image,M=o&&!!Q.image,k=void 0,G=void 0,Y=void 0,re=void 0,ie=void 0;(R||L)&&(ie=t.getBoundingRect()),R&&(k=w?sr(r,x,ie):t.__canvasFillGradient,t.__canvasFillGradient=k),L&&(G=w?sr(r,Q,ie):t.__canvasStrokeGradient,t.__canvasStrokeGradient=G),P&&(Y=w||!t.__canvasFillPattern?br(r,x,t):t.__canvasFillPattern,t.__canvasFillPattern=Y),M&&(re=w||!t.__canvasStrokePattern?br(r,Q,t):t.__canvasStrokePattern,t.__canvasStrokePattern=Y),R?r.fillStyle=k:P&&(Y?r.fillStyle=Y:s=!1),L?r.strokeStyle=G:M&&(re?r.strokeStyle=re:o=!1)}var le=t.getGlobalScale();C.setScale(le[0],le[1],t.segmentIgnoreThreshold);var pe,ve;r.setLineDash&&e.lineDash&&(i=Sr(t),pe=i[0],ve=i[1]);var Ee=!0;(v||w&Hg)&&(C.setDPR(r.dpr),f?C.setContext(null):(C.setContext(r),Ee=!1),C.reset(),t.buildPath(C,t.shape,n),C.toStatic(),t.pathUpdated()),Ee&&C.rebuildPath(r,f?l:1),pe&&(r.setLineDash(pe),r.lineDashOffset=ve),n||(e.strokeFirst?(o&&dn(r,e),s&&An(r,e)):(s&&An(r,e),o&&dn(r,e))),pe&&r.setLineDash([])}function wn(r,t,e){var n=t.__image=Go(e.image,t.__image,t,t.onload);if(!(!n||!Ey(n))){var i=e.x||0,o=e.y||0,s=t.getWidth(),l=t.getHeight(),f=n.width/n.height;if(s==null&&l!=null?s=l*f:l==null&&s!=null?l=s/f:s==null&&l==null&&(s=n.width,l=n.height),e.sWidth&&e.sHeight){var v=e.sx||0,C=e.sy||0;r.drawImage(n,v,C,e.sWidth,e.sHeight,i,o,s,l)}else if(e.sx&&e.sy){var v=e.sx,C=e.sy,w=s-v,x=l-C;r.drawImage(n,v,C,w,x,i,o,s,l)}else r.drawImage(n,i,o,s,l)}}function kn(r,t,e){var n,i=e.text;if(i!=null&&(i+=""),i){r.font=e.font||hi,r.textAlign=e.textAlign,r.textBaseline=e.textBaseline;var o=void 0,s=void 0;r.setLineDash&&e.lineDash&&(n=Sr(t),o=n[0],s=n[1]),o&&(r.setLineDash(o),r.lineDashOffset=s),e.strokeFirst?(Cn(e)&&r.strokeText(i,e.x,e.y),Rr(e)&&r.fillText(i,e.x,e.y)):(Rr(e)&&r.fillText(i,e.x,e.y),Cn(e)&&r.strokeText(i,e.x,e.y)),o&&r.setLineDash([])}}var Dn=["shadowBlur","shadowOffsetX","shadowOffsetY"],oi=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Kr(r,t,e,n,i){var o=!1;if(!n&&(e=e||{},t===e))return!1;if(n||t.opacity!==e.opacity){aa(r,i),o=!0;var s=Math.max(Math.min(t.opacity,1),0);r.globalAlpha=isNaN(s)?vA.opacity:s}(n||t.blend!==e.blend)&&(o||(aa(r,i),o=!0),r.globalCompositeOperation=t.blend||vA.blend);for(var l=0;l<Dn.length;l++){var f=Dn[l];(n||t[f]!==e[f])&&(o||(aa(r,i),o=!0),r[f]=r.dpr*(t[f]||0))}return(n||t.shadowColor!==e.shadowColor)&&(o||(aa(r,i),o=!0),r.shadowColor=t.shadowColor||vA.shadowColor),o}function On(r,t,e,n,i){var o=wo(t,i.inHover),s=n?null:e&&wo(e,i.inHover)||{};if(o===s)return!1;var l=Kr(r,o,s,n,i);if((n||o.fill!==s.fill)&&(l||(aa(r,i),l=!0),Jn(o.fill)&&(r.fillStyle=o.fill)),(n||o.stroke!==s.stroke)&&(l||(aa(r,i),l=!0),Jn(o.stroke)&&(r.strokeStyle=o.stroke)),(n||o.opacity!==s.opacity)&&(l||(aa(r,i),l=!0),r.globalAlpha=o.opacity==null?1:o.opacity),t.hasStroke()){var f=o.lineWidth,v=f/(o.strokeNoScale&&t.getLineScale?t.getLineScale():1);r.lineWidth!==v&&(l||(aa(r,i),l=!0),r.lineWidth=v)}for(var C=0;C<oi.length;C++){var w=oi[C],x=w[0];(n||o[x]!==s[x])&&(l||(aa(r,i),l=!0),r[x]=o[x]||w[1])}return l}function Ci(r,t,e,n,i){return Kr(r,wo(t,i.inHover),e&&wo(e,i.inHover),n,i)}function li(r,t){var e=t.transform,n=r.dpr||1;e?r.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):r.setTransform(n,0,0,n,0,0)}function ia(r,t,e){for(var n=!1,i=0;i<r.length;i++){var o=r[i];n=n||o.isZeroArea(),li(t,o),t.beginPath(),o.buildPath(t,o.shape),t.clip()}e.allClipped=n}function ht(r,t){return r&&t?r[0]!==t[0]||r[1]!==t[1]||r[2]!==t[2]||r[3]!==t[3]||r[4]!==t[4]||r[5]!==t[5]:!(!r&&!t)}var Pt=1,Zt=2,vn=3,jn=4;function ba(r){var t=Rr(r),e=Cn(r);return!(r.lineDash||!(+t^+e)||t&&typeof r.fill!="string"||e&&typeof r.stroke!="string"||r.strokePercent<1||r.strokeOpacity<1||r.fillOpacity<1)}function aa(r,t){t.batchFill&&r.fill(),t.batchStroke&&r.stroke(),t.batchFill="",t.batchStroke=""}function wo(r,t){return t&&r.__hoverStyle||r.style}function is(r,t){as(r,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function as(r,t,e,n){var i=t.transform;if(!t.shouldBePainted(e.viewWidth,e.viewHeight,!1,!1)){t.__dirty&=-2,t.__isRendered=!1;return}var o=t.__clipPaths,s=e.prevElClipPaths,l=!1,f=!1;if((!s||Yr(o,s))&&(s&&s.length&&(aa(r,e),r.restore(),f=l=!0,e.prevElClipPaths=null,e.allClipped=!1,e.prevEl=null),o&&o.length&&(aa(r,e),r.save(),ia(o,r,e),l=!0),e.prevElClipPaths=o),e.allClipped){t.__isRendered=!1;return}t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var v=e.prevEl;v||(f=l=!0);var C=t instanceof Si&&t.autoBatch&&ba(t.style);l||ht(i,v.transform)?(aa(r,e),li(r,t)):C||aa(r,e);var w=wo(t,e.inHover);t instanceof Si?(e.lastDrawType!==Pt&&(f=!0,e.lastDrawType=Pt),On(r,t,v,f,e),(!C||!e.batchFill&&!e.batchStroke)&&r.beginPath(),gn(r,t,w,C),C&&(e.batchFill=w.fill||"",e.batchStroke=w.stroke||"")):t instanceof Od?(e.lastDrawType!==vn&&(f=!0,e.lastDrawType=vn),On(r,t,v,f,e),kn(r,t,w)):t instanceof Ws?(e.lastDrawType!==Zt&&(f=!0,e.lastDrawType=Zt),Ci(r,t,v,f,e),wn(r,t,w)):t.getTemporalDisplayables&&(e.lastDrawType!==jn&&(f=!0,e.lastDrawType=jn),vs(r,t,e)),C&&n&&aa(r,e),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),e.prevEl=t,t.__dirty=0,t.__isRendered=!0}function vs(r,t,e){var n=t.getDisplayables(),i=t.getTemporalDisplayables();r.save();var o={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:e.viewWidth,viewHeight:e.viewHeight,inHover:e.inHover},s,l;for(s=t.getCursor(),l=n.length;s<l;s++){var f=n[s];f.beforeBrush&&f.beforeBrush(),f.innerBeforeBrush(),as(r,f,o,s===l-1),f.innerAfterBrush(),f.afterBrush&&f.afterBrush(),o.prevEl=f}for(var v=0,C=i.length;v<C;v++){var f=i[v];f.beforeBrush&&f.beforeBrush(),f.innerBeforeBrush(),as(r,f,o,v===C-1),f.innerAfterBrush(),f.afterBrush&&f.afterBrush(),o.prevEl=f}t.clearTemporalDisplayables(),t.notClear=!0,r.restore()}var lo=new $e,ra=new zg(100),pi=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Ms(r,t){if(r==="none")return null;var e=t.getDevicePixelRatio(),n=t.getZr(),i=n.painter.type==="svg";r.dirty&&lo.delete(r);var o=lo.get(r);if(o)return o;var s=pn(r,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});s.backgroundColor==="none"&&(s.backgroundColor=null);var l={repeat:"repeat"};return f(l),l.rotation=s.rotation,l.scaleX=l.scaleY=i?1:1/e,lo.set(r,l),r.dirty=!1,l;function f(v){for(var C=[e],w=!0,x=0;x<pi.length;++x){var Q=s[pi[x]];if(Q!=null&&!yr(Q)&&!en(Q)&&!$i(Q)&&typeof Q!="boolean"){w=!1;break}C.push(Q)}var R;if(w){R=C.join(",")+(i?"-svg":"");var L=ra.get(R);L&&(i?v.svgElement=L:v.image=L)}var P=zu(s.dashArrayX),M=Ul(s.dashArrayY),k=Fs(s.symbol),G=UA(P),Y=os(M),re=!i&&oo.createCanvas(),ie=i&&{tag:"g",attrs:{},key:"dcl",children:[]},le=ve(),pe;re&&(re.width=le.width*e,re.height=le.height*e,pe=re.getContext("2d")),Ee(),w&&ra.put(R,re||ie),v.image=re,v.svgElement=ie,v.svgWidth=le.width,v.svgHeight=le.height;function ve(){for(var Se=1,ke=0,Le=G.length;ke<Le;++ke)Se=xi(Se,G[ke]);for(var be=1,ke=0,Le=k.length;ke<Le;++ke)be=xi(be,k[ke].length);Se*=be;var ze=Y*G.length*k.length;return{width:Math.max(1,Math.min(Se,s.maxTileWidth)),height:Math.max(1,Math.min(ze,s.maxTileHeight))}}function Ee(){pe&&(pe.clearRect(0,0,re.width,re.height),s.backgroundColor&&(pe.fillStyle=s.backgroundColor,pe.fillRect(0,0,re.width,re.height)));for(var Se=0,ke=0;ke<M.length;++ke)Se+=M[ke];if(Se<=0)return;for(var Le=-Y,be=0,ze=0,ut=0;Le<le.height;){if(be%2===0){for(var ft=ze/2%k.length,Qt=0,vt=0,Gt=0;Qt<le.width*2;){for(var Ct=0,ke=0;ke<P[ut].length;++ke)Ct+=P[ut][ke];if(Ct<=0)break;if(vt%2===0){var St=(1-s.symbolSize)*.5,dr=Qt+P[ut][vt]*St,ur=Le+M[be]*St,ir=P[ut][vt]*s.symbolSize,Fn=M[be]*s.symbolSize,Ei=Gt/2%k[ft].length;Vr(dr,ur,ir,Fn,k[ft][Ei])}Qt+=P[ut][vt],++Gt,++vt,vt===P[ut].length&&(vt=0)}++ut,ut===P.length&&(ut=0)}Le+=M[be],++ze,++be,be===M.length&&(be=0)}function Vr(qr,Tn,zr,Qn,Yi){var Pe=i?1:e,hr=yt(Yi,qr*Pe,Tn*Pe,zr*Pe,Qn*Pe,s.color,s.symbolKeepAspect);if(i){var rr=n.painter.renderOneToVNode(hr);rr&&ie.children.push(rr)}else is(pe,hr)}}}}function Fs(r){if(!r||r.length===0)return[["rect"]];if(en(r))return[[r]];for(var t=!0,e=0;e<r.length;++e)if(!en(r[e])){t=!1;break}if(t)return Fs([r]);for(var n=[],e=0;e<r.length;++e)en(r[e])?n.push([r[e]]):n.push(r[e]);return n}function zu(r){if(!r||r.length===0)return[[0,0]];if($i(r)){var t=Math.ceil(r);return[[t,t]]}for(var e=!0,n=0;n<r.length;++n)if(!$i(r[n])){e=!1;break}if(e)return zu([r]);for(var i=[],n=0;n<r.length;++n)if($i(r[n])){var t=Math.ceil(r[n]);i.push([t,t])}else{var t=pr(r[n],function(l){return Math.ceil(l)});t.length%2===1?i.push(t.concat(t)):i.push(t)}return i}function Ul(r){if(!r||typeof r=="object"&&r.length===0)return[0,0];if($i(r)){var t=Math.ceil(r);return[t,t]}var e=pr(r,function(n){return Math.ceil(n)});return r.length%2?e.concat(e):e}function UA(r){return pr(r,function(t){return os(t)})}function os(r){for(var t=0,e=0;e<r.length;++e)t+=r[e];return r.length%2===1?t*2:t}function Yh(r,t){r.eachRawSeries(function(e){if(!r.isSeriesFiltered(e)){var n=e.getData();n.hasItemVisual()&&n.each(function(s){var l=n.getItemVisual(s,"decal");if(l){var f=n.ensureUniqueItemVisual(s,"style");f.decal=Ms(l,t)}});var i=n.getVisual("decal");if(i){var o=n.getVisual("style");o.decal=Ms(i,t)}}})}var ys=new au,ch={};function _f(r,t){ch[r]=t}function Su(r){return ch[r]}var Zp=1,jA=800,Xp=900,$p=1e3,gg=2e3,e0=5e3,du=1e3,t0=1100,ms=2e3,lh=3e3,r0=4e3,vc=4500,Ku=4600,pg=5e3,yo=6e3,il=7e3,HA={PROCESSOR:{FILTER:$p,SERIES_FILTER:jA,STATISTIC:e0},VISUAL:{LAYOUT:du,PROGRESSIVE_LAYOUT:t0,GLOBAL:ms,CHART:lh,POST_CHART_LAYOUT:Ku,COMPONENT:r0,BRUSH:pg,CHART_ITEM:vc,ARIA:yo,DECAL:il}},Ts="__flagInMainProcess",Qo="__pendingUpdate",hh="__needsUpdateStatus",vg=/^[a-zA-Z0-9_]+$/,gu="__connectUpdateStatus",pu=0,yg=1,mg=2;function fh(r){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this.isDisposed()){this.id;return}return Rf(this,r,t)}}function Df(r){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Rf(this,r,t)}}function Rf(r,t,e){return e[0]=e[0]&&e[0].toLowerCase(),au.prototype[t].apply(r,e)}var Ah=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t}(au),Jh=Ah.prototype;Jh.on=Df("on"),Jh.off=Df("off");var al,Mf,jo,bt,Wt,_r,ce,Ce,Oe,gt,Nt,Ht,fr,lr,Or,Xr,hn,Pn,Xn=function(r){kt(t,r);function t(e,n,i){var o=r.call(this,new je)||this;o._chartsViews=[],o._chartsMap={},o._componentsViews=[],o._componentsMap={},o._pendingActions=[],i=i||{},en(n)&&(n=Sn[n]),o._dom=e;var s="canvas",l="auto",f=!1;i.ssr&&Z2(function(x){var Q=Un(x),R=Q.dataIndex;if(R!=null){var L=mn();return L.set("series_index",Q.seriesIndex),L.set("data_index",R),Q.ssrType&&L.set("ssr_type",Q.ssrType),L}});var v=o._zr=bl(e,{renderer:i.renderer||s,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:$n(i.useDirtyRect,f),useCoarsePointer:$n(i.useCoarsePointer,l),pointerSize:i.pointerSize});o._ssr=i.ssr,o._throttledZrFlush=B(an(v.flush,v),17),n=Bn(n),n&&rB(n,!0),o._theme=n,o._locale=xE(i.locale||WI),o._coordSysMgr=new T1;var C=o._api=Or(o);function w(x,Q){return x.__prio-Q.__prio}return Nv(Cr,w),Nv(At,w),o._scheduler=new Ae(o,C,At,Cr),o._messageCenter=new Ah,o._initEvents(),o.resize=an(o.resize,o),v.animation.on("frame",o._onframe,o),gt(v,o),Nt(v,o),Ki(o),o}return t.prototype._onframe=function(){if(!this._disposed){Pn(this);var e=this._scheduler;if(this[Qo]){var n=this[Qo].silent;this[Ts]=!0;try{al(this),bt.update.call(this,null,this[Qo].updateParams)}catch(f){throw this[Ts]=!1,this[Qo]=null,f}this._zr.flush(),this[Ts]=!1,this[Qo]=null,Ce.call(this,n),Oe.call(this,n)}else if(e.unfinished){var i=Zp,o=this._model,s=this._api;e.unfinished=!1;do{var l=+new Date;e.performSeriesTasks(o),e.performDataProcessorTasks(o),_r(this,o),e.performVisualTasks(o),lr(this,this._model,s,"remain",{}),i-=+new Date-l}while(i>0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,n,i){if(!this[Ts]){if(this._disposed){this.id;return}var o,s,l;if(Ln(n)&&(i=n.lazyUpdate,o=n.silent,s=n.replaceMerge,l=n.transition,n=n.notMerge),this[Ts]=!0,!this._model||n){var f=new uk(this._api),v=this._theme,C=this._model=new F1;C.scheduler=this._scheduler,C.ssr=this._ssr,C.init(null,null,null,v,this._locale,f)}this._model.setOption(e,{replaceMerge:s},qt);var w={seriesTransition:l,optionChanged:!0};if(i)this[Qo]={silent:o,updateParams:w},this[Ts]=!1,this.getZr().wakeUp();else{try{al(this),bt.update.call(this,null,w)}catch(x){throw this[Qo]=null,this[Ts]=!1,x}this._ssr||this._zr.flush(),this[Qo]=null,this[Ts]=!1,Ce.call(this,o),Oe.call(this,o)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Yn.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var n=this._zr.painter;return n.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var n=this._zr.painter;return n.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(Yn.svgSupported){var e=this._zr,n=e.storage.getDisplayList();return Ne(n,function(i){i.stopAnimation(null,!0)}),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(this._disposed){this.id;return}e=e||{};var n=e.excludeComponents,i=this._model,o=[],s=this;Ne(n,function(f){i.eachComponent({mainType:f},function(v){var C=s._componentsMap[v.__viewId];C.group.ignore||(o.push(C),C.group.ignore=!0)})});var l=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return Ne(o,function(f){f.group.ignore=!1}),l},t.prototype.getConnectedDataURL=function(e){if(this._disposed){this.id;return}var n=e.type==="svg",i=this.group,o=Math.min,s=Math.max,l=1/0;if(Na[i]){var f=l,v=l,C=-1/0,w=-1/0,x=[],Q=e&&e.pixelRatio||this.getDevicePixelRatio();Ne(Zn,function(G,Y){if(G.group===i){var re=n?G.getZr().painter.getSvgDom().innerHTML:G.renderToCanvas(Bn(e)),ie=G.getDom().getBoundingClientRect();f=o(ie.left,f),v=o(ie.top,v),C=s(ie.right,C),w=s(ie.bottom,w),x.push({dom:re,left:ie.left,top:ie.top})}}),f*=Q,v*=Q,C*=Q,w*=Q;var R=C-f,L=w-v,P=oo.createCanvas(),M=bl(P,{renderer:n?"svg":"canvas"});if(M.resize({width:R,height:L}),n){var k="";return Ne(x,function(G){var Y=G.left-f,re=G.top-v;k+='<g transform="translate('+Y+","+re+')">'+G.dom+"</g>"}),M.painter.getSvgRoot().innerHTML=k,e.connectedBackgroundColor&&M.painter.setBackgroundColor(e.connectedBackgroundColor),M.refreshImmediately(),M.painter.toDataURL()}else return e.connectedBackgroundColor&&M.add(new ta({shape:{x:0,y:0,width:R,height:L},style:{fill:e.connectedBackgroundColor}})),Ne(x,function(G){var Y=new Ws({style:{x:G.left*Q-f,y:G.top*Q-v,image:G.dom}});M.add(Y)}),M.refreshImmediately(),P.toDataURL("image/"+(e&&e.type||"png"))}else return this.getDataURL(e)},t.prototype.convertToPixel=function(e,n){return Wt(this,"convertToPixel",e,n)},t.prototype.convertFromPixel=function(e,n){return Wt(this,"convertFromPixel",e,n)},t.prototype.containPixel=function(e,n){if(this._disposed){this.id;return}var i=this._model,o,s=gf(i,e);return Ne(s,function(l,f){f.indexOf("Models")>=0&&Ne(l,function(v){var C=v.coordinateSystem;if(C&&C.containPoint)o=o||!!C.containPoint(n);else if(f==="seriesModels"){var w=this._chartsMap[v.__viewId];w&&w.containPoint&&(o=o||w.containPoint(n,v))}},this)},this),!!o},t.prototype.getVisual=function(e,n){var i=this._model,o=gf(i,e,{defaultMainType:"series"}),s=o.seriesModel,l=s.getData(),f=o.hasOwnProperty("dataIndexInside")?o.dataIndexInside:o.hasOwnProperty("dataIndex")?l.indexOfRawIndex(o.dataIndex):null;return f!=null?Ie(l,f,n):Re(l,n)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;Ne(Jt,function(n){var i=function(o){var s=e.getModel(),l=o.target,f,v=n==="globalout";if(v?f={}:l&&_t(l,function(R){var L=Un(R);if(L&&L.dataIndex!=null){var P=L.dataModel||s.getSeriesByIndex(L.seriesIndex);return f=P&&P.getDataParams(L.dataIndex,L.dataType,l)||{},!0}else if(L.eventData)return f=ar({},L.eventData),!0},!0),f){var C=f.componentType,w=f.componentIndex;(C==="markLine"||C==="markPoint"||C==="markArea")&&(C="series",w=f.seriesIndex);var x=C&&w!=null&&s.getComponent(C,w),Q=x&&e[x.mainType==="series"?"_chartsMap":"_componentsMap"][x.__viewId];f.event=o,f.type=n,e._$eventProcessor.eventInfo={targetEl:l,packedEvent:f,model:x,view:Q},e.trigger(n,f)}};i.zrEventfulCallAtLast=!0,e._zr.on(n,i,e)}),Ne(Ue,function(n,i){e._messageCenter.on(i,function(o){this.trigger(i,o)},e)}),Ne(["selectchanged"],function(n){e._messageCenter.on(n,function(i){this.trigger(n,i)},e)}),Qe(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var e=this.getDom();e&&r1(this.getDom(),To,"");var n=this,i=n._api,o=n._model;Ne(n._componentsViews,function(s){s.dispose(o,i)}),Ne(n._chartsViews,function(s){s.dispose(o,i)}),n._zr.dispose(),n._dom=n._model=n._chartsMap=n._componentsMap=n._chartsViews=n._componentsViews=n._scheduler=n._api=n._zr=n._throttledZrFlush=n._theme=n._coordSysMgr=n._messageCenter=null,delete Zn[n.id]},t.prototype.resize=function(e){if(!this[Ts]){if(this._disposed){this.id;return}this._zr.resize(e);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var i=n.resetOption("media"),o=e&&e.silent;this[Qo]&&(o==null&&(o=this[Qo].silent),i=!0,this[Qo]=null),this[Ts]=!0;try{i&&al(this),bt.update.call(this,{type:"resize",animation:ar({duration:0},e&&e.animation)})}catch(s){throw this[Ts]=!1,s}this[Ts]=!1,Ce.call(this,o),Oe.call(this,o)}}},t.prototype.showLoading=function(e,n){if(this._disposed){this.id;return}if(Ln(e)&&(n=e,e=""),e=e||"default",this.hideLoading(),!!Qr[e]){var i=Qr[e](this._api,n),o=this._zr;this._loadingFX=i,o.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(e){var n=ar({},e);return n.type=Ue[e.type],n},t.prototype.dispatchAction=function(e,n){if(this._disposed){this.id;return}if(Ln(n)||(n={silent:!!n}),!!Ar[e.type]&&this._model){if(this[Ts]){this._pendingActions.push(e);return}var i=n.silent;ce.call(this,e,i);var o=n.flush;o?this._zr.flush():o!==!1&&Yn.browser.weChat&&this._throttledZrFlush(),Ce.call(this,i),Oe.call(this,i)}},t.prototype.updateLabelLayout=function(){ys.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed){this.id;return}var n=e.seriesIndex,i=this.getModel(),o=i.getSeriesByIndex(n);o.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){al=function(w){var x=w._scheduler;x.restorePipelines(w._model),x.prepareStageTasks(),Mf(w,!0),Mf(w,!1),x.plan()},Mf=function(w,x){for(var Q=w._model,R=w._scheduler,L=x?w._componentsViews:w._chartsViews,P=x?w._componentsMap:w._chartsMap,M=w._zr,k=w._api,G=0;G<L.length;G++)L[G].__alive=!1;x?Q.eachComponent(function(ie,le){ie!=="series"&&Y(le)}):Q.eachSeries(Y);function Y(ie){var le=ie.__requireNewView;ie.__requireNewView=!1;var pe="_ec_"+ie.id+"_"+ie.type,ve=!le&&P[pe];if(!ve){var Ee=to(ie.type),Se=x?a.getClass(Ee.main,Ee.sub):d.getClass(Ee.sub);ve=new Se,ve.init(Q,k),P[pe]=ve,L.push(ve),M.add(ve.group)}ie.__viewId=ve.__id=pe,ve.__alive=!0,ve.__model=ie,ve.group.__ecComponentInfo={mainType:ie.mainType,index:ie.componentIndex},!x&&R.prepareView(ve,ie,Q,k)}for(var G=0;G<L.length;){var re=L[G];re.__alive?G++:(!x&&re.renderTask.dispose(),M.remove(re.group),re.dispose(Q,k),L.splice(G,1),P[re.__id]===re&&delete P[re.__id],re.__id=re.group.__ecComponentInfo=null)}},jo=function(w,x,Q,R,L){var P=w._model;if(P.setUpdatePayload(Q),!R){Ne([].concat(w._componentsViews).concat(w._chartsViews),re);return}var M={};M[R+"Id"]=Q[R+"Id"],M[R+"Index"]=Q[R+"Index"],M[R+"Name"]=Q[R+"Name"];var k={mainType:R,query:M};L&&(k.subType=L);var G=Q.excludeSeriesId,Y;G!=null&&(Y=mn(),Ne(ja(G),function(ie){var le=es(ie,null);le!=null&&Y.set(le,!0)})),P&&P.eachComponent(k,function(ie){var le=Y&&Y.get(ie.id)!=null;if(!le)if(EI(Q))if(ie instanceof no)Q.type===Sc&&!Q.notBlur&&!ie.get(["emphasis","disabled"])&&_5(ie,Q,w._api);else{var pe=wI(ie.mainType,ie.componentIndex,Q.name,w._api),ve=pe.focusSelf,Ee=pe.dispatchers;Q.type===Sc&&ve&&!Q.notBlur&&Ty(ie.mainType,ie.componentIndex,w._api),Ee&&Ne(Ee,function(Se){Q.type===Sc?Dc(Se):ko(Se)})}else wp(Q)&&ie instanceof no&&($w(ie,Q,w._api),Ly(ie),hn(w))},w),P&&P.eachComponent(k,function(ie){var le=Y&&Y.get(ie.id)!=null;le||re(w[R==="series"?"_chartsMap":"_componentsMap"][ie.__viewId])},w);function re(ie){ie&&ie.__alive&&ie[x]&&ie[x](ie.__model,P,w._api,Q)}},bt={prepareAndUpdate:function(w){al(this),bt.update.call(this,w,{optionChanged:w.newOption!=null})},update:function(w,x){var Q=this._model,R=this._api,L=this._zr,P=this._coordSysMgr,M=this._scheduler;if(Q){Q.setUpdatePayload(w),M.restoreData(Q,w),M.performSeriesTasks(Q),P.create(Q,R),M.performDataProcessorTasks(Q,w),_r(this,Q),P.update(Q,R),e(Q),M.performVisualTasks(Q,w),Ht(this,Q,R,w,x);var k=Q.get("backgroundColor")||"transparent",G=Q.get("darkMode");L.setBackgroundColor(k),G!=null&&G!=="auto"&&L.setDarkMode(G),ys.trigger("afterupdate",Q,R)}},updateTransform:function(w){var x=this,Q=this._model,R=this._api;if(Q){Q.setUpdatePayload(w);var L=[];Q.eachComponent(function(M,k){if(M!=="series"){var G=x.getViewOfComponentModel(k);if(G&&G.__alive)if(G.updateTransform){var Y=G.updateTransform(k,Q,R,w);Y&&Y.update&&L.push(G)}else L.push(G)}});var P=mn();Q.eachSeries(function(M){var k=x._chartsMap[M.__viewId];if(k.updateTransform){var G=k.updateTransform(M,Q,R,w);G&&G.update&&P.set(M.uid,1)}else P.set(M.uid,1)}),e(Q),this._scheduler.performVisualTasks(Q,w,{setDirty:!0,dirtyMap:P}),lr(this,Q,R,w,{},P),ys.trigger("afterupdate",Q,R)}},updateView:function(w){var x=this._model;x&&(x.setUpdatePayload(w),d.markUpdateMethod(w,"updateView"),e(x),this._scheduler.performVisualTasks(x,w,{setDirty:!0}),Ht(this,x,this._api,w,{}),ys.trigger("afterupdate",x,this._api))},updateVisual:function(w){var x=this,Q=this._model;Q&&(Q.setUpdatePayload(w),Q.eachSeries(function(R){R.getData().clearAllVisual()}),d.markUpdateMethod(w,"updateVisual"),e(Q),this._scheduler.performVisualTasks(Q,w,{visualType:"visual",setDirty:!0}),Q.eachComponent(function(R,L){if(R!=="series"){var P=x.getViewOfComponentModel(L);P&&P.__alive&&P.updateVisual(L,Q,x._api,w)}}),Q.eachSeries(function(R){var L=x._chartsMap[R.__viewId];L.updateVisual(R,Q,x._api,w)}),ys.trigger("afterupdate",Q,this._api))},updateLayout:function(w){bt.update.call(this,w)}},Wt=function(w,x,Q,R){if(w._disposed){w.id;return}for(var L=w._model,P=w._coordSysMgr.getCoordinateSystems(),M,k=gf(L,Q),G=0;G<P.length;G++){var Y=P[G];if(Y[x]&&(M=Y[x](L,k,R))!=null)return M}},_r=function(w,x){var Q=w._chartsMap,R=w._scheduler;x.eachSeries(function(L){R.updateStreamModes(L,Q[L.__viewId])})},ce=function(w,x){var Q=this,R=this.getModel(),L=w.type,P=w.escapeConnect,M=Ar[L],k=M.actionInfo,G=(k.update||"update").split(":"),Y=G.pop(),re=G[0]!=null&&to(G[0]);this[Ts]=!0;var ie=[w],le=!1;w.batch&&(le=!0,ie=pr(w.batch,function(be){return be=pn(ar({},be),w),be.batch=null,be}));var pe=[],ve,Ee=wp(w),Se=EI(w);if(Se&&Fy(this._api),Ne(ie,function(be){if(ve=M.action(be,Q._model,Q._api),ve=ve||ar({},be),ve.type=k.event||ve.type,pe.push(ve),Se){var ze=Iy(w),ut=ze.queryOptionMap,ft=ze.mainTypeSpecified,Qt=ft?ut.keys()[0]:"series";jo(Q,Y,be,Qt),hn(Q)}else Ee?(jo(Q,Y,be,"series"),hn(Q)):re&&jo(Q,Y,be,re.main,re.sub)}),Y!=="none"&&!Se&&!Ee&&!re)try{this[Qo]?(al(this),bt.update.call(this,w),this[Qo]=null):bt[Y].call(this,w)}catch(be){throw this[Ts]=!1,be}if(le?ve={type:k.event||L,escapeConnect:P,batch:pe}:ve=pe[0],this[Ts]=!1,!x){var ke=this._messageCenter;if(ke.trigger(ve.type,ve),Ee){var Le={type:"selectchanged",escapeConnect:P,selected:Ny(R),isFromClick:w.isFromClick||!1,fromAction:w.type,fromActionPayload:w};ke.trigger(Le.type,Le)}}},Ce=function(w){for(var x=this._pendingActions;x.length;){var Q=x.shift();ce.call(this,Q,w)}},Oe=function(w){!w&&this.trigger("updated")},gt=function(w,x){w.on("rendered",function(Q){x.trigger("rendered",Q),w.animation.isFinished()&&!x[Qo]&&!x._scheduler.unfinished&&!x._pendingActions.length&&x.trigger("finished")})},Nt=function(w,x){w.on("mouseover",function(Q){var R=Q.target,L=_t(R,Pu);L&&(Cp(L,Q,x._api),hn(x))}).on("mouseout",function(Q){var R=Q.target,L=_t(R,Pu);L&&(bf(L,Q,x._api),hn(x))}).on("click",function(Q){var R=Q.target,L=_t(R,function(k){return Un(k).dataIndex!=null},!0);if(L){var P=L.selected?"unselect":"select",M=Un(L);x._api.dispatchAction({type:P,dataType:M.dataType,dataIndexInside:M.dataIndex,seriesIndex:M.seriesIndex,isFromClick:!0})}})};function e(w){w.clearColorPalette(),w.eachSeries(function(x){x.clearColorPalette()})}function n(w){var x=[],Q=[],R=!1;if(w.eachComponent(function(k,G){var Y=G.get("zlevel")||0,re=G.get("z")||0,ie=G.getZLevelKey();R=R||!!ie,(k==="series"?Q:x).push({zlevel:Y,z:re,idx:G.componentIndex,type:k,key:ie})}),R){var L=x.concat(Q),P,M;Nv(L,function(k,G){return k.zlevel===G.zlevel?k.z-G.z:k.zlevel-G.zlevel}),Ne(L,function(k){var G=w.getComponent(k.type,k.idx),Y=k.zlevel,re=k.key;P!=null&&(Y=Math.max(P,Y)),re?(Y===P&&re!==M&&Y++,M=re):M&&(Y===P&&Y++,M=""),P=Y,G.setZLevel(Y)})}}Ht=function(w,x,Q,R,L){n(x),fr(w,x,Q,R,L),Ne(w._chartsViews,function(P){P.__alive=!1}),lr(w,x,Q,R,L),Ne(w._chartsViews,function(P){P.__alive||P.remove(x,Q)})},fr=function(w,x,Q,R,L,P){Ne(P||w._componentsViews,function(M){var k=M.__model;v(k,M),M.render(k,x,Q,R),l(k,M),C(k,M)})},lr=function(w,x,Q,R,L,P){var M=w._scheduler;L=ar(L||{},{updatedSeries:x.getSeries()}),ys.trigger("series:beforeupdate",x,Q,L);var k=!1;x.eachSeries(function(G){var Y=w._chartsMap[G.__viewId];Y.__alive=!0;var re=Y.renderTask;M.updatePayload(re,R),v(G,Y),P&&P.get(G.uid)&&re.dirty(),re.perform(M.getPerformArgs(re))&&(k=!0),Y.group.silent=!!G.get("silent"),s(G,Y),Ly(G)}),M.unfinished=k||M.unfinished,ys.trigger("series:layoutlabels",x,Q,L),ys.trigger("series:transition",x,Q,L),x.eachSeries(function(G){var Y=w._chartsMap[G.__viewId];l(G,Y),C(G,Y)}),o(w,x),ys.trigger("series:afterupdate",x,Q,L)},hn=function(w){w[hh]=!0,w.getZr().wakeUp()},Pn=function(w){w[hh]&&(w.getZr().storage.traverse(function(x){Lh(x)||i(x)}),w[hh]=!1)};function i(w){for(var x=[],Q=w.currentStates,R=0;R<Q.length;R++){var L=Q[R];L==="emphasis"||L==="blur"||L==="select"||x.push(L)}w.selected&&w.states.select&&x.push("select"),w.hoverState===dc&&w.states.emphasis?x.push("emphasis"):w.hoverState===Mi&&w.states.blur&&x.push("blur"),w.useStates(x)}function o(w,x){var Q=w._zr,R=Q.storage,L=0;R.traverse(function(P){P.isGroup||L++}),L>x.get("hoverLayerThreshold")&&!Yn.node&&!Yn.worker&&x.eachSeries(function(P){if(!P.preventUsingHoverLayer){var M=w._chartsMap[P.__viewId];M.__alive&&M.eachRendered(function(k){k.states.emphasis&&(k.states.emphasis.hoverLayer=!0)})}})}function s(w,x){var Q=w.get("blendMode")||null;x.eachRendered(function(R){R.isGroup||(R.style.blend=Q)})}function l(w,x){if(!w.preventAutoZ){var Q=w.get("z")||0,R=w.get("zlevel")||0;x.eachRendered(function(L){return f(L,Q,R,-1/0),!0})}}function f(w,x,Q,R){var L=w.getTextContent(),P=w.getTextGuideLine(),M=w.isGroup;if(M)for(var k=w.childrenRef(),G=0;G<k.length;G++)R=Math.max(f(k[G],x,Q,R),R);else w.z=x,w.zlevel=Q,R=Math.max(w.z2,R);if(L&&(L.z=x,L.zlevel=Q,isFinite(R)&&(L.z2=R+2)),P){var Y=w.textGuideLineConfig;P.z=x,P.zlevel=Q,isFinite(R)&&(P.z2=R+(Y&&Y.showAbove?1:-1))}return R}function v(w,x){x.eachRendered(function(Q){if(!Lh(Q)){var R=Q.getTextContent(),L=Q.getTextGuideLine();Q.stateTransition&&(Q.stateTransition=null),R&&R.stateTransition&&(R.stateTransition=null),L&&L.stateTransition&&(L.stateTransition=null),Q.hasState()?(Q.prevStates=Q.currentStates,Q.clearStates()):Q.prevStates&&(Q.prevStates=null)}})}function C(w,x){var Q=w.getModel("stateAnimation"),R=w.isAnimationEnabled(),L=Q.get("duration"),P=L>0?{duration:L,delay:Q.get("delay"),easing:Q.get("easing")}:null;x.eachRendered(function(M){if(M.states&&M.states.emphasis){if(Lh(M))return;if(M instanceof Si&&zd(M),M.__dirty){var k=M.prevStates;k&&M.useStates(k)}if(R){M.stateTransition=P;var G=M.getTextContent(),Y=M.getTextGuideLine();G&&(G.stateTransition=P),Y&&(Y.stateTransition=P)}M.__dirty&&i(M)}})}Or=function(w){return new(function(x){kt(Q,x);function Q(){return x!==null&&x.apply(this,arguments)||this}return Q.prototype.getCoordinateSystems=function(){return w._coordSysMgr.getCoordinateSystems()},Q.prototype.getComponentByElement=function(R){for(;R;){var L=R.__ecComponentInfo;if(L!=null)return w._model.getComponent(L.mainType,L.index);R=R.parent}},Q.prototype.enterEmphasis=function(R,L){Dc(R,L),hn(w)},Q.prototype.leaveEmphasis=function(R,L){ko(R,L),hn(w)},Q.prototype.enterBlur=function(R){Jd(R),hn(w)},Q.prototype.leaveBlur=function(R){Wd(R),hn(w)},Q.prototype.enterSelect=function(R){CI(R),hn(w)},Q.prototype.leaveSelect=function(R){Ks(R),hn(w)},Q.prototype.getModel=function(){return w.getModel()},Q.prototype.getViewOfComponentModel=function(R){return w.getViewOfComponentModel(R)},Q.prototype.getViewOfSeriesModel=function(R){return w.getViewOfSeriesModel(R)},Q}(db))(w)},Xr=function(w){function x(Q,R){for(var L=0;L<Q.length;L++){var P=Q[L];P[gu]=R}}Ne(Ue,function(Q,R){w._messageCenter.on(R,function(L){if(Na[w.group]&&w[gu]!==pu){if(L&&L.escapeConnect)return;var P=w.makeActionFromEvent(L),M=[];Ne(Zn,function(k){k!==w&&k.group===w.group&&M.push(k)}),x(M,pu),Ne(M,function(k){k[gu]!==yg&&k.dispatchAction(P)}),x(M,mg)}})})}}(),t}(au),ti=Xn.prototype;ti.on=fh("on"),ti.off=fh("off"),ti.one=function(r,t,e){var n=this;function i(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];t&&t.apply&&t.apply(this,o),n.off(r,i)}this.on.call(this,r,i,e)};var Jt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function gr(r){}var Ar={},Ue={},At=[],qt=[],Cr=[],Sn={},Qr={},Zn={},Na={},ka=+new Date-0,To="_echarts_instance_";function Lo(r,t,e){var n=!e.ssr;if(n){var i=Is(r);if(i)return i}var o=new Xn(r,t,e);return o.id="ec_"+ka++,Zn[o.id]=o,n&&r1(r,To,o.id),Xr(o),ys.trigger("afterinit",o),o}function Is(r){return Zn[hp(r,To)]}function Ls(r,t){Sn[r]=t}function $s(r){Vn(qt,r)<0&&qt.push(r)}function Xi(r,t){xo(At,r,t,gg)}function ha(r){Oa("afterinit",r)}function fa(r){Oa("afterupdate",r)}function Oa(r,t){ys.on(r,t)}function Qi(r,t,e){bn(t)&&(e=t,t="");var n=Ln(r)?r.type:[r,r={event:t}][0];r.event=(r.event||n).toLowerCase(),t=r.event,!Ue[t]&&(tc(vg.test(n)&&vg.test(t)),Ar[n]||(Ar[n]={action:e,actionInfo:r}),Ue[t]=n)}function eu(r,t){T1.register(r,t)}function tu(r,t){xo(Cr,r,t,du,"layout")}function bs(r,t){xo(Cr,r,t,lh,"visual")}var Pa=[];function xo(r,t,e,n,i){if((bn(t)||Ln(t))&&(e=t,t=n),!(Vn(Pa,e)>=0)){Pa.push(e);var o=Ae.wrapStageHandler(e,i);o.__prio=t,o.__raw=e,r.push(o)}}function ol(r,t){Qr[r]=t}function n0(r,t,e){var n=Su("registerMap");n&&n(r,t,e)}var TQ=Ik;bs(ms,W),bs(vc,te),bs(vc,ue),bs(ms,Ke),bs(vc,Rt),bs(il,Yh),$s(rB),Xi(Xp,dk),ol("default",de),Qi({type:Sc,event:Sc,update:Sc},$o),Qi({type:EA,event:EA,update:EA},$o),Qi({type:gc,event:gc,update:gc},$o),Qi({type:zs,event:zs,update:zs},$o),Qi({type:Wo,event:Wo,update:Wo},$o),Ls("light",rt),Ls("dark",Te);var kk=[],wB={registerPreprocessor:$s,registerProcessor:Xi,registerPostInit:ha,registerPostUpdate:fa,registerUpdateLifecycle:Oa,registerAction:Qi,registerCoordinateSystem:eu,registerLayout:tu,registerVisual:bs,registerTransform:TQ,registerLoading:ol,registerMap:n0,registerImpl:_f,PRIORITY:HA,ComponentModel:Oi,ComponentView:a,SeriesModel:no,ChartView:d,registerComponentModel:function(r){Oi.registerClass(r)},registerComponentView:function(r){a.registerClass(r)},registerSeriesModel:function(r){no.registerClass(r)},registerChartView:function(r){d.registerClass(r)},registerSubTypeDefaulter:function(r,t){Oi.registerSubTypeDefaulter(r,t)},registerPainter:function(r,t){V2(r,t)}};function Fi(r){if(yr(r)){Ne(r,function(t){Fi(t)});return}Vn(kk,r)>=0||(kk.push(r),bn(r)&&(r={install:r}),r.install(wB))}function Ig(r){return r==null?0:r.length||1}function i0(r){return r}var Wh=function(){function r(t,e,n,i,o,s){this._old=t,this._new=e,this._oldKeyGetter=n||i0,this._newKeyGetter=i||i0,this.context=o,this._diffModeMultiple=s==="multiple"}return r.prototype.add=function(t){return this._add=t,this},r.prototype.update=function(t){return this._update=t,this},r.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},r.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},r.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},r.prototype.remove=function(t){return this._remove=t,this},r.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},r.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),o=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var s=0;s<t.length;s++){var l=i[s],f=n[l],v=Ig(f);if(v>1){var C=f.shift();f.length===1&&(n[l]=f[0]),this._update&&this._update(C,s)}else v===1?(n[l]=null,this._update&&this._update(f,s)):this._remove&&this._remove(s)}this._performRestAdd(o,n)},r.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},o=[],s=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,i,s,"_newKeyGetter");for(var l=0;l<o.length;l++){var f=o[l],v=n[f],C=i[f],w=Ig(v),x=Ig(C);if(w>1&&x===1)this._updateManyToOne&&this._updateManyToOne(C,v),i[f]=null;else if(w===1&&x>1)this._updateOneToMany&&this._updateOneToMany(C,v),i[f]=null;else if(w===1&&x===1)this._update&&this._update(C,v),i[f]=null;else if(w>1&&x>1)this._updateManyToMany&&this._updateManyToMany(C,v),i[f]=null;else if(w>1)for(var Q=0;Q<w;Q++)this._remove&&this._remove(v[Q]);else this._remove&&this._remove(v)}this._performRestAdd(s,i)},r.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],o=e[i],s=Ig(o);if(s>1)for(var l=0;l<s;l++)this._add&&this._add(o[l]);else s===1&&this._add&&this._add(o);e[i]=null}},r.prototype._initIndexMap=function(t,e,n,i){for(var o=this._diffModeMultiple,s=0;s<t.length;s++){var l="_ec_"+this[i](t[s],s);if(o||(n[s]=l),!!e){var f=e[l],v=Ig(f);v===0?(e[l]=s,o&&n.push(l)):v===1?e[l]=[f,s]:f.push(s)}}},r}(),Wx=function(){function r(t,e){this._encode=t,this._schema=e}return r.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},r.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},r}();function qx(r,t){var e={},n=e.encode={},i=mn(),o=[],s=[],l={};Ne(r.dimensions,function(x){var Q=r.getDimensionInfo(x),R=Q.coordDim;if(R){var L=Q.coordDimIndex;Qk(n,R)[L]=x,Q.isExtraCoord||(i.set(R,1),EB(Q.type)&&(o[0]=x),Qk(l,R)[L]=r.getDimensionIndex(Q.name)),Q.defaultTooltip&&s.push(x)}NE.each(function(P,M){var k=Qk(n,M),G=Q.otherDims[M];G!=null&&G!==!1&&(k[G]=Q.name)})});var f=[],v={};i.each(function(x,Q){var R=n[Q];v[Q]=R[0],f=f.concat(R)}),e.dataDimsOnCoord=f,e.dataDimIndicesOnCoord=pr(f,function(x){return r.getDimensionInfo(x).storeDimIndex}),e.encodeFirstDimNotExtra=v;var C=n.label;C&&C.length&&(o=C.slice());var w=n.tooltip;return w&&w.length?s=w.slice():s.length||(s=o.slice()),n.defaultedLabel=o,n.defaultedTooltip=s,e.userOutput=new Wx(l,t),e}function Qk(r,t){return r.hasOwnProperty(t)||(r[t]=[]),r[t]}function W1(r){return r==="category"?"ordinal":r==="time"?"time":"float"}function EB(r){return!(r==="ordinal"||r==="time")}var Cm=function(){function r(t){this.otherDims={},t!=null&&ar(this,t)}return r}(),zx=Vi(),LQ={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},NQ=function(){function r(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return r.prototype.isDimensionOmitted=function(){return this._dimOmitted},r.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=yc(this.source)))},r.prototype.getSourceDimensionIndex=function(t){return $n(this._dimNameMap.get(t),-1)},r.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},r.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=Hp(this.source),n=!PQ(t),i="",o=[],s=0,l=0;s<t;s++){var f=void 0,v=void 0,C=void 0,w=this.dimensions[l];if(w&&w.storeDimIndex===s)f=e?w.name:null,v=w.type,C=w.ordinalMeta,l++;else{var x=this.getSourceDimension(s);x&&(f=e?x.name:null,v=x.type)}o.push({property:f,type:v,ordinalMeta:C}),e&&f!=null&&(!w||!w.isCalculationCoord)&&(i+=n?f.replace(/\`/g,"`1").replace(/\$/g,"`2"):f),i+="$",i+=LQ[v]||"f",C&&(i+=C.uid),i+="$"}var Q=this.source,R=[Q.seriesLayoutBy,Q.startIndex,i].join("$$");return{dimensions:o,hash:R}},r.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,o=this.dimensions[n];if(o&&o.storeDimIndex===e)o.isCalculationCoord||(i=o.name),n++;else{var s=this.getSourceDimension(e);s&&(i=s.name)}t.push(i)}return t},r.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},r}();function OQ(r){return r instanceof NQ}function vu(r){for(var t=mn(),e=0;e<(r||[]).length;e++){var n=r[e],i=Ln(n)?n.name:n;i!=null&&t.get(i)==null&&t.set(i,e)}return t}function yc(r){var t=zx(r);return t.dimNameMap||(t.dimNameMap=vu(r.dimensionsDefine))}function PQ(r){return r>30}var Gb=Ln,bg=pr,Kx=typeof Int32Array>"u"?Array:Int32Array,xk="e\0\0",wm=-1,Sk=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Em=["_approximateExtent"],Bm,a0,o0,YA,_k,Ub,Dk,sl=function(){function r(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var n,i=!1;OQ(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var o={},s=[],l={},f=!1,v={},C=0;C<n.length;C++){var w=n[C],x=en(w)?new Cm({name:w}):w instanceof Cm?w:new Cm(w),Q=x.name;x.type=x.type||"float",x.coordDim||(x.coordDim=Q,x.coordDimIndex=0);var R=x.otherDims=x.otherDims||{};s.push(Q),o[Q]=x,v[Q]!=null&&(f=!0),x.createInvertedIndices&&(l[Q]=[]),R.itemName===0&&(this._nameDimIdx=C),R.itemId===0&&(this._idDimIdx=C),i&&(x.storeDimIndex=C)}if(this.dimensions=s,this._dimInfos=o,this._initGetDimensionInfo(f),this.hostModel=e,this._invertedIndicesMap=l,this._dimOmitted){var L=this._dimIdxToName=mn();Ne(s,function(P){L.set(o[P].storeDimIndex,P)})}}return r.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(e==null)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(n!=null)return n;var i=this._schema.getSourceDimension(e);if(i)return i.name},r.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(e!=null)return e;if(t==null)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},r.prototype._recognizeDimIndex=function(t){if($i(t)||t!=null&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},r.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);return e},r.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},r.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(n){return e.hasOwnProperty(n)?e[n]:void 0}:function(n){return e[n]}},r.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},r.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(e==null)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},r.prototype.mapDimensionsAll=function(t){var e=this._dimSummary,n=e.encode[t];return(n||[]).slice()},r.prototype.getStore=function(){return this._store},r.prototype.initData=function(t,e,n){var i=this,o;if(t instanceof Sb&&(o=t),!o){var s=this.dimensions,l=Fc(t)||bo(t)?new sB(t,s.length):t;o=new Sb;var f=bg(s,function(v){return{type:i._dimInfos[v].type,property:v}});o.initData(l,f,n)}this._store=o,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,o.count()),this._dimSummary=qx(this,this._schema),this.userOutput=this._dimSummary.userOutput},r.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},r.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),i=n.start,o=n.end,s=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var l=i;l<o;l++){var f=l-i;this._nameList[l]=e[f],s&&Dk(this,l)}},r.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},r.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return this._idDimIdx==null&&t.getSource().sourceFormat!==GA&&!t.fillStorage},r.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var o=this._nameList,s=this._idList,l=i.getSource().sourceFormat,f=l===Nl;if(f&&!i.pure)for(var v=[],C=t;C<e;C++){var w=i.getItem(C,v);if(!this.hasItemOption&&vy(w)&&(this.hasItemOption=!0),w){var x=w.name;o[C]==null&&x!=null&&(o[C]=es(x,null));var Q=w.id;s[C]==null&&Q!=null&&(s[C]=es(Q,null))}}if(this._shouldMakeIdFromName())for(var C=t;C<e;C++)Dk(this,C);Bm(this)}},r.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},r.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},r.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},r.prototype.setCalculationInfo=function(t,e){Gb(t)?ar(this._calculationInfo,t):this._calculationInfo[t]=e},r.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return n==null&&this._nameDimIdx!=null&&(n=o0(this,this._nameDimIdx,e)),n==null&&(n=""),n},r.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},r.prototype.getId=function(t){return a0(this,this.getRawIndex(t))},r.prototype.count=function(){return this._store.count()},r.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},r.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},r.prototype.getIndices=function(){return this._store.getIndices()},r.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},r.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},r.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},r.prototype.getValues=function(t,e){var n=this,i=this._store;return yr(t)?i.getValues(bg(t,function(o){return n._getStoreDimIndex(o)}),e):i.getValues(t)},r.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},r.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},r.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},r.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},r.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t],i=n&&n[e];return i==null||isNaN(i)?wm:i},r.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},r.prototype.each=function(t,e,n){bn(t)&&(n=e,e=t,t=[]);var i=n||this,o=bg(YA(t),this._getStoreDimIndex,this);this._store.each(o,i?an(e,i):e)},r.prototype.filterSelf=function(t,e,n){bn(t)&&(n=e,e=t,t=[]);var i=n||this,o=bg(YA(t),this._getStoreDimIndex,this);return this._store=this._store.filter(o,i?an(e,i):e),this},r.prototype.selectRange=function(t){var e=this,n={},i=fi(t);return Ne(i,function(o){var s=e._getStoreDimIndex(o);n[s]=t[o]}),this._store=this._store.selectRange(n),this},r.prototype.mapArray=function(t,e,n){bn(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n),i},r.prototype.map=function(t,e,n,i){var o=n||i||this,s=bg(YA(t),this._getStoreDimIndex,this),l=Ub(this);return l._store=this._store.map(s,o?an(e,o):e),l},r.prototype.modify=function(t,e,n,i){var o=n||i||this,s=bg(YA(t),this._getStoreDimIndex,this);this._store.modify(s,o?an(e,o):e)},r.prototype.downSample=function(t,e,n,i){var o=Ub(this);return o._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),o},r.prototype.minmaxDownSample=function(t,e){var n=Ub(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},r.prototype.lttbDownSample=function(t,e){var n=Ub(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},r.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},r.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new Ia(n,e,e&&e.ecModel)},r.prototype.diff=function(t){var e=this;return new Wh(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(n){return a0(t,n)},function(n){return a0(e,n)})},r.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},r.prototype.setVisual=function(t,e){this._visual=this._visual||{},Gb(t)?ar(this._visual,t):this._visual[t]=e},r.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return i??this.getVisual(e)},r.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},r.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var o=i[e];return o==null&&(o=this.getVisual(e),yr(o)?o=o.slice():Gb(o)&&(o=ar({},o)),i[e]=o),o},r.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Gb(e)?ar(i,e):i[e]=n},r.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},r.prototype.setLayout=function(t,e){Gb(t)?ar(this._layout,t):this._layout[t]=e},r.prototype.getLayout=function(t){return this._layout[t]},r.prototype.getItemLayout=function(t){return this._itemLayouts[t]},r.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?ar(this._itemLayouts[t]||{},e):e},r.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},r.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;h1(n,this.dataType,t,e),this._graphicEls[t]=e},r.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},r.prototype.eachItemGraphicEl=function(t,e){Ne(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},r.prototype.cloneShallow=function(t){return t||(t=new r(this._schema?this._schema:bg(this.dimensions,this._getDimInfo,this),this.hostModel)),_k(t,this),t._store=this._store,t},r.prototype.wrapMethod=function(t,e){var n=this[t];bn(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=n.apply(this,arguments);return e.apply(this,[i].concat(c2(arguments)))})},r.internalField=function(){Bm=function(t){var e=t._invertedIndicesMap;Ne(e,function(n,i){var o=t._dimInfos[i],s=o.ordinalMeta,l=t._store;if(s){n=e[i]=new Kx(s.categories.length);for(var f=0;f<n.length;f++)n[f]=wm;for(var f=0;f<l.count();f++)n[l.get(o.storeDimIndex,f)]=f}})},o0=function(t,e,n){return es(t._getCategory(e,n),null)},a0=function(t,e){var n=t._idList[e];return n==null&&t._idDimIdx!=null&&(n=o0(t,t._idDimIdx,e)),n==null&&(n=xk+e),n},YA=function(t){return yr(t)||(t=t!=null?[t]:[]),t},Ub=function(t){var e=new r(t._schema?t._schema:bg(t.dimensions,t._getDimInfo,t),t.hostModel);return _k(e,t),e},_k=function(t,e){Ne(Sk.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,Ne(Em,function(n){t[n]=Bn(e[n])}),t._calculationInfo=ar({},e._calculationInfo)},Dk=function(t,e){var n=t._nameList,i=t._idList,o=t._nameDimIdx,s=t._idDimIdx,l=n[e],f=i[e];if(l==null&&o!=null&&(n[e]=l=o0(t,o,e)),f==null&&s!=null&&(i[e]=f=o0(t,s,e)),f==null&&l!=null){var v=t._nameRepeatCount,C=v[l]=(v[l]||0)+1;f=l,C>1&&(f+="__ec__"+C),i[e]=f}}}(),r}();function jb(r,t){Fc(r)||(r=mb(r)),t=t||{};var e=t.coordDimensions||[],n=t.dimensionsDefine||r.dimensionsDefine||[],i=mn(),o=[],s=Hb(r,e,n,t.dimensionsCount),l=t.canOmitUnusedDimensions&&PQ(s),f=n===r.dimensionsDefine,v=f?yc(r):vu(n),C=t.encodeDefine;!C&&t.encodeDefaulter&&(C=t.encodeDefaulter(r,s));for(var w=mn(C),x=new dB(s),Q=0;Q<x.length;Q++)x[Q]=-1;function R(ve){var Ee=x[ve];if(Ee<0){var Se=n[ve],ke=Ln(Se)?Se:{name:Se},Le=new Cm,be=ke.name;be!=null&&v.get(be)!=null&&(Le.name=Le.displayName=be),ke.type!=null&&(Le.type=ke.type),ke.displayName!=null&&(Le.displayName=ke.displayName);var ze=o.length;return x[ve]=ze,Le.storeDimIndex=ve,o.push(Le),Le}return o[Ee]}if(!l)for(var Q=0;Q<s;Q++)R(Q);w.each(function(ve,Ee){var Se=ja(ve).slice();if(Se.length===1&&!en(Se[0])&&Se[0]<0){w.set(Ee,!1);return}var ke=w.set(Ee,[]);Ne(Se,function(Le,be){var ze=en(Le)?v.get(Le):Le;ze!=null&&ze<s&&(ke[be]=ze,P(R(ze),Ee,be))})});var L=0;Ne(e,function(ve){var Ee,Se,ke,Le;if(en(ve))Ee=ve,Le={};else{Le=ve,Ee=Le.name;var be=Le.ordinalMeta;Le.ordinalMeta=null,Le=ar({},Le),Le.ordinalMeta=be,Se=Le.dimsDef,ke=Le.otherDims,Le.name=Le.coordDim=Le.coordDimIndex=Le.dimsDef=Le.otherDims=null}var ze=w.get(Ee);if(ze!==!1){if(ze=ja(ze),!ze.length)for(var ut=0;ut<(Se&&Se.length||1);ut++){for(;L<s&&R(L).coordDim!=null;)L++;L<s&&ze.push(L++)}Ne(ze,function(ft,Qt){var vt=R(ft);if(f&&Le.type!=null&&(vt.type=Le.type),P(pn(vt,Le),Ee,Qt),vt.name==null&&Se){var Gt=Se[Qt];!Ln(Gt)&&(Gt={name:Gt}),vt.name=vt.displayName=Gt.name,vt.defaultTooltip=Gt.defaultTooltip}ke&&pn(vt.otherDims,ke)})}});function P(ve,Ee,Se){NE.get(Ee)!=null?ve.otherDims[Ee]=Se:(ve.coordDim=Ee,ve.coordDimIndex=Se,i.set(Ee,!0))}var M=t.generateCoord,k=t.generateCoordCount,G=k!=null;k=M?k||1:0;var Y=M||"value";function re(ve){ve.name==null&&(ve.name=ve.coordDim)}if(l)Ne(o,function(ve){re(ve)}),o.sort(function(ve,Ee){return ve.storeDimIndex-Ee.storeDimIndex});else for(var ie=0;ie<s;ie++){var le=R(ie),pe=le.coordDim;pe==null&&(le.coordDim=GQ(Y,i,G),le.coordDimIndex=0,(!M||k<=0)&&(le.isExtraCoord=!0),k--),re(le),le.type==null&&(sb(r,ie)===xu.Must||le.isExtraCoord&&(le.otherDims.itemName!=null||le.otherDims.seriesName!=null))&&(le.type="ordinal")}return BB(o),new NQ({source:r,dimensions:o,fullDimensionCount:s,dimensionOmitted:l})}function BB(r){for(var t=mn(),e=0;e<r.length;e++){var n=r[e],i=n.name,o=t.get(i)||0;o>0&&(n.name=i+(o-1)),o++,t.set(i,o)}}function Hb(r,t,e,n){var i=Math.max(r.dimensionsDetectedCount||1,t.length,e.length,n||0);return Ne(t,function(o){var s;Ln(o)&&(s=o.dimsDef)&&(i=Math.max(i,s.length))}),i}function GQ(r,t,e){if(e||t.hasKey(r)){for(var n=0;t.hasKey(r+n);)n++;r+=n}return t.set(r,!0),r}var it=function(){function r(t){this.coordSysDims=[],this.axisMap=mn(),this.categoryAxisMap=mn(),this.coordSysName=t}return r}();function km(r){var t=r.get("coordinateSystem"),e=new it(t),n=kB[t];if(n)return n(r,e,e.axisMap,e.categoryAxisMap),e}var kB={cartesian2d:function(r,t,e,n){var i=r.getReferringComponents("xAxis",fs).models[0],o=r.getReferringComponents("yAxis",fs).models[0];t.coordSysDims=["x","y"],e.set("x",i),e.set("y",o),mc(i)&&(n.set("x",i),t.firstCategoryDimIndex=0),mc(o)&&(n.set("y",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(r,t,e,n){var i=r.getReferringComponents("singleAxis",fs).models[0];t.coordSysDims=["single"],e.set("single",i),mc(i)&&(n.set("single",i),t.firstCategoryDimIndex=0)},polar:function(r,t,e,n){var i=r.getReferringComponents("polar",fs).models[0],o=i.findAxisModel("radiusAxis"),s=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],e.set("radius",o),e.set("angle",s),mc(o)&&(n.set("radius",o),t.firstCategoryDimIndex=0),mc(s)&&(n.set("angle",s),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(r,t,e,n){t.coordSysDims=["lng","lat"]},parallel:function(r,t,e,n){var i=r.ecModel,o=i.getComponent("parallel",r.get("parallelIndex")),s=t.coordSysDims=o.dimensions.slice();Ne(o.parallelAxisIndex,function(l,f){var v=i.getComponent("parallelAxis",l),C=s[f];e.set(C,v),mc(v)&&(n.set(C,v),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=f))})}};function mc(r){return r.get("type")==="category"}function Ga(r,t,e){e=e||{};var n=e.byIndex,i=e.stackedCoordDimension,o,s,l;q1(t)?o=t:(s=t.schema,o=s.dimensions,l=t.store);var f=!!(r&&r.get("stack")),v,C,w,x;if(Ne(o,function(k,G){en(k)&&(o[G]=k={name:k}),f&&!k.isExtraCoord&&(!n&&!v&&k.ordinalMeta&&(v=k),!C&&k.type!=="ordinal"&&k.type!=="time"&&(!i||i===k.coordDim)&&(C=k))}),C&&!n&&!v&&(n=!0),C){w="__\0ecstackresult_"+r.id,x="__\0ecstackedover_"+r.id,v&&(v.createInvertedIndices=!0);var Q=C.coordDim,R=C.type,L=0;Ne(o,function(k){k.coordDim===Q&&L++});var P={name:w,coordDim:Q,coordDimIndex:L,type:R,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},M={name:x,coordDim:x,coordDimIndex:L+1,type:R,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};s?(l&&(P.storeDimIndex=l.ensureCalculationDimension(x,R),M.storeDimIndex=l.ensureCalculationDimension(w,R)),s.appendCalculationDimension(P),s.appendCalculationDimension(M)):(o.push(P),o.push(M))}return{stackedDimension:C&&C.name,stackedByDimension:v&&v.name,isStackedByIndex:n,stackedOverDimension:x,stackResultDimension:w}}function q1(r){return!OQ(r.schema)}function Tc(r,t){return!!t&&t===r.getCalculationInfo("stackedDimension")}function JA(r,t){return Tc(r,t)?r.getCalculationInfo("stackResultDimension"):t}function z1(r,t){var e=r.get("coordinateSystem"),n=T1.get(e),i;return t&&t.coordSysDims&&(i=pr(t.coordSysDims,function(o){var s={name:o},l=t.axisMap.get(o);if(l){var f=l.get("type");s.type=W1(f)}return s})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function Ff(r,t,e){var n,i;return e&&Ne(r,function(o,s){var l=o.coordDim,f=e.categoryAxisMap.get(l);f&&(n==null&&(n=s),o.ordinalMeta=f.getOrdinalMeta(),t&&(o.createInvertedIndices=!0)),o.otherDims.itemName!=null&&(i=!0)}),!i&&n!=null&&(r[n].otherDims.itemName=0),n}function WA(r,t,e){e=e||{};var n=t.getSourceManager(),i,o=!1;r?(o=!0,i=mb(r)):(i=n.getSource(),o=i.sourceFormat===Nl);var s=km(t),l=z1(t,s),f=e.useEncodeDefaulter,v=bn(f)?f:f?ni(ib,l,t):null,C={coordDimensions:l,generateCoord:e.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:v,canOmitUnusedDimensions:!o},w=jb(i,C),x=Ff(w.dimensions,e.createInvertedIndices,s),Q=o?null:n.getSharedDataStore(w),R=Ga(t,{schema:w,store:Q}),L=new sl(w,t);L.setCalculationInfo(R);var P=x!=null&&UQ(i)?function(M,k,G,Y){return Y===x?G:this.defaultDimValueGetter(M,k,G,Y)}:null;return L.hasItemOption=!1,L.initData(o?i:Q,null,P),L}function UQ(r){if(r.sourceFormat===Nl){var t=Vx(r.data||[]);return!yr(Sd(t))}}function Vx(r){for(var t=0;t<r.length&&r[t]==null;)t++;return r[t]}var qA=function(){function r(t){this._setting=t||{},this._extent=[1/0,-1/0]}return r.prototype.getSetting=function(t){return this._setting[t]},r.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},r.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r}();wy(qA);var Rk=0,K1=function(){function r(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Rk}return r.createByAxisModel=function(t){var e=t.option,n=e.data,i=n&&pr(n,QB);return new r({categories:i,needCollect:!i,deduplication:e.dedplication!==!1})},r.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},r.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!en(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),e==null&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},r.prototype._getOrCreateMap=function(){return this._map||(this._map=mn(this.categories))},r}();function QB(r){return Ln(r)&&r.value!=null?r.value:r+""}function Mk(r){return r.type==="interval"||r.type==="log"}function jQ(r,t,e,n){var i={},o=r[1]-r[0],s=i.interval=$0(o/t);e!=null&&s<e&&(s=i.interval=e),n!=null&&s>n&&(s=i.interval=n);var l=i.intervalPrecision=xB(s),f=i.niceTickExtent=[Ra(Math.ceil(r[0]/s)*s,l),Ra(Math.floor(r[1]/s)*s,l)];return qh(f,r),i}function Tf(r){var t=Math.pow(10,Xc(r)),e=r/t;return e?e===2?e=3:e===3?e=5:e*=2:e=1,Ra(e*t)}function xB(r){return uu(r)+2}function s0(r,t,e){r[t]=Math.max(Math.min(r[t],e[1]),e[0])}function qh(r,t){!isFinite(r[0])&&(r[0]=t[0]),!isFinite(r[1])&&(r[1]=t[1]),s0(r,0,t),s0(r,1,t),r[0]>r[1]&&(r[0]=r[1])}function Yb(r,t){return r>=t[0]&&r<=t[1]}function Jb(r,t){return t[1]===t[0]?.5:(r-t[0])/(t[1]-t[0])}function u0(r,t){return r*(t[1]-t[0])+t[0]}var Lf=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new K1({})),yr(i)&&(i=new K1({categories:pr(i,function(o){return Ln(o)?o.value:o})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return t.prototype.parse=function(e){return e==null?NaN:en(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),Yb(e,this._extent)&&this._ordinalMeta.categories[e]!=null},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),Jb(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(u0(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],n=this._extent,i=n[0];i<=n[1];)e.push({value:i}),i++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(e==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var n=e.ordinalNumbers,i=this._ordinalNumbersByTick=[],o=this._ticksByOrdinalNumber=[],s=0,l=this._ordinalMeta.categories.length,f=Math.min(l,n.length);s<f;++s){var v=n[s];i[s]=v,o[v]=s}for(var C=0;s<l;++s){for(;o[C]!=null;)C++;i.push(C),o[C]=s}},t.prototype._getTickNumber=function(e){var n=this._ticksByOrdinalNumber;return n&&e>=0&&e<n.length?n[e]:e},t.prototype.getRawOrdinalNumber=function(e){var n=this._ordinalNumbersByTick;return n&&e>=0&&e<n.length?n[e]:e},t.prototype.getLabel=function(e){if(!this.isBlank()){var n=this.getRawOrdinalNumber(e.value),i=this._ordinalMeta.categories[n];return i==null?"":i+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(e,n){this.unionExtent(e.getApproximateExtent(n))},t.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(qA);qA.registerClass(Lf);var c0=Ra,Cg=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return Yb(e,this._extent)},t.prototype.normalize=function(e){return Jb(e,this._extent)},t.prototype.scale=function(e){return u0(e,this._extent)},t.prototype.setExtent=function(e,n){var i=this._extent;isNaN(e)||(i[0]=parseFloat(e)),isNaN(n)||(i[1]=parseFloat(n))},t.prototype.unionExtent=function(e){var n=this._extent;e[0]<n[0]&&(n[0]=e[0]),e[1]>n[1]&&(n[1]=e[1]),this.setExtent(n[0],n[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=xB(e)},t.prototype.getTicks=function(e){var n=this._interval,i=this._extent,o=this._niceExtent,s=this._intervalPrecision,l=[];if(!n)return l;var f=1e4;i[0]<o[0]&&(e?l.push({value:c0(o[0]-n,s)}):l.push({value:i[0]}));for(var v=o[0];v<=o[1]&&(l.push({value:v}),v=c0(v+n,s),v!==l[l.length-1].value);)if(l.length>f)return[];var C=l.length?l[l.length-1].value:o[1];return i[1]>C&&(e?l.push({value:c0(C+n,s)}):l.push({value:i[1]})),l},t.prototype.getMinorTicks=function(e){for(var n=this.getTicks(!0),i=[],o=this.getExtent(),s=1;s<n.length;s++){for(var l=n[s],f=n[s-1],v=0,C=[],w=l.value-f.value,x=w/e;v<e-1;){var Q=c0(f.value+(v+1)*x);Q>o[0]&&Q<o[1]&&C.push(Q),v++}i.push(C)}return i},t.prototype.getLabel=function(e,n){if(e==null)return"";var i=n&&n.precision;i==null?i=uu(e.value)||0:i==="auto"&&(i=this._intervalPrecision);var o=c0(e.value,i,!0);return $I(o)},t.prototype.calcNiceTicks=function(e,n,i){e=e||5;var o=this._extent,s=o[1]-o[0];if(isFinite(s)){s<0&&(s=-s,o.reverse());var l=jQ(o,e,n,i);this._intervalPrecision=l.intervalPrecision,this._interval=l.interval,this._niceExtent=l.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var n=this._extent;if(n[0]===n[1])if(n[0]!==0){var i=Math.abs(n[0]);e.fixMax||(n[1]+=i/2),n[0]-=i/2}else n[1]=1;var o=n[1]-n[0];isFinite(o)||(n[0]=0,n[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var s=this._interval;e.fixMin||(n[0]=c0(Math.floor(n[0]/s)*s)),e.fixMax||(n[1]=c0(Math.ceil(n[1]/s)*s))},t.prototype.setNiceExtent=function(e,n){this._niceExtent=[e,n]},t.type="interval",t}(qA);qA.registerClass(Cg);var Wb=typeof Float32Array<"u",HQ=Wb?Float32Array:Array;function Ho(r){return yr(r)?Wb?new Float32Array(r):r:new HQ(r)}var qb="__ec_stack_";function Fk(r){return r.get("stack")||qb+r.seriesIndex}function zh(r){return r.dim+r.index}function Tk(r){var t=[],e=r.axis,n="axis0";if(e.type==="category"){for(var i=e.getBandWidth(),o=0;o<r.count;o++)t.push(pn({bandWidth:i,axisKey:n,stackId:qb+o},r));for(var s=Lc(t),l=[],o=0;o<r.count;o++){var f=s[n][qb+o];f.offsetCenter=f.offset+f.width/2,l.push(f)}return l}}function zb(r,t){var e=[];return t.eachSeriesByType(r,function(n){SB(n)&&e.push(n)}),e}function V1(r){var t={};Ne(r,function(f){var v=f.coordinateSystem,C=v.getBaseAxis();if(!(C.type!=="time"&&C.type!=="value"))for(var w=f.getData(),x=C.dim+"_"+C.index,Q=w.getDimensionIndex(w.mapDimension(C.dim)),R=w.getStore(),L=0,P=R.count();L<P;++L){var M=R.get(Q,L);t[x]?t[x].push(M):t[x]=[M]}});var e={};for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];if(i){i.sort(function(f,v){return f-v});for(var o=null,s=1;s<i.length;++s){var l=i[s]-i[s-1];l>0&&(o=o===null?l:Math.min(o,l))}e[n]=o}}return e}function Lk(r){var t=V1(r),e=[];return Ne(r,function(n){var i=n.coordinateSystem,o=i.getBaseAxis(),s=o.getExtent(),l;if(o.type==="category")l=o.getBandWidth();else if(o.type==="value"||o.type==="time"){var f=o.dim+"_"+o.index,v=t[f],C=Math.abs(s[1]-s[0]),w=o.scale.getExtent(),x=Math.abs(w[1]-w[0]);l=v?C/x*v:C}else{var Q=n.getData();l=Math.abs(s[1]-s[0])/Q.count()}var R=jr(n.get("barWidth"),l),L=jr(n.get("barMaxWidth"),l),P=jr(n.get("barMinWidth")||(Qm(n)?.5:1),l),M=n.get("barGap"),k=n.get("barCategoryGap");e.push({bandWidth:l,barWidth:R,barMaxWidth:L,barMinWidth:P,barGap:M,barCategoryGap:k,axisKey:zh(o),stackId:Fk(n)})}),Lc(e)}function Lc(r){var t={};Ne(r,function(n,i){var o=n.axisKey,s=n.bandWidth,l=t[o]||{bandWidth:s,remainedWidth:s,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},f=l.stacks;t[o]=l;var v=n.stackId;f[v]||l.autoWidthCount++,f[v]=f[v]||{width:0,maxWidth:0};var C=n.barWidth;C&&!f[v].width&&(f[v].width=C,C=Math.min(l.remainedWidth,C),l.remainedWidth-=C);var w=n.barMaxWidth;w&&(f[v].maxWidth=w);var x=n.barMinWidth;x&&(f[v].minWidth=x);var Q=n.barGap;Q!=null&&(l.gap=Q);var R=n.barCategoryGap;R!=null&&(l.categoryGap=R)});var e={};return Ne(t,function(n,i){e[i]={};var o=n.stacks,s=n.bandWidth,l=n.categoryGap;if(l==null){var f=fi(o).length;l=Math.max(35-f*4,15)+"%"}var v=jr(l,s),C=jr(n.gap,1),w=n.remainedWidth,x=n.autoWidthCount,Q=(w-v)/(x+(x-1)*C);Q=Math.max(Q,0),Ne(o,function(M){var k=M.maxWidth,G=M.minWidth;if(M.width){var Y=M.width;k&&(Y=Math.min(Y,k)),G&&(Y=Math.max(Y,G)),M.width=Y,w-=Y+C*Y,x--}else{var Y=Q;k&&k<Y&&(Y=Math.min(k,w)),G&&G>Y&&(Y=G),Y!==Q&&(M.width=Y,w-=Y+C*Y,x--)}}),Q=(w-v)/(x+(x-1)*C),Q=Math.max(Q,0);var R=0,L;Ne(o,function(M,k){M.width||(M.width=Q),L=M,R+=M.width*(1+C)}),L&&(R-=L.width*C);var P=-R/2;Ne(o,function(M,k){e[i][k]=e[i][k]||{bandWidth:s,offset:P,width:M.width},P+=M.width*(1+C)})}),e}function Nk(r,t,e){if(r&&t){var n=r[zh(t)];return n}}function YQ(r,t){var e=zb(r,t),n=Lk(e);Ne(e,function(i){var o=i.getData(),s=i.coordinateSystem,l=s.getBaseAxis(),f=Fk(i),v=n[zh(l)][f],C=v.offset,w=v.width;o.setLayout({bandWidth:v.bandWidth,offset:C,size:w})})}function JQ(r){return{seriesType:r,plan:c(),reset:function(t){if(SB(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),o=n.getOtherAxis(i),s=e.getDimensionIndex(e.mapDimension(o.dim)),l=e.getDimensionIndex(e.mapDimension(i.dim)),f=t.get("showBackground",!0),v=e.mapDimension(o.dim),C=e.getCalculationInfo("stackResultDimension"),w=Tc(e,v)&&!!e.getCalculationInfo("stackedOnSeries"),x=o.isHorizontal(),Q=WQ(i,o),R=Qm(t),L=t.get("barMinHeight")||0,P=C&&e.getDimensionIndex(C),M=e.getLayout("size"),k=e.getLayout("offset");return{progress:function(G,Y){for(var re=G.count,ie=R&&Ho(re*3),le=R&&f&&Ho(re*3),pe=R&&Ho(re),ve=n.master.getRect(),Ee=x?ve.width:ve.height,Se,ke=Y.getStore(),Le=0;(Se=G.next())!=null;){var be=ke.get(w?P:s,Se),ze=ke.get(l,Se),ut=Q,ft=void 0;w&&(ft=+be-ke.get(s,Se));var Qt=void 0,vt=void 0,Gt=void 0,Ct=void 0;if(x){var St=n.dataToPoint([be,ze]);if(w){var dr=n.dataToPoint([ft,ze]);ut=dr[0]}Qt=ut,vt=St[1]+k,Gt=St[0]-ut,Ct=M,Math.abs(Gt)<L&&(Gt=(Gt<0?-1:1)*L)}else{var St=n.dataToPoint([ze,be]);if(w){var dr=n.dataToPoint([ze,ft]);ut=dr[1]}Qt=St[0]+k,vt=ut,Gt=M,Ct=St[1]-ut,Math.abs(Ct)<L&&(Ct=(Ct<=0?-1:1)*L)}R?(ie[Le]=Qt,ie[Le+1]=vt,ie[Le+2]=x?Gt:Ct,le&&(le[Le]=x?ve.x:Qt,le[Le+1]=x?vt:ve.y,le[Le+2]=Ee),pe[Se]=Se):Y.setItemLayout(Se,{x:Qt,y:vt,width:Gt,height:Ct}),Le+=3}R&&Y.setLayout({largePoints:ie,largeDataIndices:pe,largeBackgroundPoints:le,valueAxisHorizontal:x})}}}}}}function SB(r){return r.coordinateSystem&&r.coordinateSystem.type==="cartesian2d"}function Qm(r){return r.pipelineContext&&r.pipelineContext.large}function WQ(r,t){var e=t.model.get("startValue");return e||(e=0),t.toGlobalCoord(t.dataToCoord(t.type==="log"?e>0?e:1:e))}var Kb=function(r,t,e,n){for(;e<n;){var i=e+n>>>1;r[i][1]<t?e=i+1:n=i}return e},Vb=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n.type="time",n}return t.prototype.getLabel=function(e){var n=this.getSetting("useUTC");return Q1(e.value,VI[K5(cg(this._minLevelUnit))]||VI.second,n,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,n,i){var o=this.getSetting("useUTC"),s=this.getSetting("locale");return _E(e,n,i,s,o)},t.prototype.getTicks=function(){var e=this._interval,n=this._extent,i=[];if(!e)return i;i.push({value:n[0],level:0});var o=this.getSetting("useUTC"),s=_B(this._minLevelUnit,this._approxInterval,o,n);return i=i.concat(s),i.push({value:n[1],level:0}),i},t.prototype.calcNiceExtent=function(e){var n=this._extent;if(n[0]===n[1]&&(n[0]-=Mc,n[1]+=Mc),n[1]===-1/0&&n[0]===1/0){var i=new Date;n[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),n[0]=n[1]-Mc}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,n,i){e=e||10;var o=this._extent,s=o[1]-o[0];this._approxInterval=s/e,n!=null&&this._approxInterval<n&&(this._approxInterval=n),i!=null&&this._approxInterval>i&&(this._approxInterval=i);var l=Zb.length,f=Math.min(Kb(Zb,this._approxInterval,0,l),l-1);this._interval=Zb[f][1],this._minLevelUnit=Zb[Math.max(f-1,0)][0]},t.prototype.parse=function(e){return $i(e)?e:+Bc(e)},t.prototype.contain=function(e){return Yb(this.parse(e),this._extent)},t.prototype.normalize=function(e){return Jb(this.parse(e),this._extent)},t.prototype.scale=function(e){return u0(e,this._extent)},t.type="time",t}(Cg),Zb=[["second",KI],["minute",Zy],["hour",Ph],["quarter-day",Ph*6],["half-day",Ph*12],["day",Mc*1.2],["half-week",Mc*3.5],["week",Mc*7],["month",Mc*31],["quarter",Mc*95],["half-year",Xy/2],["year",Xy]];function qQ(r,t,e,n){var i=Bc(t),o=Bc(e),s=function(R){return RE(i,R,n)===RE(o,R,n)},l=function(){return s("year")},f=function(){return l()&&s("month")},v=function(){return f()&&s("day")},C=function(){return v()&&s("hour")},w=function(){return C()&&s("minute")},x=function(){return w()&&s("second")},Q=function(){return x()&&s("millisecond")};switch(r){case"year":return l();case"month":return f();case"day":return v();case"hour":return C();case"minute":return w();case"second":return x();case"millisecond":return Q()}}function Ok(r,t){return r/=Mc,r>16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function Zx(r){var t=30*Mc;return r/=t,r>6?6:r>3?3:r>2?2:1}function Pk(r){return r/=Ph,r>12?12:r>6?6:r>3.5?4:r>2?2:1}function Gk(r,t){return r/=t?Zy:KI,r>30?30:r>20?20:r>15?15:r>10?10:r>5?5:r>2?2:1}function zQ(r){return $0(r)}function KQ(r,t,e){var n=new Date(r);switch(cg(t)){case"year":case"month":n[ME(e)](0);case"day":n[Tp(e)](1);case"hour":n[Lp(e)](0);case"minute":n[FE(e)](0);case"second":n[TE(e)](0),n[XI(e)](0)}return n.getTime()}function _B(r,t,e,n){var i=1e4,o=Bf,s=0;function l(Ee,Se,ke,Le,be,ze,ut){for(var ft=new Date(Se),Qt=Se,vt=ft[Le]();Qt<ke&&Qt<=n[1];)ut.push({value:Qt}),vt+=Ee,ft[be](vt),Qt=ft.getTime();ut.push({value:Qt,notAdd:!0})}function f(Ee,Se,ke){var Le=[],be=!Se.length;if(!qQ(cg(Ee),n[0],n[1],e)){be&&(Se=[{value:KQ(new Date(n[0]),Ee,e)},{value:n[1]}]);for(var ze=0;ze<Se.length-1;ze++){var ut=Se[ze].value,ft=Se[ze+1].value;if(ut!==ft){var Qt=void 0,vt=void 0,Gt=void 0,Ct=!1;switch(Ee){case"year":Qt=Math.max(1,Math.round(t/Mc/365)),vt=ZI(e),Gt=V5(e);break;case"half-year":case"quarter":case"month":Qt=Zx(t),vt=Gh(e),Gt=ME(e);break;case"week":case"half-week":case"day":Qt=Ok(t),vt=Mp(e),Gt=Tp(e),Ct=!0;break;case"half-day":case"quarter-day":case"hour":Qt=Pk(t),vt=Fp(e),Gt=Lp(e);break;case"minute":Qt=Gk(t,!0),vt=em(e),Gt=FE(e);break;case"second":Qt=Gk(t,!1),vt=x1(e),Gt=TE(e);break;case"millisecond":Qt=zQ(t),vt=tm(e),Gt=XI(e);break}l(Qt,ut,ft,vt,Gt,Ct,Le),Ee==="year"&&ke.length>1&&ze===0&&ke.unshift({value:ke[0].value-Qt})}}for(var ze=0;ze<Le.length;ze++)ke.push(Le[ze]);return Le}}for(var v=[],C=[],w=0,x=0,Q=0;Q<o.length&&s++<i;++Q){var R=cg(o[Q]);if(SE(o[Q])){f(o[Q],v[v.length-1]||[],C);var L=o[Q+1]?cg(o[Q+1]):null;if(R!==L){if(C.length){x=w,C.sort(function(Ee,Se){return Ee.value-Se.value});for(var P=[],M=0;M<C.length;++M){var k=C[M].value;(M===0||C[M-1].value!==k)&&(P.push(C[M]),k>=n[0]&&k<=n[1]&&w++)}var G=(n[1]-n[0])/t;if(w>G*1.5&&x>G/1.5||(v.push(P),w>G||r===o[Q]))break}C=[]}}}for(var Y=Ii(pr(v,function(Se){return Ii(Se,function(ke){return ke.value>=n[0]&&ke.value<=n[1]&&!ke.notAdd})}),function(Se){return Se.length>0}),re=[],ie=Y.length-1,Q=0;Q<Y.length;++Q)for(var le=Y[Q],pe=0;pe<le.length;++pe)re.push({value:le[pe].value,level:ie-Q});re.sort(function(Ee,Se){return Ee.value-Se.value});for(var ve=[],Q=0;Q<re.length;++Q)(Q===0||re[Q].value!==re[Q-1].value)&&ve.push(re[Q]);return ve}qA.registerClass(Vb);var Uk=qA.prototype,xm=Cg.prototype,VQ=Ra,jk=Math.floor,ZQ=Math.ceil,Sm=Math.pow,dh=Math.log,pa=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Cg,e._interval=0,e}return t.prototype.getTicks=function(e){var n=this._originalScale,i=this._extent,o=n.getExtent(),s=xm.getTicks.call(this,e);return pr(s,function(l){var f=l.value,v=Ra(Sm(this.base,f));return v=f===i[0]&&this._fixMin?DB(v,o[0]):v,v=f===i[1]&&this._fixMax?DB(v,o[1]):v,{value:v}},this)},t.prototype.setExtent=function(e,n){var i=dh(this.base);e=dh(Math.max(0,e))/i,n=dh(Math.max(0,n))/i,xm.setExtent.call(this,e,n)},t.prototype.getExtent=function(){var e=this.base,n=Uk.getExtent.call(this);n[0]=Sm(e,n[0]),n[1]=Sm(e,n[1]);var i=this._originalScale,o=i.getExtent();return this._fixMin&&(n[0]=DB(n[0],o[0])),this._fixMax&&(n[1]=DB(n[1],o[1])),n},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var n=this.base;e[0]=dh(e[0])/dh(n),e[1]=dh(e[1])/dh(n),Uk.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,n){this.unionExtent(e.getApproximateExtent(n))},t.prototype.calcNiceTicks=function(e){e=e||10;var n=this._extent,i=n[1]-n[0];if(!(i===1/0||i<=0)){var o=up(i),s=e/i*o;for(s<=.5&&(o*=10);!isNaN(o)&&Math.abs(o)<1&&Math.abs(o)>0;)o*=10;var l=[Ra(ZQ(n[0]/o)*o),Ra(jk(n[1]/o)*o)];this._interval=o,this._niceExtent=l}},t.prototype.calcNiceExtent=function(e){xm.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=dh(e)/dh(this.base),Yb(e,this._extent)},t.prototype.normalize=function(e){return e=dh(e)/dh(this.base),Jb(e,this._extent)},t.prototype.scale=function(e){return e=u0(e,this._extent),Sm(this.base,e)},t.type="log",t}(qA),XQ=pa.prototype;XQ.getMinorTicks=xm.getMinorTicks,XQ.getLabel=xm.getLabel;function DB(r,t){return VQ(r,uu(t))}qA.registerClass(pa);var Xb=function(){function r(t,e,n){this._prepareParams(t,e,n)}return r.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal=t.type==="ordinal";this._needCrossZero=t.type==="interval"&&e.getNeedCrossZero&&e.getNeedCrossZero();var o=e.get("min",!0);o==null&&(o=e.get("startValue",!0));var s=this._modelMinRaw=o;bn(s)?this._modelMinNum=ul(t,s({min:n[0],max:n[1]})):s!=="dataMin"&&(this._modelMinNum=ul(t,s));var l=this._modelMaxRaw=e.get("max",!0);if(bn(l)?this._modelMaxNum=ul(t,l({min:n[0],max:n[1]})):l!=="dataMax"&&(this._modelMaxNum=ul(t,l)),i)this._axisDataLen=e.getCategories().length;else{var f=e.get("boundaryGap"),v=yr(f)?f:[f||0,f||0];typeof v[0]=="boolean"||typeof v[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[Do(v[0],1),Do(v[1],1)]}},r.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,i=this._axisDataLen,o=this._boundaryGapInner,s=t?null:n-e||Math.abs(e),l=this._modelMinRaw==="dataMin"?e:this._modelMinNum,f=this._modelMaxRaw==="dataMax"?n:this._modelMaxNum,v=l!=null,C=f!=null;l==null&&(l=t?i?0:NaN:e-o[0]*s),f==null&&(f=t?i?i-1:NaN:n+o[1]*s),(l==null||!isFinite(l))&&(l=NaN),(f==null||!isFinite(f))&&(f=NaN);var w=Tg(l)||Tg(f)||t&&!i;this._needCrossZero&&(l>0&&f>0&&!v&&(l=0),l<0&&f<0&&!C&&(f=0));var x=this._determinedMin,Q=this._determinedMax;return x!=null&&(l=x,v=!0),Q!=null&&(f=Q,C=!0),{min:l,max:f,minFixed:v,maxFixed:C,isBlank:w}},r.prototype.modifyDataMinMax=function(t,e){this[Xx[t]]=e},r.prototype.setDeterminedMinMax=function(t,e){var n=$Q[t];this[n]=e},r.prototype.freeze=function(){this.frozen=!0},r}(),$Q={min:"_determinedMin",max:"_determinedMax"},Xx={min:"_dataMin",max:"_dataMax"};function e6(r,t,e){var n=r.rawExtentInfo;return n||(n=new Xb(r,t,e),r.rawExtentInfo=n,n)}function ul(r,t){return t==null?null:Tg(t)?NaN:r.parse(t)}function t6(r,t){var e=r.type,n=e6(r,t,r.getExtent()).calculate();r.setBlank(n.isBlank);var i=n.min,o=n.max,s=t.ecModel;if(s&&e==="time"){var l=zb("bar",s),f=!1;if(Ne(l,function(w){f=f||w.getBaseAxis()===t.axis}),f){var v=Lk(l),C=RB(i,o,t,v);i=C.min,o=C.max}}return{extent:[i,o],fixMin:n.minFixed,fixMax:n.maxFixed}}function RB(r,t,e,n){var i=e.axis.getExtent(),o=Math.abs(i[1]-i[0]),s=Nk(n,e.axis);if(s===void 0)return{min:r,max:t};var l=1/0;Ne(s,function(Q){l=Math.min(Q.offset,l)});var f=-1/0;Ne(s,function(Q){f=Math.max(Q.offset+Q.width,f)}),l=Math.abs(l),f=Math.abs(f);var v=l+f,C=t-r,w=1-(l+f)/o,x=C/w-C;return t+=x*(f/v),r-=x*(l/v),{min:r,max:t}}function l0(r,t){var e=t,n=t6(r,e),i=n.extent,o=e.get("splitNumber");r instanceof pa&&(r.base=e.get("logBase"));var s=r.type,l=e.get("interval"),f=s==="interval"||s==="time";r.setExtent(i[0],i[1]),r.calcNiceExtent({splitNumber:o,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:f?e.get("minInterval"):null,maxInterval:f?e.get("maxInterval"):null}),l!=null&&r.setInterval&&r.setInterval(l)}function $b(r,t){if(t=t||r.get("type"),t)switch(t){case"category":return new Lf({ordinalMeta:r.getOrdinalMeta?r.getOrdinalMeta():r.getCategories(),extent:[1/0,-1/0]});case"time":return new Vb({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(qA.getClass(t)||Cg)}}function r6(r){var t=r.scale.getExtent(),e=t[0],n=t[1];return!(e>0&&n>0||e<0&&n<0)}function Vu(r){var t=r.getLabelModel().get("formatter"),e=r.type==="category"?r.scale.getExtent()[0]:null;return r.scale.type==="time"?function(n){return function(i,o){return r.scale.getFormattedLabel(i,o,n)}}(t):en(t)?function(n){return function(i){var o=r.scale.getLabel(i),s=n.replace("{value}",o??"");return s}}(t):bn(t)?function(n){return function(i,o){return e!=null&&(o=i.value-e),n(zA(r,i),o,i.level!=null?{level:i.level}:null)}}(t):function(n){return r.scale.getLabel(n)}}function zA(r,t){return r.type==="category"?r.scale.getLabel(t):t.value}function Hk(r){var t=r.model,e=r.scale;if(!(!t.get(["axisLabel","show"])||e.isBlank())){var n,i,o=e.getExtent();e instanceof Lf?i=e.count():(n=e.getTicks(),i=n.length);var s=r.getLabelModel(),l=Vu(r),f,v=1;i>40&&(v=Math.ceil(i/40));for(var C=0;C<i;C+=v){var w=n?n[C]:{value:o[0]+C},x=l(w,C),Q=s.getTextRect(x),R=n6(Q,s.get("rotate")||0);f?f.union(R):f=R}return f}}function n6(r,t){var e=t*Math.PI/180,n=r.width,i=r.height,o=n*Math.abs(Math.cos(e))+Math.abs(i*Math.sin(e)),s=n*Math.abs(Math.sin(e))+Math.abs(i*Math.cos(e)),l=new gi(r.x,r.y,o,s);return l}function _m(r){var t=r.get("interval");return t??"auto"}function Yk(r){return r.type==="category"&&_m(r.getLabelModel())===0}function Dm(r,t){var e={};return Ne(r.mapDimensionsAll(t),function(n){e[JA(r,n)]=!0}),fi(e)}function i6(r,t,e){t&&Ne(Dm(t,e),function(n){var i=t.getApproximateExtent(n);i[0]<r[0]&&(r[0]=i[0]),i[1]>r[1]&&(r[1]=i[1])})}var Z1=function(){function r(){}return r.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},r.prototype.getCoordSysModel=function(){},r}(),Jk=1e-8;function wg(r,t){return Math.abs(r-t)<Jk}function X1(r,t,e){var n=0,i=r[0];if(!i)return!1;for(var o=1;o<r.length;o++){var s=r[o];n+=hc(i[0],i[1],s[0],s[1],t,e),i=s}var l=r[0];return(!wg(i[0],l[0])||!wg(i[1],l[1]))&&(n+=hc(i[0],i[1],l[0],l[1],t,e)),n!==0}var h0=[];function MB(r,t){for(var e=0;e<r.length;e++)js(r[e],r[e],t)}function Wk(r,t,e,n){for(var i=0;i<r.length;i++){var o=r[i];n&&(o=n.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(rA(t,t,o),tf(e,e,o))}}function qk(r){for(var t=0,e=0,n=0,i=r.length,o=r[i-1][0],s=r[i-1][1],l=0;l<i;l++){var f=r[l][0],v=r[l][1],C=o*v-f*s;t+=C,e+=(o+f)*C,n+=(s+v)*C,o=f,s=v}return t?[e/t/3,n/t/3,t]:[r[0][0]||0,r[0][1]||0]}var zk=function(){function r(t){this.name=t}return r.prototype.setCenter=function(t){this._center=t},r.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},r}(),Kk=function(){function r(t,e){this.type="polygon",this.exterior=t,this.interiors=e}return r}(),Vk=function(){function r(t){this.type="linestring",this.points=t}return r}(),Zk=function(r){kt(t,r);function t(e,n,i){var o=r.call(this,e)||this;return o.type="geoJSON",o.geometries=n,o._center=i&&[i[0],i[1]],o}return t.prototype.calcCenter=function(){for(var e=this.geometries,n,i=0,o=0;o<e.length;o++){var s=e[o],l=s.exterior,f=l&&l.length;f>i&&(n=s,i=f)}if(n)return qk(n.exterior);var v=this.getBoundingRect();return[v.x+v.width/2,v.y+v.height/2]},t.prototype.getBoundingRect=function(e){var n=this._rect;if(n&&!e)return n;var i=[1/0,1/0],o=[-1/0,-1/0],s=this.geometries;return Ne(s,function(l){l.type==="polygon"?Wk(l.exterior,i,o,e):Ne(l.points,function(f){Wk(f,i,o,e)})}),isFinite(i[0])&&isFinite(i[1])&&isFinite(o[0])&&isFinite(o[1])||(i[0]=i[1]=o[0]=o[1]=0),n=new gi(i[0],i[1],o[0]-i[0],o[1]-i[1]),e||(this._rect=n),n},t.prototype.contain=function(e){var n=this.getBoundingRect(),i=this.geometries;if(!n.contain(e[0],e[1]))return!1;e:for(var o=0,s=i.length;o<s;o++){var l=i[o];if(l.type==="polygon"){var f=l.exterior,v=l.interiors;if(X1(f,e[0],e[1])){for(var C=0;C<(v?v.length:0);C++)if(X1(v[C],e[0],e[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(e,n,i,o){var s=this.getBoundingRect(),l=s.width/s.height;i?o||(o=i/l):i=l*o;for(var f=new gi(e,n,i,o),v=s.calculateTransform(f),C=this.geometries,w=0;w<C.length;w++){var x=C[w];x.type==="polygon"?(MB(x.exterior,v),Ne(x.interiors,function(Q){MB(Q,v)})):Ne(x.points,function(Q){MB(Q,v)})}s=this._rect,s.copy(f),this._center=[s.x+s.width/2,s.y+s.height/2]},t.prototype.cloneShallow=function(e){e==null&&(e=this.name);var n=new t(e,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},t}(zk),jl=function(r){kt(t,r);function t(e,n){var i=r.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return t.prototype.calcCenter=function(){for(var e=this._elOnlyForCalculate,n=e.getBoundingRect(),i=[n.x+n.width/2,n.y+n.height/2],o=M0(h0),s=e;s&&!s.isGeoSVGGraphicRoot;)ic(o,s.getLocalTransform(),o),s=s.parent;return yd(o,o),js(i,i,o),i},t}(zk);function KA(r){if(!r.UTF8Encoding)return r;var t=r,e=t.UTF8Scale;e==null&&(e=1024);var n=t.features;return Ne(n,function(i){var o=i.geometry,s=o.encodeOffsets,l=o.coordinates;if(s)switch(o.type){case"LineString":o.coordinates=$1(l,s,e);break;case"Polygon":Rm(l,s,e);break;case"MultiLineString":Rm(l,s,e);break;case"MultiPolygon":Ne(l,function(f,v){return Rm(f,s[v],e)})}}),t.UTF8Encoding=!1,t}function Rm(r,t,e){for(var n=0;n<r.length;n++)r[n]=$1(r[n],t[n],e)}function $1(r,t,e){for(var n=[],i=t[0],o=t[1],s=0;s<r.length;s+=2){var l=r.charCodeAt(s)-64,f=r.charCodeAt(s+1)-64;l=l>>1^-(l&1),f=f>>1^-(f&1),l+=i,f+=o,i=l,o=f,n.push([l/e,f/e])}return n}function a6(r,t){return r=KA(r),pr(Ii(r.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var n=e.properties,i=e.geometry,o=[];switch(i.type){case"Polygon":var s=i.coordinates;o.push(new Kk(s[0],s.slice(1)));break;case"MultiPolygon":Ne(i.coordinates,function(f){f[0]&&o.push(new Kk(f[0],f.slice(1)))});break;case"LineString":o.push(new Vk([i.coordinates]));break;case"MultiLineString":o.push(new Vk(i.coordinates))}var l=new Zk(n[t||"name"],o,n.cp);return l.properties=n,l})}var Mm=Vi();function Xk(r,t){var e=pr(t,function(n){return r.scale.parse(n)});return r.type==="time"&&e.length>0&&(e.sort(),e.unshift(e[0]),e.push(e[e.length-1])),e}function Fm(r){var t=r.getLabelModel().get("customValues");if(t){var e=Vu(r),n=r.scale.getExtent(),i=Xk(r,t),o=Ii(i,function(s){return s>=n[0]&&s<=n[1]});return{labels:pr(o,function(s){var l={value:s};return{formattedLabel:e(l),rawLabel:r.scale.getLabel(l),tickValue:s}})}}return r.type==="category"?o6(r):s6(r)}function eC(r,t){var e=r.getTickModel().get("customValues");if(e){var n=r.scale.getExtent(),i=Xk(r,e);return{ticks:Ii(i,function(o){return o>=n[0]&&o<=n[1]})}}return r.type==="category"?FB(r,t):{ticks:pr(r.scale.getTicks(),function(o){return o.value})}}function o6(r){var t=r.getLabelModel(),e=$k(r,t);return!t.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:e.labelCategoryInterval}:e}function $k(r,t){var e=tC(r,"labels"),n=_m(t),i=TB(e,n);if(i)return i;var o,s;return bn(n)?o=l6(r,n):(s=n==="auto"?u6(r):n,o=NB(r,s)),rC(e,n,{labels:o,labelCategoryInterval:s})}function FB(r,t){var e=tC(r,"ticks"),n=_m(t),i=TB(e,n);if(i)return i;var o,s;if((!t.get("show")||r.scale.isBlank())&&(o=[]),bn(n))o=l6(r,n,!0);else if(n==="auto"){var l=$k(r,r.getLabelModel());s=l.labelCategoryInterval,o=pr(l.labels,function(f){return f.tickValue})}else s=n,o=NB(r,s,!0);return rC(e,n,{ticks:o,tickCategoryInterval:s})}function s6(r){var t=r.scale.getTicks(),e=Vu(r);return{labels:pr(t,function(n,i){return{level:n.level,formattedLabel:e(n,i),rawLabel:r.scale.getLabel(n),tickValue:n.value}})}}function tC(r,t){return Mm(r)[t]||(Mm(r)[t]=[])}function TB(r,t){for(var e=0;e<r.length;e++)if(r[e].key===t)return r[e].value}function rC(r,t,e){return r.push({key:t,value:e}),e}function u6(r){var t=Mm(r).autoInterval;return t??(Mm(r).autoInterval=r.calculateCategoryInterval())}function LB(r){var t=c6(r),e=Vu(r),n=(t.axisRotate-t.labelRotate)/180*Math.PI,i=r.scale,o=i.getExtent(),s=i.count();if(o[1]-o[0]<1)return 0;var l=1;s>40&&(l=Math.max(1,Math.floor(s/40)));for(var f=o[0],v=r.dataToCoord(f+1)-r.dataToCoord(f),C=Math.abs(v*Math.cos(n)),w=Math.abs(v*Math.sin(n)),x=0,Q=0;f<=o[1];f+=l){var R=0,L=0,P=V0(e({value:f}),t.font,"center","top");R=P.width*1.3,L=P.height*1.3,x=Math.max(x,R,7),Q=Math.max(Q,L,7)}var M=x/C,k=Q/w;isNaN(M)&&(M=1/0),isNaN(k)&&(k=1/0);var G=Math.max(0,Math.floor(Math.min(M,k))),Y=Mm(r.model),re=r.getExtent(),ie=Y.lastAutoInterval,le=Y.lastTickCount;return ie!=null&&le!=null&&Math.abs(ie-G)<=1&&Math.abs(le-s)<=1&&ie>G&&Y.axisExtent0===re[0]&&Y.axisExtent1===re[1]?G=ie:(Y.lastTickCount=s,Y.lastAutoInterval=G,Y.axisExtent0=re[0],Y.axisExtent1=re[1]),G}function c6(r){var t=r.getLabelModel();return{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function NB(r,t,e){var n=Vu(r),i=r.scale,o=i.getExtent(),s=r.getLabelModel(),l=[],f=Math.max((t||0)+1,1),v=o[0],C=i.count();v!==0&&f>1&&C/f>2&&(v=Math.round(Math.ceil(v/f)*f));var w=Yk(r),x=s.get("showMinLabel")||w,Q=s.get("showMaxLabel")||w;x&&v!==o[0]&&L(o[0]);for(var R=v;R<=o[1];R+=f)L(R);Q&&R-f!==o[1]&&L(o[1]);function L(P){var M={value:P};l.push(e?P:{formattedLabel:n(M),rawLabel:i.getLabel(M),tickValue:P})}return l}function l6(r,t,e){var n=r.scale,i=Vu(r),o=[];return Ne(n.getTicks(),function(s){var l=n.getLabel(s),f=s.value;t(s.value,l)&&o.push(e?f:{formattedLabel:i(s),rawLabel:l,tickValue:f})}),o}var e4=[0,1],_u=function(){function r(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return r.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},r.prototype.containData=function(t){return this.scale.contain(t)},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(t){return Ay(t||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},r.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(n=n.slice(),t4(n,i.count())),ea(t,e4,n,e)},r.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(n=n.slice(),t4(n,i.count()));var o=ea(t,n,e4,e);return this.scale.scale(o)},r.prototype.pointToData=function(t,e){},r.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=eC(this,e),i=n.ticks,o=pr(i,function(l){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(l):l),tickValue:l}},this),s=e.get("alignWithLabel");return h6(this,o,s,t.clamp),o},r.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=pr(n,function(o){return pr(o,function(s){return{coord:this.dataToCoord(s),tickValue:s}},this)},this);return i},r.prototype.getViewLabels=function(){return Fm(this).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);n===0&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},r.prototype.calculateCategoryInterval=function(){return LB(this)},r}();function t4(r,t){var e=r[1]-r[0],n=t,i=e/n/2;r[0]+=i,r[1]-=i}function h6(r,t,e,n){var i=t.length;if(!r.onBand||e||!i)return;var o=r.getExtent(),s,l;if(i===1)t[0].coord=o[0],s=t[1]={coord:o[1],tickValue:t[0].tickValue};else{var f=t[i-1].tickValue-t[0].tickValue,v=(t[i-1].coord-t[0].coord)/f;Ne(t,function(Q){Q.coord-=v/2});var C=r.scale.getExtent();l=1+C[1]-t[i-1].tickValue,s={coord:t[i-1].coord+v*l,tickValue:C[1]+1},t.push(s)}var w=o[0]>o[1];x(t[0].coord,o[0])&&(n?t[0].coord=o[0]:t.shift()),n&&x(o[0],t[0].coord)&&t.unshift({coord:o[0]}),x(o[1],s.coord)&&(n?s.coord=o[1]:t.pop()),n&&x(s.coord,o[1])&&t.push({coord:o[1]});function x(Q,R){return Q=Ra(Q),R=Ra(R),w?Q>R:Q<R}}var nC=Math.PI*2,f0=eh.CMD,Eg=["top","right","bottom","left"];function r4(r,t,e,n,i){var o=e.width,s=e.height;switch(r){case"top":n.set(e.x+o/2,e.y-t),i.set(0,-1);break;case"bottom":n.set(e.x+o/2,e.y+s+t),i.set(0,1);break;case"left":n.set(e.x-t,e.y+s/2),i.set(-1,0);break;case"right":n.set(e.x+o+t,e.y+s/2),i.set(1,0);break}}function n4(r,t,e,n,i,o,s,l,f){s-=r,l-=t;var v=Math.sqrt(s*s+l*l);s/=v,l/=v;var C=s*e+r,w=l*e+t;if(Math.abs(n-i)%nC<1e-4)return f[0]=C,f[1]=w,v-e;if(o){var x=n;n=lc(i),i=lc(x)}else n=lc(n),i=lc(i);n>i&&(i+=nC);var Q=Math.atan2(l,s);if(Q<0&&(Q+=nC),Q>=n&&Q<=i||Q+nC>=n&&Q+nC<=i)return f[0]=C,f[1]=w,v-e;var R=e*Math.cos(n)+r,L=e*Math.sin(n)+t,P=e*Math.cos(i)+r,M=e*Math.sin(i)+t,k=(R-s)*(R-s)+(L-l)*(L-l),G=(P-s)*(P-s)+(M-l)*(M-l);return k<G?(f[0]=R,f[1]=L,Math.sqrt(k)):(f[0]=P,f[1]=M,Math.sqrt(G))}function Tm(r,t,e,n,i,o,s,l){var f=i-r,v=o-t,C=e-r,w=n-t,x=Math.sqrt(C*C+w*w);C/=x,w/=x;var Q=f*C+v*w,R=Q/x;l&&(R=Math.min(Math.max(R,0),1)),R*=x;var L=s[0]=r+R*C,P=s[1]=t+R*w;return Math.sqrt((L-i)*(L-i)+(P-o)*(P-o))}function iC(r,t,e,n,i,o,s){e<0&&(r=r+e,e=-e),n<0&&(t=t+n,n=-n);var l=r+e,f=t+n,v=s[0]=Math.min(Math.max(i,r),l),C=s[1]=Math.min(Math.max(o,t),f);return Math.sqrt((v-i)*(v-i)+(C-o)*(C-o))}var Nc=[];function _i(r,t,e){var n=iC(t.x,t.y,t.width,t.height,r.x,r.y,Nc);return e.set(Nc[0],Nc[1]),n}function OB(r,t,e){for(var n=0,i=0,o=0,s=0,l,f,v=1/0,C=t.data,w=r.x,x=r.y,Q=0;Q<C.length;){var R=C[Q++];Q===1&&(n=C[Q],i=C[Q+1],o=n,s=i);var L=v;switch(R){case f0.M:o=C[Q++],s=C[Q++],n=o,i=s;break;case f0.L:L=Tm(n,i,C[Q],C[Q+1],w,x,Nc,!0),n=C[Q++],i=C[Q++];break;case f0.C:L=qg(n,i,C[Q++],C[Q++],C[Q++],C[Q++],C[Q],C[Q+1],w,x,Nc),n=C[Q++],i=C[Q++];break;case f0.Q:L=k2(n,i,C[Q++],C[Q++],C[Q],C[Q+1],w,x,Nc),n=C[Q++],i=C[Q++];break;case f0.A:var P=C[Q++],M=C[Q++],k=C[Q++],G=C[Q++],Y=C[Q++],re=C[Q++];Q+=1;var ie=!!(1-C[Q++]);l=Math.cos(Y)*k+P,f=Math.sin(Y)*G+M,Q<=1&&(o=l,s=f);var le=(w-P)*G/k+P;L=n4(P,M,G,Y,Y+re,ie,le,x,Nc),n=Math.cos(Y+re)*k+P,i=Math.sin(Y+re)*G+M;break;case f0.R:o=n=C[Q++],s=i=C[Q++];var pe=C[Q++],ve=C[Q++];L=iC(o,s,pe,ve,w,x,Nc);break;case f0.Z:L=Tm(n,i,o,s,w,x,Nc,!0),n=o,i=s;break}L<v&&(v=L,e.set(Nc[0],Nc[1]))}return v}var gh=new ci,Ha=new ci,ss=new ci,Nf=new ci,zo=new ci;function i4(r,t){if(r){var e=r.getTextGuideLine(),n=r.getTextContent();if(n&&e){var i=r.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],s=i.candidates||Eg,l=n.getBoundingRect().clone();l.applyTransform(n.getComputedTransform());var f=1/0,v=i.anchor,C=r.getComputedTransform(),w=C&&yd([],C),x=t.get("length2")||0;v&&ss.copy(v);for(var Q=0;Q<s.length;Q++){var R=s[Q];r4(R,0,l,gh,Nf),ci.scaleAndAdd(Ha,gh,Nf,x),Ha.transform(w);var L=r.getBoundingRect(),P=v?v.distance(Ha):r instanceof Si?OB(Ha,r.path,ss):_i(Ha,L,ss);P<f&&(f=P,Ha.transform(C),ss.transform(C),ss.toArray(o[0]),Ha.toArray(o[1]),gh.toArray(o[2]))}VA(o,t.get("minTurnAngle")),e.setShape({points:o})}}}var aC=[],cl=new ci;function VA(r,t){if(t<=180&&t>0){t=t/180*Math.PI,gh.fromArray(r[0]),Ha.fromArray(r[1]),ss.fromArray(r[2]),ci.sub(Nf,gh,Ha),ci.sub(zo,ss,Ha);var e=Nf.len(),n=zo.len();if(!(e<.001||n<.001)){Nf.scale(1/e),zo.scale(1/n);var i=Nf.dot(zo),o=Math.cos(t);if(o<i){var s=Tm(Ha.x,Ha.y,ss.x,ss.y,gh.x,gh.y,aC,!1);cl.fromArray(aC),cl.scaleAndAdd(zo,s/Math.tan(Math.PI-t));var l=ss.x!==Ha.x?(cl.x-Ha.x)/(ss.x-Ha.x):(cl.y-Ha.y)/(ss.y-Ha.y);if(isNaN(l))return;l<0?ci.copy(cl,Ha):l>1&&ci.copy(cl,ss),cl.toArray(r[1])}}}}function ll(r,t,e){if(e<=180&&e>0){e=e/180*Math.PI,gh.fromArray(r[0]),Ha.fromArray(r[1]),ss.fromArray(r[2]),ci.sub(Nf,Ha,gh),ci.sub(zo,ss,Ha);var n=Nf.len(),i=zo.len();if(!(n<.001||i<.001)){Nf.scale(1/n),zo.scale(1/i);var o=Nf.dot(t),s=Math.cos(e);if(o<s){var l=Tm(Ha.x,Ha.y,ss.x,ss.y,gh.x,gh.y,aC,!1);cl.fromArray(aC);var f=Math.PI/2,v=Math.acos(zo.dot(t)),C=f+v-e;if(C>=f)ci.copy(cl,ss);else{cl.scaleAndAdd(zo,l/Math.tan(Math.PI/2-C));var w=ss.x!==Ha.x?(cl.x-Ha.x)/(ss.x-Ha.x):(cl.y-Ha.y)/(ss.y-Ha.y);if(isNaN(w))return;w<0?ci.copy(cl,Ha):w>1&&ci.copy(cl,ss)}cl.toArray(r[1])}}}}function oC(r,t,e,n){var i=e==="normal",o=i?r:r.ensureState(e);o.ignore=t;var s=n.get("smooth");s&&s===!0&&(s=.3),o.shape=o.shape||{},s>0&&(o.shape.smooth=s);var l=n.getModel("lineStyle").getLineStyle();i?r.useStyle(l):o.style=l}function a4(r,t){var e=t.smooth,n=t.points;if(n)if(r.moveTo(n[0][0],n[0][1]),e>0&&n.length>=3){var i=eA(n[0],n[1]),o=eA(n[1],n[2]);if(!i||!o){r.lineTo(n[1][0],n[1][1]),r.lineTo(n[2][0],n[2][1]);return}var s=Math.min(i,o)*e,l=S0([],n[1],n[0],s/i),f=S0([],n[1],n[2],s/o),v=S0([],l,f,.5);r.bezierCurveTo(l[0],l[1],l[0],l[1],v[0],v[1]),r.bezierCurveTo(f[0],f[1],f[0],f[1],n[2][0],n[2][1])}else for(var C=1;C<n.length;C++)r.lineTo(n[C][0],n[C][1])}function o4(r,t,e){var n=r.getTextGuideLine(),i=r.getTextContent();if(!i){n&&r.removeTextGuideLine();return}for(var o=t.normal,s=o.get("show"),l=i.ignore,f=0;f<Ta.length;f++){var v=Ta[f],C=t[v],w=v==="normal";if(C){var x=C.get("show"),Q=w?l:$n(i.states[v]&&i.states[v].ignore,l);if(Q||!$n(x,s)){var R=w?n:n&&n.states[v];R&&(R.ignore=!0),n&&oC(n,!0,v,C);continue}n||(n=new pc,r.setTextGuideLine(n),!w&&(l||!s)&&oC(n,!0,"normal",t.normal),r.stateProxy&&(n.stateProxy=r.stateProxy)),oC(n,!1,v,C)}}if(n){pn(n.style,e),n.style.fill=null;var L=o.get("showAbove"),P=r.textGuideLineConfig=r.textGuideLineConfig||{};P.showAbove=L||!1,n.buildPath=a4}}function ev(r,t){t=t||"labelLine";for(var e={normal:r.getModel(t)},n=0;n<bi.length;n++){var i=bi[n];e[i]=r.getModel([i,t])}return e}function s4(r){for(var t=[],e=0;e<r.length;e++){var n=r[e];if(!n.defaultAttr.ignore){var i=n.label,o=i.getComputedTransform(),s=i.getBoundingRect(),l=!o||o[1]<1e-5&&o[2]<1e-5,f=i.style.margin||0,v=s.clone();v.applyTransform(o),v.x-=f/2,v.y-=f/2,v.width+=f,v.height+=f;var C=l?new ng(s,o):null;t.push({label:i,labelLine:n.labelLine,rect:v,localRect:s,obb:C,priority:n.priority,defaultAttr:n.defaultAttr,layoutOption:n.computedLayoutOption,axisAligned:l,transform:o})}}return t}function u4(r,t,e,n,i,o){var s=r.length;if(s<2)return;r.sort(function(ie,le){return ie.rect[t]-le.rect[t]});for(var l=0,f,v=!1,C=0;C<s;C++){var w=r[C],x=w.rect;f=x[t]-l,f<0&&(x[t]-=f,w.label[t]-=f,v=!0),l=x[t]+x[e]}var Q=r[0],R=r[s-1],L,P;M(),L<0&&Y(-L,.8),P<0&&Y(P,.8),M(),k(L,P,1),k(P,L,-1),M(),L<0&&re(-L),P<0&&re(P);function M(){L=Q.rect[t]-n,P=i-R.rect[t]-R.rect[e]}function k(ie,le,pe){if(ie<0){var ve=Math.min(le,-ie);if(ve>0){G(ve*pe,0,s);var Ee=ve+ie;Ee<0&&Y(-Ee*pe,1)}else Y(-ie*pe,1)}}function G(ie,le,pe){ie!==0&&(v=!0);for(var ve=le;ve<pe;ve++){var Ee=r[ve],Se=Ee.rect;Se[t]+=ie,Ee.label[t]+=ie}}function Y(ie,le){for(var pe=[],ve=0,Ee=1;Ee<s;Ee++){var Se=r[Ee-1].rect,ke=Math.max(r[Ee].rect[t]-Se[t]-Se[e],0);pe.push(ke),ve+=ke}if(ve){var Le=Math.min(Math.abs(ie)/ve,le);if(ie>0)for(var Ee=0;Ee<s-1;Ee++){var be=pe[Ee]*Le;G(be,0,Ee+1)}else for(var Ee=s-1;Ee>0;Ee--){var be=pe[Ee-1]*Le;G(-be,Ee,s)}}}function re(ie){var le=ie<0?-1:1;ie=Math.abs(ie);for(var pe=Math.ceil(ie/(s-1)),ve=0;ve<s-1;ve++)if(le>0?G(pe,0,ve+1):G(-pe,s-ve-1,s),ie-=pe,ie<=0)return}return v}function f6(r,t,e,n){return u4(r,"x","width",t,e)}function c4(r,t,e,n){return u4(r,"y","height",t,e)}function PB(r){var t=[];r.sort(function(L,P){return P.priority-L.priority});var e=new gi(0,0,0,0);function n(L){if(!L.ignore){var P=L.ensureState("emphasis");P.ignore==null&&(P.ignore=!1)}L.ignore=!0}for(var i=0;i<r.length;i++){var o=r[i],s=o.axisAligned,l=o.localRect,f=o.transform,v=o.label,C=o.labelLine;e.copy(o.rect),e.width-=.1,e.height-=.1,e.x+=.05,e.y+=.05;for(var w=o.obb,x=!1,Q=0;Q<t.length;Q++){var R=t[Q];if(e.intersect(R.rect)){if(s&&R.axisAligned){x=!0;break}if(R.obb||(R.obb=new ng(R.localRect,R.transform)),w||(w=new ng(l,f)),w.intersect(R.obb)){x=!0;break}}}x?(n(v),C&&n(C)):(v.attr("ignore",o.defaultAttr.ignore),C&&C.attr("ignore",o.defaultAttr.labelGuideIgnore),t.push(o))}}function A6(r){if(r){for(var t=[],e=0;e<r.length;e++)t.push(r[e].slice());return t}}function sC(r,t){var e=r.label,n=t&&t.getTextGuideLine();return{dataIndex:r.dataIndex,dataType:r.dataType,seriesIndex:r.seriesModel.seriesIndex,text:r.label.style.text,rect:r.hostRect,labelRect:r.rect,align:e.style.align,verticalAlign:e.style.verticalAlign,labelLinePoints:A6(n&&n.shape.points)}}var GB=["align","verticalAlign","width","height","fontSize"],Oc=new hf,UB=Vi(),jB=Vi();function uC(r,t,e){for(var n=0;n<e.length;n++){var i=e[n];t[i]!=null&&(r[i]=t[i])}}var Lm=["x","y","rotation"],l4=function(){function r(){this._labelList=[],this._chartViewList=[]}return r.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},r.prototype._addLabel=function(t,e,n,i,o){var s=i.style,l=i.__hostTarget,f=l.textConfig||{},v=i.getComputedTransform(),C=i.getBoundingRect().plain();gi.applyTransform(C,C,v),v?Oc.setLocalTransform(v):(Oc.x=Oc.y=Oc.rotation=Oc.originX=Oc.originY=0,Oc.scaleX=Oc.scaleY=1),Oc.rotation=lc(Oc.rotation);var w=i.__hostTarget,x;if(w){x=w.getBoundingRect().plain();var Q=w.getComputedTransform();gi.applyTransform(x,x,Q)}var R=x&&w.getTextGuideLine();this._labelList.push({label:i,labelLine:R,seriesModel:n,dataIndex:t,dataType:e,layoutOption:o,computedLayoutOption:null,rect:C,hostRect:x,priority:x?x.width*x.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:R&&R.ignore,x:Oc.x,y:Oc.y,scaleX:Oc.scaleX,scaleY:Oc.scaleY,rotation:Oc.rotation,style:{x:s.x,y:s.y,align:s.align,verticalAlign:s.verticalAlign,width:s.width,height:s.height,fontSize:s.fontSize},cursor:i.cursor,attachedPos:f.position,attachedRot:f.rotation}})},r.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(bn(i)||fi(i).length)&&t.group.traverse(function(o){if(o.ignore)return!0;var s=o.getTextContent(),l=Un(o);s&&!s.disableLabelLayout&&e._addLabel(l.dataIndex,l.dataType,n,s,i)})},r.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(G,Y){return function(){i4(G,Y)}}for(var o=0;o<this._labelList.length;o++){var s=this._labelList[o],l=s.label,f=l.__hostTarget,v=s.defaultAttr,C=void 0;bn(s.layoutOption)?C=s.layoutOption(sC(s,f)):C=s.layoutOption,C=C||{},s.computedLayoutOption=C;var w=Math.PI/180;f&&f.setTextConfig({local:!1,position:C.x!=null||C.y!=null?null:v.attachedPos,rotation:C.rotate!=null?C.rotate*w:v.attachedRot,offset:[C.dx||0,C.dy||0]});var x=!1;if(C.x!=null?(l.x=jr(C.x,e),l.setStyle("x",0),x=!0):(l.x=v.x,l.setStyle("x",v.style.x)),C.y!=null?(l.y=jr(C.y,n),l.setStyle("y",0),x=!0):(l.y=v.y,l.setStyle("y",v.style.y)),C.labelLinePoints){var Q=f.getTextGuideLine();Q&&(Q.setShape({points:C.labelLinePoints}),x=!1)}var R=UB(l);R.needsUpdateLabelLine=x,l.rotation=C.rotate!=null?C.rotate*w:v.rotation,l.scaleX=v.scaleX,l.scaleY=v.scaleY;for(var L=0;L<GB.length;L++){var P=GB[L];l.setStyle(P,C[P]!=null?C[P]:v.style[P])}if(C.draggable){if(l.draggable=!0,l.cursor="move",f){var M=s.seriesModel;if(s.dataIndex!=null){var k=s.seriesModel.getData(s.dataType);M=k.getItemModel(s.dataIndex)}l.on("drag",i(f,M.getModel("labelLine")))}}else l.off("drag"),l.cursor=v.cursor}},r.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),i=s4(this._labelList),o=Ii(i,function(f){return f.layoutOption.moveOverlap==="shiftX"}),s=Ii(i,function(f){return f.layoutOption.moveOverlap==="shiftY"});f6(o,0,e),c4(s,0,n);var l=Ii(i,function(f){return f.layoutOption.hideOverlap});PB(l)},r.prototype.processLabelsOverall=function(){var t=this;Ne(this._chartViewList,function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,o=n.isAnimationEnabled();e.group.traverse(function(s){if(s.ignore&&!s.forceLabelAnimation)return!0;var l=!i,f=s.getTextContent();!l&&f&&(l=UB(f).needsUpdateLabelLine),l&&t._updateLabelLine(s,n),o&&t._animateLabels(s,n)})})},r.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=Un(t),o=i.dataIndex;if(n&&o!=null){var s=e.getData(i.dataType),l=s.getItemModel(o),f={},v=s.getItemVisual(o,"style");if(v){var C=s.getVisual("drawType");f.stroke=v[C]}var w=l.getModel("labelLine");o4(t,ev(l),f),i4(t,w)}},r.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!Lh(t))){var o=UB(n),s=o.oldLayout,l=Un(t),f=l.dataIndex,v={x:n.x,y:n.y,rotation:n.rotation},C=e.getData(l.dataType);if(s){n.attr(s);var w=t.prevStates;w&&(Vn(w,"select")>=0&&n.attr(o.oldLayoutSelect),Vn(w,"emphasis")>=0&&n.attr(o.oldLayoutEmphasis)),ga(n,v,e,f)}else if(n.attr(v),!FA(n).valueAnimation){var x=$n(n.style.opacity,1);n.style.opacity=0,Co(n,{style:{opacity:x}},e,f)}if(o.oldLayout=v,n.states.select){var Q=o.oldLayoutSelect={};uC(Q,v,Lm),uC(Q,n.states.select,Lm)}if(n.states.emphasis){var R=o.oldLayoutEmphasis={};uC(R,v,Lm),uC(R,n.states.emphasis,Lm)}CE(n,f,C,e,e)}if(i&&!i.ignore&&!i.invisible){var o=jB(i),s=o.oldLayout,L={points:i.shape.points};s?(i.attr({shape:s}),ga(i,{shape:L},e)):(i.setShape(L),i.style.strokePercent=0,Co(i,{style:{strokePercent:1}},e)),o.oldLayout=L}},r}(),HB=Vi();function ZA(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){var i=HB(e).labelManager;i||(i=HB(e).labelManager=new l4),i.clearLabels()}),r.registerUpdateLifecycle("series:layoutlabels",function(t,e,n){var i=HB(e).labelManager;n.updatedSeries.forEach(function(o){i.addLabelsOfSeries(e.getViewOfSeriesModel(o))}),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()})}var Bg=Math.sin,YB=Math.cos,d6=Math.PI,tv=Math.PI*2,$x=180/d6,h4=function(){function r(){}return r.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},r.prototype.moveTo=function(t,e){this._add("M",t,e)},r.prototype.lineTo=function(t,e){this._add("L",t,e)},r.prototype.bezierCurveTo=function(t,e,n,i,o,s){this._add("C",t,e,n,i,o,s)},r.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},r.prototype.arc=function(t,e,n,i,o,s){this.ellipse(t,e,n,n,0,i,o,s)},r.prototype.ellipse=function(t,e,n,i,o,s,l,f){var v=l-s,C=!f,w=Math.abs(v),x=Qh(w-tv)||(C?v>=tv:-v>=tv),Q=v>0?v%tv:v%tv+tv,R=!1;x?R=!0:Qh(w)?R=!1:R=Q>=d6==!!C;var L=t+n*YB(s),P=e+i*Bg(s);this._start&&this._add("M",L,P);var M=Math.round(o*$x);if(x){var k=1/this._p,G=(C?1:-1)*(tv-k);this._add("A",n,i,M,1,+C,t+n*YB(s+G),e+i*Bg(s+G)),k>.01&&this._add("A",n,i,M,0,+C,L,P)}else{var Y=t+n*YB(l),re=e+i*Bg(l);this._add("A",n,i,M,+R,+C,Y,re)}},r.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},r.prototype.closePath=function(){this._d.length>0&&this._add("Z")},r.prototype._add=function(t,e,n,i,o,s,l,f,v){for(var C=[],w=this._p,x=1;x<arguments.length;x++){var Q=arguments[x];if(isNaN(Q)){this._invalid=!0;return}C.push(Math.round(Q*w)/w)}this._d.push(t+C.join(" ")),this._start=t==="Z"},r.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},r.prototype.getStr=function(){return this._str},r}(),JB="none",g6=Math.round;function p6(r){var t=r.fill;return t!=null&&t!==JB}function e8(r){var t=r.stroke;return t!=null&&t!==JB}var f4=["lineCap","miterLimit","lineJoin"],t8=pr(f4,function(r){return"stroke-"+r.toLowerCase()});function Kh(r,t,e,n){var i=t.opacity==null?1:t.opacity;if(e instanceof Ws){r("opacity",i);return}if(p6(t)){var o=Y0(t.fill);r("fill",o.color);var s=t.fillOpacity!=null?t.fillOpacity*o.opacity*i:o.opacity*i;s<1&&r("fill-opacity",s)}else r("fill",JB);if(e8(t)){var l=Y0(t.stroke);r("stroke",l.color);var f=t.strokeNoScale?e.getLineScale():1,v=f?(t.lineWidth||0)/f:0,C=t.strokeOpacity!=null?t.strokeOpacity*l.opacity*i:l.opacity*i,w=t.strokeFirst;if(v!==1&&r("stroke-width",v),w&&r("paint-order",w?"stroke":"fill"),C<1&&r("stroke-opacity",C),t.lineDash){var x=Sr(e),Q=x[0],R=x[1];Q&&(R=g6(R||0),r("stroke-dasharray",Q.join(",")),(R||n)&&r("stroke-dashoffset",R))}for(var L=0;L<f4.length;L++){var P=f4[L];if(t[P]!==pp[P]){var M=t[P]||pp[P];M&&r(t8[L],M)}}}}var v6="http://www.w3.org/2000/svg",A4="http://www.w3.org/1999/xlink",r8="http://www.w3.org/2000/xmlns/",d4="http://www.w3.org/XML/1998/namespace",y6="ecmeta_";function m6(r){return document.createElementNS(v6,r)}function Du(r,t,e,n,i){return{tag:r,attrs:e||{},children:n,text:i,key:t}}function g4(r,t){var e=[];if(t)for(var n in t){var i=t[n],o=n;i!==!1&&(i!==!0&&i!=null&&(o+='="'+i+'"'),e.push(o))}return"<"+r+" "+e.join(" ")+">"}function I6(r){return"</"+r+">"}function p4(r,t){t=t||{};var e=t.newline?`
  263. `:"";function n(i){var o=i.children,s=i.tag,l=i.attrs,f=i.text;return g4(s,l)+(s!=="style"?ou(f):f||"")+(o?""+e+pr(o,function(v){return n(v)}).join(e)+e:"")+I6(s)}return n(r)}function n8(r,t,e){e=e||{};var n=e.newline?`
  264. `:"",i=" {"+n,o=n+"}",s=pr(fi(r),function(f){return f+i+pr(fi(r[f]),function(v){return v+":"+r[f][v]+";"}).join(n)+o}).join(n),l=pr(fi(t),function(f){return"@keyframes "+f+i+pr(fi(t[f]),function(v){return v+i+pr(fi(t[f][v]),function(C){var w=t[f][v][C];return C==="d"&&(w='path("'+w+'")'),C+":"+w+";"}).join(n)+o}).join(n)+o}).join(n);return!s&&!l?"":["<![CDATA[",s,l,"]]>"].join(n)}function v4(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function b6(r,t,e,n){return Du("svg","root",{width:r,height:t,xmlns:v6,"xmlns:xlink":A4,version:"1.1",baseProfile:"full",viewBox:n?"0 0 "+r+" "+t:!1},e)}var i8=0;function C6(){return i8++}var y4={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},XA="transform-origin";function a8(r,t,e){var n=ar({},r.shape);ar(n,t),r.buildPath(e,n);var i=new h4;return i.reset(dw(r)),e.rebuildPath(i,1),i.generateStr(),i.getStr()}function o8(r,t){var e=t.originX,n=t.originY;(e||n)&&(r[XA]=e+"px "+n+"px")}var s8={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function w6(r,t){var e=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[e]=r,e}function E6(r,t,e){var n=r.shape.paths,i={},o,s;if(Ne(n,function(f){var v=v4(e.zrId);v.animation=!0,WB(f,{},v,!0);var C=v.cssAnims,w=v.cssNodes,x=fi(C),Q=x.length;if(Q){s=x[Q-1];var R=C[s];for(var L in R){var P=R[L];i[L]=i[L]||{d:""},i[L].d+=P.d||""}for(var M in w){var k=w[M].animation;k.indexOf(s)>=0&&(o=k)}}}),!!o){t.d=!1;var l=w6(i,e);return o.replace(s,l)}}function m4(r){return en(r)?y4[r]?"cubic-bezier("+y4[r]+")":Uv(r)?r:"":""}function WB(r,t,e,n){var i=r.animators,o=i.length,s=[];if(r instanceof v1){var l=E6(r,t,e);if(l)s.push(l);else if(!o)return}else if(!o)return;for(var f={},v=0;v<o;v++){var C=i[v],w=[C.getMaxTime()/1e3+"s"],x=m4(C.getClip().easing),Q=C.getDelay();x?w.push(x):w.push("linear"),Q&&w.push(Q/1e3+"s"),C.getLoop()&&w.push("infinite");var R=w.join(" ");f[R]=f[R]||[R,[]],f[R][1].push(C)}function L(k){var G=k[1],Y=G.length,re={},ie={},le={},pe="animation-timing-function";function ve(Vr,qr,Tn){for(var zr=Vr.getTracks(),Qn=Vr.getMaxTime(),Yi=0;Yi<zr.length;Yi++){var Pe=zr[Yi];if(Pe.needsAnimate()){var hr=Pe.keyframes,rr=Pe.propName;if(Tn&&(rr=Tn(rr)),rr)for(var Bt=0;Bt<hr.length;Bt++){var wt=hr[Bt],Yt=Math.round(wt.time/Qn*100)+"%",Br=m4(wt.easing),kr=wt.rawValue;(en(kr)||$i(kr))&&(qr[Yt]=qr[Yt]||{},qr[Yt][rr]=wt.rawValue,Br&&(qr[Yt][pe]=Br))}}}}for(var Ee=0;Ee<Y;Ee++){var Se=G[Ee],ke=Se.targetName;ke?ke==="shape"&&ve(Se,ie):!n&&ve(Se,re)}for(var Le in re){var be={};uy(be,r),ar(be,re[Le]);var ze=gw(be),ut=re[Le][pe];le[Le]=ze?{transform:ze}:{},o8(le[Le],be),ut&&(le[Le][pe]=ut)}var ft,Qt=!0;for(var Le in ie){le[Le]=le[Le]||{};var vt=!ft,ut=ie[Le][pe];vt&&(ft=new eh);var Gt=ft.len();ft.reset(),le[Le].d=a8(r,ie[Le],ft);var Ct=ft.len();if(!vt&&Gt!==Ct){Qt=!1;break}ut&&(le[Le][pe]=ut)}if(!Qt)for(var Le in le)delete le[Le].d;if(!n)for(var Ee=0;Ee<Y;Ee++){var Se=G[Ee],ke=Se.targetName;ke==="style"&&ve(Se,le,function(zr){return s8[zr]})}for(var St=fi(le),dr=!0,ur,Ee=1;Ee<St.length;Ee++){var ir=St[Ee-1],Fn=St[Ee];if(le[ir][XA]!==le[Fn][XA]){dr=!1;break}ur=le[ir][XA]}if(dr&&ur){for(var Le in le)le[Le][XA]&&delete le[Le][XA];t[XA]=ur}if(Ii(St,function(Vr){return fi(le[Vr]).length>0}).length){var Ei=w6(le,e);return Ei+" "+k[0]+" both"}}for(var P in f){var l=L(f[P]);l&&s.push(l)}if(s.length){var M=e.zrId+"-cls-"+C6();e.cssNodes["."+M]={animation:s.join(",")},t.class=M}}function u8(r,t,e){if(!r.ignore)if(r.isSilent()){var n={"pointer-events":"none"};B6(n,t,e)}else{var i=r.states.emphasis&&r.states.emphasis.style?r.states.emphasis.style:{},o=i.fill;if(!o){var s=r.style&&r.style.fill,l=r.states.select&&r.states.select.style&&r.states.select.style.fill,f=r.currentStates.indexOf("select")>=0&&l||s;f&&(o=_2(f))}var v=i.lineWidth;if(v){var C=!i.strokeNoScale&&r.transform?r.transform[0]:1;v=v/C}var n={cursor:"pointer"};o&&(n.fill=o),i.stroke&&(n.stroke=i.stroke),v&&(n["stroke-width"]=v),B6(n,t,e)}}function B6(r,t,e,n){var i=JSON.stringify(r),o=e.cssStyleCache[i];o||(o=e.zrId+"-cls-"+C6(),e.cssStyleCache[i]=o,e.cssNodes["."+o+":hover"]=r),t.class=t.class?t.class+" "+o:o}var A0=Math.round;function k6(r){return r&&en(r.src)}function Q6(r){return r&&bn(r.toDataURL)}function Nm(r,t,e,n){Kh(function(i,o){var s=i==="fill"||i==="stroke";s&&$g(o)?R6(t,r,i,n):s&&F2(o)?M6(e,r,i,n):r[i]=o,s&&n.ssr&&o==="none"&&(r["pointer-events"]="visible")},t,e,!1),Of(e,r,n)}function qB(r,t){var e=ww(t);e&&(e.each(function(n,i){n!=null&&(r[(y6+i).toLowerCase()]=n+"")}),t.isSilent()&&(r[y6+"silent"]="true"))}function I4(r){return Qh(r[0]-1)&&Qh(r[1])&&Qh(r[2])&&Qh(r[3]-1)}function b4(r){return Qh(r[4])&&Qh(r[5])}function zB(r,t,e){if(t&&!(b4(t)&&I4(t))){var n=1e4;r.transform=I4(t)?"translate("+A0(t[4]*n)/n+" "+A0(t[5]*n)/n+")":J0(t)}}function C4(r,t,e){for(var n=r.points,i=[],o=0;o<n.length;o++)i.push(A0(n[o][0]*e)/e),i.push(A0(n[o][1]*e)/e);t.points=i.join(" ")}function x6(r){return!r.smooth}function c8(r){var t=pr(r,function(e){return typeof e=="string"?[e,e]:e});return function(e,n,i){for(var o=0;o<t.length;o++){var s=t[o],l=e[s[0]];l!=null&&(n[s[1]]=A0(l*i)/i)}}}var KB={circle:[c8(["cx","cy","r"])],polyline:[C4,x6],polygon:[C4,x6]};function VB(r){for(var t=r.animators,e=0;e<t.length;e++)if(t[e].targetName==="shape")return!0;return!1}function S6(r,t){var e=r.style,n=r.shape,i=KB[r.type],o={},s=t.animation,l="path",f=r.style.strokePercent,v=t.compress&&dw(r)||4;if(i&&!t.willUpdate&&!(i[1]&&!i[1](n))&&!(s&&VB(r))&&!(f<1)){l=r.type;var C=Math.pow(10,v);i[0](n,o,C)}else{var w=!r.path||r.shapeChanged();r.path||r.createPathProxy();var x=r.path;w&&(x.beginPath(),r.buildPath(x,r.shape),r.pathUpdated());var Q=x.getVersion(),R=r,L=R.__svgPathBuilder;(R.__svgPathVersion!==Q||!L||f!==R.__svgPathStrokePercent)&&(L||(L=R.__svgPathBuilder=new h4),L.reset(v),x.rebuildPath(L,f),L.generateStr(),R.__svgPathVersion=Q,R.__svgPathStrokePercent=f),o.d=L.getStr()}return zB(o,r.transform),Nm(o,e,r,t),qB(o,r),t.animation&&WB(r,o,t),t.emphasis&&u8(r,o,t),Du(l,r.id+"",o)}function w4(r,t){var e=r.style,n=e.image;if(n&&!en(n)&&(k6(n)?n=n.src:Q6(n)&&(n=n.toDataURL())),!!n){var i=e.x||0,o=e.y||0,s=e.width,l=e.height,f={href:n,width:s,height:l};return i&&(f.x=i),o&&(f.y=o),zB(f,r.transform),Nm(f,e,r,t),qB(f,r),t.animation&&WB(r,f,t),Du("image",r.id+"",f)}}function _6(r,t){var e=r.style,n=e.text;if(n!=null&&(n+=""),!(!n||isNaN(e.x)||isNaN(e.y))){var i=e.font||hi,o=e.x||0,s=Aw(e.y||0,Bd(i),e.textBaseline),l=R2[e.textAlign]||e.textAlign,f={"dominant-baseline":"central","text-anchor":l};if(lu(e)){var v="",C=e.fontStyle,w=zw(e.fontSize);if(!parseFloat(w))return;var x=e.fontFamily||_o,Q=e.fontWeight;v+="font-size:"+w+";font-family:"+x+";",C&&C!=="normal"&&(v+="font-style:"+C+";"),Q&&Q!=="normal"&&(v+="font-weight:"+Q+";"),f.style=v}else f.style="font: "+i;return n.match(/\s/)&&(f["xml:space"]="preserve"),o&&(f.x=o),s&&(f.y=s),zB(f,r.transform),Nm(f,e,r,t),qB(f,r),t.animation&&WB(r,f,t),Du("text",r.id+"",f,void 0,n)}}function D6(r,t){if(r instanceof Si)return S6(r,t);if(r instanceof Ws)return w4(r,t);if(r instanceof Od)return _6(r,t)}function Of(r,t,e){var n=r.style;if(W0(n)){var i=u5(r),o=e.shadowCache,s=o[i];if(!s){var l=r.getGlobalScale(),f=l[0],v=l[1];if(!f||!v)return;var C=n.shadowOffsetX||0,w=n.shadowOffsetY||0,x=n.shadowBlur,Q=Y0(n.shadowColor),R=Q.opacity,L=Q.color,P=x/2/f,M=x/2/v,k=P+" "+M;s=e.zrId+"-s"+e.shadowIdx++,e.defs[s]=Du("filter",s,{id:s,x:"-100%",y:"-100%",width:"300%",height:"300%"},[Du("feDropShadow","",{dx:C/f,dy:w/v,stdDeviation:k,"flood-color":L,"flood-opacity":R})]),o[i]=s}t.filter=go(s)}}function R6(r,t,e,n){var i=r[e],o,s={gradientUnits:i.global?"userSpaceOnUse":"objectBoundingBox"};if(T2(i))o="linearGradient",s.x1=i.x,s.y1=i.y,s.x2=i.x2,s.y2=i.y2;else if(Xg(i))o="radialGradient",s.cx=$n(i.x,.5),s.cy=$n(i.y,.5),s.r=$n(i.r,.5);else return;for(var l=i.colorStops,f=[],v=0,C=l.length;v<C;++v){var w=wu(l[v].offset)*100+"%",x=l[v].color,Q=Y0(x),R=Q.color,L=Q.opacity,P={offset:w};P["stop-color"]=R,L<1&&(P["stop-opacity"]=L),f.push(Du("stop",v+"",P))}var M=Du(o,"",s,f),k=p4(M),G=n.gradientCache,Y=G[k];Y||(Y=n.zrId+"-g"+n.gradientIdx++,G[k]=Y,s.id=Y,n.defs[Y]=Du(o,Y,s,f)),t[e]=go(Y)}function M6(r,t,e,n){var i=r.style[e],o=r.getBoundingRect(),s={},l=i.repeat,f=l==="no-repeat",v=l==="repeat-x",C=l==="repeat-y",w;if(M2(i)){var x=i.imageWidth,Q=i.imageHeight,R=void 0,L=i.image;if(en(L)?R=L:k6(L)?R=L.src:Q6(L)&&(R=L.toDataURL()),typeof Image>"u"){var P="Image width/height must been given explictly in svg-ssr renderer.";tc(x,P),tc(Q,P)}else if(x==null||Q==null){var M=function(Ee,Se){if(Ee){var ke=Ee.elm,Le=x||Se.width,be=Q||Se.height;Ee.tag==="pattern"&&(v?(be=1,Le/=o.width):C&&(Le=1,be/=o.height)),Ee.attrs.width=Le,Ee.attrs.height=be,ke&&(ke.setAttribute("width",Le),ke.setAttribute("height",be))}},k=Go(R,null,r,function(Ee){f||M(ie,Ee),M(w,Ee)});k&&k.width&&k.height&&(x=x||k.width,Q=Q||k.height)}w=Du("image","img",{href:R,width:x,height:Q}),s.width=x,s.height=Q}else i.svgElement&&(w=Bn(i.svgElement),s.width=i.svgWidth,s.height=i.svgHeight);if(w){var G,Y;f?G=Y=1:v?(Y=1,G=s.width/o.width):C?(G=1,Y=s.height/o.height):s.patternUnits="userSpaceOnUse",G!=null&&!isNaN(G)&&(s.width=G),Y!=null&&!isNaN(Y)&&(s.height=Y);var re=gw(i);re&&(s.patternTransform=re);var ie=Du("pattern","",s,[w]),le=p4(ie),pe=n.patternCache,ve=pe[le];ve||(ve=n.zrId+"-p"+n.patternIdx++,pe[le]=ve,s.id=ve,ie=n.defs[ve]=Du("pattern",ve,s,[w])),t[e]=go(ve)}}function rv(r,t,e){var n=e.clipPathCache,i=e.defs,o=n[r.id];if(!o){o=e.zrId+"-c"+e.clipPathIdx++;var s={id:o};n[r.id]=o,i[o]=Du("clipPath",o,s,[S6(r,e)])}t["clip-path"]=go(o)}function na(r){return document.createTextNode(r)}function nv(r,t,e){r.insertBefore(t,e)}function hl(r,t){r.removeChild(t)}function Ns(r,t){r.appendChild(t)}function kg(r){return r.parentNode}function F6(r){return r.nextSibling}function cC(r,t){r.textContent=t}var $A=58,T6=120,ZB=Du("","");function Ko(r){return r===void 0}function ho(r){return r!==void 0}function L6(r,t,e){for(var n={},i=t;i<=e;++i){var o=r[i].key;o!==void 0&&(n[o]=i)}return n}function Om(r,t){var e=r.key===t.key,n=r.tag===t.tag;return n&&e}function Qg(r){var t,e=r.children,n=r.tag;if(ho(n)){var i=r.elm=m6(n);if(Pm(ZB,r),yr(e))for(t=0;t<e.length;++t){var o=e[t];o!=null&&Ns(i,Qg(o))}else ho(r.text)&&!Ln(r.text)&&Ns(i,na(r.text))}else r.elm=na(r.text);return r.elm}function XB(r,t,e,n,i){for(;n<=i;++n){var o=e[n];o!=null&&nv(r,Qg(o),t)}}function lC(r,t,e,n){for(;e<=n;++e){var i=t[e];if(i!=null)if(ho(i.tag)){var o=kg(i.elm);hl(o,i.elm)}else hl(r,i.elm)}}function Pm(r,t){var e,n=t.elm,i=r&&r.attrs||{},o=t.attrs||{};if(i!==o){for(e in o){var s=o[e],l=i[e];l!==s&&(s===!0?n.setAttribute(e,""):s===!1?n.removeAttribute(e):e==="style"?n.style.cssText=s:e.charCodeAt(0)!==T6?n.setAttribute(e,s):e==="xmlns:xlink"||e==="xmlns"?n.setAttributeNS(r8,e,s):e.charCodeAt(3)===$A?n.setAttributeNS(d4,e,s):e.charCodeAt(5)===$A?n.setAttributeNS(A4,e,s):n.setAttribute(e,s))}for(e in i)e in o||n.removeAttribute(e)}}function ph(r,t,e){for(var n=0,i=0,o=t.length-1,s=t[0],l=t[o],f=e.length-1,v=e[0],C=e[f],w,x,Q,R;n<=o&&i<=f;)s==null?s=t[++n]:l==null?l=t[--o]:v==null?v=e[++i]:C==null?C=e[--f]:Om(s,v)?(Pf(s,v),s=t[++n],v=e[++i]):Om(l,C)?(Pf(l,C),l=t[--o],C=e[--f]):Om(s,C)?(Pf(s,C),nv(r,s.elm,F6(l.elm)),s=t[++n],C=e[--f]):Om(l,v)?(Pf(l,v),nv(r,l.elm,s.elm),l=t[--o],v=e[++i]):(Ko(w)&&(w=L6(t,n,o)),x=w[v.key],Ko(x)?nv(r,Qg(v),s.elm):(Q=t[x],Q.tag!==v.tag?nv(r,Qg(v),s.elm):(Pf(Q,v),t[x]=void 0,nv(r,Q.elm,s.elm))),v=e[++i]);(n<=o||i<=f)&&(n>o?(R=e[f+1]==null?null:e[f+1].elm,XB(r,R,e,i,f)):lC(r,t,n,o))}function Pf(r,t){var e=t.elm=r.elm,n=r.children,i=t.children;r!==t&&(Pm(r,t),Ko(t.text)?ho(n)&&ho(i)?n!==i&&ph(e,n,i):ho(i)?(ho(r.text)&&cC(e,""),XB(e,null,i,0,i.length-1)):ho(n)?lC(e,n,0,n.length-1):ho(r.text)&&cC(e,""):r.text!==t.text&&(ho(n)&&lC(e,n,0,n.length-1),cC(e,t.text)))}function l8(r,t){if(Om(r,t))Pf(r,t);else{var e=r.elm,n=kg(e);Qg(t),n!==null&&(nv(n,t.elm,F6(e)),lC(n,[r],0,0))}return t}var h8=0,N6=function(){function r(t,e,n){if(this.type="svg",this.refreshHover=ed(),this.configLayer=ed(),this.storage=e,this._opts=n=ar({},n),this.root=t,this._id="zr"+h8++,this._oldVNode=b6(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var o=this._svgDom=this._oldVNode.elm=m6("svg");Pm(null,this._oldVNode),i.appendChild(o),t.appendChild(i)}this.resize(n.width,n.height)}return r.prototype.getType=function(){return this.type},r.prototype.getViewportRoot=function(){return this._viewport},r.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},r.prototype.getSvgDom=function(){return this._svgDom},r.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",l8(this._oldVNode,t),this._oldVNode=t}},r.prototype.renderOneToVNode=function(t){return D6(t,v4(this._id))},r.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,o=v4(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress,o.emphasis=t.emphasis,o.ssr=this._opts.ssr;var s=[],l=this._bgVNode=va(n,i,this._backgroundColor,o);l&&s.push(l);var f=t.compress?null:this._mainVNode=Du("g","main",{},[]);this._paintList(e,o,f?f.children:s),f&&s.push(f);var v=pr(fi(o.defs),function(x){return o.defs[x]});if(v.length&&s.push(Du("defs","defs",{},v)),t.animation){var C=n8(o.cssNodes,o.cssAnims,{newline:!0});if(C){var w=Du("style","stl",{},[],C);s.push(w)}}return b6(n,i,s,t.useViewBox)},r.prototype.renderToString=function(t){return t=t||{},p4(this.renderToVNode({animation:$n(t.cssAnimation,!0),emphasis:$n(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:$n(t.useViewBox,!0)}),{newline:!0})},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t},r.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},r.prototype._paintList=function(t,e,n){for(var i=t.length,o=[],s=0,l,f,v=0,C=0;C<i;C++){var w=t[C];if(!w.invisible){var x=w.__clipPaths,Q=x&&x.length||0,R=f&&f.length||0,L=void 0;for(L=Math.max(Q-1,R-1);L>=0&&!(x&&f&&x[L]===f[L]);L--);for(var P=R-1;P>L;P--)s--,l=o[s-1];for(var M=L+1;M<Q;M++){var k={};rv(x[M],k,e);var G=Du("g","clip-g-"+v++,k,[]);(l?l.children:n).push(G),o[s++]=G,l=G}f=x;var Y=D6(w,e);Y&&(l?l.children:n).push(Y)}}},r.prototype.resize=function(t,e){var n=this._opts,i=this.root,o=this._viewport;if(t!=null&&(n.width=t),e!=null&&(n.height=e),i&&o&&(o.style.display="none",t=Dr(i,0,n),e=Dr(i,1,n),o.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,o){var s=o.style;s.width=t+"px",s.height=e+"px"}if(F2(this._backgroundColor))this.refresh();else{var l=this._svgDom;l&&(l.setAttribute("width",t),l.setAttribute("height",e));var f=this._bgVNode&&this._bgVNode.elm;f&&(f.setAttribute("width",t),f.setAttribute("height",e))}}},r.prototype.getWidth=function(){return this._width},r.prototype.getHeight=function(){return this._height},r.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},r.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},r.prototype.toDataURL=function(t){var e=this.renderToString(),n="data:image/svg+xml;";return t?(e=l5(e),e&&n+"base64,"+e):n+"charset=UTF-8,"+encodeURIComponent(e)},r}();function ed(r){return function(){}}function va(r,t,e,n){var i;if(e&&e!=="none")if(i=Du("rect","bg",{width:r,height:t,x:"0",y:"0"}),$g(e))R6({fill:e},i.attrs,"fill",n);else if(F2(e))M6({style:{fill:e},dirty:$o,getBoundingRect:function(){return{width:r,height:t}}},i.attrs,"fill",n);else{var o=Y0(e),s=o.color,l=o.opacity;i.attrs.fill=s,l<1&&(i.attrs["fill-opacity"]=l)}return i}function O6(r){r.registerPainter("svg",N6)}function vh(r,t,e){var n=oo.createCanvas(),i=t.getWidth(),o=t.getHeight(),s=n.style;return s&&(s.position="absolute",s.left="0",s.top="0",s.width=i+"px",s.height=o+"px",n.setAttribute("data-zr-dom-id",r)),n.width=i*e,n.height=o*e,n}var $B=function(r){kt(t,r);function t(e,n,i){var o=r.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null;var s;i=i||ei,typeof e=="string"?s=vh(e,n,i):Ln(e)&&(s=e,e=s.id),o.id=e,o.dom=s;var l=s.style;return l&&(f2(s),s.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),o.painter=n,o.dpr=i,o}return t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=vh("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),e!==1&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,n,i,o){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var s=[],l=this.maxRepaintRectCount,f=!1,v=new gi(0,0,0,0);function C(k){if(!(!k.isFinite()||k.isZero()))if(s.length===0){var G=new gi(0,0,0,0);G.copy(k),s.push(G)}else{for(var Y=!1,re=1/0,ie=0,le=0;le<s.length;++le){var pe=s[le];if(pe.intersect(k)){var ve=new gi(0,0,0,0);ve.copy(pe),ve.union(k),s[le]=ve,Y=!0;break}else if(f){v.copy(k),v.union(pe);var Ee=k.width*k.height,Se=pe.width*pe.height,ke=v.width*v.height,Le=ke-Ee-Se;Le<re&&(re=Le,ie=le)}}if(f&&(s[ie].union(k),Y=!0),!Y){var G=new gi(0,0,0,0);G.copy(k),s.push(G)}f||(f=s.length>=l)}}for(var w=this.__startIndex;w<this.__endIndex;++w){var x=e[w];if(x){var Q=x.shouldBePainted(i,o,!0,!0),R=x.__isRendered&&(x.__dirty&zl||!Q)?x.getPrevPaintRect():null;R&&C(R);var L=Q&&(x.__dirty&zl||!x.__isRendered)?x.getPaintRect():null;L&&C(L)}}for(var w=this.__prevStartIndex;w<this.__prevEndIndex;++w){var x=n[w],Q=x&&x.shouldBePainted(i,o,!0,!0);if(x&&(!Q||!x.__zr)&&x.__isRendered){var R=x.getPrevPaintRect();R&&C(R)}}var P;do{P=!1;for(var w=0;w<s.length;){if(s[w].isZero()){s.splice(w,1);continue}for(var M=w+1;M<s.length;)s[w].intersect(s[M])?(P=!0,s[w].union(s[M]),s.splice(M,1)):M++;w++}}while(P);return this._paintRects=s,s},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,n){var i=this.dpr,o=this.dom,s=o.style,l=this.domBack;s&&(s.width=e+"px",s.height=n+"px"),o.width=e*i,o.height=n*i,l&&(l.width=e*i,l.height=n*i,i!==1&&this.ctxBack.scale(i,i))},t.prototype.clear=function(e,n,i){var o=this.dom,s=this.ctx,l=o.width,f=o.height;n=n||this.clearColor;var v=this.motionBlur&&!e,C=this.lastFrameAlpha,w=this.dpr,x=this;v&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(o,0,0,l/w,f/w));var Q=this.domBack;function R(L,P,M,k){if(s.clearRect(L,P,M,k),n&&n!=="transparent"){var G=void 0;if(Q0(n)){var Y=n.global||n.__width===M&&n.__height===k;G=Y&&n.__canvasGradient||sr(s,n,{x:0,y:0,width:M,height:k}),n.__canvasGradient=G,n.__width=M,n.__height=k}else u2(n)&&(n.scaleX=n.scaleX||w,n.scaleY=n.scaleY||w,G=br(s,n,{dirty:function(){x.setUnpainted(),x.painter.refresh()}}));s.save(),s.fillStyle=G||n,s.fillRect(L,P,M,k),s.restore()}v&&(s.save(),s.globalAlpha=C,s.drawImage(Q,L,P,M,k),s.restore())}!i||v?R(0,0,l,f):i.length&&Ne(i,function(L){R(L.x*w,L.y*w,L.width*w,L.height*w)})},t}(au),fo=1e5,iv=314159,hC=.01,e3=.001;function f8(r){return r?r.__builtin__?!0:!(typeof r.resize!="function"||typeof r.refresh!="function"):!1}function A8(r,t){var e=document.createElement("div");return e.style.cssText=["position:relative","width:"+r+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",e}var d8=function(){function r(t,e,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var o=!t.nodeName||t.nodeName.toUpperCase()==="CANVAS";this._opts=n=ar({},n||{}),this.dpr=n.devicePixelRatio||ei,this._singleCanvas=o,this.root=t;var s=t.style;s&&(f2(t),t.innerHTML=""),this.storage=e;var l=this._zlevelList;this._prevDisplayList=[];var f=this._layers;if(o){var v=t,C=v.width,w=v.height;n.width!=null&&(C=n.width),n.height!=null&&(w=n.height),this.dpr=n.devicePixelRatio||1,v.width=C*this.dpr,v.height=w*this.dpr,this._width=C,this._height=w;var x=new $B(v,this,this.dpr);x.__builtin__=!0,x.initContext(),f[iv]=x,x.zlevel=iv,l.push(iv),this._domRoot=t}else{this._width=Dr(t,0,n),this._height=Dr(t,1,n);var Q=this._domRoot=A8(this._width,this._height);t.appendChild(Q)}}return r.prototype.getType=function(){return"canvas"},r.prototype.isSingleCanvas=function(){return this._singleCanvas},r.prototype.getViewportRoot=function(){return this._domRoot},r.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},r.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var o=0;o<i.length;o++){var s=i[o],l=this._layers[s];if(!l.__builtin__&&l.refresh){var f=o===0?this._backgroundColor:null;l.refresh(f)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},r.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},r.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),!!e){for(var i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o,s=0;s<e;s++){var l=t[s];l.__inHover&&(n||(n=this._hoverlayer=this.getLayer(fo)),o||(o=n.ctx,o.save()),as(o,l,i,s===e-1))}o&&o.restore()}},r.prototype.getHoverLayer=function(){return this.getLayer(fo)},r.prototype.paintOne=function(t,e){is(t,e)},r.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var o=this._doPaintList(t,e,n),s=o.finished,l=o.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),l&&this._paintHoverList(t),s)this.eachLayer(function(v){v.afterBrush&&v.afterBrush()});else{var f=this;Yg(function(){f._paintList(t,e,n,i)})}}},r.prototype._compositeManually=function(){var t=this.getLayer(iv).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)})},r.prototype._doPaintList=function(t,e,n){for(var i=this,o=[],s=this._opts.useDirtyRect,l=0;l<this._zlevelList.length;l++){var f=this._zlevelList[l],v=this._layers[f];v.__builtin__&&v!==this._hoverlayer&&(v.__dirty||n)&&o.push(v)}for(var C=!0,w=!1,x=function(L){var P=o[L],M=P.ctx,k=s&&P.createRepaintRects(t,e,Q._width,Q._height),G=n?P.__startIndex:P.__drawIndex,Y=!n&&P.incremental&&Date.now,re=Y&&Date.now(),ie=P.zlevel===Q._zlevelList[0]?Q._backgroundColor:null;if(P.__startIndex===P.__endIndex)P.clear(!1,ie,k);else if(G===P.__startIndex){var le=t[G];(!le.incremental||!le.notClear||n)&&P.clear(!1,ie,k)}G===-1&&(console.error("For some unknown reason. drawIndex is -1"),G=P.__startIndex);var pe,ve=function(Le){var be={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(pe=G;pe<P.__endIndex;pe++){var ze=t[pe];if(ze.__inHover&&(w=!0),i._doPaintEl(ze,P,s,Le,be,pe===P.__endIndex-1),Y){var ut=Date.now()-re;if(ut>15)break}}be.prevElClipPaths&&M.restore()};if(k)if(k.length===0)pe=P.__endIndex;else for(var Ee=Q.dpr,Se=0;Se<k.length;++Se){var ke=k[Se];M.save(),M.beginPath(),M.rect(ke.x*Ee,ke.y*Ee,ke.width*Ee,ke.height*Ee),M.clip(),ve(ke),M.restore()}else M.save(),ve(),M.restore();P.__drawIndex=pe,P.__drawIndex<P.__endIndex&&(C=!1)},Q=this,R=0;R<o.length;R++)x(R);return Yn.wxa&&Ne(this._layers,function(L){L&&L.ctx&&L.ctx.draw&&L.ctx.draw()}),{finished:C,needsRefreshHover:w}},r.prototype._doPaintEl=function(t,e,n,i,o,s){var l=e.ctx;if(n){var f=t.getPaintRect();(!i||f&&f.intersect(i))&&(as(l,t,o,s),t.setPrevPaintRect(f))}else as(l,t,o,s)},r.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=iv);var n=this._layers[t];return n||(n=new $B("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?Kn(n,this._layerConfig[t],!0):this._layerConfig[t-hC]&&Kn(n,this._layerConfig[t-hC],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},r.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,o=i.length,s=this._domRoot,l=null,f=-1;if(!n[t]&&f8(e)){if(o>0&&t>i[0]){for(f=0;f<o-1&&!(i[f]<t&&i[f+1]>t);f++);l=n[i[f]]}if(i.splice(f+1,0,t),n[t]=e,!e.virtual)if(l){var v=l.dom;v.nextSibling?s.insertBefore(e.dom,v.nextSibling):s.appendChild(e.dom)}else s.firstChild?s.insertBefore(e.dom,s.firstChild):s.appendChild(e.dom);e.painter||(e.painter=this)}},r.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var o=n[i];t.call(e,this._layers[o],o)}},r.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var o=n[i],s=this._layers[o];s.__builtin__&&t.call(e,s,o)}},r.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var o=n[i],s=this._layers[o];s.__builtin__||t.call(e,s,o)}},r.prototype.getLayers=function(){return this._layers},r.prototype._updateLayerStatus=function(t){this.eachBuiltinLayer(function(w,x){w.__dirty=w.__used=!1});function e(w){o&&(o.__endIndex!==w&&(o.__dirty=!0),o.__endIndex=w)}if(this._singleCanvas)for(var n=1;n<t.length;n++){var i=t[n];if(i.zlevel!==t[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var o=null,s=0,l,f;for(f=0;f<t.length;f++){var i=t[f],v=i.zlevel,C=void 0;l!==v&&(l=v,s=0),i.incremental?(C=this.getLayer(v+e3,this._needsManuallyCompositing),C.incremental=!0,s=1):C=this.getLayer(v+(s>0?hC:0),this._needsManuallyCompositing),C.__builtin__||Ao("ZLevel "+v+" has been used by unkown layer "+C.id),C!==o&&(C.__used=!0,C.__startIndex!==f&&(C.__dirty=!0),C.__startIndex=f,C.incremental?C.__drawIndex=-1:C.__drawIndex=f,e(f),o=C),i.__dirty&zl&&!i.__inHover&&(C.__dirty=!0,C.incremental&&C.__drawIndex<0&&(C.__drawIndex=f))}e(f),this.eachBuiltinLayer(function(w,x){!w.__used&&w.getElementCount()>0&&(w.__dirty=!0,w.__startIndex=w.__endIndex=w.__drawIndex=0),w.__dirty&&w.__drawIndex<0&&(w.__drawIndex=w.__startIndex)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(t){t.clear()},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t,Ne(this._layers,function(e){e.setUnpainted()})},r.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?Kn(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];if(o===t||o===t+hC){var s=this._layers[o];Kn(s,n[t],!0)}}}},r.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(Vn(n,t),1))},r.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,o=this.root;if(t!=null&&(i.width=t),e!=null&&(i.height=e),t=Dr(o,0,i),e=Dr(o,1,i),n.style.display="",this._width!==t||e!==this._height){n.style.width=t+"px",n.style.height=e+"px";for(var s in this._layers)this._layers.hasOwnProperty(s)&&this._layers[s].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(t==null||e==null)return;this._width=t,this._height=e,this.getLayer(iv).resize(t,e)}return this},r.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},r.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},r.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[iv].dom;var e=new $B("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,o=e.dom.height;this.eachLayer(function(w){w.__builtin__?n.drawImage(w.dom,0,0,i,o):w.renderToCanvas&&(n.save(),w.renderToCanvas(n),n.restore())})}else for(var s={inHover:!1,viewWidth:this._width,viewHeight:this._height},l=this.storage.getDisplayList(!0),f=0,v=l.length;f<v;f++){var C=l[f];as(n,C,s,f===v-1)}return e.dom},r.prototype.getWidth=function(){return this._width},r.prototype.getHeight=function(){return this._height},r}();function g8(r){r.registerPainter("canvas",d8)}var E4=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e){return WA(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var n=new Nn,i=yt("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);n.add(i),i.setStyle(e.lineStyle);var o=this.getData().getVisual("symbol"),s=this.getData().getVisual("symbolRotate"),l=o==="none"?"circle":o,f=e.itemHeight*.8,v=yt(l,(e.itemWidth-f)/2,(e.itemHeight-f)/2,f,f,e.itemStyle.fill);n.add(v),v.setStyle(e.itemStyle);var C=e.iconRotate==="inherit"?s:e.iconRotate||0;return v.rotation=C*Math.PI/180,v.setOrigin([e.itemWidth/2,e.itemHeight/2]),l.indexOf("empty")>-1&&(v.style.stroke=v.style.fill,v.style.fill="#fff",v.style.lineWidth=2),n},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(no);function d0(r,t){var e=r.mapDimensionsAll("defaultedLabel"),n=e.length;if(n===1){var i=Yp(r,t,e[0]);return i!=null?i+"":null}else if(n){for(var o=[],s=0;s<e.length;s++)o.push(Yp(r,t,e[s]));return o.join(" ")}}function P6(r,t){var e=r.mapDimensionsAll("defaultedLabel");if(!yr(t))return t+"";for(var n=[],i=0;i<e.length;i++){var o=r.getDimensionIndex(e[i]);o>=0&&n.push(t[o])}return n.join(" ")}var fC=function(r){kt(t,r);function t(e,n,i,o){var s=r.call(this)||this;return s.updateData(e,n,i,o),s}return t.prototype._createSymbol=function(e,n,i,o,s){this.removeAll();var l=yt(e,-1,-1,2,2,null,s);l.attr({z2:100,culling:!0,scaleX:o[0]/2,scaleY:o[1]/2}),l.drift=p8,this._symbolType=e,this.add(l)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){Dc(this.childAt(0))},t.prototype.downplay=function(){ko(this.childAt(0))},t.prototype.setZ=function(e,n){var i=this.childAt(0);i.zlevel=e,i.z=n},t.prototype.setDraggable=function(e,n){var i=this.childAt(0);i.draggable=e,i.cursor=!n&&e?"move":i.cursor},t.prototype.updateData=function(e,n,i,o){this.silent=!1;var s=e.getItemVisual(n,"symbol")||"circle",l=e.hostModel,f=t.getSymbolSize(e,n),v=s!==this._symbolType,C=o&&o.disableAnimation;if(v){var w=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(s,e,n,f,w)}else{var x=this.childAt(0);x.silent=!1;var Q={scaleX:f[0]/2,scaleY:f[1]/2};C?x.attr(Q):ga(x,Q,l,n),_l(x)}if(this._updateCommon(e,n,f,i,o),v){var x=this.childAt(0);if(!C){var Q={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:x.style.opacity}};x.scaleX=x.scaleY=0,x.style.opacity=0,Co(x,Q,l,n)}}C&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,n,i,o,s){var l=this.childAt(0),f=e.hostModel,v,C,w,x,Q,R,L,P,M;if(o&&(v=o.emphasisItemStyle,C=o.blurItemStyle,w=o.selectItemStyle,x=o.focus,Q=o.blurScope,L=o.labelStatesModels,P=o.hoverScale,M=o.cursorStyle,R=o.emphasisDisabled),!o||e.hasItemOption){var k=o&&o.itemModel?o.itemModel:e.getItemModel(n),G=k.getModel("emphasis");v=G.getModel("itemStyle").getItemStyle(),w=k.getModel(["select","itemStyle"]).getItemStyle(),C=k.getModel(["blur","itemStyle"]).getItemStyle(),x=G.get("focus"),Q=G.get("blurScope"),R=G.get("disabled"),L=_s(k),P=G.getShallow("scale"),M=k.getShallow("cursor")}var Y=e.getItemVisual(n,"symbolRotate");l.attr("rotation",(Y||0)*Math.PI/180||0);var re=cr(e.getItemVisual(n,"symbolOffset"),i);re&&(l.x=re[0],l.y=re[1]),M&&l.attr("cursor",M);var ie=e.getItemVisual(n,"style"),le=ie.fill;if(l instanceof Ws){var pe=l.style;l.useStyle(ar({image:pe.image,x:pe.x,y:pe.y,width:pe.width,height:pe.height},ie))}else l.__isEmptyBrush?l.useStyle(ar({},ie)):l.useStyle(ie),l.style.decal=null,l.setColor(le,s&&s.symbolInnerColor),l.style.strokeNoScale=!0;var ve=e.getItemVisual(n,"liftZ"),Ee=this._z2;ve!=null?Ee==null&&(this._z2=l.z2,l.z2+=ve):Ee!=null&&(l.z2=Ee,this._z2=null);var Se=s&&s.useNameLabel;Uo(l,L,{labelFetcher:f,labelDataIndex:n,defaultText:ke,inheritColor:le,defaultOpacity:ie.opacity});function ke(ze){return Se?e.getName(ze):d0(e,ze)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var Le=l.ensureState("emphasis");Le.style=v,l.ensureState("select").style=w,l.ensureState("blur").style=C;var be=P==null||P===!0?Math.max(1.1,3/this._sizeY):isFinite(P)&&P>0?+P:1;Le.scaleX=this._sizeX*be,Le.scaleY=this._sizeY*be,this.setSymbolScale(1),uo(this,x,Q,R)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,n,i){var o=this.childAt(0),s=Un(this).dataIndex,l=i&&i.animation;if(this.silent=o.silent=!0,i&&i.fadeLabel){var f=o.getTextContent();f&&Nh(f,{style:{opacity:0}},n,{dataIndex:s,removeOpt:l,cb:function(){o.removeTextContent()}})}else o.removeTextContent();Nh(o,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:s,cb:e,removeOpt:l})},t.getSymbolSize=function(e,n){return Mt(e.getItemVisual(n,"symbolSize"))},t}(Nn);function p8(r,t){this.parent.drift(r,t)}function yu(r,t,e,n){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(n.isIgnore&&n.isIgnore(e))&&!(n.clipShape&&!n.clipShape.contain(t[0],t[1]))&&r.getItemVisual(e,"symbol")!=="none"}function fl(r){return r!=null&&!Ln(r)&&(r={isIgnore:r}),r||{}}function G6(r){var t=r.hostModel,e=t.getModel("emphasis");return{emphasisItemStyle:e.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:e.get("focus"),blurScope:e.get("blurScope"),emphasisDisabled:e.get("disabled"),hoverScale:e.get("scale"),labelStatesModels:_s(t),cursorStyle:t.get("cursor")}}var Gm=function(){function r(t){this.group=new Nn,this._SymbolCtor=t||fC}return r.prototype.updateData=function(t,e){this._progressiveEls=null,e=fl(e);var n=this.group,i=t.hostModel,o=this._data,s=this._SymbolCtor,l=e.disableAnimation,f=G6(t),v={disableAnimation:l},C=e.getSymbolPoint||function(w){return t.getItemLayout(w)};o||n.removeAll(),t.diff(o).add(function(w){var x=C(w);if(yu(t,x,w,e)){var Q=new s(t,w,f,v);Q.setPosition(x),t.setItemGraphicEl(w,Q),n.add(Q)}}).update(function(w,x){var Q=o.getItemGraphicEl(x),R=C(w);if(!yu(t,R,w,e)){n.remove(Q);return}var L=t.getItemVisual(w,"symbol")||"circle",P=Q&&Q.getSymbolType&&Q.getSymbolType();if(!Q||P&&P!==L)n.remove(Q),Q=new s(t,w,f,v),Q.setPosition(R);else{Q.updateData(t,w,f,v);var M={x:R[0],y:R[1]};l?Q.attr(M):ga(Q,M,i)}n.add(Q),t.setItemGraphicEl(w,Q)}).remove(function(w){var x=o.getItemGraphicEl(w);x&&x.fadeOut(function(){n.remove(x)},i)}).execute(),this._getSymbolPoint=C,this._data=t},r.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(n,i){var o=t._getSymbolPoint(i);n.setPosition(o),n.markRedraw()})},r.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=G6(t),this._data=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(t,e,n){this._progressiveEls=[],n=fl(n);function i(f){f.isGroup||(f.incremental=!0,f.ensureState("emphasis").hoverLayer=!0)}for(var o=t.start;o<t.end;o++){var s=e.getItemLayout(o);if(yu(e,s,o,n)){var l=new this._SymbolCtor(e,o,this._seriesScope);l.traverse(i),l.setPosition(s),this.group.add(l),e.setItemGraphicEl(o,l),this._progressiveEls.push(l)}}},r.prototype.eachRendered=function(t){Fl(this._progressiveEls||this.group,t)},r.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(i){i.fadeOut(function(){e.remove(i)},n.hostModel)}):e.removeAll()},r}();function U6(r,t,e){var n=r.getBaseAxis(),i=r.getOtherAxis(n),o=v8(i,e),s=n.dim,l=i.dim,f=t.mapDimension(l),v=t.mapDimension(s),C=l==="x"||l==="radius"?1:0,w=pr(r.dimensions,function(R){return t.mapDimension(R)}),x=!1,Q=t.getCalculationInfo("stackResultDimension");return Tc(t,w[0])&&(x=!0,w[0]=Q),Tc(t,w[1])&&(x=!0,w[1]=Q),{dataDimsForPoint:w,valueStart:o,valueAxisDim:l,baseAxisDim:s,stacked:!!x,valueDim:f,baseDim:v,baseDataOffset:C,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function v8(r,t){var e=0,n=r.scale.getExtent();return t==="start"?e=n[0]:t==="end"?e=n[1]:$i(t)&&!isNaN(t)?e=t:n[0]>0?e=n[0]:n[1]<0&&(e=n[1]),e}function B4(r,t,e,n){var i=NaN;r.stacked&&(i=e.get(e.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=r.valueStart);var o=r.baseDataOffset,s=[];return s[o]=e.get(r.baseDim,n),s[1-o]=i,t.dataToPoint(s)}function j6(r,t){var e=[];return t.diff(r).add(function(n){e.push({cmd:"+",idx:n})}).update(function(n,i){e.push({cmd:"=",idx:i,idx1:n})}).remove(function(n){e.push({cmd:"-",idx:n})}).execute(),e}function H6(r,t,e,n,i,o,s,l){for(var f=j6(r,t),v=[],C=[],w=[],x=[],Q=[],R=[],L=[],P=U6(i,t,s),M=r.getLayout("points")||[],k=t.getLayout("points")||[],G=0;G<f.length;G++){var Y=f[G],re=!0,ie=void 0,le=void 0;switch(Y.cmd){case"=":ie=Y.idx*2,le=Y.idx1*2;var pe=M[ie],ve=M[ie+1],Ee=k[le],Se=k[le+1];(isNaN(pe)||isNaN(ve))&&(pe=Ee,ve=Se),v.push(pe,ve),C.push(Ee,Se),w.push(e[ie],e[ie+1]),x.push(n[le],n[le+1]),L.push(t.getRawIndex(Y.idx1));break;case"+":var ke=Y.idx,Le=P.dataDimsForPoint,be=i.dataToPoint([t.get(Le[0],ke),t.get(Le[1],ke)]);le=ke*2,v.push(be[0],be[1]),C.push(k[le],k[le+1]);var ze=B4(P,i,t,ke);w.push(ze[0],ze[1]),x.push(n[le],n[le+1]),L.push(t.getRawIndex(ke));break;case"-":re=!1}re&&(Q.push(Y),R.push(R.length))}R.sort(function(ir,Fn){return L[ir]-L[Fn]});for(var ut=v.length,ft=Ho(ut),Qt=Ho(ut),vt=Ho(ut),Gt=Ho(ut),Ct=[],G=0;G<R.length;G++){var St=R[G],dr=G*2,ur=St*2;ft[dr]=v[ur],ft[dr+1]=v[ur+1],Qt[dr]=C[ur],Qt[dr+1]=C[ur+1],vt[dr]=w[ur],vt[dr+1]=w[ur+1],Gt[dr]=x[ur],Gt[dr+1]=x[ur+1],Ct[G]=Q[St]}return{current:ft,next:Qt,stackedOnCurrent:vt,stackedOnNext:Gt,status:Ct}}var yh=Math.min,g0=Math.max;function p0(r,t){return isNaN(r)||isNaN(t)}function t3(r,t,e,n,i,o,s,l,f){for(var v,C,w,x,Q,R,L=e,P=0;P<n;P++){var M=t[L*2],k=t[L*2+1];if(L>=i||L<0)break;if(p0(M,k)){if(f){L+=o;continue}break}if(L===e)r[o>0?"moveTo":"lineTo"](M,k),w=M,x=k;else{var G=M-v,Y=k-C;if(G*G+Y*Y<.5){L+=o;continue}if(s>0){for(var re=L+o,ie=t[re*2],le=t[re*2+1];ie===M&&le===k&&P<n;)P++,re+=o,L+=o,ie=t[re*2],le=t[re*2+1],M=t[L*2],k=t[L*2+1],G=M-v,Y=k-C;var pe=P+1;if(f)for(;p0(ie,le)&&pe<n;)pe++,re+=o,ie=t[re*2],le=t[re*2+1];var ve=.5,Ee=0,Se=0,ke=void 0,Le=void 0;if(pe>=n||p0(ie,le))Q=M,R=k;else{Ee=ie-v,Se=le-C;var be=M-v,ze=ie-M,ut=k-C,ft=le-k,Qt=void 0,vt=void 0;if(l==="x"){Qt=Math.abs(be),vt=Math.abs(ze);var Gt=Ee>0?1:-1;Q=M-Gt*Qt*s,R=k,ke=M+Gt*vt*s,Le=k}else if(l==="y"){Qt=Math.abs(ut),vt=Math.abs(ft);var Ct=Se>0?1:-1;Q=M,R=k-Ct*Qt*s,ke=M,Le=k+Ct*vt*s}else Qt=Math.sqrt(be*be+ut*ut),vt=Math.sqrt(ze*ze+ft*ft),ve=vt/(vt+Qt),Q=M-Ee*s*(1-ve),R=k-Se*s*(1-ve),ke=M+Ee*s*ve,Le=k+Se*s*ve,ke=yh(ke,g0(ie,M)),Le=yh(Le,g0(le,k)),ke=g0(ke,yh(ie,M)),Le=g0(Le,yh(le,k)),Ee=ke-M,Se=Le-k,Q=M-Ee*Qt/vt,R=k-Se*Qt/vt,Q=yh(Q,g0(v,M)),R=yh(R,g0(C,k)),Q=g0(Q,yh(v,M)),R=g0(R,yh(C,k)),Ee=M-Q,Se=k-R,ke=M+Ee*vt/Qt,Le=k+Se*vt/Qt}r.bezierCurveTo(w,x,Q,R,M,k),w=ke,x=Le}else r.lineTo(M,k)}v=M,C=k,L+=o}return P}var Y6=function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r}(),y8=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polyline",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Y6},t.prototype.buildPath=function(e,n){var i=n.points,o=0,s=i.length/2;if(n.connectNulls){for(;s>0&&p0(i[s*2-2],i[s*2-1]);s--);for(;o<s&&p0(i[o*2],i[o*2+1]);o++);}for(;o<s;)o+=t3(e,i,o,s,s,1,n.smooth,n.smoothMonotone,n.connectNulls)+1},t.prototype.getPointOn=function(e,n){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var i=this.path,o=i.data,s=eh.CMD,l,f,v=n==="x",C=[],w=0;w<o.length;){var x=o[w++],Q=void 0,R=void 0,L=void 0,P=void 0,M=void 0,k=void 0,G=void 0;switch(x){case s.M:l=o[w++],f=o[w++];break;case s.L:if(Q=o[w++],R=o[w++],G=v?(e-l)/(Q-l):(e-f)/(R-f),G<=1&&G>=0){var Y=v?(R-f)*G+f:(Q-l)*G+l;return v?[e,Y]:[Y,e]}l=Q,f=R;break;case s.C:Q=o[w++],R=o[w++],L=o[w++],P=o[w++],M=o[w++],k=o[w++];var re=v?U0(l,Q,L,M,e,C):U0(f,R,P,k,e,C);if(re>0)for(var ie=0;ie<re;ie++){var le=C[ie];if(le<=1&&le>=0){var Y=v?ks(f,R,P,k,le):ks(l,Q,L,M,le);return v?[e,Y]:[Y,e]}}l=M,f=k;break}}},t}(Si),m8=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t}(Y6),J6=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polygon",n}return t.prototype.getDefaultShape=function(){return new m8},t.prototype.buildPath=function(e,n){var i=n.points,o=n.stackedOnPoints,s=0,l=i.length/2,f=n.smoothMonotone;if(n.connectNulls){for(;l>0&&p0(i[l*2-2],i[l*2-1]);l--);for(;s<l&&p0(i[s*2],i[s*2+1]);s++);}for(;s<l;){var v=t3(e,i,s,l,l,1,n.smooth,f,n.connectNulls);t3(e,o,s+v-1,v,l,-1,n.stackedOnSmooth,f,n.connectNulls),s+=v+1,e.closePath()}},t}(Si);function W6(r,t,e,n,i){var o=r.getArea(),s=o.x,l=o.y,f=o.width,v=o.height,C=e.get(["lineStyle","width"])||0;s-=C/2,l-=C/2,f+=C,v+=C,f=Math.ceil(f),s!==Math.floor(s)&&(s=Math.floor(s),f++);var w=new ta({shape:{x:s,y:l,width:f,height:v}});if(t){var x=r.getBaseAxis(),Q=x.isHorizontal(),R=x.inverse;Q?(R&&(w.shape.x+=f),w.shape.width=0):(R||(w.shape.y+=v),w.shape.height=0);var L=bn(i)?function(P){i(P,w)}:null;Co(w,{shape:{width:f,height:v,x:s,y:l}},e,null,n,L)}return w}function q6(r,t,e){var n=r.getArea(),i=Ra(n.r0,1),o=Ra(n.r,1),s=new Hu({shape:{cx:Ra(r.cx,1),cy:Ra(r.cy,1),r0:i,r:o,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});if(t){var l=r.getBaseAxis().dim==="angle";l?s.shape.endAngle=n.startAngle:s.shape.r=i,Co(s,{shape:{endAngle:n.endAngle,r:o}},e)}return s}function av(r,t,e,n,i){if(r){if(r.type==="polar")return q6(r,t,e);if(r.type==="cartesian2d")return W6(r,t,e,n,i)}else return null;return null}function v0(r,t){return r.type===t}function k4(r,t){if(r.length===t.length){for(var e=0;e<r.length;e++)if(r[e]!==t[e])return;return!0}}function z6(r){for(var t=1/0,e=1/0,n=-1/0,i=-1/0,o=0;o<r.length;){var s=r[o++],l=r[o++];isNaN(s)||(t=Math.min(s,t),n=Math.max(s,n)),isNaN(l)||(e=Math.min(l,e),i=Math.max(l,i))}return[[t,e],[n,i]]}function r3(r,t){var e=z6(r),n=e[0],i=e[1],o=z6(t),s=o[0],l=o[1];return Math.max(Math.abs(n[0]-s[0]),Math.abs(n[1]-s[1]),Math.abs(i[0]-l[0]),Math.abs(i[1]-l[1]))}function K6(r){return $i(r)?r:r?.5:0}function I8(r,t,e){if(!e.valueDim)return[];for(var n=t.count(),i=Ho(n*2),o=0;o<n;o++){var s=B4(e,r,t,o);i[o*2]=s[0],i[o*2+1]=s[1]}return i}function ru(r,t,e,n,i){var o=e.getBaseAxis(),s=o.dim==="x"||o.dim==="radius"?0:1,l=[],f=0,v=[],C=[],w=[],x=[];if(i){for(f=0;f<r.length;f+=2){var Q=t||r;!isNaN(Q[f])&&!isNaN(Q[f+1])&&x.push(r[f],r[f+1])}r=x}for(f=0;f<r.length-2;f+=2)switch(w[0]=r[f+2],w[1]=r[f+3],C[0]=r[f],C[1]=r[f+1],l.push(C[0],C[1]),n){case"end":v[s]=w[s],v[1-s]=C[1-s],l.push(v[0],v[1]);break;case"middle":var R=(C[s]+w[s])/2,L=[];v[s]=L[s]=R,v[1-s]=C[1-s],L[1-s]=w[1-s],l.push(v[0],v[1]),l.push(L[0],L[1]);break;default:v[s]=C[s],v[1-s]=w[1-s],l.push(v[0],v[1])}return l.push(r[f++],r[f++]),l}function Q4(r,t){var e=[],n=r.length,i,o;function s(C,w,x){var Q=C.coord,R=(x-Q)/(w.coord-Q),L=s5(R,[C.color,w.color]);return{coord:x,color:L}}for(var l=0;l<n;l++){var f=r[l],v=f.coord;if(v<0)i=f;else if(v>t){o?e.push(s(o,f,t)):i&&e.push(s(i,f,0),s(i,f,t));break}else i&&(e.push(s(i,f,0)),i=null),e.push(f),o=f}return e}function b8(r,t,e){var n=r.getVisual("visualMeta");if(!(!n||!n.length||!r.count())){if(t.type!=="cartesian2d")return;for(var i,o,s=n.length-1;s>=0;s--){var l=r.getDimensionInfo(n[s].dimension);if(i=l&&l.coordDim,i==="x"||i==="y"){o=n[s];break}}if(!o)return;var f=t.getAxis(i),v=pr(o.stops,function(G){return{coord:f.toGlobalCoord(f.dataToCoord(G.value)),color:G.color}}),C=v.length,w=o.outerColors.slice();C&&v[0].coord>v[C-1].coord&&(v.reverse(),w.reverse());var x=Q4(v,i==="x"?e.getWidth():e.getHeight()),Q=x.length;if(!Q&&C)return v[0].coord<0?w[1]?w[1]:v[C-1].color:w[0]?w[0]:v[0].color;var R=10,L=x[0].coord-R,P=x[Q-1].coord+R,M=P-L;if(M<.001)return"transparent";Ne(x,function(G){G.offset=(G.coord-L)/M}),x.push({offset:Q?x[Q-1].offset:.5,color:w[1]||"transparent"}),x.unshift({offset:Q?x[0].offset:.5,color:w[0]||"transparent"});var k=new tg(0,0,0,0,x,!0);return k[i]=L,k[i+"2"]=P,k}}function C8(r,t,e){var n=r.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var o=e.getAxesByScale("ordinal")[0];if(o&&!(i&&x4(o,t))){var s=t.mapDimension(o.dim),l={};return Ne(o.getViewLabels(),function(f){var v=o.scale.getRawOrdinalNumber(f.tickValue);l[v]=1}),function(f){return!l.hasOwnProperty(t.get(s,f))}}}}function x4(r,t){var e=r.getExtent(),n=Math.abs(e[1]-e[0])/r.scale.count();isNaN(n)&&(n=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),s=0;s<i;s+=o)if(fC.getSymbolSize(t,s)[r.isHorizontal()?1:0]*1.5>n)return!1;return!0}function S4(r,t){return isNaN(r)||isNaN(t)}function w8(r){for(var t=r.length/2;t>0&&S4(r[t*2-2],r[t*2-1]);t--);return t-1}function V6(r,t){return[r[t*2],r[t*2+1]]}function E8(r,t,e){for(var n=r.length/2,i=e==="x"?0:1,o,s,l=0,f=-1,v=0;v<n;v++)if(s=r[v*2+i],!(isNaN(s)||isNaN(r[v*2+1-i]))){if(v===0){o=s;continue}if(o<=t&&s>=t||o>=t&&s<=t){f=v;break}l=v,o=s}return{range:[l,f],t:(t-o)/(s-o)}}function _4(r){if(r.get(["endLabel","show"]))return!0;for(var t=0;t<bi.length;t++)if(r.get([bi[t],"endLabel","show"]))return!0;return!1}function D4(r,t,e,n){if(v0(t,"cartesian2d")){var i=n.getModel("endLabel"),o=i.get("valueAnimation"),s=n.getData(),l={lastFrameIndex:0},f=_4(n)?function(Q,R){r._endLabelOnDuring(Q,R,s,l,o,i,t)}:null,v=t.getBaseAxis().isHorizontal(),C=W6(t,e,n,function(){var Q=r._endLabel;Q&&e&&l.originalX!=null&&Q.attr({x:l.originalX,y:l.originalY})},f);if(!n.get("clip",!0)){var w=C.shape,x=Math.max(w.width,w.height);v?(w.y-=x,w.height+=x*2):(w.x-=x,w.width+=x*2)}return f&&f(1,C),C}else return q6(t,e,n)}function B8(r,t){var e=t.getBaseAxis(),n=e.isHorizontal(),i=e.inverse,o=n?i?"right":"left":"center",s=n?"middle":i?"top":"bottom";return{normal:{align:r.get("align")||o,verticalAlign:r.get("verticalAlign")||s}}}var R4=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(){var e=new Nn,n=new Gm;this.group.add(n.group),this._symbolDraw=n,this._lineGroup=e,this._changePolyState=an(this._changePolyState,this)},t.prototype.render=function(e,n,i){var o=e.coordinateSystem,s=this.group,l=e.getData(),f=e.getModel("lineStyle"),v=e.getModel("areaStyle"),C=l.getLayout("points")||[],w=o.type==="polar",x=this._coordSys,Q=this._symbolDraw,R=this._polyline,L=this._polygon,P=this._lineGroup,M=!n.ssr&&e.get("animation"),k=!v.isEmpty(),G=v.get("origin"),Y=U6(o,l,G),re=k&&I8(o,l,Y),ie=e.get("showSymbol"),le=e.get("connectNulls"),pe=ie&&!w&&C8(e,l,o),ve=this._data;ve&&ve.eachItemGraphicEl(function(ir,Fn){ir.__temp&&(s.remove(ir),ve.setItemGraphicEl(Fn,null))}),ie||Q.remove(),s.add(P);var Ee=w?!1:e.get("step"),Se;o&&o.getArea&&e.get("clip",!0)&&(Se=o.getArea(),Se.width!=null?(Se.x-=.1,Se.y-=.1,Se.width+=.2,Se.height+=.2):Se.r0&&(Se.r0-=.5,Se.r+=.5)),this._clipShapeForSymbol=Se;var ke=b8(l,o,i)||l.getVisual("style")[l.getVisual("drawType")];if(!(R&&x.type===o.type&&Ee===this._step))ie&&Q.updateData(l,{isIgnore:pe,clipShape:Se,disableAnimation:!0,getSymbolPoint:function(ir){return[C[ir*2],C[ir*2+1]]}}),M&&this._initSymbolLabelAnimation(l,o,Se),Ee&&(re&&(re=ru(re,C,o,Ee,le)),C=ru(C,null,o,Ee,le)),R=this._newPolyline(C),k?L=this._newPolygon(C,re):L&&(P.remove(L),L=this._polygon=null),w||this._initOrUpdateEndLabel(e,o,NA(ke)),P.setClipPath(D4(this,o,!0,e));else{k&&!L?L=this._newPolygon(C,re):L&&!k&&(P.remove(L),L=this._polygon=null),w||this._initOrUpdateEndLabel(e,o,NA(ke));var Le=P.getClipPath();if(Le){var be=D4(this,o,!1,e);Co(Le,{shape:be.shape},e)}else P.setClipPath(D4(this,o,!0,e));ie&&Q.updateData(l,{isIgnore:pe,clipShape:Se,disableAnimation:!0,getSymbolPoint:function(ir){return[C[ir*2],C[ir*2+1]]}}),(!k4(this._stackedOnPoints,re)||!k4(this._points,C))&&(M?this._doUpdateAnimation(l,re,o,i,Ee,G,le):(Ee&&(re&&(re=ru(re,C,o,Ee,le)),C=ru(C,null,o,Ee,le)),R.setShape({points:C}),L&&L.setShape({points:C,stackedOnPoints:re})))}var ze=e.getModel("emphasis"),ut=ze.get("focus"),ft=ze.get("blurScope"),Qt=ze.get("disabled");if(R.useStyle(pn(f.getLineStyle(),{fill:"none",stroke:ke,lineJoin:"bevel"})),hu(R,e,"lineStyle"),R.style.lineWidth>0&&e.get(["emphasis","lineStyle","width"])==="bolder"){var vt=R.getState("emphasis").style;vt.lineWidth=+R.style.lineWidth+1}Un(R).seriesIndex=e.seriesIndex,uo(R,ut,ft,Qt);var Gt=K6(e.get("smooth")),Ct=e.get("smoothMonotone");if(R.setShape({smooth:Gt,smoothMonotone:Ct,connectNulls:le}),L){var St=l.getCalculationInfo("stackedOnSeries"),dr=0;L.useStyle(pn(v.getAreaStyle(),{fill:ke,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),St&&(dr=K6(St.get("smooth"))),L.setShape({smooth:Gt,stackedOnSmooth:dr,smoothMonotone:Ct,connectNulls:le}),hu(L,e,"areaStyle"),Un(L).seriesIndex=e.seriesIndex,uo(L,ut,ft,Qt)}var ur=this._changePolyState;l.eachItemGraphicEl(function(ir){ir&&(ir.onHoverStateChange=ur)}),this._polyline.onHoverStateChange=ur,this._data=l,this._coordSys=o,this._stackedOnPoints=re,this._points=C,this._step=Ee,this._valueOrigin=G,e.get("triggerLineEvent")&&(this.packEventData(e,R),L&&this.packEventData(e,L))},t.prototype.packEventData=function(e,n){Un(n).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,n,i,o){var s=e.getData(),l=uc(s,o);if(this._changePolyState("emphasis"),!(l instanceof Array)&&l!=null&&l>=0){var f=s.getLayout("points"),v=s.getItemGraphicEl(l);if(!v){var C=f[l*2],w=f[l*2+1];if(isNaN(C)||isNaN(w)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(C,w))return;var x=e.get("zlevel")||0,Q=e.get("z")||0;v=new fC(s,l),v.x=C,v.y=w,v.setZ(x,Q);var R=v.getSymbolPath().getTextContent();R&&(R.zlevel=x,R.z=Q,R.z2=this._polyline.z2+1),v.__temp=!0,s.setItemGraphicEl(l,v),v.stopSymbolAnimation(!0),this.group.add(v)}v.highlight()}else d.prototype.highlight.call(this,e,n,i,o)},t.prototype.downplay=function(e,n,i,o){var s=e.getData(),l=uc(s,o);if(this._changePolyState("normal"),l!=null&&l>=0){var f=s.getItemGraphicEl(l);f&&(f.__temp?(s.setItemGraphicEl(l,null),this.group.remove(f)):f.downplay())}else d.prototype.downplay.call(this,e,n,i,o)},t.prototype._changePolyState=function(e){var n=this._polygon;bp(this._polyline,e),n&&bp(n,e)},t.prototype._newPolyline=function(e){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new y8({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},t.prototype._newPolygon=function(e,n){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new J6({shape:{points:e,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(e,n,i){var o,s,l=n.getBaseAxis(),f=l.inverse;n.type==="cartesian2d"?(o=l.isHorizontal(),s=!1):n.type==="polar"&&(o=l.dim==="angle",s=!0);var v=e.hostModel,C=v.get("animationDuration");bn(C)&&(C=C(null));var w=v.get("animationDelay")||0,x=bn(w)?w(null):w;e.eachItemGraphicEl(function(Q,R){var L=Q;if(L){var P=[Q.x,Q.y],M=void 0,k=void 0,G=void 0;if(i)if(s){var Y=i,re=n.pointToCoord(P);o?(M=Y.startAngle,k=Y.endAngle,G=-re[1]/180*Math.PI):(M=Y.r0,k=Y.r,G=re[0])}else{var ie=i;o?(M=ie.x,k=ie.x+ie.width,G=Q.x):(M=ie.y+ie.height,k=ie.y,G=Q.y)}var le=k===M?0:(G-M)/(k-M);f&&(le=1-le);var pe=bn(w)?w(R):C*le+x,ve=L.getSymbolPath(),Ee=ve.getTextContent();L.attr({scaleX:0,scaleY:0}),L.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:pe}),Ee&&Ee.animateFrom({style:{opacity:0}},{duration:300,delay:pe}),ve.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,n,i){var o=e.getModel("endLabel");if(_4(e)){var s=e.getData(),l=this._polyline,f=s.getLayout("points");if(!f){l.removeTextContent(),this._endLabel=null;return}var v=this._endLabel;v||(v=this._endLabel=new Mn({z2:200}),v.ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var C=w8(f);C>=0&&(Uo(l,_s(e,"endLabel"),{inheritColor:i,labelFetcher:e,labelDataIndex:C,defaultText:function(w,x,Q){return Q!=null?P6(s,Q):d0(s,w)},enableTextSetter:!0},B8(o,n)),l.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,n,i,o,s,l,f){var v=this._endLabel,C=this._polyline;if(v){e<1&&o.originalX==null&&(o.originalX=v.x,o.originalY=v.y);var w=i.getLayout("points"),x=i.hostModel,Q=x.get("connectNulls"),R=l.get("precision"),L=l.get("distance")||0,P=f.getBaseAxis(),M=P.isHorizontal(),k=P.inverse,G=n.shape,Y=k?M?G.x:G.y+G.height:M?G.x+G.width:G.y,re=(M?L:0)*(k?-1:1),ie=(M?0:-L)*(k?-1:1),le=M?"x":"y",pe=E8(w,Y,le),ve=pe.range,Ee=ve[1]-ve[0],Se=void 0;if(Ee>=1){if(Ee>1&&!Q){var ke=V6(w,ve[0]);v.attr({x:ke[0]+re,y:ke[1]+ie}),s&&(Se=x.getRawValue(ve[0]))}else{var ke=C.getPointOn(Y,le);ke&&v.attr({x:ke[0]+re,y:ke[1]+ie});var Le=x.getRawValue(ve[0]),be=x.getRawValue(ve[1]);s&&(Se=Sw(i,R,Le,be,pe.t))}o.lastFrameIndex=ve[0]}else{var ze=e===1||o.lastFrameIndex>0?ve[0]:0,ke=V6(w,ze);s&&(Se=x.getRawValue(ze)),v.attr({x:ke[0]+re,y:ke[1]+ie})}if(s){var ut=FA(v);typeof ut.setLabelText=="function"&&ut.setLabelText(Se)}}},t.prototype._doUpdateAnimation=function(e,n,i,o,s,l,f){var v=this._polyline,C=this._polygon,w=e.hostModel,x=H6(this._data,e,this._stackedOnPoints,n,this._coordSys,i,this._valueOrigin),Q=x.current,R=x.stackedOnCurrent,L=x.next,P=x.stackedOnNext;if(s&&(R=ru(x.stackedOnCurrent,x.current,i,s,f),Q=ru(x.current,null,i,s,f),P=ru(x.stackedOnNext,x.next,i,s,f),L=ru(x.next,null,i,s,f)),r3(Q,L)>3e3||C&&r3(R,P)>3e3){v.stopAnimation(),v.setShape({points:L}),C&&(C.stopAnimation(),C.setShape({points:L,stackedOnPoints:P}));return}v.shape.__points=x.current,v.shape.points=Q;var M={shape:{points:L}};x.current!==Q&&(M.shape.__points=x.next),v.stopAnimation(),ga(v,M,w),C&&(C.setShape({points:Q,stackedOnPoints:R}),C.stopAnimation(),ga(C,{shape:{stackedOnPoints:P}},w),v.shape.points!==C.shape.points&&(C.shape.points=v.shape.points));for(var k=[],G=x.status,Y=0;Y<G.length;Y++){var re=G[Y].cmd;if(re==="="){var ie=e.getItemGraphicEl(G[Y].idx1);ie&&k.push({el:ie,ptIdx:Y})}}v.animators&&v.animators.length&&v.animators[0].during(function(){C&&C.dirtyShape();for(var le=v.shape.__points,pe=0;pe<k.length;pe++){var ve=k[pe].el,Ee=k[pe].ptIdx*2;ve.x=le[Ee],ve.y=le[Ee+1],ve.markRedraw()}})},t.prototype.remove=function(e){var n=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(o,s){o.__temp&&(n.remove(o),i.setItemGraphicEl(s,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(d);function ov(r,t){return{seriesType:r,plan:c(),reset:function(e){var n=e.getData(),i=e.coordinateSystem,o=e.pipelineContext,s=t||o.large;if(i){var l=pr(i.dimensions,function(Q){return n.mapDimension(Q)}).slice(0,2),f=l.length,v=n.getCalculationInfo("stackResultDimension");Tc(n,l[0])&&(l[0]=v),Tc(n,l[1])&&(l[1]=v);var C=n.getStore(),w=n.getDimensionIndex(l[0]),x=n.getDimensionIndex(l[1]);return f&&{progress:function(Q,R){for(var L=Q.end-Q.start,P=s&&Ho(L*f),M=[],k=[],G=Q.start,Y=0;G<Q.end;G++){var re=void 0;if(f===1){var ie=C.get(w,G);re=i.dataToPoint(ie,null,k)}else M[0]=C.get(w,G),M[1]=C.get(x,G),re=i.dataToPoint(M,null,k);s?(P[Y++]=re[0],P[Y++]=re[1]):R.setItemLayout(G,re.slice())}s&&R.setLayout("points",P)}}}}}}var k8={average:function(r){for(var t=0,e=0,n=0;n<r.length;n++)isNaN(r[n])||(t+=r[n],e++);return e===0?NaN:t/e},sum:function(r){for(var t=0,e=0;e<r.length;e++)t+=r[e]||0;return t},max:function(r){for(var t=-1/0,e=0;e<r.length;e++)r[e]>t&&(t=r[e]);return isFinite(t)?t:NaN},min:function(r){for(var t=1/0,e=0;e<r.length;e++)r[e]<t&&(t=r[e]);return isFinite(t)?t:NaN},nearest:function(r){return r[0]}},Q8=function(r){return Math.round(r.length/2)};function Z6(r){return{seriesType:r,reset:function(t,e,n){var i=t.getData(),o=t.get("sampling"),s=t.coordinateSystem,l=i.count();if(l>10&&s.type==="cartesian2d"&&o){var f=s.getBaseAxis(),v=s.getOtherAxis(f),C=f.getExtent(),w=n.getDevicePixelRatio(),x=Math.abs(C[1]-C[0])*(w||1),Q=Math.round(l/x);if(isFinite(Q)&&Q>1){o==="lttb"?t.setData(i.lttbDownSample(i.mapDimension(v.dim),1/Q)):o==="minmax"&&t.setData(i.minmaxDownSample(i.mapDimension(v.dim),1/Q));var R=void 0;en(o)?R=k8[o]:bn(o)&&(R=o),R&&t.setData(i.downSample(i.mapDimension(v.dim),1/Q,R,Q8))}}}}}function x8(r){r.registerChartView(R4),r.registerSeriesModel(E4),r.registerLayout(ov("line",!0)),r.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,Z6("line"))}var sv=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,n){return WA(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,n,i){var o=this.coordinateSystem;if(o&&o.clampData){var s=o.clampData(e),l=o.dataToPoint(s);if(i)Ne(o.getAxes(),function(x,Q){if(x.type==="category"&&n!=null){var R=x.getTicksCoords(),L=x.getTickModel().get("alignWithLabel"),P=s[Q],M=n[Q]==="x1"||n[Q]==="y1";if(M&&!L&&(P+=1),R.length<2)return;if(R.length===2){l[Q]=x.toGlobalCoord(x.getExtent()[M?1:0]);return}for(var k=void 0,G=void 0,Y=1,re=0;re<R.length;re++){var ie=R[re].coord,le=re===R.length-1?R[re-1].tickValue+Y:R[re].tickValue;if(le===P){G=ie;break}else if(le<P)k=ie;else if(k!=null&&le>P){G=(ie+k)/2;break}re===1&&(Y=le-R[0].tickValue)}G==null&&(k?k&&(G=R[R.length-1].coord):G=R[0].coord),l[Q]=x.toGlobalCoord(G)}});else{var f=this.getData(),v=f.getLayout("offset"),C=f.getLayout("size"),w=o.getBaseAxis().isHorizontal()?0:1;l[w]+=v+C/2}return l}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(no);no.registerClass(sv);var S8=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(){return WA(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),n=this.get("largeThreshold");return n>e&&(e=n),e},t.prototype.brushSelector=function(e,n,i){return i.rect(n.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=TA(sv.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(sv),_8=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r}(),n3=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n.type="sausage",n}return t.prototype.getDefaultShape=function(){return new _8},t.prototype.buildPath=function(e,n){var i=n.cx,o=n.cy,s=Math.max(n.r0||0,0),l=Math.max(n.r,0),f=(l-s)*.5,v=s+f,C=n.startAngle,w=n.endAngle,x=n.clockwise,Q=Math.PI*2,R=x?w-C<Q:C-w<Q;R||(C=w-(x?Q:-Q));var L=Math.cos(C),P=Math.sin(C),M=Math.cos(w),k=Math.sin(w);R?(e.moveTo(L*s+i,P*s+o),e.arc(L*v+i,P*v+o,f,-Math.PI+C,C,!x)):e.moveTo(L*l+i,P*l+o),e.arc(i,o,l,C,w,!x),e.arc(M*v+i,k*v+o,f,w-Math.PI*2,w-Math.PI,!x),s!==0&&e.arc(i,o,s,w,C,x)},t}(Si);function U(r,t){t=t||{};var e=t.isRoundCap;return function(n,i,o){var s=i.position;if(!s||s instanceof Array)return Ec(n,i,o);var l=r(s),f=i.distance!=null?i.distance:5,v=this.shape,C=v.cx,w=v.cy,x=v.r,Q=v.r0,R=(x+Q)/2,L=v.startAngle,P=v.endAngle,M=(L+P)/2,k=e?Math.abs(x-Q)/2:0,G=Math.cos,Y=Math.sin,re=C+x*G(L),ie=w+x*Y(L),le="left",pe="top";switch(l){case"startArc":re=C+(Q-f)*G(M),ie=w+(Q-f)*Y(M),le="center",pe="top";break;case"insideStartArc":re=C+(Q+f)*G(M),ie=w+(Q+f)*Y(M),le="center",pe="bottom";break;case"startAngle":re=C+R*G(L)+ge(L,f+k,!1),ie=w+R*Y(L)+De(L,f+k,!1),le="right",pe="middle";break;case"insideStartAngle":re=C+R*G(L)+ge(L,-f+k,!1),ie=w+R*Y(L)+De(L,-f+k,!1),le="left",pe="middle";break;case"middle":re=C+R*G(M),ie=w+R*Y(M),le="center",pe="middle";break;case"endArc":re=C+(x+f)*G(M),ie=w+(x+f)*Y(M),le="center",pe="bottom";break;case"insideEndArc":re=C+(x-f)*G(M),ie=w+(x-f)*Y(M),le="center",pe="top";break;case"endAngle":re=C+R*G(P)+ge(P,f+k,!0),ie=w+R*Y(P)+De(P,f+k,!0),le="left",pe="middle";break;case"insideEndAngle":re=C+R*G(P)+ge(P,-f+k,!0),ie=w+R*Y(P)+De(P,-f+k,!0),le="right",pe="middle";break;default:return Ec(n,i,o)}return n=n||{},n.x=re,n.y=ie,n.align=le,n.verticalAlign=pe,n}}function ee(r,t,e,n){if($i(n)){r.setTextConfig({rotation:n});return}else if(yr(t)){r.setTextConfig({rotation:0});return}var i=r.shape,o=i.clockwise?i.startAngle:i.endAngle,s=i.clockwise?i.endAngle:i.startAngle,l=(o+s)/2,f,v=e(t);switch(v){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":f=l;break;case"startAngle":case"insideStartAngle":f=o;break;case"endAngle":case"insideEndAngle":f=s;break;default:r.setTextConfig({rotation:0});return}var C=Math.PI*1.5-f;v==="middle"&&C>Math.PI/2&&C<Math.PI*1.5&&(C-=Math.PI),r.setTextConfig({rotation:C})}function ge(r,t,e){return t*Math.sin(r)*(e?-1:1)}function De(r,t,e){return t*Math.cos(r)*(e?1:-1)}function We(r,t,e){var n=r.get("borderRadius");if(n==null)return e?{cornerRadius:0}:null;yr(n)||(n=[n,n,n,n]);var i=Math.abs(t.r||0-t.r0||0);return{cornerRadius:pr(n,function(o){return Do(o,i)})}}var dt=Math.max,Tt=Math.min;function jt(r,t){var e=r.getArea&&r.getArea();if(v0(r,"cartesian2d")){var n=r.getBaseAxis();if(n.type!=="category"||!n.onBand){var i=t.getLayout("bandWidth");n.isHorizontal()?(e.x-=i,e.width+=i*2):(e.y-=i,e.height+=i*2)}}return e}var or=function(r){kt(t,r);function t(){var e=r.call(this)||this;return e.type=t.type,e._isFirstFrame=!0,e}return t.prototype.render=function(e,n,i,o){this._model=e,this._removeOnRenderedListener(i),this._updateDrawMode(e);var s=e.get("coordinateSystem");(s==="cartesian2d"||s==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,n,i):this._renderNormal(e,n,i,o))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,n){this._progressiveEls=[],this._incrementalRenderLarge(e,n)},t.prototype.eachRendered=function(e){Fl(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var n=e.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.prototype._renderNormal=function(e,n,i,o){var s=this.group,l=e.getData(),f=this._data,v=e.coordinateSystem,C=v.getBaseAxis(),w;v.type==="cartesian2d"?w=C.isHorizontal():v.type==="polar"&&(w=C.dim==="angle");var x=e.isAnimationEnabled()?e:null,Q=cn(e,v);Q&&this._enableRealtimeSort(Q,l,i);var R=e.get("clip",!0)||Q,L=jt(v,l);s.removeClipPath();var P=e.get("roundCap",!0),M=e.get("showBackground",!0),k=e.getModel("backgroundStyle"),G=k.get("borderRadius")||0,Y=[],re=this._backgroundEls,ie=o&&o.isInitSort,le=o&&o.type==="changeAxisOrder";function pe(Se){var ke=wi[v.type](l,Se),Le=Pc(v,w,ke);return Le.useStyle(k.getItemStyle()),v.type==="cartesian2d"?Le.setShape("r",G):Le.setShape("cornerRadius",G),Y[Se]=Le,Le}l.diff(f).add(function(Se){var ke=l.getItemModel(Se),Le=wi[v.type](l,Se,ke);if(M&&pe(Se),!(!l.hasValue(Se)||!yn[v.type](Le))){var be=!1;R&&(be=Fr[v.type](L,Le));var ze=Lr[v.type](e,l,Se,Le,w,x,C.model,!1,P);Q&&(ze.forceLabelAnimation=!0),Hi(ze,l,Se,ke,Le,e,w,v.type==="polar"),ie?ze.attr({shape:Le}):Q?qn(Q,x,ze,Le,Se,w,!1,!1):Co(ze,{shape:Le},e,Se),l.setItemGraphicEl(Se,ze),s.add(ze),ze.ignore=be}}).update(function(Se,ke){var Le=l.getItemModel(Se),be=wi[v.type](l,Se,Le);if(M){var ze=void 0;re.length===0?ze=pe(ke):(ze=re[ke],ze.useStyle(k.getItemStyle()),v.type==="cartesian2d"?ze.setShape("r",G):ze.setShape("cornerRadius",G),Y[Se]=ze);var ut=wi[v.type](l,Se),ft=Yo(w,ut,v);ga(ze,{shape:ft},x,Se)}var Qt=f.getItemGraphicEl(ke);if(!l.hasValue(Se)||!yn[v.type](be)){s.remove(Qt);return}var vt=!1;if(R&&(vt=Fr[v.type](L,be),vt&&s.remove(Qt)),Qt?_l(Qt):Qt=Lr[v.type](e,l,Se,be,w,x,C.model,!!Qt,P),Q&&(Qt.forceLabelAnimation=!0),le){var Gt=Qt.getTextContent();if(Gt){var Ct=FA(Gt);Ct.prevValue!=null&&(Ct.prevValue=Ct.value)}}else Hi(Qt,l,Se,Le,be,e,w,v.type==="polar");ie?Qt.attr({shape:be}):Q?qn(Q,x,Qt,be,Se,w,!0,le):ga(Qt,{shape:be},e,Se,null),l.setItemGraphicEl(Se,Qt),Qt.ignore=vt,s.add(Qt)}).remove(function(Se){var ke=f.getItemGraphicEl(Se);ke&&kp(ke,e,Se)}).execute();var ve=this._backgroundGroup||(this._backgroundGroup=new Nn);ve.removeAll();for(var Ee=0;Ee<Y.length;++Ee)ve.add(Y[Ee]);s.add(ve),this._backgroundEls=Y,this._data=l},t.prototype._renderLarge=function(e,n,i){this._clear(),mu(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,n){this._removeBackground(),mu(n,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var n=e.get("clip",!0)&&av(e.coordinateSystem,!1,e),i=this.group;n?i.setClipPath(n):i.removeClipPath()},t.prototype._enableRealtimeSort=function(e,n,i){var o=this;if(n.count()){var s=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(n,e,i),this._isFirstFrame=!1;else{var l=function(f){var v=n.getItemGraphicEl(f),C=v&&v.shape;return C&&Math.abs(s.isHorizontal()?C.height:C.width)||0};this._onRendered=function(){o._updateSortWithinSameData(n,l,s,i)},i.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,n,i){var o=[];return e.each(e.mapDimension(n.dim),function(s,l){var f=i(l);f=f??NaN,o.push({dataIndex:l,mappedValue:f,ordinalNumber:s})}),o.sort(function(s,l){return l.mappedValue-s.mappedValue}),{ordinalNumbers:pr(o,function(s){return s.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(e,n,i){for(var o=i.scale,s=e.mapDimension(i.dim),l=Number.MAX_VALUE,f=0,v=o.getOrdinalMeta().categories.length;f<v;++f){var C=e.rawIndexOf(s,o.getRawOrdinalNumber(f)),w=C<0?Number.MIN_VALUE:n(e.indexOfRawIndex(C));if(w>l)return!0;l=w}return!1},t.prototype._isOrderDifferentInView=function(e,n){for(var i=n.scale,o=i.getExtent(),s=Math.max(0,o[0]),l=Math.min(o[1],i.getOrdinalMeta().categories.length-1);s<=l;++s)if(e.ordinalNumbers[s]!==i.getRawOrdinalNumber(s))return!0},t.prototype._updateSortWithinSameData=function(e,n,i,o){if(this._isOrderChangedWithinSameData(e,n,i)){var s=this._dataSort(e,i,n);this._isOrderDifferentInView(s,i)&&(this._removeOnRenderedListener(o),o.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:s}))}},t.prototype._dispatchInitSort=function(e,n,i){var o=n.baseAxis,s=this._dataSort(e,o,function(l){return e.get(e.mapDimension(n.otherAxis.dim),l)});i.dispatchAction({type:"changeAxisOrder",componentType:o.dim+"Axis",isInitSort:!0,axisId:o.index,sortInfo:s})},t.prototype.remove=function(e,n){this._clear(this._model),this._removeOnRenderedListener(n)},t.prototype.dispose=function(e,n){this._removeOnRenderedListener(n)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var n=this.group,i=this._data;e&&e.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(o){kp(o,e,Un(o).dataIndex)})):n.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(d),Fr={cartesian2d:function(r,t){var e=t.width<0?-1:1,n=t.height<0?-1:1;e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height);var i=r.x+r.width,o=r.y+r.height,s=dt(t.x,r.x),l=Tt(t.x+t.width,i),f=dt(t.y,r.y),v=Tt(t.y+t.height,o),C=l<s,w=v<f;return t.x=C&&s>i?l:s,t.y=w&&f>o?v:f,t.width=C?0:l-s,t.height=w?0:v-f,e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height),C||w},polar:function(r,t){var e=t.r0<=t.r?1:-1;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}var i=Tt(t.r,r.r),o=dt(t.r0,r.r0);t.r=i,t.r0=o;var s=i-o<0;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}return s}},Lr={cartesian2d:function(r,t,e,n,i,o,s,l,f){var v=new ta({shape:ar({},n),z2:1});if(v.__dataIndex=e,v.name="item",o){var C=v.shape,w=i?"height":"width";C[w]=0}return v},polar:function(r,t,e,n,i,o,s,l,f){var v=!i&&f?n3:Hu,C=new v({shape:n,z2:1});C.name="item";var w=oa(i);if(C.calculateTextPosition=U(w,{isRoundCap:v===n3}),o){var x=C.shape,Q=i?"r":"endAngle",R={};x[Q]=i?n.r0:n.startAngle,R[Q]=n[Q],(l?ga:Co)(C,{shape:R},o)}return C}};function cn(r,t){var e=r.get("realtimeSort",!0),n=t.getBaseAxis();if(e&&n.type==="category"&&t.type==="cartesian2d")return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}function qn(r,t,e,n,i,o,s,l){var f,v;o?(v={x:n.x,width:n.width},f={y:n.y,height:n.height}):(v={y:n.y,height:n.height},f={x:n.x,width:n.width}),l||(s?ga:Co)(e,{shape:f},t,i,null);var C=t?r.baseAxis.model:null;(s?ga:Co)(e,{shape:v},C,i)}function ri(r,t){for(var e=0;e<t.length;e++)if(!isFinite(r[t[e]]))return!0;return!1}var yi=["x","y","width","height"],Jr=["cx","cy","r","startAngle","endAngle"],yn={cartesian2d:function(r){return!ri(r,yi)},polar:function(r){return!ri(r,Jr)}},wi={cartesian2d:function(r,t,e){var n=r.getItemLayout(t),i=e?io(e,n):0,o=n.width>0?1:-1,s=n.height>0?1:-1;return{x:n.x+o*i/2,y:n.y+s*i/2,width:n.width-o*i,height:n.height-s*i}},polar:function(r,t,e){var n=r.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function xn(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function oa(r){return function(t){var e=t?"Arc":"Angle";return function(n){switch(n){case"start":case"insideStart":case"end":case"insideEnd":return n+e;default:return n}}}(r)}function Hi(r,t,e,n,i,o,s,l){var f=t.getItemVisual(e,"style");if(l){if(!o.get("roundCap")){var v=r.shape,C=We(n.getModel("itemStyle"),v,!0);ar(v,C),r.setShape(v)}}else{var w=n.get(["itemStyle","borderRadius"])||0;r.setShape("r",w)}r.useStyle(f);var x=n.getShallow("cursor");x&&r.attr("cursor",x);var Q=l?s?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":s?i.height>=0?"bottom":"top":i.width>=0?"right":"left",R=_s(n);Uo(r,R,{labelFetcher:o,labelDataIndex:e,defaultText:d0(o.getData(),e),inheritColor:f.fill,defaultOpacity:f.opacity,defaultOutsidePosition:Q});var L=r.getTextContent();if(l&&L){var P=n.get(["label","position"]);r.textConfig.inside=P==="middle"?!0:null,ee(r,P==="outside"?Q:P,oa(s),n.get(["label","rotate"]))}bE(L,R,o.getRawValue(e),function(k){return P6(t,k)});var M=n.getModel(["emphasis"]);uo(r,M.get("focus"),M.get("blurScope"),M.get("disabled")),hu(r,n),xn(i)&&(r.style.fill="none",r.style.stroke="none",Ne(r.states,function(k){k.style&&(k.style.fill=k.style.stroke="none")}))}function io(r,t){var e=r.get(["itemStyle","borderColor"]);if(!e||e==="none")return 0;var n=r.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,i,o)}var Ai=function(){function r(){}return r}(),Di=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n.type="largeBar",n}return t.prototype.getDefaultShape=function(){return new Ai},t.prototype.buildPath=function(e,n){for(var i=n.points,o=this.baseDimIdx,s=1-this.baseDimIdx,l=[],f=[],v=this.barWidth,C=0;C<i.length;C+=3)f[o]=v,f[s]=i[C+2],l[o]=i[C+o],l[s]=i[C+s],e.rect(l[0],l[1],f[0],f[1])},t}(Si);function mu(r,t,e,n){var i=r.getData(),o=i.getLayout("valueAxisHorizontal")?1:0,s=i.getLayout("largeDataIndices"),l=i.getLayout("size"),f=r.getModel("backgroundStyle"),v=i.getLayout("largeBackgroundPoints");if(v){var C=new Di({shape:{points:v},incremental:!!n,silent:!0,z2:0});C.baseDimIdx=o,C.largeDataIndices=s,C.barWidth=l,C.useStyle(f.getItemStyle()),t.add(C),e&&e.push(C)}var w=new Di({shape:{points:i.getLayout("largePoints")},incremental:!!n,ignoreCoarsePointer:!0,z2:1});w.baseDimIdx=o,w.largeDataIndices=s,w.barWidth=l,t.add(w),w.useStyle(i.getVisual("style")),w.style.stroke=null,Un(w).seriesIndex=r.seriesIndex,r.get("silent")||(w.on("mousedown",Os),w.on("mousemove",Os)),e&&e.push(w)}var Os=B(function(r){var t=this,e=Al(t,r.offsetX,r.offsetY);Un(t).dataIndex=e>=0?e:null},30,!1);function Al(r,t,e){for(var n=r.baseDimIdx,i=1-n,o=r.shape.points,s=r.largeDataIndices,l=[],f=[],v=r.barWidth,C=0,w=o.length/3;C<w;C++){var x=C*3;if(f[n]=v,f[i]=o[x+2],l[n]=o[x+n],l[i]=o[x+i],f[i]<0&&(l[i]+=f[i],f[i]=-f[i]),t>=l[0]&&t<=l[0]+f[0]&&e>=l[1]&&e<=l[1]+f[1])return s[C]}return-1}function Yo(r,t,e){if(v0(e,"cartesian2d")){var n=t,i=e.getArea();return{x:r?n.x:i.x,y:r?i.y:n.y,width:r?n.width:i.width,height:r?i.height:n.height}}else{var i=e.getArea(),o=t;return{cx:i.cx,cy:i.cy,r0:r?i.r0:o.r0,r:r?i.r:o.r,startAngle:r?o.startAngle:0,endAngle:r?o.endAngle:Math.PI*2}}}function Pc(r,t,e){var n=r.type==="polar"?Hu:ta;return new n({shape:Yo(t,e,r),silent:!0,z2:0})}function td(r){r.registerChartView(or),r.registerSeriesModel(S8),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,ni(YQ,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,JQ("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,Z6("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var xg=Math.PI*2,uv=Math.PI/180;function i3(r,t){return Mo(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function AC(r,t){var e=i3(r,t),n=r.get("center"),i=r.get("radius");yr(i)||(i=[0,i]);var o=jr(e.width,t.getWidth()),s=jr(e.height,t.getHeight()),l=Math.min(o,s),f=jr(i[0],l/2),v=jr(i[1],l/2),C,w,x=r.coordinateSystem;if(x){var Q=x.dataToPoint(n);C=Q[0]||0,w=Q[1]||0}else yr(n)||(n=[n,n]),C=jr(n[0],o)+e.x,w=jr(n[1],s)+e.y;return{cx:C,cy:w,r0:f,r:v}}function cv(r,t,e){t.eachSeriesByType(r,function(n){var i=n.getData(),o=i.mapDimension("value"),s=i3(n,e),l=AC(n,e),f=l.cx,v=l.cy,C=l.r,w=l.r0,x=-n.get("startAngle")*uv,Q=n.get("endAngle"),R=n.get("padAngle")*uv;Q=Q==="auto"?x-xg:-Q*uv;var L=n.get("minAngle")*uv,P=L+R,M=0;i.each(o,function(ft){!isNaN(ft)&&M++});var k=i.getSum(o),G=Math.PI/(k||M)*2,Y=n.get("clockwise"),re=n.get("roseType"),ie=n.get("stillShowZeroSum"),le=i.getDataExtent(o);le[0]=0;var pe=Y?1:-1,ve=[x,Q],Ee=pe*R/2;fI(ve,!Y),x=ve[0],Q=ve[1];var Se=M4(n);Se.startAngle=x,Se.endAngle=Q,Se.clockwise=Y;var ke=Math.abs(Q-x),Le=ke,be=0,ze=x;if(i.setLayout({viewRect:s,r:C}),i.each(o,function(ft,Qt){var vt;if(isNaN(ft)){i.setItemLayout(Qt,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:Y,cx:f,cy:v,r0:w,r:re?NaN:C});return}re!=="area"?vt=k===0&&ie?G:ft*G:vt=ke/M,vt<P?(vt=P,Le-=P):be+=ft;var Gt=ze+pe*vt,Ct=0,St=0;R>vt?(Ct=ze+pe*vt/2,St=Ct):(Ct=ze+Ee,St=Gt-Ee),i.setItemLayout(Qt,{angle:vt,startAngle:Ct,endAngle:St,clockwise:Y,cx:f,cy:v,r0:w,r:re?ea(ft,le,[w,C]):C}),ze=Gt}),Le<xg&&M)if(Le<=.001){var ut=ke/M;i.each(o,function(ft,Qt){if(!isNaN(ft)){var vt=i.getItemLayout(Qt);vt.angle=ut;var Gt=0,Ct=0;ut<R?(Gt=x+pe*(Qt+1/2)*ut,Ct=Gt):(Gt=x+pe*Qt*ut+Ee,Ct=x+pe*(Qt+1)*ut-Ee),vt.startAngle=Gt,vt.endAngle=Ct}})}else G=Le/be,ze=x,i.each(o,function(ft,Qt){if(!isNaN(ft)){var vt=i.getItemLayout(Qt),Gt=vt.angle===P?P:ft*G,Ct=0,St=0;Gt<R?(Ct=ze+pe*Gt/2,St=Ct):(Ct=ze+Ee,St=ze+pe*Gt-Ee),vt.startAngle=Ct,vt.endAngle=St,ze+=pe*Gt}})})}var M4=Vi();function Um(r){return{seriesType:r,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(!(!n||!n.length)){var i=t.getData();i.filterSelf(function(o){for(var s=i.getName(o),l=0;l<n.length;l++)if(!n[l].isSelected(s))return!1;return!0})}}}}var a3=Math.PI/180;function o3(r,t,e,n,i,o,s,l,f,v){if(r.length<2)return;function C(L){for(var P=L.rB,M=P*P,k=0;k<L.list.length;k++){var G=L.list[k],Y=Math.abs(G.label.y-e),re=n+G.len,ie=re*re,le=Math.sqrt(Math.abs((1-Y*Y/M)*ie)),pe=t+(le+G.len2)*i,ve=pe-G.label.x,Ee=G.targetTextWidth-ve*i;dC(G,Ee,!0),G.label.x=pe}}function w(L){for(var P={list:[],maxY:0},M={list:[],maxY:0},k=0;k<L.length;k++)if(L[k].labelAlignTo==="none"){var G=L[k],Y=G.label.y>e?M:P,re=Math.abs(G.label.y-e);if(re>=Y.maxY){var ie=G.label.x-t-G.len2*i,le=n+G.len,pe=Math.abs(ie)<le?Math.sqrt(re*re/(1-ie*ie/le/le)):le;Y.rB=pe,Y.maxY=re}Y.list.push(G)}C(P),C(M)}for(var x=r.length,Q=0;Q<x;Q++)if(r[Q].position==="outer"&&r[Q].labelAlignTo==="labelLine"){var R=r[Q].label.x-v;r[Q].linePoints[1][0]+=R,r[Q].label.x=v}c4(r,f,f+s)&&w(r)}function s3(r,t,e,n,i,o,s,l){for(var f=[],v=[],C=Number.MAX_VALUE,w=-Number.MAX_VALUE,x=0;x<r.length;x++){var Q=r[x].label;u3(r[x])||(Q.x<t?(C=Math.min(C,Q.x),f.push(r[x])):(w=Math.max(w,Q.x),v.push(r[x])))}for(var x=0;x<r.length;x++){var R=r[x];if(!u3(R)&&R.linePoints){if(R.labelStyleWidth!=null)continue;var Q=R.label,L=R.linePoints,P=void 0;R.labelAlignTo==="edge"?Q.x<t?P=L[2][0]-R.labelDistance-s-R.edgeDistance:P=s+i-R.edgeDistance-L[2][0]-R.labelDistance:R.labelAlignTo==="labelLine"?Q.x<t?P=C-s-R.bleedMargin:P=s+i-w-R.bleedMargin:Q.x<t?P=Q.x-s-R.bleedMargin:P=s+i-Q.x-R.bleedMargin,R.targetTextWidth=P,dC(R,P)}}o3(v,t,e,n,1,i,o,s,l,w),o3(f,t,e,n,-1,i,o,s,l,C);for(var x=0;x<r.length;x++){var R=r[x];if(!u3(R)&&R.linePoints){var Q=R.label,L=R.linePoints,M=R.labelAlignTo==="edge",k=Q.style.padding,G=k?k[1]+k[3]:0,Y=Q.style.backgroundColor?0:G,re=R.rect.width+Y,ie=L[1][0]-L[2][0];M?Q.x<t?L[2][0]=s+R.edgeDistance+re+R.labelDistance:L[2][0]=s+i-R.edgeDistance-re-R.labelDistance:(Q.x<t?L[2][0]=Q.x+R.labelDistance:L[2][0]=Q.x-R.labelDistance,L[1][0]=L[2][0]+ie),L[1][1]=L[2][1]=Q.y}}}function dC(r,t,e){if(e===void 0&&(e=!1),r.labelStyleWidth==null){var n=r.label,i=n.style,o=r.rect,s=i.backgroundColor,l=i.padding,f=l?l[1]+l[3]:0,v=i.overflow,C=o.width+(s?0:f);if(t<C||e){var w=o.height;if(v&&v.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",t-f);var x=n.getBoundingRect();n.setStyle("width",Math.ceil(x.width)),n.setStyle("backgroundColor",s)}else{var Q=t-f,R=t<C?Q:e?Q>r.unconstrainedWidth?null:Q:null;n.setStyle("width",R)}var L=n.getBoundingRect();o.width=L.width;var P=(n.style.margin||0)+2.1;o.height=L.height+P,o.y-=(o.height-w)/2}}}function u3(r){return r.position==="center"}function c3(r){var t=r.getData(),e=[],n,i,o=!1,s=(r.get("minShowLabelAngle")||0)*a3,l=t.getLayout("viewRect"),f=t.getLayout("r"),v=l.width,C=l.x,w=l.y,x=l.height;function Q(ie){ie.ignore=!0}function R(ie){if(!ie.ignore)return!0;for(var le in ie.states)if(ie.states[le].ignore===!1)return!0;return!1}t.each(function(ie){var le=t.getItemGraphicEl(ie),pe=le.shape,ve=le.getTextContent(),Ee=le.getTextGuideLine(),Se=t.getItemModel(ie),ke=Se.getModel("label"),Le=ke.get("position")||Se.get(["emphasis","label","position"]),be=ke.get("distanceToLabelLine"),ze=ke.get("alignTo"),ut=jr(ke.get("edgeDistance"),v),ft=ke.get("bleedMargin"),Qt=Se.getModel("labelLine"),vt=Qt.get("length");vt=jr(vt,v);var Gt=Qt.get("length2");if(Gt=jr(Gt,v),Math.abs(pe.endAngle-pe.startAngle)<s){Ne(ve.states,Q),ve.ignore=!0,Ee&&(Ne(Ee.states,Q),Ee.ignore=!0);return}if(R(ve)){var Ct=(pe.startAngle+pe.endAngle)/2,St=Math.cos(Ct),dr=Math.sin(Ct),ur,ir,Fn,Ei;n=pe.cx,i=pe.cy;var Vr=Le==="inside"||Le==="inner";if(Le==="center")ur=pe.cx,ir=pe.cy,Ei="center";else{var qr=(Vr?(pe.r+pe.r0)/2*St:pe.r*St)+n,Tn=(Vr?(pe.r+pe.r0)/2*dr:pe.r*dr)+i;if(ur=qr+St*3,ir=Tn+dr*3,!Vr){var zr=qr+St*(vt+f-pe.r),Qn=Tn+dr*(vt+f-pe.r),Yi=zr+(St<0?-1:1)*Gt,Pe=Qn;ze==="edge"?ur=St<0?C+ut:C+v-ut:ur=Yi+(St<0?-be:be),ir=Pe,Fn=[[qr,Tn],[zr,Qn],[Yi,Pe]]}Ei=Vr?"center":ze==="edge"?St>0?"right":"left":St>0?"left":"right"}var hr=Math.PI,rr=0,Bt=ke.get("rotate");if($i(Bt))rr=Bt*(hr/180);else if(Le==="center")rr=0;else if(Bt==="radial"||Bt===!0){var wt=St<0?-Ct+hr:-Ct;rr=wt}else if(Bt==="tangential"&&Le!=="outside"&&Le!=="outer"){var Yt=Math.atan2(St,dr);Yt<0&&(Yt=hr*2+Yt);var Br=dr>0;Br&&(Yt=hr+Yt),rr=Yt-hr}if(o=!!rr,ve.x=ur,ve.y=ir,ve.rotation=rr,ve.setStyle({verticalAlign:"middle"}),Vr){ve.setStyle({align:Ei});var kr=ve.states.select;kr&&(kr.x+=ve.x,kr.y+=ve.y)}else{var tr=ve.getBoundingRect().clone();tr.applyTransform(ve.getComputedTransform());var rn=(ve.style.margin||0)+2.1;tr.y-=rn/2,tr.height+=rn,e.push({label:ve,labelLine:Ee,position:Le,len:vt,len2:Gt,minTurnAngle:Qt.get("minTurnAngle"),maxSurfaceAngle:Qt.get("maxSurfaceAngle"),surfaceNormal:new ci(St,dr),linePoints:Fn,textAlign:Ei,labelDistance:be,labelAlignTo:ze,edgeDistance:ut,bleedMargin:ft,rect:tr,unconstrainedWidth:tr.width,labelStyleWidth:ve.style.width})}le.setTextConfig({inside:Vr})}}),!o&&r.get("avoidLabelOverlap")&&s3(e,n,i,f,v,x,C,w);for(var L=0;L<e.length;L++){var P=e[L],M=P.label,k=P.labelLine,G=isNaN(M.x)||isNaN(M.y);if(M){M.setStyle({align:P.textAlign}),G&&(Ne(M.states,Q),M.ignore=!0);var Y=M.states.select;Y&&(Y.x+=M.x,Y.y+=M.y)}if(k){var re=P.linePoints;G||!re?(Ne(k.states,Q),k.ignore=!0):(VA(re,P.minTurnAngle),ll(re,P.surfaceNormal,P.maxSurfaceAngle),k.setShape({points:re}),M.__hostTarget.textGuideLineConfig={anchor:new ci(re[0][0],re[0][1])})}}}var l3=function(r){kt(t,r);function t(e,n,i){var o=r.call(this)||this;o.z2=2;var s=new Mn;return o.setTextContent(s),o.updateData(e,n,i,!0),o}return t.prototype.updateData=function(e,n,i,o){var s=this,l=e.hostModel,f=e.getItemModel(n),v=f.getModel("emphasis"),C=e.getItemLayout(n),w=ar(We(f.getModel("itemStyle"),C,!0),C);if(isNaN(w.startAngle)){s.setShape(w);return}if(o){s.setShape(w);var x=l.getShallow("animationType");l.ecModel.ssr?(Co(s,{scaleX:0,scaleY:0},l,{dataIndex:n,isFrom:!0}),s.originX=w.cx,s.originY=w.cy):x==="scale"?(s.shape.r=C.r0,Co(s,{shape:{r:C.r}},l,n)):i!=null?(s.setShape({startAngle:i,endAngle:i}),Co(s,{shape:{startAngle:C.startAngle,endAngle:C.endAngle}},l,n)):(s.shape.endAngle=C.startAngle,ga(s,{shape:{endAngle:C.endAngle}},l,n))}else _l(s),ga(s,{shape:w},l,n);s.useStyle(e.getItemVisual(n,"style")),hu(s,f);var Q=(C.startAngle+C.endAngle)/2,R=l.get("selectedOffset"),L=Math.cos(Q)*R,P=Math.sin(Q)*R,M=f.getShallow("cursor");M&&s.attr("cursor",M),this._updateLabel(l,e,n),s.ensureState("emphasis").shape=ar({r:C.r+(v.get("scale")&&v.get("scaleSize")||0)},We(v.getModel("itemStyle"),C)),ar(s.ensureState("select"),{x:L,y:P,shape:We(f.getModel(["select","itemStyle"]),C)}),ar(s.ensureState("blur"),{shape:We(f.getModel(["blur","itemStyle"]),C)});var k=s.getTextGuideLine(),G=s.getTextContent();k&&ar(k.ensureState("select"),{x:L,y:P}),ar(G.ensureState("select"),{x:L,y:P}),uo(this,v.get("focus"),v.get("blurScope"),v.get("disabled"))},t.prototype._updateLabel=function(e,n,i){var o=this,s=n.getItemModel(i),l=s.getModel("labelLine"),f=n.getItemVisual(i,"style"),v=f&&f.fill,C=f&&f.opacity;Uo(o,_s(s),{labelFetcher:n.hostModel,labelDataIndex:i,inheritColor:v,defaultOpacity:C,defaultText:e.getFormattedLabel(i,"normal")||n.getName(i)});var w=o.getTextContent();o.setTextConfig({position:null,rotation:null}),w.attr({z2:10});var x=e.get(["label","position"]);if(x!=="outside"&&x!=="outer")o.removeTextGuideLine();else{var Q=this.getTextGuideLine();Q||(Q=new pc,this.setTextGuideLine(Q)),o4(this,ev(s),{stroke:v,opacity:ec(l.get(["lineStyle","opacity"]),C,1)})}},t}(Hu),JG=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return t.prototype.render=function(e,n,i,o){var s=e.getData(),l=this._data,f=this.group,v;if(!l&&s.count()>0){for(var C=s.getItemLayout(0),w=1;isNaN(C&&C.startAngle)&&w<s.count();++w)C=s.getItemLayout(w);C&&(v=C.startAngle)}if(this._emptyCircleSector&&f.remove(this._emptyCircleSector),s.count()===0&&e.get("showEmptyCircle")){var x=M4(e),Q=new Hu({shape:ar(AC(e,i),x)});Q.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=Q,f.add(Q)}s.diff(l).add(function(R){var L=new l3(s,R,v);s.setItemGraphicEl(R,L),f.add(L)}).update(function(R,L){var P=l.getItemGraphicEl(L);P.updateData(s,R,v),P.off("click"),f.add(P),s.setItemGraphicEl(R,P)}).remove(function(R){var L=l.getItemGraphicEl(R);kp(L,e,R)}).execute(),c3(e),e.get("animationTypeUpdate")!=="expansion"&&(this._data=s)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,n){var i=n.getData(),o=i.getItemLayout(0);if(o){var s=e[0]-o.cx,l=e[1]-o.cy,f=Math.sqrt(s*s+l*l);return f<=o.r&&f>=o.r0}},t.type="pie",t}(d);function h3(r,t,e){t=yr(t)&&{coordDimensions:t}||ar({encodeDefine:r.getEncode()},t);var n=r.getSource(),i=jb(n,t).dimensions,o=new sl(i,r);return o.initData(n,e),o}var F4=function(){function r(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return r.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},r.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},r.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},r.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},r}(),WG=Vi(),qG=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new F4(an(this.getData,this),an(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return h3(this,{coordDimensions:["value"],encodeDefaulter:ni(ab,this)})},t.prototype.getDataParams=function(e){var n=this.getData(),i=WG(n),o=i.seats;if(!o){var s=[];n.each(n.mapDimension("value"),function(f){s.push(f)}),o=i.seats=Zc(s,n.hostModel.get("percentPrecision"))}var l=r.prototype.getDataParams.call(this,e);return l.percent=o[e]||0,l.$vars.push("percent"),l},t.prototype._defaultLabelLine=function(e){xd(e,"labelLine",["show"]);var n=e.labelLine,i=e.emphasis.labelLine;n.show=n.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(no);function zG(r){return{seriesType:r,reset:function(t,e){var n=t.getData();n.filterSelf(function(i){var o=n.mapDimension("value"),s=n.get(o,i);return!($i(s)&&!isNaN(s)&&s<0)})}}}function KG(r){r.registerChartView(JG),r.registerSeriesModel(qG),pt("pie",r.registerAction),r.registerLayout(ni(cv,"pie")),r.registerProcessor(Um("pie")),r.registerProcessor(zG("pie"))}var VG=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e,n){return WA(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return e??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(e,n,i){return i.point(n.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(no),PD=4,ZG=function(){function r(){}return r}(),XG=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.getDefaultShape=function(){return new ZG},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,n){var i=n.points,o=n.size,s=this.symbolProxy,l=s.shape,f=e.getContext?e.getContext():e,v=f&&o[0]<PD,C=this.softClipShape,w;if(v){this._ctx=f;return}for(this._ctx=null,w=this._off;w<i.length;){var x=i[w++],Q=i[w++];isNaN(x)||isNaN(Q)||C&&!C.contain(x,Q)||(l.x=x-o[0]/2,l.y=Q-o[1]/2,l.width=o[0],l.height=o[1],s.buildPath(e,l,!0))}this.incremental&&(this._off=w,this.notClear=!0)},t.prototype.afterBrush=function(){var e=this.shape,n=e.points,i=e.size,o=this._ctx,s=this.softClipShape,l;if(o){for(l=this._off;l<n.length;){var f=n[l++],v=n[l++];isNaN(f)||isNaN(v)||s&&!s.contain(f,v)||o.fillRect(f-i[0]/2,v-i[1]/2,i[0],i[1])}this.incremental&&(this._off=l,this.notClear=!0)}},t.prototype.findDataIndex=function(e,n){for(var i=this.shape,o=i.points,s=i.size,l=Math.max(s[0],4),f=Math.max(s[1],4),v=o.length/2-1;v>=0;v--){var C=v*2,w=o[C]-l/2,x=o[C+1]-f/2;if(e>=w&&n>=x&&e<=w+l&&n<=x+f)return v}return-1},t.prototype.contain=function(e,n){var i=this.transformCoordToLocal(e,n),o=this.getBoundingRect();if(e=i[0],n=i[1],o.contain(e,n)){var s=this.hoverDataIdx=this.findDataIndex(e,n);return s>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var n=this.shape,i=n.points,o=n.size,s=o[0],l=o[1],f=1/0,v=1/0,C=-1/0,w=-1/0,x=0;x<i.length;){var Q=i[x++],R=i[x++];f=Math.min(Q,f),C=Math.max(Q,C),v=Math.min(R,v),w=Math.max(R,w)}e=this._rect=new gi(f-s/2,v-l/2,C-f+s,w-v+l)}return e},t}(Si),$G=function(){function r(){this.group=new Nn}return r.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},r.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild(function(n){if(n.startIndex!=null){var i=(n.endIndex-n.startIndex)*2,o=n.startIndex*4*2;e=new Float32Array(e.buffer,o,i)}n.setShape("points",e),n.reset()})},r.prototype.incrementalPrepareUpdate=function(t){this._clear()},r.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],o=e.getLayout("points"),s=i&&i.shape.points;if(s&&s.length<2e4){var l=s.length,f=new Float32Array(l+o.length);f.set(s),f.set(o,l),i.endIndex=t.end,i.setShape({points:f})}else{this._newAdded=[];var v=this._create();v.startIndex=t.start,v.endIndex=t.end,v.incremental=!0,v.setShape({points:o}),this._setCommon(v,e,n)}},r.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},r.prototype._create=function(){var t=new XG({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},r.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var o=e.getVisual("symbolSize");t.setShape("size",o instanceof Array?o:[o,o]),t.softClipShape=n.clipShape||null,t.symbolProxy=yt(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var s=t.shape.size[0]<PD;t.useStyle(i.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var l=e.getVisual("style"),f=l&&l.fill;f&&t.setColor(f);var v=Un(t);v.seriesIndex=i.seriesIndex,t.on("mousemove",function(C){v.dataIndex=null;var w=t.hoverDataIdx;w>=0&&(v.dataIndex=w+(t.startIndex||0))})},r.prototype.remove=function(){this._clear()},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}(),eU=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var o=e.getData(),s=this._updateSymbolDraw(o,e);s.updateData(o,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,n,i){var o=e.getData(),s=this._updateSymbolDraw(o,e);s.incrementalPrepareUpdate(o),this._finished=!1},t.prototype.incrementalRender=function(e,n,i){this._symbolDraw.incrementalUpdate(e,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=e.end===n.getData().count()},t.prototype.updateTransform=function(e,n,i){var o=e.getData();if(this.group.dirty(),!this._finished||o.count()>1e4)return{update:!0};var s=ov("").reset(e,n,i);s.progress&&s.progress({start:0,end:o.count(),count:o.count()},o),this._symbolDraw.updateLayout(o)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var n=e.coordinateSystem;return n&&n.getArea&&n.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,n){var i=this._symbolDraw,o=n.pipelineContext,s=o.large;return(!i||s!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=s?new $G:new Gm,this._isLargeDraw=s,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(e,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(d),tU=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(Oi),D8=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",fs).models[0]},t.type="cartesian2dAxis",t}(Oi);Ea(D8,Z1);var GD={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},rU=Kn({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},GD),R8=Kn({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},GD),nU=Kn({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},R8),iU=pn({logBase:10},R8);const UD={category:rU,value:R8,time:nU,log:iU};var aU={value:1,category:1,time:1,log:1};function f3(r,t,e,n){Ne(aU,function(i,o){var s=Kn(Kn({},UD[o],!0),n,!0),l=function(f){kt(v,f);function v(){var C=f!==null&&f.apply(this,arguments)||this;return C.type=t+"Axis."+o,C}return v.prototype.mergeDefaultAndTheme=function(C,w){var x=PA(this),Q=x?rl(C):{},R=w.getTheme();Kn(C,R.get(o+"Axis")),Kn(C,this.getDefaultOption()),C.type=jD(C),x&&Ds(C,Q,x)},v.prototype.optionUpdated=function(){var C=this.option;C.type==="category"&&(this.__ordinalMeta=K1.createByAxisModel(this))},v.prototype.getCategories=function(C){var w=this.option;if(w.type==="category")return C?w.data:this.__ordinalMeta.categories},v.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},v.type=t+"Axis."+o,v.defaultOption=s,v}(e);r.registerComponentModel(l)}),r.registerSubTypeDefaulter(t+"Axis",jD)}function jD(r){return r.type||(r.data?"category":"value")}var oU=function(){function r(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return r.prototype.getAxis=function(t){return this._axes[t]},r.prototype.getAxes=function(){return pr(this._dimList,function(t){return this._axes[t]},this)},r.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Ii(this.getAxes(),function(e){return e.scale.type===t})},r.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},r}(),M8=["x","y"];function HD(r){return r.type==="interval"||r.type==="time"}var sU=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=M8,e}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,n=this.getAxis("y").scale;if(!(!HD(e)||!HD(n))){var i=e.getExtent(),o=n.getExtent(),s=this.dataToPoint([i[0],o[0]]),l=this.dataToPoint([i[1],o[1]]),f=i[1]-i[0],v=o[1]-o[0];if(!(!f||!v)){var C=(l[0]-s[0])/f,w=(l[1]-s[1])/v,x=s[0]-i[0]*C,Q=s[1]-o[0]*w,R=this._transform=[C,0,0,w,x,Q];this._invTransform=yd([],R)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var n=this.getAxis("x"),i=this.getAxis("y");return n.contain(n.toLocalCoord(e[0]))&&i.contain(i.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,n){var i=this.dataToPoint(e),o=this.dataToPoint(n),s=this.getArea(),l=new gi(i[0],i[1],o[0]-i[0],o[1]-i[1]);return s.intersect(l)},t.prototype.dataToPoint=function(e,n,i){i=i||[];var o=e[0],s=e[1];if(this._transform&&o!=null&&isFinite(o)&&s!=null&&isFinite(s))return js(i,e,this._transform);var l=this.getAxis("x"),f=this.getAxis("y");return i[0]=l.toGlobalCoord(l.dataToCoord(o,n)),i[1]=f.toGlobalCoord(f.dataToCoord(s,n)),i},t.prototype.clampData=function(e,n){var i=this.getAxis("x").scale,o=this.getAxis("y").scale,s=i.getExtent(),l=o.getExtent(),f=i.parse(e[0]),v=o.parse(e[1]);return n=n||[],n[0]=Math.min(Math.max(Math.min(s[0],s[1]),f),Math.max(s[0],s[1])),n[1]=Math.min(Math.max(Math.min(l[0],l[1]),v),Math.max(l[0],l[1])),n},t.prototype.pointToData=function(e,n){var i=[];if(this._invTransform)return js(i,e,this._invTransform);var o=this.getAxis("x"),s=this.getAxis("y");return i[0]=o.coordToData(o.toLocalCoord(e[0]),n),i[1]=s.coordToData(s.toLocalCoord(e[1]),n),i},t.prototype.getOtherAxis=function(e){return this.getAxis(e.dim==="x"?"y":"x")},t.prototype.getArea=function(e){e=e||0;var n=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),o=Math.min(n[0],n[1])-e,s=Math.min(i[0],i[1])-e,l=Math.max(n[0],n[1])-o+e,f=Math.max(i[0],i[1])-s+e;return new gi(o,s,l,f)},t}(oU),uU=function(r){kt(t,r);function t(e,n,i,o,s){var l=r.call(this,e,n,i)||this;return l.index=0,l.type=o||"value",l.position=s||"bottom",l}return t.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},t.prototype.getGlobalExtent=function(e){var n=this.getExtent();return n[0]=this.toGlobalCoord(n[0]),n[1]=this.toGlobalCoord(n[1]),e&&n[0]>n[1]&&n.reverse(),n},t.prototype.pointToData=function(e,n){return this.coordToData(this.toLocalCoord(e[this.dim==="x"?0:1]),n)},t.prototype.setCategorySortInfo=function(e){if(this.type!=="category")return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(_u);function F8(r,t,e){e=e||{};var n=r.coordinateSystem,i=t.axis,o={},s=i.getAxesOnZeroOf()[0],l=i.position,f=s?"onZero":l,v=i.dim,C=n.getRect(),w=[C.x,C.x+C.width,C.y,C.y+C.height],x={left:0,right:1,top:0,bottom:1,onZero:2},Q=t.get("offset")||0,R=v==="x"?[w[2]-Q,w[3]+Q]:[w[0]-Q,w[1]+Q];if(s){var L=s.toGlobalCoord(s.dataToCoord(0));R[x.onZero]=Math.max(Math.min(L,R[1]),R[0])}o.position=[v==="y"?R[x[f]]:w[0],v==="x"?R[x[f]]:w[3]],o.rotation=Math.PI/2*(v==="x"?0:1);var P={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=P[l],o.labelOffset=s?R[x[l]]-R[x.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),Bs(e.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var M=t.get(["axisLabel","rotate"]);return o.labelRotate=f==="top"?-M:M,o.z2=1,o}function YD(r){return r.get("coordinateSystem")==="cartesian2d"}function JD(r){var t={xAxisModel:null,yAxisModel:null};return Ne(t,function(e,n){var i=n.replace(/Model$/,""),o=r.getReferringComponents(i,fs).models[0];t[n]=o}),t}var T8=Math.log;function WD(r,t,e){var n=Cg.prototype,i=n.getTicks.call(e),o=n.getTicks.call(e,!0),s=i.length-1,l=n.getInterval.call(e),f=t6(r,t),v=f.extent,C=f.fixMin,w=f.fixMax;if(r.type==="log"){var x=T8(r.base);v=[T8(v[0])/x,T8(v[1])/x]}r.setExtent(v[0],v[1]),r.calcNiceExtent({splitNumber:s,fixMin:C,fixMax:w});var Q=n.getExtent.call(r);C&&(v[0]=Q[0]),w&&(v[1]=Q[1]);var R=n.getInterval.call(r),L=v[0],P=v[1];if(C&&w)R=(P-L)/s;else if(C)for(P=v[0]+R*s;P<v[1]&&isFinite(P)&&isFinite(v[1]);)R=Tf(R),P=v[0]+R*s;else if(w)for(L=v[1]-R*s;L>v[0]&&isFinite(L)&&isFinite(v[0]);)R=Tf(R),L=v[1]-R*s;else{var M=r.getTicks().length-1;M>s&&(R=Tf(R));var k=R*s;P=Math.ceil(v[1]/R)*R,L=Ra(P-k),L<0&&v[0]>=0?(L=0,P=Ra(k)):P>0&&v[1]<=0&&(P=0,L=-Ra(k))}var G=(i[0].value-o[0].value)/l,Y=(i[s].value-o[s].value)/l;n.setExtent.call(r,L+R*G,P+R*Y),n.setInterval.call(r,R),(G||Y)&&n.setNiceExtent.call(r,L+R,P-R)}var cU=function(){function r(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=M8,this._initCartesian(t,e,n),this.model=t}return r.prototype.getRect=function(){return this._rect},r.prototype.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model);function i(s){var l,f=fi(s),v=f.length;if(v){for(var C=[],w=v-1;w>=0;w--){var x=+f[w],Q=s[x],R=Q.model,L=Q.scale;Mk(L)&&R.get("alignTicks")&&R.get("interval")==null?C.push(Q):(l0(L,R),Mk(L)&&(l=Q))}C.length&&(l||(l=C.pop(),l0(l.scale,l.model)),Ne(C,function(P){WD(P.scale,P.model,l.scale)}))}}i(n.x),i(n.y);var o={};Ne(n.x,function(s){qD(n,"y",s,o)}),Ne(n.y,function(s){qD(n,"x",s,o)}),this.resize(this.model,e)},r.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),o=!n&&t.get("containLabel"),s=Mo(i,{width:e.getWidth(),height:e.getHeight()});this._rect=s;var l=this._axesList;f(),o&&(Ne(l,function(v){if(!v.model.get(["axisLabel","inside"])){var C=Hk(v);if(C){var w=v.isHorizontal()?"height":"width",x=v.model.get(["axisLabel","margin"]);s[w]-=C[w]+x,v.position==="top"?s.y+=C.height+x:v.position==="left"&&(s.x+=C.width+x)}}}),f()),Ne(this._coordsList,function(v){v.calcAffineTransform()});function f(){Ne(l,function(v){var C=v.isHorizontal(),w=C?[0,s.width]:[0,s.height],x=v.inverse?1:0;v.setExtent(w[x],w[1-x]),lU(v,C?s.x:s.y)})}},r.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(n!=null)return n[e||0]},r.prototype.getAxes=function(){return this._axesList.slice()},r.prototype.getCartesian=function(t,e){if(t!=null&&e!=null){var n="x"+t+"y"+e;return this._coordsMap[n]}Ln(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,o=this._coordsList;i<o.length;i++)if(o[i].getAxis("x").index===t||o[i].getAxis("y").index===e)return o[i]},r.prototype.getCartesians=function(){return this._coordsList.slice()},r.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},r.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},r.prototype._findConvertTarget=function(t){var e=t.seriesModel,n=t.xAxisModel||e&&e.getReferringComponents("xAxis",fs).models[0],i=t.yAxisModel||e&&e.getReferringComponents("yAxis",fs).models[0],o=t.gridModel,s=this._coordsList,l,f;if(e)l=e.coordinateSystem,Vn(s,l)<0&&(l=null);else if(n&&i)l=this.getCartesian(n.componentIndex,i.componentIndex);else if(n)f=this.getAxis("x",n.componentIndex);else if(i)f=this.getAxis("y",i.componentIndex);else if(o){var v=o.coordinateSystem;v===this&&(l=this._coordsList[0])}return{cartesian:l,axis:f}},r.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},r.prototype._initCartesian=function(t,e,n){var i=this,o=this,s={left:!1,right:!1,top:!1,bottom:!1},l={x:{},y:{}},f={x:0,y:0};if(e.eachComponent("xAxis",v("x"),this),e.eachComponent("yAxis",v("y"),this),!f.x||!f.y){this._axesMap={},this._axesList=[];return}this._axesMap=l,Ne(l.x,function(C,w){Ne(l.y,function(x,Q){var R="x"+w+"y"+Q,L=new sU(R);L.master=i,L.model=t,i._coordsMap[R]=L,i._coordsList.push(L),L.addAxis(C),L.addAxis(x)})});function v(C){return function(w,x){if(L8(w,t)){var Q=w.get("position");C==="x"?Q!=="top"&&Q!=="bottom"&&(Q=s.bottom?"top":"bottom"):Q!=="left"&&Q!=="right"&&(Q=s.left?"right":"left"),s[Q]=!0;var R=new uU(C,$b(w),[0,0],w.get("type"),Q),L=R.type==="category";R.onBand=L&&w.get("boundaryGap"),R.inverse=w.get("inverse"),w.axis=R,R.model=w,R.grid=o,R.index=x,o._axesList.push(R),l[C][x]=R,f[C]++}}}},r.prototype._updateScale=function(t,e){Ne(this._axesList,function(i){if(i.scale.setExtent(1/0,-1/0),i.type==="category"){var o=i.model.get("categorySortInfo");i.scale.setSortInfo(o)}}),t.eachSeries(function(i){if(YD(i)){var o=JD(i),s=o.xAxisModel,l=o.yAxisModel;if(!L8(s,e)||!L8(l,e))return;var f=this.getCartesian(s.componentIndex,l.componentIndex),v=i.getData(),C=f.getAxis("x"),w=f.getAxis("y");n(v,C),n(v,w)}},this);function n(i,o){Ne(Dm(i,o.dim),function(s){o.scale.unionExtentFromData(i,s)})}},r.prototype.getTooltipAxes=function(t){var e=[],n=[];return Ne(this.getCartesians(),function(i){var o=t!=null&&t!=="auto"?i.getAxis(t):i.getBaseAxis(),s=i.getOtherAxis(o);Vn(e,o)<0&&e.push(o),Vn(n,s)<0&&n.push(s)}),{baseAxes:e,otherAxes:n}},r.create=function(t,e){var n=[];return t.eachComponent("grid",function(i,o){var s=new r(i,t,e);s.name="grid_"+o,s.resize(i,e,!0),i.coordinateSystem=s,n.push(s)}),t.eachSeries(function(i){if(YD(i)){var o=JD(i),s=o.xAxisModel,l=o.yAxisModel,f=s.getCoordSysModel(),v=f.coordinateSystem;i.coordinateSystem=v.getCartesian(s.componentIndex,l.componentIndex)}}),n},r.dimensions=M8,r}();function L8(r,t){return r.getCoordSysModel()===t}function qD(r,t,e,n){e.getAxesOnZeroOf=function(){return o?[o]:[]};var i=r[t],o,s=e.model,l=s.get(["axisLine","onZero"]),f=s.get(["axisLine","onZeroAxisIndex"]);if(!l)return;if(f!=null)zD(i[f])&&(o=i[f]);else for(var v in i)if(i.hasOwnProperty(v)&&zD(i[v])&&!n[C(i[v])]){o=i[v];break}o&&(n[C(o)]=!0);function C(w){return w.dim+"_"+w.index}}function zD(r){return r&&r.type!=="category"&&r.type!=="time"&&r6(r)}function lU(r,t){var e=r.getExtent(),n=e[0]+e[1];r.toGlobalCoord=r.dim==="x"?function(i){return i+t}:function(i){return n-i+t},r.toLocalCoord=r.dim==="x"?function(i){return i-t}:function(i){return n-i+t}}var jm=Math.PI,mh=function(){function r(t,e){this.group=new Nn,this.opt=e,this.axisModel=t,pn(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Nn({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return r.prototype.hasBuilder=function(t){return!!KD[t]},r.prototype.add=function(t){KD[t](this.opt,this.axisModel,this.group,this._transformGroup)},r.prototype.getGroup=function(){return this.group},r.innerTextLayout=function(t,e,n){var i=gy(e-t),o,s;return Jo(i)?(s=n>0?"top":"bottom",o="center"):Jo(i-jm)?(s=n>0?"bottom":"top",o="center"):(s="middle",i>0&&i<jm?o=n>0?"right":"left":o=n>0?"left":"right"),{rotation:i,textAlign:o,textVerticalAlign:s}},r.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},r.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},r}(),KD={axisLine:function(r,t,e,n){var i=t.get(["axisLine","show"]);if(i==="auto"&&r.handleAutoShown&&(i=r.handleAutoShown("axisLine")),!!i){var o=t.axis.getExtent(),s=n.transform,l=[o[0],0],f=[o[1],0],v=l[0]>f[0];s&&(js(l,l,s),js(f,f,s));var C=ar({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),w=new Vs({shape:{x1:l[0],y1:l[1],x2:f[0],y2:f[1]},style:C,strokeContainThreshold:r.strokeContainThreshold||5,silent:!0,z2:1});Qp(w.shape,w.style.lineWidth),w.anid="line",e.add(w);var x=t.get(["axisLine","symbol"]);if(x!=null){var Q=t.get(["axisLine","symbolSize"]);en(x)&&(x=[x,x]),(en(Q)||$i(Q))&&(Q=[Q,Q]);var R=cr(t.get(["axisLine","symbolOffset"])||0,Q),L=Q[0],P=Q[1];Ne([{rotate:r.rotation+Math.PI/2,offset:R[0],r:0},{rotate:r.rotation-Math.PI/2,offset:R[1],r:Math.sqrt((l[0]-f[0])*(l[0]-f[0])+(l[1]-f[1])*(l[1]-f[1]))}],function(M,k){if(x[k]!=="none"&&x[k]!=null){var G=yt(x[k],-L/2,-P/2,L,P,C.stroke,!0),Y=M.r+M.offset,re=v?f:l;G.attr({rotation:M.rotate,x:re[0]+Y*Math.cos(r.rotation),y:re[1]-Y*Math.sin(r.rotation),silent:!0,z2:11}),e.add(G)}})}}},axisTickLabel:function(r,t,e,n){var i=AU(e,n,t,r),o=gU(e,n,t,r);if(fU(t,o,i),dU(e,n,t,r.tickDirection),t.get(["axisLabel","hideOverlap"])){var s=s4(pr(o,function(l){return{label:l,priority:l.z2,defaultAttr:{ignore:l.ignore}}}));PB(s)}},axisName:function(r,t,e,n){var i=Bs(r.axisName,t.get("name"));if(i){var o=t.get("nameLocation"),s=r.nameDirection,l=t.getModel("nameTextStyle"),f=t.get("nameGap")||0,v=t.axis.getExtent(),C=v[0]>v[1]?-1:1,w=[o==="start"?v[0]-C*f:o==="end"?v[1]+C*f:(v[0]+v[1])/2,ZD(o)?r.labelOffset+s*f:0],x,Q=t.get("nameRotate");Q!=null&&(Q=Q*jm/180);var R;ZD(o)?x=mh.innerTextLayout(r.rotation,Q??r.rotation,s):(x=hU(r.rotation,o,Q||0,v),R=r.axisNameAvailableWidth,R!=null&&(R=Math.abs(R/Math.sin(x.rotation)),!isFinite(R)&&(R=null)));var L=l.getFont(),P=t.get("nameTruncate",!0)||{},M=P.ellipsis,k=Bs(r.nameTruncateMaxWidth,P.maxWidth,R),G=new Mn({x:w[0],y:w[1],rotation:x.rotation,silent:mh.isLabelSilent(t),style:La(l,{text:i,font:L,overflow:"truncate",width:k,ellipsis:M,fill:l.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:l.get("align")||x.textAlign,verticalAlign:l.get("verticalAlign")||x.textVerticalAlign}),z2:1});if(Ml({el:G,componentModel:t,itemName:i}),G.__fullText=i,G.anid="name",t.get("triggerEvent")){var Y=mh.makeAxisEventDataBase(t);Y.targetType="axisName",Y.name=i,Un(G).eventData=Y}n.add(G),G.updateTransform(),e.add(G),G.decomposeTransform()}}};function hU(r,t,e,n){var i=gy(e-r),o,s,l=n[0]>n[1],f=t==="start"&&!l||t!=="start"&&l;return Jo(i-jm/2)?(s=f?"bottom":"top",o="center"):Jo(i-jm*1.5)?(s=f?"top":"bottom",o="center"):(s="middle",i<jm*1.5&&i>jm/2?o=f?"left":"right":o=f?"right":"left"),{rotation:i,textAlign:o,textVerticalAlign:s}}function fU(r,t,e){if(!Yk(r.axis)){var n=r.get(["axisLabel","showMinLabel"]),i=r.get(["axisLabel","showMaxLabel"]);t=t||[],e=e||[];var o=t[0],s=t[1],l=t[t.length-1],f=t[t.length-2],v=e[0],C=e[1],w=e[e.length-1],x=e[e.length-2];n===!1?(rd(o),rd(v)):VD(o,s)&&(n?(rd(s),rd(C)):(rd(o),rd(v))),i===!1?(rd(l),rd(w)):VD(f,l)&&(i?(rd(f),rd(x)):(rd(l),rd(w)))}}function rd(r){r&&(r.ignore=!0)}function VD(r,t){var e=r&&r.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(!(!e||!n)){var i=M0([]);return nf(i,i,-r.rotation),e.applyTransform(ic([],i,r.getLocalTransform())),n.applyTransform(ic([],i,t.getLocalTransform())),e.intersect(n)}}function ZD(r){return r==="middle"||r==="center"}function XD(r,t,e,n,i){for(var o=[],s=[],l=[],f=0;f<r.length;f++){var v=r[f].coord;s[0]=v,s[1]=0,l[0]=v,l[1]=e,t&&(js(s,s,t),js(l,l,t));var C=new Vs({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:n,z2:2,autoBatch:!0,silent:!0});Qp(C.shape,C.style.lineWidth),C.anid=i+"_"+r[f].tickValue,o.push(C)}return o}function AU(r,t,e,n){var i=e.axis,o=e.getModel("axisTick"),s=o.get("show");if(s==="auto"&&n.handleAutoShown&&(s=n.handleAutoShown("axisTick")),!(!s||i.scale.isBlank())){for(var l=o.getModel("lineStyle"),f=n.tickDirection*o.get("length"),v=i.getTicksCoords(),C=XD(v,t.transform,f,pn(l.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}),"ticks"),w=0;w<C.length;w++)r.add(C[w]);return C}}function dU(r,t,e,n){var i=e.axis,o=e.getModel("minorTick");if(!(!o.get("show")||i.scale.isBlank())){var s=i.getMinorTicksCoords();if(s.length)for(var l=o.getModel("lineStyle"),f=n*o.get("length"),v=pn(l.getLineStyle(),pn(e.getModel("axisTick").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})),C=0;C<s.length;C++)for(var w=XD(s[C],t.transform,f,v,"minorticks_"+C),x=0;x<w.length;x++)r.add(w[x])}}function gU(r,t,e,n){var i=e.axis,o=Bs(n.axisLabelShow,e.get(["axisLabel","show"]));if(!(!o||i.scale.isBlank())){var s=e.getModel("axisLabel"),l=s.get("margin"),f=i.getViewLabels(),v=(Bs(n.labelRotate,s.get("rotate"))||0)*jm/180,C=mh.innerTextLayout(n.rotation,v,n.labelDirection),w=e.getCategories&&e.getCategories(!0),x=[],Q=mh.isLabelSilent(e),R=e.get("triggerEvent");return Ne(f,function(L,P){var M=i.scale.type==="ordinal"?i.scale.getRawOrdinalNumber(L.tickValue):L.tickValue,k=L.formattedLabel,G=L.rawLabel,Y=s;if(w&&w[M]){var re=w[M];Ln(re)&&re.textStyle&&(Y=new Ia(re.textStyle,s,e.ecModel))}var ie=Y.getTextColor()||e.get(["axisLine","lineStyle","color"]),le=i.dataToCoord(M),pe=Y.getShallow("align",!0)||C.textAlign,ve=$n(Y.getShallow("alignMinLabel",!0),pe),Ee=$n(Y.getShallow("alignMaxLabel",!0),pe),Se=Y.getShallow("verticalAlign",!0)||Y.getShallow("baseline",!0)||C.textVerticalAlign,ke=$n(Y.getShallow("verticalAlignMinLabel",!0),Se),Le=$n(Y.getShallow("verticalAlignMaxLabel",!0),Se),be=new Mn({x:le,y:n.labelOffset+n.labelDirection*l,rotation:C.rotation,silent:Q,z2:10+(L.level||0),style:La(Y,{text:k,align:P===0?ve:P===f.length-1?Ee:pe,verticalAlign:P===0?ke:P===f.length-1?Le:Se,fill:bn(ie)?ie(i.type==="category"?G:i.type==="value"?M+"":M,P):ie})});if(be.anid="label_"+M,Ml({el:be,componentModel:e,itemName:k,formatterParamsExtra:{isTruncated:function(){return be.isTruncated},value:G,tickIndex:P}}),R){var ze=mh.makeAxisEventDataBase(e);ze.targetType="axisLabel",ze.value=G,ze.tickIndex=P,i.type==="category"&&(ze.dataIndex=M),Un(be).eventData=ze}t.add(be),be.updateTransform(),x.push(be),r.add(be),be.decomposeTransform()}),x}}function pU(r,t){var e={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return vU(e,r,t),e.seriesInvolved&&mU(e,r),e}function vU(r,t,e){var n=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),o=i.get("link",!0)||[],s=[];Ne(e.getCoordinateSystems(),function(l){if(!l.axisPointerEnabled)return;var f=T4(l.model),v=r.coordSysAxesInfo[f]={};r.coordSysMap[f]=l;var C=l.model,w=C.getModel("tooltip",n);if(Ne(l.getAxes(),ni(L,!1,null)),l.getTooltipAxes&&n&&w.get("show")){var x=w.get("trigger")==="axis",Q=w.get(["axisPointer","type"])==="cross",R=l.getTooltipAxes(w.get(["axisPointer","axis"]));(x||Q)&&Ne(R.baseAxes,ni(L,Q?"cross":!0,x)),Q&&Ne(R.otherAxes,ni(L,"cross",!1))}function L(P,M,k){var G=k.model.getModel("axisPointer",i),Y=G.get("show");if(!(!Y||Y==="auto"&&!P&&!P8(G))){M==null&&(M=G.get("triggerTooltip")),G=P?yU(k,w,i,t,P,M):G;var re=G.get("snap"),ie=G.get("triggerEmphasis"),le=T4(k.model),pe=M||re||k.type==="category",ve=r.axesInfo[le]={key:le,axis:k,coordSys:l,axisPointerModel:G,triggerTooltip:M,triggerEmphasis:ie,involveSeries:pe,snap:re,useHandle:P8(G),seriesModels:[],linkGroup:null};v[le]=ve,r.seriesInvolved=r.seriesInvolved||pe;var Ee=IU(o,k);if(Ee!=null){var Se=s[Ee]||(s[Ee]={axesInfo:{}});Se.axesInfo[le]=ve,Se.mapper=o[Ee].mapper,ve.linkGroup=Se}}}})}function yU(r,t,e,n,i,o){var s=t.getModel("axisPointer"),l=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],f={};Ne(l,function(x){f[x]=Bn(s.get(x))}),f.snap=r.type!=="category"&&!!o,s.get("type")==="cross"&&(f.type="line");var v=f.label||(f.label={});if(v.show==null&&(v.show=!1),i==="cross"){var C=s.get(["label","show"]);if(v.show=C??!0,!o){var w=f.lineStyle=s.get("crossStyle");w&&pn(v,w.textStyle)}}return r.model.getModel("axisPointer",new Ia(f,e,n))}function mU(r,t){t.eachSeries(function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),o=e.get(["tooltip","show"],!0);!n||i==="none"||i===!1||i==="item"||o===!1||e.get(["axisPointer","show"],!0)===!1||Ne(r.coordSysAxesInfo[T4(n.model)],function(s){var l=s.axis;n.getAxis(l.dim)===l&&(s.seriesModels.push(e),s.seriesDataCount==null&&(s.seriesDataCount=0),s.seriesDataCount+=e.getData().count())})})}function IU(r,t){for(var e=t.model,n=t.dim,i=0;i<r.length;i++){var o=r[i]||{};if(N8(o[n+"AxisId"],e.id)||N8(o[n+"AxisIndex"],e.componentIndex)||N8(o[n+"AxisName"],e.name))return i}}function N8(r,t){return r==="all"||yr(r)&&Vn(r,t)>=0||r===t}function bU(r){var t=O8(r);if(t){var e=t.axisPointerModel,n=t.axis.scale,i=e.option,o=e.get("status"),s=e.get("value");s!=null&&(s=n.parse(s));var l=P8(e);o==null&&(i.status=l?"show":"hide");var f=n.getExtent().slice();f[0]>f[1]&&f.reverse(),(s==null||s>f[1])&&(s=f[1]),s<f[0]&&(s=f[0]),i.value=s,l&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function O8(r){var t=(r.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[T4(r)]}function CU(r){var t=O8(r);return t&&t.axisPointerModel}function P8(r){return!!r.get(["handle","show"])}function T4(r){return r.type+"||"+r.id}var $D={},gC=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i,o){this.axisPointerClass&&bU(e),r.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},t.prototype.updateAxisPointer=function(e,n,i,o){this._doUpdateAxisPointerClass(e,i,!1)},t.prototype.remove=function(e,n){var i=this._axisPointer;i&&i.remove(n)},t.prototype.dispose=function(e,n){this._disposeAxisPointer(n),r.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,n,i){var o=t.getAxisPointerClass(this.axisPointerClass);if(o){var s=CU(e);s?(this._axisPointer||(this._axisPointer=new o)).render(e,s,n,i):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,n){$D[e]=n},t.getAxisPointerClass=function(e){return e&&$D[e]},t.type="axis",t}(a),G8=Vi();function eR(r,t,e,n){var i=e.axis;if(!i.scale.isBlank()){var o=e.getModel("splitArea"),s=o.getModel("areaStyle"),l=s.get("color"),f=n.coordinateSystem.getRect(),v=i.getTicksCoords({tickModel:o,clamp:!0});if(v.length){var C=l.length,w=G8(r).splitAreaColors,x=mn(),Q=0;if(w)for(var R=0;R<v.length;R++){var L=w.get(v[R].tickValue);if(L!=null){Q=(L+(C-1)*R)%C;break}}var P=i.toGlobalCoord(v[0].coord),M=s.getAreaStyle();l=yr(l)?l:[l];for(var R=1;R<v.length;R++){var k=i.toGlobalCoord(v[R].coord),G=void 0,Y=void 0,re=void 0,ie=void 0;i.isHorizontal()?(G=P,Y=f.y,re=k-G,ie=f.height,P=G+re):(G=f.x,Y=P,re=f.width,ie=k-Y,P=Y+ie);var le=v[R-1].tickValue;le!=null&&x.set(le,Q),t.add(new ta({anid:le!=null?"area_"+le:null,shape:{x:G,y:Y,width:re,height:ie},style:pn({fill:l[Q]},M),autoBatch:!0,silent:!0})),Q=(Q+1)%C}G8(r).splitAreaColors=x}}}function tR(r){G8(r).splitAreaColors=null}var wU=["axisLine","axisTickLabel","axisName"],EU=["splitArea","splitLine","minorSplitLine"],rR=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="CartesianAxisPointer",e}return t.prototype.render=function(e,n,i,o){this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new Nn,this.group.add(this._axisGroup),!!e.get("show")){var l=e.getCoordSysModel(),f=F8(l,e),v=new mh(e,ar({handleAutoShown:function(w){for(var x=l.coordinateSystem.getCartesians(),Q=0;Q<x.length;Q++)if(Mk(x[Q].getOtherAxis(e.axis).scale))return!0;return!1}},f));Ne(wU,v.add,v),this._axisGroup.add(v.getGroup()),Ne(EU,function(w){e.get([w,"show"])&&BU[w](this,this._axisGroup,e,l)},this);var C=o&&o.type==="changeAxisOrder"&&o.isInitSort;C||w1(s,this._axisGroup,e),r.prototype.render.call(this,e,n,i,o)}},t.prototype.remove=function(){tR(this)},t.type="cartesianAxis",t}(gC),BU={splitLine:function(r,t,e,n){var i=e.axis;if(!i.scale.isBlank()){var o=e.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color"),f=o.get("showMinLine")!==!1,v=o.get("showMaxLine")!==!1;l=yr(l)?l:[l];for(var C=n.coordinateSystem.getRect(),w=i.isHorizontal(),x=0,Q=i.getTicksCoords({tickModel:o}),R=[],L=[],P=s.getLineStyle(),M=0;M<Q.length;M++){var k=i.toGlobalCoord(Q[M].coord);if(!(M===0&&!f||M===Q.length-1&&!v)){var G=Q[M].tickValue;w?(R[0]=k,R[1]=C.y,L[0]=k,L[1]=C.y+C.height):(R[0]=C.x,R[1]=k,L[0]=C.x+C.width,L[1]=k);var Y=x++%l.length,re=new Vs({anid:G!=null?"line_"+G:null,autoBatch:!0,shape:{x1:R[0],y1:R[1],x2:L[0],y2:L[1]},style:pn({stroke:l[Y]},P),silent:!0});Qp(re.shape,P.lineWidth),t.add(re)}}}},minorSplitLine:function(r,t,e,n){var i=e.axis,o=e.getModel("minorSplitLine"),s=o.getModel("lineStyle"),l=n.coordinateSystem.getRect(),f=i.isHorizontal(),v=i.getMinorTicksCoords();if(v.length)for(var C=[],w=[],x=s.getLineStyle(),Q=0;Q<v.length;Q++)for(var R=0;R<v[Q].length;R++){var L=i.toGlobalCoord(v[Q][R].coord);f?(C[0]=L,C[1]=l.y,w[0]=L,w[1]=l.y+l.height):(C[0]=l.x,C[1]=L,w[0]=l.x+l.width,w[1]=L);var P=new Vs({anid:"minor_line_"+v[Q][R].tickValue,autoBatch:!0,shape:{x1:C[0],y1:C[1],x2:w[0],y2:w[1]},style:x,silent:!0});Qp(P.shape,x.lineWidth),t.add(P)}},splitArea:function(r,t,e,n){eR(r,t,e,n)}},nR=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="xAxis",t}(rR),kU=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=nR.type,e}return t.type="yAxis",t}(rR),QU=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="grid",e}return t.prototype.render=function(e,n){this.group.removeAll(),e.get("show")&&this.group.add(new ta({shape:e.coordinateSystem.getRect(),style:pn({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(a),iR={offset:0};function aR(r){r.registerComponentView(QU),r.registerComponentModel(tU),r.registerCoordinateSystem("cartesian2d",cU),f3(r,"x",D8,iR),f3(r,"y",D8,iR),r.registerComponentView(nR),r.registerComponentView(kU),r.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function xU(r){Fi(aR),r.registerSeriesModel(VG),r.registerChartView(eU),r.registerLayout(ov("scatter"))}function SU(r){r.eachSeriesByType("radar",function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var o=i.getIndicatorAxes();Ne(o,function(s,l){e.each(e.mapDimension(o[l].dim),function(f,v){n[v]=n[v]||[];var C=i.dataToPoint(f,l);n[v][l]=oR(C)?C:sR(i)})}),e.each(function(s){var l=Vf(n[s],function(f){return oR(f)})||sR(i);n[s].push(l.slice()),e.setItemLayout(s,n[s])})}})}function oR(r){return!isNaN(r[0])&&!isNaN(r[1])}function sR(r){return[r.cx,r.cy]}function _U(r){var t=r.polar;if(t){yr(t)||(t=[t]);var e=[];Ne(t,function(n,i){n.indicator?(n.type&&!n.shape&&(n.shape=n.type),r.radar=r.radar||[],yr(r.radar)||(r.radar=[r.radar]),r.radar.push(n)):e.push(n)}),r.polar=e}Ne(r.series,function(n){n&&n.type==="radar"&&n.polarIndex&&(n.radarIndex=n.polarIndex)})}var DU=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var o=e.coordinateSystem,s=this.group,l=e.getData(),f=this._data;function v(x,Q){var R=x.getItemVisual(Q,"symbol")||"circle";if(R!=="none"){var L=Mt(x.getItemVisual(Q,"symbolSize")),P=yt(R,-1,-1,2,2),M=x.getItemVisual(Q,"symbolRotate")||0;return P.attr({style:{strokeNoScale:!0},z2:100,scaleX:L[0]/2,scaleY:L[1]/2,rotation:M*Math.PI/180||0}),P}}function C(x,Q,R,L,P,M){R.removeAll();for(var k=0;k<Q.length-1;k++){var G=v(L,P);G&&(G.__dimIdx=k,x[k]?(G.setPosition(x[k]),Tl[M?"initProps":"updateProps"](G,{x:Q[k][0],y:Q[k][1]},e,P)):G.setPosition(Q[k]),R.add(G))}}function w(x){return pr(x,function(Q){return[o.cx,o.cy]})}l.diff(f).add(function(x){var Q=l.getItemLayout(x);if(Q){var R=new Yu,L=new pc,P={shape:{points:Q}};R.shape.points=w(Q),L.shape.points=w(Q),Co(R,P,e,x),Co(L,P,e,x);var M=new Nn,k=new Nn;M.add(L),M.add(R),M.add(k),C(L.shape.points,Q,k,l,x,!0),l.setItemGraphicEl(x,M)}}).update(function(x,Q){var R=f.getItemGraphicEl(Q),L=R.childAt(0),P=R.childAt(1),M=R.childAt(2),k={shape:{points:l.getItemLayout(x)}};k.shape.points&&(C(L.shape.points,k.shape.points,M,l,x,!1),_l(P),_l(L),ga(L,k,e),ga(P,k,e),l.setItemGraphicEl(x,R))}).remove(function(x){s.remove(f.getItemGraphicEl(x))}).execute(),l.eachItemGraphicEl(function(x,Q){var R=l.getItemModel(Q),L=x.childAt(0),P=x.childAt(1),M=x.childAt(2),k=l.getItemVisual(Q,"style"),G=k.fill;s.add(x),L.useStyle(pn(R.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:G})),hu(L,R,"lineStyle"),hu(P,R,"areaStyle");var Y=R.getModel("areaStyle"),re=Y.isEmpty()&&Y.parentModel.isEmpty();P.ignore=re,Ne(["emphasis","select","blur"],function(pe){var ve=R.getModel([pe,"areaStyle"]),Ee=ve.isEmpty()&&ve.parentModel.isEmpty();P.ensureState(pe).ignore=Ee&&re}),P.useStyle(pn(Y.getAreaStyle(),{fill:G,opacity:.7,decal:k.decal}));var ie=R.getModel("emphasis"),le=ie.getModel("itemStyle").getItemStyle();M.eachChild(function(pe){if(pe instanceof Ws){var ve=pe.style;pe.useStyle(ar({image:ve.image,x:ve.x,y:ve.y,width:ve.width,height:ve.height},k))}else pe.useStyle(k),pe.setColor(G),pe.style.strokeNoScale=!0;var Ee=pe.ensureState("emphasis");Ee.style=Bn(le);var Se=l.getStore().get(l.getDimensionIndex(pe.__dimIdx),Q);(Se==null||isNaN(Se))&&(Se=""),Uo(pe,_s(R),{labelFetcher:l.hostModel,labelDataIndex:Q,labelDimIndex:pe.__dimIdx,defaultText:Se,inheritColor:G,defaultOpacity:k.opacity})}),uo(x,ie.get("focus"),ie.get("blurScope"),ie.get("disabled"))}),this._data=l},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(d),RU=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new F4(an(this.getData,this),an(this.getRawData,this))},t.prototype.getInitialData=function(e,n){return h3(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,n,i){var o=this.getData(),s=this.coordinateSystem,l=s.getIndicatorAxes(),f=this.getData().getName(e),v=f===""?this.name:f,C=IB(this,e);return Xs("section",{header:v,sortBlocks:!0,blocks:pr(l,function(w){var x=o.get(o.mapDimension(w.dim),e);return Xs("nameValue",{markerType:"subItem",markerColor:C,name:w.name,value:x,sortParam:x})})})},t.prototype.getTooltipPosition=function(e){if(e!=null){for(var n=this.getData(),i=this.coordinateSystem,o=n.getValues(pr(i.dimensions,function(v){return n.mapDimension(v)}),e),s=0,l=o.length;s<l;s++)if(!isNaN(o[s])){var f=i.getIndicatorAxes();return i.coordToPoint(f[s].dataToCoord(o[s]),s)}}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(no),L4=UD.value;function X6(r,t){return pn({show:t},r)}var MU=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),n=this.get("splitNumber"),i=this.get("scale"),o=this.get("axisLine"),s=this.get("axisTick"),l=this.get("axisLabel"),f=this.get("axisName"),v=this.get(["axisName","show"]),C=this.get(["axisName","formatter"]),w=this.get("axisNameGap"),x=this.get("triggerEvent"),Q=pr(this.get("indicator")||[],function(R){R.max!=null&&R.max>0&&!R.min?R.min=0:R.min!=null&&R.min<0&&!R.max&&(R.max=0);var L=f;R.color!=null&&(L=pn({color:R.color},f));var P=Kn(Bn(R),{boundaryGap:e,splitNumber:n,scale:i,axisLine:o,axisTick:s,axisLabel:l,name:R.text,showName:v,nameLocation:"end",nameGap:w,nameTextStyle:L,triggerEvent:x},!1);if(en(C)){var M=P.name;P.name=C.replace("{value}",M??"")}else bn(C)&&(P.name=C(P.name,P));var k=new Ia(P,null,this.ecModel);return Ea(k,Z1.prototype),k.mainType="radar",k.componentIndex=this.componentIndex,k},this);this._indicatorModels=Q},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:Kn({lineStyle:{color:"#bbb"}},L4.axisLine),axisLabel:X6(L4.axisLabel,!1),axisTick:X6(L4.axisTick,!1),splitLine:X6(L4.splitLine,!0),splitArea:X6(L4.splitArea,!0),indicator:[]},t}(Oi),FU=["axisLine","axisTickLabel","axisName"],TU=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var o=this.group;o.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var n=e.coordinateSystem,i=n.getIndicatorAxes(),o=pr(i,function(s){var l=s.model.get("showName")?s.name:"",f=new mh(s.model,{axisName:l,position:[n.cx,n.cy],rotation:s.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return f});Ne(o,function(s){Ne(FU,s.add,s),this.group.add(s.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(e){var n=e.coordinateSystem,i=n.getIndicatorAxes();if(!i.length)return;var o=e.get("shape"),s=e.getModel("splitLine"),l=e.getModel("splitArea"),f=s.getModel("lineStyle"),v=l.getModel("areaStyle"),C=s.get("show"),w=l.get("show"),x=f.get("color"),Q=v.get("color"),R=yr(x)?x:[x],L=yr(Q)?Q:[Q],P=[],M=[];function k(ze,ut,ft){var Qt=ft%ut.length;return ze[Qt]=ze[Qt]||[],Qt}if(o==="circle")for(var G=i[0].getTicksCoords(),Y=n.cx,re=n.cy,ie=0;ie<G.length;ie++){if(C){var le=k(P,R,ie);P[le].push(new Gu({shape:{cx:Y,cy:re,r:G[ie].coord}}))}if(w&&ie<G.length-1){var le=k(M,L,ie);M[le].push(new nh({shape:{cx:Y,cy:re,r0:G[ie].coord,r:G[ie+1].coord}}))}}else for(var pe,ve=pr(i,function(ut,ft){var Qt=ut.getTicksCoords();return pe=pe==null?Qt.length-1:Math.min(Qt.length-1,pe),pr(Qt,function(vt){return n.coordToPoint(vt.coord,ft)})}),Ee=[],ie=0;ie<=pe;ie++){for(var Se=[],ke=0;ke<i.length;ke++)Se.push(ve[ke][ie]);if(Se[0]&&Se.push(Se[0].slice()),C){var le=k(P,R,ie);P[le].push(new pc({shape:{points:Se}}))}if(w&&Ee){var le=k(M,L,ie-1);M[le].push(new Yu({shape:{points:Se.concat(Ee)}}))}Ee=Se.slice().reverse()}var Le=f.getLineStyle(),be=v.getAreaStyle();Ne(M,function(ze,ut){this.group.add(tl(ze,{style:pn({stroke:"none",fill:L[ut%L.length]},be),silent:!0}))},this),Ne(P,function(ze,ut){this.group.add(tl(ze,{style:pn({fill:"none",stroke:R[ut%R.length]},Le),silent:!0}))},this)},t.type="radar",t}(a),LU=function(r){kt(t,r);function t(e,n,i){var o=r.call(this,e,n,i)||this;return o.type="value",o.angle=0,o.name="",o}return t}(_u),NU=function(){function r(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=pr(t.getIndicatorModels(),function(i,o){var s="indicator_"+o,l=new LU(s,new Cg);return l.name=i.get("name"),l.model=i,i.axis=l,this.dimensions.push(s),l},this),this.resize(t,n)}return r.prototype.getIndicatorAxes=function(){return this._indicatorAxes},r.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},r.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e],i=n.angle,o=this.cx+t*Math.cos(i),s=this.cy-t*Math.sin(i);return[o,s]},r.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var o=Math.atan2(-n,e),s=1/0,l,f=-1,v=0;v<this._indicatorAxes.length;v++){var C=this._indicatorAxes[v],w=Math.abs(o-C.angle);w<s&&(l=C,f=v,s=w)}return[f,+(l&&l.coordToData(i))]},r.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),o=e.getHeight(),s=Math.min(i,o)/2;this.cx=jr(n[0],i),this.cy=jr(n[1],o),this.startAngle=t.get("startAngle")*Math.PI/180;var l=t.get("radius");(en(l)||$i(l))&&(l=[0,l]),this.r0=jr(l[0],s),this.r=jr(l[1],s),Ne(this._indicatorAxes,function(f,v){f.setExtent(this.r0,this.r);var C=this.startAngle+v*Math.PI*2/this._indicatorAxes.length;C=Math.atan2(Math.sin(C),Math.cos(C)),f.angle=C},this)},r.prototype.update=function(t,e){var n=this._indicatorAxes,i=this._model;Ne(n,function(l){l.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(l,f){if(!(l.get("coordinateSystem")!=="radar"||t.getComponent("radar",l.get("radarIndex"))!==i)){var v=l.getData();Ne(n,function(C){C.scale.unionExtentFromData(v,v.mapDimension(C.dim))})}},this);var o=i.get("splitNumber"),s=new Cg;s.setExtent(0,o),s.setInterval(1),Ne(n,function(l,f){WD(l.scale,l.model,s)})},r.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},r.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},r.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},r.create=function(t,e){var n=[];return t.eachComponent("radar",function(i){var o=new r(i,t,e);n.push(o),i.coordinateSystem=o}),t.eachSeriesByType("radar",function(i){i.get("coordinateSystem")==="radar"&&(i.coordinateSystem=n[i.get("radarIndex")||0])}),n},r.dimensions=[],r}();function OU(r){r.registerCoordinateSystem("radar",NU),r.registerComponentModel(MU),r.registerComponentView(TU),r.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each(function(n){e.setItemVisual(n,"legendIcon","roundRect")}),e.setVisual("legendIcon","roundRect")}})}function PU(r){Fi(OU),r.registerChartView(DU),r.registerSeriesModel(RU),r.registerLayout(SU),r.registerProcessor(Um("radar")),r.registerPreprocessor(_U)}var uR="\0_ec_interaction_mutex";function GU(r,t,e){var n=U8(r);n[t]=e}function UU(r,t,e){var n=U8(r),i=n[t];i===e&&(n[t]=null)}function cR(r,t){return!!U8(r)[t]}function U8(r){return r[uR]||(r[uR]={})}Qi({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},$o);var N4=function(r){kt(t,r);function t(e){var n=r.call(this)||this;n._zr=e;var i=an(n._mousedownHandler,n),o=an(n._mousemoveHandler,n),s=an(n._mouseupHandler,n),l=an(n._mousewheelHandler,n),f=an(n._pinchHandler,n);return n.enable=function(v,C){this.disable(),this._opt=pn(Bn(C)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),v==null&&(v=!0),(v===!0||v==="move"||v==="pan")&&(e.on("mousedown",i),e.on("mousemove",o),e.on("mouseup",s)),(v===!0||v==="scale"||v==="zoom")&&(e.on("mousewheel",l),e.on("pinch",f))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",o),e.off("mouseup",s),e.off("mousewheel",l),e.off("pinch",f)},n}return t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!KC(e)){for(var n=e.target;n;){if(n.draggable)return;n=n.__hostTarget||n.parent}var i=e.offsetX,o=e.offsetY;this.pointerChecker&&this.pointerChecker(e,i,o)&&(this._x=i,this._y=o,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(!(!this._dragging||!$6("moveOnMouseMove",e,this._opt)||e.gestureEvent==="pinch"||cR(this._zr,"globalPan"))){var n=e.offsetX,i=e.offsetY,o=this._x,s=this._y,l=n-o,f=i-s;this._x=n,this._y=i,this._opt.preventDefaultMouseMove&&rf(e.event),lR(this,"pan","moveOnMouseMove",e,{dx:l,dy:f,oldX:o,oldY:s,newX:n,newY:i,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){KC(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var n=$6("zoomOnMouseWheel",e,this._opt),i=$6("moveOnMouseWheel",e,this._opt),o=e.wheelDelta,s=Math.abs(o),l=e.offsetX,f=e.offsetY;if(!(o===0||!n&&!i)){if(n){var v=s>3?1.4:s>1?1.2:1.1,C=o>0?v:1/v;j8(this,"zoom","zoomOnMouseWheel",e,{scale:C,originX:l,originY:f,isAvailableBehavior:null})}if(i){var w=Math.abs(o),x=(o>0?1:-1)*(w>3?.4:w>1?.15:.05);j8(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:x,originX:l,originY:f,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!cR(this._zr,"globalPan")){var n=e.pinchScale>1?1.1:.9090909090909091;j8(this,"zoom",null,e,{scale:n,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t}(au);function j8(r,t,e,n,i){r.pointerChecker&&r.pointerChecker(n,i.originX,i.originY)&&(rf(n.event),lR(r,t,e,n,i))}function lR(r,t,e,n,i){i.isAvailableBehavior=an($6,null,e,n),r.trigger(t,i)}function $6(r,t,e){var n=e[r];return!r||n&&(!en(n)||t.event[n+"Key"])}function H8(r,t,e){var n=r.target;n.x+=t,n.y+=e,n.dirty()}function Y8(r,t,e,n){var i=r.target,o=r.zoomLimit,s=r.zoom=r.zoom||1;if(s*=t,o){var l=o.min||0,f=o.max||1/0;s=Math.max(Math.min(f,s),l)}var v=s/r.zoom;r.zoom=s,i.x-=(e-i.x)*(v-1),i.y-=(n-i.y)*(v-1),i.scaleX*=v,i.scaleY*=v,i.dirty()}var jU={axisPointer:1,tooltip:1,brush:1};function e9(r,t,e){var n=t.getComponentByElement(r.topTarget),i=n&&n.coordinateSystem;return n&&n!==e&&!jU.hasOwnProperty(n.mainType)&&i&&i.model!==e}function hR(r){if(en(r)){var t=new DOMParser;r=t.parseFromString(r,"text/xml")}var e=r;for(e.nodeType===9&&(e=e.firstChild);e.nodeName.toLowerCase()!=="svg"||e.nodeType!==1;)e=e.nextSibling;return e}var J8,t9={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},fR=fi(t9),r9={"alignment-baseline":"textBaseline","stop-color":"stopColor"},AR=fi(r9),HU=function(){function r(){this._defs={},this._root=null}return r.prototype.parse=function(t,e){e=e||{};var n=hR(t);this._defsUsePending=[];var i=new Nn;this._root=i;var o=[],s=n.getAttribute("viewBox")||"",l=parseFloat(n.getAttribute("width")||e.width),f=parseFloat(n.getAttribute("height")||e.height);isNaN(l)&&(l=null),isNaN(f)&&(f=null),Gf(n,i,null,!0,!1);for(var v=n.firstChild;v;)this._parseNode(v,i,o,null,!1,!1),v=v.nextSibling;WU(this._defs,this._defsUsePending),this._defsUsePending=[];var C,w;if(s){var x=n9(s);x.length>=4&&(C={x:parseFloat(x[0]||0),y:parseFloat(x[1]||0),width:parseFloat(x[2]),height:parseFloat(x[3])})}if(C&&l!=null&&f!=null&&(w=bR(C,{x:0,y:0,width:l,height:f}),!e.ignoreViewBox)){var Q=i;i=new Nn,i.add(Q),Q.scaleX=Q.scaleY=w.scale,Q.x=w.x,Q.y=w.y}return!e.ignoreRootClip&&l!=null&&f!=null&&i.setClipPath(new ta({shape:{x:0,y:0,width:l,height:f}})),{root:i,width:l,height:f,viewBoxRect:C,viewBoxTransform:w,named:o}},r.prototype._parseNode=function(t,e,n,i,o,s){var l=t.nodeName.toLowerCase(),f,v=i;if(l==="defs"&&(o=!0),l==="text"&&(s=!0),l==="defs"||l==="switch")f=e;else{if(!o){var C=J8[l];if(C&&ln(J8,l)){f=C.call(this,t,e);var w=t.getAttribute("name");if(w){var x={name:w,namedFrom:null,svgNodeTagLower:l,el:f};n.push(x),l==="g"&&(v=x)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:l,el:f});e.add(f)}}var Q=dR[l];if(Q&&ln(dR,l)){var R=Q.call(this,t),L=t.getAttribute("id");L&&(this._defs[L]=R)}}if(f&&f.isGroup)for(var P=t.firstChild;P;)P.nodeType===1?this._parseNode(P,f,n,v,o,s):P.nodeType===3&&s&&this._parseText(P,f),P=P.nextSibling},r.prototype._parseText=function(t,e){var n=new Od({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});nd(e,n),Gf(t,n,this._defsUsePending,!1,!1),YU(n,e);var i=n.style,o=i.fontSize;o&&o<9&&(i.fontSize=9,n.scaleX*=o/9,n.scaleY*=o/9);var s=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=s;var l=n.getBoundingRect();return this._textX+=l.width,e.add(n),n},r.internalField=function(){J8={g:function(t,e){var n=new Nn;return nd(e,n),Gf(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new ta;return nd(e,n),Gf(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Gu;return nd(e,n),Gf(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new Vs;return nd(e,n),Gf(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new fu;return nd(e,n),Gf(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n=t.getAttribute("points"),i;n&&(i=vR(n));var o=new Yu({shape:{points:i||[]},silent:!0});return nd(e,o),Gf(t,o,this._defsUsePending,!1,!1),o},polyline:function(t,e){var n=t.getAttribute("points"),i;n&&(i=vR(n));var o=new pc({shape:{points:i||[]},silent:!0});return nd(e,o),Gf(t,o,this._defsUsePending,!1,!1),o},image:function(t,e){var n=new Ws;return nd(e,n),Gf(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",o=t.getAttribute("dx")||"0",s=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(i)+parseFloat(s);var l=new Nn;return nd(e,l),Gf(t,l,this._defsUsePending,!1,!0),l},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");n!=null&&(this._textX=parseFloat(n)),i!=null&&(this._textY=parseFloat(i));var o=t.getAttribute("dx")||"0",s=t.getAttribute("dy")||"0",l=new Nn;return nd(e,l),Gf(t,l,this._defsUsePending,!1,!0),this._textX+=parseFloat(o),this._textY+=parseFloat(s),l},path:function(t,e){var n=t.getAttribute("d")||"",i=Xd(n);return nd(e,i),Gf(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),r}(),dR={lineargradient:function(r){var t=parseInt(r.getAttribute("x1")||"0",10),e=parseInt(r.getAttribute("y1")||"0",10),n=parseInt(r.getAttribute("x2")||"10",10),i=parseInt(r.getAttribute("y2")||"0",10),o=new tg(t,e,n,i);return gR(r,o),pR(r,o),o},radialgradient:function(r){var t=parseInt(r.getAttribute("cx")||"0",10),e=parseInt(r.getAttribute("cy")||"0",10),n=parseInt(r.getAttribute("r")||"0",10),i=new LI(t,e,n);return gR(r,i),pR(r,i),i}};function gR(r,t){var e=r.getAttribute("gradientUnits");e==="userSpaceOnUse"&&(t.global=!0)}function pR(r,t){for(var e=r.firstChild;e;){if(e.nodeType===1&&e.nodeName.toLocaleLowerCase()==="stop"){var n=e.getAttribute("offset"),i=void 0;n&&n.indexOf("%")>0?i=parseInt(n,10)/100:n?i=parseFloat(n):i=0;var o={};IR(e,o,o);var s=o.stopColor||e.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:s})}e=e.nextSibling}}function nd(r,t){r&&r.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),pn(t.__inheritedStyle,r.__inheritedStyle))}function vR(r){for(var t=n9(r),e=[],n=0;n<t.length;n+=2){var i=parseFloat(t[n]),o=parseFloat(t[n+1]);e.push([i,o])}return e}function Gf(r,t,e,n,i){var o=t,s=o.__inheritedStyle=o.__inheritedStyle||{},l={};r.nodeType===1&&(KU(r,t),IR(r,s,l),n||VU(r,s,l)),o.style=o.style||{},s.fill!=null&&(o.style.fill=yR(o,"fill",s.fill,e)),s.stroke!=null&&(o.style.stroke=yR(o,"stroke",s.stroke,e)),Ne(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(f){s[f]!=null&&(o.style[f]=parseFloat(s[f]))}),Ne(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(f){s[f]!=null&&(o.style[f]=s[f])}),i&&(o.__selfStyle=l),s.lineDash&&(o.style.lineDash=pr(n9(s.lineDash),function(f){return parseFloat(f)})),(s.visibility==="hidden"||s.visibility==="collapse")&&(o.invisible=!0),s.display==="none"&&(o.ignore=!0)}function YU(r,t){var e=t.__selfStyle;if(e){var n=e.textBaseline,i=n;!n||n==="auto"||n==="baseline"?i="alphabetic":n==="before-edge"||n==="text-before-edge"?i="top":n==="after-edge"||n==="text-after-edge"?i="bottom":(n==="central"||n==="mathematical")&&(i="middle"),r.style.textBaseline=i}var o=t.__inheritedStyle;if(o){var s=o.textAlign,l=s;s&&(s==="middle"&&(l="center"),r.style.textAlign=l)}}var JU=/^url\(\s*#(.*?)\)/;function yR(r,t,e,n){var i=e&&e.match(JU);if(i){var o=Wl(i[1]);n.push([r,t,o]);return}return e==="none"&&(e=null),e}function WU(r,t){for(var e=0;e<t.length;e++){var n=t[e];n[0].style[n[1]]=r[n[2]]}}var qU=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function n9(r){return r.match(qU)||[]}var zU=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,W8=Math.PI/180;function KU(r,t){var e=r.getAttribute("transform");if(e){e=e.replace(/,/g," ");var n=[],i=null;e.replace(zU,function(w,x,Q){return n.push(x,Q),""});for(var o=n.length-1;o>0;o-=2){var s=n[o],l=n[o-1],f=n9(s);switch(i=i||Lu(),l){case"translate":Hs(i,i,[parseFloat(f[0]),parseFloat(f[1]||"0")]);break;case"scale":Rv(i,i,[parseFloat(f[0]),parseFloat(f[1]||f[0])]);break;case"rotate":nf(i,i,-parseFloat(f[0])*W8,[parseFloat(f[1]||"0"),parseFloat(f[2]||"0")]);break;case"skewX":var v=Math.tan(parseFloat(f[0])*W8);ic(i,[1,0,v,1,0,0],i);break;case"skewY":var C=Math.tan(parseFloat(f[0])*W8);ic(i,[1,C,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(f[0]),i[1]=parseFloat(f[1]),i[2]=parseFloat(f[2]),i[3]=parseFloat(f[3]),i[4]=parseFloat(f[4]),i[5]=parseFloat(f[5]);break}}t.setLocalTransform(i)}}var mR=/([^\s:;]+)\s*:\s*([^:;]+)/g;function IR(r,t,e){var n=r.getAttribute("style");if(n){mR.lastIndex=0;for(var i;(i=mR.exec(n))!=null;){var o=i[1],s=ln(t9,o)?t9[o]:null;s&&(t[s]=i[2]);var l=ln(r9,o)?r9[o]:null;l&&(e[l]=i[2])}}}function VU(r,t,e){for(var n=0;n<fR.length;n++){var i=fR[n],o=r.getAttribute(i);o!=null&&(t[t9[i]]=o)}for(var n=0;n<AR.length;n++){var i=AR[n],o=r.getAttribute(i);o!=null&&(e[r9[i]]=o)}}function bR(r,t){var e=t.width/r.width,n=t.height/r.height,i=Math.min(e,n);return{scale:i,x:-(r.x+r.width/2)*i+(t.x+t.width/2),y:-(r.y+r.height/2)*i+(t.y+t.height/2)}}function ZU(r,t){var e=new HU;return e.parse(r,t)}var XU=mn(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),$U=function(){function r(t,e){this.type="geoSVG",this._usedGraphicMap=mn(),this._freedGraphics=[],this._mapName=t,this._parsedXML=hR(e)}return r.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=tj(t.named),n=e.regions,i=e.regionsMap;this._regions=n,this._regionsMap=i}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},r.prototype._buildGraphic=function(t){var e,n;try{e=t&&ZU(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=e.root,tc(n!=null)}catch(P){throw new Error(`Invalid svg format
  265. `+P.message)}var i=new Nn;i.add(n),i.isGeoSVGGraphicRoot=!0;var o=e.width,s=e.height,l=e.viewBoxRect,f=this._boundingRect;if(!f){var v=void 0,C=void 0,w=void 0,x=void 0;if(o!=null?(v=0,w=o):l&&(v=l.x,w=l.width),s!=null?(C=0,x=s):l&&(C=l.y,x=l.height),v==null||C==null){var Q=n.getBoundingRect();v==null&&(v=Q.x,w=Q.width),C==null&&(C=Q.y,x=Q.height)}f=this._boundingRect=new gi(v,C,w,x)}if(l){var R=bR(l,f);n.scaleX=n.scaleY=R.scale,n.x=R.x,n.y=R.y}i.setClipPath(new ta({shape:f.plain()}));var L=[];return Ne(e.named,function(P){XU.get(P.svgNodeTagLower)!=null&&(L.push(P),ej(P.el))}),{root:i,boundingRect:f,named:L}},r.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},r.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},r}();function ej(r){r.silent=!1,r.isGroup&&r.traverse(function(t){t.silent=!1})}function tj(r){var t=[],e=mn();return Ne(r,function(n){if(n.namedFrom==null){var i=new jl(n.name,n.el);t.push(i),e.set(n.name,i)}}),{regions:t,regionsMap:e}}for(var q8=[126,25],CR="南海诸岛",pC=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],vC=0;vC<pC.length;vC++)for(var A3=0;A3<pC[vC].length;A3++)pC[vC][A3][0]/=10.5,pC[vC][A3][1]/=-10.5/.75,pC[vC][A3][0]+=q8[0],pC[vC][A3][1]+=q8[1];function rj(r,t){if(r==="china"){for(var e=0;e<t.length;e++)if(t[e].name===CR)return;t.push(new Zk(CR,pr(pC,function(n){return{type:"polygon",exterior:n}}),q8))}}var nj={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};function ij(r,t){if(r==="china"){var e=nj[t.name];if(e){var n=t.getCenter();n[0]+=e[0]/10.5,n[1]+=-e[1]/(10.5/.75),t.setCenter(n)}}}var aj=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function oj(r,t){r==="china"&&t.name==="台湾"&&t.geometries.push({type:"polygon",exterior:aj[0]})}var sj="name",uj=function(){function r(t,e,n){this.type="geoJSON",this._parsedMap=mn(),this._mapName=t,this._specialAreas=n,this._geoJSON=lj(e)}return r.prototype.load=function(t,e){e=e||sj;var n=this._parsedMap.get(e);if(!n){var i=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:i,boundingRect:cj(i)})}var o=mn(),s=[];return Ne(n.regions,function(l){var f=l.name;t&&ln(t,f)&&(l=l.cloneShallow(f=t[f])),s.push(l),o.set(f,l)}),{regions:s,boundingRect:n.boundingRect||new gi(0,0,0,0),regionsMap:o}},r.prototype._parseToRegions=function(t){var e=this._mapName,n=this._geoJSON,i;try{i=n?a6(n,t):[]}catch(o){throw new Error(`Invalid geoJson format
  266. `+o.message)}return rj(e,i),Ne(i,function(o){var s=o.name;ij(e,o),oj(e,o);var l=this._specialAreas&&this._specialAreas[s];l&&o.transformTo(l.left,l.top,l.width,l.height)},this),i},r.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},r}();function cj(r){for(var t,e=0;e<r.length;e++){var n=r[e].getBoundingRect();t=t||n.clone(),t.union(n)}return t}function lj(r){return en(r)?typeof JSON<"u"&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r}var O4=mn();const lv={registerMap:function(r,t,e){if(t.svg){var n=new $U(r,t.svg);O4.set(r,n)}else{var i=t.geoJson||t.geoJSON;i&&!t.features?e=t.specialAreas:i=t;var n=new uj(r,i,e);O4.set(r,n)}},getGeoResource:function(r){return O4.get(r)},getMapForUser:function(r){var t=O4.get(r);return t&&t.type==="geoJSON"&&t.getMapForUser()},load:function(r,t,e){var n=O4.get(r);if(n)return n.load(t,e)}};var z8=["rect","circle","line","ellipse","polygon","polyline","path"],hj=mn(z8),fj=mn(z8.concat(["g"])),Aj=mn(z8.concat(["g"])),wR=Vi();function i9(r){var t=r.getItemStyle(),e=r.get("areaColor");return e!=null&&(t.fill=e),t}function ER(r){var t=r.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var BR=function(){function r(t){var e=new Nn;this.uid=Sp("ec_map_draw"),this._controller=new N4(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new Nn),e.add(this._svgGroup=new Nn)}return r.prototype.draw=function(t,e,n,i,o){var s=t.mainType==="geo",l=t.getData&&t.getData();s&&e.eachComponent({mainType:"series",subType:"map"},function(M){!l&&M.getHostGeoModel()===t&&(l=M.getData())});var f=t.coordinateSystem,v=this._regionsGroup,C=this.group,w=f.getTransformInfo(),x=w.raw,Q=w.roam,R=!v.childAt(0)||o;R?(C.x=Q.x,C.y=Q.y,C.scaleX=Q.scaleX,C.scaleY=Q.scaleY,C.dirty()):ga(C,Q,t);var L=l&&l.getVisual("visualMeta")&&l.getVisual("visualMeta").length>0,P={api:n,geo:f,mapOrGeoModel:t,data:l,isVisualEncodedByVisualMap:L,isGeo:s,transformInfoRaw:x};f.resourceType==="geoJSON"?this._buildGeoJSON(P):f.resourceType==="geoSVG"&&this._buildSVG(P),this._updateController(t,e,n),this._updateMapSelectHandler(t,v,n,i)},r.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=mn(),n=mn(),i=this._regionsGroup,o=t.transformInfoRaw,s=t.mapOrGeoModel,l=t.data,f=t.geo.projection,v=f&&f.stream;function C(Q,R){return R&&(Q=R(Q)),Q&&[Q[0]*o.scaleX+o.x,Q[1]*o.scaleY+o.y]}function w(Q){for(var R=[],L=!v&&f&&f.project,P=0;P<Q.length;++P){var M=C(Q[P],L);M&&R.push(M)}return R}function x(Q){return{shape:{points:w(Q)}}}i.removeAll(),Ne(t.geo.regions,function(Q){var R=Q.name,L=e.get(R),P=n.get(R)||{},M=P.dataIdx,k=P.regionModel;if(!L){L=e.set(R,new Nn),i.add(L),M=l?l.indexOfName(R):null,k=t.isGeo?s.getRegionModel(R):l?l.getItemModel(M):null;var G=k.get("silent",!0);G!=null&&(L.silent=G),n.set(R,{dataIdx:M,regionModel:k})}var Y=[],re=[];Ne(Q.geometries,function(pe){if(pe.type==="polygon"){var ve=[pe.exterior].concat(pe.interiors||[]);v&&(ve=DR(ve,v)),Ne(ve,function(Se){Y.push(new Yu(x(Se)))})}else{var Ee=pe.points;v&&(Ee=DR(Ee,v,!0)),Ne(Ee,function(Se){re.push(new pc(x(Se)))})}});var ie=C(Q.getCenter(),f&&f.project);function le(pe,ve){if(pe.length){var Ee=new v1({culling:!0,segmentIgnoreThreshold:1,shape:{paths:pe}});L.add(Ee),kR(t,Ee,M,k),QR(t,Ee,R,k,s,M,ie),ve&&(ER(Ee),Ne(Ee.states,ER))}}le(Y),le(re,!0)}),e.each(function(Q,R){var L=n.get(R),P=L.dataIdx,M=L.regionModel;xR(t,Q,R,M,s,P),SR(t,Q,R,M,s),_R(t,Q,R,M,s)},this)},r.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var i=this._svgDispatcherMap=mn(),o=!1;Ne(this._svgGraphicRecord.named,function(s){var l=s.name,f=t.mapOrGeoModel,v=t.data,C=s.svgNodeTagLower,w=s.el,x=v?v.indexOfName(l):null,Q=f.getRegionModel(l);hj.get(C)!=null&&w instanceof ii&&kR(t,w,x,Q),w instanceof ii&&(w.culling=!0);var R=Q.get("silent",!0);if(R!=null&&(w.silent=R),w.z2EmphasisLift=0,!s.namedFrom&&(Aj.get(C)!=null&&QR(t,w,l,Q,f,x,null),xR(t,w,l,Q,f,x),SR(t,w,l,Q,f),fj.get(C)!=null)){var L=_R(t,w,l,Q,f);L==="self"&&(o=!0);var P=i.get(l)||i.set(l,[]);P.push(w)}},this),this._enableBlurEntireSVG(o,t)},r.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),i=n.opacity;this._svgGraphicRecord.root.traverse(function(o){if(!o.isGroup){xl(o);var s=o.ensureState("blur").style||{};s.opacity==null&&i!=null&&(s.opacity=i),o.ensureState("emphasis")}})}},r.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},r.prototype.findHighDownDispatchers=function(t,e){if(t==null)return[];var n=e.coordinateSystem;if(n.resourceType==="geoJSON"){var i=this._regionsGroupByName;if(i){var o=i.get(t);return o?[o]:[]}}else if(n.resourceType==="geoSVG")return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},r.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},r.prototype._useSVG=function(t){var e=lv.getGeoResource(t);if(e&&e.type==="geoSVG"){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},r.prototype._freeSVG=function(){var t=this._svgMapName;if(t!=null){var e=lv.getGeoResource(t);e&&e.type==="geoSVG"&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},r.prototype._updateController=function(t,e,n){var i=t.coordinateSystem,o=this._controller,s=this._controllerHost;s.zoomLimit=t.get("scaleLimit"),s.zoom=i.getZoom(),o.enable(t.get("roam")||!1);var l=t.mainType;function f(){var v={type:"geoRoam",componentType:l};return v[l+"Id"]=t.id,v}o.off("pan").on("pan",function(v){this._mouseDownFlag=!1,H8(s,v.dx,v.dy),n.dispatchAction(ar(f(),{dx:v.dx,dy:v.dy,animation:{duration:0}}))},this),o.off("zoom").on("zoom",function(v){this._mouseDownFlag=!1,Y8(s,v.scale,v.originX,v.originY),n.dispatchAction(ar(f(),{totalZoom:s.zoom,zoom:v.scale,originX:v.originX,originY:v.originY,animation:{duration:0}}))},this),o.setPointerChecker(function(v,C,w){return i.containPoint([C,w])&&!e9(v,n,t)})},r.prototype.resetForLabelLayout=function(){this.group.traverse(function(t){var e=t.getTextContent();e&&(e.ignore=wR(e).ignore)})},r.prototype._updateMapSelectHandler=function(t,e,n,i){var o=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",function(){o._mouseDownFlag=!0}),e.on("click",function(s){o._mouseDownFlag&&(o._mouseDownFlag=!1)}))},r}();function kR(r,t,e,n){var i=n.getModel("itemStyle"),o=n.getModel(["emphasis","itemStyle"]),s=n.getModel(["blur","itemStyle"]),l=n.getModel(["select","itemStyle"]),f=i9(i),v=i9(o),C=i9(l),w=i9(s),x=r.data;if(x){var Q=x.getItemVisual(e,"style"),R=x.getItemVisual(e,"decal");r.isVisualEncodedByVisualMap&&Q.fill&&(f.fill=Q.fill),R&&(f.decal=Ms(R,r.api))}t.setStyle(f),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=v,t.ensureState("select").style=C,t.ensureState("blur").style=w,xl(t)}function QR(r,t,e,n,i,o,s){var l=r.data,f=r.isGeo,v=l&&isNaN(l.get(l.mapDimension("value"),o)),C=l&&l.getItemLayout(o);if(f||v||C&&C.showLabel){var w=f?e:o,x=void 0;(!l||o>=0)&&(x=i);var Q=s?{normal:{align:"center",verticalAlign:"middle"}}:null;Uo(t,_s(n),{labelFetcher:x,labelDataIndex:w,defaultText:e},Q);var R=t.getTextContent();if(R&&(wR(R).ignore=R.ignore,t.textConfig&&s)){var L=t.getBoundingRect().clone();t.textConfig.layoutRect=L,t.textConfig.position=[(s[0]-L.x)/L.width*100+"%",(s[1]-L.y)/L.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function xR(r,t,e,n,i,o){r.data?r.data.setItemGraphicEl(o,t):Un(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:e,region:n&&n.option||{}}}function SR(r,t,e,n,i){r.data||Ml({el:t,componentModel:i,itemName:e,itemTooltipOption:n.get("tooltip")})}function _R(r,t,e,n,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var o=n.getModel("emphasis"),s=o.get("focus");return uo(t,s,o.get("blurScope"),o.get("disabled")),r.isGeo&&D5(t,i,e),s}function DR(r,t,e){var n=[],i;function o(){i=[]}function s(){i.length&&(n.push(i),i=[])}var l=t({polygonStart:o,polygonEnd:s,lineStart:o,lineEnd:s,point:function(f,v){isFinite(f)&&isFinite(v)&&i.push([f,v])},sphere:function(){}});return!e&&l.polygonStart(),Ne(r,function(f){l.lineStart();for(var v=0;v<f.length;v++)l.point(f[v][0],f[v][1]);l.lineEnd()}),!e&&l.polygonEnd(),n}var dj=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i,o){if(!(o&&o.type==="mapToggleSelect"&&o.from===this.uid)){var s=this.group;if(s.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&o&&o.type==="geoRoam"&&this._mapDraw.resetForLabelLayout(),o&&o.type==="geoRoam"&&o.componentType==="series"&&o.seriesId===e.id){var l=this._mapDraw;l&&s.add(l.group)}else if(e.needsDrawMap){var l=this._mapDraw||new BR(i);s.add(l.group),l.draw(e,n,i,this,o),this._mapDraw=l}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&n.getComponent("legend")&&this._renderSymbols(e,n,i)}}},t.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.prototype._renderSymbols=function(e,n,i){var o=e.originalData,s=this.group;o.each(o.mapDimension("value"),function(l,f){if(!isNaN(l)){var v=o.getItemLayout(f);if(!(!v||!v.point)){var C=v.point,w=v.offset,x=new Gu({style:{fill:e.getData().getVisual("style").fill},shape:{cx:C[0]+w*9,cy:C[1],r:3},silent:!0,z2:8+(w?0:Ip+1)});if(!w){var Q=e.mainSeries.getData(),R=o.getName(f),L=Q.indexOfName(R),P=o.getItemModel(f),M=P.getModel("label"),k=Q.getItemGraphicEl(L);Uo(x,_s(P),{labelFetcher:{getFormattedLabel:function(G,Y){return e.getFormattedLabel(L,Y)}},defaultText:R}),x.disableLabelAnimation=!0,M.get("position")||x.setTextConfig({position:"bottom"}),k.onHoverStateChange=function(G){bp(x,G)}}s.add(x)}}})},t.type="map",t}(d),gj=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.needsDrawMap=!1,e.seriesGroup=[],e.getTooltipPosition=function(n){if(n!=null){var i=this.getData().getName(n),o=this.coordinateSystem,s=o.getRegion(i);return s&&o.dataToPoint(s.getCenter())}},e}return t.prototype.getInitialData=function(e){for(var n=h3(this,{coordDimensions:["value"],encodeDefaulter:ni(ab,this)}),i=mn(),o=[],s=0,l=n.count();s<l;s++){var f=n.getName(s);i.set(f,s)}var v=lv.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return Ne(v.regions,function(C){var w=C.name,x=i.get(w),Q=C.properties&&C.properties.echartsStyle,R;x==null?(R={name:w},o.push(R)):R=n.getRawDataItem(x),Q&&Kn(R,Q)}),n.appendData(o),n},t.prototype.getHostGeoModel=function(){var e=this.option.geoIndex;return e!=null?this.ecModel.getComponent("geo",e):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(e){var n=this.getData();return n.get(n.mapDimension("value"),e)},t.prototype.getRegionModel=function(e){var n=this.getData();return n.getItemModel(n.indexOfName(e))},t.prototype.formatTooltip=function(e,n,i){for(var o=this.getData(),s=this.getRawValue(e),l=o.getName(e),f=this.seriesGroup,v=[],C=0;C<f.length;C++){var w=f[C].originalData.indexOfName(l),x=o.mapDimension("value");isNaN(f[C].originalData.get(x,w))||v.push(f[C].name)}return Xs("section",{header:v.join(", "),noHeader:!v.length,blocks:[Xs("nameValue",{name:l,value:s})]})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.getLegendIcon=function(e){var n=e.icon||"roundRect",i=yt(n,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill);return i.setStyle(e.itemStyle),i.style.stroke="none",n.indexOf("empty")>-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),i},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(no);function pj(r,t){var e={};return Ne(r,function(n){n.each(n.mapDimension("value"),function(i,o){var s="ec-"+n.getName(o);e[s]=e[s]||[],isNaN(i)||e[s].push(i)})}),r[0].map(r[0].mapDimension("value"),function(n,i){for(var o="ec-"+r[0].getName(i),s=0,l=1/0,f=-1/0,v=e[o].length,C=0;C<v;C++)l=Math.min(l,e[o][C]),f=Math.max(f,e[o][C]),s+=e[o][C];var w;return t==="min"?w=l:t==="max"?w=f:t==="average"?w=s/v:w=s,v===0?NaN:w})}function vj(r){var t={};r.eachSeriesByType("map",function(e){var n=e.getHostGeoModel(),i=n?"o"+n.id:"i"+e.getMapType();(t[i]=t[i]||[]).push(e)}),Ne(t,function(e,n){for(var i=pj(pr(e,function(s){return s.getData()}),e[0].get("mapValueCalculation")),o=0;o<e.length;o++)e[o].originalData=e[o].getData();for(var o=0;o<e.length;o++)e[o].seriesGroup=e,e[o].needsDrawMap=o===0&&!e[o].getHostGeoModel(),e[o].setData(i.cloneShallow()),e[o].mainSeries=e[0]})}function yj(r){var t={};r.eachSeriesByType("map",function(e){var n=e.getMapType();if(!(e.getHostGeoModel()||t[n])){var i={};Ne(e.seriesGroup,function(s){var l=s.coordinateSystem,f=s.originalData;s.get("showLegendSymbol")&&r.getComponent("legend")&&f.each(f.mapDimension("value"),function(v,C){var w=f.getName(C),x=l.getRegion(w);if(!(!x||isNaN(v))){var Q=i[w]||0,R=l.dataToPoint(x.getCenter());i[w]=Q+1,f.setItemLayout(C,{point:R,offset:Q})}})});var o=e.getData();o.each(function(s){var l=o.getName(s),f=o.getItemLayout(s)||{};f.showLabel=!i[l],o.setItemLayout(s,f)}),t[n]=!0}})}var RR=js,P4=function(r){kt(t,r);function t(e){var n=r.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new hf,n._rawTransformable=new hf,n.name=e,n}return t.prototype.setBoundingRect=function(e,n,i,o){return this._rect=new gi(e,n,i,o),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(e,n,i,o){this._transformTo(e,n,i,o),this._viewRect=new gi(e,n,i,o)},t.prototype._transformTo=function(e,n,i,o){var s=this.getBoundingRect(),l=this._rawTransformable;l.transform=s.calculateTransform(new gi(e,n,i,o));var f=l.parent;l.parent=null,l.decomposeTransform(),l.parent=f,this._updateTransform()},t.prototype.setCenter=function(e,n){e&&(this._center=[jr(e[0],n.getWidth()),jr(e[1],n.getHeight())],this._updateCenterAndZoom())},t.prototype.setZoom=function(e){e=e||1;var n=this.zoomLimit;n&&(n.max!=null&&(e=Math.min(n.max,e)),n.min!=null&&(e=Math.max(n.min,e))),this._zoom=e,this._updateCenterAndZoom()},t.prototype.getDefaultCenter=function(){var e=this.getBoundingRect(),n=e.x+e.width/2,i=e.y+e.height/2;return[n,i]},t.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},t.prototype.getZoom=function(){return this._zoom||1},t.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},t.prototype._updateCenterAndZoom=function(){var e=this._rawTransformable.getLocalTransform(),n=this._roamTransformable,i=this.getDefaultCenter(),o=this.getCenter(),s=this.getZoom();o=js([],o,e),i=js([],i,e),n.originX=o[0],n.originY=o[1],n.x=i[0]-o[0],n.y=i[1]-o[1],n.scaleX=n.scaleY=s,this._updateTransform()},t.prototype._updateTransform=function(){var e=this._roamTransformable,n=this._rawTransformable;n.parent=e,e.updateTransform(),n.updateTransform(),ml(this.transform||(this.transform=[]),n.transform||Lu()),this._rawTransform=n.getLocalTransform(),this.invTransform=this.invTransform||[],yd(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var e=this._rawTransformable,n=this._roamTransformable,i=new hf;return i.transform=n.transform,i.decomposeTransform(),{roam:{x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY},raw:{x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},t.prototype.dataToPoint=function(e,n,i){var o=n?this._rawTransform:this.transform;return i=i||[],o?RR(i,e,o):rc(i,e)},t.prototype.pointToData=function(e){var n=this.invTransform;return n?RR([],e,n):[e[0],e[1]]},t.prototype.convertToPixel=function(e,n,i){var o=MR(n);return o===this?o.dataToPoint(i):null},t.prototype.convertFromPixel=function(e,n,i){var o=MR(n);return o===this?o.pointToData(i):null},t.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},t.dimensions=["x","y"],t}(hf);function MR(r){var t=r.seriesModel;return t?t.coordinateSystem:null}var mj={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},FR=["lng","lat"],K8=function(r){kt(t,r);function t(e,n,i){var o=r.call(this,e)||this;o.dimensions=FR,o.type="geo",o._nameCoordMap=mn(),o.map=n;var s=i.projection,l=lv.load(n,i.nameMap,i.nameProperty),f=lv.getGeoResource(n);o.resourceType=f?f.type:null;var v=o.regions=l.regions,C=mj[f.type];o._regionsMap=l.regionsMap,o.regions=l.regions,o.projection=s;var w;if(s)for(var x=0;x<v.length;x++){var Q=v[x].getBoundingRect(s);w=w||Q.clone(),w.union(Q)}else w=l.boundingRect;return o.setBoundingRect(w.x,w.y,w.width,w.height),o.aspectScale=s?1:$n(i.aspectScale,C.aspectScale),o._invertLongitute=s?!1:C.invertLongitute,o}return t.prototype._transformTo=function(e,n,i,o){var s=this.getBoundingRect(),l=this._invertLongitute;s=s.clone(),l&&(s.y=-s.y-s.height);var f=this._rawTransformable;f.transform=s.calculateTransform(new gi(e,n,i,o));var v=f.parent;f.parent=null,f.decomposeTransform(),f.parent=v,l&&(f.scaleY=-f.scaleY),this._updateTransform()},t.prototype.getRegion=function(e){return this._regionsMap.get(e)},t.prototype.getRegionByCoord=function(e){for(var n=this.regions,i=0;i<n.length;i++){var o=n[i];if(o.type==="geoJSON"&&o.contain(e))return n[i]}},t.prototype.addGeoCoord=function(e,n){this._nameCoordMap.set(e,n)},t.prototype.getGeoCoord=function(e){var n=this._regionsMap.get(e);return this._nameCoordMap.get(e)||n&&n.getCenter()},t.prototype.dataToPoint=function(e,n,i){if(en(e)&&(e=this.getGeoCoord(e)),e){var o=this.projection;return o&&(e=o.project(e)),e&&this.projectedToPoint(e,n,i)}},t.prototype.pointToData=function(e){var n=this.projection;return n&&(e=n.unproject(e)),e&&this.pointToProjected(e)},t.prototype.pointToProjected=function(e){return r.prototype.pointToData.call(this,e)},t.prototype.projectedToPoint=function(e,n,i){return r.prototype.dataToPoint.call(this,e,n,i)},t.prototype.convertToPixel=function(e,n,i){var o=TR(n);return o===this?o.dataToPoint(i):null},t.prototype.convertFromPixel=function(e,n,i){var o=TR(n);return o===this?o.pointToData(i):null},t}(P4);Ea(K8,P4);function TR(r){var t=r.geoModel,e=r.seriesModel;return t?t.coordinateSystem:e?e.coordinateSystem||(e.getReferringComponents("geo",fs).models[0]||{}).coordinateSystem:null}function LR(r,t){var e=r.get("boundingCoords");if(e!=null){var n=e[0],i=e[1];if(isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])){var o=this.projection;if(o){var s=n[0],l=n[1],f=i[0],v=i[1];n=[1/0,1/0],i=[-1/0,-1/0];var C=function(ie,le,pe,ve){for(var Ee=pe-ie,Se=ve-le,ke=0;ke<=100;ke++){var Le=ke/100,be=o.project([ie+Ee*Le,le+Se*Le]);rA(n,n,be),tf(i,i,be)}};C(s,l,f,l),C(f,l,f,v),C(f,v,s,v),C(s,v,f,l)}this.setBoundingRect(n[0],n[1],i[0]-n[0],i[1]-n[1])}}var w=this.getBoundingRect(),x=r.get("layoutCenter"),Q=r.get("layoutSize"),R=t.getWidth(),L=t.getHeight(),P=w.width/w.height*this.aspectScale,M=!1,k,G;x&&Q&&(k=[jr(x[0],R),jr(x[1],L)],G=jr(Q,Math.min(R,L)),!isNaN(k[0])&&!isNaN(k[1])&&!isNaN(G)&&(M=!0));var Y;if(M)Y={},P>1?(Y.width=G,Y.height=G/P):(Y.height=G,Y.width=G*P),Y.y=k[1]-Y.height/2,Y.x=k[0]-Y.width/2;else{var re=r.getBoxLayoutParams();re.aspect=P,Y=Mo(re,{width:R,height:L})}this.setViewRect(Y.x,Y.y,Y.width,Y.height),this.setCenter(r.get("center"),t),this.setZoom(r.get("zoom"))}function Ij(r,t){Ne(t.get("geoCoord"),function(e,n){r.addGeoCoord(n,e)})}var bj=function(){function r(){this.dimensions=FR}return r.prototype.create=function(t,e){var n=[];function i(s){return{nameProperty:s.get("nameProperty"),aspectScale:s.get("aspectScale"),projection:s.get("projection")}}t.eachComponent("geo",function(s,l){var f=s.get("map"),v=new K8(f+l,f,ar({nameMap:s.get("nameMap")},i(s)));v.zoomLimit=s.get("scaleLimit"),n.push(v),s.coordinateSystem=v,v.model=s,v.resize=LR,v.resize(s,e)}),t.eachSeries(function(s){var l=s.get("coordinateSystem");if(l==="geo"){var f=s.get("geoIndex")||0;s.coordinateSystem=n[f]}});var o={};return t.eachSeriesByType("map",function(s){if(!s.getHostGeoModel()){var l=s.getMapType();o[l]=o[l]||[],o[l].push(s)}}),Ne(o,function(s,l){var f=pr(s,function(C){return C.get("nameMap")}),v=new K8(l,l,ar({nameMap:Us(f)},i(s[0])));v.zoomLimit=Bs.apply(null,pr(s,function(C){return C.get("scaleLimit")})),n.push(v),v.resize=LR,v.resize(s[0],e),Ne(s,function(C){C.coordinateSystem=v,Ij(v,C)})}),n},r.prototype.getFilledRegions=function(t,e,n,i){for(var o=(t||[]).slice(),s=mn(),l=0;l<o.length;l++)s.set(o[l].name,o[l]);var f=lv.load(e,n,i);return Ne(f.regions,function(v){var C=v.name,w=s.get(C),x=v.properties&&v.properties.echartsStyle;w||(w={name:C},o.push(w)),x&&Kn(w,x)}),o},r}(),NR=new bj,Cj=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n,i){var o=lv.getGeoResource(e.map);if(o&&o.type==="geoJSON"){var s=e.itemStyle=e.itemStyle||{};"color"in s||(s.color="#eee")}this.mergeDefaultAndTheme(e,i),xd(e,"label",["show"])},t.prototype.optionUpdated=function(){var e=this,n=this.option;n.regions=NR.getFilledRegions(n.regions,n.map,n.nameMap,n.nameProperty);var i={};this._optionModelMap=xa(n.regions||[],function(o,s){var l=s.name;return l&&(o.set(l,new Ia(s,e,e.ecModel)),s.selected&&(i[l]=!0)),o},mn()),n.selectedMap||(n.selectedMap=i)},t.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new Ia(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(e,n){var i=this.getRegionModel(e),o=n==="normal"?i.get(["label","formatter"]):i.get(["emphasis","label","formatter"]),s={name:e};if(bn(o))return s.status=n,o(s);if(en(o))return o.replace("{a}",e??"")},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.select=function(e){var n=this.option,i=n.selectedMode;if(i){i!=="multiple"&&(n.selectedMap=null);var o=n.selectedMap||(n.selectedMap={});o[e]=!0}},t.prototype.unSelect=function(e){var n=this.option.selectedMap;n&&(n[e]=!1)},t.prototype.toggleSelected=function(e){this[this.isSelected(e)?"unSelect":"select"](e)},t.prototype.isSelected=function(e){var n=this.option.selectedMap;return!!(n&&n[e])},t.type="geo",t.layoutMode="box",t.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},t}(Oi);function OR(r,t){return r.pointToProjected?r.pointToProjected(t):r.pointToData(t)}function V8(r,t,e,n){var i=r.getZoom(),o=r.getCenter(),s=t.zoom,l=r.projectedToPoint?r.projectedToPoint(o):r.dataToPoint(o);if(t.dx!=null&&t.dy!=null&&(l[0]-=t.dx,l[1]-=t.dy,r.setCenter(OR(r,l),n)),s!=null){if(e){var f=e.min||0,v=e.max||1/0;s=Math.max(Math.min(i*s,v),f)/i}r.scaleX*=s,r.scaleY*=s;var C=(t.originX-r.x)*(s-1),w=(t.originY-r.y)*(s-1);r.x-=C,r.y-=w,r.updateTransform(),r.setCenter(OR(r,l),n),r.setZoom(s*i)}return{center:r.getCenter(),zoom:r.getZoom()}}var wj=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.focusBlurEnabled=!0,e}return t.prototype.init=function(e,n){this._api=n},t.prototype.render=function(e,n,i,o){if(this._model=e,!e.get("show")){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;return}this._mapDraw||(this._mapDraw=new BR(i));var s=this._mapDraw;s.draw(e,n,i,this,o),s.group.on("click",this._handleRegionClick,this),s.group.silent=e.get("silent"),this.group.add(s.group),this.updateSelectStatus(e,n,i)},t.prototype._handleRegionClick=function(e){var n;_t(e.target,function(i){return(n=Un(i).eventData)!=null},!0),n&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:n.name})},t.prototype.updateSelectStatus=function(e,n,i){var o=this;this._mapDraw.group.traverse(function(s){var l=Un(s).eventData;if(l)return o._model.isSelected(l.name)?i.enterSelect(s):i.leaveSelect(s),!0})},t.prototype.findHighDownDispatchers=function(e){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(e,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}(a);function Ej(r,t,e){lv.registerMap(r,t,e)}function PR(r){r.registerCoordinateSystem("geo",NR),r.registerComponentModel(Cj),r.registerComponentView(wj),r.registerImpl("registerMap",Ej),r.registerImpl("getMap",function(e){return lv.getMapForUser(e)});function t(e,n){n.update="geo:updateSelectStatus",r.registerAction(n,function(i,o){var s={},l=[];return o.eachComponent({mainType:"geo",query:i},function(f){f[e](i.name);var v=f.coordinateSystem;Ne(v.regions,function(w){s[w.name]=f.isSelected(w.name)||!1});var C=[];Ne(s,function(w,x){s[x]&&C.push(x)}),l.push({geoIndex:f.componentIndex,name:C})}),{selected:s,allSelected:l,name:i.name}})}t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),r.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(e,n,i){var o=e.componentType||"series";n.eachComponent({mainType:o,query:e},function(s){var l=s.coordinateSystem;if(l.type==="geo"){var f=V8(l,e,s.get("scaleLimit"),i);s.setCenter&&s.setCenter(f.center),s.setZoom&&s.setZoom(f.zoom),o==="series"&&Ne(s.seriesGroup,function(v){v.setCenter(f.center),v.setZoom(f.zoom)})}})})}function Bj(r){Fi(PR),r.registerChartView(dj),r.registerSeriesModel(gj),r.registerLayout(yj),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,vj),pt("map",r.registerAction)}function kj(r){var t=r;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e=[t],n,i;n=e.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length,s=o-1;s>=0;s--){var l=i[s];l.hierNode={defaultAncestor:null,ancestor:l,prelim:0,modifier:0,change:0,shift:0,i:s,thread:null},e.push(l)}}function Qj(r,t){var e=r.isExpand?r.children:[],n=r.parentNode.children,i=r.hierNode.i?n[r.hierNode.i-1]:null;if(e.length){_j(r);var o=(e[0].hierNode.prelim+e[e.length-1].hierNode.prelim)/2;i?(r.hierNode.prelim=i.hierNode.prelim+t(r,i),r.hierNode.modifier=r.hierNode.prelim-o):r.hierNode.prelim=o}else i&&(r.hierNode.prelim=i.hierNode.prelim+t(r,i));r.parentNode.hierNode.defaultAncestor=Dj(r,i,r.parentNode.hierNode.defaultAncestor||n[0],t)}function xj(r){var t=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:t},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function GR(r){return arguments.length?r:Fj}function G4(r,t){return r-=Math.PI/2,{x:t*Math.cos(r),y:t*Math.sin(r)}}function Sj(r,t){return Mo(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function _j(r){for(var t=r.children,e=t.length,n=0,i=0;--e>=0;){var o=t[e];o.hierNode.prelim+=n,o.hierNode.modifier+=n,i+=o.hierNode.change,n+=o.hierNode.shift+i}}function Dj(r,t,e,n){if(t){for(var i=r,o=r,s=o.parentNode.children[0],l=t,f=i.hierNode.modifier,v=o.hierNode.modifier,C=s.hierNode.modifier,w=l.hierNode.modifier;l=Z8(l),o=X8(o),l&&o;){i=Z8(i),s=X8(s),i.hierNode.ancestor=r;var x=l.hierNode.prelim+w-o.hierNode.prelim-v+n(l,o);x>0&&(Mj(Rj(l,r,e),r,x),v+=x,f+=x),w+=l.hierNode.modifier,v+=o.hierNode.modifier,f+=i.hierNode.modifier,C+=s.hierNode.modifier}l&&!Z8(i)&&(i.hierNode.thread=l,i.hierNode.modifier+=w-f),o&&!X8(s)&&(s.hierNode.thread=o,s.hierNode.modifier+=v-C,e=r)}return e}function Z8(r){var t=r.children;return t.length&&r.isExpand?t[t.length-1]:r.hierNode.thread}function X8(r){var t=r.children;return t.length&&r.isExpand?t[0]:r.hierNode.thread}function Rj(r,t,e){return r.hierNode.ancestor.parentNode===t.parentNode?r.hierNode.ancestor:e}function Mj(r,t,e){var n=e/(t.hierNode.i-r.hierNode.i);t.hierNode.change-=n,t.hierNode.shift+=e,t.hierNode.modifier+=e,t.hierNode.prelim+=e,r.hierNode.change+=n}function Fj(r,t){return r.parentNode===t.parentNode?1:2}var Tj=function(){function r(){this.parentPoint=[],this.childPoints=[]}return r}(),Lj=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Tj},t.prototype.buildPath=function(e,n){var i=n.childPoints,o=i.length,s=n.parentPoint,l=i[0],f=i[o-1];if(o===1){e.moveTo(s[0],s[1]),e.lineTo(l[0],l[1]);return}var v=n.orient,C=v==="TB"||v==="BT"?0:1,w=1-C,x=jr(n.forkPosition,1),Q=[];Q[C]=s[C],Q[w]=s[w]+(f[w]-s[w])*x,e.moveTo(s[0],s[1]),e.lineTo(Q[0],Q[1]),e.moveTo(l[0],l[1]),Q[C]=l[C],e.lineTo(Q[0],Q[1]),Q[C]=f[C],e.lineTo(Q[0],Q[1]),e.lineTo(f[0],f[1]);for(var R=1;R<o-1;R++){var L=i[R];e.moveTo(L[0],L[1]),Q[C]=L[C],e.lineTo(Q[0],Q[1])}},t}(Si),Nj=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._mainGroup=new Nn,e}return t.prototype.init=function(e,n){this._controller=new N4(n.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,n,i){var o=e.getData(),s=e.layoutInfo,l=this._mainGroup,f=e.get("layout");f==="radial"?(l.x=s.x+s.width/2,l.y=s.y+s.height/2):(l.x=s.x,l.y=s.y),this._updateViewCoordSys(e,i),this._updateController(e,n,i);var v=this._data;o.diff(v).add(function(C){UR(o,C)&&jR(o,C,null,l,e)}).update(function(C,w){var x=v.getItemGraphicEl(w);if(!UR(o,C)){x&&JR(v,w,x,l,e);return}jR(o,C,x,l,e)}).remove(function(C){var w=v.getItemGraphicEl(C);w&&JR(v,C,w,l,e)}).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),e.get("expandAndCollapse")===!0&&o.eachItemGraphicEl(function(C,w){C.off("click").on("click",function(){i.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:w})})}),this._data=o},t.prototype._updateViewCoordSys=function(e,n){var i=e.getData(),o=[];i.each(function(w){var x=i.getItemLayout(w);x&&!isNaN(x.x)&&!isNaN(x.y)&&o.push([+x.x,+x.y])});var s=[],l=[];po(o,s,l);var f=this._min,v=this._max;l[0]-s[0]===0&&(s[0]=f?f[0]:s[0]-1,l[0]=v?v[0]:l[0]+1),l[1]-s[1]===0&&(s[1]=f?f[1]:s[1]-1,l[1]=v?v[1]:l[1]+1);var C=e.coordinateSystem=new P4;C.zoomLimit=e.get("scaleLimit"),C.setBoundingRect(s[0],s[1],l[0]-s[0],l[1]-s[1]),C.setCenter(e.get("center"),n),C.setZoom(e.get("zoom")),this.group.attr({x:C.x,y:C.y,scaleX:C.scaleX,scaleY:C.scaleY}),this._min=s,this._max=l},t.prototype._updateController=function(e,n,i){var o=this,s=this._controller,l=this._controllerHost,f=this.group;s.setPointerChecker(function(v,C,w){var x=f.getBoundingRect();return x.applyTransform(f.transform),x.contain(C,w)&&!e9(v,i,e)}),s.enable(e.get("roam")),l.zoomLimit=e.get("scaleLimit"),l.zoom=e.coordinateSystem.getZoom(),s.off("pan").off("zoom").on("pan",function(v){H8(l,v.dx,v.dy),i.dispatchAction({seriesId:e.id,type:"treeRoam",dx:v.dx,dy:v.dy})}).on("zoom",function(v){Y8(l,v.scale,v.originX,v.originY),i.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:v.scale,originX:v.originX,originY:v.originY}),o._updateNodeAndLinkScale(e),i.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(e){var n=e.getData(),i=this._getNodeGlobalScale(e);n.eachItemGraphicEl(function(o,s){o.setSymbolScale(i)})},t.prototype._getNodeGlobalScale=function(e){var n=e.coordinateSystem;if(n.type!=="view")return 1;var i=this._nodeScaleRatio,o=n.scaleX||1,s=n.getZoom(),l=(s-1)*i+1;return l/o},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},t.type="tree",t}(d);function UR(r,t){var e=r.getItemLayout(t);return e&&!isNaN(e.x)&&!isNaN(e.y)}function jR(r,t,e,n,i){var o=!e,s=r.tree.getNodeByDataIndex(t),l=s.getModel(),f=s.getVisual("style").fill,v=s.isExpand===!1&&s.children.length!==0?f:"#fff",C=r.tree.root,w=s.parentNode===C?s:s.parentNode||s,x=r.getItemGraphicEl(w.dataIndex),Q=w.getLayout(),R=x?{x:x.__oldX,y:x.__oldY,rawX:x.__radialOldRawX,rawY:x.__radialOldRawY}:Q,L=s.getLayout();o?(e=new fC(r,t,null,{symbolInnerColor:v,useNameLabel:!0}),e.x=R.x,e.y=R.y):e.updateData(r,t,null,{symbolInnerColor:v,useNameLabel:!0}),e.__radialOldRawX=e.__radialRawX,e.__radialOldRawY=e.__radialRawY,e.__radialRawX=L.rawX,e.__radialRawY=L.rawY,n.add(e),r.setItemGraphicEl(t,e),e.__oldX=e.x,e.__oldY=e.y,ga(e,{x:L.x,y:L.y},i);var P=e.getSymbolPath();if(i.get("layout")==="radial"){var M=C.children[0],k=M.getLayout(),G=M.children.length,Y=void 0,re=void 0;if(L.x===k.x&&s.isExpand===!0&&M.children.length){var ie={x:(M.children[0].getLayout().x+M.children[G-1].getLayout().x)/2,y:(M.children[0].getLayout().y+M.children[G-1].getLayout().y)/2};Y=Math.atan2(ie.y-k.y,ie.x-k.x),Y<0&&(Y=Math.PI*2+Y),re=ie.x<k.x,re&&(Y=Y-Math.PI)}else Y=Math.atan2(L.y-k.y,L.x-k.x),Y<0&&(Y=Math.PI*2+Y),s.children.length===0||s.children.length!==0&&s.isExpand===!1?(re=L.x<k.x,re&&(Y=Y-Math.PI)):(re=L.x>k.x,re||(Y=Y-Math.PI));var le=re?"left":"right",pe=l.getModel("label"),ve=pe.get("rotate"),Ee=ve*(Math.PI/180),Se=P.getTextContent();Se&&(P.setTextConfig({position:pe.get("position")||le,rotation:ve==null?-Y:Ee,origin:"center"}),Se.setStyle("verticalAlign","middle"))}var ke=l.get(["emphasis","focus"]),Le=ke==="relative"?x0(s.getAncestorsIndices(),s.getDescendantIndices()):ke==="ancestor"?s.getAncestorsIndices():ke==="descendant"?s.getDescendantIndices():null;Le&&(Un(e).focus=Le),Oj(i,s,C,e,R,Q,L,n),e.__edge&&(e.onHoverStateChange=function(be){if(be!=="blur"){var ze=s.parentNode&&r.getItemGraphicEl(s.parentNode.dataIndex);ze&&ze.hoverState===Mi||bp(e.__edge,be)}})}function Oj(r,t,e,n,i,o,s,l){var f=t.getModel(),v=r.get("edgeShape"),C=r.get("layout"),w=r.getOrient(),x=r.get(["lineStyle","curveness"]),Q=r.get("edgeForkPosition"),R=f.getModel("lineStyle").getLineStyle(),L=n.__edge;if(v==="curve")t.parentNode&&t.parentNode!==e&&(L||(L=n.__edge=new Bp({shape:$8(C,w,x,i,i)})),ga(L,{shape:$8(C,w,x,o,s)},r));else if(v==="polyline"&&C==="orthogonal"&&t!==e&&t.children&&t.children.length!==0&&t.isExpand===!0){for(var P=t.children,M=[],k=0;k<P.length;k++){var G=P[k].getLayout();M.push([G.x,G.y])}L||(L=n.__edge=new Lj({shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]],orient:w,forkPosition:Q}})),ga(L,{shape:{parentPoint:[s.x,s.y],childPoints:M}},r)}L&&!(v==="polyline"&&!t.isExpand)&&(L.useStyle(pn({strokeNoScale:!0,fill:null},R)),hu(L,f,"lineStyle"),xl(L),l.add(L))}function HR(r,t,e,n,i){var o=t.tree.root,s=YR(o,r),l=s.source,f=s.sourceLayout,v=t.getItemGraphicEl(r.dataIndex);if(v){var C=t.getItemGraphicEl(l.dataIndex),w=C.__edge,x=v.__edge||(l.isExpand===!1||l.children.length===1?w:void 0),Q=n.get("edgeShape"),R=n.get("layout"),L=n.get("orient"),P=n.get(["lineStyle","curveness"]);x&&(Q==="curve"?Nh(x,{shape:$8(R,L,P,f,f),style:{opacity:0}},n,{cb:function(){e.remove(x)},removeOpt:i}):Q==="polyline"&&n.get("layout")==="orthogonal"&&Nh(x,{shape:{parentPoint:[f.x,f.y],childPoints:[[f.x,f.y]]},style:{opacity:0}},n,{cb:function(){e.remove(x)},removeOpt:i}))}}function YR(r,t){for(var e=t.parentNode===r?t:t.parentNode||t,n;n=e.getLayout(),n==null;)e=e.parentNode===r?e:e.parentNode||e;return{source:e,sourceLayout:n}}function JR(r,t,e,n,i){var o=r.tree.getNodeByDataIndex(t),s=r.tree.root,l=YR(s,o).sourceLayout,f={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};Nh(e,{x:l.x+1,y:l.y+1},i,{cb:function(){n.remove(e),r.setItemGraphicEl(t,null)},removeOpt:f}),e.fadeOut(null,r.hostModel,{fadeLabel:!0,animation:f}),o.children.forEach(function(v){HR(v,r,n,i,f)}),HR(o,r,n,i,f)}function $8(r,t,e,n,i){var o,s,l,f,v,C,w,x;if(r==="radial"){v=n.rawX,w=n.rawY,C=i.rawX,x=i.rawY;var Q=G4(v,w),R=G4(v,w+(x-w)*e),L=G4(C,x+(w-x)*e),P=G4(C,x);return{x1:Q.x||0,y1:Q.y||0,x2:P.x||0,y2:P.y||0,cpx1:R.x||0,cpy1:R.y||0,cpx2:L.x||0,cpy2:L.y||0}}else v=n.x,w=n.y,C=i.x,x=i.y,(t==="LR"||t==="RL")&&(o=v+(C-v)*e,s=w,l=C+(v-C)*e,f=x),(t==="TB"||t==="BT")&&(o=v,s=w+(x-w)*e,l=C,f=x+(w-x)*e);return{x1:v,y1:w,x2:C,y2:x,cpx1:o,cpy1:s,cpx2:l,cpy2:f}}var id=Vi();function WR(r){var t=r.mainData,e=r.datas;e||(e={main:t},r.datasAttr={main:"data"}),r.datas=r.mainData=null,qR(t,e,r),Ne(e,function(n){Ne(t.TRANSFERABLE_METHODS,function(i){n.wrapMethod(i,ni(Pj,r))})}),t.wrapMethod("cloneShallow",ni(Uj,r)),Ne(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,ni(Gj,r))}),tc(e[t.dataType]===t)}function Pj(r,t){if(Yj(this)){var e=ar({},id(this).datas);e[this.dataType]=t,qR(t,e,r)}else eS(t,this.dataType,id(this).mainData,r);return t}function Gj(r,t){return r.struct&&r.struct.update(),t}function Uj(r,t){return Ne(id(t).datas,function(e,n){e!==t&&eS(e.cloneShallow(),n,t,r)}),t}function jj(r){var t=id(this).mainData;return r==null||t==null?t:id(t).datas[r]}function Hj(){var r=id(this).mainData;return r==null?[{data:r}]:pr(fi(id(r).datas),function(t){return{type:t,data:id(r).datas[t]}})}function Yj(r){return id(r).mainData===r}function qR(r,t,e){id(r).datas={},Ne(t,function(n,i){eS(n,i,r,e)})}function eS(r,t,e,n){id(e).datas[t]=r,id(r).mainData=e,r.dataType=t,n.struct&&(r[n.structAttr]=n.struct,n.struct[n.datasAttr[t]]=r),r.getLinkedData=jj,r.getLinkedDataAll=Hj}var Jj=function(){function r(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return r.prototype.isRemoved=function(){return this.dataIndex<0},r.prototype.eachNode=function(t,e,n){bn(t)&&(n=e,e=t,t=null),t=t||{},en(t)&&(t={order:t});var i=t.order||"preorder",o=this[t.attr||"children"],s;i==="preorder"&&(s=e.call(n,this));for(var l=0;!s&&l<o.length;l++)o[l].eachNode(t,e,n);i==="postorder"&&e.call(n,this)},r.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},r.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var o=n[e].getNodeById(t);if(o)return o}},r.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var o=n[e].contains(t);if(o)return o}},r.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},r.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},r.prototype.getDescendantIndices=function(){var t=[];return this.eachNode(function(e){t.push(e.dataIndex)}),t},r.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},r.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},r.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},r.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},r.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},r.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},r.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},r.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},r.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},r.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},r.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},r.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},r}(),tS=function(){function r(t){this.type="tree",this._nodes=[],this.hostModel=t}return r.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},r.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},r.prototype.getNodeById=function(t){return this.root.getNodeById(t)},r.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(var n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},r.prototype.clearLayouts=function(){this.data.clearItemLayouts()},r.createTree=function(t,e,n){var i=new r(e),o=[],s=1;l(t);function l(C,w){var x=C.value;s=Math.max(s,yr(x)?x.length:1),o.push(C);var Q=new Jj(es(C.name,""),i);w?Wj(Q,w):i.root=Q,i._nodes.push(Q);var R=C.children;if(R)for(var L=0;L<R.length;L++)l(R[L],Q)}i.root.updateDepthAndHeight(0);var f=jb(o,{coordDimensions:["value"],dimensionsCount:s}).dimensions,v=new sl(f,e);return v.initData(o),n&&n(v),WR({mainData:v,struct:i,structAttr:"tree"}),i.update(),i},r}();function Wj(r,t){var e=t.children;r.parentNode!==t&&(e.push(r),r.parentNode=t)}function U4(r,t,e){if(r&&Vn(t,r.type)>=0){var n=e.getData().tree.root,i=r.targetNode;if(en(i)&&(i=n.getNodeById(i)),i&&n.contains(i))return{node:i};var o=r.targetNodeId;if(o!=null&&(i=n.getNodeById(o)))return{node:i}}}function zR(r){for(var t=[];r;)r=r.parentNode,r&&t.push(r);return t.reverse()}function rS(r,t){var e=zR(r);return Vn(e,t)>=0}function a9(r,t){for(var e=[];r;){var n=r.dataIndex;e.push({name:r.name,dataIndex:n,value:t.getRawValue(n)}),r=r.parentNode}return e.reverse(),e}var qj=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return t.prototype.getInitialData=function(e){var n={name:e.name,children:e.data},i=e.leaves||{},o=new Ia(i,this,this.ecModel),s=tS.createTree(n,this,l);function l(w){w.wrapMethod("getItemModel",function(x,Q){var R=s.getNodeByDataIndex(Q);return R&&R.children.length&&R.isExpand||(x.parentModel=o),x})}var f=0;s.eachNode("preorder",function(w){w.depth>f&&(f=w.depth)});var v=e.expandAndCollapse,C=v&&e.initialTreeDepth>=0?e.initialTreeDepth:f;return s.root.eachNode("preorder",function(w){var x=w.hostTree.data.getRawDataItem(w.dataIndex);w.isExpand=x&&x.collapsed!=null?!x.collapsed:w.depth<=C}),s.data},t.prototype.getOrient=function(){var e=this.get("orient");return e==="horizontal"?e="LR":e==="vertical"&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,n,i){for(var o=this.getData().tree,s=o.root.children[0],l=o.getNodeByDataIndex(e),f=l.getValue(),v=l.name;l&&l!==s;)v=l.parentNode.name+"."+v,l=l.parentNode;return Xs("nameValue",{name:v,value:f,noValue:isNaN(f)||f==null})},t.prototype.getDataParams=function(e){var n=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=a9(i,this),n.collapsed=!i.isExpand,n},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(no);function zj(r,t,e){for(var n=[r],i=[],o;o=n.pop();)if(i.push(o),o.isExpand){var s=o.children;if(s.length)for(var l=0;l<s.length;l++)n.push(s[l])}for(;o=i.pop();)t(o,e)}function j4(r,t){for(var e=[r],n;n=e.pop();)if(t(n),n.isExpand){var i=n.children;if(i.length)for(var o=i.length-1;o>=0;o--)e.push(i[o])}}function Kj(r,t){r.eachSeriesByType("tree",function(e){Vj(e,t)})}function Vj(r,t){var e=Sj(r,t);r.layoutInfo=e;var n=r.get("layout"),i=0,o=0,s=null;n==="radial"?(i=2*Math.PI,o=Math.min(e.height,e.width)/2,s=GR(function(G,Y){return(G.parentNode===Y.parentNode?1:2)/G.depth})):(i=e.width,o=e.height,s=GR());var l=r.getData().tree.root,f=l.children[0];if(f){kj(l),zj(f,Qj,s),l.hierNode.modifier=-f.hierNode.prelim,j4(f,xj);var v=f,C=f,w=f;j4(f,function(G){var Y=G.getLayout().x;Y<v.getLayout().x&&(v=G),Y>C.getLayout().x&&(C=G),G.depth>w.depth&&(w=G)});var x=v===C?1:s(v,C)/2,Q=x-v.getLayout().x,R=0,L=0,P=0,M=0;if(n==="radial")R=i/(C.getLayout().x+x+Q),L=o/(w.depth-1||1),j4(f,function(G){P=(G.getLayout().x+Q)*R,M=(G.depth-1)*L;var Y=G4(P,M);G.setLayout({x:Y.x,y:Y.y,rawX:P,rawY:M},!0)});else{var k=r.getOrient();k==="RL"||k==="LR"?(L=o/(C.getLayout().x+x+Q),R=i/(w.depth-1||1),j4(f,function(G){M=(G.getLayout().x+Q)*L,P=k==="LR"?(G.depth-1)*R:i-(G.depth-1)*R,G.setLayout({x:P,y:M},!0)})):(k==="TB"||k==="BT")&&(R=i/(C.getLayout().x+x+Q),L=o/(w.depth-1||1),j4(f,function(G){P=(G.getLayout().x+Q)*R,M=k==="TB"?(G.depth-1)*L:o-(G.depth-1)*L,G.setLayout({x:P,y:M},!0)}))}}}function Zj(r){r.eachSeriesByType("tree",function(t){var e=t.getData(),n=e.tree;n.eachNode(function(i){var o=i.getModel(),s=o.getModel("itemStyle").getItemStyle(),l=e.ensureUniqueItemVisual(i.dataIndex,"style");ar(l,s)})})}function Xj(r){r.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(n){var i=t.dataIndex,o=n.getData().tree,s=o.getNodeByDataIndex(i);s.isExpand=!s.isExpand})}),r.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},function(i){var o=i.coordinateSystem,s=V8(o,t,void 0,n);i.setCenter&&i.setCenter(s.center),i.setZoom&&i.setZoom(s.zoom)})})}function $j(r){r.registerChartView(Nj),r.registerSeriesModel(qj),r.registerLayout(Kj),r.registerVisual(Zj),Xj(r)}var KR=["treemapZoomToNode","treemapRender","treemapMove"];function eH(r){for(var t=0;t<KR.length;t++)r.registerAction({type:KR[t],update:"updateView"},$o);r.registerAction({type:"treemapRootToNode",update:"updateView"},function(e,n){n.eachComponent({mainType:"series",subType:"treemap",query:e},i);function i(o,s){var l=["treemapZoomToNode","treemapRootToNode"],f=U4(e,l,o);if(f){var v=o.getViewRoot();v&&(e.direction=rS(v,f.node)?"rollUp":"drillDown"),o.resetViewRoot(f.node)}}})}function VR(r){var t=r.getData(),e=t.tree,n={};e.eachNode(function(i){for(var o=i;o&&o.depth>1;)o=o.parentNode;var s=lb(r.ecModel,o.name||o.dataIndex+"",n);i.setVisual("decal",s)})}var tH=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.preventUsingHoverLayer=!0,e}return t.prototype.getInitialData=function(e,n){var i={name:e.name,children:e.data};ZR(i);var o=e.levels||[],s=this.designatedVisualItemStyle={},l=new Ia({itemStyle:s},this,n);o=e.levels=rH(o,n);var f=pr(o||[],function(w){return new Ia(w,l,n)},this),v=tS.createTree(i,this,C);function C(w){w.wrapMethod("getItemModel",function(x,Q){var R=v.getNodeByDataIndex(Q),L=R?f[R.depth]:null;return x.parentModel=L||l,x})}return v.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,n,i){var o=this.getData(),s=this.getRawValue(e),l=o.getName(e);return Xs("nameValue",{name:l,value:s})},t.prototype.getDataParams=function(e){var n=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=a9(i,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},ar(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var n=this._idIndexMap;n||(n=this._idIndexMap=mn(),this._idIndexMapCount=0);var i=n.get(e);return i==null&&n.set(e,i=this._idIndexMapCount++),i},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var n=this.getRawData().tree.root;(!e||e!==n&&!n.contains(e))&&(this._viewRoot=n)},t.prototype.enableAriaDecal=function(){VR(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(no);function ZR(r){var t=0;Ne(r.children,function(n){ZR(n);var i=n.value;yr(i)&&(i=i[0]),t+=i});var e=r.value;yr(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=t),e<0&&(e=0),yr(r.value)?r.value[0]=e:r.value=e}function rH(r,t){var e=ja(t.get("color")),n=ja(t.get(["aria","decal","decals"]));if(e){r=r||[];var i,o;Ne(r,function(l){var f=new Ia(l),v=f.get("color"),C=f.get("decal");(f.get(["itemStyle","color"])||v&&v!=="none")&&(i=!0),(f.get(["itemStyle","decal"])||C&&C!=="none")&&(o=!0)});var s=r[0]||(r[0]={});return i||(s.color=e.slice()),!o&&n&&(s.decal=n.slice()),r}}var nH=8,XR=8,nS=5,iH=function(){function r(t){this.group=new Nn,t.add(this.group)}return r.prototype.render=function(t,e,n,i){var o=t.getModel("breadcrumb"),s=this.group;if(s.removeAll(),!(!o.get("show")||!n)){var l=o.getModel("itemStyle"),f=o.getModel("emphasis"),v=l.getModel("textStyle"),C=f.getModel(["itemStyle","textStyle"]),w={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,w,v),this._renderContent(t,w,l,f,v,C,i),OA(s,w.pos,w.box)}},r.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var o=es(i.getModel().get("name"),""),s=n.getTextRect(o),l=Math.max(s.width+nH*2,e.emptyItemWidth);e.totalWidth+=l+XR,e.renderList.push({node:i,text:o,width:l})}},r.prototype._renderContent=function(t,e,n,i,o,s,l){for(var f=0,v=e.emptyItemWidth,C=t.get(["breadcrumb","height"]),w=R1(e.pos,e.box),x=e.totalWidth,Q=e.renderList,R=i.getModel("itemStyle").getItemStyle(),L=Q.length-1;L>=0;L--){var P=Q[L],M=P.node,k=P.width,G=P.text;x>w.width&&(x-=k-v,k=v,G=null);var Y=new Yu({shape:{points:aH(f,0,k,C,L===Q.length-1,L===0)},style:pn(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Mn({style:La(o,{text:G})}),textConfig:{position:"inside"},z2:Ip*1e4,onclick:ni(l,M)});Y.disableLabelAnimation=!0,Y.getTextContent().ensureState("emphasis").style=La(s,{text:G}),Y.ensureState("emphasis").style=R,uo(Y,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(Y),oH(Y,t,M),f+=k+XR}},r.prototype.remove=function(){this.group.removeAll()},r}();function aH(r,t,e,n,i,o){var s=[[i?r:r-nS,t],[r+e,t],[r+e,t+n],[i?r:r-nS,t+n]];return!o&&s.splice(2,0,[r+e+nS,t+n/2]),!i&&s.push([r,t+n/2]),s}function oH(r,t,e){Un(r).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&a9(e,t)}}var sH=function(){function r(){this._storage=[],this._elExistsMap={}}return r.prototype.add=function(t,e,n,i,o){return this._elExistsMap[t.id]?!1:(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:o}),!0)},r.prototype.finished=function(t){return this._finishedCallback=t,this},r.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){e--,e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,o=this._storage.length;i<o;i++){var s=this._storage[i];s.el.animateTo(s.target,{duration:s.duration,delay:s.delay,easing:s.easing,setToFinal:!0,done:n,aborted:n})}return this},r}();function uH(){return new sH}var iS=Nn,$R=ta,eM=3,tM="label",rM="upperLabel",cH=Ip*10,lH=Ip*2,hH=Ip*3,yC=pA([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),nM=function(r){var t=yC(r);return t.stroke=t.fill=t.lineWidth=null,t},o9=Vi(),fH=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._state="ready",e._storage=H4(),e}return t.prototype.render=function(e,n,i,o){var s=n.findComponents({mainType:"series",subType:"treemap",query:o});if(!(Vn(s,e)<0)){this.seriesModel=e,this.api=i,this.ecModel=n;var l=["treemapZoomToNode","treemapRootToNode"],f=U4(o,l,e),v=o&&o.type,C=e.layoutInfo,w=!this._oldTree,x=this._storage,Q=v==="treemapRootToNode"&&f&&x?{rootNodeGroup:x.nodeGroup[f.node.getRawIndex()],direction:o.direction}:null,R=this._giveContainerGroup(C),L=e.get("animation"),P=this._doRender(R,e,Q);L&&!w&&(!v||v==="treemapZoomToNode"||v==="treemapRootToNode")?this._doAnimation(R,P,e,Q):P.renderFinally(),this._resetController(i),this._renderBreadcrumb(e,i,f)}},t.prototype._giveContainerGroup=function(e){var n=this._containerGroup;return n||(n=this._containerGroup=new iS,this._initEvents(n),this.group.add(n)),n.x=e.x,n.y=e.y,n},t.prototype._doRender=function(e,n,i){var o=n.getData().tree,s=this._oldTree,l=H4(),f=H4(),v=this._storage,C=[];function w(k,G,Y,re){return AH(n,f,v,i,l,C,k,G,Y,re)}L(o.root?[o.root]:[],s&&s.root?[s.root]:[],e,o===s||!s,0);var x=P(v);if(this._oldTree=o,this._storage=f,this._controllerHost){var Q=this.seriesModel.layoutInfo,R=o.root.getLayout();R.width===Q.width&&R.height===Q.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:l,willDeleteEls:x,renderFinally:M};function L(k,G,Y,re,ie){re?(G=k,Ne(k,function(ve,Ee){!ve.isRemoved()&&pe(Ee,Ee)})):new Wh(G,k,le,le).add(pe).update(pe).remove(ni(pe,null)).execute();function le(ve){return ve.getId()}function pe(ve,Ee){var Se=ve!=null?k[ve]:null,ke=Ee!=null?G[Ee]:null,Le=w(Se,ke,Y,ie);Le&&L(Se&&Se.viewChildren||[],ke&&ke.viewChildren||[],Le,re,ie+1)}}function P(k){var G=H4();return k&&Ne(k,function(Y,re){var ie=G[re];Ne(Y,function(le){le&&(ie.push(le),o9(le).willDelete=!0)})}),G}function M(){Ne(x,function(k){Ne(k,function(G){G.parent&&G.parent.remove(G)})}),Ne(C,function(k){k.invisible=!0,k.dirty()})}},t.prototype._doAnimation=function(e,n,i,o){var s=i.get("animationDurationUpdate"),l=i.get("animationEasing"),f=(bn(s)?0:s)||0,v=(bn(l)?null:l)||"cubicOut",C=uH();Ne(n.willDeleteEls,function(w,x){Ne(w,function(Q,R){if(!Q.invisible){var L=Q.parent,P,M=o9(L);if(o&&o.direction==="drillDown")P=L===o.rootNodeGroup?{shape:{x:0,y:0,width:M.nodeWidth,height:M.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var k=0,G=0;M.willDelete||(k=M.nodeWidth/2,G=M.nodeHeight/2),P=x==="nodeGroup"?{x:k,y:G,style:{opacity:0}}:{shape:{x:k,y:G,width:0,height:0},style:{opacity:0}}}P&&C.add(Q,P,f,0,v)}})}),Ne(this._storage,function(w,x){Ne(w,function(Q,R){var L=n.lastsForAnimation[x][R],P={};L&&(Q instanceof Nn?L.oldX!=null&&(P.x=Q.x,P.y=Q.y,Q.x=L.oldX,Q.y=L.oldY):(L.oldShape&&(P.shape=ar({},Q.shape),Q.setShape(L.oldShape)),L.fadein?(Q.setStyle("opacity",0),P.style={opacity:1}):Q.style.opacity!==1&&(P.style={opacity:1})),C.add(Q,P,f,0,v))})},this),this._state="animating",C.finished(an(function(){this._state="ready",n.renderFinally()},this)).start()},t.prototype._resetController=function(e){var n=this._controller,i=this._controllerHost;i||(this._controllerHost={target:this.group},i=this._controllerHost),n||(n=this._controller=new N4(e.getZr()),n.enable(this.seriesModel.get("roam")),i.zoomLimit=this.seriesModel.get("scaleLimit"),i.zoom=this.seriesModel.get("zoom"),n.on("pan",an(this._onPan,this)),n.on("zoom",an(this._onZoom,this)));var o=new gi(0,0,e.getWidth(),e.getHeight());n.setPointerChecker(function(s,l,f){return o.contain(l,f)})},t.prototype._clearController=function(){var e=this._controller;this._controllerHost=null,e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if(this._state!=="animating"&&(Math.abs(e.dx)>eM||Math.abs(e.dy)>eM)){var n=this.seriesModel.getData().tree.root;if(!n)return;var i=n.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+e.dx,y:i.y+e.dy,width:i.width,height:i.height}})}},t.prototype._onZoom=function(e){var n=e.originX,i=e.originY,o=e.scale;if(this._state!=="animating"){var s=this.seriesModel.getData().tree.root;if(!s)return;var l=s.getLayout();if(!l)return;var f=new gi(l.x,l.y,l.width,l.height),v=null,C=this._controllerHost;v=C.zoomLimit;var w=C.zoom=C.zoom||1;if(w*=o,v){var x=v.min||0,Q=v.max||1/0;w=Math.max(Math.min(Q,w),x)}var R=w/C.zoom;C.zoom=w;var L=this.seriesModel.layoutInfo;n-=L.x,i-=L.y;var P=Lu();Hs(P,P,[-n,-i]),Rv(P,P,[R,R]),Hs(P,P,[n,i]),f.applyTransform(P),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:f.x,y:f.y,width:f.width,height:f.height}})}},t.prototype._initEvents=function(e){var n=this;e.on("click",function(i){if(n._state==="ready"){var o=n.seriesModel.get("nodeClick",!0);if(o){var s=n.findTarget(i.offsetX,i.offsetY);if(s){var l=s.node;if(l.getLayout().isLeafRoot)n._rootToNode(s);else if(o==="zoomToNode")n._zoomToNode(s);else if(o==="link"){var f=l.hostTree.data.getItemModel(l.dataIndex),v=f.get("link",!0),C=f.get("target",!0)||"blank";v&&nm(v,C)}}}}},this)},t.prototype._renderBreadcrumb=function(e,n,i){var o=this;i||(i=e.get("leafDepth",!0)!=null?{node:e.getViewRoot()}:this.findTarget(n.getWidth()/2,n.getHeight()/2),i||(i={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new iH(this.group))).render(e,n,i.node,function(s){o._state!=="animating"&&(rS(e.getViewRoot(),s)?o._rootToNode({node:s}):o._zoomToNode({node:s}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=H4(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,n){var i,o=this.seriesModel.getViewRoot();return o.eachNode({attr:"viewChildren",order:"preorder"},function(s){var l=this._storage.background[s.getRawIndex()];if(l){var f=l.transformCoordToLocal(e,n),v=l.shape;if(v.x<=f[0]&&f[0]<=v.x+v.width&&v.y<=f[1]&&f[1]<=v.y+v.height)i={node:s,offsetX:f[0],offsetY:f[1]};else return!1}},this),i},t.type="treemap",t}(d);function H4(){return{nodeGroup:[],background:[],content:[]}}function AH(r,t,e,n,i,o,s,l,f,v){if(!s)return;var C=s.getLayout(),w=r.getData(),x=s.getModel();if(w.setItemGraphicEl(s.dataIndex,null),!C||!C.isInView)return;var Q=C.width,R=C.height,L=C.borderWidth,P=C.invisible,M=s.getRawIndex(),k=l&&l.getRawIndex(),G=s.viewChildren,Y=C.upperHeight,re=G&&G.length,ie=x.getModel("itemStyle"),le=x.getModel(["emphasis","itemStyle"]),pe=x.getModel(["blur","itemStyle"]),ve=x.getModel(["select","itemStyle"]),Ee=ie.get("borderRadius")||0,Se=ir("nodeGroup",iS);if(!Se)return;if(f.add(Se),Se.x=C.x||0,Se.y=C.y||0,Se.markRedraw(),o9(Se).nodeWidth=Q,o9(Se).nodeHeight=R,C.isAboveViewRoot)return Se;var ke=ir("background",$R,v,lH);ke&&Gt(Se,ke,re&&C.upperLabelHeight);var Le=x.getModel("emphasis"),be=Le.get("focus"),ze=Le.get("blurScope"),ut=Le.get("disabled"),ft=be==="ancestor"?s.getAncestorsIndices():be==="descendant"?s.getDescendantIndices():be;if(re)Pu(Se)&&SA(Se,!1),ke&&(SA(ke,!ut),w.setItemGraphicEl(s.dataIndex,ke),xA(ke,ft,ze));else{var Qt=ir("content",$R,v,hH);Qt&&Ct(Se,Qt),ke.disableMorphing=!0,ke&&Pu(ke)&&SA(ke,!1),SA(Se,!ut),w.setItemGraphicEl(s.dataIndex,Se);var vt=x.getShallow("cursor");vt&&Qt.attr("cursor",vt),xA(Se,ft,ze)}return Se;function Gt(Vr,qr,Tn){var zr=Un(qr);if(zr.dataIndex=s.dataIndex,zr.seriesIndex=r.seriesIndex,qr.setShape({x:0,y:0,width:Q,height:R,r:Ee}),P)St(qr);else{qr.invisible=!1;var Qn=s.getVisual("style"),Yi=Qn.stroke,Pe=nM(ie);Pe.fill=Yi;var hr=yC(le);hr.fill=le.get("borderColor");var rr=yC(pe);rr.fill=pe.get("borderColor");var Bt=yC(ve);if(Bt.fill=ve.get("borderColor"),Tn){var wt=Q-2*L;dr(qr,Yi,Qn.opacity,{x:L,y:0,width:wt,height:Y})}else qr.removeTextContent();qr.setStyle(Pe),qr.ensureState("emphasis").style=hr,qr.ensureState("blur").style=rr,qr.ensureState("select").style=Bt,xl(qr)}Vr.add(qr)}function Ct(Vr,qr){var Tn=Un(qr);Tn.dataIndex=s.dataIndex,Tn.seriesIndex=r.seriesIndex;var zr=Math.max(Q-2*L,0),Qn=Math.max(R-2*L,0);if(qr.culling=!0,qr.setShape({x:L,y:L,width:zr,height:Qn,r:Ee}),P)St(qr);else{qr.invisible=!1;var Yi=s.getVisual("style"),Pe=Yi.fill,hr=nM(ie);hr.fill=Pe,hr.decal=Yi.decal;var rr=yC(le),Bt=yC(pe),wt=yC(ve);dr(qr,Pe,Yi.opacity,null),qr.setStyle(hr),qr.ensureState("emphasis").style=rr,qr.ensureState("blur").style=Bt,qr.ensureState("select").style=wt,xl(qr)}Vr.add(qr)}function St(Vr){!Vr.invisible&&o.push(Vr)}function dr(Vr,qr,Tn,zr){var Qn=x.getModel(zr?rM:tM),Yi=es(x.get("name"),null),Pe=Qn.getShallow("show");Uo(Vr,_s(x,zr?rM:tM),{defaultText:Pe?Yi:null,inheritColor:qr,defaultOpacity:Tn,labelFetcher:r,labelDataIndex:s.dataIndex});var hr=Vr.getTextContent();if(hr){var rr=hr.style,Bt=yl(rr.padding||0);zr&&(Vr.setTextConfig({layoutRect:zr}),hr.disableLabelLayout=!0),hr.beforeUpdate=function(){var Yt=Math.max((zr?zr.width:Vr.shape.width)-Bt[1]-Bt[3],0),Br=Math.max((zr?zr.height:Vr.shape.height)-Bt[0]-Bt[2],0);(rr.width!==Yt||rr.height!==Br)&&hr.setStyle({width:Yt,height:Br})},rr.truncateMinChar=2,rr.lineOverflow="truncate",ur(rr,zr,C);var wt=hr.getState("emphasis");ur(wt?wt.style:null,zr,C)}}function ur(Vr,qr,Tn){var zr=Vr?Vr.text:null;if(!qr&&Tn.isLeafRoot&&zr!=null){var Qn=r.get("drillDownIcon",!0);Vr.text=Qn?Qn+" "+zr:zr}}function ir(Vr,qr,Tn,zr){var Qn=k!=null&&e[Vr][k],Yi=i[Vr];return Qn?(e[Vr][k]=null,Fn(Yi,Qn)):P||(Qn=new qr,Qn instanceof ii&&(Qn.z2=dH(Tn,zr)),Ei(Yi,Qn)),t[Vr][M]=Qn}function Fn(Vr,qr){var Tn=Vr[M]={};qr instanceof iS?(Tn.oldX=qr.x,Tn.oldY=qr.y):Tn.oldShape=ar({},qr.shape)}function Ei(Vr,qr){var Tn=Vr[M]={},zr=s.parentNode,Qn=qr instanceof Nn;if(zr&&(!n||n.direction==="drillDown")){var Yi=0,Pe=0,hr=i.background[zr.getRawIndex()];!n&&hr&&hr.oldShape&&(Yi=hr.oldShape.width,Pe=hr.oldShape.height),Qn?(Tn.oldX=0,Tn.oldY=Pe):Tn.oldShape={x:Yi,y:Pe,width:0,height:0}}Tn.fadein=!Qn}}function dH(r,t){return r*cH+t}var Y4=Ne,gH=Ln,s9=-1,Ic=function(){function r(t){var e=t.mappingMethod,n=t.type,i=this.option=Bn(t);this.type=n,this.mappingMethod=e,this._normalizeData=yH[e];var o=r.visualHandlers[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[e],e==="piecewise"?(aS(i),pH(i)):e==="category"?i.categories?vH(i):aS(i,!0):(tc(e!=="linear"||i.dataExtent),aS(i))}return r.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},r.prototype.getNormalizer=function(){return an(this._normalizeData,this)},r.listVisualTypes=function(){return fi(r.visualHandlers)},r.isValidType=function(t){return r.visualHandlers.hasOwnProperty(t)},r.eachVisual=function(t,e,n){Ln(t)?Ne(t,e,n):e.call(n,t)},r.mapVisual=function(t,e,n){var i,o=yr(t)?[]:Ln(t)?{}:(i=!0,null);return r.eachVisual(t,function(s,l){var f=e.call(n,s,l);i?o=f:o[l]=f}),o},r.retrieveVisuals=function(t){var e={},n;return t&&Y4(r.visualHandlers,function(i,o){t.hasOwnProperty(o)&&(e[o]=t[o],n=!0)}),n?e:null},r.prepareVisualTypes=function(t){if(yr(t))t=t.slice();else if(gH(t)){var e=[];Y4(t,function(n,i){e.push(i)}),t=e}else return[];return t.sort(function(n,i){return i==="color"&&n!=="color"&&n.indexOf("color")===0?1:-1}),t},r.dependsOn=function(t,e){return e==="color"?!!(t&&t.indexOf(e)===0):t===e},r.findPieceIndex=function(t,e,n){for(var i,o=1/0,s=0,l=e.length;s<l;s++){var f=e[s].value;if(f!=null){if(f===t||en(f)&&f===t+"")return s;n&&x(f,s)}}for(var s=0,l=e.length;s<l;s++){var v=e[s],C=v.interval,w=v.close;if(C){if(C[0]===-1/0){if(c9(w[1],t,C[1]))return s}else if(C[1]===1/0){if(c9(w[0],C[0],t))return s}else if(c9(w[0],C[0],t)&&c9(w[1],t,C[1]))return s;n&&x(C[0],s),n&&x(C[1],s)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function x(Q,R){var L=Math.abs(Q-t);L<o&&(o=L,i=R)}},r.visualHandlers={color:{applyVisual:J4("color"),getColorMapper:function(){var t=this.option;return an(t.mappingMethod==="category"?function(e,n){return!n&&(e=this._normalizeData(e)),W4.call(this,e)}:function(e,n,i){var o=!!i;return!n&&(e=this._normalizeData(e)),i=jv(e,t.parsedVisual,i),o?i:cf(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return cf(jv(t,this.option.parsedVisual),"rgba")},category:W4,piecewise:function(t,e){var n=sS.call(this,e);return n==null&&(n=cf(jv(t,this.option.parsedVisual),"rgba")),n},fixed:mC}},colorHue:u9(function(t,e){return Vg(t,e)}),colorSaturation:u9(function(t,e){return Vg(t,null,e)}),colorLightness:u9(function(t,e){return Vg(t,null,null,e)}),colorAlpha:u9(function(t,e){return Zg(t,e)}),decal:{applyVisual:J4("decal"),_normalizedToVisual:{linear:null,category:W4,piecewise:null,fixed:null}},opacity:{applyVisual:J4("opacity"),_normalizedToVisual:oS([0,1])},liftZ:{applyVisual:J4("liftZ"),_normalizedToVisual:{linear:mC,category:mC,piecewise:mC,fixed:mC}},symbol:{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);n("symbol",i)},_normalizedToVisual:{linear:iM,category:W4,piecewise:function(t,e){var n=sS.call(this,e);return n==null&&(n=iM.call(this,t)),n},fixed:mC}},symbolSize:{applyVisual:J4("symbolSize"),_normalizedToVisual:oS([0,1])}},r}();function pH(r){var t=r.pieceList;r.hasSpecialVisual=!1,Ne(t,function(e,n){e.originIndex=n,e.visual!=null&&(r.hasSpecialVisual=!0)})}function vH(r){var t=r.categories,e=r.categoryMap={},n=r.visual;if(Y4(t,function(s,l){e[s]=l}),!yr(n)){var i=[];Ln(n)?Y4(n,function(s,l){var f=e[l];i[f??s9]=s}):i[s9]=n,n=aM(r,i)}for(var o=t.length-1;o>=0;o--)n[o]==null&&(delete e[t[o]],t.pop())}function aS(r,t){var e=r.visual,n=[];Ln(e)?Y4(e,function(o){n.push(o)}):e!=null&&n.push(e);var i={color:1,symbol:1};!t&&n.length===1&&!i.hasOwnProperty(r.type)&&(n[1]=n[0]),aM(r,n)}function u9(r){return{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);n("color",r(e("color"),i))},_normalizedToVisual:oS([0,1])}}function iM(r){var t=this.option.visual;return t[Math.round(ea(r,[0,1],[0,t.length-1],!0))]||{}}function J4(r){return function(t,e,n){n(r,this.mapValueToVisual(t))}}function W4(r){var t=this.option.visual;return t[this.option.loop&&r!==s9?r%t.length:r]}function mC(){return this.option.visual[0]}function oS(r){return{linear:function(t){return ea(t,r,this.option.visual,!0)},category:W4,piecewise:function(t,e){var n=sS.call(this,e);return n==null&&(n=ea(t,r,this.option.visual,!0)),n},fixed:mC}}function sS(r){var t=this.option,e=t.pieceList;if(t.hasSpecialVisual){var n=Ic.findPieceIndex(r,e),i=e[n];if(i&&i.visual)return i.visual[this.type]}}function aM(r,t){return r.visual=t,r.type==="color"&&(r.parsedVisual=pr(t,function(e){var n=qc(e);return n||[0,0,0,1]})),t}var yH={linear:function(r){return ea(r,this.option.dataExtent,[0,1],!0)},piecewise:function(r){var t=this.option.pieceList,e=Ic.findPieceIndex(r,t,!0);if(e!=null)return ea(e,[0,t.length-1],[0,1],!0)},category:function(r){var t=this.option.categories?this.option.categoryMap[r]:r;return t??s9},fixed:$o};function c9(r,t,e){return r?t<=e:t<e}var mH="itemStyle",oM=Vi();const IH={seriesType:"treemap",reset:function(r){var t=r.getData().tree,e=t.root;e.isRemoved()||sM(e,{},r.getViewRoot().getAncestors(),r)}};function sM(r,t,e,n){var i=r.getModel(),o=r.getLayout(),s=r.hostTree.data;if(!(!o||o.invisible||!o.isInView)){var l=i.getModel(mH),f=bH(l,t,n),v=s.ensureUniqueItemVisual(r.dataIndex,"style"),C=l.get("borderColor"),w=l.get("borderColorSaturation"),x;w!=null&&(x=uM(f),C=CH(w,x)),v.stroke=C;var Q=r.viewChildren;if(!Q||!Q.length)x=uM(f),v.fill=x;else{var R=wH(r,i,o,l,f,Q);Ne(Q,function(L,P){if(L.depth>=e.length||L===e[L.depth]){var M=EH(i,f,L,P,R,n);sM(L,M,e,n)}})}}}function bH(r,t,e){var n=ar({},t),i=e.designatedVisualItemStyle;return Ne(["color","colorAlpha","colorSaturation"],function(o){i[o]=t[o];var s=r.get(o);i[o]=null,s!=null&&(n[o]=s)}),n}function uM(r){var t=uS(r,"color");if(t){var e=uS(r,"colorAlpha"),n=uS(r,"colorSaturation");return n&&(t=Vg(t,null,null,n)),e&&(t=Zg(t,e)),t}}function CH(r,t){return t!=null?Vg(t,null,null,r):null}function uS(r,t){var e=r[t];if(e!=null&&e!=="none")return e}function wH(r,t,e,n,i,o){if(!(!o||!o.length)){var s=cS(t,"color")||i.color!=null&&i.color!=="none"&&(cS(t,"colorAlpha")||cS(t,"colorSaturation"));if(s){var l=t.get("visualMin"),f=t.get("visualMax"),v=e.dataExtent.slice();l!=null&&l<v[0]&&(v[0]=l),f!=null&&f>v[1]&&(v[1]=f);var C=t.get("colorMappingBy"),w={type:s.name,dataExtent:v,visual:s.range};w.type==="color"&&(C==="index"||C==="id")?(w.mappingMethod="category",w.loop=!0):w.mappingMethod="linear";var x=new Ic(w);return oM(x).drColorMappingBy=C,x}}}function cS(r,t){var e=r.get(t);return yr(e)&&e.length?{name:t,range:e}:null}function EH(r,t,e,n,i,o){var s=ar({},t);if(i){var l=i.type,f=l==="color"&&oM(i).drColorMappingBy,v=f==="index"?n:f==="id"?o.mapIdToIndex(e.getId()):e.getValue(r.get("visualDimension"));s[l]=i.mapValueToVisual(v)}return s}var q4=Math.max,l9=Math.min,cM=Bs,lS=Ne,lM=["itemStyle","borderWidth"],BH=["itemStyle","gapWidth"],kH=["upperLabel","show"],QH=["upperLabel","height"];const xH={seriesType:"treemap",reset:function(r,t,e,n){var i=e.getWidth(),o=e.getHeight(),s=r.option,l=Mo(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),f=s.size||[],v=jr(cM(l.width,f[0]),i),C=jr(cM(l.height,f[1]),o),w=n&&n.type,x=["treemapZoomToNode","treemapRootToNode"],Q=U4(n,x,r),R=w==="treemapRender"||w==="treemapMove"?n.rootRect:null,L=r.getViewRoot(),P=zR(L);if(w!=="treemapMove"){var M=w==="treemapZoomToNode"?FH(r,Q,L,v,C):R?[R.width,R.height]:[v,C],k=s.sort;k&&k!=="asc"&&k!=="desc"&&(k="desc");var G={squareRatio:s.squareRatio,sort:k,leafDepth:s.leafDepth};L.hostTree.clearLayouts();var Y={x:0,y:0,width:M[0],height:M[1],area:M[0]*M[1]};L.setLayout(Y),hM(L,G,!1,0),Y=L.getLayout(),lS(P,function(ie,le){var pe=(P[le+1]||L).getValue();ie.setLayout(ar({dataExtent:[pe,pe],borderWidth:0,upperHeight:0},Y))})}var re=r.getData().tree.root;re.setLayout(TH(l,R,Q),!0),r.setLayoutInfo(l),AM(re,new gi(-l.x,-l.y,i,o),P,L,0)}};function hM(r,t,e,n){var i,o;if(!r.isRemoved()){var s=r.getLayout();i=s.width,o=s.height;var l=r.getModel(),f=l.get(lM),v=l.get(BH)/2,C=dM(l),w=Math.max(f,C),x=f-v,Q=w-v;r.setLayout({borderWidth:f,upperHeight:w,upperLabelHeight:C},!0),i=q4(i-2*x,0),o=q4(o-x-Q,0);var R=i*o,L=SH(r,l,R,t,e,n);if(L.length){var P={x,y:Q,width:i,height:o},M=l9(i,o),k=1/0,G=[];G.area=0;for(var Y=0,re=L.length;Y<re;){var ie=L[Y];G.push(ie),G.area+=ie.getLayout().area;var le=MH(G,M,t.squareRatio);le<=k?(Y++,k=le):(G.area-=G.pop().getLayout().area,fM(G,M,P,v,!1),M=l9(P.width,P.height),G.length=G.area=0,k=1/0)}if(G.length&&fM(G,M,P,v,!0),!e){var pe=l.get("childrenVisibleMin");pe!=null&&R<pe&&(e=!0)}for(var Y=0,re=L.length;Y<re;Y++)hM(L[Y],t,e,n+1)}}}function SH(r,t,e,n,i,o){var s=r.children||[],l=n.sort;l!=="asc"&&l!=="desc"&&(l=null);var f=n.leafDepth!=null&&n.leafDepth<=o;if(i&&!f)return r.viewChildren=[];s=Ii(s,function(Q){return!Q.isRemoved()}),DH(s,l);var v=RH(t,s,l);if(v.sum===0)return r.viewChildren=[];if(v.sum=_H(t,e,v.sum,l,s),v.sum===0)return r.viewChildren=[];for(var C=0,w=s.length;C<w;C++){var x=s[C].getValue()/v.sum*e;s[C].setLayout({area:x})}return f&&(s.length&&r.setLayout({isLeafRoot:!0},!0),s.length=0),r.viewChildren=s,r.setLayout({dataExtent:v.dataExtent},!0),s}function _H(r,t,e,n,i){if(!n)return e;for(var o=r.get("visibleMin"),s=i.length,l=s,f=s-1;f>=0;f--){var v=i[n==="asc"?s-f-1:f].getValue();v/e*t<o&&(l=f,e-=v)}return n==="asc"?i.splice(0,s-l):i.splice(l,s-l),e}function DH(r,t){return t&&r.sort(function(e,n){var i=t==="asc"?e.getValue()-n.getValue():n.getValue()-e.getValue();return i===0?t==="asc"?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:i}),r}function RH(r,t,e){for(var n=0,i=0,o=t.length;i<o;i++)n+=t[i].getValue();var s=r.get("visualDimension"),l;return!t||!t.length?l=[NaN,NaN]:s==="value"&&e?(l=[t[t.length-1].getValue(),t[0].getValue()],e==="asc"&&l.reverse()):(l=[1/0,-1/0],lS(t,function(f){var v=f.getValue(s);v<l[0]&&(l[0]=v),v>l[1]&&(l[1]=v)})),{sum:n,dataExtent:l}}function MH(r,t,e){for(var n=0,i=1/0,o=0,s=void 0,l=r.length;o<l;o++)s=r[o].getLayout().area,s&&(s<i&&(i=s),s>n&&(n=s));var f=r.area*r.area,v=t*t*e;return f?q4(v*n/f,f/(v*i)):1/0}function fM(r,t,e,n,i){var o=t===e.width?0:1,s=1-o,l=["x","y"],f=["width","height"],v=e[l[o]],C=t?r.area/t:0;(i||C>e[f[s]])&&(C=e[f[s]]);for(var w=0,x=r.length;w<x;w++){var Q=r[w],R={},L=C?Q.getLayout().area/C:0,P=R[f[s]]=q4(C-2*n,0),M=e[l[o]]+e[f[o]]-v,k=w===x-1||M<L?M:L,G=R[f[o]]=q4(k-2*n,0);R[l[s]]=e[l[s]]+l9(n,P/2),R[l[o]]=v+l9(n,G/2),v+=k,Q.setLayout(R,!0)}e[l[s]]+=C,e[f[s]]-=C}function FH(r,t,e,n,i){var o=(t||{}).node,s=[n,i];if(!o||o===e)return s;for(var l,f=n*i,v=f*r.option.zoomToNodeRatio;l=o.parentNode;){for(var C=0,w=l.children,x=0,Q=w.length;x<Q;x++)C+=w[x].getValue();var R=o.getValue();if(R===0)return s;v*=C/R;var L=l.getModel(),P=L.get(lM),M=Math.max(P,dM(L));v+=4*P*P+(3*P+M)*Math.pow(v,.5),v>Af&&(v=Af),o=l}v<f&&(v=f);var k=Math.pow(v/f,.5);return[n*k,i*k]}function TH(r,t,e){if(t)return{x:t.x,y:t.y};var n={x:0,y:0};if(!e)return n;var i=e.node,o=i.getLayout();if(!o)return n;for(var s=[o.width/2,o.height/2],l=i;l;){var f=l.getLayout();s[0]+=f.x,s[1]+=f.y,l=l.parentNode}return{x:r.width/2-s[0],y:r.height/2-s[1]}}function AM(r,t,e,n,i){var o=r.getLayout(),s=e[i],l=s&&s===r;if(!(s&&!l||i===e.length&&r!==n)){r.setLayout({isInView:!0,invisible:!l&&!t.intersect(o),isAboveViewRoot:l},!0);var f=new gi(t.x-o.x,t.y-o.y,t.width,t.height);lS(r.viewChildren||[],function(v){AM(v,f,e,n,i+1)})}}function dM(r){return r.get(kH)?r.get(QH):0}function LH(r){r.registerSeriesModel(tH),r.registerChartView(fH),r.registerVisual(IH),r.registerLayout(xH),eH(r)}function NH(r){var t=r.findComponents({mainType:"legend"});!t||!t.length||r.eachSeriesByType("graph",function(e){var n=e.getCategoriesData(),i=e.getGraph(),o=i.data,s=n.mapArray(n.getName);o.filterSelf(function(l){var f=o.getItemModel(l),v=f.getShallow("category");if(v!=null){$i(v)&&(v=s[v]);for(var C=0;C<t.length;C++)if(!t[C].isSelected(v))return!1}return!0})})}function OH(r){var t={};r.eachSeriesByType("graph",function(e){var n=e.getCategoriesData(),i=e.getData(),o={};n.each(function(s){var l=n.getName(s);o["ec-"+l]=s;var f=n.getItemModel(s),v=f.getModel("itemStyle").getItemStyle();v.fill||(v.fill=e.getColorFromPalette(l,t)),n.setItemVisual(s,"style",v);for(var C=["symbol","symbolSize","symbolKeepAspect"],w=0;w<C.length;w++){var x=f.getShallow(C[w],!0);x!=null&&n.setItemVisual(s,C[w],x)}}),n.count()&&i.each(function(s){var l=i.getItemModel(s),f=l.getShallow("category");if(f!=null){en(f)&&(f=o["ec-"+f]);var v=n.getItemVisual(f,"style"),C=i.ensureUniqueItemVisual(s,"style");ar(C,v);for(var w=["symbol","symbolSize","symbolKeepAspect"],x=0;x<w.length;x++)i.setItemVisual(s,w[x],n.getItemVisual(f,w[x]))}})})}function h9(r){return r instanceof Array||(r=[r,r]),r}function PH(r){r.eachSeriesByType("graph",function(t){var e=t.getGraph(),n=t.getEdgeData(),i=h9(t.get("edgeSymbol")),o=h9(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",o&&o[0]),n.setVisual("toSymbolSize",o&&o[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each(function(s){var l=n.getItemModel(s),f=e.getEdgeByIndex(s),v=h9(l.getShallow("symbol",!0)),C=h9(l.getShallow("symbolSize",!0)),w=l.getModel("lineStyle").getLineStyle(),x=n.ensureUniqueItemVisual(s,"style");switch(ar(x,w),x.stroke){case"source":{var Q=f.node1.getVisual("style");x.stroke=Q&&Q.fill;break}case"target":{var Q=f.node2.getVisual("style");x.stroke=Q&&Q.fill;break}}v[0]&&f.setVisual("fromSymbol",v[0]),v[1]&&f.setVisual("toSymbol",v[1]),C[0]&&f.setVisual("fromSymbolSize",C[0]),C[1]&&f.setVisual("toSymbolSize",C[1])})})}var hS="-->",f9=function(r){return r.get("autoCurveness")||null},gM=function(r,t){var e=f9(r),n=20,i=[];if($i(e))n=e;else if(yr(e)){r.__curvenessList=e;return}t>n&&(n=t);var o=n%2?n+2:n+3;i=[];for(var s=0;s<o;s++)i.push((s%2?s+1:s)/10*(s%2?-1:1));r.__curvenessList=i},z4=function(r,t,e){var n=[r.id,r.dataIndex].join("."),i=[t.id,t.dataIndex].join(".");return[e.uid,n,i].join(hS)},pM=function(r){var t=r.split(hS);return[t[0],t[2],t[1]].join(hS)},GH=function(r,t){var e=z4(r.node1,r.node2,t);return t.__edgeMap[e]},UH=function(r,t){var e=fS(z4(r.node1,r.node2,t),t),n=fS(z4(r.node2,r.node1,t),t);return e+n},fS=function(r,t){var e=t.__edgeMap;return e[r]?e[r].length:0};function jH(r){f9(r)&&(r.__curvenessList=[],r.__edgeMap={},gM(r))}function HH(r,t,e,n){if(f9(e)){var i=z4(r,t,e),o=e.__edgeMap,s=o[pM(i)];o[i]&&!s?o[i].isForward=!0:s&&o[i]&&(s.isForward=!0,o[i].isForward=!1),o[i]=o[i]||[],o[i].push(n)}}function AS(r,t,e,n){var i=f9(t),o=yr(i);if(!i)return null;var s=GH(r,t);if(!s)return null;for(var l=-1,f=0;f<s.length;f++)if(s[f]===e){l=f;break}var v=UH(r,t);gM(t,v),r.lineStyle=r.lineStyle||{};var C=z4(r.node1,r.node2,t),w=t.__curvenessList,x=o||v%2?0:1;if(s.isForward)return w[x+l];var Q=pM(C),R=fS(Q,t),L=w[l+R+x];return n?o?i&&i[0]===0?(R+x)%2?L:-L:((R%2?0:1)+x)%2?L:-L:(R+x)%2?L:-L:w[l+R+x]}function vM(r){var t=r.coordinateSystem;if(!(t&&t.type!=="view")){var e=r.getGraph();e.eachNode(function(n){var i=n.getModel();n.setLayout([+i.get("x"),+i.get("y")])}),dS(e,r)}}function dS(r,t){r.eachEdge(function(e,n){var i=ec(e.getModel().get(["lineStyle","curveness"]),-AS(e,t,n,!0),0),o=ql(e.node1.getLayout()),s=ql(e.node2.getLayout()),l=[o,s];+i&&l.push([(o[0]+s[0])/2-(o[1]-s[1])*i,(o[1]+s[1])/2-(s[0]-o[0])*i]),e.setLayout(l)})}function YH(r,t){r.eachSeriesByType("graph",function(e){var n=e.get("layout"),i=e.coordinateSystem;if(i&&i.type!=="view"){var o=e.getData(),s=[];Ne(i.dimensions,function(x){s=s.concat(o.mapDimensionsAll(x))});for(var l=0;l<o.count();l++){for(var f=[],v=!1,C=0;C<s.length;C++){var w=o.get(s[C],l);isNaN(w)||(v=!0),f.push(w)}v?o.setItemLayout(l,i.dataToPoint(f)):o.setItemLayout(l,[NaN,NaN])}dS(o.graph,e)}else(!n||n==="none")&&vM(e)})}function K4(r){var t=r.coordinateSystem;if(t.type!=="view")return 1;var e=r.option.nodeScaleRatio,n=t.scaleX,i=t.getZoom(),o=(i-1)*e+1;return o/n}function V4(r){var t=r.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var yM=Math.PI,gS=[];function pS(r,t,e,n){var i=r.coordinateSystem;if(!(i&&i.type!=="view")){var o=i.getBoundingRect(),s=r.getData(),l=s.graph,f=o.width/2+o.x,v=o.height/2+o.y,C=Math.min(o.width,o.height)/2,w=s.count();if(s.setLayout({cx:f,cy:v}),!!w){if(e){var x=i.pointToData(n),Q=x[0],R=x[1],L=[Q-f,R-v];Ti(L,L),Ng(L,L,C),e.setLayout([f+L[0],v+L[1]],!0);var P=r.get(["circular","rotateLabel"]);mM(e,P,f,v)}JH[t](r,l,s,C,f,v,w),l.eachEdge(function(M,k){var G=ec(M.getModel().get(["lineStyle","curveness"]),AS(M,r,k),0),Y=ql(M.node1.getLayout()),re=ql(M.node2.getLayout()),ie,le=(Y[0]+re[0])/2,pe=(Y[1]+re[1])/2;+G&&(G*=3,ie=[f*G+le*(1-G),v*G+pe*(1-G)]),M.setLayout([Y,re,ie])})}}}var JH={value:function(r,t,e,n,i,o,s){var l=0,f=e.getSum("value"),v=Math.PI*2/(f||s);t.eachNode(function(C){var w=C.getValue("value"),x=v*(f?w:1)/2;l+=x,C.setLayout([n*Math.cos(l)+i,n*Math.sin(l)+o]),l+=x})},symbolSize:function(r,t,e,n,i,o,s){var l=0;gS.length=s;var f=K4(r);t.eachNode(function(w){var x=V4(w);isNaN(x)&&(x=2),x<0&&(x=0),x*=f;var Q=Math.asin(x/2/n);isNaN(Q)&&(Q=yM/2),gS[w.dataIndex]=Q,l+=Q*2});var v=(2*yM-l)/s/2,C=0;t.eachNode(function(w){var x=v+gS[w.dataIndex];C+=x,(!w.getLayout()||!w.getLayout().fixed)&&w.setLayout([n*Math.cos(C)+i,n*Math.sin(C)+o]),C+=x})}};function mM(r,t,e,n){var i=r.getGraphicEl();if(i){var o=r.getModel(),s=o.get(["label","rotate"])||0,l=i.getSymbolPath();if(t){var f=r.getLayout(),v=Math.atan2(f[1]-n,f[0]-e);v<0&&(v=Math.PI*2+v);var C=f[0]<e;C&&(v=v-Math.PI);var w=C?"left":"right";l.setTextConfig({rotation:-v,position:w,origin:"center"});var x=l.ensureState("emphasis");ar(x.textConfig||(x.textConfig={}),{position:w})}else l.setTextConfig({rotation:s*=Math.PI/180})}}function WH(r){r.eachSeriesByType("graph",function(t){t.get("layout")==="circular"&&pS(t,"symbolSize")})}var d3=A2;function qH(r,t,e){for(var n=r,i=t,o=e.rect,s=o.width,l=o.height,f=[o.x+s/2,o.y+l/2],v=e.gravity==null?.1:e.gravity,C=0;C<n.length;C++){var w=n[C];w.p||(w.p=vd(s*(Math.random()-.5)+f[0],l*(Math.random()-.5)+f[1])),w.pp=ql(w.p),w.edges=null}var x=e.friction==null?.6:e.friction,Q=x,R,L;return{warmUp:function(){Q=x*.8},setFixed:function(P){n[P].fixed=!0},setUnfixed:function(P){n[P].fixed=!1},beforeStep:function(P){R=P},afterStep:function(P){L=P},step:function(P){R&&R(n,i);for(var M=[],k=n.length,G=0;G<i.length;G++){var Y=i[G];if(!Y.ignoreForceLayout){var re=Y.n1,ie=Y.n2;Xf(M,ie.p,re.p);var le=ef(M)-Y.d,pe=ie.w/(re.w+ie.w);isNaN(pe)&&(pe=0),Ti(M,M),!re.fixed&&d3(re.p,re.p,M,pe*le*Q),!ie.fixed&&d3(ie.p,ie.p,M,-(1-pe)*le*Q)}}for(var G=0;G<k;G++){var ve=n[G];ve.fixed||(Xf(M,f,ve.p),d3(ve.p,ve.p,M,v*Q))}for(var G=0;G<k;G++)for(var re=n[G],Ee=G+1;Ee<k;Ee++){var ie=n[Ee];Xf(M,ie.p,re.p);var le=ef(M);le===0&&(z3(M,Math.random()-.5,Math.random()-.5),le=1);var Se=(re.rep+ie.rep)/le/le;!re.fixed&&d3(re.pp,re.pp,M,Se),!ie.fixed&&d3(ie.pp,ie.pp,M,-Se)}for(var ke=[],G=0;G<k;G++){var ve=n[G];ve.fixed||(Xf(ke,ve.p,ve.pp),d3(ve.p,ve.p,ke,Q),rc(ve.pp,ve.p))}Q=Q*.992;var Le=Q<.01;L&&L(n,i,Le),P&&P(Le)}}}function zH(r){r.eachSeriesByType("graph",function(t){var e=t.coordinateSystem;if(!(e&&e.type!=="view"))if(t.get("layout")==="force"){var n=t.preservedPoints||{},i=t.getGraph(),o=i.data,s=i.edgeData,l=t.getModel("force"),f=l.get("initLayout");t.preservedPoints?o.each(function(G){var Y=o.getId(G);o.setItemLayout(G,n[Y]||[NaN,NaN])}):!f||f==="none"?vM(t):f==="circular"&&pS(t,"value");var v=o.getDataExtent("value"),C=s.getDataExtent("value"),w=l.get("repulsion"),x=l.get("edgeLength"),Q=yr(w)?w:[w,w],R=yr(x)?x:[x,x];R=[R[1],R[0]];var L=o.mapArray("value",function(G,Y){var re=o.getItemLayout(Y),ie=ea(G,v,Q);return isNaN(ie)&&(ie=(Q[0]+Q[1])/2),{w:ie,rep:ie,fixed:o.getItemModel(Y).get("fixed"),p:!re||isNaN(re[0])||isNaN(re[1])?null:re}}),P=s.mapArray("value",function(G,Y){var re=i.getEdgeByIndex(Y),ie=ea(G,C,R);isNaN(ie)&&(ie=(R[0]+R[1])/2);var le=re.getModel(),pe=ec(re.getModel().get(["lineStyle","curveness"]),-AS(re,t,Y,!0),0);return{n1:L[re.node1.dataIndex],n2:L[re.node2.dataIndex],d:ie,curveness:pe,ignoreForceLayout:le.get("ignoreForceLayout")}}),M=e.getBoundingRect(),k=qH(L,P,{rect:M,gravity:l.get("gravity"),friction:l.get("friction")});k.beforeStep(function(G,Y){for(var re=0,ie=G.length;re<ie;re++)G[re].fixed&&rc(G[re].p,i.getNodeByIndex(re).getLayout())}),k.afterStep(function(G,Y,re){for(var ie=0,le=G.length;ie<le;ie++)G[ie].fixed||i.getNodeByIndex(ie).setLayout(G[ie].p),n[o.getId(ie)]=G[ie].p;for(var ie=0,le=Y.length;ie<le;ie++){var pe=Y[ie],ve=i.getEdgeByIndex(ie),Ee=pe.n1.p,Se=pe.n2.p,ke=ve.getLayout();ke=ke?ke.slice():[],ke[0]=ke[0]||[],ke[1]=ke[1]||[],rc(ke[0],Ee),rc(ke[1],Se),+pe.curveness&&(ke[2]=[(Ee[0]+Se[0])/2-(Ee[1]-Se[1])*pe.curveness,(Ee[1]+Se[1])/2-(Se[0]-Ee[0])*pe.curveness]),ve.setLayout(ke)}}),t.forceLayout=k,t.preservedPoints=n,k.step()}else t.forceLayout=null})}function KH(r,t,e){var n=ar(r.getBoxLayoutParams(),{aspect:e});return Mo(n,{width:t.getWidth(),height:t.getHeight()})}function VH(r,t){var e=[];return r.eachSeriesByType("graph",function(n){var i=n.get("coordinateSystem");if(!i||i==="view"){var o=n.getData(),s=o.mapArray(function(P){var M=o.getItemModel(P);return[+M.get("x"),+M.get("y")]}),l=[],f=[];po(s,l,f),f[0]-l[0]===0&&(f[0]+=1,l[0]-=1),f[1]-l[1]===0&&(f[1]+=1,l[1]-=1);var v=(f[0]-l[0])/(f[1]-l[1]),C=KH(n,t,v);isNaN(v)&&(l=[C.x,C.y],f=[C.x+C.width,C.y+C.height]);var w=f[0]-l[0],x=f[1]-l[1],Q=C.width,R=C.height,L=n.coordinateSystem=new P4;L.zoomLimit=n.get("scaleLimit"),L.setBoundingRect(l[0],l[1],w,x),L.setViewRect(C.x,C.y,Q,R),L.setCenter(n.get("center"),t),L.setZoom(n.get("zoom")),e.push(L)}}),e}var IM=Vs.prototype,vS=Bp.prototype,bM=function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return r}();(function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t})(bM);function yS(r){return isNaN(+r.cpx1)||isNaN(+r.cpy1)}var ZH=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-line",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new bM},t.prototype.buildPath=function(e,n){yS(n)?IM.buildPath.call(this,e,n):vS.buildPath.call(this,e,n)},t.prototype.pointAt=function(e){return yS(this.shape)?IM.pointAt.call(this,e):vS.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var n=this.shape,i=yS(n)?[n.x2-n.x1,n.y2-n.y1]:vS.tangentAt.call(this,e);return Ti(i,i)},t}(Si),mS=["fromSymbol","toSymbol"];function CM(r){return"_"+r+"Type"}function wM(r,t,e){var n=t.getItemVisual(e,r);if(!n||n==="none")return n;var i=t.getItemVisual(e,r+"Size"),o=t.getItemVisual(e,r+"Rotate"),s=t.getItemVisual(e,r+"Offset"),l=t.getItemVisual(e,r+"KeepAspect"),f=Mt(i),v=cr(s||0,f);return n+f+v+(o||"")+(l||"")}function EM(r,t,e){var n=t.getItemVisual(e,r);if(!(!n||n==="none")){var i=t.getItemVisual(e,r+"Size"),o=t.getItemVisual(e,r+"Rotate"),s=t.getItemVisual(e,r+"Offset"),l=t.getItemVisual(e,r+"KeepAspect"),f=Mt(i),v=cr(s||0,f),C=yt(n,-f[0]/2+v[0],-f[1]/2+v[1],f[0],f[1],null,l);return C.__specifiedRotation=o==null||isNaN(o)?void 0:+o*Math.PI/180||0,C.name=r,C}}function XH(r){var t=new ZH({name:"line",subPixelOptimize:!0});return IS(t.shape,r),t}function IS(r,t){r.x1=t[0][0],r.y1=t[0][1],r.x2=t[1][0],r.y2=t[1][1],r.percent=1;var e=t[2];e?(r.cpx1=e[0],r.cpy1=e[1]):(r.cpx1=NaN,r.cpy1=NaN)}var bS=function(r){kt(t,r);function t(e,n,i){var o=r.call(this)||this;return o._createLine(e,n,i),o}return t.prototype._createLine=function(e,n,i){var o=e.hostModel,s=e.getItemLayout(n),l=XH(s);l.shape.percent=0,Co(l,{shape:{percent:1}},o,n),this.add(l),Ne(mS,function(f){var v=EM(f,e,n);this.add(v),this[CM(f)]=wM(f,e,n)},this),this._updateCommonStl(e,n,i)},t.prototype.updateData=function(e,n,i){var o=e.hostModel,s=this.childOfName("line"),l=e.getItemLayout(n),f={shape:{}};IS(f.shape,l),ga(s,f,o,n),Ne(mS,function(v){var C=wM(v,e,n),w=CM(v);if(this[w]!==C){this.remove(this.childOfName(v));var x=EM(v,e,n);this.add(x)}this[w]=C},this),this._updateCommonStl(e,n,i)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,n,i){var o=e.hostModel,s=this.childOfName("line"),l=i&&i.emphasisLineStyle,f=i&&i.blurLineStyle,v=i&&i.selectLineStyle,C=i&&i.labelStatesModels,w=i&&i.emphasisDisabled,x=i&&i.focus,Q=i&&i.blurScope;if(!i||e.hasItemOption){var R=e.getItemModel(n),L=R.getModel("emphasis");l=L.getModel("lineStyle").getLineStyle(),f=R.getModel(["blur","lineStyle"]).getLineStyle(),v=R.getModel(["select","lineStyle"]).getLineStyle(),w=L.get("disabled"),x=L.get("focus"),Q=L.get("blurScope"),C=_s(R)}var P=e.getItemVisual(n,"style"),M=P.stroke;s.useStyle(P),s.style.fill=null,s.style.strokeNoScale=!0,s.ensureState("emphasis").style=l,s.ensureState("blur").style=f,s.ensureState("select").style=v,Ne(mS,function(ie){var le=this.childOfName(ie);if(le){le.setColor(M),le.style.opacity=P.opacity;for(var pe=0;pe<bi.length;pe++){var ve=bi[pe],Ee=s.getState(ve);if(Ee){var Se=Ee.style||{},ke=le.ensureState(ve),Le=ke.style||(ke.style={});Se.stroke!=null&&(Le[le.__isEmptyBrush?"stroke":"fill"]=Se.stroke),Se.opacity!=null&&(Le.opacity=Se.opacity)}}le.markRedraw()}},this);var k=o.getRawValue(n);Uo(this,C,{labelDataIndex:n,labelFetcher:{getFormattedLabel:function(ie,le){return o.getFormattedLabel(ie,le,e.dataType)}},inheritColor:M||"#000",defaultOpacity:P.opacity,defaultText:(k==null?e.getName(n):isFinite(k)?Ra(k):k)+""});var G=this.getTextContent();if(G){var Y=C.normal;G.__align=G.style.align,G.__verticalAlign=G.style.verticalAlign,G.__position=Y.get("position")||"middle";var re=Y.get("distance");yr(re)||(re=[re,re]),G.__labelDistance=re}this.setTextConfig({position:null,local:!0,inside:!1}),uo(this,x,Q,w)},t.prototype.highlight=function(){Dc(this)},t.prototype.downplay=function(){ko(this)},t.prototype.updateLayout=function(e,n){this.setLinePoints(e.getItemLayout(n))},t.prototype.setLinePoints=function(e){var n=this.childOfName("line");IS(n.shape,e),n.dirty()},t.prototype.beforeUpdate=function(){var e=this,n=e.childOfName("fromSymbol"),i=e.childOfName("toSymbol"),o=e.getTextContent();if(!n&&!i&&(!o||o.ignore))return;for(var s=1,l=this.parent;l;)l.scaleX&&(s/=l.scaleX),l=l.parent;var f=e.childOfName("line");if(!this.__dirty&&!f.__dirty)return;var v=f.shape.percent,C=f.pointAt(0),w=f.pointAt(v),x=Xf([],w,C);Ti(x,x);function Q(Ee,Se){var ke=Ee.__specifiedRotation;if(ke==null){var Le=f.tangentAt(Se);Ee.attr("rotation",(Se===1?-1:1)*Math.PI/2-Math.atan2(Le[1],Le[0]))}else Ee.attr("rotation",ke)}if(n&&(n.setPosition(C),Q(n,0),n.scaleX=n.scaleY=s*v,n.markRedraw()),i&&(i.setPosition(w),Q(i,1),i.scaleX=i.scaleY=s*v,i.markRedraw()),o&&!o.ignore){o.x=o.y=0,o.originX=o.originY=0;var R=void 0,L=void 0,P=o.__labelDistance,M=P[0]*s,k=P[1]*s,G=v/2,Y=f.tangentAt(G),re=[Y[1],-Y[0]],ie=f.pointAt(G);re[1]>0&&(re[0]=-re[0],re[1]=-re[1]);var le=Y[0]<0?-1:1;if(o.__position!=="start"&&o.__position!=="end"){var pe=-Math.atan2(Y[1],Y[0]);w[0]<C[0]&&(pe=Math.PI+pe),o.rotation=pe}var ve=void 0;switch(o.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":ve=-k,L="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":ve=k,L="top";break;default:ve=0,L="middle"}switch(o.__position){case"end":o.x=x[0]*M+w[0],o.y=x[1]*k+w[1],R=x[0]>.8?"left":x[0]<-.8?"right":"center",L=x[1]>.8?"top":x[1]<-.8?"bottom":"middle";break;case"start":o.x=-x[0]*M+C[0],o.y=-x[1]*k+C[1],R=x[0]>.8?"right":x[0]<-.8?"left":"center",L=x[1]>.8?"bottom":x[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":o.x=M*le+C[0],o.y=C[1]+ve,R=Y[0]<0?"right":"left",o.originX=-M*le,o.originY=-ve;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":o.x=ie[0],o.y=ie[1]+ve,R="center",o.originY=-ve;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":o.x=-M*le+w[0],o.y=w[1]+ve,R=Y[0]>=0?"right":"left",o.originX=M*le,o.originY=-ve;break}o.scaleX=o.scaleY=s,o.setStyle({verticalAlign:o.__verticalAlign||L,align:o.__align||R})}},t}(Nn),CS=function(){function r(t){this.group=new Nn,this._LineCtor=t||bS}return r.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,o=n._lineData;n._lineData=t,o||i.removeAll();var s=BM(t);t.diff(o).add(function(l){e._doAdd(t,l,s)}).update(function(l,f){e._doUpdate(o,t,f,l,s)}).remove(function(l){i.remove(o.getItemGraphicEl(l))}).execute()},r.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},r.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=BM(t),this._lineData=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(t,e){this._progressiveEls=[];function n(l){!l.isGroup&&!$H(l)&&(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i<t.end;i++){var o=e.getItemLayout(i);if(wS(o)){var s=new this._LineCtor(e,i,this._seriesScope);s.traverse(n),this.group.add(s),e.setItemGraphicEl(i,s),this._progressiveEls.push(s)}}},r.prototype.remove=function(){this.group.removeAll()},r.prototype.eachRendered=function(t){Fl(this._progressiveEls||this.group,t)},r.prototype._doAdd=function(t,e,n){var i=t.getItemLayout(e);if(wS(i)){var o=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,o),this.group.add(o)}},r.prototype._doUpdate=function(t,e,n,i,o){var s=t.getItemGraphicEl(n);if(!wS(e.getItemLayout(i))){this.group.remove(s);return}s?s.updateData(e,i,o):s=new this._LineCtor(e,i,o),e.setItemGraphicEl(i,s),this.group.add(s)},r}();function $H(r){return r.animators&&r.animators.length>0}function BM(r){var t=r.hostModel,e=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:e.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:e.get("disabled"),blurScope:e.get("blurScope"),focus:e.get("focus"),labelStatesModels:_s(t)}}function kM(r){return isNaN(r[0])||isNaN(r[1])}function wS(r){return r&&!kM(r[0])&&!kM(r[1])}var ES=[],BS=[],kS=[],g3=su,QS=tA,QM=Math.abs;function xM(r,t,e){for(var n=r[0],i=r[1],o=r[2],s=1/0,l,f=e*e,v=.1,C=.1;C<=.9;C+=.1){ES[0]=g3(n[0],i[0],o[0],C),ES[1]=g3(n[1],i[1],o[1],C);var w=QM(QS(ES,t)-f);w<s&&(s=w,l=C)}for(var x=0;x<32;x++){var Q=l+v;BS[0]=g3(n[0],i[0],o[0],l),BS[1]=g3(n[1],i[1],o[1],l),kS[0]=g3(n[0],i[0],o[0],Q),kS[1]=g3(n[1],i[1],o[1],Q);var w=QS(BS,t)-f;if(QM(w)<.01)break;var R=QS(kS,t)-f;v/=2,w<0?R>=0?l=l+v:l=l-v:R>=0?l=l-v:l=l+v}return l}function xS(r,t){var e=[],n=j0,i=[[],[],[]],o=[[],[]],s=[];t/=2,r.eachEdge(function(l,f){var v=l.getLayout(),C=l.getVisual("fromSymbol"),w=l.getVisual("toSymbol");v.__original||(v.__original=[ql(v[0]),ql(v[1])],v[2]&&v.__original.push(ql(v[2])));var x=v.__original;if(v[2]!=null){if(rc(i[0],x[0]),rc(i[1],x[2]),rc(i[2],x[1]),C&&C!=="none"){var Q=V4(l.node1),R=xM(i,x[0],Q*t);n(i[0][0],i[1][0],i[2][0],R,e),i[0][0]=e[3],i[1][0]=e[4],n(i[0][1],i[1][1],i[2][1],R,e),i[0][1]=e[3],i[1][1]=e[4]}if(w&&w!=="none"){var Q=V4(l.node2),R=xM(i,x[1],Q*t);n(i[0][0],i[1][0],i[2][0],R,e),i[1][0]=e[1],i[2][0]=e[2],n(i[0][1],i[1][1],i[2][1],R,e),i[1][1]=e[1],i[2][1]=e[2]}rc(v[0],i[0]),rc(v[1],i[2]),rc(v[2],i[1])}else{if(rc(o[0],x[0]),rc(o[1],x[1]),Xf(s,o[1],o[0]),Ti(s,s),C&&C!=="none"){var Q=V4(l.node1);A2(o[0],o[0],s,Q*t)}if(w&&w!=="none"){var Q=V4(l.node2);A2(o[1],o[1],s,-Q*t)}rc(v[0],o[0]),rc(v[1],o[1])}})}function SM(r){return r.type==="view"}var eY=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n){var i=new Gm,o=new CS,s=this.group;this._controller=new N4(n.getZr()),this._controllerHost={target:s},s.add(i.group),s.add(o.group),this._symbolDraw=i,this._lineDraw=o,this._firstRender=!0},t.prototype.render=function(e,n,i){var o=this,s=e.coordinateSystem;this._model=e;var l=this._symbolDraw,f=this._lineDraw,v=this.group;if(SM(s)){var C={x:s.x,y:s.y,scaleX:s.scaleX,scaleY:s.scaleY};this._firstRender?v.attr(C):ga(v,C,e)}xS(e.getGraph(),K4(e));var w=e.getData();l.updateData(w);var x=e.getEdgeData();f.updateData(x),this._updateNodeAndLinkScale(),this._updateController(e,n,i),clearTimeout(this._layoutTimeout);var Q=e.forceLayout,R=e.get(["force","layoutAnimation"]);Q&&this._startForceLayoutIteration(Q,R);var L=e.get("layout");w.graph.eachNode(function(G){var Y=G.dataIndex,re=G.getGraphicEl(),ie=G.getModel();if(re){re.off("drag").off("dragend");var le=ie.get("draggable");le&&re.on("drag",function(ve){switch(L){case"force":Q.warmUp(),!o._layouting&&o._startForceLayoutIteration(Q,R),Q.setFixed(Y),w.setItemLayout(Y,[re.x,re.y]);break;case"circular":w.setItemLayout(Y,[re.x,re.y]),G.setLayout({fixed:!0},!0),pS(e,"symbolSize",G,[ve.offsetX,ve.offsetY]),o.updateLayout(e);break;case"none":default:w.setItemLayout(Y,[re.x,re.y]),dS(e.getGraph(),e),o.updateLayout(e);break}}).on("dragend",function(){Q&&Q.setUnfixed(Y)}),re.setDraggable(le,!!ie.get("cursor"));var pe=ie.get(["emphasis","focus"]);pe==="adjacency"&&(Un(re).focus=G.getAdjacentDataIndices())}}),w.graph.eachEdge(function(G){var Y=G.getGraphicEl(),re=G.getModel().get(["emphasis","focus"]);Y&&re==="adjacency"&&(Un(Y).focus={edge:[G.dataIndex],node:[G.node1.dataIndex,G.node2.dataIndex]})});var P=e.get("layout")==="circular"&&e.get(["circular","rotateLabel"]),M=w.getLayout("cx"),k=w.getLayout("cy");w.graph.eachNode(function(G){mM(G,P,M,k)}),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,n){var i=this;(function o(){e.step(function(s){i.updateLayout(i._model),(i._layouting=!s)&&(n?i._layoutTimeout=setTimeout(o,16):o())})})()},t.prototype._updateController=function(e,n,i){var o=this,s=this._controller,l=this._controllerHost,f=this.group;if(s.setPointerChecker(function(v,C,w){var x=f.getBoundingRect();return x.applyTransform(f.transform),x.contain(C,w)&&!e9(v,i,e)}),!SM(e.coordinateSystem)){s.disable();return}s.enable(e.get("roam")),l.zoomLimit=e.get("scaleLimit"),l.zoom=e.coordinateSystem.getZoom(),s.off("pan").off("zoom").on("pan",function(v){H8(l,v.dx,v.dy),i.dispatchAction({seriesId:e.id,type:"graphRoam",dx:v.dx,dy:v.dy})}).on("zoom",function(v){Y8(l,v.scale,v.originX,v.originY),i.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:v.scale,originX:v.originX,originY:v.originY}),o._updateNodeAndLinkScale(),xS(e.getGraph(),K4(e)),o._lineDraw.updateLayout(),i.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,n=e.getData(),i=K4(e);n.eachItemGraphicEl(function(o,s){o&&o.setSymbolScale(i)})},t.prototype.updateLayout=function(e){xS(e.getGraph(),K4(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(d);function p3(r){return"_EC_"+r}var tY=function(){function r(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return r.prototype.isDirected=function(){return this._directed},r.prototype.addNode=function(t,e){t=t==null?""+e:""+t;var n=this._nodesMap;if(!n[p3(t)]){var i=new IC(t,e);return i.hostGraph=this,this.nodes.push(i),n[p3(t)]=i,i}},r.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},r.prototype.getNodeById=function(t){return this._nodesMap[p3(t)]},r.prototype.addEdge=function(t,e,n){var i=this._nodesMap,o=this._edgesMap;if($i(t)&&(t=this.nodes[t]),$i(e)&&(e=this.nodes[e]),t instanceof IC||(t=i[p3(t)]),e instanceof IC||(e=i[p3(e)]),!(!t||!e)){var s=t.id+"-"+e.id,l=new _M(t,e,n);return l.hostGraph=this,this._directed&&(t.outEdges.push(l),e.inEdges.push(l)),t.edges.push(l),t!==e&&e.edges.push(l),this.edges.push(l),o[s]=l,l}},r.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},r.prototype.getEdge=function(t,e){t instanceof IC&&(t=t.id),e instanceof IC&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},r.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,o=0;o<i;o++)n[o].dataIndex>=0&&t.call(e,n[o],o)},r.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,o=0;o<i;o++)n[o].dataIndex>=0&&n[o].node1.dataIndex>=0&&n[o].node2.dataIndex>=0&&t.call(e,n[o],o)},r.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof IC||(e=this._nodesMap[p3(e)]),!!e){for(var o=n==="out"?"outEdges":n==="in"?"inEdges":"edges",s=0;s<this.nodes.length;s++)this.nodes[s].__visited=!1;if(!t.call(i,e,null))for(var l=[e];l.length;)for(var f=l.shift(),v=f[o],s=0;s<v.length;s++){var C=v[s],w=C.node1===f?C.node2:C.node1;if(!w.__visited){if(t.call(i,w,f))return;l.push(w),w.__visited=!0}}}},r.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,o=0,s=n.length;o<s;o++)n[o].dataIndex=-1;for(var o=0,s=t.count();o<s;o++)n[t.getRawIndex(o)].dataIndex=o;e.filterSelf(function(l){var f=i[e.getRawIndex(l)];return f.node1.dataIndex>=0&&f.node2.dataIndex>=0});for(var o=0,s=i.length;o<s;o++)i[o].dataIndex=-1;for(var o=0,s=e.count();o<s;o++)i[e.getRawIndex(o)].dataIndex=o},r.prototype.clone=function(){for(var t=new r(this._directed),e=this.nodes,n=this.edges,i=0;i<e.length;i++)t.addNode(e[i].id,e[i].dataIndex);for(var i=0;i<n.length;i++){var o=n[i];t.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return t},r}(),IC=function(){function r(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=t??"",this.dataIndex=e??-1}return r.prototype.degree=function(){return this.edges.length},r.prototype.inDegree=function(){return this.inEdges.length},r.prototype.outDegree=function(){return this.outEdges.length},r.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},r.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},r.prototype.getTrajectoryDataIndices=function(){for(var t=mn(),e=mn(),n=0;n<this.edges.length;n++){var i=this.edges[n];if(!(i.dataIndex<0)){t.set(i.dataIndex,!0);for(var o=[i.node1],s=[i.node2],l=0;l<o.length;){var f=o[l];l++,e.set(f.dataIndex,!0);for(var v=0;v<f.inEdges.length;v++)t.set(f.inEdges[v].dataIndex,!0),o.push(f.inEdges[v].node1)}for(l=0;l<s.length;){var C=s[l];l++,e.set(C.dataIndex,!0);for(var v=0;v<C.outEdges.length;v++)t.set(C.outEdges[v].dataIndex,!0),s.push(C.outEdges[v].node2)}}}return{edge:t.keys(),node:e.keys()}},r}(),_M=function(){function r(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=n??-1}return r.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.edgeData.getItemModel(this.dataIndex);return n.getModel(t)}},r.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},r.prototype.getTrajectoryDataIndices=function(){var t=mn(),e=mn();t.set(this.dataIndex,!0);for(var n=[this.node1],i=[this.node2],o=0;o<n.length;){var s=n[o];o++,e.set(s.dataIndex,!0);for(var l=0;l<s.inEdges.length;l++)t.set(s.inEdges[l].dataIndex,!0),n.push(s.inEdges[l].node1)}for(o=0;o<i.length;){var f=i[o];o++,e.set(f.dataIndex,!0);for(var l=0;l<f.outEdges.length;l++)t.set(f.outEdges[l].dataIndex,!0),i.push(f.outEdges[l].node2)}return{edge:t.keys(),node:e.keys()}},r}();function DM(r,t){return{getValue:function(e){var n=this[r][t];return n.getStore().get(n.getDimensionIndex(e||"value"),this.dataIndex)},setVisual:function(e,n){this.dataIndex>=0&&this[r][t].setItemVisual(this.dataIndex,e,n)},getVisual:function(e){return this[r][t].getItemVisual(this.dataIndex,e)},setLayout:function(e,n){this.dataIndex>=0&&this[r][t].setItemLayout(this.dataIndex,e,n)},getLayout:function(){return this[r][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][t].getRawIndex(this.dataIndex)}}}Ea(IC,DM("hostGraph","data")),Ea(_M,DM("hostGraph","edgeData"));function RM(r,t,e,n,i){for(var o=new tY(n),s=0;s<r.length;s++)o.addNode(Bs(r[s].id,r[s].name,s),s);for(var l=[],f=[],v=0,s=0;s<t.length;s++){var C=t[s],w=C.source,x=C.target;o.addEdge(w,x,v)&&(f.push(C),l.push(Bs(es(C.id,null),w+" > "+x)),v++)}var Q=e.get("coordinateSystem"),R;if(Q==="cartesian2d"||Q==="polar")R=WA(r,e);else{var L=T1.get(Q),P=L?L.dimensions||[]:[];Vn(P,"value")<0&&P.concat(["value"]);var M=jb(r,{coordDimensions:P,encodeDefine:e.getEncode()}).dimensions;R=new sl(M,e),R.initData(r)}var k=new sl(["value"],e);return k.initData(f,l),i&&i(R,k),WR({mainData:R,struct:o,structAttr:"graph",datas:{node:R,edge:k},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var rY=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new F4(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(e){r.prototype.mergeDefaultAndTheme.apply(this,arguments),xd(e,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,n){var i=e.edges||e.links||[],o=e.data||e.nodes||[],s=this;{jH(this);var l=RM(o,i,this,!0,f);return Ne(l.edges,function(v){HH(v.node1,v.node2,this,v.dataIndex)},this),l.data}function f(v,C){v.wrapMethod("getItemModel",function(R){var L=s._categoriesModels,P=R.getShallow("category"),M=L[P];return M&&(M.parentModel=R.parentModel,R.parentModel=M),R});var w=Ia.prototype.getModel;function x(R,L){var P=w.call(this,R,L);return P.resolveParentPath=Q,P}C.wrapMethod("getItemModel",function(R){return R.resolveParentPath=Q,R.getModel=x,R});function Q(R){if(R&&(R[0]==="label"||R[1]==="label")){var L=R.slice();return R[0]==="label"?L[0]="edgeLabel":R[1]==="label"&&(L[1]="edgeLabel"),L}return R}}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,n,i){if(i==="edge"){var o=this.getData(),s=this.getDataParams(e,i),l=o.graph.getEdgeByIndex(e),f=o.getName(l.node1.dataIndex),v=o.getName(l.node2.dataIndex),C=[];return f!=null&&C.push(f),v!=null&&C.push(v),Xs("nameValue",{name:C.join(" > "),value:s.value,noValue:s.value==null})}var w=Y1({series:this,dataIndex:e,multipleSeries:n});return w},t.prototype._updateCategoriesData=function(){var e=pr(this.option.categories||[],function(i){return i.value!=null?i:ar({value:0},i)}),n=new sl(["value"],this);n.initData(e),this._categoriesData=n,this._categoriesModels=n.mapArray(function(i){return n.getItemModel(i)})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return r.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(no),nY={type:"graphRoam",event:"graphRoam",update:"none"};function iY(r){r.registerChartView(eY),r.registerSeriesModel(rY),r.registerProcessor(NH),r.registerVisual(OH),r.registerVisual(PH),r.registerLayout(YH),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,WH),r.registerLayout(zH),r.registerCoordinateSystem("graphView",{dimensions:P4.dimensions,create:VH}),r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},$o),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},$o),r.registerAction(nY,function(t,e,n){e.eachComponent({mainType:"series",query:t},function(i){var o=i.coordinateSystem,s=V8(o,t,void 0,n);i.setCenter&&i.setCenter(s.center),i.setZoom&&i.setZoom(s.zoom)})})}var aY=function(){function r(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return r}(),oY=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n.type="pointer",n}return t.prototype.getDefaultShape=function(){return new aY},t.prototype.buildPath=function(e,n){var i=Math.cos,o=Math.sin,s=n.r,l=n.width,f=n.angle,v=n.x-i(f)*l*(l>=s/3?1:2),C=n.y-o(f)*l*(l>=s/3?1:2);f=n.angle-Math.PI/2,e.moveTo(v,C),e.lineTo(n.x+i(f)*l,n.y+o(f)*l),e.lineTo(n.x+i(n.angle)*s,n.y+o(n.angle)*s),e.lineTo(n.x-i(f)*l,n.y-o(f)*l),e.lineTo(v,C)},t}(Si);function sY(r,t){var e=r.get("center"),n=t.getWidth(),i=t.getHeight(),o=Math.min(n,i),s=jr(e[0],t.getWidth()),l=jr(e[1],t.getHeight()),f=jr(r.get("radius"),o/2);return{cx:s,cy:l,r:f}}function A9(r,t){var e=r==null?"":r+"";return t&&(en(t)?e=t.replace("{value}",e):bn(t)&&(e=t(r))),e}var uY=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){this.group.removeAll();var o=e.get(["axisLine","lineStyle","color"]),s=sY(e,i);this._renderMain(e,n,i,o,s),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,n,i,o,s){var l=this.group,f=e.get("clockwise"),v=-e.get("startAngle")/180*Math.PI,C=-e.get("endAngle")/180*Math.PI,w=e.getModel("axisLine"),x=w.get("roundCap"),Q=x?n3:Hu,R=w.get("show"),L=w.getModel("lineStyle"),P=L.get("width"),M=[v,C];fI(M,!f),v=M[0],C=M[1];for(var k=C-v,G=v,Y=[],re=0;R&&re<o.length;re++){var ie=Math.min(Math.max(o[re][0],0),1);C=v+k*ie;var le=new Q({shape:{startAngle:G,endAngle:C,cx:s.cx,cy:s.cy,clockwise:f,r0:s.r-P,r:s.r},silent:!0});le.setStyle({fill:o[re][1]}),le.setStyle(L.getLineStyle(["color","width"])),Y.push(le),G=C}Y.reverse(),Ne(Y,function(ve){return l.add(ve)});var pe=function(ve){if(ve<=0)return o[0][1];var Ee;for(Ee=0;Ee<o.length;Ee++)if(o[Ee][0]>=ve&&(Ee===0?0:o[Ee-1][0])<ve)return o[Ee][1];return o[Ee-1][1]};this._renderTicks(e,n,i,pe,s,v,C,f,P),this._renderTitleAndDetail(e,n,i,pe,s),this._renderAnchor(e,s),this._renderPointer(e,n,i,pe,s,v,C,f,P)},t.prototype._renderTicks=function(e,n,i,o,s,l,f,v,C){for(var w=this.group,x=s.cx,Q=s.cy,R=s.r,L=+e.get("min"),P=+e.get("max"),M=e.getModel("splitLine"),k=e.getModel("axisTick"),G=e.getModel("axisLabel"),Y=e.get("splitNumber"),re=k.get("splitNumber"),ie=jr(M.get("length"),R),le=jr(k.get("length"),R),pe=l,ve=(f-l)/Y,Ee=ve/re,Se=M.getModel("lineStyle").getLineStyle(),ke=k.getModel("lineStyle").getLineStyle(),Le=M.get("distance"),be,ze,ut=0;ut<=Y;ut++){if(be=Math.cos(pe),ze=Math.sin(pe),M.get("show")){var ft=Le?Le+C:C,Qt=new Vs({shape:{x1:be*(R-ft)+x,y1:ze*(R-ft)+Q,x2:be*(R-ie-ft)+x,y2:ze*(R-ie-ft)+Q},style:Se,silent:!0});Se.stroke==="auto"&&Qt.setStyle({stroke:o(ut/Y)}),w.add(Qt)}if(G.get("show")){var ft=G.get("distance")+Le,vt=A9(Ra(ut/Y*(P-L)+L),G.get("formatter")),Gt=o(ut/Y),Ct=be*(R-ie-ft)+x,St=ze*(R-ie-ft)+Q,dr=G.get("rotate"),ur=0;dr==="radial"?(ur=-pe+2*Math.PI,ur>Math.PI/2&&(ur+=Math.PI)):dr==="tangential"?ur=-pe-Math.PI/2:$i(dr)&&(ur=dr*Math.PI/180),ur===0?w.add(new Mn({style:La(G,{text:vt,x:Ct,y:St,verticalAlign:ze<-.8?"top":ze>.8?"bottom":"middle",align:be<-.4?"left":be>.4?"right":"center"},{inheritColor:Gt}),silent:!0})):w.add(new Mn({style:La(G,{text:vt,x:Ct,y:St,verticalAlign:"middle",align:"center"},{inheritColor:Gt}),silent:!0,originX:Ct,originY:St,rotation:ur}))}if(k.get("show")&&ut!==Y){var ft=k.get("distance");ft=ft?ft+C:C;for(var ir=0;ir<=re;ir++){be=Math.cos(pe),ze=Math.sin(pe);var Fn=new Vs({shape:{x1:be*(R-ft)+x,y1:ze*(R-ft)+Q,x2:be*(R-le-ft)+x,y2:ze*(R-le-ft)+Q},silent:!0,style:ke});ke.stroke==="auto"&&Fn.setStyle({stroke:o((ut+ir/re)/Y)}),w.add(Fn),pe+=Ee}pe-=Ee}else pe+=ve}},t.prototype._renderPointer=function(e,n,i,o,s,l,f,v,C){var w=this.group,x=this._data,Q=this._progressEls,R=[],L=e.get(["pointer","show"]),P=e.getModel("progress"),M=P.get("show"),k=e.getData(),G=k.mapDimension("value"),Y=+e.get("min"),re=+e.get("max"),ie=[Y,re],le=[l,f];function pe(Ee,Se){var ke=k.getItemModel(Ee),Le=ke.getModel("pointer"),be=jr(Le.get("width"),s.r),ze=jr(Le.get("length"),s.r),ut=e.get(["pointer","icon"]),ft=Le.get("offsetCenter"),Qt=jr(ft[0],s.r),vt=jr(ft[1],s.r),Gt=Le.get("keepAspect"),Ct;return ut?Ct=yt(ut,Qt-be/2,vt-ze,be,ze,null,Gt):Ct=new oY({shape:{angle:-Math.PI/2,width:be,r:ze,x:Qt,y:vt}}),Ct.rotation=-(Se+Math.PI/2),Ct.x=s.cx,Ct.y=s.cy,Ct}function ve(Ee,Se){var ke=P.get("roundCap"),Le=ke?n3:Hu,be=P.get("overlap"),ze=be?P.get("width"):C/k.count(),ut=be?s.r-ze:s.r-(Ee+1)*ze,ft=be?s.r:s.r-Ee*ze,Qt=new Le({shape:{startAngle:l,endAngle:Se,cx:s.cx,cy:s.cy,clockwise:v,r0:ut,r:ft}});return be&&(Qt.z2=ea(k.get(G,Ee),[Y,re],[100,0],!0)),Qt}(M||L)&&(k.diff(x).add(function(Ee){var Se=k.get(G,Ee);if(L){var ke=pe(Ee,l);Co(ke,{rotation:-((isNaN(+Se)?le[0]:ea(Se,ie,le,!0))+Math.PI/2)},e),w.add(ke),k.setItemGraphicEl(Ee,ke)}if(M){var Le=ve(Ee,l),be=P.get("clip");Co(Le,{shape:{endAngle:ea(Se,ie,le,be)}},e),w.add(Le),h1(e.seriesIndex,k.dataType,Ee,Le),R[Ee]=Le}}).update(function(Ee,Se){var ke=k.get(G,Ee);if(L){var Le=x.getItemGraphicEl(Se),be=Le?Le.rotation:l,ze=pe(Ee,be);ze.rotation=be,ga(ze,{rotation:-((isNaN(+ke)?le[0]:ea(ke,ie,le,!0))+Math.PI/2)},e),w.add(ze),k.setItemGraphicEl(Ee,ze)}if(M){var ut=Q[Se],ft=ut?ut.shape.endAngle:l,Qt=ve(Ee,ft),vt=P.get("clip");ga(Qt,{shape:{endAngle:ea(ke,ie,le,vt)}},e),w.add(Qt),h1(e.seriesIndex,k.dataType,Ee,Qt),R[Ee]=Qt}}).execute(),k.each(function(Ee){var Se=k.getItemModel(Ee),ke=Se.getModel("emphasis"),Le=ke.get("focus"),be=ke.get("blurScope"),ze=ke.get("disabled");if(L){var ut=k.getItemGraphicEl(Ee),ft=k.getItemVisual(Ee,"style"),Qt=ft.fill;if(ut instanceof Ws){var vt=ut.style;ut.useStyle(ar({image:vt.image,x:vt.x,y:vt.y,width:vt.width,height:vt.height},ft))}else ut.useStyle(ft),ut.type!=="pointer"&&ut.setColor(Qt);ut.setStyle(Se.getModel(["pointer","itemStyle"]).getItemStyle()),ut.style.fill==="auto"&&ut.setStyle("fill",o(ea(k.get(G,Ee),ie,[0,1],!0))),ut.z2EmphasisLift=0,hu(ut,Se),uo(ut,Le,be,ze)}if(M){var Gt=R[Ee];Gt.useStyle(k.getItemVisual(Ee,"style")),Gt.setStyle(Se.getModel(["progress","itemStyle"]).getItemStyle()),Gt.z2EmphasisLift=0,hu(Gt,Se),uo(Gt,Le,be,ze)}}),this._progressEls=R)},t.prototype._renderAnchor=function(e,n){var i=e.getModel("anchor"),o=i.get("show");if(o){var s=i.get("size"),l=i.get("icon"),f=i.get("offsetCenter"),v=i.get("keepAspect"),C=yt(l,n.cx-s/2+jr(f[0],n.r),n.cy-s/2+jr(f[1],n.r),s,s,null,v);C.z2=i.get("showAbove")?1:0,C.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(C)}},t.prototype._renderTitleAndDetail=function(e,n,i,o,s){var l=this,f=e.getData(),v=f.mapDimension("value"),C=+e.get("min"),w=+e.get("max"),x=new Nn,Q=[],R=[],L=e.isAnimationEnabled(),P=e.get(["pointer","showAbove"]);f.diff(this._data).add(function(M){Q[M]=new Mn({silent:!0}),R[M]=new Mn({silent:!0})}).update(function(M,k){Q[M]=l._titleEls[k],R[M]=l._detailEls[k]}).execute(),f.each(function(M){var k=f.getItemModel(M),G=f.get(v,M),Y=new Nn,re=o(ea(G,[C,w],[0,1],!0)),ie=k.getModel("title");if(ie.get("show")){var le=ie.get("offsetCenter"),pe=s.cx+jr(le[0],s.r),ve=s.cy+jr(le[1],s.r),Ee=Q[M];Ee.attr({z2:P?0:2,style:La(ie,{x:pe,y:ve,text:f.getName(M),align:"center",verticalAlign:"middle"},{inheritColor:re})}),Y.add(Ee)}var Se=k.getModel("detail");if(Se.get("show")){var ke=Se.get("offsetCenter"),Le=s.cx+jr(ke[0],s.r),be=s.cy+jr(ke[1],s.r),ze=jr(Se.get("width"),s.r),ut=jr(Se.get("height"),s.r),ft=e.get(["progress","show"])?f.getItemVisual(M,"style").fill:re,Ee=R[M],Qt=Se.get("formatter");Ee.attr({z2:P?0:2,style:La(Se,{x:Le,y:be,text:A9(G,Qt),width:isNaN(ze)?null:ze,height:isNaN(ut)?null:ut,align:"center",verticalAlign:"middle"},{inheritColor:ft})}),bE(Ee,{normal:Se},G,function(Gt){return A9(Gt,Qt)}),L&&CE(Ee,M,f,e,{getFormattedLabel:function(Gt,Ct,St,dr,ur,ir){return A9(ir?ir.interpolatedValue:G,Qt)}}),Y.add(Ee)}x.add(Y)}),this.group.add(x),this._titleEls=Q,this._detailEls=R},t.type="gauge",t}(d),cY=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="itemStyle",e}return t.prototype.getInitialData=function(e,n){return h3(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(no);function lY(r){r.registerChartView(uY),r.registerSeriesModel(cY)}var hY=["itemStyle","opacity"],fY=function(r){kt(t,r);function t(e,n){var i=r.call(this)||this,o=i,s=new pc,l=new Mn;return o.setTextContent(l),i.setTextGuideLine(s),i.updateData(e,n,!0),i}return t.prototype.updateData=function(e,n,i){var o=this,s=e.hostModel,l=e.getItemModel(n),f=e.getItemLayout(n),v=l.getModel("emphasis"),C=l.get(hY);C=C??1,i||_l(o),o.useStyle(e.getItemVisual(n,"style")),o.style.lineJoin="round",i?(o.setShape({points:f.points}),o.style.opacity=0,Co(o,{style:{opacity:C}},s,n)):ga(o,{style:{opacity:C},shape:{points:f.points}},s,n),hu(o,l),this._updateLabel(e,n),uo(this,v.get("focus"),v.get("blurScope"),v.get("disabled"))},t.prototype._updateLabel=function(e,n){var i=this,o=this.getTextGuideLine(),s=i.getTextContent(),l=e.hostModel,f=e.getItemModel(n),v=e.getItemLayout(n),C=v.label,w=e.getItemVisual(n,"style"),x=w.fill;Uo(s,_s(f),{labelFetcher:e.hostModel,labelDataIndex:n,defaultOpacity:w.opacity,defaultText:e.getName(n)},{normal:{align:C.textAlign,verticalAlign:C.verticalAlign}}),i.setTextConfig({local:!0,inside:!!C.inside,insideStroke:x,outsideFill:x});var Q=C.linePoints;o.setShape({points:Q}),i.textGuideLineConfig={anchor:Q?new ci(Q[0][0],Q[0][1]):null},ga(s,{style:{x:C.x,y:C.y}},l,n),s.attr({rotation:C.rotation,originX:C.x,originY:C.y,z2:10}),o4(i,ev(f),{stroke:x})},t}(Yu),AY=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.ignoreLabelLineUpdate=!0,e}return t.prototype.render=function(e,n,i){var o=e.getData(),s=this._data,l=this.group;o.diff(s).add(function(f){var v=new fY(o,f);o.setItemGraphicEl(f,v),l.add(v)}).update(function(f,v){var C=s.getItemGraphicEl(v);C.updateData(o,f),l.add(C),o.setItemGraphicEl(f,C)}).remove(function(f){var v=s.getItemGraphicEl(f);kp(v,e,f)}).execute(),this._data=o},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(d),dY=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new F4(an(this.getData,this),an(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.getInitialData=function(e,n){return h3(this,{coordDimensions:["value"],encodeDefaulter:ni(ab,this)})},t.prototype._defaultLabelLine=function(e){xd(e,"labelLine",["show"]);var n=e.labelLine,i=e.emphasis.labelLine;n.show=n.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},t.prototype.getDataParams=function(e){var n=this.getData(),i=r.prototype.getDataParams.call(this,e),o=n.mapDimension("value"),s=n.getSum(o);return i.percent=s?+(n.get(o,e)/s*100).toFixed(2):0,i.$vars.push("percent"),i},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(no);function gY(r,t){return Mo(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function pY(r,t){for(var e=r.mapDimension("value"),n=r.mapArray(e,function(f){return f}),i=[],o=t==="ascending",s=0,l=r.count();s<l;s++)i[s]=s;return bn(t)?i.sort(t):t!=="none"&&i.sort(function(f,v){return o?n[f]-n[v]:n[v]-n[f]}),i}function vY(r){var t=r.hostModel,e=t.get("orient");r.each(function(n){var i=r.getItemModel(n),o=i.getModel("label"),s=o.get("position"),l=i.getModel("labelLine"),f=r.getItemLayout(n),v=f.points,C=s==="inner"||s==="inside"||s==="center"||s==="insideLeft"||s==="insideRight",w,x,Q,R;if(C)s==="insideLeft"?(x=(v[0][0]+v[3][0])/2+5,Q=(v[0][1]+v[3][1])/2,w="left"):s==="insideRight"?(x=(v[1][0]+v[2][0])/2-5,Q=(v[1][1]+v[2][1])/2,w="right"):(x=(v[0][0]+v[1][0]+v[2][0]+v[3][0])/4,Q=(v[0][1]+v[1][1]+v[2][1]+v[3][1])/4,w="center"),R=[[x,Q],[x,Q]];else{var L=void 0,P=void 0,M=void 0,k=void 0,G=l.get("length");s==="left"?(L=(v[3][0]+v[0][0])/2,P=(v[3][1]+v[0][1])/2,M=L-G,x=M-5,w="right"):s==="right"?(L=(v[1][0]+v[2][0])/2,P=(v[1][1]+v[2][1])/2,M=L+G,x=M+5,w="left"):s==="top"?(L=(v[3][0]+v[0][0])/2,P=(v[3][1]+v[0][1])/2,k=P-G,Q=k-5,w="center"):s==="bottom"?(L=(v[1][0]+v[2][0])/2,P=(v[1][1]+v[2][1])/2,k=P+G,Q=k+5,w="center"):s==="rightTop"?(L=e==="horizontal"?v[3][0]:v[1][0],P=e==="horizontal"?v[3][1]:v[1][1],e==="horizontal"?(k=P-G,Q=k-5,w="center"):(M=L+G,x=M+5,w="top")):s==="rightBottom"?(L=v[2][0],P=v[2][1],e==="horizontal"?(k=P+G,Q=k+5,w="center"):(M=L+G,x=M+5,w="bottom")):s==="leftTop"?(L=v[0][0],P=e==="horizontal"?v[0][1]:v[1][1],e==="horizontal"?(k=P-G,Q=k-5,w="center"):(M=L-G,x=M-5,w="right")):s==="leftBottom"?(L=e==="horizontal"?v[1][0]:v[3][0],P=e==="horizontal"?v[1][1]:v[2][1],e==="horizontal"?(k=P+G,Q=k+5,w="center"):(M=L-G,x=M-5,w="right")):(L=(v[1][0]+v[2][0])/2,P=(v[1][1]+v[2][1])/2,e==="horizontal"?(k=P+G,Q=k+5,w="center"):(M=L+G,x=M+5,w="left")),e==="horizontal"?(M=L,x=M):(k=P,Q=k),R=[[L,P],[M,k]]}f.label={linePoints:R,x,y:Q,verticalAlign:"middle",textAlign:w,inside:C}})}function yY(r,t){r.eachSeriesByType("funnel",function(e){var n=e.getData(),i=n.mapDimension("value"),o=e.get("sort"),s=gY(e,t),l=e.get("orient"),f=s.width,v=s.height,C=pY(n,o),w=s.x,x=s.y,Q=l==="horizontal"?[jr(e.get("minSize"),v),jr(e.get("maxSize"),v)]:[jr(e.get("minSize"),f),jr(e.get("maxSize"),f)],R=n.getDataExtent(i),L=e.get("min"),P=e.get("max");L==null&&(L=Math.min(R[0],0)),P==null&&(P=R[1]);var M=e.get("funnelAlign"),k=e.get("gap"),G=l==="horizontal"?f:v,Y=(G-k*(n.count()-1))/n.count(),re=function(be,ze){if(l==="horizontal"){var ut=n.get(i,be)||0,ft=ea(ut,[L,P],Q,!0),Qt=void 0;switch(M){case"top":Qt=x;break;case"center":Qt=x+(v-ft)/2;break;case"bottom":Qt=x+(v-ft);break}return[[ze,Qt],[ze,Qt+ft]]}var vt=n.get(i,be)||0,Gt=ea(vt,[L,P],Q,!0),Ct;switch(M){case"left":Ct=w;break;case"center":Ct=w+(f-Gt)/2;break;case"right":Ct=w+f-Gt;break}return[[Ct,ze],[Ct+Gt,ze]]};o==="ascending"&&(Y=-Y,k=-k,l==="horizontal"?w+=f:x+=v,C=C.reverse());for(var ie=0;ie<C.length;ie++){var le=C[ie],pe=C[ie+1],ve=n.getItemModel(le);if(l==="horizontal"){var Ee=ve.get(["itemStyle","width"]);Ee==null?Ee=Y:(Ee=jr(Ee,f),o==="ascending"&&(Ee=-Ee));var Se=re(le,w),ke=re(pe,w+Ee);w+=Ee+k,n.setItemLayout(le,{points:Se.concat(ke.slice().reverse())})}else{var Le=ve.get(["itemStyle","height"]);Le==null?Le=Y:(Le=jr(Le,v),o==="ascending"&&(Le=-Le));var Se=re(le,x),ke=re(pe,x+Le);x+=Le+k,n.setItemLayout(le,{points:Se.concat(ke.slice().reverse())})}}vY(n)})}function mY(r){r.registerChartView(AY),r.registerSeriesModel(dY),r.registerLayout(yY),r.registerProcessor(Um("funnel"))}var IY=.3,bY=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._dataGroup=new Nn,e._initialized=!1,e}return t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,n,i,o){this._progressiveEls=null;var s=this._dataGroup,l=e.getData(),f=this._data,v=e.coordinateSystem,C=v.dimensions,w=TM(e);l.diff(f).add(x).update(Q).remove(R).execute();function x(P){var M=FM(l,s,P,C,v);SS(M,l,P,w)}function Q(P,M){var k=f.getItemGraphicEl(M),G=MM(l,P,C,v);l.setItemGraphicEl(P,k),ga(k,{shape:{points:G}},e,P),_l(k),SS(k,l,P,w)}function R(P){var M=f.getItemGraphicEl(P);s.remove(M)}if(!this._initialized){this._initialized=!0;var L=CY(v,e,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(L)}this._data=l},t.prototype.incrementalPrepareRender=function(e,n,i){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(e,n,i){for(var o=n.getData(),s=n.coordinateSystem,l=s.dimensions,f=TM(n),v=this._progressiveEls=[],C=e.start;C<e.end;C++){var w=FM(o,this._dataGroup,C,l,s);w.incremental=!0,SS(w,o,C,f),v.push(w)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(d);function CY(r,t,e){var n=r.model,i=r.getRect(),o=new ta({shape:{x:i.x,y:i.y,width:i.width,height:i.height}}),s=n.get("layout")==="horizontal"?"width":"height";return o.setShape(s,0),Co(o,{shape:{width:i.width,height:i.height}},t,e),o}function MM(r,t,e,n){for(var i=[],o=0;o<e.length;o++){var s=e[o],l=r.get(r.mapDimension(s),t);wY(l,n.getAxis(s).type)||i.push(n.dataToPoint(l,s))}return i}function FM(r,t,e,n,i){var o=MM(r,e,n,i),s=new pc({shape:{points:o},z2:10});return t.add(s),r.setItemGraphicEl(e,s),s}function TM(r){var t=r.get("smooth",!0);return t===!0&&(t=IY),t=kc(t),Tg(t)&&(t=0),{smooth:t}}function SS(r,t,e,n){r.useStyle(t.getItemVisual(e,"style")),r.style.fill=null,r.setShape("smooth",n.smooth);var i=t.getItemModel(e),o=i.getModel("emphasis");hu(r,i,"lineStyle"),uo(r,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function wY(r,t){return t==="category"?r==null:r==null||isNaN(r)}var EY=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return t.prototype.getInitialData=function(e,n){return WA(null,this,{useEncodeDefaulter:an(BY,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var n=this.coordinateSystem,i=this.getData(),o=[];return n.eachActiveState(i,function(s,l){e===s&&o.push(i.getRawIndex(l))}),o},t.type="series.parallel",t.dependencies=["parallel"],t.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},t}(no);function BY(r){var t=r.ecModel.getComponent("parallel",r.get("parallelIndex"));if(t){var e={};return Ne(t.dimensions,function(n){var i=kY(n);e[n]=i}),e}}function kY(r){return+r.replace("dim","")}var QY=["lineStyle","opacity"],xY={seriesType:"parallel",reset:function(r,t){var e=r.coordinateSystem,n={normal:r.get(["lineStyle","opacity"]),active:r.get("activeOpacity"),inactive:r.get("inactiveOpacity")};return{progress:function(i,o){e.eachActiveState(o,function(s,l){var f=n[s];if(s==="normal"&&o.hasItemOption){var v=o.getItemModel(l).get(QY,!0);v!=null&&(f=v)}var C=o.ensureUniqueItemVisual(l,"style");C.opacity=f},i.start,i.end)}}}};function SY(r){_Y(r),DY(r)}function _Y(r){if(!r.parallel){var t=!1;Ne(r.series,function(e){e&&e.type==="parallel"&&(t=!0)}),t&&(r.parallel=[{}])}}function DY(r){var t=ja(r.parallelAxis);Ne(t,function(e){if(Ln(e)){var n=e.parallelIndex||0,i=ja(r.parallel)[n];i&&i.parallelAxisDefault&&Kn(e,i.parallelAxisDefault,!1)}})}var RY=5,MY=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){this._model=e,this._api=i,this._handlers||(this._handlers={},Ne(FY,function(o,s){i.getZr().on(s,this._handlers[s]=an(o,this))},this)),S(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(e,n){_(this,"_throttledDispatchExpand"),Ne(this._handlers,function(i,o){n.getZr().off(o,i)}),this._handlers=null},t.prototype._throttledDispatchExpand=function(e){this._dispatchExpand(e)},t.prototype._dispatchExpand=function(e){e&&this._api.dispatchAction(ar({type:"parallelAxisExpand"},e))},t.type="parallel",t}(a),FY={mousedown:function(r){_S(this,"click")&&(this._mouseDownPoint=[r.offsetX,r.offsetY])},mouseup:function(r){var t=this._mouseDownPoint;if(_S(this,"click")&&t){var e=[r.offsetX,r.offsetY],n=Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2);if(n>RY)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(r){if(!(this._mouseDownPoint||!_S(this,"mousemove"))){var t=this._model,e=t.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]),n=e.behavior;n==="jump"&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand(n==="none"?null:{axisExpandWindow:e.axisExpandWindow,animation:n==="jump"?null:{duration:0}})}}};function _S(r,t){var e=r._model;return e.get("axisExpandable")&&e.get("axisExpandTriggerOn")===t}var TY=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var n=this.option;e&&Kn(n,e,!0),this._initDimensions()},t.prototype.contains=function(e,n){var i=e.get("parallelIndex");return i!=null&&n.getComponent("parallel",i)===this},t.prototype.setAxisExpand=function(e){Ne(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(n){e.hasOwnProperty(n)&&(this.option[n]=e[n])},this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],n=this.parallelAxisIndex=[],i=Ii(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(o){return(o.get("parallelIndex")||0)===this.componentIndex},this);Ne(i,function(o){e.push("dim"+o.get("dim")),n.push(o.componentIndex)})},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t}(Oi),LY=function(r){kt(t,r);function t(e,n,i,o,s){var l=r.call(this,e,n,i)||this;return l.type=o||"value",l.axisIndex=s,l}return t.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},t}(_u);function bC(r,t,e,n,i,o){r=r||0;var s=e[1]-e[0];if(i!=null&&(i=v3(i,[0,s])),o!=null&&(o=Math.max(o,i??0)),n==="all"){var l=Math.abs(t[1]-t[0]);l=v3(l,[0,s]),i=o=v3(l,[i,o]),n=0}t[0]=v3(t[0],e),t[1]=v3(t[1],e);var f=DS(t,n);t[n]+=r;var v=i||0,C=e.slice();f.sign<0?C[0]+=v:C[1]-=v,t[n]=v3(t[n],C);var w;return w=DS(t,n),i!=null&&(w.sign!==f.sign||w.span<i)&&(t[1-n]=t[n]+f.sign*i),w=DS(t,n),o!=null&&w.span>o&&(t[1-n]=t[n]+w.sign*o),t}function DS(r,t){var e=r[t]-r[1-t];return{span:Math.abs(e),sign:e>0?-1:e<0?1:t?-1:1}}function v3(r,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,r))}var RS=Ne,LM=Math.min,NM=Math.max,OM=Math.floor,NY=Math.ceil,PM=Ra,OY=Math.PI,PY=function(){function r(t,e,n){this.type="parallel",this._axesMap=mn(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return r.prototype._init=function(t,e,n){var i=t.dimensions,o=t.parallelAxisIndex;RS(i,function(s,l){var f=o[l],v=e.getComponent("parallelAxis",f),C=this._axesMap.set(s,new LY(s,$b(v),[0,0],v.get("type"),f)),w=C.type==="category";C.onBand=w&&v.get("boundaryGap"),C.inverse=v.get("inverse"),v.axis=C,C.model=v,C.coordinateSystem=v.coordinateSystem=this},this)},r.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},r.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,o=e.pixelDimIndex,s=t[1-o],l=t[o];return s>=n&&s<=n+e.axisLength&&l>=i&&l<=i+e.layoutLength},r.prototype.getModel=function(){return this._model},r.prototype._updateAxesFromSeries=function(t,e){e.eachSeries(function(n){if(t.contains(n,e)){var i=n.getData();RS(this.dimensions,function(o){var s=this._axesMap.get(o);s.scale.unionExtentFromData(i,i.mapDimension(o)),l0(s.scale,s.model)},this)}},this)},r.prototype.resize=function(t,e){this._rect=Mo(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},r.prototype.getRect=function(){return this._rect},r.prototype._makeLayoutInfo=function(){var t=this._model,e=this._rect,n=["x","y"],i=["width","height"],o=t.get("layout"),s=o==="horizontal"?0:1,l=e[i[s]],f=[0,l],v=this.dimensions.length,C=d9(t.get("axisExpandWidth"),f),w=d9(t.get("axisExpandCount")||0,[0,v]),x=t.get("axisExpandable")&&v>3&&v>w&&w>1&&C>0&&l>0,Q=t.get("axisExpandWindow"),R;if(Q)R=d9(Q[1]-Q[0],f),Q[1]=Q[0]+R;else{R=d9(C*(w-1),f);var L=t.get("axisExpandCenter")||OM(v/2);Q=[C*L-R/2],Q[1]=Q[0]+R}var P=(l-R)/(v-w);P<3&&(P=0);var M=[OM(PM(Q[0]/C,1))+1,NY(PM(Q[1]/C,1))-1],k=P/C*Q[0];return{layout:o,pixelDimIndex:s,layoutBase:e[n[s]],layoutLength:l,axisBase:e[n[1-s]],axisLength:e[i[1-s]],axisExpandable:x,axisExpandWidth:C,axisCollapseWidth:P,axisExpandWindow:Q,axisCount:v,winInnerIndices:M,axisExpandWindow0Pos:k}},r.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),o=i.layout;e.each(function(s){var l=[0,i.axisLength],f=s.inverse?1:0;s.setExtent(l[f],l[1-f])}),RS(n,function(s,l){var f=(i.axisExpandable?UY:GY)(l,i),v={horizontal:{x:f.position,y:i.axisLength},vertical:{x:0,y:f.position}},C={horizontal:OY/2,vertical:0},w=[v[o].x+t.x,v[o].y+t.y],x=C[o],Q=Lu();nf(Q,Q,x),Hs(Q,Q,w),this._axesLayout[s]={position:w,rotation:x,transform:Q,axisNameAvailableWidth:f.axisNameAvailableWidth,axisLabelShow:f.axisLabelShow,nameTruncateMaxWidth:f.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},r.prototype.getAxis=function(t){return this._axesMap.get(t)},r.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},r.prototype.eachActiveState=function(t,e,n,i){n==null&&(n=0),i==null&&(i=t.count());var o=this._axesMap,s=this.dimensions,l=[],f=[];Ne(s,function(P){l.push(t.mapDimension(P)),f.push(o.get(P).model)});for(var v=this.hasAxisBrushed(),C=n;C<i;C++){var w=void 0;if(!v)w="normal";else{w="active";for(var x=t.getValues(l,C),Q=0,R=s.length;Q<R;Q++){var L=f[Q].getActiveState(x[Q]);if(L==="inactive"){w="inactive";break}}}e(w,C)}},r.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,o=t.length;i<o;i++)e.get(t[i]).model.getActiveState()!=="normal"&&(n=!0);return n},r.prototype.axisCoordToPoint=function(t,e){var n=this._axesLayout[e];return Rl([t,0],n.transform)},r.prototype.getAxisLayout=function(t){return Bn(this._axesLayout[t])},r.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),o=i[1]-i[0],s=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var l=t[n]-e.layoutBase-e.axisExpandWindow0Pos,f,v="slide",C=e.axisCollapseWidth,w=this._model.get("axisExpandSlideTriggerArea"),x=w[0]!=null;if(C)x&&C&&l<o*w[0]?(v="jump",f=l-o*w[2]):x&&C&&l>o*(1-w[0])?(v="jump",f=l-o*(1-w[2])):(f=l-o*w[1])>=0&&(f=l-o*(1-w[1]))<=0&&(f=0),f*=e.axisExpandWidth/C,f?bC(f,i,s,"all"):v="none";else{var Q=i[1]-i[0],R=s[1]*l/Q;i=[NM(0,R-Q/2)],i[1]=LM(s[1],i[0]+Q),i[0]=i[1]-Q}return{axisExpandWindow:i,behavior:v}},r}();function d9(r,t){return LM(NM(r,t[0]),t[1])}function GY(r,t){var e=t.layoutLength/(t.axisCount-1);return{position:e*r,axisNameAvailableWidth:e,axisLabelShow:!0}}function UY(r,t){var e=t.layoutLength,n=t.axisExpandWidth,i=t.axisCount,o=t.axisCollapseWidth,s=t.winInnerIndices,l,f=o,v=!1,C;return r<s[0]?(l=r*o,C=o):r<=s[1]?(l=t.axisExpandWindow0Pos+r*n-t.axisExpandWindow[0],f=n,v=!0):(l=e-(i-1-r)*o,C=o),{position:l,axisNameAvailableWidth:f,axisLabelShow:v,nameTruncateMaxWidth:C}}function jY(r,t){var e=[];return r.eachComponent("parallel",function(n,i){var o=new PY(n,r,t);o.name="parallel_"+i,o.resize(n,t),n.coordinateSystem=o,o.model=n,e.push(o)}),r.eachSeries(function(n){if(n.get("coordinateSystem")==="parallel"){var i=n.getReferringComponents("parallel",fs).models[0];n.coordinateSystem=i.coordinateSystem}}),e}var HY={create:jY},MS=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.activeIntervals=[],e}return t.prototype.getAreaSelectStyle=function(){return pA([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var n=this.activeIntervals=Bn(e);if(n)for(var i=n.length-1;i>=0;i--)ki(n[i])},t.prototype.getActiveState=function(e){var n=this.activeIntervals;if(!n.length)return"normal";if(e==null||isNaN(+e))return"inactive";if(n.length===1){var i=n[0];if(i[0]<=e&&e<=i[1])return"active"}else for(var o=0,s=n.length;o<s;o++)if(n[o][0]<=e&&e<=n[o][1])return"active";return"inactive"},t}(Oi);Ea(MS,Z1);var CC=!0,Z4=Math.min,y3=Math.max,YY=Math.pow,JY=1e4,WY=6,qY=6,GM="globalPan",zY={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},KY={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},UM={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},VY=0,FS=function(r){kt(t,r);function t(e){var n=r.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new Nn,n._uid="brushController_"+VY++,Ne(nJ,function(i,o){this._handlers[o]=an(i,this)},n),n}return t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var n=this._zr;this._enableGlobalPan||GU(n,GM,this._uid),Ne(this._handlers,function(i,o){n.on(o,i)}),this._brushType=e.brushType,this._brushOption=Kn(Bn(UM),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;UU(e,GM,this._uid),Ne(this._handlers,function(n,i){e.off(i,n)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var n=this._panels={};Ne(e,function(i){n[i.panelId]=Bn(i)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var n=this.group;return this._zr.add(n),n.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=n.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=pr(e,function(x){return Kn(Bn(UM),x,!0)});var n="\0-brush-index-",i=this._covers,o=this._covers=[],s=this,l=this._creatingCover;return new Wh(i,e,v,f).add(C).update(C).remove(w).execute(),this;function f(x,Q){return(x.id!=null?x.id:n+Q)+"-"+x.brushType}function v(x,Q){return f(x.__brushOption,Q)}function C(x,Q){var R=e[x];if(Q!=null&&i[Q]===l)o[x]=i[Q];else{var L=o[x]=Q!=null?(i[Q].__brushOption=R,i[Q]):HM(s,jM(s,R));TS(s,L)}}function w(x){i[x]!==l&&s.group.remove(i[x])}},t.prototype.unmount=function(){return this.enableBrush(!1),OS(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(au);function jM(r,t){var e=g9[t.brushType].createCover(r,t);return e.__brushOption=t,JM(e,t),r.group.add(e),e}function HM(r,t){var e=LS(t);return e.endCreating&&(e.endCreating(r,t),JM(t,t.__brushOption)),t}function YM(r,t){var e=t.__brushOption;LS(t).updateCoverShape(r,t,e.range,e)}function JM(r,t){var e=t.z;e==null&&(e=JY),r.traverse(function(n){n.z=e,n.z2=e})}function TS(r,t){LS(t).updateCommon(r,t),YM(r,t)}function LS(r){return g9[r.__brushOption.brushType]}function NS(r,t,e){var n=r._panels;if(!n)return CC;var i,o=r._transform;return Ne(n,function(s){s.isTargetByCursor(t,e,o)&&(i=s)}),i}function WM(r,t){var e=r._panels;if(!e)return CC;var n=t.__brushOption.panelId;return n!=null?e[n]:CC}function OS(r){var t=r._covers,e=t.length;return Ne(t,function(n){r.group.remove(n)},r),t.length=0,!!e}function wC(r,t){var e=pr(r._covers,function(n){var i=n.__brushOption,o=Bn(i.range);return{brushType:i.brushType,panelId:i.panelId,range:o}});r.trigger("brush",{areas:e,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function ZY(r){var t=r._track;if(!t.length)return!1;var e=t[t.length-1],n=t[0],i=e[0]-n[0],o=e[1]-n[1],s=YY(i*i+o*o,.5);return s>WY}function qM(r){var t=r.length-1;return t<0&&(t=0),[r[0],r[t]]}function zM(r,t,e,n){var i=new Nn;return i.add(new ta({name:"main",style:GS(e),silent:!0,draggable:!0,cursor:"move",drift:ni(ZM,r,t,i,["n","s","w","e"]),ondragend:ni(wC,t,{isEnd:!0})})),Ne(n,function(o){i.add(new ta({name:o.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:ni(ZM,r,t,i,o),ondragend:ni(wC,t,{isEnd:!0})}))}),i}function KM(r,t,e,n){var i=n.brushStyle.lineWidth||0,o=y3(i,qY),s=e[0][0],l=e[1][0],f=s-i/2,v=l-i/2,C=e[0][1],w=e[1][1],x=C-o+i/2,Q=w-o+i/2,R=C-s,L=w-l,P=R+i,M=L+i;hv(r,t,"main",s,l,R,L),n.transformable&&(hv(r,t,"w",f,v,o,M),hv(r,t,"e",x,v,o,M),hv(r,t,"n",f,v,P,o),hv(r,t,"s",f,Q,P,o),hv(r,t,"nw",f,v,o,o),hv(r,t,"ne",x,v,o,o),hv(r,t,"sw",f,Q,o,o),hv(r,t,"se",x,Q,o,o))}function PS(r,t){var e=t.__brushOption,n=e.transformable,i=t.childAt(0);i.useStyle(GS(e)),i.attr({silent:!n,cursor:n?"move":"default"}),Ne([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(o){var s=t.childOfName(o.join("")),l=o.length===1?US(r,o[0]):$Y(r,o);s&&s.attr({silent:!n,invisible:!n,cursor:n?KY[l]+"-resize":null})})}function hv(r,t,e,n,i,o,s){var l=t.childOfName(e);l&&l.setShape(tJ(jS(r,t,[[n,i],[n+o,i+s]])))}function GS(r){return pn({strokeNoScale:!0},r.brushStyle)}function VM(r,t,e,n){var i=[Z4(r,e),Z4(t,n)],o=[y3(r,e),y3(t,n)];return[[i[0],o[0]],[i[1],o[1]]]}function XY(r){return og(r.group)}function US(r,t){var e={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},i=C1(e[t],XY(r));return n[i]}function $Y(r,t){var e=[US(r,t[0]),US(r,t[1])];return(e[0]==="e"||e[0]==="w")&&e.reverse(),e.join("")}function ZM(r,t,e,n,i,o){var s=e.__brushOption,l=r.toRectRange(s.range),f=XM(t,i,o);Ne(n,function(v){var C=zY[v];l[C[0]][C[1]]+=f[C[0]]}),s.range=r.fromRectRange(VM(l[0][0],l[1][0],l[0][1],l[1][1])),TS(t,e),wC(t,{isEnd:!1})}function eJ(r,t,e,n){var i=t.__brushOption.range,o=XM(r,e,n);Ne(i,function(s){s[0]+=o[0],s[1]+=o[1]}),TS(r,t),wC(r,{isEnd:!1})}function XM(r,t,e){var n=r.group,i=n.transformCoordToLocal(t,e),o=n.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function jS(r,t,e){var n=WM(r,t);return n&&n!==CC?n.clipPath(e,r._transform):Bn(e)}function tJ(r){var t=Z4(r[0][0],r[1][0]),e=Z4(r[0][1],r[1][1]),n=y3(r[0][0],r[1][0]),i=y3(r[0][1],r[1][1]);return{x:t,y:e,width:n-t,height:i-e}}function rJ(r,t,e){if(!(!r._brushType||iJ(r,t.offsetX,t.offsetY))){var n=r._zr,i=r._covers,o=NS(r,t,e);if(!r._dragging)for(var s=0;s<i.length;s++){var l=i[s].__brushOption;if(o&&(o===CC||l.panelId===o.panelId)&&g9[l.brushType].contain(i[s],e[0],e[1]))return}o&&n.setCursorStyle("crosshair")}}function HS(r){var t=r.event;t.preventDefault&&t.preventDefault()}function YS(r,t,e){return r.childOfName("main").contain(t,e)}function $M(r,t,e,n){var i=r._creatingCover,o=r._creatingPanel,s=r._brushOption,l;if(r._track.push(e.slice()),ZY(r)||i){if(o&&!i){s.brushMode==="single"&&OS(r);var f=Bn(s);f.brushType=eF(f.brushType,o),f.panelId=o===CC?null:o.panelId,i=r._creatingCover=jM(r,f),r._covers.push(i)}if(i){var v=g9[eF(r._brushType,o)],C=i.__brushOption;C.range=v.getCreatingRange(jS(r,i,r._track)),n&&(HM(r,i),v.updateCommon(r,i)),YM(r,i),l={isEnd:n}}}else n&&s.brushMode==="single"&&s.removeOnClick&&NS(r,t,e)&&OS(r)&&(l={isEnd:n,removeOnClick:!0});return l}function eF(r,t){return r==="auto"?t.defaultBrushType:r}var nJ={mousedown:function(r){if(this._dragging)tF(this,r);else if(!r.target||!r.target.draggable){HS(r);var t=this.group.transformCoordToLocal(r.offsetX,r.offsetY);this._creatingCover=null;var e=this._creatingPanel=NS(this,r,t);e&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(r){var t=r.offsetX,e=r.offsetY,n=this.group.transformCoordToLocal(t,e);if(rJ(this,r,n),this._dragging){HS(r);var i=$M(this,r,n,!1);i&&wC(this,i)}},mouseup:function(r){tF(this,r)}};function tF(r,t){if(r._dragging){HS(t);var e=t.offsetX,n=t.offsetY,i=r.group.transformCoordToLocal(e,n),o=$M(r,t,i,!0);r._dragging=!1,r._track=[],r._creatingCover=null,o&&wC(r,o)}}function iJ(r,t,e){var n=r._zr;return t<0||t>n.getWidth()||e<0||e>n.getHeight()}var g9={lineX:rF(0),lineY:rF(1),rect:{createCover:function(r,t){function e(n){return n}return zM({toRectRange:e,fromRectRange:e},r,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(r){var t=qM(r);return VM(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(r,t,e,n){KM(r,t,e,n)},updateCommon:PS,contain:YS},polygon:{createCover:function(r,t){var e=new Nn;return e.add(new pc({name:"main",style:GS(t),silent:!0})),e},getCreatingRange:function(r){return r},endCreating:function(r,t){t.remove(t.childAt(0)),t.add(new Yu({name:"main",draggable:!0,drift:ni(eJ,r,t),ondragend:ni(wC,r,{isEnd:!0})}))},updateCoverShape:function(r,t,e,n){t.childAt(0).setShape({points:jS(r,t,e)})},updateCommon:PS,contain:YS}};function rF(r){return{createCover:function(t,e){return zM({toRectRange:function(n){var i=[n,[0,100]];return r&&i.reverse(),i},fromRectRange:function(n){return n[r]}},t,e,[[["w"],["e"]],[["n"],["s"]]][r])},getCreatingRange:function(t){var e=qM(t),n=Z4(e[0][r],e[1][r]),i=y3(e[0][r],e[1][r]);return[n,i]},updateCoverShape:function(t,e,n,i){var o,s=WM(t,e);if(s!==CC&&s.getLinearBrushOtherExtent)o=s.getLinearBrushOtherExtent(r);else{var l=t._zr;o=[0,[l.getWidth(),l.getHeight()][1-r]]}var f=[n,o];r&&f.reverse(),KM(t,e,f,i)},updateCommon:PS,contain:YS}}function nF(r){return r=JS(r),function(t){return yE(t,r)}}function iF(r,t){return r=JS(r),function(e){var n=t??e,i=n?r.width:r.height,o=n?r.x:r.y;return[o,o+(i||0)]}}function aF(r,t,e){var n=JS(r);return function(i,o){return n.contain(o[0],o[1])&&!e9(i,t,e)}}function JS(r){return gi.create(r)}var aJ=["axisLine","axisTickLabel","axisName"],oJ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n){r.prototype.init.apply(this,arguments),(this._brushController=new FS(n.getZr())).on("brush",an(this._onBrush,this))},t.prototype.render=function(e,n,i,o){if(!sJ(e,n,o)){this.axisModel=e,this.api=i,this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new Nn,this.group.add(this._axisGroup),!!e.get("show")){var l=cJ(e,n),f=l.coordinateSystem,v=e.getAreaSelectStyle(),C=v.width,w=e.axis.dim,x=f.getAxisLayout(w),Q=ar({strokeContainThreshold:C},x),R=new mh(e,Q);Ne(aJ,R.add,R),this._axisGroup.add(R.getGroup()),this._refreshBrushController(Q,v,e,l,C,i),w1(s,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,n,i,o,s,l){var f=i.axis.getExtent(),v=f[1]-f[0],C=Math.min(30,Math.abs(v)*.1),w=gi.create({x:f[0],y:-s/2,width:v,height:s});w.x-=C,w.width+=2*C,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:nF(w),isTargetByCursor:aF(w,l,o),getLinearBrushOtherExtent:iF(w,0)}]).enableBrush({brushType:"lineX",brushStyle:n,removeOnClick:!0}).updateCovers(uJ(i))},t.prototype._onBrush=function(e){var n=e.areas,i=this.axisModel,o=i.axis,s=pr(n,function(l){return[o.coordToData(l.range[0],!0),o.coordToData(l.range[1],!0)]});(!i.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:s})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(a);function sJ(r,t,e){return e&&e.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:e})[0]===r}function uJ(r){var t=r.axis;return pr(r.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}})}function cJ(r,t){return t.getComponent("parallel",r.get("parallelIndex"))}var lJ={type:"axisAreaSelect",event:"axisAreaSelected"};function hJ(r){r.registerAction(lJ,function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(n){n.axis.model.setActiveIntervals(t.intervals)})}),r.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(n){n.setAxisExpand(t)})})}var fJ={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function oF(r){r.registerComponentView(MY),r.registerComponentModel(TY),r.registerCoordinateSystem("parallel",HY),r.registerPreprocessor(SY),r.registerComponentModel(MS),r.registerComponentView(oJ),f3(r,"parallel",MS,fJ),hJ(r)}function AJ(r){Fi(oF),r.registerChartView(bY),r.registerSeriesModel(EY),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,xY)}var dJ=function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return r}(),gJ=function(r){kt(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new dJ},t.prototype.buildPath=function(e,n){var i=n.extent;e.moveTo(n.x1,n.y1),e.bezierCurveTo(n.cpx1,n.cpy1,n.cpx2,n.cpy2,n.x2,n.y2),n.orient==="vertical"?(e.lineTo(n.x2+i,n.y2),e.bezierCurveTo(n.cpx2+i,n.cpy2,n.cpx1+i,n.cpy1,n.x1+i,n.y1)):(e.lineTo(n.x2,n.y2+i),e.bezierCurveTo(n.cpx2,n.cpy2+i,n.cpx1,n.cpy1+i,n.x1,n.y1+i)),e.closePath()},t.prototype.highlight=function(){Dc(this)},t.prototype.downplay=function(){ko(this)},t}(Si),pJ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._focusAdjacencyDisabled=!1,e}return t.prototype.render=function(e,n,i){var o=this,s=e.getGraph(),l=this.group,f=e.layoutInfo,v=f.width,C=f.height,w=e.getData(),x=e.getData("edge"),Q=e.get("orient");this._model=e,l.removeAll(),l.x=f.x,l.y=f.y,s.eachEdge(function(R){var L=new gJ,P=Un(L);P.dataIndex=R.dataIndex,P.seriesIndex=e.seriesIndex,P.dataType="edge";var M=R.getModel(),k=M.getModel("lineStyle"),G=k.get("curveness"),Y=R.node1.getLayout(),re=R.node1.getModel(),ie=re.get("localX"),le=re.get("localY"),pe=R.node2.getLayout(),ve=R.node2.getModel(),Ee=ve.get("localX"),Se=ve.get("localY"),ke=R.getLayout(),Le,be,ze,ut,ft,Qt,vt,Gt;L.shape.extent=Math.max(1,ke.dy),L.shape.orient=Q,Q==="vertical"?(Le=(ie!=null?ie*v:Y.x)+ke.sy,be=(le!=null?le*C:Y.y)+Y.dy,ze=(Ee!=null?Ee*v:pe.x)+ke.ty,ut=Se!=null?Se*C:pe.y,ft=Le,Qt=be*(1-G)+ut*G,vt=ze,Gt=be*G+ut*(1-G)):(Le=(ie!=null?ie*v:Y.x)+Y.dx,be=(le!=null?le*C:Y.y)+ke.sy,ze=Ee!=null?Ee*v:pe.x,ut=(Se!=null?Se*C:pe.y)+ke.ty,ft=Le*(1-G)+ze*G,Qt=be,vt=Le*G+ze*(1-G),Gt=ut),L.setShape({x1:Le,y1:be,x2:ze,y2:ut,cpx1:ft,cpy1:Qt,cpx2:vt,cpy2:Gt}),L.useStyle(k.getItemStyle()),sF(L.style,Q,R);var Ct=""+M.get("value"),St=_s(M,"edgeLabel");Uo(L,St,{labelFetcher:{getFormattedLabel:function(ir,Fn,Ei,Vr,qr,Tn){return e.getFormattedLabel(ir,Fn,"edge",Vr,ec(qr,St.normal&&St.normal.get("formatter"),Ct),Tn)}},labelDataIndex:R.dataIndex,defaultText:Ct}),L.setTextConfig({position:"inside"});var dr=M.getModel("emphasis");hu(L,M,"lineStyle",function(ir){var Fn=ir.getItemStyle();return sF(Fn,Q,R),Fn}),l.add(L),x.setItemGraphicEl(R.dataIndex,L);var ur=dr.get("focus");uo(L,ur==="adjacency"?R.getAdjacentDataIndices():ur==="trajectory"?R.getTrajectoryDataIndices():ur,dr.get("blurScope"),dr.get("disabled"))}),s.eachNode(function(R){var L=R.getLayout(),P=R.getModel(),M=P.get("localX"),k=P.get("localY"),G=P.getModel("emphasis"),Y=P.get(["itemStyle","borderRadius"])||0,re=new ta({shape:{x:M!=null?M*v:L.x,y:k!=null?k*C:L.y,width:L.dx,height:L.dy,r:Y},style:P.getModel("itemStyle").getItemStyle(),z2:10});Uo(re,_s(P),{labelFetcher:{getFormattedLabel:function(le,pe){return e.getFormattedLabel(le,pe,"node")}},labelDataIndex:R.dataIndex,defaultText:R.id}),re.disableLabelAnimation=!0,re.setStyle("fill",R.getVisual("color")),re.setStyle("decal",R.getVisual("style").decal),hu(re,P),l.add(re),w.setItemGraphicEl(R.dataIndex,re),Un(re).dataType="node";var ie=G.get("focus");uo(re,ie==="adjacency"?R.getAdjacentDataIndices():ie==="trajectory"?R.getTrajectoryDataIndices():ie,G.get("blurScope"),G.get("disabled"))}),w.eachItemGraphicEl(function(R,L){var P=w.getItemModel(L);P.get("draggable")&&(R.drift=function(M,k){o._focusAdjacencyDisabled=!0,this.shape.x+=M,this.shape.y+=k,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:w.getRawIndex(L),localX:this.shape.x/v,localY:this.shape.y/C})},R.ondragend=function(){o._focusAdjacencyDisabled=!1},R.draggable=!0,R.cursor="move")}),!this._data&&e.isAnimationEnabled()&&l.setClipPath(vJ(l.getBoundingRect(),e,function(){l.removeClipPath()})),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(d);function sF(r,t,e){switch(r.fill){case"source":r.fill=e.node1.getVisual("color"),r.decal=e.node1.getVisual("style").decal;break;case"target":r.fill=e.node2.getVisual("color"),r.decal=e.node2.getVisual("style").decal;break;case"gradient":var n=e.node1.getVisual("color"),i=e.node2.getVisual("color");en(n)&&en(i)&&(r.fill=new tg(0,0,+(t==="horizontal"),+(t==="vertical"),[{color:n,offset:0},{color:i,offset:1}]))}}function vJ(r,t,e){var n=new ta({shape:{x:r.x-10,y:r.y-10,width:0,height:r.height+20}});return Co(n,{shape:{width:r.width+20}},t,e),n}var yJ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,n){var i=e.edges||e.links||[],o=e.data||e.nodes||[],s=e.levels||[];this.levelModels=[];for(var l=this.levelModels,f=0;f<s.length;f++)s[f].depth!=null&&s[f].depth>=0&&(l[s[f].depth]=new Ia(s[f],this,n));var v=RM(o,i,this,!0,C);return v.data;function C(w,x){w.wrapMethod("getItemModel",function(Q,R){var L=Q.parentModel,P=L.getData().getItemLayout(R);if(P){var M=P.depth,k=L.levelModels[M];k&&(Q.parentModel=k)}return Q}),x.wrapMethod("getItemModel",function(Q,R){var L=Q.parentModel,P=L.getGraph().getEdgeByIndex(R),M=P.node1.getLayout();if(M){var k=M.depth,G=L.levelModels[k];G&&(Q.parentModel=G)}return Q})}},t.prototype.setNodePosition=function(e,n){var i=this.option.data||this.option.nodes,o=i[e];o.localX=n[0],o.localY=n[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,n,i){function o(Q){return isNaN(Q)||Q==null}if(i==="edge"){var s=this.getDataParams(e,i),l=s.data,f=s.value,v=l.source+" -- "+l.target;return Xs("nameValue",{name:v,value:f,noValue:o(f)})}else{var C=this.getGraph().getNodeByIndex(e),w=C.getLayout().value,x=this.getDataParams(e,i).data.name;return Xs("nameValue",{name:x!=null?x+"":null,value:w,noValue:o(w)})}},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(e,n){var i=r.prototype.getDataParams.call(this,e,n);if(i.value==null&&n==="node"){var o=this.getGraph().getNodeByIndex(e),s=o.getLayout().value;i.value=s}return i},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(no);function mJ(r,t){r.eachSeriesByType("sankey",function(e){var n=e.get("nodeWidth"),i=e.get("nodeGap"),o=IJ(e,t);e.layoutInfo=o;var s=o.width,l=o.height,f=e.getGraph(),v=f.nodes,C=f.edges;CJ(v);var w=Ii(v,function(L){return L.getLayout().value===0}),x=w.length!==0?0:e.get("layoutIterations"),Q=e.get("orient"),R=e.get("nodeAlign");bJ(v,C,n,i,s,l,x,Q,R)})}function IJ(r,t){return Mo(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function bJ(r,t,e,n,i,o,s,l,f){wJ(r,t,e,i,o,l,f),QJ(r,t,o,i,n,s,l),LJ(r,l)}function CJ(r){Ne(r,function(t){var e=Ym(t.outEdges,p9),n=Ym(t.inEdges,p9),i=t.getValue()||0,o=Math.max(e,n,i);t.setLayout({value:o},!0)})}function wJ(r,t,e,n,i,o,s){for(var l=[],f=[],v=[],C=[],w=0,x=0;x<t.length;x++)l[x]=1;for(var x=0;x<r.length;x++)f[x]=r[x].inEdges.length,f[x]===0&&v.push(r[x]);for(var Q=-1;v.length;){for(var R=0;R<v.length;R++){var L=v[R],P=L.hostGraph.data.getRawDataItem(L.dataIndex),M=P.depth!=null&&P.depth>=0;M&&P.depth>Q&&(Q=P.depth),L.setLayout({depth:M?P.depth:w},!0),o==="vertical"?L.setLayout({dy:e},!0):L.setLayout({dx:e},!0);for(var k=0;k<L.outEdges.length;k++){var G=L.outEdges[k],Y=t.indexOf(G);l[Y]=0;var re=G.node2,ie=r.indexOf(re);--f[ie]===0&&C.indexOf(re)<0&&C.push(re)}}++w,v=C,C=[]}for(var x=0;x<l.length;x++)if(l[x]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var le=Q>w-1?Q:w-1;s&&s!=="left"&&EJ(r,s,o,le);var pe=o==="vertical"?(i-e)/le:(n-e)/le;kJ(r,pe,o)}function uF(r){var t=r.hostGraph.data.getRawDataItem(r.dataIndex);return t.depth!=null&&t.depth>=0}function EJ(r,t,e,n){if(t==="right"){for(var i=[],o=r,s=0;o.length;){for(var l=0;l<o.length;l++){var f=o[l];f.setLayout({skNodeHeight:s},!0);for(var v=0;v<f.inEdges.length;v++){var C=f.inEdges[v];i.indexOf(C.node1)<0&&i.push(C.node1)}}o=i,i=[],++s}Ne(r,function(w){uF(w)||w.setLayout({depth:Math.max(0,n-w.getLayout().skNodeHeight)},!0)})}else t==="justify"&&BJ(r,n)}function BJ(r,t){Ne(r,function(e){!uF(e)&&!e.outEdges.length&&e.setLayout({depth:t},!0)})}function kJ(r,t,e){Ne(r,function(n){var i=n.getLayout().depth*t;e==="vertical"?n.setLayout({y:i},!0):n.setLayout({x:i},!0)})}function QJ(r,t,e,n,i,o,s){var l=xJ(r,s);SJ(l,t,e,n,i,s),WS(l,i,e,n,s);for(var f=1;o>0;o--)f*=.99,_J(l,f,s),WS(l,i,e,n,s),TJ(l,f,s),WS(l,i,e,n,s)}function xJ(r,t){var e=[],n=t==="vertical"?"y":"x",i=n1(r,function(o){return o.getLayout()[n]});return i.keys.sort(function(o,s){return o-s}),Ne(i.keys,function(o){e.push(i.buckets.get(o))}),e}function SJ(r,t,e,n,i,o){var s=1/0;Ne(r,function(l){var f=l.length,v=0;Ne(l,function(w){v+=w.getLayout().value});var C=o==="vertical"?(n-(f-1)*i)/v:(e-(f-1)*i)/v;C<s&&(s=C)}),Ne(r,function(l){Ne(l,function(f,v){var C=f.getLayout().value*s;o==="vertical"?(f.setLayout({x:v},!0),f.setLayout({dx:C},!0)):(f.setLayout({y:v},!0),f.setLayout({dy:C},!0))})}),Ne(t,function(l){var f=+l.getValue()*s;l.setLayout({dy:f},!0)})}function WS(r,t,e,n,i){var o=i==="vertical"?"x":"y";Ne(r,function(s){s.sort(function(L,P){return L.getLayout()[o]-P.getLayout()[o]});for(var l,f,v,C=0,w=s.length,x=i==="vertical"?"dx":"dy",Q=0;Q<w;Q++)f=s[Q],v=C-f.getLayout()[o],v>0&&(l=f.getLayout()[o]+v,i==="vertical"?f.setLayout({x:l},!0):f.setLayout({y:l},!0)),C=f.getLayout()[o]+f.getLayout()[x]+t;var R=i==="vertical"?n:e;if(v=C-t-R,v>0){l=f.getLayout()[o]-v,i==="vertical"?f.setLayout({x:l},!0):f.setLayout({y:l},!0),C=l;for(var Q=w-2;Q>=0;--Q)f=s[Q],v=f.getLayout()[o]+f.getLayout()[x]+t-C,v>0&&(l=f.getLayout()[o]-v,i==="vertical"?f.setLayout({x:l},!0):f.setLayout({y:l},!0)),C=f.getLayout()[o]}})}function _J(r,t,e){Ne(r.slice().reverse(),function(n){Ne(n,function(i){if(i.outEdges.length){var o=Ym(i.outEdges,DJ,e)/Ym(i.outEdges,p9);if(isNaN(o)){var s=i.outEdges.length;o=s?Ym(i.outEdges,RJ,e)/s:0}if(e==="vertical"){var l=i.getLayout().x+(o-Hm(i,e))*t;i.setLayout({x:l},!0)}else{var f=i.getLayout().y+(o-Hm(i,e))*t;i.setLayout({y:f},!0)}}})})}function DJ(r,t){return Hm(r.node2,t)*r.getValue()}function RJ(r,t){return Hm(r.node2,t)}function MJ(r,t){return Hm(r.node1,t)*r.getValue()}function FJ(r,t){return Hm(r.node1,t)}function Hm(r,t){return t==="vertical"?r.getLayout().x+r.getLayout().dx/2:r.getLayout().y+r.getLayout().dy/2}function p9(r){return r.getValue()}function Ym(r,t,e){for(var n=0,i=r.length,o=-1;++o<i;){var s=+t(r[o],e);isNaN(s)||(n+=s)}return n}function TJ(r,t,e){Ne(r,function(n){Ne(n,function(i){if(i.inEdges.length){var o=Ym(i.inEdges,MJ,e)/Ym(i.inEdges,p9);if(isNaN(o)){var s=i.inEdges.length;o=s?Ym(i.inEdges,FJ,e)/s:0}if(e==="vertical"){var l=i.getLayout().x+(o-Hm(i,e))*t;i.setLayout({x:l},!0)}else{var f=i.getLayout().y+(o-Hm(i,e))*t;i.setLayout({y:f},!0)}}})})}function LJ(r,t){var e=t==="vertical"?"x":"y";Ne(r,function(n){n.outEdges.sort(function(i,o){return i.node2.getLayout()[e]-o.node2.getLayout()[e]}),n.inEdges.sort(function(i,o){return i.node1.getLayout()[e]-o.node1.getLayout()[e]})}),Ne(r,function(n){var i=0,o=0;Ne(n.outEdges,function(s){s.setLayout({sy:i},!0),i+=s.getLayout().dy}),Ne(n.inEdges,function(s){s.setLayout({ty:o},!0),o+=s.getLayout().dy})})}function NJ(r){r.eachSeriesByType("sankey",function(t){var e=t.getGraph(),n=e.nodes,i=e.edges;if(n.length){var o=1/0,s=-1/0;Ne(n,function(l){var f=l.getLayout().value;f<o&&(o=f),f>s&&(s=f)}),Ne(n,function(l){var f=new Ic({type:"color",mappingMethod:"linear",dataExtent:[o,s],visual:t.get("color")}),v=f.mapValueToVisual(l.getLayout().value),C=l.getModel().get(["itemStyle","color"]);C!=null?(l.setVisual("color",C),l.setVisual("style",{fill:C})):(l.setVisual("color",v),l.setVisual("style",{fill:v}))})}i.length&&Ne(i,function(l){var f=l.getModel().get("lineStyle");l.setVisual("style",f)})})}function OJ(r){r.registerChartView(pJ),r.registerSeriesModel(yJ),r.registerLayout(mJ),r.registerVisual(NJ),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(n){n.setNodePosition(t.dataIndex,[t.localX,t.localY])})})}var cF=function(){function r(){}return r.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&e.get(t)!=null},r.prototype.getInitialData=function(t,e){var n,i=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),s=i.get("type"),l=o.get("type"),f;s==="category"?(t.layout="horizontal",n=i.getOrdinalMeta(),f=!this._hasEncodeRule("x")):l==="category"?(t.layout="vertical",n=o.getOrdinalMeta(),f=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var v=["x","y"],C=t.layout==="horizontal"?0:1,w=this._baseAxisDim=v[C],x=v[1-C],Q=[i,o],R=Q[C].get("type"),L=Q[1-C].get("type"),P=t.data;if(P&&f){var M=[];Ne(P,function(Y,re){var ie;yr(Y)?(ie=Y.slice(),Y.unshift(re)):yr(Y.value)?(ie=ar({},Y),ie.value=ie.value.slice(),Y.value.unshift(re)):ie=Y,M.push(ie)}),t.data=M}var k=this.defaultValueDimensions,G=[{name:w,type:W1(R),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:x,type:W1(L),dimsDef:k.slice()}];return h3(this,{coordDimensions:G,dimensionsCount:k.length+1,encodeDefaulter:ni(ib,G,this)})},r.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},r}(),lF=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],e.visualDrawType="stroke",e}return t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(no);Ea(lF,cF,!0);var PJ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var o=e.getData(),s=this.group,l=this._data;this._data||s.removeAll();var f=e.get("layout")==="horizontal"?1:0;o.diff(l).add(function(v){if(o.hasValue(v)){var C=o.getItemLayout(v),w=hF(C,o,v,f,!0);o.setItemGraphicEl(v,w),s.add(w)}}).update(function(v,C){var w=l.getItemGraphicEl(C);if(!o.hasValue(v)){s.remove(w);return}var x=o.getItemLayout(v);w?(_l(w),fF(x,w,o,v)):w=hF(x,o,v,f),s.add(w),o.setItemGraphicEl(v,w)}).remove(function(v){var C=l.getItemGraphicEl(v);C&&s.remove(C)}).execute(),this._data=o},t.prototype.remove=function(e){var n=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(o){o&&n.remove(o)})},t.type="boxplot",t}(d),GJ=function(){function r(){}return r}(),UJ=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n.type="boxplotBoxPath",n}return t.prototype.getDefaultShape=function(){return new GJ},t.prototype.buildPath=function(e,n){var i=n.points,o=0;for(e.moveTo(i[o][0],i[o][1]),o++;o<4;o++)e.lineTo(i[o][0],i[o][1]);for(e.closePath();o<i.length;o++)e.moveTo(i[o][0],i[o][1]),o++,e.lineTo(i[o][0],i[o][1])},t}(Si);function hF(r,t,e,n,i){var o=r.ends,s=new UJ({shape:{points:i?jJ(o,n,r):o}});return fF(r,s,t,e,i),s}function fF(r,t,e,n,i){var o=e.hostModel,s=Tl[i?"initProps":"updateProps"];s(t,{shape:{points:r.ends}},o,n),t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.z2=100;var l=e.getItemModel(n),f=l.getModel("emphasis");hu(t,l),uo(t,f.get("focus"),f.get("blurScope"),f.get("disabled"))}function jJ(r,t,e){return pr(r,function(n){return n=n.slice(),n[t]=e.initBaseline,n})}var X4=Ne;function HJ(r){var t=YJ(r);X4(t,function(e){var n=e.seriesModels;n.length&&(JJ(e),X4(n,function(i,o){WJ(i,e.boxOffsetList[o],e.boxWidthList[o])}))})}function YJ(r){var t=[],e=[];return r.eachSeriesByType("boxplot",function(n){var i=n.getBaseAxis(),o=Vn(e,i);o<0&&(o=e.length,e[o]=i,t[o]={axis:i,seriesModels:[]}),t[o].seriesModels.push(n)}),t}function JJ(r){var t=r.axis,e=r.seriesModels,n=e.length,i=r.boxWidthList=[],o=r.boxOffsetList=[],s=[],l;if(t.type==="category")l=t.getBandWidth();else{var f=0;X4(e,function(R){f=Math.max(f,R.getData().count())});var v=t.getExtent();l=Math.abs(v[1]-v[0])/f}X4(e,function(R){var L=R.get("boxWidth");yr(L)||(L=[L,L]),s.push([jr(L[0],l)||0,jr(L[1],l)||0])});var C=l*.8-2,w=C/n*.3,x=(C-w*(n-1))/n,Q=x/2-C/2;X4(e,function(R,L){o.push(Q),Q+=w+x,i.push(Math.min(Math.max(x,s[L][0]),s[L][1]))})}function WJ(r,t,e){var n=r.coordinateSystem,i=r.getData(),o=e/2,s=r.get("layout")==="horizontal"?0:1,l=1-s,f=["x","y"],v=i.mapDimension(f[s]),C=i.mapDimensionsAll(f[l]);if(v==null||C.length<5)return;for(var w=0;w<i.count();w++){var x=i.get(v,w),Q=G(x,C[2],w),R=G(x,C[0],w),L=G(x,C[1],w),P=G(x,C[3],w),M=G(x,C[4],w),k=[];Y(k,L,!1),Y(k,P,!0),k.push(R,L,M,P),re(k,R),re(k,M),re(k,Q),i.setItemLayout(w,{initBaseline:Q[l],ends:k})}function G(ie,le,pe){var ve=i.get(le,pe),Ee=[];Ee[s]=ie,Ee[l]=ve;var Se;return isNaN(ie)||isNaN(ve)?Se=[NaN,NaN]:(Se=n.dataToPoint(Ee),Se[s]+=t),Se}function Y(ie,le,pe){var ve=le.slice(),Ee=le.slice();ve[s]+=o,Ee[s]-=o,pe?ie.push(ve,Ee):ie.push(Ee,ve)}function re(ie,le){var pe=le.slice(),ve=le.slice();pe[s]-=o,ve[s]+=o,ie.push(pe,ve)}}function qJ(r,t){t=t||{};for(var e=[],n=[],i=t.boundIQR,o=i==="none"||i===0,s=0;s<r.length;s++){var l=ki(r[s].slice()),f=cp(l,.25),v=cp(l,.5),C=cp(l,.75),w=l[0],x=l[l.length-1],Q=(i??1.5)*(C-f),R=o?w:Math.max(w,f-Q),L=o?x:Math.min(x,C+Q),P=t.itemNameFormatter,M=bn(P)?P({value:s}):en(P)?P.replace("{value}",s+""):s+"";e.push([M,R,f,v,C,L]);for(var k=0;k<l.length;k++){var G=l[k];if(G<R||G>L){var Y=[M,G];n.push(Y)}}}return{boxData:e,outliers:n}}var zJ={type:"echarts:boxplot",transform:function(r){var t=r.upstream;if(t.sourceFormat!==Qu){var e="";Ba(e)}var n=qJ(t.getRawData(),r.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};function KJ(r){r.registerSeriesModel(lF),r.registerChartView(PJ),r.registerLayout(HJ),r.registerTransform(zJ)}var VJ=["itemStyle","borderColor"],ZJ=["itemStyle","borderColor0"],XJ=["itemStyle","borderColorDoji"],$J=["itemStyle","color"],eW=["itemStyle","color0"];function qS(r,t){return t.get(r>0?$J:eW)}function zS(r,t){return t.get(r===0?XJ:r>0?VJ:ZJ)}var tW={seriesType:"candlestick",plan:c(),performRawSeries:!0,reset:function(r,t){if(!t.isSeriesFiltered(r)){var e=r.pipelineContext.large;return!e&&{progress:function(n,i){for(var o;(o=n.next())!=null;){var s=i.getItemModel(o),l=i.getItemLayout(o).sign,f=s.getItemStyle();f.fill=qS(l,s),f.stroke=zS(l,s)||f.fill;var v=i.ensureUniqueItemVisual(o,"style");ar(v,f)}}}}}},rW=["color","borderColor"],nW=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,n,i){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,n,i,o){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,n):this._incrementalRenderNormal(e,n)},t.prototype.eachRendered=function(e){Fl(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var n=e.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.prototype._renderNormal=function(e){var n=e.getData(),i=this._data,o=this.group,s=n.getLayout("isSimpleBox"),l=e.get("clip",!0),f=e.coordinateSystem,v=f.getArea&&f.getArea();this._data||o.removeAll(),n.diff(i).add(function(C){if(n.hasValue(C)){var w=n.getItemLayout(C);if(l&&AF(v,w))return;var x=KS(w,C,!0);Co(x,{shape:{points:w.ends}},e,C),VS(x,n,C,s),o.add(x),n.setItemGraphicEl(C,x)}}).update(function(C,w){var x=i.getItemGraphicEl(w);if(!n.hasValue(C)){o.remove(x);return}var Q=n.getItemLayout(C);if(l&&AF(v,Q)){o.remove(x);return}x?(ga(x,{shape:{points:Q.ends}},e,C),_l(x)):x=KS(Q),VS(x,n,C,s),o.add(x),n.setItemGraphicEl(C,x)}).remove(function(C){var w=i.getItemGraphicEl(C);w&&o.remove(w)}).execute(),this._data=n},t.prototype._renderLarge=function(e){this._clear(),dF(e,this.group);var n=e.get("clip",!0)?av(e.coordinateSystem,!1,e):null;n?this.group.setClipPath(n):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,n){for(var i=n.getData(),o=i.getLayout("isSimpleBox"),s;(s=e.next())!=null;){var l=i.getItemLayout(s),f=KS(l);VS(f,i,s,o),f.incremental=!0,this.group.add(f),this._progressiveEls.push(f)}},t.prototype._incrementalRenderLarge=function(e,n){dF(n,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(d),iW=function(){function r(){}return r}(),aW=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n.type="normalCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new iW},t.prototype.buildPath=function(e,n){var i=n.points;this.__simpleBox?(e.moveTo(i[4][0],i[4][1]),e.lineTo(i[6][0],i[6][1])):(e.moveTo(i[0][0],i[0][1]),e.lineTo(i[1][0],i[1][1]),e.lineTo(i[2][0],i[2][1]),e.lineTo(i[3][0],i[3][1]),e.closePath(),e.moveTo(i[4][0],i[4][1]),e.lineTo(i[5][0],i[5][1]),e.moveTo(i[6][0],i[6][1]),e.lineTo(i[7][0],i[7][1]))},t}(Si);function KS(r,t,e){var n=r.ends;return new aW({shape:{points:e?oW(n,r):n},z2:100})}function AF(r,t){for(var e=!0,n=0;n<t.ends.length;n++)if(r.contain(t.ends[n][0],t.ends[n][1])){e=!1;break}return e}function VS(r,t,e,n){var i=t.getItemModel(e);r.useStyle(t.getItemVisual(e,"style")),r.style.strokeNoScale=!0,r.__simpleBox=n,hu(r,i);var o=t.getItemLayout(e).sign;Ne(r.states,function(l,f){var v=i.getModel(f),C=qS(o,v),w=zS(o,v)||C,x=l.style||(l.style={});C&&(x.fill=C),w&&(x.stroke=w)});var s=i.getModel("emphasis");uo(r,s.get("focus"),s.get("blurScope"),s.get("disabled"))}function oW(r,t){return pr(r,function(e){return e=e.slice(),e[1]=t.initBaseline,e})}var sW=function(){function r(){}return r}(),ZS=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n.type="largeCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new sW},t.prototype.buildPath=function(e,n){for(var i=n.points,o=0;o<i.length;)if(this.__sign===i[o++]){var s=i[o++];e.moveTo(s,i[o++]),e.lineTo(s,i[o++])}else o+=3},t}(Si);function dF(r,t,e,n){var i=r.getData(),o=i.getLayout("largePoints"),s=new ZS({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});t.add(s);var l=new ZS({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});t.add(l);var f=new ZS({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});t.add(f),XS(1,s,r),XS(-1,l,r),XS(0,f,r),n&&(s.incremental=!0,l.incremental=!0),e&&e.push(s,l)}function XS(r,t,e,n){var i=zS(r,e)||qS(r,e),o=e.getModel("itemStyle").getItemStyle(rW);t.useStyle(o),t.style.fill=null,t.style.stroke=i}var gF=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],e}return t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,n,i){var o=n.getItemLayout(e);return o&&i.rect(o.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(no);Ea(gF,cF,!0);function uW(r){!r||!yr(r.series)||Ne(r.series,function(t){Ln(t)&&t.type==="k"&&(t.type="candlestick")})}var cW={seriesType:"candlestick",plan:c(),reset:function(r){var t=r.coordinateSystem,e=r.getData(),n=lW(r,e),i=0,o=1,s=["x","y"],l=e.getDimensionIndex(e.mapDimension(s[i])),f=pr(e.mapDimensionsAll(s[o]),e.getDimensionIndex,e),v=f[0],C=f[1],w=f[2],x=f[3];if(e.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),l<0||f.length<4)return;return{progress:r.pipelineContext.large?R:Q};function Q(L,P){for(var M,k=P.getStore();(M=L.next())!=null;){var G=k.get(l,M),Y=k.get(v,M),re=k.get(C,M),ie=k.get(w,M),le=k.get(x,M),pe=Math.min(Y,re),ve=Math.max(Y,re),Ee=ft(pe,G),Se=ft(ve,G),ke=ft(ie,G),Le=ft(le,G),be=[];Qt(be,Se,0),Qt(be,Ee,1),be.push(Gt(Le),Gt(Se),Gt(ke),Gt(Ee));var ze=P.getItemModel(M),ut=!!ze.get(["itemStyle","borderColorDoji"]);P.setItemLayout(M,{sign:pF(k,M,Y,re,C,ut),initBaseline:Y>re?Se[o]:Ee[o],ends:be,brushRect:vt(ie,le,G)})}function ft(Ct,St){var dr=[];return dr[i]=St,dr[o]=Ct,isNaN(St)||isNaN(Ct)?[NaN,NaN]:t.dataToPoint(dr)}function Qt(Ct,St,dr){var ur=St.slice(),ir=St.slice();ur[i]=Dl(ur[i]+n/2,1,!1),ir[i]=Dl(ir[i]-n/2,1,!0),dr?Ct.push(ur,ir):Ct.push(ir,ur)}function vt(Ct,St,dr){var ur=ft(Ct,dr),ir=ft(St,dr);return ur[i]-=n/2,ir[i]-=n/2,{x:ur[0],y:ur[1],width:n,height:ir[1]-ur[1]}}function Gt(Ct){return Ct[i]=Dl(Ct[i],1),Ct}}function R(L,P){for(var M=Ho(L.count*4),k=0,G,Y=[],re=[],ie,le=P.getStore(),pe=!!r.get(["itemStyle","borderColorDoji"]);(ie=L.next())!=null;){var ve=le.get(l,ie),Ee=le.get(v,ie),Se=le.get(C,ie),ke=le.get(w,ie),Le=le.get(x,ie);if(isNaN(ve)||isNaN(ke)||isNaN(Le)){M[k++]=NaN,k+=3;continue}M[k++]=pF(le,ie,Ee,Se,C,pe),Y[i]=ve,Y[o]=ke,G=t.dataToPoint(Y,null,re),M[k++]=G?G[0]:NaN,M[k++]=G?G[1]:NaN,Y[o]=Le,G=t.dataToPoint(Y,null,re),M[k++]=G?G[1]:NaN}P.setLayout("largePoints",M)}}};function pF(r,t,e,n,i,o){var s;return e>n?s=-1:e<n?s=1:s=o?0:t>0?r.get(i,t-1)<=n?1:-1:1,s}function lW(r,t){var e=r.getBaseAxis(),n,i=e.type==="category"?e.getBandWidth():(n=e.getExtent(),Math.abs(n[1]-n[0])/t.count()),o=jr($n(r.get("barMaxWidth"),i),i),s=jr($n(r.get("barMinWidth"),1),i),l=r.get("barWidth");return l!=null?jr(l,i):Math.max(Math.min(i/2,o),s)}function hW(r){r.registerChartView(nW),r.registerSeriesModel(gF),r.registerPreprocessor(uW),r.registerVisual(tW),r.registerLayout(cW)}function vF(r,t){var e=t.rippleEffectColor||t.color;r.eachChild(function(n){n.attr({z:t.z,zlevel:t.zlevel,style:{stroke:t.brushType==="stroke"?e:null,fill:t.brushType==="fill"?e:null}})})}var fW=function(r){kt(t,r);function t(e,n){var i=r.call(this)||this,o=new fC(e,n),s=new Nn;return i.add(o),i.add(s),i.updateData(e,n),i}return t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var n=e.symbolType,i=e.color,o=e.rippleNumber,s=this.childAt(1),l=0;l<o;l++){var f=yt(n,-1,-1,2,2,i);f.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var v=-l/o*e.period+e.effectOffset;f.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(v).start(),f.animateStyle(!0).when(e.period,{opacity:0}).delay(v).start(),s.add(f)}vF(s,e)},t.prototype.updateEffectAnimation=function(e){for(var n=this._effectCfg,i=this.childAt(1),o=["symbolType","period","rippleScale","rippleNumber"],s=0;s<o.length;s++){var l=o[s];if(n[l]!==e[l]){this.stopEffectAnimation(),this.startEffectAnimation(e);return}}vF(i,e)},t.prototype.highlight=function(){Dc(this)},t.prototype.downplay=function(){ko(this)},t.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},t.prototype.updateData=function(e,n){var i=this,o=e.hostModel;this.childAt(0).updateData(e,n);var s=this.childAt(1),l=e.getItemModel(n),f=e.getItemVisual(n,"symbol"),v=Mt(e.getItemVisual(n,"symbolSize")),C=e.getItemVisual(n,"style"),w=C&&C.fill,x=l.getModel("emphasis");s.setScale(v),s.traverse(function(P){P.setStyle("fill",w)});var Q=cr(e.getItemVisual(n,"symbolOffset"),v);Q&&(s.x=Q[0],s.y=Q[1]);var R=e.getItemVisual(n,"symbolRotate");s.rotation=(R||0)*Math.PI/180||0;var L={};L.showEffectOn=o.get("showEffectOn"),L.rippleScale=l.get(["rippleEffect","scale"]),L.brushType=l.get(["rippleEffect","brushType"]),L.period=l.get(["rippleEffect","period"])*1e3,L.effectOffset=n/e.count(),L.z=o.getShallow("z")||0,L.zlevel=o.getShallow("zlevel")||0,L.symbolType=f,L.color=w,L.rippleEffectColor=l.get(["rippleEffect","color"]),L.rippleNumber=l.get(["rippleEffect","number"]),L.showEffectOn==="render"?(this._effectCfg?this.updateEffectAnimation(L):this.startEffectAnimation(L),this._effectCfg=L):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(P){P==="emphasis"?L.showEffectOn!=="render"&&i.startEffectAnimation(L):P==="normal"&&L.showEffectOn!=="render"&&i.stopEffectAnimation()}),this._effectCfg=L,uo(this,x.get("focus"),x.get("blurScope"),x.get("disabled"))},t.prototype.fadeOut=function(e){e&&e()},t}(Nn),AW=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){this._symbolDraw=new Gm(fW)},t.prototype.render=function(e,n,i){var o=e.getData(),s=this._symbolDraw;s.updateData(o,{clipShape:this._getClipShape(e)}),this.group.add(s.group)},t.prototype._getClipShape=function(e){var n=e.coordinateSystem,i=n&&n.getArea&&n.getArea();return e.get("clip",!0)?i:null},t.prototype.updateTransform=function(e,n,i){var o=e.getData();this.group.dirty();var s=ov("").reset(e,n,i);s.progress&&s.progress({start:0,end:o.count(),count:o.count()},o),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(e){var n=e.coordinateSystem;n&&n.getRoamTransform&&(this.group.transform=t5(n.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(e,n){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(d),dW=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e,n){return WA(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(e,n,i){return i.point(n.getItemLayout(e))},t.type="series.effectScatter",t.dependencies=["grid","polar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},t}(no);function gW(r){r.registerChartView(AW),r.registerSeriesModel(dW),r.registerLayout(ov("effectScatter"))}var yF=function(r){kt(t,r);function t(e,n,i){var o=r.call(this)||this;return o.add(o.createLine(e,n,i)),o._updateEffectSymbol(e,n),o}return t.prototype.createLine=function(e,n,i){return new bS(e,n,i)},t.prototype._updateEffectSymbol=function(e,n){var i=e.getItemModel(n),o=i.getModel("effect"),s=o.get("symbolSize"),l=o.get("symbol");yr(s)||(s=[s,s]);var f=e.getItemVisual(n,"style"),v=o.get("color")||f&&f.stroke,C=this.childAt(1);this._symbolType!==l&&(this.remove(C),C=yt(l,-.5,-.5,1,1,v),C.z2=100,C.culling=!0,this.add(C)),C&&(C.setStyle("shadowColor",v),C.setStyle(o.getItemStyle(["color"])),C.scaleX=s[0],C.scaleY=s[1],C.setColor(v),this._symbolType=l,this._symbolScale=s,this._updateEffectAnimation(e,o,n))},t.prototype._updateEffectAnimation=function(e,n,i){var o=this.childAt(1);if(o){var s=e.getItemLayout(i),l=n.get("period")*1e3,f=n.get("loop"),v=n.get("roundTrip"),C=n.get("constantSpeed"),w=Bs(n.get("delay"),function(Q){return Q/e.count()*l/3});if(o.ignore=!0,this._updateAnimationPoints(o,s),C>0&&(l=this._getLineLength(o)/C*1e3),l!==this._period||f!==this._loop||v!==this._roundTrip){o.stopAnimation();var x=void 0;bn(w)?x=w(i):x=w,o.__t>0&&(x=-l*o.__t),this._animateSymbol(o,l,x,f,v)}this._period=l,this._loop=f,this._roundTrip=v}},t.prototype._animateSymbol=function(e,n,i,o,s){if(n>0){e.__t=0;var l=this,f=e.animate("",o).when(s?n*2:n,{__t:s?2:1}).delay(i).during(function(){l._updateSymbolPosition(e)});o||f.done(function(){l.remove(e)}),f.start()}},t.prototype._getLineLength=function(e){return eA(e.__p1,e.__cp1)+eA(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,n){e.__p1=n[0],e.__p2=n[1],e.__cp1=n[2]||[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2]},t.prototype.updateData=function(e,n,i){this.childAt(0).updateData(e,n,i),this._updateEffectSymbol(e,n)},t.prototype._updateSymbolPosition=function(e){var n=e.__p1,i=e.__p2,o=e.__cp1,s=e.__t<1?e.__t:2-e.__t,l=[e.x,e.y],f=l.slice(),v=su,C=Gv;l[0]=v(n[0],o[0],i[0],s),l[1]=v(n[1],o[1],i[1],s);var w=e.__t<1?C(n[0],o[0],i[0],s):C(i[0],o[0],n[0],1-s),x=e.__t<1?C(n[1],o[1],i[1],s):C(i[1],o[1],n[1],1-s);e.rotation=-Math.atan2(x,w)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(e.__lastT!==void 0&&e.__lastT<e.__t?(e.scaleY=eA(f,l)*1.05,s===1&&(l[0]=f[0]+(l[0]-f[0])/2,l[1]=f[1]+(l[1]-f[1])/2)):e.__lastT===1?e.scaleY=2*eA(n,l):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=l[0],e.y=l[1]},t.prototype.updateLayout=function(e,n){this.childAt(0).updateLayout(e,n);var i=e.getItemModel(n).getModel("effect");this._updateEffectAnimation(e,i,n)},t}(Nn),mF=function(r){kt(t,r);function t(e,n,i){var o=r.call(this)||this;return o._createPolyline(e,n,i),o}return t.prototype._createPolyline=function(e,n,i){var o=e.getItemLayout(n),s=new pc({shape:{points:o}});this.add(s),this._updateCommonStl(e,n,i)},t.prototype.updateData=function(e,n,i){var o=e.hostModel,s=this.childAt(0),l={shape:{points:e.getItemLayout(n)}};ga(s,l,o,n),this._updateCommonStl(e,n,i)},t.prototype._updateCommonStl=function(e,n,i){var o=this.childAt(0),s=e.getItemModel(n),l=i&&i.emphasisLineStyle,f=i&&i.focus,v=i&&i.blurScope,C=i&&i.emphasisDisabled;if(!i||e.hasItemOption){var w=s.getModel("emphasis");l=w.getModel("lineStyle").getLineStyle(),C=w.get("disabled"),f=w.get("focus"),v=w.get("blurScope")}o.useStyle(e.getItemVisual(n,"style")),o.style.fill=null,o.style.strokeNoScale=!0;var x=o.ensureState("emphasis");x.style=l,uo(this,f,v,C)},t.prototype.updateLayout=function(e,n){var i=this.childAt(0);i.setShape("points",e.getItemLayout(n))},t}(Nn),pW=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return t.prototype.createLine=function(e,n,i){return new mF(e,n,i)},t.prototype._updateAnimationPoints=function(e,n){this._points=n;for(var i=[0],o=0,s=1;s<n.length;s++){var l=n[s-1],f=n[s];o+=eA(l,f),i.push(o)}if(o===0){this._length=0;return}for(var s=0;s<i.length;s++)i[s]/=o;this._offsets=i,this._length=o},t.prototype._getLineLength=function(){return this._length},t.prototype._updateSymbolPosition=function(e){var n=e.__t<1?e.__t:2-e.__t,i=this._points,o=this._offsets,s=i.length;if(o){var l=this._lastFrame,f;if(n<this._lastFramePercent){var v=Math.min(l+1,s-1);for(f=v;f>=0&&!(o[f]<=n);f--);f=Math.min(f,s-2)}else{for(f=l;f<s&&!(o[f]>n);f++);f=Math.min(f-1,s-2)}var C=(n-o[f])/(o[f+1]-o[f]),w=i[f],x=i[f+1];e.x=w[0]*(1-C)+C*x[0],e.y=w[1]*(1-C)+C*x[1];var Q=e.__t<1?x[0]-w[0]:w[0]-x[0],R=e.__t<1?x[1]-w[1]:w[1]-x[1];e.rotation=-Math.atan2(R,Q)-Math.PI/2,this._lastFrame=f,this._lastFramePercent=n,e.ignore=!1}},t}(yF),vW=function(){function r(){this.polyline=!1,this.curveness=0,this.segs=[]}return r}(),yW=function(r){kt(t,r);function t(e){var n=r.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new vW},t.prototype.buildPath=function(e,n){var i=n.segs,o=n.curveness,s;if(n.polyline)for(s=this._off;s<i.length;){var l=i[s++];if(l>0){e.moveTo(i[s++],i[s++]);for(var f=1;f<l;f++)e.lineTo(i[s++],i[s++])}}else for(s=this._off;s<i.length;){var v=i[s++],C=i[s++],w=i[s++],x=i[s++];if(e.moveTo(v,C),o>0){var Q=(v+w)/2-(C-x)*o,R=(C+x)/2-(w-v)*o;e.quadraticCurveTo(Q,R,w,x)}else e.lineTo(w,x)}this.incremental&&(this._off=s,this.notClear=!0)},t.prototype.findDataIndex=function(e,n){var i=this.shape,o=i.segs,s=i.curveness,l=this.style.lineWidth;if(i.polyline)for(var f=0,v=0;v<o.length;){var C=o[v++];if(C>0)for(var w=o[v++],x=o[v++],Q=1;Q<C;Q++){var R=o[v++],L=o[v++];if(bA(w,x,R,L,l,e,n))return f}f++}else for(var f=0,v=0;v<o.length;){var w=o[v++],x=o[v++],R=o[v++],L=o[v++];if(s>0){var P=(w+R)/2-(x-L)*s,M=(x+L)/2-(R-w)*s;if(Nw(w,x,P,M,R,L,l,e,n))return f}else if(bA(w,x,R,L,l,e,n))return f;f++}return-1},t.prototype.contain=function(e,n){var i=this.transformCoordToLocal(e,n),o=this.getBoundingRect();if(e=i[0],n=i[1],o.contain(e,n)){var s=this.hoverDataIdx=this.findDataIndex(e,n);return s>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var n=this.shape,i=n.segs,o=1/0,s=1/0,l=-1/0,f=-1/0,v=0;v<i.length;){var C=i[v++],w=i[v++];o=Math.min(C,o),l=Math.max(C,l),s=Math.min(w,s),f=Math.max(w,f)}e=this._rect=new gi(o,s,l,f)}return e},t}(Si),mW=function(){function r(){this.group=new Nn}return r.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},r.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},r.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],i=e.getLayout("linesPoints"),o=n&&n.shape.segs;if(o&&o.length<2e4){var s=o.length,l=new Float32Array(s+i.length);l.set(o),l.set(i,s),n.setShape({segs:l})}else{this._newAdded=[];var f=this._create();f.incremental=!0,f.setShape({segs:i}),this._setCommon(f,e),f.__startIndex=t.start}},r.prototype.remove=function(){this._clear()},r.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},r.prototype._create=function(){var t=new yW({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},r.prototype._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var o=e.getVisual("style");o&&o.stroke&&t.setStyle("stroke",o.stroke),t.setStyle("fill",null);var s=Un(t);s.seriesIndex=i.seriesIndex,t.on("mousemove",function(l){s.dataIndex=null;var f=t.hoverDataIdx;f>0&&(s.dataIndex=f+t.__startIndex)})},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}(),IF={seriesType:"lines",plan:c(),reset:function(r){var t=r.coordinateSystem;if(t){var e=r.get("polyline"),n=r.pipelineContext.large;return{progress:function(i,o){var s=[];if(n){var l=void 0,f=i.end-i.start;if(e){for(var v=0,C=i.start;C<i.end;C++)v+=r.getLineCoordsCount(C);l=new Float32Array(f+v*2)}else l=new Float32Array(f*4);for(var w=0,x=[],C=i.start;C<i.end;C++){var Q=r.getLineCoords(C,s);e&&(l[w++]=Q);for(var R=0;R<Q;R++)x=t.dataToPoint(s[R],!1,x),l[w++]=x[0],l[w++]=x[1]}o.setLayout("linesPoints",l)}else for(var C=i.start;C<i.end;C++){var L=o.getItemModel(C),Q=r.getLineCoords(C,s),P=[];if(e)for(var M=0;M<Q;M++)P.push(t.dataToPoint(s[M]));else{P[0]=t.dataToPoint(s[0]),P[1]=t.dataToPoint(s[1]);var k=L.get(["lineStyle","curveness"]);+k&&(P[2]=[(P[0][0]+P[1][0])/2-(P[0][1]-P[1][1])*k,(P[0][1]+P[1][1])/2-(P[1][0]-P[0][0])*k])}o.setItemLayout(C,P)}}}}}},IW=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var o=e.getData(),s=this._updateLineDraw(o,e),l=e.get("zlevel"),f=e.get(["effect","trailLength"]),v=i.getZr(),C=v.painter.getType()==="svg";C||v.painter.getLayer(l).clear(!0),this._lastZlevel!=null&&!C&&v.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&f>0&&(C||v.configLayer(l,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(f/10+.9,1),0)})),s.updateData(o);var w=e.get("clip",!0)&&av(e.coordinateSystem,!1,e);w?this.group.setClipPath(w):this.group.removeClipPath(),this._lastZlevel=l,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,n,i){var o=e.getData(),s=this._updateLineDraw(o,e);s.incrementalPrepareUpdate(o),this._clearLayer(i),this._finished=!1},t.prototype.incrementalRender=function(e,n,i){this._lineDraw.incrementalUpdate(e,n.getData()),this._finished=e.end===n.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,n,i){var o=e.getData(),s=e.pipelineContext;if(!this._finished||s.large||s.progressiveRender)return{update:!0};var l=IF.reset(e,n,i);l.progress&&l.progress({start:0,end:o.count(),count:o.count()},o),this._lineDraw.updateLayout(),this._clearLayer(i)},t.prototype._updateLineDraw=function(e,n){var i=this._lineDraw,o=this._showEffect(n),s=!!n.get("polyline"),l=n.pipelineContext,f=l.large;return(!i||o!==this._hasEffet||s!==this._isPolyline||f!==this._isLargeDraw)&&(i&&i.remove(),i=this._lineDraw=f?new mW:new CS(s?o?pW:mF:o?yF:bS),this._hasEffet=o,this._isPolyline=s,this._isLargeDraw=f),this.group.add(i.group),i},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var n=e.getZr(),i=n.painter.getType()==="svg";!i&&this._lastZlevel!=null&&n.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,n){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(n)},t.prototype.dispose=function(e,n){this.remove(e,n)},t.type="lines",t}(d),bW=typeof Uint32Array>"u"?Array:Uint32Array,CW=typeof Float64Array>"u"?Array:Float64Array;function bF(r){var t=r.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(r.data=pr(t,function(e){var n=[e[0].coord,e[1].coord],i={coords:n};return e[0].name&&(i.fromName=e[0].name),e[1].name&&(i.toName=e[1].name),Us([i,e[0],e[1]])}))}var wW=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return t.prototype.init=function(e){e.data=e.data||[],bF(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),r.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(e){if(bF(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}r.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var n=this._processFlatCoordsArray(e.data);n.flatCoords&&(this._flatCoords?(this._flatCoords=x0(this._flatCoords,n.flatCoords),this._flatCoordsOffset=x0(this._flatCoordsOffset,n.flatCoordsOffset)):(this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset),e.data=new Float32Array(n.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var n=this.getData().getItemModel(e),i=n.option instanceof Array?n.option:n.getShallow("coords");return i},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[e*2+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,n){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[e*2],o=this._flatCoordsOffset[e*2+1],s=0;s<o;s++)n[s]=n[s]||[],n[s][0]=this._flatCoords[i+s*2],n[s][1]=this._flatCoords[i+s*2+1];return o}else{for(var l=this._getCoordsFromItemModel(e),s=0;s<l.length;s++)n[s]=n[s]||[],n[s][0]=l[s][0],n[s][1]=l[s][1];return l.length}},t.prototype._processFlatCoordsArray=function(e){var n=0;if(this._flatCoords&&(n=this._flatCoords.length),$i(e[0])){for(var i=e.length,o=new bW(i),s=new CW(i),l=0,f=0,v=0,C=0;C<i;){v++;var w=e[C++];o[f++]=l+n,o[f++]=w;for(var x=0;x<w;x++){var Q=e[C++],R=e[C++];s[l++]=Q,s[l++]=R,C>i}}return{flatCoordsOffset:new Uint32Array(o.buffer,0,f),flatCoords:s,count:v}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},t.prototype.getInitialData=function(e,n){var i=new sl(["value"],this);return i.hasItemOption=!1,i.initData(e.data,[],function(o,s,l,f){if(o instanceof Array)return NaN;i.hasItemOption=!0;var v=o.value;if(v!=null)return v instanceof Array?v[f]:v}),i},t.prototype.formatTooltip=function(e,n,i){var o=this.getData(),s=o.getItemModel(e),l=s.get("name");if(l)return l;var f=s.get("fromName"),v=s.get("toName"),C=[];return f!=null&&C.push(f),v!=null&&C.push(v),Xs("nameValue",{name:C.join(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return e??(this.option.large?1e4:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e??(this.option.large?2e4:this.get("progressiveThreshold"))},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),n=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&n>0?n+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(no);function v9(r){return r instanceof Array||(r=[r,r]),r}var EW={seriesType:"lines",reset:function(r){var t=v9(r.get("symbol")),e=v9(r.get("symbolSize")),n=r.getData();n.setVisual("fromSymbol",t&&t[0]),n.setVisual("toSymbol",t&&t[1]),n.setVisual("fromSymbolSize",e&&e[0]),n.setVisual("toSymbolSize",e&&e[1]);function i(o,s){var l=o.getItemModel(s),f=v9(l.getShallow("symbol",!0)),v=v9(l.getShallow("symbolSize",!0));f[0]&&o.setItemVisual(s,"fromSymbol",f[0]),f[1]&&o.setItemVisual(s,"toSymbol",f[1]),v[0]&&o.setItemVisual(s,"fromSymbolSize",v[0]),v[1]&&o.setItemVisual(s,"toSymbolSize",v[1])}return{dataEach:n.hasItemOption?i:null}}};function BW(r){r.registerChartView(IW),r.registerSeriesModel(wW),r.registerLayout(IF),r.registerVisual(EW)}var kW=256,QW=function(){function r(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=oo.createCanvas();this.canvas=t}return r.prototype.update=function(t,e,n,i,o,s){var l=this._getBrush(),f=this._getGradient(o,"inRange"),v=this._getGradient(o,"outOfRange"),C=this.pointSize+this.blurSize,w=this.canvas,x=w.getContext("2d"),Q=t.length;w.width=e,w.height=n;for(var R=0;R<Q;++R){var L=t[R],P=L[0],M=L[1],k=L[2],G=i(k);x.globalAlpha=G,x.drawImage(l,P-C,M-C)}if(!w.width||!w.height)return w;for(var Y=x.getImageData(0,0,w.width,w.height),re=Y.data,ie=0,le=re.length,pe=this.minOpacity,ve=this.maxOpacity,Ee=ve-pe;ie<le;){var G=re[ie+3]/256,Se=Math.floor(G*(kW-1))*4;if(G>0){var ke=s(G)?f:v;G>0&&(G=G*Ee+pe),re[ie++]=ke[Se],re[ie++]=ke[Se+1],re[ie++]=ke[Se+2],re[ie++]=ke[Se+3]*G*256}else ie+=4}return x.putImageData(Y,0,0),w},r.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=oo.createCanvas()),e=this.pointSize+this.blurSize,n=e*2;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,Math.PI*2,!0),i.closePath(),i.fill(),t},r.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(256*4)),o=[0,0,0,0],s=0,l=0;l<256;l++)t[e](l/255,!0,o),i[s++]=o[0],i[s++]=o[1],i[s++]=o[2],i[s++]=o[3];return i},r}();function xW(r,t,e){var n=r[1]-r[0];t=pr(t,function(s){return{interval:[(s.interval[0]-r[0])/n,(s.interval[1]-r[0])/n]}});var i=t.length,o=0;return function(s){var l;for(l=o;l<i;l++){var f=t[l].interval;if(f[0]<=s&&s<=f[1]){o=l;break}}if(l===i)for(l=o-1;l>=0;l--){var f=t[l].interval;if(f[0]<=s&&s<=f[1]){o=l;break}}return l>=0&&l<i&&e[l]}}function SW(r,t){var e=r[1]-r[0];return t=[(t[0]-r[0])/e,(t[1]-r[0])/e],function(n){return n>=t[0]&&n<=t[1]}}function CF(r){var t=r.dimensions;return t[0]==="lng"&&t[1]==="lat"}var _W=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var o;n.eachComponent("visualMap",function(l){l.eachTargetSeries(function(f){f===e&&(o=l)})}),this._progressiveEls=null,this.group.removeAll();var s=e.coordinateSystem;s.type==="cartesian2d"||s.type==="calendar"?this._renderOnCartesianAndCalendar(e,i,0,e.getData().count()):CF(s)&&this._renderOnGeo(s,e,o,i)},t.prototype.incrementalPrepareRender=function(e,n,i){this.group.removeAll()},t.prototype.incrementalRender=function(e,n,i,o){var s=n.coordinateSystem;s&&(CF(s)?this.render(n,i,o):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(n,o,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){Fl(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,n,i,o,s){var l=e.coordinateSystem,f=v0(l,"cartesian2d"),v,C,w,x;if(f){var Q=l.getAxis("x"),R=l.getAxis("y");v=Q.getBandWidth()+.5,C=R.getBandWidth()+.5,w=Q.scale.getExtent(),x=R.scale.getExtent()}for(var L=this.group,P=e.getData(),M=e.getModel(["emphasis","itemStyle"]).getItemStyle(),k=e.getModel(["blur","itemStyle"]).getItemStyle(),G=e.getModel(["select","itemStyle"]).getItemStyle(),Y=e.get(["itemStyle","borderRadius"]),re=_s(e),ie=e.getModel("emphasis"),le=ie.get("focus"),pe=ie.get("blurScope"),ve=ie.get("disabled"),Ee=f?[P.mapDimension("x"),P.mapDimension("y"),P.mapDimension("value")]:[P.mapDimension("time"),P.mapDimension("value")],Se=i;Se<o;Se++){var ke=void 0,Le=P.getItemVisual(Se,"style");if(f){var be=P.get(Ee[0],Se),ze=P.get(Ee[1],Se);if(isNaN(P.get(Ee[2],Se))||isNaN(be)||isNaN(ze)||be<w[0]||be>w[1]||ze<x[0]||ze>x[1])continue;var ut=l.dataToPoint([be,ze]);ke=new ta({shape:{x:ut[0]-v/2,y:ut[1]-C/2,width:v,height:C},style:Le})}else{if(isNaN(P.get(Ee[1],Se)))continue;ke=new ta({z2:1,shape:l.dataToRect([P.get(Ee[0],Se)]).contentShape,style:Le})}if(P.hasItemOption){var ft=P.getItemModel(Se),Qt=ft.getModel("emphasis");M=Qt.getModel("itemStyle").getItemStyle(),k=ft.getModel(["blur","itemStyle"]).getItemStyle(),G=ft.getModel(["select","itemStyle"]).getItemStyle(),Y=ft.get(["itemStyle","borderRadius"]),le=Qt.get("focus"),pe=Qt.get("blurScope"),ve=Qt.get("disabled"),re=_s(ft)}ke.shape.r=Y;var vt=e.getRawValue(Se),Gt="-";vt&&vt[2]!=null&&(Gt=vt[2]+""),Uo(ke,re,{labelFetcher:e,labelDataIndex:Se,defaultOpacity:Le.opacity,defaultText:Gt}),ke.ensureState("emphasis").style=M,ke.ensureState("blur").style=k,ke.ensureState("select").style=G,uo(ke,le,pe,ve),ke.incremental=s,s&&(ke.states.emphasis.hoverLayer=!0),L.add(ke),P.setItemGraphicEl(Se,ke),this._progressiveEls&&this._progressiveEls.push(ke)}},t.prototype._renderOnGeo=function(e,n,i,o){var s=i.targetVisuals.inRange,l=i.targetVisuals.outOfRange,f=n.getData(),v=this._hmLayer||this._hmLayer||new QW;v.blurSize=n.get("blurSize"),v.pointSize=n.get("pointSize"),v.minOpacity=n.get("minOpacity"),v.maxOpacity=n.get("maxOpacity");var C=e.getViewRect().clone(),w=e.getRoamTransform();C.applyTransform(w);var x=Math.max(C.x,0),Q=Math.max(C.y,0),R=Math.min(C.width+C.x,o.getWidth()),L=Math.min(C.height+C.y,o.getHeight()),P=R-x,M=L-Q,k=[f.mapDimension("lng"),f.mapDimension("lat"),f.mapDimension("value")],G=f.mapArray(k,function(le,pe,ve){var Ee=e.dataToPoint([le,pe]);return Ee[0]-=x,Ee[1]-=Q,Ee.push(ve),Ee}),Y=i.getExtent(),re=i.type==="visualMap.continuous"?SW(Y,i.option.range):xW(Y,i.getPieceList(),i.option.selected);v.update(G,P,M,s.color.getNormalizer(),{inRange:s.color.getColorMapper(),outOfRange:l.color.getColorMapper()},re);var ie=new Ws({style:{width:P,height:M,x,y:Q,image:v.canvas},silent:!0});this.group.add(ie)},t.type="heatmap",t}(d),DW=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,n){return WA(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=T1.get(this.get("coordinateSystem"));if(e&&e.dimensions)return e.dimensions[0]==="lng"&&e.dimensions[1]==="lat"},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(no);function RW(r){r.registerChartView(_W),r.registerSeriesModel(DW)}var MW=["itemStyle","borderWidth"],wF=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],$S=new Gu,FW=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var o=this.group,s=e.getData(),l=this._data,f=e.coordinateSystem,v=f.getBaseAxis(),C=v.isHorizontal(),w=f.master.getRect(),x={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:e,coordSys:f,coordSysExtent:[[w.x,w.x+w.width],[w.y,w.y+w.height]],isHorizontal:C,valueDim:wF[+C],categoryDim:wF[1-+C]};s.diff(l).add(function(R){if(s.hasValue(R)){var L=_F(s,R),P=EF(s,R,L,x),M=DF(s,x,P);s.setItemGraphicEl(R,M),o.add(M),FF(M,x,P)}}).update(function(R,L){var P=l.getItemGraphicEl(L);if(!s.hasValue(R)){o.remove(P);return}var M=_F(s,R),k=EF(s,R,M,x),G=MF(s,k);P&&G!==P.__pictorialShapeStr&&(o.remove(P),s.setItemGraphicEl(R,null),P=null),P?UW(P,x,k):P=DF(s,x,k,!0),s.setItemGraphicEl(R,P),P.__pictorialSymbolMeta=k,o.add(P),FF(P,x,k)}).remove(function(R){var L=l.getItemGraphicEl(R);L&&RF(l,R,L.__pictorialSymbolMeta.animationModel,L)}).execute();var Q=e.get("clip",!0)?av(e.coordinateSystem,!1,e):null;return Q?o.setClipPath(Q):o.removeClipPath(),this._data=s,this.group},t.prototype.remove=function(e,n){var i=this.group,o=this._data;e.get("animation")?o&&o.eachItemGraphicEl(function(s){RF(o,Un(s).dataIndex,e,s)}):i.removeAll()},t.type="pictorialBar",t}(d);function EF(r,t,e,n){var i=r.getItemLayout(t),o=e.get("symbolRepeat"),s=e.get("symbolClip"),l=e.get("symbolPosition")||"start",f=e.get("symbolRotate"),v=(f||0)*Math.PI/180||0,C=e.get("symbolPatternSize")||2,w=e.isAnimationEnabled(),x={dataIndex:t,layout:i,itemModel:e,symbolType:r.getItemVisual(t,"symbol")||"circle",style:r.getItemVisual(t,"style"),symbolClip:s,symbolRepeat:o,symbolRepeatDirection:e.get("symbolRepeatDirection"),symbolPatternSize:C,rotation:v,animationModel:w?e:null,hoverScale:w&&e.get(["emphasis","scale"]),z2:e.getShallow("z",!0)||0};TW(e,o,i,n,x),LW(r,t,i,o,s,x.boundingLength,x.pxSign,C,n,x),NW(e,x.symbolScale,v,n,x);var Q=x.symbolSize,R=cr(e.get("symbolOffset"),Q);return OW(e,Q,i,o,s,R,l,x.valueLineWidth,x.boundingLength,x.repeatCutLength,n,x),x}function TW(r,t,e,n,i){var o=n.valueDim,s=r.get("symbolBoundingData"),l=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),f=l.toGlobalCoord(l.dataToCoord(0)),v=1-+(e[o.wh]<=0),C;if(yr(s)){var w=[e7(l,s[0])-f,e7(l,s[1])-f];w[1]<w[0]&&w.reverse(),C=w[v]}else s!=null?C=e7(l,s)-f:t?C=n.coordSysExtent[o.index][v]-f:C=e[o.wh];i.boundingLength=C,t&&(i.repeatCutLength=e[o.wh]);var x=o.xy==="x",Q=l.inverse;i.pxSign=x&&!Q||!x&&Q?C>=0?1:-1:C>0?1:-1}function e7(r,t){return r.toGlobalCoord(r.dataToCoord(r.scale.parse(t)))}function LW(r,t,e,n,i,o,s,l,f,v){var C=f.valueDim,w=f.categoryDim,x=Math.abs(e[w.wh]),Q=r.getItemVisual(t,"symbolSize"),R;yr(Q)?R=Q.slice():Q==null?R=["100%","100%"]:R=[Q,Q],R[w.index]=jr(R[w.index],x),R[C.index]=jr(R[C.index],n?x:Math.abs(o)),v.symbolSize=R;var L=v.symbolScale=[R[0]/l,R[1]/l];L[C.index]*=(f.isHorizontal?-1:1)*s}function NW(r,t,e,n,i){var o=r.get(MW)||0;o&&($S.attr({scaleX:t[0],scaleY:t[1],rotation:e}),$S.updateTransform(),o/=$S.getLineScale(),o*=t[n.valueDim.index]),i.valueLineWidth=o||0}function OW(r,t,e,n,i,o,s,l,f,v,C,w){var x=C.categoryDim,Q=C.valueDim,R=w.pxSign,L=Math.max(t[Q.index]+l,0),P=L;if(n){var M=Math.abs(f),k=Bs(r.get("symbolMargin"),"15%")+"",G=!1;k.lastIndexOf("!")===k.length-1&&(G=!0,k=k.slice(0,k.length-1));var Y=jr(k,t[Q.index]),re=Math.max(L+Y*2,0),ie=G?0:Y*2,le=e1(n),pe=le?n:TF((M+ie)/re),ve=M-pe*L;Y=ve/2/(G?pe:Math.max(pe-1,1)),re=L+Y*2,ie=G?0:Y*2,!le&&n!=="fixed"&&(pe=v?TF((Math.abs(v)+ie)/re):0),P=pe*re-ie,w.repeatTimes=pe,w.symbolMargin=Y}var Ee=R*(P/2),Se=w.pathPosition=[];Se[x.index]=e[x.wh]/2,Se[Q.index]=s==="start"?Ee:s==="end"?f-Ee:f/2,o&&(Se[0]+=o[0],Se[1]+=o[1]);var ke=w.bundlePosition=[];ke[x.index]=e[x.xy],ke[Q.index]=e[Q.xy];var Le=w.barRectShape=ar({},e);Le[Q.wh]=R*Math.max(Math.abs(e[Q.wh]),Math.abs(Se[Q.index]+Ee)),Le[x.wh]=e[x.wh];var be=w.clipShape={};be[x.xy]=-e[x.xy],be[x.wh]=C.ecSize[x.wh],be[Q.xy]=0,be[Q.wh]=e[Q.wh]}function BF(r){var t=r.symbolPatternSize,e=yt(r.symbolType,-t/2,-t/2,t,t);return e.attr({culling:!0}),e.type!=="image"&&e.setStyle({strokeNoScale:!0}),e}function kF(r,t,e,n){var i=r.__pictorialBundle,o=e.symbolSize,s=e.valueLineWidth,l=e.pathPosition,f=t.valueDim,v=e.repeatTimes||0,C=0,w=o[t.valueDim.index]+s+e.symbolMargin*2;for(t7(r,function(L){L.__pictorialAnimationIndex=C,L.__pictorialRepeatTimes=v,C<v?m3(L,null,R(C),e,n):m3(L,null,{scaleX:0,scaleY:0},e,n,function(){i.remove(L)}),C++});C<v;C++){var x=BF(e);x.__pictorialAnimationIndex=C,x.__pictorialRepeatTimes=v,i.add(x);var Q=R(C);m3(x,{x:Q.x,y:Q.y,scaleX:0,scaleY:0},{scaleX:Q.scaleX,scaleY:Q.scaleY,rotation:Q.rotation},e,n)}function R(L){var P=l.slice(),M=e.pxSign,k=L;return(e.symbolRepeatDirection==="start"?M>0:M<0)&&(k=v-1-L),P[f.index]=w*(k-v/2+.5)+l[f.index],{x:P[0],y:P[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation}}}function QF(r,t,e,n){var i=r.__pictorialBundle,o=r.__pictorialMainPath;o?m3(o,null,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation},e,n):(o=r.__pictorialMainPath=BF(e),i.add(o),m3(o,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:0,scaleY:0,rotation:e.rotation},{scaleX:e.symbolScale[0],scaleY:e.symbolScale[1]},e,n))}function xF(r,t,e){var n=ar({},t.barRectShape),i=r.__pictorialBarRect;i?m3(i,null,{shape:n},t,e):(i=r.__pictorialBarRect=new ta({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,r.add(i))}function SF(r,t,e,n){if(e.symbolClip){var i=r.__pictorialClipPath,o=ar({},e.clipShape),s=t.valueDim,l=e.animationModel,f=e.dataIndex;if(i)ga(i,{shape:o},l,f);else{o[s.wh]=0,i=new ta({shape:o}),r.__pictorialBundle.setClipPath(i),r.__pictorialClipPath=i;var v={};v[s.wh]=e.clipShape[s.wh],Tl[n?"updateProps":"initProps"](i,{shape:v},l,f)}}}function _F(r,t){var e=r.getItemModel(t);return e.getAnimationDelayParams=PW,e.isAnimationEnabled=GW,e}function PW(r){return{index:r.__pictorialAnimationIndex,count:r.__pictorialRepeatTimes}}function GW(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function DF(r,t,e,n){var i=new Nn,o=new Nn;return i.add(o),i.__pictorialBundle=o,o.x=e.bundlePosition[0],o.y=e.bundlePosition[1],e.symbolRepeat?kF(i,t,e):QF(i,t,e),xF(i,e,n),SF(i,t,e,n),i.__pictorialShapeStr=MF(r,e),i.__pictorialSymbolMeta=e,i}function UW(r,t,e){var n=e.animationModel,i=e.dataIndex,o=r.__pictorialBundle;ga(o,{x:e.bundlePosition[0],y:e.bundlePosition[1]},n,i),e.symbolRepeat?kF(r,t,e,!0):QF(r,t,e,!0),xF(r,e,!0),SF(r,t,e,!0)}function RF(r,t,e,n){var i=n.__pictorialBarRect;i&&i.removeTextContent();var o=[];t7(n,function(s){o.push(s)}),n.__pictorialMainPath&&o.push(n.__pictorialMainPath),n.__pictorialClipPath&&(e=null),Ne(o,function(s){Nh(s,{scaleX:0,scaleY:0},e,t,function(){n.parent&&n.parent.remove(n)})}),r.setItemGraphicEl(t,null)}function MF(r,t){return[r.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function t7(r,t,e){Ne(r.__pictorialBundle.children(),function(n){n!==r.__pictorialBarRect&&t.call(e,n)})}function m3(r,t,e,n,i,o){t&&r.attr(t),n.symbolClip&&!i?e&&r.attr(e):e&&Tl[i?"updateProps":"initProps"](r,e,n.animationModel,n.dataIndex,o)}function FF(r,t,e){var n=e.dataIndex,i=e.itemModel,o=i.getModel("emphasis"),s=o.getModel("itemStyle").getItemStyle(),l=i.getModel(["blur","itemStyle"]).getItemStyle(),f=i.getModel(["select","itemStyle"]).getItemStyle(),v=i.getShallow("cursor"),C=o.get("focus"),w=o.get("blurScope"),x=o.get("scale");t7(r,function(L){if(L instanceof Ws){var P=L.style;L.useStyle(ar({image:P.image,x:P.x,y:P.y,width:P.width,height:P.height},e.style))}else L.useStyle(e.style);var M=L.ensureState("emphasis");M.style=s,x&&(M.scaleX=L.scaleX*1.1,M.scaleY=L.scaleY*1.1),L.ensureState("blur").style=l,L.ensureState("select").style=f,v&&(L.cursor=v),L.z2=e.z2});var Q=t.valueDim.posDesc[+(e.boundingLength>0)],R=r.__pictorialBarRect;R.ignoreClip=!0,Uo(R,_s(i),{labelFetcher:t.seriesModel,labelDataIndex:n,defaultText:d0(t.seriesModel.getData(),n),inheritColor:e.style.fill,defaultOpacity:e.style.opacity,defaultOutsidePosition:Q}),uo(r,C,w,o.get("disabled"))}function TF(r){var t=Math.round(r);return Math.abs(r-t)<1e-4?t:Math.ceil(r)}var jW=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e.defaultSymbol="roundRect",e}return t.prototype.getInitialData=function(e){return e.stack=null,r.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=TA(sv.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(sv);function HW(r){r.registerChartView(FW),r.registerSeriesModel(jW),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,ni(YQ,"pictorialBar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,JQ("pictorialBar"))}var YW=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._layers=[],e}return t.prototype.render=function(e,n,i){var o=e.getData(),s=this,l=this.group,f=e.getLayerSeries(),v=o.getLayout("layoutInfo"),C=v.rect,w=v.boundaryGap;l.x=0,l.y=C.y+w[0];function x(P){return P.name}var Q=new Wh(this._layersSeries||[],f,x,x),R=[];Q.add(an(L,this,"add")).update(an(L,this,"update")).remove(an(L,this,"remove")).execute();function L(P,M,k){var G=s._layers;if(P==="remove"){l.remove(G[M]);return}for(var Y=[],re=[],ie,le=f[M].indices,pe=0;pe<le.length;pe++){var ve=o.getItemLayout(le[pe]),Ee=ve.x,Se=ve.y0,ke=ve.y;Y.push(Ee,Se),re.push(Ee,Se+ke),ie=o.getItemVisual(le[pe],"style")}var Le,be=o.getItemLayout(le[0]),ze=e.getModel("label"),ut=ze.get("margin"),ft=e.getModel("emphasis");if(P==="add"){var Qt=R[M]=new Nn;Le=new J6({shape:{points:Y,stackedOnPoints:re,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),Qt.add(Le),l.add(Qt),e.isAnimationEnabled()&&Le.setClipPath(JW(Le.getBoundingRect(),e,function(){Le.removeClipPath()}))}else{var Qt=G[k];Le=Qt.childAt(0),l.add(Qt),R[M]=Qt,ga(Le,{shape:{points:Y,stackedOnPoints:re}},e),_l(Le)}Uo(Le,_s(e),{labelDataIndex:le[pe-1],defaultText:o.getName(le[pe-1]),inheritColor:ie.fill},{normal:{verticalAlign:"middle"}}),Le.setTextConfig({position:null,local:!0});var vt=Le.getTextContent();vt&&(vt.x=be.x-ut,vt.y=be.y0+be.y/2),Le.useStyle(ie),o.setItemGraphicEl(M,Le),hu(Le,e),uo(Le,ft.get("focus"),ft.get("blurScope"),ft.get("disabled"))}this._layersSeries=f,this._layers=R},t.type="themeRiver",t}(d);function JW(r,t,e){var n=new ta({shape:{x:r.x-10,y:r.y-10,width:0,height:r.height+20}});return Co(n,{shape:{x:r.x-50,width:r.width+100,height:r.height+20}},t,e),n}var r7=2,WW=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new F4(an(this.getData,this),an(this.getRawData,this))},t.prototype.fixData=function(e){var n=e.length,i={},o=n1(e,function(x){return i.hasOwnProperty(x[0]+"")||(i[x[0]+""]=-1),x[2]}),s=[];o.buckets.each(function(x,Q){s.push({name:Q,dataList:x})});for(var l=s.length,f=0;f<l;++f){for(var v=s[f].name,C=0;C<s[f].dataList.length;++C){var w=s[f].dataList[C][0]+"";i[w]=f}for(var w in i)i.hasOwnProperty(w)&&i[w]!==f&&(i[w]=f,e[n]=[w,0,v],n++)}return e},t.prototype.getInitialData=function(e,n){for(var i=this.getReferringComponents("singleAxis",fs).models[0],o=i.get("type"),s=Ii(e.data,function(R){return R[2]!==void 0}),l=this.fixData(s||[]),f=[],v=this.nameMap=mn(),C=0,w=0;w<l.length;++w)f.push(l[w][r7]),v.get(l[w][r7])||(v.set(l[w][r7],C),C++);var x=jb(l,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:W1(o)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,Q=new sl(x,this);return Q.initData(l),Q},t.prototype.getLayerSeries=function(){for(var e=this.getData(),n=e.count(),i=[],o=0;o<n;++o)i[o]=o;var s=e.mapDimension("single"),l=n1(i,function(v){return e.get("name",v)}),f=[];return l.buckets.each(function(v,C){v.sort(function(w,x){return e.get(s,w)-e.get(s,x)}),f.push({name:C,indices:v})}),f},t.prototype.getAxisTooltipData=function(e,n,i){yr(e)||(e=e?[e]:[]);for(var o=this.getData(),s=this.getLayerSeries(),l=[],f=s.length,v,C=0;C<f;++C){for(var w=Number.MAX_VALUE,x=-1,Q=s[C].indices.length,R=0;R<Q;++R){var L=o.get(e[0],s[C].indices[R]),P=Math.abs(L-n);P<=w&&(v=L,w=P,x=s[C].indices[R])}l.push(x)}return{dataIndices:l,nestestValue:v}},t.prototype.formatTooltip=function(e,n,i){var o=this.getData(),s=o.getName(e),l=o.get(o.mapDimension("value"),e);return Xs("nameValue",{name:s,value:l})},t.type="series.themeRiver",t.dependencies=["singleAxis"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},t}(no);function qW(r,t){r.eachSeriesByType("themeRiver",function(e){var n=e.getData(),i=e.coordinateSystem,o={},s=i.getRect();o.rect=s;var l=e.get("boundaryGap"),f=i.getAxis();if(o.boundaryGap=l,f.orient==="horizontal"){l[0]=jr(l[0],s.height),l[1]=jr(l[1],s.height);var v=s.height-l[0]-l[1];LF(n,e,v)}else{l[0]=jr(l[0],s.width),l[1]=jr(l[1],s.width);var C=s.width-l[0]-l[1];LF(n,e,C)}n.setLayout("layoutInfo",o)})}function LF(r,t,e){if(r.count())for(var n=t.coordinateSystem,i=t.getLayerSeries(),o=r.mapDimension("single"),s=r.mapDimension("value"),l=pr(i,function(P){return pr(P.indices,function(M){var k=n.dataToPoint(r.get(o,M));return k[1]=r.get(s,M),k})}),f=zW(l),v=f.y0,C=e/f.max,w=i.length,x=i[0].indices.length,Q,R=0;R<x;++R){Q=v[R]*C,r.setItemLayout(i[0].indices[R],{layerIndex:0,x:l[0][R][0],y0:Q,y:l[0][R][1]*C});for(var L=1;L<w;++L)Q+=l[L-1][R][1]*C,r.setItemLayout(i[L].indices[R],{layerIndex:L,x:l[L][R][0],y0:Q,y:l[L][R][1]*C})}}function zW(r){for(var t=r.length,e=r[0].length,n=[],i=[],o=0,s=0;s<e;++s){for(var l=0,f=0;f<t;++f)l+=r[f][s][1];l>o&&(o=l),n.push(l)}for(var v=0;v<e;++v)i[v]=(o-n[v])/2;o=0;for(var C=0;C<e;++C){var w=n[C]+i[C];w>o&&(o=w)}return{y0:i,max:o}}function KW(r){r.registerChartView(YW),r.registerSeriesModel(WW),r.registerLayout(qW),r.registerProcessor(Um("themeRiver"))}var VW=2,ZW=4,NF=function(r){kt(t,r);function t(e,n,i,o){var s=r.call(this)||this;s.z2=VW,s.textConfig={inside:!0},Un(s).seriesIndex=n.seriesIndex;var l=new Mn({z2:ZW,silent:e.getModel().get(["label","silent"])});return s.setTextContent(l),s.updateData(!0,e,n,i,o),s}return t.prototype.updateData=function(e,n,i,o,s){this.node=n,n.piece=this,i=i||this._seriesModel,o=o||this._ecModel;var l=this;Un(l).dataIndex=n.dataIndex;var f=n.getModel(),v=f.getModel("emphasis"),C=n.getLayout(),w=ar({},C);w.label=null;var x=n.getVisual("style");x.lineJoin="bevel";var Q=n.getVisual("decal");Q&&(x.decal=Ms(Q,s));var R=We(f.getModel("itemStyle"),w,!0);ar(w,R),Ne(bi,function(k){var G=l.ensureState(k),Y=f.getModel([k,"itemStyle"]);G.style=Y.getItemStyle();var re=We(Y,w);re&&(G.shape=re)}),e?(l.setShape(w),l.shape.r=C.r0,Co(l,{shape:{r:C.r}},i,n.dataIndex)):(ga(l,{shape:w},i),_l(l)),l.useStyle(x),this._updateLabel(i);var L=f.getShallow("cursor");L&&l.attr("cursor",L),this._seriesModel=i||this._seriesModel,this._ecModel=o||this._ecModel;var P=v.get("focus"),M=P==="relative"?x0(n.getAncestorsIndices(),n.getDescendantIndices()):P==="ancestor"?n.getAncestorsIndices():P==="descendant"?n.getDescendantIndices():P;uo(this,M,v.get("blurScope"),v.get("disabled"))},t.prototype._updateLabel=function(e){var n=this,i=this.node.getModel(),o=i.getModel("label"),s=this.node.getLayout(),l=s.endAngle-s.startAngle,f=(s.startAngle+s.endAngle)/2,v=Math.cos(f),C=Math.sin(f),w=this,x=w.getTextContent(),Q=this.node.dataIndex,R=o.get("minAngle")/180*Math.PI,L=o.get("show")&&!(R!=null&&Math.abs(l)<R);x.ignore=!L,Ne(Ta,function(M){var k=M==="normal"?i.getModel("label"):i.getModel([M,"label"]),G=M==="normal",Y=G?x:x.ensureState(M),re=e.getFormattedLabel(Q,M);G&&(re=re||n.node.name),Y.style=La(k,{},null,M!=="normal",!0),re&&(Y.style.text=re);var ie=k.get("show");ie!=null&&!G&&(Y.ignore=!ie);var le=P(k,"position"),pe=G?w:w.states[M],ve=pe.style.fill;pe.textConfig={outsideFill:k.get("color")==="inherit"?ve:null,inside:le!=="outside"};var Ee,Se=P(k,"distance")||0,ke=P(k,"align"),Le=P(k,"rotate"),be=Math.PI*.5,ze=Math.PI*1.5,ut=lc(Le==="tangential"?Math.PI/2-f:f),ft=ut>be&&!Jo(ut-be)&&ut<ze;le==="outside"?(Ee=s.r+Se,ke=ft?"right":"left"):!ke||ke==="center"?(l===2*Math.PI&&s.r0===0?Ee=0:Ee=(s.r+s.r0)/2,ke="center"):ke==="left"?(Ee=s.r0+Se,ke=ft?"right":"left"):ke==="right"&&(Ee=s.r-Se,ke=ft?"left":"right"),Y.style.align=ke,Y.style.verticalAlign=P(k,"verticalAlign")||"middle",Y.x=Ee*v+s.cx,Y.y=Ee*C+s.cy;var Qt=0;Le==="radial"?Qt=lc(-f)+(ft?Math.PI:0):Le==="tangential"?Qt=lc(Math.PI/2-f)+(ft?Math.PI:0):$i(Le)&&(Qt=Le*Math.PI/180),Y.rotation=lc(Qt)});function P(M,k){var G=M.get(k);return G??o.get(k)}x.dirtyStyle()},t}(Hu),n7="sunburstRootToNode",OF="sunburstHighlight",XW="sunburstUnhighlight";function $W(r){r.registerAction({type:n7,update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},n);function n(i,o){var s=U4(t,[n7],i);if(s){var l=i.getViewRoot();l&&(t.direction=rS(l,s.node)?"rollUp":"drillDown"),i.resetViewRoot(s.node)}}}),r.registerAction({type:OF,update:"none"},function(t,e,n){t=ar({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},i);function i(o){var s=U4(t,[OF],o);s&&(t.dataIndex=s.node.dataIndex)}n.dispatchAction(ar(t,{type:"highlight"}))}),r.registerAction({type:XW,update:"updateView"},function(t,e,n){t=ar({},t),n.dispatchAction(ar(t,{type:"downplay"}))})}var eq=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i,o){var s=this;this.seriesModel=e,this.api=i,this.ecModel=n;var l=e.getData(),f=l.tree.root,v=e.getViewRoot(),C=this.group,w=e.get("renderLabelForZeroData"),x=[];v.eachNode(function(k){x.push(k)});var Q=this._oldChildren||[];R(x,Q),M(f,v),this._initEvents(),this._oldChildren=x;function R(k,G){if(k.length===0&&G.length===0)return;new Wh(G,k,Y,Y).add(re).update(re).remove(ni(re,null)).execute();function Y(ie){return ie.getId()}function re(ie,le){var pe=ie==null?null:k[ie],ve=le==null?null:G[le];L(pe,ve)}}function L(k,G){if(!w&&k&&!k.getValue()&&(k=null),k!==f&&G!==f){if(G&&G.piece)k?(G.piece.updateData(!1,k,e,n,i),l.setItemGraphicEl(k.dataIndex,G.piece)):P(G);else if(k){var Y=new NF(k,e,n,i);C.add(Y),l.setItemGraphicEl(k.dataIndex,Y)}}}function P(k){k&&k.piece&&(C.remove(k.piece),k.piece=null)}function M(k,G){G.depth>0?(s.virtualPiece?s.virtualPiece.updateData(!1,k,e,n,i):(s.virtualPiece=new NF(k,e,n,i),C.add(s.virtualPiece)),G.piece.off("click"),s.virtualPiece.on("click",function(Y){s._rootToNode(G.parentNode)})):s.virtualPiece&&(C.remove(s.virtualPiece),s.virtualPiece=null)}},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",function(n){var i=!1,o=e.seriesModel.getViewRoot();o.eachNode(function(s){if(!i&&s.piece&&s.piece===n.target){var l=s.getModel().get("nodeClick");if(l==="rootToNode")e._rootToNode(s);else if(l==="link"){var f=s.getModel(),v=f.get("link");if(v){var C=f.get("target",!0)||"_blank";nm(v,C)}}i=!0}})})},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:n7,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,n){var i=n.getData(),o=i.getItemLayout(0);if(o){var s=e[0]-o.cx,l=e[1]-o.cy,f=Math.sqrt(s*s+l*l);return f<=o.r&&f>=o.r0}},t.type="sunburst",t}(d),tq=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.ignoreStyleOnData=!0,e}return t.prototype.getInitialData=function(e,n){var i={name:e.name,children:e.data};PF(i);var o=this._levelModels=pr(e.levels||[],function(f){return new Ia(f,this,n)},this),s=tS.createTree(i,this,l);function l(f){f.wrapMethod("getItemModel",function(v,C){var w=s.getNodeByDataIndex(C),x=o[w.depth];return x&&(v.parentModel=x),v})}return s.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(e){var n=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=a9(i,this),n},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var n=this.getRawData().tree.root;(!e||e!==n&&!n.contains(e))&&(this._viewRoot=n)},t.prototype.enableAriaDecal=function(){VR(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(no);function PF(r){var t=0;Ne(r.children,function(n){PF(n);var i=n.value;yr(i)&&(i=i[0]),t+=i});var e=r.value;yr(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=t),e<0&&(e=0),yr(r.value)?r.value[0]=e:r.value=e}var GF=Math.PI/180;function rq(r,t,e){t.eachSeriesByType(r,function(n){var i=n.get("center"),o=n.get("radius");yr(o)||(o=[0,o]),yr(i)||(i=[i,i]);var s=e.getWidth(),l=e.getHeight(),f=Math.min(s,l),v=jr(i[0],s),C=jr(i[1],l),w=jr(o[0],f/2),x=jr(o[1],f/2),Q=-n.get("startAngle")*GF,R=n.get("minAngle")*GF,L=n.getData().tree.root,P=n.getViewRoot(),M=P.depth,k=n.get("sort");k!=null&&UF(P,k);var G=0;Ne(P.children,function(ut){!isNaN(ut.getValue())&&G++});var Y=P.getValue(),re=Math.PI/(Y||G)*2,ie=P.depth>0,le=P.height-(ie?-1:1),pe=(x-w)/(le||1),ve=n.get("clockwise"),Ee=n.get("stillShowZeroSum"),Se=ve?1:-1,ke=function(ut,ft){if(ut){var Qt=ft;if(ut!==L){var vt=ut.getValue(),Gt=Y===0&&Ee?re:vt*re;Gt<R&&(Gt=R),Qt=ft+Se*Gt;var Ct=ut.depth-M-(ie?-1:1),St=w+pe*Ct,dr=w+pe*(Ct+1),ur=n.getLevelModel(ut);if(ur){var ir=ur.get("r0",!0),Fn=ur.get("r",!0),Ei=ur.get("radius",!0);Ei!=null&&(ir=Ei[0],Fn=Ei[1]),ir!=null&&(St=jr(ir,f/2)),Fn!=null&&(dr=jr(Fn,f/2))}ut.setLayout({angle:Gt,startAngle:ft,endAngle:Qt,clockwise:ve,cx:v,cy:C,r0:St,r:dr})}if(ut.children&&ut.children.length){var Vr=0;Ne(ut.children,function(qr){Vr+=ke(qr,ft+Vr)})}return Qt-ft}};if(ie){var Le=w,be=w+pe,ze=Math.PI*2;L.setLayout({angle:ze,startAngle:Q,endAngle:Q+ze,clockwise:ve,cx:v,cy:C,r0:Le,r:be})}ke(P,Q)})}function UF(r,t){var e=r.children||[];r.children=nq(e,t),e.length&&Ne(r.children,function(n){UF(n,t)})}function nq(r,t){if(bn(t)){var e=pr(r,function(i,o){var s=i.getValue();return{params:{depth:i.depth,height:i.height,dataIndex:i.dataIndex,getValue:function(){return s}},index:o}});return e.sort(function(i,o){return t(i.params,o.params)}),pr(e,function(i){return r[i.index]})}else{var n=t==="asc";return r.sort(function(i,o){var s=(i.getValue()-o.getValue())*(n?1:-1);return s===0?(i.dataIndex-o.dataIndex)*(n?-1:1):s})}}function iq(r){var t={};function e(n,i,o){for(var s=n;s&&s.depth>1;)s=s.parentNode;var l=i.getColorFromPalette(s.name||s.dataIndex+"",t);return n.depth>1&&en(l)&&(l=S2(l,(n.depth-1)/(o-1)*.5)),l}r.eachSeriesByType("sunburst",function(n){var i=n.getData(),o=i.tree;o.eachNode(function(s){var l=s.getModel(),f=l.getModel("itemStyle").getItemStyle();f.fill||(f.fill=e(s,n,o.root.height));var v=i.ensureUniqueItemVisual(s.dataIndex,"style");ar(v,f)})})}function aq(r){r.registerChartView(eq),r.registerSeriesModel(tq),r.registerLayout(ni(rq,"sunburst")),r.registerProcessor(ni(Um,"sunburst")),r.registerVisual(iq),$W(r)}var jF={color:"fill",borderColor:"stroke"},oq={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},fv=Vi(),sq=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,n){return WA(null,this)},t.prototype.getDataParams=function(e,n,i){var o=r.prototype.getDataParams.call(this,e,n);return i&&(o.info=fv(i).info),o},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(no);function uq(r,t){return t=t||[0,0],pr(["x","y"],function(e,n){var i=this.getAxis(e),o=t[n],s=r[n]/2;return i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(o-s)-i.dataToCoord(o+s))},this)}function cq(r){var t=r.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return r.dataToPoint(e)},size:an(uq,r)}}}function lq(r,t){return t=t||[0,0],pr([0,1],function(e){var n=t[e],i=r[e]/2,o=[],s=[];return o[e]=n-i,s[e]=n+i,o[1-e]=s[1-e]=t[1-e],Math.abs(this.dataToPoint(o)[e]-this.dataToPoint(s)[e])},this)}function hq(r){var t=r.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:r.getZoom()},api:{coord:function(e){return r.dataToPoint(e)},size:an(lq,r)}}}function fq(r,t){var e=this.getAxis(),n=t instanceof Array?t[0]:t,i=(r instanceof Array?r[0]:r)/2;return e.type==="category"?e.getBandWidth():Math.abs(e.dataToCoord(n-i)-e.dataToCoord(n+i))}function Aq(r){var t=r.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return r.dataToPoint(e)},size:an(fq,r)}}}function dq(r,t){return t=t||[0,0],pr(["Radius","Angle"],function(e,n){var i="get"+e+"Axis",o=this[i](),s=t[n],l=r[n]/2,f=o.type==="category"?o.getBandWidth():Math.abs(o.dataToCoord(s-l)-o.dataToCoord(s+l));return e==="Angle"&&(f=f*Math.PI/180),f},this)}function gq(r){var t=r.getRadiusAxis(),e=r.getAngleAxis(),n=t.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:r.cx,cy:r.cy,r:n[1],r0:n[0]},api:{coord:function(i){var o=t.dataToRadius(i[0]),s=e.dataToAngle(i[1]),l=r.coordToPoint([o,s]);return l.push(o,s*Math.PI/180),l},size:an(dq,r)}}}function pq(r){var t=r.getRect(),e=r.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:r.getCellWidth(),cellHeight:r.getCellHeight(),rangeInfo:{start:e.start,end:e.end,weeks:e.weeks,dayCount:e.allDay}},api:{coord:function(n,i){return r.dataToPoint(n,i)}}}}function HF(r,t,e,n){return r&&(r.legacy||r.legacy!==!1&&!e&&!n&&t!=="tspan"&&(t==="text"||ln(r,"text")))}function YF(r,t,e){var n=r,i,o,s;if(t==="text")s=n;else{s={},ln(n,"text")&&(s.text=n.text),ln(n,"rich")&&(s.rich=n.rich),ln(n,"textFill")&&(s.fill=n.textFill),ln(n,"textStroke")&&(s.stroke=n.textStroke),ln(n,"fontFamily")&&(s.fontFamily=n.fontFamily),ln(n,"fontSize")&&(s.fontSize=n.fontSize),ln(n,"fontStyle")&&(s.fontStyle=n.fontStyle),ln(n,"fontWeight")&&(s.fontWeight=n.fontWeight),o={type:"text",style:s,silent:!0},i={};var l=ln(n,"textPosition");e?i.position=l?n.textPosition:"inside":l&&(i.position=n.textPosition),ln(n,"textPosition")&&(i.position=n.textPosition),ln(n,"textOffset")&&(i.offset=n.textOffset),ln(n,"textRotation")&&(i.rotation=n.textRotation),ln(n,"textDistance")&&(i.distance=n.textDistance)}return JF(s,r),Ne(s.rich,function(f){JF(f,f)}),{textConfig:i,textContent:o}}function JF(r,t){t&&(t.font=t.textFont||t.font,ln(t,"textStrokeWidth")&&(r.lineWidth=t.textStrokeWidth),ln(t,"textAlign")&&(r.align=t.textAlign),ln(t,"textVerticalAlign")&&(r.verticalAlign=t.textVerticalAlign),ln(t,"textLineHeight")&&(r.lineHeight=t.textLineHeight),ln(t,"textWidth")&&(r.width=t.textWidth),ln(t,"textHeight")&&(r.height=t.textHeight),ln(t,"textBackgroundColor")&&(r.backgroundColor=t.textBackgroundColor),ln(t,"textPadding")&&(r.padding=t.textPadding),ln(t,"textBorderColor")&&(r.borderColor=t.textBorderColor),ln(t,"textBorderWidth")&&(r.borderWidth=t.textBorderWidth),ln(t,"textBorderRadius")&&(r.borderRadius=t.textBorderRadius),ln(t,"textBoxShadowColor")&&(r.shadowColor=t.textBoxShadowColor),ln(t,"textBoxShadowBlur")&&(r.shadowBlur=t.textBoxShadowBlur),ln(t,"textBoxShadowOffsetX")&&(r.shadowOffsetX=t.textBoxShadowOffsetX),ln(t,"textBoxShadowOffsetY")&&(r.shadowOffsetY=t.textBoxShadowOffsetY))}function WF(r,t,e){var n=r;n.textPosition=n.textPosition||e.position||"inside",e.offset!=null&&(n.textOffset=e.offset),e.rotation!=null&&(n.textRotation=e.rotation),e.distance!=null&&(n.textDistance=e.distance);var i=n.textPosition.indexOf("inside")>=0,o=r.fill||"#000";qF(n,t);var s=n.textFill==null;return i?s&&(n.textFill=e.insideFill||"#fff",!n.textStroke&&e.insideStroke&&(n.textStroke=e.insideStroke),!n.textStroke&&(n.textStroke=o),n.textStrokeWidth==null&&(n.textStrokeWidth=2)):(s&&(n.textFill=r.fill||e.outsideFill||"#000"),!n.textStroke&&e.outsideStroke&&(n.textStroke=e.outsideStroke)),n.text=t.text,n.rich=t.rich,Ne(t.rich,function(l){qF(l,l)}),n}function qF(r,t){t&&(ln(t,"fill")&&(r.textFill=t.fill),ln(t,"stroke")&&(r.textStroke=t.fill),ln(t,"lineWidth")&&(r.textStrokeWidth=t.lineWidth),ln(t,"font")&&(r.font=t.font),ln(t,"fontStyle")&&(r.fontStyle=t.fontStyle),ln(t,"fontWeight")&&(r.fontWeight=t.fontWeight),ln(t,"fontSize")&&(r.fontSize=t.fontSize),ln(t,"fontFamily")&&(r.fontFamily=t.fontFamily),ln(t,"align")&&(r.textAlign=t.align),ln(t,"verticalAlign")&&(r.textVerticalAlign=t.verticalAlign),ln(t,"lineHeight")&&(r.textLineHeight=t.lineHeight),ln(t,"width")&&(r.textWidth=t.width),ln(t,"height")&&(r.textHeight=t.height),ln(t,"backgroundColor")&&(r.textBackgroundColor=t.backgroundColor),ln(t,"padding")&&(r.textPadding=t.padding),ln(t,"borderColor")&&(r.textBorderColor=t.borderColor),ln(t,"borderWidth")&&(r.textBorderWidth=t.borderWidth),ln(t,"borderRadius")&&(r.textBorderRadius=t.borderRadius),ln(t,"shadowColor")&&(r.textBoxShadowColor=t.shadowColor),ln(t,"shadowBlur")&&(r.textBoxShadowBlur=t.shadowBlur),ln(t,"shadowOffsetX")&&(r.textBoxShadowOffsetX=t.shadowOffsetX),ln(t,"shadowOffsetY")&&(r.textBoxShadowOffsetY=t.shadowOffsetY),ln(t,"textShadowColor")&&(r.textShadowColor=t.textShadowColor),ln(t,"textShadowBlur")&&(r.textShadowBlur=t.textShadowBlur),ln(t,"textShadowOffsetX")&&(r.textShadowOffsetX=t.textShadowOffsetX),ln(t,"textShadowOffsetY")&&(r.textShadowOffsetY=t.textShadowOffsetY))}var zF={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},KF=fi(zF);xa(Zl,function(r,t){return r[t]=1,r},{}),Zl.join(", ");var y9=["","style","shape","extra"],I3=Vi();function i7(r,t,e,n,i){var o=r+"Animation",s=ig(r,n,i)||{},l=I3(t).userDuring;return s.duration>0&&(s.during=l?an(bq,{el:t,userDuring:l}):null,s.setToFinal=!0,s.scope=r),ar(s,e[o]),s}function m9(r,t,e,n){n=n||{};var i=n.dataIndex,o=n.isInit,s=n.clearStyle,l=e.isAnimationEnabled(),f=I3(r),v=t.style;f.userDuring=t.during;var C={},w={};if(wq(r,t,w),XF("shape",t,w),XF("extra",t,w),!o&&l&&(Cq(r,t,C),ZF("shape",r,t,C),ZF("extra",r,t,C),Eq(r,t,v,C)),w.style=v,vq(r,w,s),mq(r,t),l)if(o){var x={};Ne(y9,function(R){var L=R?t[R]:t;L&&L.enterFrom&&(R&&(x[R]=x[R]||{}),ar(R?x[R]:x,L.enterFrom))});var Q=i7("enter",r,t,e,i);Q.duration>0&&r.animateFrom(x,Q)}else yq(r,t,i||0,e,C);VF(r,t),v?r.dirty():r.markRedraw()}function VF(r,t){for(var e=I3(r).leaveToProps,n=0;n<y9.length;n++){var i=y9[n],o=i?t[i]:t;o&&o.leaveTo&&(e||(e=I3(r).leaveToProps={}),i&&(e[i]=e[i]||{}),ar(i?e[i]:e,o.leaveTo))}}function I9(r,t,e,n){if(r){var i=r.parent,o=I3(r).leaveToProps;if(o){var s=i7("update",r,t,e,0);s.done=function(){i.remove(r)},r.animateTo(o,s)}else i.remove(r)}}function EC(r){return r==="all"}function vq(r,t,e){var n=t.style;if(!r.isGroup&&n){if(e){r.useStyle({});for(var i=r.animators,o=0;o<i.length;o++){var s=i[o];s.targetName==="style"&&s.changeTarget(r.style)}}r.setStyle(n)}t.style=null,r.attr(t),t.style=n}function yq(r,t,e,n,i){{var o=i7("update",r,t,n,e);o.duration>0&&r.animateFrom(i,o)}}function mq(r,t){ln(t,"silent")&&(r.silent=t.silent),ln(t,"ignore")&&(r.ignore=t.ignore),r instanceof ii&&ln(t,"invisible")&&(r.invisible=t.invisible),r instanceof Si&&ln(t,"autoBatch")&&(r.autoBatch=t.autoBatch)}var y0={},Iq={setTransform:function(r,t){return y0.el[r]=t,this},getTransform:function(r){return y0.el[r]},setShape:function(r,t){var e=y0.el,n=e.shape||(e.shape={});return n[r]=t,e.dirtyShape&&e.dirtyShape(),this},getShape:function(r){var t=y0.el.shape;if(t)return t[r]},setStyle:function(r,t){var e=y0.el,n=e.style;return n&&(n[r]=t,e.dirtyStyle&&e.dirtyStyle()),this},getStyle:function(r){var t=y0.el.style;if(t)return t[r]},setExtra:function(r,t){var e=y0.el.extra||(y0.el.extra={});return e[r]=t,this},getExtra:function(r){var t=y0.el.extra;if(t)return t[r]}};function bq(){var r=this,t=r.el;if(t){var e=I3(t).userDuring,n=r.userDuring;if(e!==n){r.el=r.userDuring=null;return}y0.el=t,n(Iq)}}function ZF(r,t,e,n){var i=e[r];if(i){var o=t[r],s;if(o){var l=e.transition,f=i.transition;if(f)if(!s&&(s=n[r]={}),EC(f))ar(s,o);else for(var v=ja(f),C=0;C<v.length;C++){var w=v[C],x=o[w];s[w]=x}else if(EC(l)||Vn(l,r)>=0){!s&&(s=n[r]={});for(var Q=fi(o),C=0;C<Q.length;C++){var w=Q[C],x=o[w];Bq(i[w],x)&&(s[w]=x)}}}}}function XF(r,t,e){var n=t[r];if(n)for(var i=e[r]={},o=fi(n),s=0;s<o.length;s++){var l=o[s];i[l]=ep(n[l])}}function Cq(r,t,e){for(var n=t.transition,i=EC(n)?Zl:ja(n||[]),o=0;o<i.length;o++){var s=i[o];if(!(s==="style"||s==="shape"||s==="extra")){var l=r[s];e[s]=l}}}function wq(r,t,e){for(var n=0;n<KF.length;n++){var i=KF[n],o=zF[i],s=t[i];s&&(e[o[0]]=s[0],e[o[1]]=s[1])}for(var n=0;n<Zl.length;n++){var l=Zl[n];t[l]!=null&&(e[l]=t[l])}}function Eq(r,t,e,n){if(e){var i=r.style,o;if(i){var s=e.transition,l=t.transition;if(s&&!EC(s)){var f=ja(s);!o&&(o=n.style={});for(var v=0;v<f.length;v++){var C=f[v],w=i[C];o[C]=w}}else if(r.getAnimationStyleProps&&(EC(l)||EC(s)||Vn(l,"style")>=0)){var x=r.getAnimationStyleProps(),Q=x?x.style:null;if(Q){!o&&(o=n.style={});for(var R=fi(e),v=0;v<R.length;v++){var C=R[v];if(Q[C]){var w=i[C];o[C]=w}}}}}}}function Bq(r,t){return bo(r)?r!==t:r!=null&&isFinite(r)}var $F=Vi(),kq=["percent","easing","shape","style","extra"];function eT(r){r.stopAnimation("keyframe"),r.attr($F(r))}function b9(r,t,e){if(!(!e.isAnimationEnabled()||!t)){if(yr(t)){Ne(t,function(l){b9(r,l,e)});return}var n=t.keyframes,i=t.duration;if(e&&i==null){var o=ig("enter",e,0);i=o&&o.duration}if(!(!n||!i)){var s=$F(r);Ne(y9,function(l){if(!(l&&!r[l])){var f;n.sort(function(v,C){return v.percent-C.percent}),Ne(n,function(v){var C=r.animators,w=l?v[l]:v;if(w){var x=fi(w);if(l||(x=Ii(x,function(L){return Vn(kq,L)<0})),!!x.length){f||(f=r.animate(l,t.loop,!0),f.scope="keyframe");for(var Q=0;Q<C.length;Q++)C[Q]!==f&&C[Q].targetName===f.targetName&&C[Q].stopTracks(x);l&&(s[l]=s[l]||{});var R=l?s[l]:s;Ne(x,function(L){R[L]=((l?r[l]:r)||{})[L]}),f.whenWithKeys(i*v.percent,w,x,v.easing)}}}),f&&f.delay(t.delay||0).duration(i).start(t.easing)}})}}}var Av="emphasis",Jm="normal",a7="blur",o7="select",Wm=[Jm,Av,a7,o7],s7={normal:["itemStyle"],emphasis:[Av,"itemStyle"],blur:[a7,"itemStyle"],select:[o7,"itemStyle"]},u7={normal:["label"],emphasis:[Av,"label"],blur:[a7,"label"],select:[o7,"label"]},Qq=["x","y"],xq="e\0\0",ad={normal:{},emphasis:{},blur:{},select:{}},Sq={cartesian2d:cq,geo:hq,single:Aq,polar:gq,calendar:pq};function c7(r){return r instanceof Si}function l7(r){return r instanceof ii}function _q(r,t){t.copyTransform(r),l7(t)&&l7(r)&&(t.setStyle(r.style),t.z=r.z,t.z2=r.z2,t.zlevel=r.zlevel,t.invisible=r.invisible,t.ignore=r.ignore,c7(t)&&c7(r)&&t.setShape(r.shape))}var Dq=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i,o){this._progressiveEls=null;var s=this._data,l=e.getData(),f=this.group,v=rT(e,l,n,i);s||f.removeAll(),l.diff(s).add(function(w){A7(i,null,w,v(w,o),e,f,l)}).remove(function(w){var x=s.getItemGraphicEl(w);x&&I9(x,fv(x).option,e)}).update(function(w,x){var Q=s.getItemGraphicEl(x);A7(i,Q,w,v(w,o),e,f,l)}).execute();var C=e.get("clip",!0)?av(e.coordinateSystem,!1,e):null;C?f.setClipPath(C):f.removeClipPath(),this._data=l},t.prototype.incrementalPrepareRender=function(e,n,i){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,n,i,o,s){var l=n.getData(),f=rT(n,l,i,o),v=this._progressiveEls=[];function C(Q){Q.isGroup||(Q.incremental=!0,Q.ensureState("emphasis").hoverLayer=!0)}for(var w=e.start;w<e.end;w++){var x=A7(null,null,w,f(w,s),n,this.group,l);x&&(x.traverse(C),v.push(x))}},t.prototype.eachRendered=function(e){Fl(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,n,i,o){var s=n.element;if(s==null||i.name===s)return!0;for(;(i=i.__hostTarget||i.parent)&&i!==this.group;)if(i.name===s)return!0;return!1},t.type="custom",t}(d);function h7(r){var t=r.type,e;if(t==="path"){var n=r.shape,i=n.width!=null&&n.height!=null?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,o=sT(n);e=Yy(o,null,i,n.layout||"center"),fv(e).customPathData=o}else if(t==="image")e=new Ws({}),fv(e).customImagePath=r.style.image;else if(t==="text")e=new Mn({});else if(t==="group")e=new Nn;else{if(t==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var s=GI(t);if(!s){var l="";Ba(l)}e=new s}return fv(e).customGraphicType=t,e.name=r.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function f7(r,t,e,n,i,o,s){eT(t);var l=i&&i.normal.cfg;l&&t.setTextConfig(l),n&&n.transition==null&&(n.transition=Qq);var f=n&&n.style;if(f){if(t.type==="text"){var v=f;ln(v,"textFill")&&(v.fill=v.textFill),ln(v,"textStroke")&&(v.stroke=v.textStroke)}var C=void 0,w=c7(t)?f.decal:null;r&&w&&(w.dirty=!0,C=Ms(w,r)),f.__decalPattern=C}if(l7(t)&&f){var C=f.__decalPattern;C&&(f.decal=C)}m9(t,n,o,{dataIndex:e,isInit:s,clearStyle:!0}),b9(t,n.keyframeAnimation,o)}function tT(r,t,e,n,i){var o=t.isGroup?null:t,s=i&&i[r].cfg;if(o){var l=o.ensureState(r);if(n===!1){var f=o.getState(r);f&&(f.style=null)}else l.style=n||null;s&&(l.textConfig=s),xl(o)}}function Rq(r,t,e){if(!r.isGroup){var n=r,i=e.currentZ,o=e.currentZLevel;n.z=i,n.zlevel=o;var s=t.z2;s!=null&&(n.z2=s||0);for(var l=0;l<Wm.length;l++)Mq(n,t,Wm[l])}}function Mq(r,t,e){var n=e===Jm,i=n?t:C9(t,e),o=i?i.z2:null,s;o!=null&&(s=n?r:r.ensureState(e),s.z2=o||0)}function rT(r,t,e,n){var i=r.get("renderItem"),o=r.coordinateSystem,s={};o&&(s=o.prepareCustoms?o.prepareCustoms(o):Sq[o.type](o));for(var l=pn({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:Y,style:ie,ordinalRawValue:re,styleEmphasis:le,visual:Ee,barLayout:Se,currentSeriesIndices:ke,font:Le},s.api||{}),f={context:{},seriesId:r.id,seriesName:r.name,seriesIndex:r.seriesIndex,coordSys:s.coordSys,dataInsideLength:t.count(),encode:Fq(r.getData())},v,C,w={},x={},Q={},R={},L=0;L<Wm.length;L++){var P=Wm[L];Q[P]=r.getModel(s7[P]),R[P]=r.getModel(u7[P])}function M(be){return be===v?C||(C=t.getItemModel(be)):t.getItemModel(be)}function k(be,ze){return t.hasItemOption?be===v?w[ze]||(w[ze]=M(be).getModel(s7[ze])):M(be).getModel(s7[ze]):Q[ze]}function G(be,ze){return t.hasItemOption?be===v?x[ze]||(x[ze]=M(be).getModel(u7[ze])):M(be).getModel(u7[ze]):R[ze]}return function(be,ze){return v=be,C=null,w={},x={},i&&i(pn({dataIndexInside:be,dataIndex:t.getRawIndex(be),actionType:ze?ze.type:null},f),l)};function Y(be,ze){return ze==null&&(ze=v),t.getStore().get(t.getDimensionIndex(be||0),ze)}function re(be,ze){ze==null&&(ze=v),be=be||0;var ut=t.getDimensionInfo(be);if(!ut){var ft=t.getDimensionIndex(be);return ft>=0?t.getStore().get(ft,ze):void 0}var Qt=t.get(ut.name,ze),vt=ut&&ut.ordinalMeta;return vt?vt.categories[Qt]:Qt}function ie(be,ze){ze==null&&(ze=v);var ut=t.getItemVisual(ze,"style"),ft=ut&&ut.fill,Qt=ut&&ut.opacity,vt=k(ze,Jm).getItemStyle();ft!=null&&(vt.fill=ft),Qt!=null&&(vt.opacity=Qt);var Gt={inheritColor:en(ft)?ft:"#000"},Ct=G(ze,Jm),St=La(Ct,null,Gt,!1,!0);St.text=Ct.getShallow("show")?$n(r.getFormattedLabel(ze,Jm),d0(t,ze)):null;var dr=Ef(Ct,Gt,!1);return ve(be,vt),vt=WF(vt,St,dr),be&&pe(vt,be),vt.legacy=!0,vt}function le(be,ze){ze==null&&(ze=v);var ut=k(ze,Av).getItemStyle(),ft=G(ze,Av),Qt=La(ft,null,null,!0,!0);Qt.text=ft.getShallow("show")?ec(r.getFormattedLabel(ze,Av),r.getFormattedLabel(ze,Jm),d0(t,ze)):null;var vt=Ef(ft,null,!0);return ve(be,ut),ut=WF(ut,Qt,vt),be&&pe(ut,be),ut.legacy=!0,ut}function pe(be,ze){for(var ut in ze)ln(ze,ut)&&(be[ut]=ze[ut])}function ve(be,ze){be&&(be.textFill&&(ze.textFill=be.textFill),be.textPosition&&(ze.textPosition=be.textPosition))}function Ee(be,ze){if(ze==null&&(ze=v),ln(jF,be)){var ut=t.getItemVisual(ze,"style");return ut?ut[jF[be]]:null}if(ln(oq,be))return t.getItemVisual(ze,be)}function Se(be){if(o.type==="cartesian2d"){var ze=o.getBaseAxis();return Tk(pn({axis:ze},be))}}function ke(){return e.getCurrentSeriesIndices()}function Le(be){return zy(be,e)}}function Fq(r){var t={};return Ne(r.dimensions,function(e){var n=r.getDimensionInfo(e);if(!n.isExtraCoord){var i=n.coordDim,o=t[i]=t[i]||[];o[n.coordDimIndex]=r.getDimensionIndex(e)}}),t}function A7(r,t,e,n,i,o,s){if(!n){o.remove(t);return}var l=d7(r,t,e,n,i,o);return l&&s.setItemGraphicEl(e,l),l&&uo(l,n.focus,n.blurScope,n.emphasisDisabled),l}function d7(r,t,e,n,i,o){var s=-1,l=t;t&&nT(t,n,i)&&(s=Vn(o.childrenRef(),t),t=null);var f=!t,v=t;v?v.clearStates():(v=h7(n),l&&_q(l,v)),n.morph===!1?v.disableMorphing=!0:v.disableMorphing&&(v.disableMorphing=!1),ad.normal.cfg=ad.normal.conOpt=ad.emphasis.cfg=ad.emphasis.conOpt=ad.blur.cfg=ad.blur.conOpt=ad.select.cfg=ad.select.conOpt=null,ad.isLegacy=!1,Lq(v,e,n,i,f,ad),Tq(v,e,n,i,f),f7(r,v,e,n,ad,i,f),ln(n,"info")&&(fv(v).info=n.info);for(var C=0;C<Wm.length;C++){var w=Wm[C];if(w!==Jm){var x=C9(n,w),Q=g7(n,x,w);tT(w,v,x,Q,ad)}}return Rq(v,n,i),n.type==="group"&&Nq(r,v,e,n,i),s>=0?o.replaceAt(v,s):o.add(v),v}function nT(r,t,e){var n=fv(r),i=t.type,o=t.shape,s=t.style;return e.isUniversalTransitionEnabled()||i!=null&&i!==n.customGraphicType||i==="path"&&Uq(o)&&sT(o)!==n.customPathData||i==="image"&&ln(s,"image")&&s.image!==n.customImagePath}function Tq(r,t,e,n,i){var o=e.clipPath;if(o===!1)r&&r.getClipPath()&&r.removeClipPath();else if(o){var s=r.getClipPath();s&&nT(s,o,n)&&(s=null),s||(s=h7(o),r.setClipPath(s)),f7(null,s,t,o,null,n,i)}}function Lq(r,t,e,n,i,o){if(!r.isGroup){iT(e,null,o),iT(e,Av,o);var s=o.normal.conOpt,l=o.emphasis.conOpt,f=o.blur.conOpt,v=o.select.conOpt;if(s!=null||l!=null||v!=null||f!=null){var C=r.getTextContent();if(s===!1)C&&r.removeTextContent();else{s=o.normal.conOpt=s||{type:"text"},C?C.clearStates():(C=h7(s),r.setTextContent(C)),f7(null,C,t,s,null,n,i);for(var w=s&&s.style,x=0;x<Wm.length;x++){var Q=Wm[x];if(Q!==Jm){var R=o[Q].conOpt;tT(Q,C,R,g7(s,R,Q),null)}}w?C.dirty():C.markRedraw()}}}}function iT(r,t,e){var n=t?C9(r,t):r,i=t?g7(r,n,Av):r.style,o=r.type,s=n?n.textConfig:null,l=r.textContent,f=l?t?C9(l,t):l:null;if(i&&(e.isLegacy||HF(i,o,!!s,!!f))){e.isLegacy=!0;var v=YF(i,o,!t);!s&&v.textConfig&&(s=v.textConfig),!f&&v.textContent&&(f=v.textContent)}if(!t&&f){var C=f;!C.type&&(C.type="text")}var w=t?e[t]:e.normal;w.cfg=s,w.conOpt=f}function C9(r,t){return t?r?r[t]:null:r}function g7(r,t,e){var n=t&&t.style;return n==null&&e===Av&&r&&(n=r.styleEmphasis),n}function Nq(r,t,e,n,i){var o=n.children,s=o?o.length:0,l=n.$mergeChildren,f=l==="byName"||n.diffChildrenByName,v=l===!1;if(!(!s&&!f&&!v)){if(f){Pq({api:r,oldChildren:t.children()||[],newChildren:o||[],dataIndex:e,seriesModel:i,group:t});return}v&&t.removeAll();for(var C=0;C<s;C++){var w=o[C],x=t.childAt(C);w?(w.ignore==null&&(w.ignore=!1),d7(r,x,e,w,i,t)):x.ignore=!0}for(var Q=t.childCount()-1;Q>=C;Q--){var R=t.childAt(Q);Oq(t,R,i)}}}function Oq(r,t,e){t&&I9(t,fv(r).option,e)}function Pq(r){new Wh(r.oldChildren,r.newChildren,aT,aT,r).add(oT).update(oT).remove(Gq).execute()}function aT(r,t){var e=r&&r.name;return e??xq+t}function oT(r,t){var e=this.context,n=r!=null?e.newChildren[r]:null,i=t!=null?e.oldChildren[t]:null;d7(e.api,i,e.dataIndex,n,e.seriesModel,e.group)}function Gq(r){var t=this.context,e=t.oldChildren[r];e&&I9(e,fv(e).option,t.seriesModel)}function sT(r){return r&&(r.pathData||r.d)}function Uq(r){return r&&(ln(r,"pathData")||ln(r,"d"))}function jq(r){r.registerChartView(Dq),r.registerSeriesModel(sq)}var BC=Vi(),uT=Bn,p7=an,v7=function(){function r(){this._dragging=!1,this.animationThreshold=15}return r.prototype.render=function(t,e,n,i){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,!(!i&&this._lastValue===o&&this._lastStatus===s)){this._lastValue=o,this._lastStatus=s;var l=this._group,f=this._handle;if(!s||s==="hide"){l&&l.hide(),f&&f.hide();return}l&&l.show(),f&&f.show();var v={};this.makeElOption(v,o,t,e,n);var C=v.graphicKey;C!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=C;var w=this._moveAnimation=this.determineAnimation(t,e);if(!l)l=this._group=new Nn,this.createPointerEl(l,v,t,e),this.createLabelEl(l,v,t,e),n.getZr().add(l);else{var x=ni(cT,e,w);this.updatePointerEl(l,v,x),this.updateLabelEl(l,v,x,e)}fT(l,e,!0),this._renderHandle(o)}},r.prototype.remove=function(t){this.clear(t)},r.prototype.dispose=function(t){this.clear(t)},r.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,o=i.type==="category",s=e.get("snap");if(!s&&!o)return!1;if(n==="auto"||n==null){var l=this.animationThreshold;if(o&&i.getBandWidth()>l)return!0;if(s){var f=O8(t).seriesDataCount,v=i.getExtent();return Math.abs(v[0]-v[1])/f>l}return!1}return n===!0},r.prototype.makeElOption=function(t,e,n,i,o){},r.prototype.createPointerEl=function(t,e,n,i){var o=e.pointer;if(o){var s=BC(t).pointerEl=new Tl[o.type](uT(e.pointer));t.add(s)}},r.prototype.createLabelEl=function(t,e,n,i){if(e.label){var o=BC(t).labelEl=new Mn(uT(e.label));t.add(o),hT(o,i)}},r.prototype.updatePointerEl=function(t,e,n){var i=BC(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},r.prototype.updateLabelEl=function(t,e,n,i){var o=BC(t).labelEl;o&&(o.setStyle(e.label.style),n(o,{x:e.label.x,y:e.label.y}),hT(o,i))},r.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,o=e.getModel("handle"),s=e.get("status");if(!o.get("show")||!s||s==="hide"){i&&n.remove(i),this._handle=null;return}var l;this._handle||(l=!0,i=this._handle=RA(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(v){rf(v.event)},onmousedown:p7(this._onHandleDragMove,this,0,0),drift:p7(this._onHandleDragMove,this),ondragend:p7(this._onHandleDragEnd,this)}),n.add(i)),fT(i,e,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var f=o.get("size");yr(f)||(f=[f,f]),i.scaleX=f[0]/2,i.scaleY=f[1]/2,S(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,l)}},r.prototype._moveHandleToValue=function(t,e){cT(this._axisPointerModel,!e&&this._moveAnimation,this._handle,y7(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(y7(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(y7(i)),BC(n).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),_(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},r}();function cT(r,t,e,n){lT(BC(e).lastProp,n)||(BC(e).lastProp=n,t?ga(e,n,r):(e.stopAnimation(),e.attr(n)))}function lT(r,t){if(Ln(r)&&Ln(t)){var e=!0;return Ne(t,function(n,i){e=e&&lT(r[i],n)}),!!e}else return r===t}function hT(r,t){r[t.get(["label","show"])?"show":"hide"]()}function y7(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function fT(r,t,e){var n=t.get("z"),i=t.get("zlevel");r&&r.traverse(function(o){o.type!=="group"&&(n!=null&&(o.z=n),i!=null&&(o.zlevel=i),o.silent=e)})}function m7(r){var t=r.get("type"),e=r.getModel(t+"Style"),n;return t==="line"?(n=e.getLineStyle(),n.fill=null):t==="shadow"&&(n=e.getAreaStyle(),n.stroke=null),n}function AT(r,t,e,n,i){var o=e.get("value"),s=dT(o,t.axis,t.ecModel,e.get("seriesDataIndices"),{precision:e.get(["label","precision"]),formatter:e.get(["label","formatter"])}),l=e.getModel("label"),f=lg(l.get("padding")||0),v=l.getFont(),C=V0(s,v),w=i.position,x=C.width+f[1]+f[3],Q=C.height+f[0]+f[2],R=i.align;R==="right"&&(w[0]-=x),R==="center"&&(w[0]-=x/2);var L=i.verticalAlign;L==="bottom"&&(w[1]-=Q),L==="middle"&&(w[1]-=Q/2),Hq(w,x,Q,n);var P=l.get("backgroundColor");(!P||P==="auto")&&(P=t.get(["axisLine","lineStyle","color"])),r.label={x:w[0],y:w[1],style:La(l,{text:s,font:v,fill:l.getTextColor(),padding:f,backgroundColor:P}),z2:10}}function Hq(r,t,e,n){var i=n.getWidth(),o=n.getHeight();r[0]=Math.min(r[0]+t,i)-t,r[1]=Math.min(r[1]+e,o)-e,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0)}function dT(r,t,e,n,i){r=t.scale.parse(r);var o=t.scale.getLabel({value:r},{precision:i.precision}),s=i.formatter;if(s){var l={value:zA(t,{value:r}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};Ne(n,function(f){var v=e.getSeriesByIndex(f.seriesIndex),C=f.dataIndexInside,w=v&&v.getDataParams(C);w&&l.seriesData.push(w)}),en(s)?o=s.replace("{value}",o):bn(s)&&(o=s(l))}return o}function I7(r,t,e){var n=Lu();return nf(n,n,e.rotation),Hs(n,n,e.position),Rl([r.dataToCoord(t),(e.labelOffset||0)+(e.labelDirection||1)*(e.labelMargin||0)],n)}function gT(r,t,e,n,i,o){var s=mh.innerTextLayout(e.rotation,0,e.labelDirection);e.labelMargin=i.get(["label","margin"]),AT(t,n,i,o,{position:I7(n.axis,r,e),align:s.textAlign,verticalAlign:s.textVerticalAlign})}function b7(r,t,e){return e=e||0,{x1:r[e],y1:r[1-e],x2:t[e],y2:t[1-e]}}function pT(r,t,e){return e=e||0,{x:r[e],y:r[1-e],width:t[e],height:t[1-e]}}function vT(r,t,e,n,i,o){return{cx:r,cy:t,r0:e,r:n,startAngle:i,endAngle:o,clockwise:!0}}var Yq=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,n,i,o,s){var l=i.axis,f=l.grid,v=o.get("type"),C=yT(f,l).getOtherAxis(l).getGlobalExtent(),w=l.toGlobalCoord(l.dataToCoord(n,!0));if(v&&v!=="none"){var x=m7(o),Q=Jq[v](l,w,C);Q.style=x,e.graphicKey=Q.type,e.pointer=Q}var R=F8(f.model,i);gT(n,e,R,i,o,s)},t.prototype.getHandleTransform=function(e,n,i){var o=F8(n.axis.grid.model,n,{labelInside:!1});o.labelMargin=i.get(["handle","margin"]);var s=I7(n.axis,e,o);return{x:s[0],y:s[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,n,i,o){var s=i.axis,l=s.grid,f=s.getGlobalExtent(!0),v=yT(l,s).getOtherAxis(s).getGlobalExtent(),C=s.dim==="x"?0:1,w=[e.x,e.y];w[C]+=n[C],w[C]=Math.min(f[1],w[C]),w[C]=Math.max(f[0],w[C]);var x=(v[1]+v[0])/2,Q=[x,x];Q[C]=w[C];var R=[{verticalAlign:"middle"},{align:"center"}];return{x:w[0],y:w[1],rotation:e.rotation,cursorPoint:Q,tooltipOption:R[C]}},t}(v7);function yT(r,t){var e={};return e[t.dim+"AxisIndex"]=t.index,r.getCartesian(e)}var Jq={line:function(r,t,e){var n=b7([t,e[0]],[t,e[1]],mT(r));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(r,t,e){var n=Math.max(1,r.getBandWidth()),i=e[1]-e[0];return{type:"Rect",shape:pT([t-n/2,e[0]],[n,i],mT(r))}}};function mT(r){return r.dim==="x"?0:1}var Wq=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(Oi),dv=Vi(),qq=Ne;function IT(r,t,e){if(!Yn.node){var n=t.getZr();dv(n).records||(dv(n).records={}),zq(n,t);var i=dv(n).records[r]||(dv(n).records[r]={});i.handler=e}}function zq(r,t){if(dv(r).initialized)return;dv(r).initialized=!0,e("click",ni(bT,"click")),e("mousemove",ni(bT,"mousemove")),e("globalout",Vq);function e(n,i){r.on(n,function(o){var s=Zq(t);qq(dv(r).records,function(l){l&&i(l,o,s.dispatchAction)}),Kq(s.pendings,t)})}}function Kq(r,t){var e=r.showTip.length,n=r.hideTip.length,i;e?i=r.showTip[e-1]:n&&(i=r.hideTip[n-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function Vq(r,t,e){r.handler("leave",null,e)}function bT(r,t,e,n){t.handler(r,e,n)}function Zq(r){var t={showTip:[],hideTip:[]},e=function(n){var i=t[n.type];i?i.push(n):(n.dispatchAction=e,r.dispatchAction(n))};return{dispatchAction:e,pendings:t}}function C7(r,t){if(!Yn.node){var e=t.getZr(),n=(dv(e).records||{})[r];n&&(dv(e).records[r]=null)}}var Xq=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var o=n.getComponent("tooltip"),s=e.get("triggerOn")||o&&o.get("triggerOn")||"mousemove|click";IT("axisPointer",i,function(l,f,v){s!=="none"&&(l==="leave"||s.indexOf(l)>=0)&&v({type:"updateAxisPointer",currTrigger:l,x:f&&f.offsetX,y:f&&f.offsetY})})},t.prototype.remove=function(e,n){C7("axisPointer",n)},t.prototype.dispose=function(e,n){C7("axisPointer",n)},t.type="axisPointer",t}(a);function CT(r,t){var e=[],n=r.seriesIndex,i;if(n==null||!(i=t.getSeriesByIndex(n)))return{point:[]};var o=i.getData(),s=uc(o,r);if(s==null||s<0||yr(s))return{point:[]};var l=o.getItemGraphicEl(s),f=i.coordinateSystem;if(i.getTooltipPosition)e=i.getTooltipPosition(s)||[];else if(f&&f.dataToPoint)if(r.isStacked){var v=f.getBaseAxis(),C=f.getOtherAxis(v),w=C.dim,x=v.dim,Q=w==="x"||w==="radius"?1:0,R=o.mapDimension(x),L=[];L[Q]=o.get(R,s),L[1-Q]=o.get(o.getCalculationInfo("stackResultDimension"),s),e=f.dataToPoint(L)||[]}else e=f.dataToPoint(o.getValues(pr(f.dimensions,function(M){return o.mapDimension(M)}),s))||[];else if(l){var P=l.getBoundingRect().clone();P.applyTransform(l.transform),e=[P.x+P.width/2,P.y+P.height/2]}return{point:e,el:l}}var wT=Vi();function $q(r,t,e){var n=r.currTrigger,i=[r.x,r.y],o=r,s=r.dispatchAction||an(e.dispatchAction,e),l=t.getComponent("axisPointer").coordSysAxesInfo;if(l){w9(i)&&(i=CT({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var f=w9(i),v=o.axesInfo,C=l.axesInfo,w=n==="leave"||w9(i),x={},Q={},R={list:[],map:{}},L={showPointer:ni(tz,Q),showTooltip:ni(rz,R)};Ne(l.coordSysMap,function(M,k){var G=f||M.containPoint(i);Ne(l.coordSysAxesInfo[k],function(Y,re){var ie=Y.axis,le=oz(v,Y);if(!w&&G&&(!v||le)){var pe=le&&le.value;pe==null&&!f&&(pe=ie.pointToData(i)),pe!=null&&ET(Y,pe,L,!1,x)}})});var P={};return Ne(C,function(M,k){var G=M.linkGroup;G&&!Q[k]&&Ne(G.axesInfo,function(Y,re){var ie=Q[re];if(Y!==M&&ie){var le=ie.value;G.mapper&&(le=M.axis.scale.parse(G.mapper(le,BT(Y),BT(M)))),P[M.key]=le}})}),Ne(P,function(M,k){ET(C[k],M,L,!0,x)}),nz(Q,C,x),iz(R,i,r,s),az(C,s,e),x}}function ET(r,t,e,n,i){var o=r.axis;if(!(o.scale.isBlank()||!o.containData(t))){if(!r.involveSeries){e.showPointer(r,t);return}var s=ez(t,r),l=s.payloadBatch,f=s.snapToValue;l[0]&&i.seriesIndex==null&&ar(i,l[0]),!n&&r.snap&&o.containData(f)&&f!=null&&(t=f),e.showPointer(r,t,l),e.showTooltip(r,s,f)}}function ez(r,t){var e=t.axis,n=e.dim,i=r,o=[],s=Number.MAX_VALUE,l=-1;return Ne(t.seriesModels,function(f,v){var C=f.getData().mapDimensionsAll(n),w,x;if(f.getAxisTooltipData){var Q=f.getAxisTooltipData(C,r,e);x=Q.dataIndices,w=Q.nestestValue}else{if(x=f.getData().indicesOfNearest(C[0],r,e.type==="category"?.5:null),!x.length)return;w=f.getData().get(C[0],x[0])}if(!(w==null||!isFinite(w))){var R=r-w,L=Math.abs(R);L<=s&&((L<s||R>=0&&l<0)&&(s=L,l=R,i=w,o.length=0),Ne(x,function(P){o.push({seriesIndex:f.seriesIndex,dataIndexInside:P,dataIndex:f.getData().getRawIndex(P)})}))}}),{payloadBatch:o,snapToValue:i}}function tz(r,t,e,n){r[t.key]={value:e,payloadBatch:n}}function rz(r,t,e,n){var i=e.payloadBatch,o=t.axis,s=o.model,l=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var f=t.coordSys.model,v=T4(f),C=r.map[v];C||(C=r.map[v]={coordSysId:f.id,coordSysIndex:f.componentIndex,coordSysType:f.type,coordSysMainType:f.mainType,dataByAxis:[]},r.list.push(C)),C.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get(["label","precision"]),formatter:l.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function nz(r,t,e){var n=e.axesInfo=[];Ne(t,function(i,o){var s=i.axisPointerModel.option,l=r[o];l?(!i.useHandle&&(s.status="show"),s.value=l.value,s.seriesDataIndices=(l.payloadBatch||[]).slice()):!i.useHandle&&(s.status="hide"),s.status==="show"&&n.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:s.value})})}function iz(r,t,e,n){if(w9(t)||!r.list.length){n({type:"hideTip"});return}var i=((r.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:e.tooltipOption,position:e.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:r.list})}function az(r,t,e){var n=e.getZr(),i="axisPointerLastHighlights",o=wT(n)[i]||{},s=wT(n)[i]={};Ne(r,function(v,C){var w=v.axisPointerModel.option;w.status==="show"&&v.triggerEmphasis&&Ne(w.seriesDataIndices,function(x){var Q=x.seriesIndex+" | "+x.dataIndex;s[Q]=x})});var l=[],f=[];Ne(o,function(v,C){!s[C]&&f.push(v)}),Ne(s,function(v,C){!o[C]&&l.push(v)}),f.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:f}),l.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}function oz(r,t){for(var e=0;e<(r||[]).length;e++){var n=r[e];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function BT(r){var t=r.axis.model,e={},n=e.axisDim=r.axis.dim;return e.axisIndex=e[n+"AxisIndex"]=t.componentIndex,e.axisName=e[n+"AxisName"]=t.name,e.axisId=e[n+"AxisId"]=t.id,e}function w9(r){return!r||r[0]==null||isNaN(r[0])||r[1]==null||isNaN(r[1])}function $4(r){gC.registerAxisPointerClass("CartesianAxisPointer",Yq),r.registerComponentModel(Wq),r.registerComponentView(Xq),r.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!yr(e)&&(t.axisPointer.link=[e])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=pU(t,e)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},$q)}function sz(r){Fi(aR),Fi($4)}var uz=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,n,i,o,s){var l=i.axis;l.dim==="angle"&&(this.animationThreshold=Math.PI/18);var f=l.polar,v=f.getOtherAxis(l),C=v.getExtent(),w=l.dataToCoord(n),x=o.get("type");if(x&&x!=="none"){var Q=m7(o),R=lz[x](l,f,w,C);R.style=Q,e.graphicKey=R.type,e.pointer=R}var L=o.get(["label","margin"]),P=cz(n,i,o,f,L);AT(e,i,o,s,P)},t}(v7);function cz(r,t,e,n,i){var o=t.axis,s=o.dataToCoord(r),l=n.getAngleAxis().getExtent()[0];l=l/180*Math.PI;var f=n.getRadiusAxis().getExtent(),v,C,w;if(o.dim==="radius"){var x=Lu();nf(x,x,l),Hs(x,x,[n.cx,n.cy]),v=Rl([s,-i],x);var Q=t.getModel("axisLabel").get("rotate")||0,R=mh.innerTextLayout(l,Q*Math.PI/180,-1);C=R.textAlign,w=R.textVerticalAlign}else{var L=f[1];v=n.coordToPoint([L+i,s]);var P=n.cx,M=n.cy;C=Math.abs(v[0]-P)/L<.3?"center":v[0]>P?"left":"right",w=Math.abs(v[1]-M)/L<.3?"middle":v[1]>M?"top":"bottom"}return{position:v,align:C,verticalAlign:w}}var lz={line:function(r,t,e,n){return r.dim==="angle"?{type:"Line",shape:b7(t.coordToPoint([n[0],e]),t.coordToPoint([n[1],e]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:e}}},shadow:function(r,t,e,n){var i=Math.max(1,r.getBandWidth()),o=Math.PI/180;return r.dim==="angle"?{type:"Sector",shape:vT(t.cx,t.cy,n[0],n[1],(-e-i/2)*o,(-e+i/2)*o)}:{type:"Sector",shape:vT(t.cx,t.cy,e-i/2,e+i/2,0,Math.PI*2)}}},hz=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.findAxisModel=function(e){var n,i=this.ecModel;return i.eachComponent(e,function(o){o.getCoordSysModel()===this&&(n=o)},this),n},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(Oi),w7=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",fs).models[0]},t.type="polarAxis",t}(Oi);Ea(w7,Z1);var fz=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="angleAxis",t}(w7),Az=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="radiusAxis",t}(w7),E7=function(r){kt(t,r);function t(e,n){return r.call(this,"radius",e,n)||this}return t.prototype.pointToData=function(e,n){return this.polar.pointToData(e,n)[this.dim==="radius"?0:1]},t}(_u);E7.prototype.dataToRadius=_u.prototype.dataToCoord,E7.prototype.radiusToData=_u.prototype.coordToData;var dz=Vi(),B7=function(r){kt(t,r);function t(e,n){return r.call(this,"angle",e,n||[0,360])||this}return t.prototype.pointToData=function(e,n){return this.polar.pointToData(e,n)[this.dim==="radius"?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,n=e.getLabelModel(),i=e.scale,o=i.getExtent(),s=i.count();if(o[1]-o[0]<1)return 0;var l=o[0],f=e.dataToCoord(l+1)-e.dataToCoord(l),v=Math.abs(f),C=V0(l==null?"":l+"",n.getFont(),"center","top"),w=Math.max(C.height,7),x=w/v;isNaN(x)&&(x=1/0);var Q=Math.max(0,Math.floor(x)),R=dz(e.model),L=R.lastAutoInterval,P=R.lastTickCount;return L!=null&&P!=null&&Math.abs(L-Q)<=1&&Math.abs(P-s)<=1&&L>Q?Q=L:(R.lastTickCount=s,R.lastAutoInterval=Q),Q},t}(_u);B7.prototype.dataToAngle=_u.prototype.dataToCoord,B7.prototype.angleToData=_u.prototype.coordToData;var kT=["radius","angle"],gz=function(){function r(t){this.dimensions=kT,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new E7,this._angleAxis=new B7,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return r.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},r.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},r.prototype.getAxis=function(t){var e="_"+t+"Axis";return this[e]},r.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},r.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},r.prototype.getAngleAxis=function(){return this._angleAxis},r.prototype.getRadiusAxis=function(){return this._radiusAxis},r.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},r.prototype.getTooltipAxes=function(t){var e=t!=null&&t!=="auto"?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},r.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},r.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},r.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),o=i.getExtent(),s=Math.min(o[0],o[1]),l=Math.max(o[0],o[1]);i.inverse?s=l-360:l=s+360;var f=Math.sqrt(e*e+n*n);e/=f,n/=f;for(var v=Math.atan2(-n,e)/Math.PI*180,C=v<s?1:-1;v<s||v>l;)v+=C*360;return[f,v]},r.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI,i=Math.cos(n)*e+this.cx,o=-Math.sin(n)*e+this.cy;return[i,o]},r.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var i=t.getExtent(),o=Math.PI/180,s=1e-4;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*o,endAngle:-i[1]*o,clockwise:t.inverse,contain:function(l,f){var v=l-this.cx,C=f-this.cy,w=v*v+C*C,x=this.r,Q=this.r0;return x!==Q&&w-s<=x*x&&w+s>=Q*Q}}},r.prototype.convertToPixel=function(t,e,n){var i=QT(e);return i===this?this.dataToPoint(n):null},r.prototype.convertFromPixel=function(t,e,n){var i=QT(e);return i===this?this.pointToData(n):null},r}();function QT(r){var t=r.seriesModel,e=r.polarModel;return e&&e.coordinateSystem||t&&t.coordinateSystem}function pz(r,t,e){var n=t.get("center"),i=e.getWidth(),o=e.getHeight();r.cx=jr(n[0],i),r.cy=jr(n[1],o);var s=r.getRadiusAxis(),l=Math.min(i,o)/2,f=t.get("radius");f==null?f=[0,"100%"]:yr(f)||(f=[0,f]);var v=[jr(f[0],l),jr(f[1],l)];s.inverse?s.setExtent(v[1],v[0]):s.setExtent(v[0],v[1])}function vz(r,t){var e=this,n=e.getAngleAxis(),i=e.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),r.eachSeries(function(l){if(l.coordinateSystem===e){var f=l.getData();Ne(Dm(f,"radius"),function(v){i.scale.unionExtentFromData(f,v)}),Ne(Dm(f,"angle"),function(v){n.scale.unionExtentFromData(f,v)})}}),l0(n.scale,n.model),l0(i.scale,i.model),n.type==="category"&&!n.onBand){var o=n.getExtent(),s=360/n.scale.count();n.inverse?o[1]+=s:o[1]-=s,n.setExtent(o[0],o[1])}}function yz(r){return r.mainType==="angleAxis"}function xT(r,t){var e;if(r.type=t.get("type"),r.scale=$b(t),r.onBand=t.get("boundaryGap")&&r.type==="category",r.inverse=t.get("inverse"),yz(t)){r.inverse=r.inverse!==t.get("clockwise");var n=t.get("startAngle"),i=(e=t.get("endAngle"))!==null&&e!==void 0?e:n+(r.inverse?-360:360);r.setExtent(n,i)}t.axis=r,r.model=t}var mz={dimensions:kT,create:function(r,t){var e=[];return r.eachComponent("polar",function(n,i){var o=new gz(i+"");o.update=vz;var s=o.getRadiusAxis(),l=o.getAngleAxis(),f=n.findAxisModel("radiusAxis"),v=n.findAxisModel("angleAxis");xT(s,f),xT(l,v),pz(o,n,t),e.push(o),n.coordinateSystem=o,o.model=n}),r.eachSeries(function(n){if(n.get("coordinateSystem")==="polar"){var i=n.getReferringComponents("polar",fs).models[0];n.coordinateSystem=i.coordinateSystem}}),e}},Iz=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function E9(r,t,e){t[1]>t[0]&&(t=t.slice().reverse());var n=r.coordToPoint([t[0],e]),i=r.coordToPoint([t[1],e]);return{x1:n[0],y1:n[1],x2:i[0],y2:i[1]}}function B9(r){var t=r.getRadiusAxis();return t.inverse?0:1}function ST(r){var t=r[0],e=r[r.length-1];t&&e&&Math.abs(Math.abs(t.coord-e.coord)-360)<1e-4&&r.pop()}var bz=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="PolarAxisPointer",e}return t.prototype.render=function(e,n){if(this.group.removeAll(),!!e.get("show")){var i=e.axis,o=i.polar,s=o.getRadiusAxis().getExtent(),l=i.getTicksCoords(),f=i.getMinorTicksCoords(),v=pr(i.getViewLabels(),function(C){C=Bn(C);var w=i.scale,x=w.type==="ordinal"?w.getRawOrdinalNumber(C.tickValue):C.tickValue;return C.coord=i.dataToCoord(x),C});ST(v),ST(l),Ne(Iz,function(C){e.get([C,"show"])&&(!i.scale.isBlank()||C==="axisLine")&&Cz[C](this.group,e,o,l,f,s,v)},this)}},t.type="angleAxis",t}(gC),Cz={axisLine:function(r,t,e,n,i,o){var s=t.getModel(["axisLine","lineStyle"]),l=e.getAngleAxis(),f=Math.PI/180,v=l.getExtent(),C=B9(e),w=C?0:1,x,Q=Math.abs(v[1]-v[0])===360?"Circle":"Arc";o[w]===0?x=new Tl[Q]({shape:{cx:e.cx,cy:e.cy,r:o[C],startAngle:-v[0]*f,endAngle:-v[1]*f,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):x=new nh({shape:{cx:e.cx,cy:e.cy,r:o[C],r0:o[w]},style:s.getLineStyle(),z2:1,silent:!0}),x.style.fill=null,r.add(x)},axisTick:function(r,t,e,n,i,o){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),f=o[B9(e)],v=pr(n,function(C){return new Vs({shape:E9(e,[f,f+l],C.coord)})});r.add(tl(v,{style:pn(s.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(r,t,e,n,i,o){if(i.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),f=(s.get("inside")?-1:1)*l.get("length"),v=o[B9(e)],C=[],w=0;w<i.length;w++)for(var x=0;x<i[w].length;x++)C.push(new Vs({shape:E9(e,[v,v+f],i[w][x].coord)}));r.add(tl(C,{style:pn(l.getModel("lineStyle").getLineStyle(),pn(s.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(r,t,e,n,i,o,s){var l=t.getCategories(!0),f=t.getModel("axisLabel"),v=f.get("margin"),C=t.get("triggerEvent");Ne(s,function(w,x){var Q=f,R=w.tickValue,L=o[B9(e)],P=e.coordToPoint([L+v,w.coord]),M=e.cx,k=e.cy,G=Math.abs(P[0]-M)/L<.3?"center":P[0]>M?"left":"right",Y=Math.abs(P[1]-k)/L<.3?"middle":P[1]>k?"top":"bottom";if(l&&l[R]){var re=l[R];Ln(re)&&re.textStyle&&(Q=new Ia(re.textStyle,f,f.ecModel))}var ie=new Mn({silent:mh.isLabelSilent(t),style:La(Q,{x:P[0],y:P[1],fill:Q.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:w.formattedLabel,align:G,verticalAlign:Y})});if(r.add(ie),C){var le=mh.makeAxisEventDataBase(t);le.targetType="axisLabel",le.value=w.rawLabel,Un(ie).eventData=le}},this)},splitLine:function(r,t,e,n,i,o){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),f=l.get("color"),v=0;f=f instanceof Array?f:[f];for(var C=[],w=0;w<n.length;w++){var x=v++%f.length;C[x]=C[x]||[],C[x].push(new Vs({shape:E9(e,o,n[w].coord)}))}for(var w=0;w<C.length;w++)r.add(tl(C[w],{style:pn({stroke:f[w%f.length]},l.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(r,t,e,n,i,o){if(i.length){for(var s=t.getModel("minorSplitLine"),l=s.getModel("lineStyle"),f=[],v=0;v<i.length;v++)for(var C=0;C<i[v].length;C++)f.push(new Vs({shape:E9(e,o,i[v][C].coord)}));r.add(tl(f,{style:l.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(r,t,e,n,i,o){if(n.length){var s=t.getModel("splitArea"),l=s.getModel("areaStyle"),f=l.get("color"),v=0;f=f instanceof Array?f:[f];for(var C=[],w=Math.PI/180,x=-n[0].coord*w,Q=Math.min(o[0],o[1]),R=Math.max(o[0],o[1]),L=t.get("clockwise"),P=1,M=n.length;P<=M;P++){var k=P===M?n[0].coord:n[P].coord,G=v++%f.length;C[G]=C[G]||[],C[G].push(new Hu({shape:{cx:e.cx,cy:e.cy,r0:Q,r:R,startAngle:x,endAngle:-k*w,clockwise:L},silent:!0})),x=-k*w}for(var P=0;P<C.length;P++)r.add(tl(C[P],{style:pn({fill:f[P%f.length]},l.getAreaStyle()),silent:!0}))}}},wz=["axisLine","axisTickLabel","axisName"],Ez=["splitLine","splitArea","minorSplitLine"],Bz=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="PolarAxisPointer",e}return t.prototype.render=function(e,n){if(this.group.removeAll(),!!e.get("show")){var i=this._axisGroup,o=this._axisGroup=new Nn;this.group.add(o);var s=e.axis,l=s.polar,f=l.getAngleAxis(),v=s.getTicksCoords(),C=s.getMinorTicksCoords(),w=f.getExtent()[0],x=s.getExtent(),Q=Qz(l,e,w),R=new mh(e,Q);Ne(wz,R.add,R),o.add(R.getGroup()),w1(i,o,e),Ne(Ez,function(L){e.get([L,"show"])&&!s.scale.isBlank()&&kz[L](this.group,e,l,w,x,v,C)},this)}},t.type="radiusAxis",t}(gC),kz={splitLine:function(r,t,e,n,i,o){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),f=l.get("color"),v=0,C=e.getAngleAxis(),w=Math.PI/180,x=C.getExtent(),Q=Math.abs(x[1]-x[0])===360?"Circle":"Arc";f=f instanceof Array?f:[f];for(var R=[],L=0;L<o.length;L++){var P=v++%f.length;R[P]=R[P]||[],R[P].push(new Tl[Q]({shape:{cx:e.cx,cy:e.cy,r:Math.max(o[L].coord,0),startAngle:-x[0]*w,endAngle:-x[1]*w,clockwise:C.inverse}}))}for(var L=0;L<R.length;L++)r.add(tl(R[L],{style:pn({stroke:f[L%f.length],fill:null},l.getLineStyle()),silent:!0}))},minorSplitLine:function(r,t,e,n,i,o,s){if(s.length){for(var l=t.getModel("minorSplitLine"),f=l.getModel("lineStyle"),v=[],C=0;C<s.length;C++)for(var w=0;w<s[C].length;w++)v.push(new Gu({shape:{cx:e.cx,cy:e.cy,r:s[C][w].coord}}));r.add(tl(v,{style:pn({fill:null},f.getLineStyle()),silent:!0}))}},splitArea:function(r,t,e,n,i,o){if(o.length){var s=t.getModel("splitArea"),l=s.getModel("areaStyle"),f=l.get("color"),v=0;f=f instanceof Array?f:[f];for(var C=[],w=o[0].coord,x=1;x<o.length;x++){var Q=v++%f.length;C[Q]=C[Q]||[],C[Q].push(new Hu({shape:{cx:e.cx,cy:e.cy,r0:w,r:o[x].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),w=o[x].coord}for(var x=0;x<C.length;x++)r.add(tl(C[x],{style:pn({fill:f[x%f.length]},l.getAreaStyle()),silent:!0}))}}};function Qz(r,t,e){return{position:[r.cx,r.cy],rotation:e/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}function _T(r){return r.get("stack")||"__ec_stack_"+r.seriesIndex}function DT(r,t){return t.dim+r.model.componentIndex}function xz(r,t,e){var n={},i=Sz(Ii(t.getSeriesByType(r),function(o){return!t.isSeriesFiltered(o)&&o.coordinateSystem&&o.coordinateSystem.type==="polar"}));t.eachSeriesByType(r,function(o){if(o.coordinateSystem.type==="polar"){var s=o.getData(),l=o.coordinateSystem,f=l.getBaseAxis(),v=DT(l,f),C=_T(o),w=i[v][C],x=w.offset,Q=w.width,R=l.getOtherAxis(f),L=o.coordinateSystem.cx,P=o.coordinateSystem.cy,M=o.get("barMinHeight")||0,k=o.get("barMinAngle")||0;n[C]=n[C]||[];for(var G=s.mapDimension(R.dim),Y=s.mapDimension(f.dim),re=Tc(s,G),ie=f.dim!=="radius"||!o.get("roundCap",!0),le=R.model,pe=le.get("startValue"),ve=R.dataToCoord(pe||0),Ee=0,Se=s.count();Ee<Se;Ee++){var ke=s.get(G,Ee),Le=s.get(Y,Ee),be=ke>=0?"p":"n",ze=ve;re&&(n[C][Le]||(n[C][Le]={p:ve,n:ve}),ze=n[C][Le][be]);var ut=void 0,ft=void 0,Qt=void 0,vt=void 0;if(R.dim==="radius"){var Gt=R.dataToCoord(ke)-ve,Ct=f.dataToCoord(Le);Math.abs(Gt)<M&&(Gt=(Gt<0?-1:1)*M),ut=ze,ft=ze+Gt,Qt=Ct-x,vt=Qt-Q,re&&(n[C][Le][be]=ft)}else{var St=R.dataToCoord(ke,ie)-ve,dr=f.dataToCoord(Le);Math.abs(St)<k&&(St=(St<0?-1:1)*k),ut=dr+x,ft=ut+Q,Qt=ze,vt=ze+St,re&&(n[C][Le][be]=vt)}s.setItemLayout(Ee,{cx:L,cy:P,r0:ut,r:ft,startAngle:-Qt*Math.PI/180,endAngle:-vt*Math.PI/180,clockwise:Qt>=vt})}}})}function Sz(r){var t={};Ne(r,function(n,i){var o=n.getData(),s=n.coordinateSystem,l=s.getBaseAxis(),f=DT(s,l),v=l.getExtent(),C=l.type==="category"?l.getBandWidth():Math.abs(v[1]-v[0])/o.count(),w=t[f]||{bandWidth:C,remainedWidth:C,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},x=w.stacks;t[f]=w;var Q=_T(n);x[Q]||w.autoWidthCount++,x[Q]=x[Q]||{width:0,maxWidth:0};var R=jr(n.get("barWidth"),C),L=jr(n.get("barMaxWidth"),C),P=n.get("barGap"),M=n.get("barCategoryGap");R&&!x[Q].width&&(R=Math.min(w.remainedWidth,R),x[Q].width=R,w.remainedWidth-=R),L&&(x[Q].maxWidth=L),P!=null&&(w.gap=P),M!=null&&(w.categoryGap=M)});var e={};return Ne(t,function(n,i){e[i]={};var o=n.stacks,s=n.bandWidth,l=jr(n.categoryGap,s),f=jr(n.gap,1),v=n.remainedWidth,C=n.autoWidthCount,w=(v-l)/(C+(C-1)*f);w=Math.max(w,0),Ne(o,function(L,P){var M=L.maxWidth;M&&M<w&&(M=Math.min(M,v),L.width&&(M=Math.min(M,L.width)),v-=M,L.width=M,C--)}),w=(v-l)/(C+(C-1)*f),w=Math.max(w,0);var x=0,Q;Ne(o,function(L,P){L.width||(L.width=w),Q=L,x+=L.width*(1+f)}),Q&&(x-=Q.width*f);var R=-x/2;Ne(o,function(L,P){e[i][P]=e[i][P]||{offset:R,width:L.width},R+=L.width*(1+f)})}),e}var _z={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},Dz={splitNumber:5},Rz=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="polar",t}(a);function Mz(r){Fi($4),gC.registerAxisPointerClass("PolarAxisPointer",uz),r.registerCoordinateSystem("polar",mz),r.registerComponentModel(hz),r.registerComponentView(Rz),f3(r,"angle",fz,_z),f3(r,"radius",Az,Dz),r.registerComponentView(bz),r.registerComponentView(Bz),r.registerLayout(ni(xz,"bar"))}function k7(r,t){t=t||{};var e=r.coordinateSystem,n=r.axis,i={},o=n.position,s=n.orient,l=e.getRect(),f=[l.x,l.x+l.width,l.y,l.y+l.height],v={horizontal:{top:f[2],bottom:f[3]},vertical:{left:f[0],right:f[1]}};i.position=[s==="vertical"?v.vertical[o]:f[0],s==="horizontal"?v.horizontal[o]:f[3]];var C={horizontal:0,vertical:1};i.rotation=Math.PI/2*C[s];var w={top:-1,bottom:1,right:1,left:-1};i.labelDirection=i.tickDirection=i.nameDirection=w[o],r.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),Bs(t.labelInside,r.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var x=t.rotate;return x==null&&(x=r.get(["axisLabel","rotate"])),i.labelRotation=o==="top"?-x:x,i.z2=1,i}var Fz=["axisLine","axisTickLabel","axisName"],Tz=["splitArea","splitLine"],Lz=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="SingleAxisPointer",e}return t.prototype.render=function(e,n,i,o){var s=this.group;s.removeAll();var l=this._axisGroup;this._axisGroup=new Nn;var f=k7(e),v=new mh(e,f);Ne(Fz,v.add,v),s.add(this._axisGroup),s.add(v.getGroup()),Ne(Tz,function(C){e.get([C,"show"])&&Nz[C](this,this.group,this._axisGroup,e)},this),w1(l,this._axisGroup,e),r.prototype.render.call(this,e,n,i,o)},t.prototype.remove=function(){tR(this)},t.type="singleAxis",t}(gC),Nz={splitLine:function(r,t,e,n){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color");l=l instanceof Array?l:[l];for(var f=s.get("width"),v=n.coordinateSystem.getRect(),C=i.isHorizontal(),w=[],x=0,Q=i.getTicksCoords({tickModel:o}),R=[],L=[],P=0;P<Q.length;++P){var M=i.toGlobalCoord(Q[P].coord);C?(R[0]=M,R[1]=v.y,L[0]=M,L[1]=v.y+v.height):(R[0]=v.x,R[1]=M,L[0]=v.x+v.width,L[1]=M);var k=new Vs({shape:{x1:R[0],y1:R[1],x2:L[0],y2:L[1]},silent:!0});Qp(k.shape,f);var G=x++%l.length;w[G]=w[G]||[],w[G].push(k)}for(var Y=s.getLineStyle(["color"]),P=0;P<w.length;++P)t.add(tl(w[P],{style:pn({stroke:l[P%l.length]},Y),silent:!0}))}},splitArea:function(r,t,e,n){eR(r,e,n,n)}},k9=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},t}(Oi);Ea(k9,Z1.prototype);var Oz=function(r){kt(t,r);function t(e,n,i,o,s){var l=r.call(this,e,n,i)||this;return l.type=o||"value",l.position=s||"bottom",l}return t.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},t.prototype.pointToData=function(e,n){return this.coordinateSystem.pointToData(e)[0]},t}(_u),RT=["single"],Pz=function(){function r(t,e,n){this.type="single",this.dimension="single",this.dimensions=RT,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return r.prototype._init=function(t,e,n){var i=this.dimension,o=new Oz(i,$b(t),[0,0],t.get("type"),t.get("position")),s=o.type==="category";o.onBand=s&&t.get("boundaryGap"),o.inverse=t.get("inverse"),o.orient=t.get("orient"),t.axis=o,o.model=t,o.coordinateSystem=this,this._axis=o},r.prototype.update=function(t,e){t.eachSeries(function(n){if(n.coordinateSystem===this){var i=n.getData();Ne(i.mapDimensionsAll(this.dimension),function(o){this._axis.scale.unionExtentFromData(i,o)},this),l0(this._axis.scale,this._axis.model)}},this)},r.prototype.resize=function(t,e){this._rect=Mo({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},r.prototype.getRect=function(){return this._rect},r.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],o=e.inverse?1:0;e.setExtent(i[o],i[1-o]),this._updateAxisTransform(e,n?t.x:t.y)},r.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),i=n[0]+n[1],o=t.isHorizontal();t.toGlobalCoord=o?function(s){return s+e}:function(s){return i-s+e},t.toLocalCoord=o?function(s){return s-e}:function(s){return i-s+e}},r.prototype.getAxis=function(){return this._axis},r.prototype.getBaseAxis=function(){return this._axis},r.prototype.getAxes=function(){return[this._axis]},r.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},r.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis(),i=n.orient;return i==="horizontal"?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},r.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t[e.orient==="horizontal"?0:1]))]},r.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],o=e.orient==="horizontal"?0:1;return t instanceof Array&&(t=t[0]),i[o]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-o]=o===0?n.y+n.height/2:n.x+n.width/2,i},r.prototype.convertToPixel=function(t,e,n){var i=MT(e);return i===this?this.dataToPoint(n):null},r.prototype.convertFromPixel=function(t,e,n){var i=MT(e);return i===this?this.pointToData(n):null},r}();function MT(r){var t=r.seriesModel,e=r.singleAxisModel;return e&&e.coordinateSystem||t&&t.coordinateSystem}function Gz(r,t){var e=[];return r.eachComponent("singleAxis",function(n,i){var o=new Pz(n,r,t);o.name="single_"+i,o.resize(n,t),n.coordinateSystem=o,e.push(o)}),r.eachSeries(function(n){if(n.get("coordinateSystem")==="singleAxis"){var i=n.getReferringComponents("singleAxis",fs).models[0];n.coordinateSystem=i&&i.coordinateSystem}}),e}var Uz={create:Gz,dimensions:RT},FT=["x","y"],jz=["width","height"],Hz=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,n,i,o,s){var l=i.axis,f=l.coordinateSystem,v=Q7(f,1-Q9(l)),C=f.dataToPoint(n)[0],w=o.get("type");if(w&&w!=="none"){var x=m7(o),Q=Yz[w](l,C,v);Q.style=x,e.graphicKey=Q.type,e.pointer=Q}var R=k7(i);gT(n,e,R,i,o,s)},t.prototype.getHandleTransform=function(e,n,i){var o=k7(n,{labelInside:!1});o.labelMargin=i.get(["handle","margin"]);var s=I7(n.axis,e,o);return{x:s[0],y:s[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,n,i,o){var s=i.axis,l=s.coordinateSystem,f=Q9(s),v=Q7(l,f),C=[e.x,e.y];C[f]+=n[f],C[f]=Math.min(v[1],C[f]),C[f]=Math.max(v[0],C[f]);var w=Q7(l,1-f),x=(w[1]+w[0])/2,Q=[x,x];return Q[f]=C[f],{x:C[0],y:C[1],rotation:e.rotation,cursorPoint:Q,tooltipOption:{verticalAlign:"middle"}}},t}(v7),Yz={line:function(r,t,e){var n=b7([t,e[0]],[t,e[1]],Q9(r));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(r,t,e){var n=r.getBandWidth(),i=e[1]-e[0];return{type:"Rect",shape:pT([t-n/2,e[0]],[n,i],Q9(r))}}};function Q9(r){return r.isHorizontal()?0:1}function Q7(r,t){var e=r.getRect();return[e[FT[t]],e[FT[t]]+e[jz[t]]]}var Jz=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="single",t}(a);function Wz(r){Fi($4),gC.registerAxisPointerClass("SingleAxisPointer",Hz),r.registerComponentView(Jz),r.registerComponentView(Lz),r.registerComponentModel(k9),f3(r,"single",k9,k9.defaultOption),r.registerCoordinateSystem("single",Uz)}var qz=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n,i){var o=rl(e);r.prototype.init.apply(this,arguments),TT(e,o)},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),TT(this.option,e)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}(Oi);function TT(r,t){var e=r.cellSize,n;yr(e)?n=e:n=r.cellSize=[e,e],n.length===1&&(n[1]=n[0]);var i=pr([0,1],function(o){return am(t,o)&&(n[o]="auto"),n[o]!=null&&n[o]!=="auto"});Ds(r,t,{type:"box",ignoreSize:i})}var zz=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var o=this.group;o.removeAll();var s=e.coordinateSystem,l=s.getRangeInfo(),f=s.getOrient(),v=n.getLocaleModel();this._renderDayRect(e,l,o),this._renderLines(e,l,f,o),this._renderYearText(e,l,f,o),this._renderMonthText(e,v,f,o),this._renderWeekText(e,v,l,f,o)},t.prototype._renderDayRect=function(e,n,i){for(var o=e.coordinateSystem,s=e.getModel("itemStyle").getItemStyle(),l=o.getCellWidth(),f=o.getCellHeight(),v=n.start.time;v<=n.end.time;v=o.getNextNDay(v,1).time){var C=o.dataToRect([v],!1).tl,w=new ta({shape:{x:C[0],y:C[1],width:l,height:f},cursor:"default",style:s});i.add(w)}},t.prototype._renderLines=function(e,n,i,o){var s=this,l=e.coordinateSystem,f=e.getModel(["splitLine","lineStyle"]).getLineStyle(),v=e.get(["splitLine","show"]),C=f.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var w=n.start,x=0;w.time<=n.end.time;x++){R(w.formatedDate),x===0&&(w=l.getDateInfo(n.start.y+"-"+n.start.m));var Q=w.date;Q.setMonth(Q.getMonth()+1),w=l.getDateInfo(Q)}R(l.getNextNDay(n.end.time,1).formatedDate);function R(L){s._firstDayOfMonth.push(l.getDateInfo(L)),s._firstDayPoints.push(l.dataToRect([L],!1).tl);var P=s._getLinePointsOfOneWeek(e,L,i);s._tlpoints.push(P[0]),s._blpoints.push(P[P.length-1]),v&&s._drawSplitline(P,f,o)}v&&this._drawSplitline(s._getEdgesPoints(s._tlpoints,C,i),f,o),v&&this._drawSplitline(s._getEdgesPoints(s._blpoints,C,i),f,o)},t.prototype._getEdgesPoints=function(e,n,i){var o=[e[0].slice(),e[e.length-1].slice()],s=i==="horizontal"?0:1;return o[0][s]=o[0][s]-n/2,o[1][s]=o[1][s]+n/2,o},t.prototype._drawSplitline=function(e,n,i){var o=new pc({z2:20,shape:{points:e},style:n});i.add(o)},t.prototype._getLinePointsOfOneWeek=function(e,n,i){for(var o=e.coordinateSystem,s=o.getDateInfo(n),l=[],f=0;f<7;f++){var v=o.getNextNDay(s.time,f),C=o.dataToRect([v.time],!1);l[2*v.day]=C.tl,l[2*v.day+1]=C[i==="horizontal"?"bl":"tr"]}return l},t.prototype._formatterLabel=function(e,n){return en(e)&&e?Z5(e,n):bn(e)?e(n):n.nameMap},t.prototype._yearTextPositionControl=function(e,n,i,o,s){var l=n[0],f=n[1],v=["center","bottom"];o==="bottom"?(f+=s,v=["center","top"]):o==="left"?l-=s:o==="right"?(l+=s,v=["center","top"]):f-=s;var C=0;return(o==="left"||o==="right")&&(C=Math.PI/2),{rotation:C,x:l,y:f,style:{align:v[0],verticalAlign:v[1]}}},t.prototype._renderYearText=function(e,n,i,o){var s=e.getModel("yearLabel");if(s.get("show")){var l=s.get("margin"),f=s.get("position");f||(f=i!=="horizontal"?"top":"left");var v=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],C=(v[0][0]+v[1][0])/2,w=(v[0][1]+v[1][1])/2,x=i==="horizontal"?0:1,Q={top:[C,v[x][1]],bottom:[C,v[1-x][1]],left:[v[1-x][0],w],right:[v[x][0],w]},R=n.start.y;+n.end.y>+n.start.y&&(R=R+"-"+n.end.y);var L=s.get("formatter"),P={start:n.start.y,end:n.end.y,nameMap:R},M=this._formatterLabel(L,P),k=new Mn({z2:30,style:La(s,{text:M}),silent:s.get("silent")});k.attr(this._yearTextPositionControl(k,Q[f],i,f,l)),o.add(k)}},t.prototype._monthTextPositionControl=function(e,n,i,o,s){var l="left",f="top",v=e[0],C=e[1];return i==="horizontal"?(C=C+s,n&&(l="center"),o==="start"&&(f="bottom")):(v=v+s,n&&(f="middle"),o==="start"&&(l="right")),{x:v,y:C,align:l,verticalAlign:f}},t.prototype._renderMonthText=function(e,n,i,o){var s=e.getModel("monthLabel");if(s.get("show")){var l=s.get("nameMap"),f=s.get("margin"),v=s.get("position"),C=s.get("align"),w=[this._tlpoints,this._blpoints];(!l||en(l))&&(l&&(n=zI(l)||n),l=n.get(["time","monthAbbr"])||[]);var x=v==="start"?0:1,Q=i==="horizontal"?0:1;f=v==="start"?-f:f;for(var R=C==="center",L=s.get("silent"),P=0;P<w[x].length-1;P++){var M=w[x][P].slice(),k=this._firstDayOfMonth[P];if(R){var G=this._firstDayPoints[P];M[Q]=(G[Q]+w[0][P+1][Q])/2}var Y=s.get("formatter"),re=l[+k.m-1],ie={yyyy:k.y,yy:(k.y+"").slice(2),MM:k.m,M:+k.m,nameMap:re},le=this._formatterLabel(Y,ie),pe=new Mn({z2:30,style:ar(La(s,{text:le}),this._monthTextPositionControl(M,R,i,v,f)),silent:L});o.add(pe)}}},t.prototype._weekTextPositionControl=function(e,n,i,o,s){var l="center",f="middle",v=e[0],C=e[1],w=i==="start";return n==="horizontal"?(v=v+o+(w?1:-1)*s[0]/2,l=w?"right":"left"):(C=C+o+(w?1:-1)*s[1]/2,f=w?"bottom":"top"),{x:v,y:C,align:l,verticalAlign:f}},t.prototype._renderWeekText=function(e,n,i,o,s){var l=e.getModel("dayLabel");if(l.get("show")){var f=e.coordinateSystem,v=l.get("position"),C=l.get("nameMap"),w=l.get("margin"),x=f.getFirstDayOfWeek();if(!C||en(C)){C&&(n=zI(C)||n);var Q=n.get(["time","dayOfWeekShort"]);C=Q||pr(n.get(["time","dayOfWeekAbbr"]),function(ie){return ie[0]})}var R=f.getNextNDay(i.end.time,7-i.lweek).time,L=[f.getCellWidth(),f.getCellHeight()];w=jr(w,Math.min(L[1],L[0])),v==="start"&&(R=f.getNextNDay(i.start.time,-(7+i.fweek)).time,w=-w);for(var P=l.get("silent"),M=0;M<7;M++){var k=f.getNextNDay(R,M),G=f.dataToRect([k.time],!1).center,Y=M;Y=Math.abs((M+x)%7);var re=new Mn({z2:30,style:ar(La(l,{text:C[Y]}),this._weekTextPositionControl(G,o,v,w,L)),silent:P});s.add(re)}}},t.type="calendar",t}(a),x7=864e5,Kz=function(){function r(t,e,n){this.type="calendar",this.dimensions=r.dimensions,this.getDimensionsInfo=r.getDimensionsInfo,this._model=t}return r.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},r.prototype.getRangeInfo=function(){return this._rangeInfo},r.prototype.getModel=function(){return this._model},r.prototype.getRect=function(){return this._rect},r.prototype.getCellWidth=function(){return this._sw},r.prototype.getCellHeight=function(){return this._sh},r.prototype.getOrient=function(){return this._orient},r.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},r.prototype.getDateInfo=function(t){t=Bc(t);var e=t.getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,o=t.getDate(),s=o<10?"0"+o:""+o,l=t.getDay();return l=Math.abs((l+7-this.getFirstDayOfWeek())%7),{y:e+"",m:i,d:s,day:l,time:t.getTime(),formatedDate:e+"-"+i+"-"+s,date:t}},r.prototype.getNextNDay=function(t,e){return e=e||0,e===0?this.getDateInfo(t):(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e),this.getDateInfo(t))},r.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],o=this._model.getCellSize().slice(),s=this._model.getBoxLayoutParams(),l=this._orient==="horizontal"?[n,7]:[7,n];Ne([0,1],function(w){C(o,w)&&(s[i[w]]=o[w]*l[w])});var f={width:e.getWidth(),height:e.getHeight()},v=this._rect=Mo(s,f);Ne([0,1],function(w){C(o,w)||(o[w]=v[i[w]]/l[w])});function C(w,x){return w[x]!=null&&w[x]!=="auto"}this._sw=o[0],this._sh=o[1]},r.prototype.dataToPoint=function(t,e){yr(t)&&(t=t[0]),e==null&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,o=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+x7))return[NaN,NaN];var s=n.day,l=this._getRangeInfo([i.start.time,o]).nthWeek;return this._orient==="vertical"?[this._rect.x+s*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]:[this._rect.x+l*this._sw+this._sw/2,this._rect.y+s*this._sh+this._sh/2]},r.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},r.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},r.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},r.prototype.convertToPixel=function(t,e,n){var i=LT(e);return i===this?i.dataToPoint(n):null},r.prototype.convertFromPixel=function(t,e,n){var i=LT(e);return i===this?i.pointToData(n):null},r.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},r.prototype._initRangeOption=function(){var t=this._model.get("range"),e;if(yr(t)&&t.length===1&&(t=t[0]),yr(t))e=t;else{var n=t.toString();if(/^\d{4}$/.test(n)&&(e=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),o=i.date;o.setMonth(o.getMonth()+1);var s=this.getNextNDay(o,-1);e=[i.formatedDate,s.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(e=[n,n])}if(!e)return t;var l=this._getRangeInfo(e);return l.start.time>l.end.time&&e.reverse(),e},r.prototype._getRangeInfo=function(t){var e=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],n;e[0].time>e[1].time&&(n=!0,e.reverse());var i=Math.floor(e[1].time/x7)-Math.floor(e[0].time/x7)+1,o=new Date(e[0].time),s=o.getDate(),l=e[1].date.getDate();o.setDate(s+i-1);var f=o.getDate();if(f!==l)for(var v=o.getTime()-e[1].time>0?1:-1;(f=o.getDate())!==l&&(o.getTime()-e[1].time)*v>0;)i-=v,o.setDate(f-v);var C=Math.floor((i+e[0].day+6)/7),w=n?-C+1:C-1;return n&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:i,weeks:C,nthWeek:w,fweek:e[0].day,lweek:e[1].day}},r.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||t===0&&e<i.fweek||t===i.weeks&&e>i.lweek)return null;var o=(t-1)*7-i.fweek+e,s=new Date(i.start.time);return s.setDate(+i.start.d+o),this.getDateInfo(s)},r.create=function(t,e){var n=[];return t.eachComponent("calendar",function(i){var o=new r(i);n.push(o),i.coordinateSystem=o}),t.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=n[i.get("calendarIndex")||0])}),n},r.dimensions=["time","value"],r}();function LT(r){var t=r.calendarModel,e=r.seriesModel,n=t?t.coordinateSystem:e?e.coordinateSystem:null;return n}function Vz(r){r.registerComponentModel(qz),r.registerComponentView(zz),r.registerCoordinateSystem("calendar",Kz)}function Zz(r,t){var e=r.existing;if(t.id=r.keyInfo.id,!t.type&&e&&(t.type=e.type),t.parentId==null){var n=t.parentOption;n?t.parentId=n.id:e&&(t.parentId=e.parentId)}t.parentOption=null}function NT(r,t){var e;return Ne(t,function(n){r[n]!=null&&r[n]!=="auto"&&(e=!0)}),e}function Xz(r,t,e){var n=ar({},e),i=r[t],o=e.$action||"merge";o==="merge"?i?(Kn(i,n,!0),Ds(i,n,{ignoreSize:!0}),nb(e,i),x9(e,i),x9(e,i,"shape"),x9(e,i,"style"),x9(e,i,"extra"),e.clipPath=i.clipPath):r[t]=n:o==="replace"?r[t]=n:o==="remove"&&i&&(r[t]=null)}var OT=["transition","enterFrom","leaveTo"],$z=OT.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function x9(r,t,e){if(e&&(!r[e]&&t[e]&&(r[e]={}),r=r[e],t=t[e]),!(!r||!t))for(var n=e?OT:$z,i=0;i<n.length;i++){var o=n[i];r[o]==null&&t[o]!=null&&(r[o]=t[o])}}function eK(r,t){if(r&&(r.hv=t.hv=[NT(t,["left","right"]),NT(t,["top","bottom"])],r.type==="group")){var e=r,n=t;e.width==null&&(e.width=n.width=0),e.height==null&&(e.height=n.height=0)}}var tK=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.preventAutoZ=!0,e}return t.prototype.mergeOption=function(e,n){var i=this.option.elements;this.option.elements=null,r.prototype.mergeOption.call(this,e,n),this.option.elements=i},t.prototype.optionUpdated=function(e,n){var i=this.option,o=(n?i:e).elements,s=i.elements=n?[]:i.elements,l=[];this._flatten(o,l,null);var f=gA(s,l,"normalMerge"),v=this._elOptionsToUpdate=[];Ne(f,function(C,w){var x=C.newOption;x&&(v.push(x),Zz(C,x),Xz(s,w,x),eK(s[w],x))},this),i.elements=Ii(s,function(C){return C&&delete C.$action,C!=null})},t.prototype._flatten=function(e,n,i){Ne(e,function(o){if(o){i&&(o.parentOption=i),n.push(o);var s=o.children;s&&s.length&&this._flatten(s,n,o),delete o.children}},this)},t.prototype.useElOptionsToUpdate=function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e},t.type="graphic",t.defaultOption={elements:[]},t}(Oi),PT={path:null,compoundPath:null,group:Nn,image:Ws,text:Mn},od=Vi(),rK=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){this._elMap=mn()},t.prototype.render=function(e,n,i){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,i)},t.prototype._updateElements=function(e){var n=e.useElOptionsToUpdate();if(n){var i=this._elMap,o=this.group,s=e.get("z"),l=e.get("zlevel");Ne(n,function(f){var v=es(f.id,null),C=v!=null?i.get(v):null,w=es(f.parentId,null),x=w!=null?i.get(w):o,Q=f.type,R=f.style;Q==="text"&&R&&f.hv&&f.hv[1]&&(R.textVerticalAlign=R.textBaseline=R.verticalAlign=R.align=null);var L=f.textContent,P=f.textConfig;if(R&&HF(R,Q,!!P,!!L)){var M=YF(R,Q,!0);!P&&M.textConfig&&(P=f.textConfig=M.textConfig),!L&&M.textContent&&(L=M.textContent)}var k=nK(f),G=f.$action||"merge",Y=G==="merge",re=G==="replace";if(Y){var ie=!C,le=C;ie?le=GT(v,x,f.type,i):(le&&(od(le).isNew=!1),eT(le)),le&&(m9(le,k,e,{isInit:ie}),UT(le,f,s,l))}else if(re){S9(C,f,i,e);var pe=GT(v,x,f.type,i);pe&&(m9(pe,k,e,{isInit:!0}),UT(pe,f,s,l))}else G==="remove"&&(VF(C,f),S9(C,f,i,e));var ve=i.get(v);if(ve&&L)if(Y){var Ee=ve.getTextContent();Ee?Ee.attr(L):ve.setTextContent(new Mn(L))}else re&&ve.setTextContent(new Mn(L));if(ve){var Se=f.clipPath;if(Se){var ke=Se.type,Le=void 0,ie=!1;if(Y){var be=ve.getClipPath();ie=!be||od(be).type!==ke,Le=ie?S7(ke):be}else re&&(ie=!0,Le=S7(ke));ve.setClipPath(Le),m9(Le,Se,e,{isInit:ie}),b9(Le,Se.keyframeAnimation,e)}var ze=od(ve);ve.setTextConfig(P),ze.option=f,iK(ve,e,f),Ml({el:ve,componentModel:e,itemName:ve.name,itemTooltipOption:f.tooltip}),b9(ve,f.keyframeAnimation,e)}})}},t.prototype._relocate=function(e,n){for(var i=e.option.elements,o=this.group,s=this._elMap,l=n.getWidth(),f=n.getHeight(),v=["x","y"],C=0;C<i.length;C++){var w=i[C],x=es(w.id,null),Q=x!=null?s.get(x):null;if(!(!Q||!Q.isGroup)){var R=Q.parent,L=R===o,P=od(Q),M=od(R);P.width=jr(P.option.width,L?l:M.width)||0,P.height=jr(P.option.height,L?f:M.height)||0}}for(var C=i.length-1;C>=0;C--){var w=i[C],x=es(w.id,null),Q=x!=null?s.get(x):null;if(Q){var R=Q.parent,M=od(R),k=R===o?{width:l,height:f}:{width:M.width,height:M.height},G={},Y=OA(Q,w,k,null,{hv:w.hv,boundingMode:w.bounding},G);if(!od(Q).isNew&&Y){for(var re=w.transition,ie={},le=0;le<v.length;le++){var pe=v[le],ve=G[pe];re&&(EC(re)||Vn(re,pe)>=0)?ie[pe]=ve:Q[pe]=ve}ga(Q,ie,e,0)}else Q.attr(G)}}},t.prototype._clear=function(){var e=this,n=this._elMap;n.each(function(i){S9(i,od(i).option,n,e._lastGraphicModel)}),this._elMap=mn()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(a);function S7(r){var t=ln(PT,r)?PT[r]:GI(r),e=new t({});return od(e).type=r,e}function GT(r,t,e,n){var i=S7(e);return t.add(i),n.set(r,i),od(i).id=r,od(i).isNew=!0,i}function S9(r,t,e,n){var i=r&&r.parent;i&&(r.type==="group"&&r.traverse(function(o){S9(o,t,e,n)}),I9(r,t,n),e.removeKey(od(r).id))}function UT(r,t,e,n){r.isGroup||Ne([["cursor",ii.prototype.cursor],["zlevel",n||0],["z",e||0],["z2",0]],function(i){var o=i[0];ln(t,o)?r[o]=$n(t[o],i[1]):r[o]==null&&(r[o]=i[1])}),Ne(fi(t),function(i){if(i.indexOf("on")===0){var o=t[i];r[i]=bn(o)?o:null}}),ln(t,"draggable")&&(r.draggable=t.draggable),t.name!=null&&(r.name=t.name),t.id!=null&&(r.id=t.id)}function nK(r){return r=ar({},r),Ne(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(rb),function(t){delete r[t]}),r}function iK(r,t,e){var n=Un(r).eventData;!r.silent&&!r.ignore&&!n&&(n=Un(r).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:r.name}),n&&(n.info=e.info)}function aK(r){r.registerComponentModel(tK),r.registerComponentView(rK),r.registerPreprocessor(function(t){var e=t.graphic;yr(e)?!e[0]||!e[0].elements?t.graphic=[{elements:e}]:t.graphic=[t.graphic[0]]:e&&!e.elements&&(t.graphic=[{elements:[e]}])})}var jT=["x","y","radius","angle","single"],oK=["cartesian2d","polar","singleAxis"];function sK(r){var t=r.get("coordinateSystem");return Vn(oK,t)>=0}function qm(r){return r+"Axis"}function uK(r,t){var e=mn(),n=[],i=mn();r.eachComponent({mainType:"dataZoom",query:t},function(C){i.get(C.uid)||l(C)});var o;do o=!1,r.eachComponent("dataZoom",s);while(o);function s(C){!i.get(C.uid)&&f(C)&&(l(C),o=!0)}function l(C){i.set(C.uid,!0),n.push(C),v(C)}function f(C){var w=!1;return C.eachTargetAxis(function(x,Q){var R=e.get(x);R&&R[Q]&&(w=!0)}),w}function v(C){C.eachTargetAxis(function(w,x){(e.get(w)||e.set(w,[]))[x]=!0})}return n}function HT(r){var t=r.ecModel,e={infoList:[],infoMap:mn()};return r.eachTargetAxis(function(n,i){var o=t.getComponent(qm(n),i);if(o){var s=o.getCoordSysModel();if(s){var l=s.uid,f=e.infoMap.get(l);f||(f={model:s,axisModels:[]},e.infoList.push(f),e.infoMap.set(l,f)),f.axisModels.push(o)}}}),e}var _7=function(){function r(){this.indexList=[],this.indexMap=[]}return r.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},r}(),eQ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return t.prototype.init=function(e,n,i){var o=YT(e);this.settledOption=o,this.mergeDefaultAndTheme(e,i),this._doInit(o)},t.prototype.mergeOption=function(e){var n=YT(e);Kn(this.option,e,!0),Kn(this.settledOption,n,!0),this._doInit(n)},t.prototype._doInit=function(e){var n=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var i=this.settledOption;Ne([["start","startValue"],["end","endValue"]],function(o,s){this._rangePropMode[s]==="value"&&(n[o[0]]=i[o[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),n=this._targetAxisInfoMap=mn(),i=this._fillSpecifiedTargetAxis(n);i?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(n,this._orient)),this._noTarget=!0,n.each(function(o){o.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var n=!1;return Ne(jT,function(i){var o=this.getReferringComponents(qm(i),El);if(o.specified){n=!0;var s=new _7;Ne(o.models,function(l){s.add(l.componentIndex)}),e.set(i,s)}},this),n},t.prototype._fillAutoTargetAxisByOrient=function(e,n){var i=this.ecModel,o=!0;if(o){var s=n==="vertical"?"y":"x",l=i.findComponents({mainType:s+"Axis"});f(l,s)}if(o){var l=i.findComponents({mainType:"singleAxis",filter:function(C){return C.get("orient",!0)===n}});f(l,"single")}function f(v,C){var w=v[0];if(w){var x=new _7;if(x.add(w.componentIndex),e.set(C,x),o=!1,C==="x"||C==="y"){var Q=w.getReferringComponents("grid",fs).models[0];Q&&Ne(v,function(R){w.componentIndex!==R.componentIndex&&Q===R.getReferringComponents("grid",fs).models[0]&&x.add(R.componentIndex)})}}}o&&Ne(jT,function(v){if(o){var C=i.findComponents({mainType:qm(v),filter:function(x){return x.get("type",!0)==="category"}});if(C[0]){var w=new _7;w.add(C[0].componentIndex),e.set(v,w),o=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(n){!e&&(e=n)},this),e==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var n=this.ecModel.option;this.option.throttle=n.animation&&n.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var n=this._rangePropMode,i=this.get("rangeMode");Ne([["start","startValue"],["end","endValue"]],function(o,s){var l=e[o[0]]!=null,f=e[o[1]]!=null;l&&!f?n[s]="percent":!l&&f?n[s]="value":i?n[s]=i[s]:l&&(n[s]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(n,i){e==null&&(e=this.ecModel.getComponent(qm(n),i))},this),e},t.prototype.eachTargetAxis=function(e,n){this._targetAxisInfoMap.each(function(i,o){Ne(i.indexList,function(s){e.call(n,o,s)})})},t.prototype.getAxisProxy=function(e,n){var i=this.getAxisModel(e,n);if(i)return i.__dzAxisProxy},t.prototype.getAxisModel=function(e,n){var i=this._targetAxisInfoMap.get(e);if(i&&i.indexMap[n])return this.ecModel.getComponent(qm(e),n)},t.prototype.setRawRange=function(e){var n=this.option,i=this.settledOption;Ne([["start","startValue"],["end","endValue"]],function(o){(e[o[0]]!=null||e[o[1]]!=null)&&(n[o[0]]=i[o[0]]=e[o[0]],n[o[1]]=i[o[1]]=e[o[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var n=this.option;Ne(["start","startValue","end","endValue"],function(i){n[i]=e[i]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,n){if(e==null&&n==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(e,n).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var n,i=this._targetAxisInfoMap.keys(),o=0;o<i.length;o++)for(var s=i[o],l=this._targetAxisInfoMap.get(s),f=0;f<l.indexList.length;f++){var v=this.getAxisProxy(s,l.indexList[f]);if(v.hostedBy(this))return v;n||(n=v)}return n},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(Oi);function YT(r){var t={};return Ne(["start","end","startValue","endValue","throttle"],function(e){r.hasOwnProperty(e)&&(t[e]=r[e])}),t}var cK=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.select",t}(eQ),D7=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i,o){this.dataZoomModel=e,this.ecModel=n,this.api=i},t.type="dataZoom",t}(a),lK=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.select",t}(D7),b3=Ne,JT=ki,hK=function(){function r(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return r.prototype.hostedBy=function(t){return this._dataZoomModel===t},r.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},r.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},r.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if(sK(e)){var n=qm(this._dimName),i=e.getReferringComponents(n,fs).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},r.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},r.prototype.getMinMaxSpan=function(){return Bn(this._minMaxSpan)},r.prototype.calculateDataWindow=function(t){var e=this._dataExtent,n=this.getAxisModel(),i=n.axis.scale,o=this._dataZoomModel.getRangePropMode(),s=[0,100],l=[],f=[],v;b3(["start","end"],function(x,Q){var R=t[x],L=t[x+"Value"];o[Q]==="percent"?(R==null&&(R=s[Q]),L=i.parse(ea(R,s,e))):(v=!0,L=L==null?e[Q]:i.parse(L),R=ea(L,e,s)),f[Q]=L==null||isNaN(L)?e[Q]:L,l[Q]=R==null||isNaN(R)?s[Q]:R}),JT(f),JT(l);var C=this._minMaxSpan;v?w(f,l,e,s,!1):w(l,f,s,e,!0);function w(x,Q,R,L,P){var M=P?"Span":"ValueSpan";bC(0,x,R,"all",C["min"+M],C["max"+M]);for(var k=0;k<2;k++)Q[k]=ea(x[k],R,L,!0),P&&(Q[k]=i.parse(Q[k]))}return{valueWindow:f,percentWindow:l}},r.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=fK(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},r.prototype.filterData=function(t,e){if(t!==this._dataZoomModel)return;var n=this._dimName,i=this.getTargetSeriesModels(),o=t.get("filterMode"),s=this._valueWindow;if(o==="none")return;b3(i,function(f){var v=f.getData(),C=v.mapDimensionsAll(n);if(C.length){if(o==="weakFilter"){var w=v.getStore(),x=pr(C,function(Q){return v.getDimensionIndex(Q)},v);v.filterSelf(function(Q){for(var R,L,P,M=0;M<C.length;M++){var k=w.get(x[M],Q),G=!isNaN(k),Y=k<s[0],re=k>s[1];if(G&&!Y&&!re)return!0;G&&(P=!0),Y&&(R=!0),re&&(L=!0)}return P&&R&&L})}else b3(C,function(Q){if(o==="empty")f.setData(v=v.map(Q,function(L){return l(L)?L:NaN}));else{var R={};R[Q]=s,v.selectRange(R)}});b3(C,function(Q){v.setApproximateExtent(s,Q)})}});function l(f){return f>=s[0]&&f<=s[1]}},r.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;b3(["min","max"],function(i){var o=e.get(i+"Span"),s=e.get(i+"ValueSpan");s!=null&&(s=this.getAxisModel().axis.scale.parse(s)),s!=null?o=ea(n[0]+s,n,[0,100],!0):o!=null&&(s=ea(o,[0,100],n,!0)-n[0]),t[i+"Span"]=o,t[i+"ValueSpan"]=s},this)},r.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=Ay(n,[0,500]);i=Math.min(i,20);var o=t.axis.scale.rawExtentInfo;e[0]!==0&&o.setDeterminedMinMax("min",+n[0].toFixed(i)),e[1]!==100&&o.setDeterminedMinMax("max",+n[1].toFixed(i)),o.freeze()}},r}();function fK(r,t,e){var n=[1/0,-1/0];b3(e,function(s){i6(n,s.getData(),t)});var i=r.getAxisModel(),o=e6(i.axis.scale,i,n).calculate();return[o.min,o.max]}var AK={getTargetSeries:function(r){function t(i){r.eachComponent("dataZoom",function(o){o.eachTargetAxis(function(s,l){var f=r.getComponent(qm(s),l);i(s,l,f,o)})})}t(function(i,o,s,l){s.__dzAxisProxy=null});var e=[];t(function(i,o,s,l){s.__dzAxisProxy||(s.__dzAxisProxy=new hK(i,o,l,r),e.push(s.__dzAxisProxy))});var n=mn();return Ne(e,function(i){Ne(i.getTargetSeriesModels(),function(o){n.set(o.uid,o)})}),n},overallReset:function(r,t){r.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(n,i){e.getAxisProxy(n,i).reset(e)}),e.eachTargetAxis(function(n,i){e.getAxisProxy(n,i).filterData(e,t)})}),r.eachComponent("dataZoom",function(e){var n=e.findRepresentativeAxisProxy();if(n){var i=n.getDataPercentWindow(),o=n.getDataValueWindow();e.setCalculatedRange({start:i[0],end:i[1],startValue:o[0],endValue:o[1]})}})}};function dK(r){r.registerAction("dataZoom",function(t,e){var n=uK(e,t);Ne(n,function(i){i.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var WT=!1;function R7(r){WT||(WT=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,AK),dK(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function gK(r){r.registerComponentModel(cK),r.registerComponentView(lK),R7(r)}var sd=function(){function r(){}return r}(),qT={};function C3(r,t){qT[r]=t}function zT(r){return qT[r]}var pK=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;Ne(this.option.feature,function(n,i){var o=zT(i);o&&(o.getDefaultOption&&(o.defaultOption=o.getDefaultOption(e)),Kn(n,o.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(Oi);function vK(r,t,e){var n=t.getBoxLayoutParams(),i=t.get("padding"),o={width:e.getWidth(),height:e.getHeight()},s=Mo(n,o,i);Qf(t.get("orient"),r,t.get("itemGap"),s.width,s.height),OA(r,n,o,i)}function KT(r,t){var e=lg(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),r=new ta({shape:{x:r.x-e[3],y:r.y-e[0],width:r.width+e[1]+e[3],height:r.height+e[0]+e[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1}),r}var yK=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,i,o){var s=this.group;if(s.removeAll(),!e.get("show"))return;var l=+e.get("itemSize"),f=e.get("orient")==="vertical",v=e.get("feature")||{},C=this._features||(this._features={}),w=[];Ne(v,function(R,L){w.push(L)}),new Wh(this._featureNames||[],w).add(x).update(x).remove(ni(x,null)).execute(),this._featureNames=w;function x(R,L){var P=w[R],M=w[L],k=v[P],G=new Ia(k,e,e.ecModel),Y;if(o&&o.newTitle!=null&&o.featureName===P&&(k.title=o.newTitle),P&&!M){if(mK(P))Y={onclick:G.option.onclick,featureName:P};else{var re=zT(P);if(!re)return;Y=new re}C[P]=Y}else if(Y=C[M],!Y)return;Y.uid=Sp("toolbox-feature"),Y.model=G,Y.ecModel=n,Y.api=i;var ie=Y instanceof sd;if(!P&&M){ie&&Y.dispose&&Y.dispose(n,i);return}if(!G.get("show")||ie&&Y.unusable){ie&&Y.remove&&Y.remove(n,i);return}Q(G,Y,P),G.setIconStatus=function(le,pe){var ve=this.option,Ee=this.iconPaths;ve.iconStatus=ve.iconStatus||{},ve.iconStatus[le]=pe,Ee[le]&&(pe==="emphasis"?Dc:ko)(Ee[le])},Y instanceof sd&&Y.render&&Y.render(G,n,i,o)}function Q(R,L,P){var M=R.getModel("iconStyle"),k=R.getModel(["emphasis","iconStyle"]),G=L instanceof sd&&L.getIcons?L.getIcons():R.get("icon"),Y=R.get("title")||{},re,ie;en(G)?(re={},re[P]=G):re=G,en(Y)?(ie={},ie[P]=Y):ie=Y;var le=R.iconPaths={};Ne(re,function(pe,ve){var Ee=RA(pe,{},{x:-l/2,y:-l/2,width:l,height:l});Ee.setStyle(M.getItemStyle());var Se=Ee.ensureState("emphasis");Se.style=k.getItemStyle();var ke=new Mn({style:{text:ie[ve],align:k.get("textAlign"),borderRadius:k.get("textBorderRadius"),padding:k.get("textPadding"),fill:null,font:zy({fontStyle:k.get("textFontStyle"),fontFamily:k.get("textFontFamily"),fontSize:k.get("textFontSize"),fontWeight:k.get("textFontWeight")},n)},ignore:!0});Ee.setTextContent(ke),Ml({el:Ee,componentModel:e,itemName:ve,formatterParamsExtra:{title:ie[ve]}}),Ee.__title=ie[ve],Ee.on("mouseover",function(){var Le=k.getItemStyle(),be=f?e.get("right")==null&&e.get("left")!=="right"?"right":"left":e.get("bottom")==null&&e.get("top")!=="bottom"?"bottom":"top";ke.setStyle({fill:k.get("textFill")||Le.fill||Le.stroke||"#000",backgroundColor:k.get("textBackgroundColor")}),Ee.setTextConfig({position:k.get("textPosition")||be}),ke.ignore=!e.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){R.get(["iconStatus",ve])!=="emphasis"&&i.leaveEmphasis(this),ke.hide()}),(R.get(["iconStatus",ve])==="emphasis"?Dc:ko)(Ee),s.add(Ee),Ee.on("click",an(L.onclick,L,n,i,ve)),le[ve]=Ee})}vK(s,e,i),s.add(KT(s.getBoundingRect(),e)),f||s.eachChild(function(R){var L=R.__title,P=R.ensureState("emphasis"),M=P.textConfig||(P.textConfig={}),k=R.getTextContent(),G=k&&k.ensureState("emphasis");if(G&&!bn(G)&&L){var Y=G.style||(G.style={}),re=V0(L,Mn.makeFont(Y)),ie=R.x+s.x,le=R.y+s.y+l,pe=!1;le+re.height>i.getHeight()&&(M.position="top",pe=!0);var ve=pe?-5-re.height:l+10;ie+re.width/2>i.getWidth()?(M.position=["100%",ve],Y.align="right"):ie-re.width/2<0&&(M.position=[0,ve],Y.align="left")}})},t.prototype.updateView=function(e,n,i,o){Ne(this._features,function(s){s instanceof sd&&s.updateView&&s.updateView(s.model,n,i,o)})},t.prototype.remove=function(e,n){Ne(this._features,function(i){i instanceof sd&&i.remove&&i.remove(e,n)}),this.group.removeAll()},t.prototype.dispose=function(e,n){Ne(this._features,function(i){i instanceof sd&&i.dispose&&i.dispose(e,n)})},t.type="toolbox",t}(a);function mK(r){return r.indexOf("my")===0}var IK=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){var i=this.model,o=i.get("name")||e.get("title.0.text")||"echarts",s=n.getZr().painter.getType()==="svg",l=s?"svg":i.get("type",!0)||"png",f=n.getConnectedDataURL({type:l,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),v=Yn.browser;if(typeof MouseEvent=="function"&&(v.newEdge||!v.ie&&!v.edge)){var C=document.createElement("a");C.download=o+"."+l,C.target="_blank",C.href=f;var w=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});C.dispatchEvent(w)}else if(window.navigator.msSaveOrOpenBlob||s){var x=f.split(","),Q=x[0].indexOf("base64")>-1,R=s?decodeURIComponent(x[1]):x[1];Q&&(R=window.atob(R));var L=o+"."+l;if(window.navigator.msSaveOrOpenBlob){for(var P=R.length,M=new Uint8Array(P);P--;)M[P]=R.charCodeAt(P);var k=new Blob([M]);window.navigator.msSaveOrOpenBlob(k,L)}else{var G=document.createElement("iframe");document.body.appendChild(G);var Y=G.contentWindow,re=Y.document;re.open("image/svg+xml","replace"),re.write(R),re.close(),Y.focus(),re.execCommand("SaveAs",!0,L),document.body.removeChild(G)}}else{var ie=i.get("lang"),le='<body style="margin:0;"><img src="'+f+'" style="max-width:100%;" title="'+(ie&&ie[0]||"")+'" /></body>',pe=window.open();pe.document.write(le),pe.document.title=o}},t.getDefaultOption=function(e){var n={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return n},t}(sd),VT="__ec_magicType_stack__",bK=[["line","bar"],["stack"]],CK=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getIcons=function(){var e=this.model,n=e.get("icon"),i={};return Ne(e.get("type"),function(o){n[o]&&(i[o]=n[o])}),i},t.getDefaultOption=function(e){var n={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return n},t.prototype.onclick=function(e,n,i){var o=this.model,s=o.get(["seriesIndex",i]);if(ZT[i]){var l={series:[]},f=function(w){var x=w.subType,Q=w.id,R=ZT[i](x,Q,w,o);R&&(pn(R,w.option),l.series.push(R));var L=w.coordinateSystem;if(L&&L.type==="cartesian2d"&&(i==="line"||i==="bar")){var P=L.getAxesByScale("ordinal")[0];if(P){var M=P.dim,k=M+"Axis",G=w.getReferringComponents(k,fs).models[0],Y=G.componentIndex;l[k]=l[k]||[];for(var re=0;re<=Y;re++)l[k][Y]=l[k][Y]||{};l[k][Y].boundaryGap=i==="bar"}}};Ne(bK,function(w){Vn(w,i)>=0&&Ne(w,function(x){o.setIconStatus(x,"normal")})}),o.setIconStatus(i,"emphasis"),e.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},f);var v,C=i;i==="stack"&&(v=Kn({stack:o.option.title.tiled,tiled:o.option.title.stack},o.option.title),o.get(["iconStatus",i])!=="emphasis"&&(C="tiled")),n.dispatchAction({type:"changeMagicType",currentType:C,newOption:l,newTitle:v,featureName:"magicType"})}},t}(sd),ZT={line:function(r,t,e,n){if(r==="bar")return Kn({id:t,type:"line",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(r,t,e,n){if(r==="line")return Kn({id:t,type:"bar",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(r,t,e,n){var i=e.get("stack")===VT;if(r==="line"||r==="bar")return n.setIconStatus("stack",i?"normal":"emphasis"),Kn({id:t,stack:i?"":VT},n.get(["option","stack"])||{},!0)}};Qi({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,t){t.mergeOption(r.newOption)});var _9=new Array(60).join("-"),w3=" ";function wK(r){var t={},e=[],n=[];return r.eachRawSeries(function(i){var o=i.coordinateSystem;if(o&&(o.type==="cartesian2d"||o.type==="polar")){var s=o.getBaseAxis();if(s.type==="category"){var l=s.dim+"_"+s.index;t[l]||(t[l]={categoryAxis:s,valueAxis:o.getOtherAxis(s),series:[]},n.push({axisDim:s.dim,axisIndex:s.index})),t[l].series.push(i)}else e.push(i)}else e.push(i)}),{seriesGroupByCategoryAxis:t,other:e,meta:n}}function EK(r){var t=[];return Ne(r,function(e,n){var i=e.categoryAxis,o=e.valueAxis,s=o.dim,l=[" "].concat(pr(e.series,function(Q){return Q.name})),f=[i.model.getCategories()];Ne(e.series,function(Q){var R=Q.getRawData();f.push(Q.getRawData().mapArray(R.mapDimension(s),function(L){return L}))});for(var v=[l.join(w3)],C=0;C<f[0].length;C++){for(var w=[],x=0;x<f.length;x++)w.push(f[x][C]);v.push(w.join(w3))}t.push(v.join(`
  267. `))}),t.join(`
  268. `+_9+`
  269. `)}function BK(r){return pr(r,function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,function(){for(var o=arguments.length,s=arguments[o-1],l=e.getName(s),f=0;f<o-1;f++)i[f]=arguments[f];n.push((l?l+w3:"")+i.join(w3))}),n.join(`
  270. `)}).join(`
  271. `+_9+`
  272. `)}function kK(r){var t=wK(r);return{value:Ii([EK(t.seriesGroupByCategoryAxis),BK(t.other)],function(e){return!!e.replace(/[\n\t\s]/g,"")}).join(`
  273. `+_9+`
  274. `),meta:t.meta}}function D9(r){return r.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function QK(r){var t=r.slice(0,r.indexOf(`
  275. `));if(t.indexOf(w3)>=0)return!0}var M7=new RegExp("["+w3+"]+","g");function xK(r){for(var t=r.split(/\n+/g),e=D9(t.shift()).split(M7),n=[],i=pr(e,function(f){return{name:f,data:[]}}),o=0;o<t.length;o++){var s=D9(t[o]).split(M7);n.push(s.shift());for(var l=0;l<s.length;l++)i[l]&&(i[l].data[o]=s[l])}return{series:i,categories:n}}function SK(r){for(var t=r.split(/\n+/g),e=D9(t.shift()),n=[],i=0;i<t.length;i++){var o=D9(t[i]);if(o){var s=o.split(M7),l="",f=void 0,v=!1;isNaN(s[0])?(v=!0,l=s[0],s=s.slice(1),n[i]={name:l,value:[]},f=n[i].value):f=n[i]=[];for(var C=0;C<s.length;C++)f.push(+s[C]);f.length===1&&(v?n[i].value=f[0]:n[i]=f[0])}}return{name:e,data:n}}function _K(r,t){var e=r.split(new RegExp(`
  276. *`+_9+`
  277. *`,"g")),n={series:[]};return Ne(e,function(i,o){if(QK(i)){var s=xK(i),l=t[o],f=l.axisDim+"Axis";l&&(n[f]=n[f]||[],n[f][l.axisIndex]={data:s.categories},n.series=n.series.concat(s.series))}else{var s=SK(i);n.series.push(s)}}),n}var DK=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){setTimeout(function(){n.dispatchAction({type:"hideTip"})});var i=n.getDom(),o=this.model;this._dom&&i.removeChild(this._dom);var s=document.createElement("div");s.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",s.style.backgroundColor=o.get("backgroundColor")||"#fff";var l=document.createElement("h4"),f=o.get("lang")||[];l.innerHTML=f[0]||o.get("title"),l.style.cssText="margin:10px 20px",l.style.color=o.get("textColor");var v=document.createElement("div"),C=document.createElement("textarea");v.style.cssText="overflow:auto";var w=o.get("optionToContent"),x=o.get("contentToOption"),Q=kK(e);if(bn(w)){var R=w(n.getOption());en(R)?v.innerHTML=R:Zf(R)&&v.appendChild(R)}else{C.readOnly=o.get("readOnly");var L=C.style;L.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",L.color=o.get("textColor"),L.borderColor=o.get("textareaBorderColor"),L.backgroundColor=o.get("textareaColor"),C.value=Q.value,v.appendChild(C)}var P=Q.meta,M=document.createElement("div");M.style.cssText="position:absolute;bottom:5px;left:0;right:0";var k="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",G=document.createElement("div"),Y=document.createElement("div");k+=";background-color:"+o.get("buttonColor"),k+=";color:"+o.get("buttonTextColor");var re=this;function ie(){i.removeChild(s),re._dom=null}v2(G,"click",ie),v2(Y,"click",function(){if(x==null&&w!=null||x!=null&&w==null){ie();return}var le;try{bn(x)?le=x(v,n.getOption()):le=_K(C.value,P)}catch(pe){throw ie(),new Error("Data view format error "+pe)}le&&n.dispatchAction({type:"changeDataView",newOption:le}),ie()}),G.innerHTML=f[1],Y.innerHTML=f[2],Y.style.cssText=G.style.cssText=k,!o.get("readOnly")&&M.appendChild(Y),M.appendChild(G),s.appendChild(l),s.appendChild(v),s.appendChild(M),v.style.height=i.clientHeight-80+"px",i.appendChild(s),this._dom=s},t.prototype.remove=function(e,n){this._dom&&n.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,n){this.remove(e,n)},t.getDefaultOption=function(e){var n={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return n},t}(sd);function RK(r,t){return pr(r,function(e,n){var i=t&&t[n];if(Ln(i)&&!yr(i)){var o=Ln(e)&&!yr(e);o||(e={value:e});var s=i.name!=null&&e.name==null;return e=pn(e,i),s&&delete e.name,e}else return e})}Qi({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(r,t){var e=[];Ne(r.newOption.series,function(n){var i=t.getSeriesByName(n.name)[0];if(!i)e.push(ar({type:"scatter"},n));else{var o=i.get("data");e.push({name:n.name,data:RK(n.data,o)})}}),t.mergeOption(pn({series:e},r.newOption))});var XT=Ne,$T=Vi();function MK(r,t){var e=F7(r);XT(t,function(n,i){for(var o=e.length-1;o>=0;o--){var s=e[o];if(s[i])break}if(o<0){var l=r.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(l){var f=l.getPercentRange();e[0][i]={dataZoomId:i,start:f[0],end:f[1]}}}}),e.push(t)}function FK(r){var t=F7(r),e=t[t.length-1];t.length>1&&t.pop();var n={};return XT(e,function(i,o){for(var s=t.length-1;s>=0;s--)if(i=t[s][o],i){n[o]=i;break}}),n}function TK(r){$T(r).snapshots=null}function LK(r){return F7(r).length}function F7(r){var t=$T(r);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var NK=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){TK(e),n.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var n={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])};return n},t}(sd);Qi({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,t){t.resetOption("recreate")});var OK=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],T7=function(){function r(t,e,n){var i=this;this._targetInfoList=[];var o=eL(e,t);Ne(PK,function(s,l){(!n||!n.include||Vn(n.include,l)>=0)&&s(o,i._targetInfoList)})}return r.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(n,i,o){if((n.coordRanges||(n.coordRanges=[])).push(i),!n.coordRange){n.coordRange=i;var s=N7[n.brushType](0,o,i);n.__rangeOffset={offset:iL[n.brushType](s.values,n.range,[1,1]),xyMinMax:s.xyMinMax}}}),t},r.prototype.matchOutputRanges=function(t,e,n){Ne(t,function(i){var o=this.findTargetInfo(i,e);o&&o!==!0&&Ne(o.coordSyses,function(s){var l=N7[i.brushType](1,s,i.range,!0);n(i,l.values,s,e)})},this)},r.prototype.setInputRanges=function(t,e){Ne(t,function(n){var i=this.findTargetInfo(n,e);if(n.range=n.range||[],i&&i!==!0){n.panelId=i.panelId;var o=N7[n.brushType](0,i.coordSys,n.coordRange),s=n.__rangeOffset;n.range=s?iL[n.brushType](o.values,s.offset,GK(o.xyMinMax,s.xyMinMax)):o.values}},this)},r.prototype.makePanelOpts=function(t,e){return pr(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:nF(i),isTargetByCursor:aF(i,t,n.coordSysModel),getLinearBrushOtherExtent:iF(i)}})},r.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return i===!0||i&&Vn(i.coordSyses,e.coordinateSystem)>=0},r.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=eL(e,t),o=0;o<n.length;o++){var s=n[o],l=t.panelId;if(l){if(s.panelId===l)return s}else for(var f=0;f<tL.length;f++)if(tL[f](i,s))return s}return!0},r}();function L7(r){return r[0]>r[1]&&r.reverse(),r}function eL(r,t){return gf(r,t,{includeMainTypes:OK})}var PK={grid:function(r,t){var e=r.xAxisModels,n=r.yAxisModels,i=r.gridModels,o=mn(),s={},l={};!e&&!n&&!i||(Ne(e,function(f){var v=f.axis.grid.model;o.set(v.id,v),s[v.id]=!0}),Ne(n,function(f){var v=f.axis.grid.model;o.set(v.id,v),l[v.id]=!0}),Ne(i,function(f){o.set(f.id,f),s[f.id]=!0,l[f.id]=!0}),o.each(function(f){var v=f.coordinateSystem,C=[];Ne(v.getCartesians(),function(w,x){(Vn(e,w.getAxis("x").model)>=0||Vn(n,w.getAxis("y").model)>=0)&&C.push(w)}),t.push({panelId:"grid--"+f.id,gridModel:f,coordSysModel:f,coordSys:C[0],coordSyses:C,getPanelRect:rL.grid,xAxisDeclared:s[f.id],yAxisDeclared:l[f.id]})}))},geo:function(r,t){Ne(r.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:rL.geo})})}},tL=[function(r,t){var e=r.xAxisModel,n=r.yAxisModel,i=r.gridModel;return!i&&e&&(i=e.axis.grid.model),!i&&n&&(i=n.axis.grid.model),i&&i===t.gridModel},function(r,t){var e=r.geoModel;return e&&e===t.geoModel}],rL={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var r=this.coordSys,t=r.getBoundingRect().clone();return t.applyTransform(og(r)),t}},N7={lineX:ni(nL,0),lineY:ni(nL,1),rect:function(r,t,e,n){var i=r?t.pointToData([e[0][0],e[1][0]],n):t.dataToPoint([e[0][0],e[1][0]],n),o=r?t.pointToData([e[0][1],e[1][1]],n):t.dataToPoint([e[0][1],e[1][1]],n),s=[L7([i[0],o[0]]),L7([i[1],o[1]])];return{values:s,xyMinMax:s}},polygon:function(r,t,e,n){var i=[[1/0,-1/0],[1/0,-1/0]],o=pr(e,function(s){var l=r?t.pointToData(s,n):t.dataToPoint(s,n);return i[0][0]=Math.min(i[0][0],l[0]),i[1][0]=Math.min(i[1][0],l[1]),i[0][1]=Math.max(i[0][1],l[0]),i[1][1]=Math.max(i[1][1],l[1]),l});return{values:o,xyMinMax:i}}};function nL(r,t,e,n){var i=e.getAxis(["x","y"][r]),o=L7(pr([0,1],function(l){return t?i.coordToData(i.toLocalCoord(n[l]),!0):i.toGlobalCoord(i.dataToCoord(n[l]))})),s=[];return s[r]=o,s[1-r]=[NaN,NaN],{values:o,xyMinMax:s}}var iL={lineX:ni(aL,0),lineY:ni(aL,1),rect:function(r,t,e){return[[r[0][0]-e[0]*t[0][0],r[0][1]-e[0]*t[0][1]],[r[1][0]-e[1]*t[1][0],r[1][1]-e[1]*t[1][1]]]},polygon:function(r,t,e){return pr(r,function(n,i){return[n[0]-e[0]*t[i][0],n[1]-e[1]*t[i][1]]})}};function aL(r,t,e,n){return[t[0]-n[r]*e[0],t[1]-n[r]*e[1]]}function GK(r,t){var e=oL(r),n=oL(t),i=[e[0]/n[0],e[1]/n[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function oL(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}var O7=Ne,UK=rI("toolbox-dataZoom_"),jK=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,i,o){this._brushController||(this._brushController=new FS(i.getZr()),this._brushController.on("brush",an(this._onBrush,this)).mount()),JK(e,n,this,o,i),YK(e,n)},t.prototype.onclick=function(e,n,i){HK[i].call(this)},t.prototype.remove=function(e,n){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,n){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var n=e.areas;if(!e.isEnd||!n.length)return;var i={},o=this.ecModel;this._brushController.updateCovers([]);var s=new T7(P7(this.model),o,{include:["grid"]});s.matchOutputRanges(n,o,function(v,C,w){if(w.type==="cartesian2d"){var x=v.brushType;x==="rect"?(l("x",w,C[0]),l("y",w,C[1])):l({lineX:"x",lineY:"y"}[x],w,C)}}),MK(o,i),this._dispatchZoomAction(i);function l(v,C,w){var x=C.getAxis(v),Q=x.model,R=f(v,Q,o),L=R.findRepresentativeAxisProxy(Q).getMinMaxSpan();(L.minValueSpan!=null||L.maxValueSpan!=null)&&(w=bC(0,w.slice(),x.scale.getExtent(),0,L.minValueSpan,L.maxValueSpan)),R&&(i[R.id]={dataZoomId:R.id,startValue:w[0],endValue:w[1]})}function f(v,C,w){var x;return w.eachComponent({mainType:"dataZoom",subType:"select"},function(Q){var R=Q.getAxisModel(v,C.componentIndex);R&&(x=Q)}),x}},t.prototype._dispatchZoomAction=function(e){var n=[];O7(e,function(i,o){n.push(Bn(i))}),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},t.getDefaultOption=function(e){var n={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return n},t}(sd),HK={zoom:function(){var r=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:r})},back:function(){this._dispatchZoomAction(FK(this.ecModel))}};function P7(r){var t={xAxisIndex:r.get("xAxisIndex",!0),yAxisIndex:r.get("yAxisIndex",!0),xAxisId:r.get("xAxisId",!0),yAxisId:r.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function YK(r,t){r.setIconStatus("back",LK(t)>1?"emphasis":"normal")}function JK(r,t,e,n,i){var o=e._isZoomActive;n&&n.type==="takeGlobalCursor"&&(o=n.key==="dataZoomSelect"?n.dataZoomSelectActive:!1),e._isZoomActive=o,r.setIconStatus("zoom",o?"emphasis":"normal");var s=new T7(P7(r),t,{include:["grid"]}),l=s.makePanelOpts(i,function(f){return f.xAxisDeclared&&!f.yAxisDeclared?"lineX":!f.xAxisDeclared&&f.yAxisDeclared?"lineY":"rect"});e._brushController.setPanels(l).enableBrush(o&&l.length?{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}:!1)}GE("dataZoom",function(r){var t=r.getComponent("toolbox",0),e=["feature","dataZoom"];if(!t||t.get(e)==null)return;var n=t.getModel(e),i=[],o=P7(n),s=gf(r,o);O7(s.xAxisModels,function(f){return l(f,"xAxis","xAxisIndex")}),O7(s.yAxisModels,function(f){return l(f,"yAxis","yAxisIndex")});function l(f,v,C){var w=f.componentIndex,x={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:UK+v+w};x[C]=w,i.push(x)}return i});function WK(r){r.registerComponentModel(pK),r.registerComponentView(yK),C3("saveAsImage",IK),C3("magicType",CK),C3("dataView",DK),C3("dataZoom",jK),C3("restore",NK),Fi(gK)}var qK=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(Oi);function sL(r){var t=r.get("confine");return t!=null?!!t:r.get("renderMode")==="richText"}function uL(r){if(Yn.domSupported){for(var t=document.documentElement.style,e=0,n=r.length;e<n;e++)if(r[e]in t)return r[e]}}var cL=uL(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),zK=uL(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function lL(r,t){if(!r)return t;t=ku(t,!0);var e=r.indexOf(t);return r=e===-1?t:"-"+r.slice(0,e)+"-"+t,r.toLowerCase()}function KK(r,t){var e=r.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(r);return e?e[t]:null}var VK=lL(zK,"transition"),G7=lL(cL,"transform"),ZK="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Yn.transform3dSupported?"will-change:transform;":"");function XK(r){return r=r==="left"?"right":r==="right"?"left":r==="top"?"bottom":"top",r}function $K(r,t,e){if(!en(e)||e==="inside")return"";var n=r.get("backgroundColor"),i=r.get("borderWidth");t=NA(t);var o=XK(e),s=Math.max(Math.round(i)*1.5,6),l="",f=G7+":",v;Vn(["left","right"],o)>-1?(l+="top:50%",f+="translateY(-50%) rotate("+(v=o==="left"?-225:-45)+"deg)"):(l+="left:50%",f+="translateX(-50%) rotate("+(v=o==="top"?225:45)+"deg)");var C=v*Math.PI/180,w=s+i,x=w*Math.abs(Math.cos(C))+w*Math.abs(Math.sin(C)),Q=Math.round(((x-Math.SQRT2*i)/2+Math.SQRT2*i-(x-w)/2)*100)/100;l+=";"+o+":-"+Q+"px";var R=t+" solid "+i+"px;",L=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",l+";"+f+";","border-bottom:"+R,"border-right:"+R,"background-color:"+n+";"];return'<div style="'+L.join("")+'"></div>'}function eV(r,t){var e="cubic-bezier(0.23,1,0.32,1)",n=" "+r/2+"s "+e,i="opacity"+n+",visibility"+n;return t||(n=" "+r+"s "+e,i+=Yn.transformSupported?","+G7+n:",left"+n+",top"+n),VK+":"+i}function hL(r,t,e){var n=r.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!Yn.transformSupported)return e?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var o=Yn.transform3dSupported,s="translate"+(o?"3d":"")+"("+n+","+i+(o?",0":"")+")";return e?"top:0;left:0;"+G7+":"+s+";":[["top",0],["left",0],[cL,s]]}function tV(r){var t=[],e=r.get("fontSize"),n=r.getTextColor();n&&t.push("color:"+n),t.push("font:"+r.getFont());var i=$n(r.get("lineHeight"),Math.round(e*3/2));e&&t.push("line-height:"+i+"px");var o=r.get("textShadowColor"),s=r.get("textShadowBlur")||0,l=r.get("textShadowOffsetX")||0,f=r.get("textShadowOffsetY")||0;return o&&s&&t.push("text-shadow:"+l+"px "+f+"px "+s+"px "+o),Ne(["decoration","align"],function(v){var C=r.get(v);C&&t.push("text-"+v+":"+C)}),t.join(";")}function rV(r,t,e){var n=[],i=r.get("transitionDuration"),o=r.get("backgroundColor"),s=r.get("shadowBlur"),l=r.get("shadowColor"),f=r.get("shadowOffsetX"),v=r.get("shadowOffsetY"),C=r.getModel("textStyle"),w=j1(r,"html"),x=f+"px "+v+"px "+s+"px "+l;return n.push("box-shadow:"+x),t&&i&&n.push(eV(i,e)),o&&n.push("background-color:"+o),Ne(["width","color","radius"],function(Q){var R="border-"+Q,L=ku(R),P=r.get(L);P!=null&&n.push(R+":"+P+(Q==="color"?"":"px"))}),n.push(tV(C)),w!=null&&n.push("padding:"+lg(w).join("px ")+"px"),n.join(";")+";"}function fL(r,t,e,n,i){var o=t&&t.painter;if(e){var s=o&&o.getViewportRoot();s&&K3(r,s,e,n,i)}else{r[0]=n,r[1]=i;var l=o&&o.getViewportRootOffset();l&&(r[0]+=l.offsetLeft,r[1]+=l.offsetTop)}r[2]=r[0]/t.getWidth(),r[3]=r[1]/t.getHeight()}var nV=function(){function r(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Yn.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),o=e.appendTo,s=o&&(en(o)?document.querySelector(o):Zf(o)?o:bn(o)&&o(t.getDom()));fL(this._styleCoord,i,s,t.getWidth()/2,t.getHeight()/2),(s||t.getDom()).appendChild(n),this._api=t,this._container=s;var l=this;n.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},n.onmousemove=function(f){if(f=f||window.event,!l._enterable){var v=i.handler,C=i.painter.getViewportRoot();nc(C,f,!0),v.dispatch("mousemove",f)}},n.onmouseleave=function(){l._inContent=!1,l._enterable&&l._show&&l.hideLater(l._hideDelay)}}return r.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=KK(e,"position"),i=e.style;i.position!=="absolute"&&n!=="absolute"&&(i.position="relative")}var o=t.get("alwaysShowContent");o&&this._moveIfResized(),this._alwaysShowContent=o,this.el.className=t.get("className")||""},r.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,o=this._styleCoord;n.innerHTML?i.cssText=ZK+rV(t,!this._firstShow,this._longHide)+hL(o[0],o[1],!0)+("border-color:"+NA(e)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},r.prototype.setContent=function(t,e,n,i,o){var s=this.el;if(t==null){s.innerHTML="";return}var l="";if(en(o)&&n.get("trigger")==="item"&&!sL(n)&&(l=$K(n,i,o)),en(t))s.innerHTML=t+l;else if(t){s.innerHTML="",yr(t)||(t=[t]);for(var f=0;f<t.length;f++)Zf(t[f])&&t[f].parentNode!==s&&s.appendChild(t[f]);if(l&&s.childNodes.length){var v=document.createElement("div");v.innerHTML=l,s.appendChild(v)}}},r.prototype.setEnterable=function(t){this._enterable=t},r.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},r.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(fL(n,this._zr,this._container,t,e),n[0]!=null&&n[1]!=null){var i=this.el.style,o=hL(n[0],n[1]);Ne(o,function(s){i[s[0]]=s[1]})}}},r.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},r.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",Yn.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},r.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(an(this.hide,this),t)):this.hide())},r.prototype.isShow=function(){return this._show},r.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},r}(),iV=function(){function r(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),dL(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return r.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},r.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},r.prototype.setContent=function(t,e,n,i,o){var s=this;Ln(t)&&Ba(""),this.el&&this._zr.remove(this.el);var l=n.getModel("textStyle");this.el=new Mn({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:l.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:j1(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),Ne(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(v){s.el.style[v]=n.get(v)}),Ne(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(v){s.el.style[v]=l.get(v)||0}),this._zr.add(this.el);var f=this;this.el.on("mouseover",function(){f._enterable&&(clearTimeout(f._hideTimeout),f._show=!0),f._inContent=!0}),this.el.on("mouseout",function(){f._enterable&&f._show&&f.hideLater(f._hideDelay),f._inContent=!1})},r.prototype.setEnterable=function(t){this._enterable=t},r.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=AL(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},r.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;dL(i,this._zr,t,e),t=i[0],e=i[1];var o=n.style,s=zm(o.borderWidth||0),l=AL(o);n.x=t+s+l.left,n.y=e+s+l.top,n.markRedraw()}},r.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},r.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},r.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(an(this.hide,this),t)):this.hide())},r.prototype.isShow=function(){return this._show},r.prototype.dispose=function(){this._zr.remove(this.el)},r}();function zm(r){return Math.max(0,r)}function AL(r){var t=zm(r.shadowBlur||0),e=zm(r.shadowOffsetX||0),n=zm(r.shadowOffsetY||0);return{left:zm(t-e),right:zm(t+e),top:zm(t-n),bottom:zm(t+n)}}function dL(r,t,e,n){r[0]=e,r[1]=n,r[2]=r[0]/t.getWidth(),r[3]=r[1]/t.getHeight()}var aV=new ta({shape:{x:-1,y:-1,width:2,height:2}}),oV=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n){if(!(Yn.node||!n.getDom())){var i=e.getComponent("tooltip"),o=this._renderMode=xw(i.get("renderMode"));this._tooltipContent=o==="richText"?new iV(n):new nV(n,{appendTo:i.get("appendToBody",!0)?"body":i.get("appendTo",!0)})}},t.prototype.render=function(e,n,i){if(!(Yn.node||!i.getDom())){this.group.removeAll(),this._tooltipModel=e,this._ecModel=n,this._api=i;var o=this._tooltipContent;o.update(e),o.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&e.get("transitionDuration")?S(this,"_updatePosition",50,"fixRate"):_(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel,n=e.get("triggerOn");IT("itemTooltip",this._api,an(function(i,o,s){n!=="none"&&(n.indexOf(i)>=0?this._tryShow(o,s):i==="leave"&&this._hide(s))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,n=this._ecModel,i=this._api,o=e.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&o!=="none"&&o!=="click"){var s=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&s.manuallyShowTip(e,n,i,{x:s._lastX,y:s._lastY,dataByCoordSys:s._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,n,i,o){if(!(o.from===this.uid||Yn.node||!i.getDom())){var s=gL(o,i);this._ticket="";var l=o.dataByCoordSys,f=lV(o,n,i);if(f){var v=f.el.getBoundingRect().clone();v.applyTransform(f.el.transform),this._tryShow({offsetX:v.x+v.width/2,offsetY:v.y+v.height/2,target:f.el,position:o.position,positionDefault:"bottom"},s)}else if(o.tooltip&&o.x!=null&&o.y!=null){var C=aV;C.x=o.x,C.y=o.y,C.update(),Un(C).tooltipConfig={name:null,option:o.tooltip},this._tryShow({offsetX:o.x,offsetY:o.y,target:C},s)}else if(l)this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,dataByCoordSys:l,tooltipOption:o.tooltipOption},s);else if(o.seriesIndex!=null){if(this._manuallyAxisShowTip(e,n,i,o))return;var w=CT(o,n),x=w.point[0],Q=w.point[1];x!=null&&Q!=null&&this._tryShow({offsetX:x,offsetY:Q,target:w.el,position:o.position,positionDefault:"bottom"},s)}else o.x!=null&&o.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:o.x,y:o.y}),this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,target:i.getZr().findHover(o.x,o.y).target},s))}},t.prototype.manuallyHideTip=function(e,n,i,o){var s=this._tooltipContent;this._tooltipModel&&s.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,o.from!==this.uid&&this._hide(gL(o,i))},t.prototype._manuallyAxisShowTip=function(e,n,i,o){var s=o.seriesIndex,l=o.dataIndex,f=n.getComponent("axisPointer").coordSysAxesInfo;if(!(s==null||l==null||f==null)){var v=n.getSeriesByIndex(s);if(v){var C=v.getData(),w=tQ([C.getItemModel(l),v,(v.coordinateSystem||{}).model],this._tooltipModel);if(w.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:s,dataIndex:l,position:o.position}),!0}}},t.prototype._tryShow=function(e,n){var i=e.target,o=this._tooltipModel;if(o){this._lastX=e.offsetX,this._lastY=e.offsetY;var s=e.dataByCoordSys;if(s&&s.length)this._showAxisTooltip(s,e);else if(i){var l=Un(i);if(l.ssrType==="legend")return;this._lastDataByCoordSys=null;var f,v;_t(i,function(C){if(Un(C).dataIndex!=null)return f=C,!0;if(Un(C).tooltipConfig!=null)return v=C,!0},!0),f?this._showSeriesItemTooltip(e,f,n):v?this._showComponentItemTooltip(e,v,n):this._hide(n)}else this._lastDataByCoordSys=null,this._hide(n)}},t.prototype._showOrMove=function(e,n){var i=e.get("showDelay");n=an(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},t.prototype._showAxisTooltip=function(e,n){var i=this._ecModel,o=this._tooltipModel,s=[n.offsetX,n.offsetY],l=tQ([n.tooltipOption],o),f=this._renderMode,v=[],C=Xs("section",{blocks:[],noHeader:!0}),w=[],x=new H1;Ne(e,function(k){Ne(k.dataByAxis,function(G){var Y=i.getComponent(G.axisDim+"Axis",G.axisIndex),re=G.value;if(!(!Y||re==null)){var ie=dT(re,Y.axis,i,G.seriesDataIndices,G.valueLabelOpt),le=Xs("section",{header:ie,noHeader:!Wl(ie),sortBlocks:!0,blocks:[]});C.blocks.push(le),Ne(G.seriesDataIndices,function(pe){var ve=i.getSeriesByIndex(pe.seriesIndex),Ee=pe.dataIndexInside,Se=ve.getDataParams(Ee);if(!(Se.dataIndex<0)){Se.axisDim=G.axisDim,Se.axisIndex=G.axisIndex,Se.axisType=G.axisType,Se.axisId=G.axisId,Se.axisValue=zA(Y.axis,{value:re}),Se.axisValueLabel=ie,Se.marker=x.makeTooltipMarker("item",NA(Se.color),f);var ke=xf(ve.formatTooltip(Ee,!0,null)),Le=ke.frag;if(Le){var be=tQ([ve],o).get("valueFormatter");le.blocks.push(be?ar({valueFormatter:be},Le):Le)}ke.text&&w.push(ke.text),v.push(Se)}})}})}),C.blocks.reverse(),w.reverse();var Q=n.position,R=l.get("order"),L=Tb(C,x,f,R,i.get("useUTC"),l.get("textStyle"));L&&w.unshift(L);var P=f==="richText"?`
  278. `:"<br/>",M=w.join(P);this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(e,v)?this._updatePosition(l,Q,s[0],s[1],this._tooltipContent,v):this._showTooltipContent(l,M,v,Math.random()+"",s[0],s[1],Q,null,x)})},t.prototype._showSeriesItemTooltip=function(e,n,i){var o=this._ecModel,s=Un(n),l=s.seriesIndex,f=o.getSeriesByIndex(l),v=s.dataModel||f,C=s.dataIndex,w=s.dataType,x=v.getData(w),Q=this._renderMode,R=e.positionDefault,L=tQ([x.getItemModel(C),v,f&&(f.coordinateSystem||{}).model],this._tooltipModel,R?{position:R}:null),P=L.get("trigger");if(!(P!=null&&P!=="item")){var M=v.getDataParams(C,w),k=new H1;M.marker=k.makeTooltipMarker("item",NA(M.color),Q);var G=xf(v.formatTooltip(C,!1,w)),Y=L.get("order"),re=L.get("valueFormatter"),ie=G.frag,le=ie?Tb(re?ar({valueFormatter:re},ie):ie,k,Q,Y,o.get("useUTC"),L.get("textStyle")):G.text,pe="item_"+v.name+"_"+C;this._showOrMove(L,function(){this._showTooltipContent(L,le,M,pe,e.offsetX,e.offsetY,e.position,e.target,k)}),i({type:"showTip",dataIndexInside:C,dataIndex:x.getRawIndex(C),seriesIndex:l,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,n,i){var o=this._renderMode==="html",s=Un(n),l=s.tooltipConfig,f=l.option||{},v=f.encodeHTMLContent;if(en(f)){var C=f;f={content:C,formatter:C},v=!0}v&&o&&f.content&&(f=Bn(f),f.content=ou(f.content));var w=[f],x=this._ecModel.getComponent(s.componentMainType,s.componentIndex);x&&w.push(x),w.push({formatter:f.content});var Q=e.positionDefault,R=tQ(w,this._tooltipModel,Q?{position:Q}:null),L=R.get("content"),P=Math.random()+"",M=new H1;this._showOrMove(R,function(){var k=Bn(R.get("formatterParams")||{});this._showTooltipContent(R,L,k,P,e.offsetX,e.offsetY,e.position,n,M)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,n,i,o,s,l,f,v,C){if(this._ticket="",!(!e.get("showContent")||!e.get("show"))){var w=this._tooltipContent;w.setEnterable(e.get("enterable"));var x=e.get("formatter");f=f||e.get("position");var Q=n,R=this._getNearestPoint([s,l],i,e.get("trigger"),e.get("borderColor")),L=R.color;if(x)if(en(x)){var P=e.ecModel.get("useUTC"),M=yr(i)?i[0]:i,k=M&&M.axisType&&M.axisType.indexOf("time")>=0;Q=x,k&&(Q=Q1(M.axisValue,Q,P)),Q=S1(Q,i,!0)}else if(bn(x)){var G=an(function(Y,re){Y===this._ticket&&(w.setContent(re,C,e,L,f),this._updatePosition(e,f,s,l,w,i,v))},this);this._ticket=o,Q=x(i,o,G)}else Q=x;w.setContent(Q,C,e,L,f),w.show(e,L),this._updatePosition(e,f,s,l,w,i,v)}},t.prototype._getNearestPoint=function(e,n,i,o){if(i==="axis"||yr(n))return{color:o||(this._renderMode==="html"?"#fff":"none")};if(!yr(n))return{color:o||n.color||n.borderColor}},t.prototype._updatePosition=function(e,n,i,o,s,l,f){var v=this._api.getWidth(),C=this._api.getHeight();n=n||e.get("position");var w=s.getSize(),x=e.get("align"),Q=e.get("verticalAlign"),R=f&&f.getBoundingRect().clone();if(f&&R.applyTransform(f.transform),bn(n)&&(n=n([i,o],l,s.el,R,{viewSize:[v,C],contentSize:w.slice()})),yr(n))i=jr(n[0],v),o=jr(n[1],C);else if(Ln(n)){var L=n;L.width=w[0],L.height=w[1];var P=Mo(L,{width:v,height:C});i=P.x,o=P.y,x=null,Q=null}else if(en(n)&&f){var M=cV(n,R,w,e.get("borderWidth"));i=M[0],o=M[1]}else{var M=sV(i,o,s,v,C,x?null:20,Q?null:20);i=M[0],o=M[1]}if(x&&(i-=pL(x)?w[0]/2:x==="right"?w[0]:0),Q&&(o-=pL(Q)?w[1]/2:Q==="bottom"?w[1]:0),sL(e)){var M=uV(i,o,s,v,C);i=M[0],o=M[1]}s.moveTo(i,o)},t.prototype._updateContentNotChangedOnAxis=function(e,n){var i=this._lastDataByCoordSys,o=this._cbParamsList,s=!!i&&i.length===e.length;return s&&Ne(i,function(l,f){var v=l.dataByAxis||[],C=e[f]||{},w=C.dataByAxis||[];s=s&&v.length===w.length,s&&Ne(v,function(x,Q){var R=w[Q]||{},L=x.seriesDataIndices||[],P=R.seriesDataIndices||[];s=s&&x.value===R.value&&x.axisType===R.axisType&&x.axisId===R.axisId&&L.length===P.length,s&&Ne(L,function(M,k){var G=P[k];s=s&&M.seriesIndex===G.seriesIndex&&M.dataIndex===G.dataIndex}),o&&Ne(x.seriesDataIndices,function(M){var k=M.seriesIndex,G=n[k],Y=o[k];G&&Y&&Y.data!==G.data&&(s=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=n,!!s},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,n){Yn.node||!n.getDom()||(_(this,"_updatePosition"),this._tooltipContent.dispose(),C7("itemTooltip",n))},t.type="tooltip",t}(a);function tQ(r,t,e){var n=t.ecModel,i;e?(i=new Ia(e,n,n),i=new Ia(t.option,i,n)):i=t;for(var o=r.length-1;o>=0;o--){var s=r[o];s&&(s instanceof Ia&&(s=s.get("tooltip",!0)),en(s)&&(s={formatter:s}),s&&(i=new Ia(s,i,n)))}return i}function gL(r,t){return r.dispatchAction||an(t.dispatchAction,t)}function sV(r,t,e,n,i,o,s){var l=e.getSize(),f=l[0],v=l[1];return o!=null&&(r+f+o+2>n?r-=f+o:r+=o),s!=null&&(t+v+s>i?t-=v+s:t+=s),[r,t]}function uV(r,t,e,n,i){var o=e.getSize(),s=o[0],l=o[1];return r=Math.min(r+s,n)-s,t=Math.min(t+l,i)-l,r=Math.max(r,0),t=Math.max(t,0),[r,t]}function cV(r,t,e,n){var i=e[0],o=e[1],s=Math.ceil(Math.SQRT2*n)+8,l=0,f=0,v=t.width,C=t.height;switch(r){case"inside":l=t.x+v/2-i/2,f=t.y+C/2-o/2;break;case"top":l=t.x+v/2-i/2,f=t.y-o-s;break;case"bottom":l=t.x+v/2-i/2,f=t.y+C+s;break;case"left":l=t.x-i-s,f=t.y+C/2-o/2;break;case"right":l=t.x+v+s,f=t.y+C/2-o/2}return[l,f]}function pL(r){return r==="center"||r==="middle"}function lV(r,t,e){var n=Iy(r).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var o=$c(t,i,n.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),s=o.models[0];if(s){var l=e.getViewOfComponentModel(s),f;if(l.group.traverse(function(v){var C=Un(v).tooltipConfig;if(C&&C.name===r.name)return f=v,!0}),f)return{componentMainType:i,componentIndex:s.componentIndex,el:f}}}}function hV(r){Fi($4),r.registerComponentModel(qK),r.registerComponentView(oV),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},$o),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},$o)}var fV=["rect","polygon","keep","clear"];function AV(r,t){var e=ja(r?r.brush:[]);if(e.length){var n=[];Ne(e,function(f){var v=f.hasOwnProperty("toolbox")?f.toolbox:[];v instanceof Array&&(n=n.concat(v))});var i=r&&r.toolbox;yr(i)&&(i=i[0]),i||(i={feature:{}},r.toolbox=[i]);var o=i.feature||(i.feature={}),s=o.brush||(o.brush={}),l=s.type||(s.type=[]);l.push.apply(l,n),dV(l),t&&!l.length&&l.push.apply(l,fV)}}function dV(r){var t={};Ne(r,function(e){t[e]=1}),r.length=0,Ne(t,function(e,n){r.push(n)})}var vL=Ne;function yL(r){if(r){for(var t in r)if(r.hasOwnProperty(t))return!0}}function U7(r,t,e){var n={};return vL(t,function(o){var s=n[o]=i();vL(r[o],function(l,f){if(Ic.isValidType(f)){var v={type:f,visual:l};e&&e(v,o),s[f]=new Ic(v),f==="opacity"&&(v=Bn(v),v.type="colorAlpha",s.__hidden.__alphaForOpacity=new Ic(v))}})}),n;function i(){var o=function(){};o.prototype.__hidden=o.prototype;var s=new o;return s}}function mL(r,t,e){var n;Ne(e,function(i){t.hasOwnProperty(i)&&yL(t[i])&&(n=!0)}),n&&Ne(e,function(i){t.hasOwnProperty(i)&&yL(t[i])?r[i]=Bn(t[i]):delete r[i]})}function gV(r,t,e,n,i,o){var s={};Ne(r,function(w){var x=Ic.prepareVisualTypes(t[w]);s[w]=x});var l;function f(w){return Ie(e,l,w)}function v(w,x){qe(e,l,w,x)}e.each(C);function C(w,x){l=w;var Q=e.getRawDataItem(l);if(!(Q&&Q.visualMap===!1))for(var R=n.call(i,w),L=t[R],P=s[R],M=0,k=P.length;M<k;M++){var G=P[M];L[G]&&L[G].applyVisual(w,f,v)}}}function pV(r,t,e,n){var i={};return Ne(r,function(o){var s=Ic.prepareVisualTypes(t[o]);i[o]=s}),{progress:function(o,s){var l;n!=null&&(l=s.getDimensionIndex(n));function f(Y){return Ie(s,C,Y)}function v(Y,re){qe(s,C,Y,re)}for(var C,w=s.getStore();(C=o.next())!=null;){var x=s.getRawDataItem(C);if(!(x&&x.visualMap===!1))for(var Q=n!=null?w.get(l,C):C,R=e(Q),L=t[R],P=i[R],M=0,k=P.length;M<k;M++){var G=P[M];L[G]&&L[G].applyVisual(Q,f,v)}}}}}function vV(r){var t=r.brushType,e={point:function(n){return IL[t].point(n,e,r)},rect:function(n){return IL[t].rect(n,e,r)}};return e}var IL={lineX:bL(0),lineY:bL(1),rect:{point:function(r,t,e){return r&&e.boundingRect.contain(r[0],r[1])},rect:function(r,t,e){return r&&e.boundingRect.intersect(r)}},polygon:{point:function(r,t,e){return r&&e.boundingRect.contain(r[0],r[1])&&X1(e.range,r[0],r[1])},rect:function(r,t,e){var n=e.range;if(!r||n.length<=1)return!1;var i=r.x,o=r.y,s=r.width,l=r.height,f=n[0];if(X1(n,i,o)||X1(n,i+s,o)||X1(n,i,o+l)||X1(n,i+s,o+l)||gi.create(r).contain(f[0],f[1])||E1(i,o,i+s,o,n)||E1(i,o,i,o+l,n)||E1(i+s,o,i+s,o+l,n)||E1(i,o+l,i+s,o+l,n))return!0}}};function bL(r){var t=["x","y"],e=["width","height"];return{point:function(n,i,o){if(n){var s=o.range,l=n[r];return rQ(l,s)}},rect:function(n,i,o){if(n){var s=o.range,l=[n[t[r]],n[t[r]]+n[e[r]]];return l[1]<l[0]&&l.reverse(),rQ(l[0],s)||rQ(l[1],s)||rQ(s[0],l)||rQ(s[1],l)}}}}function rQ(r,t){return t[0]<=r&&r<=t[1]}var CL=["inBrush","outOfBrush"],j7="__ecBrushSelect",H7="__ecInBrushSelectEvent";function wL(r){r.eachComponent({mainType:"brush"},function(t){var e=t.brushTargetManager=new T7(t.option,r);e.setInputRanges(t.areas,r)})}function yV(r,t,e){var n=[],i,o;r.eachComponent({mainType:"brush"},function(s){e&&e.type==="takeGlobalCursor"&&s.setBrushOption(e.key==="brush"?e.brushOption:{brushType:!1})}),wL(r),r.eachComponent({mainType:"brush"},function(s,l){var f={brushId:s.id,brushIndex:l,brushName:s.name,areas:Bn(s.areas),selected:[]};n.push(f);var v=s.option,C=v.brushLink,w=[],x=[],Q=[],R=!1;l||(i=v.throttleType,o=v.throttleDelay);var L=pr(s.areas,function(re){var ie=CV[re.brushType],le=pn({boundingRect:ie?ie(re):void 0},re);return le.selectors=vV(le),le}),P=U7(s.option,CL,function(re){re.mappingMethod="fixed"});yr(C)&&Ne(C,function(re){w[re]=1});function M(re){return C==="all"||!!w[re]}function k(re){return!!re.length}r.eachSeries(function(re,ie){var le=Q[ie]=[];re.subType==="parallel"?G(re,ie):Y(re,ie,le)});function G(re,ie){var le=re.coordinateSystem;R=R||le.hasAxisBrushed(),M(ie)&&le.eachActiveState(re.getData(),function(pe,ve){pe==="active"&&(x[ve]=1)})}function Y(re,ie,le){if(!(!re.brushSelector||bV(s,ie))&&(Ne(L,function(ve){s.brushTargetManager.controlSeries(ve,re,r)&&le.push(ve),R=R||k(le)}),M(ie)&&k(le))){var pe=re.getData();pe.each(function(ve){EL(re,le,pe,ve)&&(x[ve]=1)})}}r.eachSeries(function(re,ie){var le={seriesId:re.id,seriesIndex:ie,seriesName:re.name,dataIndex:[]};f.selected.push(le);var pe=Q[ie],ve=re.getData(),Ee=M(ie)?function(Se){return x[Se]?(le.dataIndex.push(ve.getRawIndex(Se)),"inBrush"):"outOfBrush"}:function(Se){return EL(re,pe,ve,Se)?(le.dataIndex.push(ve.getRawIndex(Se)),"inBrush"):"outOfBrush"};(M(ie)?R:k(pe))&&gV(CL,P,ve,Ee)})}),mV(t,i,o,n,e)}function mV(r,t,e,n,i){if(i){var o=r.getZr();if(!o[H7]){o[j7]||(o[j7]=IV);var s=S(o,j7,e,t);s(r,n)}}}function IV(r,t){if(!r.isDisposed()){var e=r.getZr();e[H7]=!0,r.dispatchAction({type:"brushSelect",batch:t}),e[H7]=!1}}function EL(r,t,e,n){for(var i=0,o=t.length;i<o;i++){var s=t[i];if(r.brushSelector(n,e,s.selectors,s))return!0}}function bV(r,t){var e=r.option.seriesIndex;return e!=null&&e!=="all"&&(yr(e)?Vn(e,t)<0:t!==e)}var CV={rect:function(r){return BL(r.range)},polygon:function(r){for(var t,e=r.range,n=0,i=e.length;n<i;n++){t=t||[[1/0,-1/0],[1/0,-1/0]];var o=e[n];o[0]<t[0][0]&&(t[0][0]=o[0]),o[0]>t[0][1]&&(t[0][1]=o[0]),o[1]<t[1][0]&&(t[1][0]=o[1]),o[1]>t[1][1]&&(t[1][1]=o[1])}return t&&BL(t)}};function BL(r){return new gi(r[0][0],r[1][0],r[0][1]-r[0][0],r[1][1]-r[1][0])}var wV=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n){this.ecModel=e,this.api=n,this.model,(this._brushController=new FS(n.getZr())).on("brush",an(this._onBrush,this)).mount()},t.prototype.render=function(e,n,i,o){this.model=e,this._updateController(e,n,i,o)},t.prototype.updateTransform=function(e,n,i,o){wL(n),this._updateController(e,n,i,o)},t.prototype.updateVisual=function(e,n,i,o){this.updateTransform(e,n,i,o)},t.prototype.updateView=function(e,n,i,o){this._updateController(e,n,i,o)},t.prototype._updateController=function(e,n,i,o){(!o||o.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(i)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var n=this.model.id,i=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:Bn(i),$from:n}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:Bn(i),$from:n})},t.type="brush",t}(a),EV="#ddd",BV=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.areas=[],e.brushOption={},e}return t.prototype.optionUpdated=function(e,n){var i=this.option;!n&&mL(i,e,["inBrush","outOfBrush"]);var o=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:EV},o.hasOwnProperty("liftZ")||(o.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=pr(e,function(n){return kL(this.option,n)},this))},t.prototype.setBrushOption=function(e){this.brushOption=kL(this.option,e),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}(Oi);function kL(r,t){return Kn({brushType:r.brushType,brushMode:r.brushMode,transformable:r.transformable,brushStyle:new Ia(r.brushStyle).getItemStyle(),removeOnClick:r.removeOnClick,z:r.z},t,!0)}var kV=["rect","polygon","lineX","lineY","keep","clear"],QV=function(r){kt(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,i){var o,s,l;n.eachComponent({mainType:"brush"},function(f){o=f.brushType,s=f.brushOption.brushMode||"single",l=l||!!f.areas.length}),this._brushType=o,this._brushMode=s,Ne(e.get("type",!0),function(f){e.setIconStatus(f,(f==="keep"?s==="multiple":f==="clear"?l:f===o)?"emphasis":"normal")})},t.prototype.updateView=function(e,n,i){this.render(e,n,i)},t.prototype.getIcons=function(){var e=this.model,n=e.get("icon",!0),i={};return Ne(e.get("type",!0),function(o){n[o]&&(i[o]=n[o])}),i},t.prototype.onclick=function(e,n,i){var o=this._brushType,s=this._brushMode;i==="clear"?(n.dispatchAction({type:"axisAreaSelect",intervals:[]}),n.dispatchAction({type:"brush",command:"clear",areas:[]})):n.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:i==="keep"?o:o===i?!1:i,brushMode:i==="keep"?s==="multiple"?"single":"multiple":s}})},t.getDefaultOption=function(e){var n={show:!0,type:kV.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:e.getLocaleModel().get(["toolbox","brush","title"])};return n},t}(sd);function xV(r){r.registerComponentView(wV),r.registerComponentModel(BV),r.registerPreprocessor(AV),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,yV),r.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(n){n.setAreas(t.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},$o),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},$o),C3("brush",QV)}var SV=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(Oi),_V=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){if(this.group.removeAll(),!!e.get("show")){var o=this.group,s=e.getModel("textStyle"),l=e.getModel("subtextStyle"),f=e.get("textAlign"),v=$n(e.get("textBaseline"),e.get("textVerticalAlign")),C=new Mn({style:La(s,{text:e.get("text"),fill:s.getTextColor()},{disableBox:!0}),z2:10}),w=C.getBoundingRect(),x=e.get("subtext"),Q=new Mn({style:La(l,{text:x,fill:l.getTextColor(),y:w.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),R=e.get("link"),L=e.get("sublink"),P=e.get("triggerEvent",!0);C.silent=!R&&!P,Q.silent=!L&&!P,R&&C.on("click",function(){nm(R,"_"+e.get("target"))}),L&&Q.on("click",function(){nm(L,"_"+e.get("subtarget"))}),Un(C).eventData=Un(Q).eventData=P?{componentType:"title",componentIndex:e.componentIndex}:null,o.add(C),x&&o.add(Q);var M=o.getBoundingRect(),k=e.getBoxLayoutParams();k.width=M.width,k.height=M.height;var G=Mo(k,{width:i.getWidth(),height:i.getHeight()},e.get("padding"));f||(f=e.get("left")||e.get("right"),f==="middle"&&(f="center"),f==="right"?G.x+=G.width:f==="center"&&(G.x+=G.width/2)),v||(v=e.get("top")||e.get("bottom"),v==="center"&&(v="middle"),v==="bottom"?G.y+=G.height:v==="middle"&&(G.y+=G.height/2),v=v||"top"),o.x=G.x,o.y=G.y,o.markRedraw();var Y={align:f,verticalAlign:v};C.setStyle(Y),Q.setStyle(Y),M=o.getBoundingRect();var re=G.margin,ie=e.getItemStyle(["color","opacity"]);ie.fill=e.get("backgroundColor");var le=new ta({shape:{x:M.x-re[3],y:M.y-re[0],width:M.width+re[1]+re[3],height:M.height+re[0]+re[2],r:e.get("borderRadius")},style:ie,subPixelOptimize:!0,silent:!0});o.add(le)}},t.type="title",t}(a);function DV(r){r.registerComponentModel(SV),r.registerComponentView(_V)}var QL=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode="box",e}return t.prototype.init=function(e,n,i){this.mergeDefaultAndTheme(e,i),this._initData()},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){e==null&&(e=this.option.currentIndex);var n=this._data.count();this.option.loop?e=(e%n+n)%n:(e>=n&&(e=n-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e=this.option,n=e.data||[],i=e.axisType,o=this._names=[],s;i==="category"?(s=[],Ne(n,function(v,C){var w=es(Sd(v),""),x;Ln(v)?(x=Bn(v),x.value=C):x=C,s.push(x),o.push(w)})):s=n;var l={category:"ordinal",time:"time",value:"number"}[i]||"number",f=this._data=new sl([{name:"value",type:l}],this);f.initData(s,o)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(Oi),xL=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="timeline.slider",t.defaultOption=TA(QL.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t}(QL);Ea(xL,O1.prototype);var RV=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="timeline",t}(a),MV=function(r){kt(t,r);function t(e,n,i,o){var s=r.call(this,e,n,i)||this;return s.type=o||"value",s}return t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},t}(_u),Y7=Math.PI,SL=Vi(),FV=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n){this.api=n},t.prototype.render=function(e,n,i){if(this.model=e,this.api=i,this.ecModel=n,this.group.removeAll(),e.get("show",!0)){var o=this._layout(e,i),s=this._createGroup("_mainGroup"),l=this._createGroup("_labelGroup"),f=this._axis=this._createAxis(o,e);e.formatTooltip=function(v){var C=f.scale.getLabel({value:v});return Xs("nameValue",{noName:!0,value:C})},Ne(["AxisLine","AxisTick","Control","CurrentPointer"],function(v){this["_render"+v](o,s,f,e)},this),this._renderAxisLabel(o,l,f,e),this._position(o,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,n){var i=e.get(["label","position"]),o=e.get("orient"),s=LV(e,n),l;i==null||i==="auto"?l=o==="horizontal"?s.y+s.height/2<n.getHeight()/2?"-":"+":s.x+s.width/2<n.getWidth()/2?"+":"-":en(i)?l={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[o][i]:l=i;var f={horizontal:"center",vertical:l>=0||l==="+"?"left":"right"},v={horizontal:l>=0||l==="+"?"top":"bottom",vertical:"middle"},C={horizontal:0,vertical:Y7/2},w=o==="vertical"?s.height:s.width,x=e.getModel("controlStyle"),Q=x.get("show",!0),R=Q?x.get("itemSize"):0,L=Q?x.get("itemGap"):0,P=R+L,M=e.get(["label","rotate"])||0;M=M*Y7/180;var k,G,Y,re=x.get("position",!0),ie=Q&&x.get("showPlayBtn",!0),le=Q&&x.get("showPrevBtn",!0),pe=Q&&x.get("showNextBtn",!0),ve=0,Ee=w;re==="left"||re==="bottom"?(ie&&(k=[0,0],ve+=P),le&&(G=[ve,0],ve+=P),pe&&(Y=[Ee-R,0],Ee-=P)):(ie&&(k=[Ee-R,0],Ee-=P),le&&(G=[0,0],ve+=P),pe&&(Y=[Ee-R,0],Ee-=P));var Se=[ve,Ee];return e.get("inverse")&&Se.reverse(),{viewRect:s,mainLength:w,orient:o,rotation:C[o],labelRotation:M,labelPosOpt:l,labelAlign:e.get(["label","align"])||f[o],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||v[o],playPosition:k,prevBtnPosition:G,nextBtnPosition:Y,axisExtent:Se,controlSize:R,controlGap:L}},t.prototype._position=function(e,n){var i=this._mainGroup,o=this._labelGroup,s=e.viewRect;if(e.orient==="vertical"){var l=Lu(),f=s.x,v=s.y+s.height;Hs(l,l,[-f,-v]),nf(l,l,-Y7/2),Hs(l,l,[f,v]),s=s.clone(),s.applyTransform(l)}var C=k(s),w=k(i.getBoundingRect()),x=k(o.getBoundingRect()),Q=[i.x,i.y],R=[o.x,o.y];R[0]=Q[0]=C[0][0];var L=e.labelPosOpt;if(L==null||en(L)){var P=L==="+"?0:1;G(Q,w,C,1,P),G(R,x,C,1,1-P)}else{var P=L>=0?0:1;G(Q,w,C,1,P),R[1]=Q[1]+L}i.setPosition(Q),o.setPosition(R),i.rotation=o.rotation=e.rotation,M(i),M(o);function M(Y){Y.originX=C[0][0]-Y.x,Y.originY=C[1][0]-Y.y}function k(Y){return[[Y.x,Y.x+Y.width],[Y.y,Y.y+Y.height]]}function G(Y,re,ie,le,pe){Y[le]+=ie[le][pe]-re[le][pe]}},t.prototype._createAxis=function(e,n){var i=n.getData(),o=n.get("axisType"),s=TV(n,o);s.getTicks=function(){return i.mapArray(["value"],function(v){return{value:v}})};var l=i.getDataExtent("value");s.setExtent(l[0],l[1]),s.calcNiceTicks();var f=new MV("value",s,e.axisExtent,o);return f.model=n,f},t.prototype._createGroup=function(e){var n=this[e]=new Nn;return this.group.add(n),n},t.prototype._renderAxisLine=function(e,n,i,o){var s=i.getExtent();if(o.get(["lineStyle","show"])){var l=new Vs({shape:{x1:s[0],y1:0,x2:s[1],y2:0},style:ar({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});n.add(l);var f=this._progressLine=new Vs({shape:{x1:s[0],x2:this._currentPointer?this._currentPointer.x:s[0],y1:0,y2:0},style:pn({lineCap:"round",lineWidth:l.style.lineWidth},o.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});n.add(f)}},t.prototype._renderAxisTick=function(e,n,i,o){var s=this,l=o.getData(),f=i.scale.getTicks();this._tickSymbols=[],Ne(f,function(v){var C=i.dataToCoord(v.value),w=l.getItemModel(v.value),x=w.getModel("itemStyle"),Q=w.getModel(["emphasis","itemStyle"]),R=w.getModel(["progress","itemStyle"]),L={x:C,y:0,onclick:an(s._changeTimeline,s,v.value)},P=_L(w,x,n,L);P.ensureState("emphasis").style=Q.getItemStyle(),P.ensureState("progress").style=R.getItemStyle(),QA(P);var M=Un(P);w.get("tooltip")?(M.dataIndex=v.value,M.dataModel=o):M.dataIndex=M.dataModel=null,s._tickSymbols.push(P)})},t.prototype._renderAxisLabel=function(e,n,i,o){var s=this,l=i.getLabelModel();if(l.get("show")){var f=o.getData(),v=i.getViewLabels();this._tickLabels=[],Ne(v,function(C){var w=C.tickValue,x=f.getItemModel(w),Q=x.getModel("label"),R=x.getModel(["emphasis","label"]),L=x.getModel(["progress","label"]),P=i.dataToCoord(C.tickValue),M=new Mn({x:P,y:0,rotation:e.labelRotation-e.rotation,onclick:an(s._changeTimeline,s,w),silent:!1,style:La(Q,{text:C.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});M.ensureState("emphasis").style=La(R),M.ensureState("progress").style=La(L),n.add(M),QA(M),SL(M).dataIndex=w,s._tickLabels.push(M)})}},t.prototype._renderControl=function(e,n,i,o){var s=e.controlSize,l=e.rotation,f=o.getModel("controlStyle").getItemStyle(),v=o.getModel(["emphasis","controlStyle"]).getItemStyle(),C=o.getPlayState(),w=o.get("inverse",!0);x(e.nextBtnPosition,"next",an(this._changeTimeline,this,w?"-":"+")),x(e.prevBtnPosition,"prev",an(this._changeTimeline,this,w?"+":"-")),x(e.playPosition,C?"stop":"play",an(this._handlePlayClick,this,!C),!0);function x(Q,R,L,P){if(Q){var M=Do($n(o.get(["controlStyle",R+"BtnSize"]),s),s),k=[0,-M/2,M,M],G=NV(o,R+"Icon",k,{x:Q[0],y:Q[1],originX:s/2,originY:0,rotation:P?-l:0,rectHover:!0,style:f,onclick:L});G.ensureState("emphasis").style=v,n.add(G),QA(G)}}},t.prototype._renderCurrentPointer=function(e,n,i,o){var s=o.getData(),l=o.getCurrentIndex(),f=s.getItemModel(l).getModel("checkpointStyle"),v=this,C={onCreate:function(w){w.draggable=!0,w.drift=an(v._handlePointerDrag,v),w.ondragend=an(v._handlePointerDragend,v),DL(w,v._progressLine,l,i,o,!0)},onUpdate:function(w){DL(w,v._progressLine,l,i,o)}};this._currentPointer=_L(f,f,this._mainGroup,{},this._currentPointer,C)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,n,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,n){var i=this._toAxisCoord(e)[0],o=this._axis,s=ki(o.getExtent().slice());i>s[1]&&(i=s[1]),i<s[0]&&(i=s[0]),this._currentPointer.x=i,this._currentPointer.markRedraw();var l=this._progressLine;l&&(l.shape.x2=i,l.dirty());var f=this._findNearestTick(i),v=this.model;(n||f!==v.getCurrentIndex()&&v.get("realtime"))&&this._changeTimeline(f)},t.prototype._doPlayStop=function(){var e=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var n=e.model;e._changeTimeline(n.getCurrentIndex()+(n.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},t.prototype._toAxisCoord=function(e){var n=this._mainGroup.getLocalTransform();return Rl(e,n,!0)},t.prototype._findNearestTick=function(e){var n=this.model.getData(),i=1/0,o,s=this._axis;return n.each(["value"],function(l,f){var v=s.dataToCoord(l),C=Math.abs(v-e);C<i&&(i=C,o=f)}),o},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._changeTimeline=function(e){var n=this.model.getCurrentIndex();e==="+"?e=n+1:e==="-"&&(e=n-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})},t.prototype._updateTicksStatus=function(){var e=this.model.getCurrentIndex(),n=this._tickSymbols,i=this._tickLabels;if(n)for(var o=0;o<n.length;o++)n&&n[o]&&n[o].toggleState("progress",o<e);if(i)for(var o=0;o<i.length;o++)i&&i[o]&&i[o].toggleState("progress",SL(i[o]).dataIndex<=e)},t.type="timeline.slider",t}(RV);function TV(r,t){if(t=t||r.get("type"),t)switch(t){case"category":return new Lf({ordinalMeta:r.getCategories(),extent:[1/0,-1/0]});case"time":return new Vb({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new Cg}}function LV(r,t){return Mo(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},r.get("padding"))}function NV(r,t,e,n){var i=n.style,o=RA(r.get(["controlStyle",t]),n,new gi(e[0],e[1],e[2],e[3]));return i&&o.setStyle(i),o}function _L(r,t,e,n,i,o){var s=t.get("color");if(i)i.setColor(s),e.add(i),o&&o.onUpdate(i);else{var l=r.get("symbol");i=yt(l,-1,-1,2,2,s),i.setStyle("strokeNoScale",!0),e.add(i),o&&o.onCreate(i)}var f=t.getItemStyle(["color"]);i.setStyle(f),n=Kn({rectHover:!0,z2:100},n,!0);var v=Mt(r.get("symbolSize"));n.scaleX=v[0]/2,n.scaleY=v[1]/2;var C=cr(r.get("symbolOffset"),v);C&&(n.x=(n.x||0)+C[0],n.y=(n.y||0)+C[1]);var w=r.get("symbolRotate");return n.rotation=(w||0)*Math.PI/180||0,i.attr(n),i.updateTransform(),i}function DL(r,t,e,n,i,o){if(!r.dragging){var s=i.getModel("checkpointStyle"),l=n.dataToCoord(i.getData().get("value",e));if(o||!s.get("animation",!0))r.attr({x:l,y:0}),t&&t.attr({shape:{x2:l}});else{var f={duration:s.get("animationDuration",!0),easing:s.get("animationEasing",!0)};r.stopAnimation(null,!0),r.animateTo({x:l,y:0},f),t&&t.animateTo({shape:{x2:l}},f)}}}function OV(r){r.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e,n){var i=e.getComponent("timeline");return i&&t.currentIndex!=null&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),pn({currentIndex:i.option.currentIndex},t)}),r.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var n=e.getComponent("timeline");n&&t.playState!=null&&n.setPlayState(t.playState)})}function PV(r){var t=r&&r.timeline;yr(t)||(t=t?[t]:[]),Ne(t,function(e){e&&GV(e)})}function GV(r){var t=r.type,e={number:"value",time:"time"};if(e[t]&&(r.axisType=e[t],delete r.type),RL(r),kC(r,"controlPosition")){var n=r.controlStyle||(r.controlStyle={});kC(n,"position")||(n.position=r.controlPosition),n.position==="none"&&!kC(n,"show")&&(n.show=!1,delete n.position),delete r.controlPosition}Ne(r.data||[],function(i){Ln(i)&&!yr(i)&&(!kC(i,"value")&&kC(i,"name")&&(i.value=i.name),RL(i))})}function RL(r){var t=r.itemStyle||(r.itemStyle={}),e=t.emphasis||(t.emphasis={}),n=r.label||r.label||{},i=n.normal||(n.normal={}),o={normal:1,emphasis:1};Ne(n,function(s,l){!o[l]&&!kC(i,l)&&(i[l]=s)}),e.label&&!kC(n,"emphasis")&&(n.emphasis=e.label,delete e.label)}function kC(r,t){return r.hasOwnProperty(t)}function UV(r){r.registerComponentModel(xL),r.registerComponentView(FV),r.registerSubTypeDefaulter("timeline",function(){return"slider"}),OV(r),r.registerPreprocessor(PV)}function J7(r,t){if(!r)return!1;for(var e=yr(r)?r:[r],n=0;n<e.length;n++)if(e[n]&&e[n][t])return!0;return!1}function R9(r){xd(r,"label",["show"])}var M9=Vi(),gv=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.createdBySelf=!1,e}return t.prototype.init=function(e,n,i){this.mergeDefaultAndTheme(e,i),this._mergeOption(e,i,!1,!0)},t.prototype.isAnimationEnabled=function(){if(Yn.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,n){this._mergeOption(e,n,!1,!1)},t.prototype._mergeOption=function(e,n,i,o){var s=this.mainType;i||n.eachSeries(function(l){var f=l.get(this.mainType,!0),v=M9(l)[s];if(!f||!f.data){M9(l)[s]=null;return}v?v._mergeOption(f,n,!0):(o&&R9(f),Ne(f.data,function(C){C instanceof Array?(R9(C[0]),R9(C[1])):R9(C)}),v=this.createMarkerModelFromSeries(f,this,n),ar(v,{mainType:this.mainType,seriesIndex:l.seriesIndex,name:l.name,createdBySelf:!0}),v.__hostSeries=l),M9(l)[s]=v},this)},t.prototype.formatTooltip=function(e,n,i){var o=this.getData(),s=this.getRawValue(e),l=o.getName(e);return Xs("section",{header:this.name,blocks:[Xs("nameValue",{name:l,value:s,noName:!l,noValue:s==null})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.prototype.getDataParams=function(e,n){var i=O1.prototype.getDataParams.call(this,e,n),o=this.__hostSeries;return o&&(i.seriesId=o.id,i.seriesName=o.name,i.seriesType=o.subType),i},t.getMarkerModelFromSeries=function(e,n){return M9(e)[n]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(Oi);Ea(gv,O1.prototype);var jV=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.createMarkerModelFromSeries=function(e,n,i){return new t(e,n,i)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(gv);function W7(r){return!(isNaN(parseFloat(r.x))&&isNaN(parseFloat(r.y)))}function HV(r){return!isNaN(parseFloat(r.x))&&!isNaN(parseFloat(r.y))}function F9(r,t,e,n,i,o){var s=[],l=Tc(t,n),f=l?t.getCalculationInfo("stackResultDimension"):n,v=z7(t,f,r),C=t.indicesOfNearest(f,v)[0];s[i]=t.get(e,C),s[o]=t.get(f,C);var w=t.get(n,C),x=uu(t.get(n,C));return x=Math.min(x,20),x>=0&&(s[o]=+s[o].toFixed(x)),[s,w]}var q7={min:ni(F9,"min"),max:ni(F9,"max"),average:ni(F9,"average"),median:ni(F9,"median")};function nQ(r,t){if(t){var e=r.getData(),n=r.coordinateSystem,i=n&&n.dimensions;if(!HV(t)&&!yr(t.coord)&&yr(i)){var o=ML(t,e,n,r);if(t=Bn(t),t.type&&q7[t.type]&&o.baseAxis&&o.valueAxis){var s=Vn(i,o.baseAxis.dim),l=Vn(i,o.valueAxis.dim),f=q7[t.type](e,o.baseDataDim,o.valueDataDim,s,l);t.coord=f[0],t.value=f[1]}else t.coord=[t.xAxis!=null?t.xAxis:t.radiusAxis,t.yAxis!=null?t.yAxis:t.angleAxis]}if(t.coord==null||!yr(i))t.coord=[];else for(var v=t.coord,C=0;C<2;C++)q7[v[C]]&&(v[C]=z7(e,e.mapDimension(i[C]),v[C]));return t}}function ML(r,t,e,n){var i={};return r.valueIndex!=null||r.valueDim!=null?(i.valueDataDim=r.valueIndex!=null?t.getDimension(r.valueIndex):r.valueDim,i.valueAxis=e.getAxis(YV(n,i.valueDataDim)),i.baseAxis=e.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=n.getBaseAxis(),i.valueAxis=e.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function YV(r,t){var e=r.getData().getDimensionInfo(t);return e&&e.coordDim}function iQ(r,t){return r&&r.containData&&t.coord&&!W7(t)?r.containData(t.coord):!0}function JV(r,t,e){return r&&r.containZone&&t.coord&&e.coord&&!W7(t)&&!W7(e)?r.containZone(t.coord,e.coord):!0}function FL(r,t){return r?function(e,n,i,o){var s=o<2?e.coord&&e.coord[o]:e.value;return Sf(s,t[o])}:function(e,n,i,o){return Sf(e.value,t[o])}}function z7(r,t,e){if(e==="average"){var n=0,i=0;return r.each(t,function(o,s){isNaN(o)||(n+=o,i++)}),n/i}else return e==="median"?r.getMedian(t):r.getDataExtent(t)[e==="max"?1:0]}var K7=Vi(),V7=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){this.markerGroupMap=mn()},t.prototype.render=function(e,n,i){var o=this,s=this.markerGroupMap;s.each(function(l){K7(l).keep=!1}),n.eachSeries(function(l){var f=gv.getMarkerModelFromSeries(l,o.type);f&&o.renderSeries(l,f,n,i)}),s.each(function(l){!K7(l).keep&&o.group.remove(l.group)})},t.prototype.markKeep=function(e){K7(e).keep=!0},t.prototype.toggleBlurSeries=function(e,n){var i=this;Ne(e,function(o){var s=gv.getMarkerModelFromSeries(o,i.type);if(s){var l=s.getData();l.eachItemGraphicEl(function(f){f&&(n?Jd(f):Wd(f))})}})},t.type="marker",t}(a);function TL(r,t,e){var n=t.coordinateSystem;r.each(function(i){var o=r.getItemModel(i),s,l=jr(o.get("x"),e.getWidth()),f=jr(o.get("y"),e.getHeight());if(!isNaN(l)&&!isNaN(f))s=[l,f];else if(t.getMarkerPosition)s=t.getMarkerPosition(r.getValues(r.dimensions,i));else if(n){var v=r.get(n.dimensions[0],i),C=r.get(n.dimensions[1],i);s=n.dataToPoint([v,C])}isNaN(l)||(s[0]=l),isNaN(f)||(s[1]=f),r.setItemLayout(i,s)})}var WV=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,n,i){n.eachSeries(function(o){var s=gv.getMarkerModelFromSeries(o,"markPoint");s&&(TL(s.getData(),o,i),this.markerGroupMap.get(o.id).updateLayout())},this)},t.prototype.renderSeries=function(e,n,i,o){var s=e.coordinateSystem,l=e.id,f=e.getData(),v=this.markerGroupMap,C=v.get(l)||v.set(l,new Gm),w=qV(s,e,n);n.setData(w),TL(n.getData(),e,o),w.each(function(x){var Q=w.getItemModel(x),R=Q.getShallow("symbol"),L=Q.getShallow("symbolSize"),P=Q.getShallow("symbolRotate"),M=Q.getShallow("symbolOffset"),k=Q.getShallow("symbolKeepAspect");if(bn(R)||bn(L)||bn(P)||bn(M)){var G=n.getRawValue(x),Y=n.getDataParams(x);bn(R)&&(R=R(G,Y)),bn(L)&&(L=L(G,Y)),bn(P)&&(P=P(G,Y)),bn(M)&&(M=M(G,Y))}var re=Q.getModel("itemStyle").getItemStyle(),ie=Re(f,"color");re.fill||(re.fill=ie),w.setItemVisual(x,{symbol:R,symbolSize:L,symbolRotate:P,symbolOffset:M,symbolKeepAspect:k,style:re})}),C.updateData(w),this.group.add(C.group),w.eachItemGraphicEl(function(x){x.traverse(function(Q){Un(Q).dataModel=n})}),this.markKeep(C),C.group.silent=n.get("silent")||e.get("silent")},t.type="markPoint",t}(V7);function qV(r,t,e){var n;r?n=pr(r&&r.dimensions,function(l){var f=t.getData().getDimensionInfo(t.getData().mapDimension(l))||{};return ar(ar({},f),{name:l,ordinalMeta:null})}):n=[{name:"value",type:"float"}];var i=new sl(n,e),o=pr(e.get("data"),ni(nQ,t));r&&(o=Ii(o,ni(iQ,r)));var s=FL(!!r,n);return i.initData(o,null,s),i}function zV(r){r.registerComponentModel(jV),r.registerComponentView(WV),r.registerPreprocessor(function(t){J7(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}var KV=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.createMarkerModelFromSeries=function(e,n,i){return new t(e,n,i)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}(gv),T9=Vi(),VV=function(r,t,e,n){var i=r.getData(),o;if(yr(n))o=n;else{var s=n.type;if(s==="min"||s==="max"||s==="average"||s==="median"||n.xAxis!=null||n.yAxis!=null){var l=void 0,f=void 0;if(n.yAxis!=null||n.xAxis!=null)l=t.getAxis(n.yAxis!=null?"y":"x"),f=Bs(n.yAxis,n.xAxis);else{var v=ML(n,i,t,r);l=v.valueAxis;var C=JA(i,v.valueDataDim);f=z7(i,C,s)}var w=l.dim==="x"?0:1,x=1-w,Q=Bn(n),R={coord:[]};Q.type=null,Q.coord=[],Q.coord[x]=-1/0,R.coord[x]=1/0;var L=e.get("precision");L>=0&&$i(f)&&(f=+f.toFixed(Math.min(L,20))),Q.coord[w]=R.coord[w]=f,o=[Q,R,{type:s,valueIndex:n.valueIndex,value:f}]}else o=[]}var P=[nQ(r,o[0]),nQ(r,o[1]),ar({},o[2])];return P[2].type=P[2].type||null,Kn(P[2],P[0]),Kn(P[2],P[1]),P};function L9(r){return!isNaN(r)&&!isFinite(r)}function LL(r,t,e,n){var i=1-r,o=n.dimensions[r];return L9(t[i])&&L9(e[i])&&t[r]===e[r]&&n.getAxis(o).containData(t[r])}function ZV(r,t){if(r.type==="cartesian2d"){var e=t[0].coord,n=t[1].coord;if(e&&n&&(LL(1,e,n,r)||LL(0,e,n,r)))return!0}return iQ(r,t[0])&&iQ(r,t[1])}function Z7(r,t,e,n,i){var o=n.coordinateSystem,s=r.getItemModel(t),l,f=jr(s.get("x"),i.getWidth()),v=jr(s.get("y"),i.getHeight());if(!isNaN(f)&&!isNaN(v))l=[f,v];else{if(n.getMarkerPosition)l=n.getMarkerPosition(r.getValues(r.dimensions,t));else{var C=o.dimensions,w=r.get(C[0],t),x=r.get(C[1],t);l=o.dataToPoint([w,x])}if(v0(o,"cartesian2d")){var Q=o.getAxis("x"),R=o.getAxis("y"),C=o.dimensions;L9(r.get(C[0],t))?l[0]=Q.toGlobalCoord(Q.getExtent()[e?0:1]):L9(r.get(C[1],t))&&(l[1]=R.toGlobalCoord(R.getExtent()[e?0:1]))}isNaN(f)||(l[0]=f),isNaN(v)||(l[1]=v)}r.setItemLayout(t,l)}var XV=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,n,i){n.eachSeries(function(o){var s=gv.getMarkerModelFromSeries(o,"markLine");if(s){var l=s.getData(),f=T9(s).from,v=T9(s).to;f.each(function(C){Z7(f,C,!0,o,i),Z7(v,C,!1,o,i)}),l.each(function(C){l.setItemLayout(C,[f.getItemLayout(C),v.getItemLayout(C)])}),this.markerGroupMap.get(o.id).updateLayout()}},this)},t.prototype.renderSeries=function(e,n,i,o){var s=e.coordinateSystem,l=e.id,f=e.getData(),v=this.markerGroupMap,C=v.get(l)||v.set(l,new CS);this.group.add(C.group);var w=$V(s,e,n),x=w.from,Q=w.to,R=w.line;T9(n).from=x,T9(n).to=Q,n.setData(R);var L=n.get("symbol"),P=n.get("symbolSize"),M=n.get("symbolRotate"),k=n.get("symbolOffset");yr(L)||(L=[L,L]),yr(P)||(P=[P,P]),yr(M)||(M=[M,M]),yr(k)||(k=[k,k]),w.from.each(function(Y){G(x,Y,!0),G(Q,Y,!1)}),R.each(function(Y){var re=R.getItemModel(Y).getModel("lineStyle").getLineStyle();R.setItemLayout(Y,[x.getItemLayout(Y),Q.getItemLayout(Y)]),re.stroke==null&&(re.stroke=x.getItemVisual(Y,"style").fill),R.setItemVisual(Y,{fromSymbolKeepAspect:x.getItemVisual(Y,"symbolKeepAspect"),fromSymbolOffset:x.getItemVisual(Y,"symbolOffset"),fromSymbolRotate:x.getItemVisual(Y,"symbolRotate"),fromSymbolSize:x.getItemVisual(Y,"symbolSize"),fromSymbol:x.getItemVisual(Y,"symbol"),toSymbolKeepAspect:Q.getItemVisual(Y,"symbolKeepAspect"),toSymbolOffset:Q.getItemVisual(Y,"symbolOffset"),toSymbolRotate:Q.getItemVisual(Y,"symbolRotate"),toSymbolSize:Q.getItemVisual(Y,"symbolSize"),toSymbol:Q.getItemVisual(Y,"symbol"),style:re})}),C.updateData(R),w.line.eachItemGraphicEl(function(Y){Un(Y).dataModel=n,Y.traverse(function(re){Un(re).dataModel=n})});function G(Y,re,ie){var le=Y.getItemModel(re);Z7(Y,re,ie,e,o);var pe=le.getModel("itemStyle").getItemStyle();pe.fill==null&&(pe.fill=Re(f,"color")),Y.setItemVisual(re,{symbolKeepAspect:le.get("symbolKeepAspect"),symbolOffset:$n(le.get("symbolOffset",!0),k[ie?0:1]),symbolRotate:$n(le.get("symbolRotate",!0),M[ie?0:1]),symbolSize:$n(le.get("symbolSize"),P[ie?0:1]),symbol:$n(le.get("symbol",!0),L[ie?0:1]),style:pe})}this.markKeep(C),C.group.silent=n.get("silent")||e.get("silent")},t.type="markLine",t}(V7);function $V(r,t,e){var n;r?n=pr(r&&r.dimensions,function(v){var C=t.getData().getDimensionInfo(t.getData().mapDimension(v))||{};return ar(ar({},C),{name:v,ordinalMeta:null})}):n=[{name:"value",type:"float"}];var i=new sl(n,e),o=new sl(n,e),s=new sl([],e),l=pr(e.get("data"),ni(VV,t,r,e));r&&(l=Ii(l,ni(ZV,r)));var f=FL(!!r,n);return i.initData(pr(l,function(v){return v[0]}),null,f),o.initData(pr(l,function(v){return v[1]}),null,f),s.initData(pr(l,function(v){return v[2]})),s.hasItemOption=!0,{from:i,to:o,line:s}}function eZ(r){r.registerComponentModel(KV),r.registerComponentView(XV),r.registerPreprocessor(function(t){J7(t.series,"markLine")&&(t.markLine=t.markLine||{})})}var tZ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.createMarkerModelFromSeries=function(e,n,i){return new t(e,n,i)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(gv),N9=Vi(),rZ=function(r,t,e,n){var i=n[0],o=n[1];if(!(!i||!o)){var s=nQ(r,i),l=nQ(r,o),f=s.coord,v=l.coord;f[0]=Bs(f[0],-1/0),f[1]=Bs(f[1],-1/0),v[0]=Bs(v[0],1/0),v[1]=Bs(v[1],1/0);var C=Us([{},s,l]);return C.coord=[s.coord,l.coord],C.x0=s.x,C.y0=s.y,C.x1=l.x,C.y1=l.y,C}};function O9(r){return!isNaN(r)&&!isFinite(r)}function NL(r,t,e,n){var i=1-r;return O9(t[i])&&O9(e[i])}function nZ(r,t){var e=t.coord[0],n=t.coord[1],i={coord:e,x:t.x0,y:t.y0},o={coord:n,x:t.x1,y:t.y1};return v0(r,"cartesian2d")?e&&n&&(NL(1,e,n)||NL(0,e,n))?!0:JV(r,i,o):iQ(r,i)||iQ(r,o)}function OL(r,t,e,n,i){var o=n.coordinateSystem,s=r.getItemModel(t),l,f=jr(s.get(e[0]),i.getWidth()),v=jr(s.get(e[1]),i.getHeight());if(!isNaN(f)&&!isNaN(v))l=[f,v];else{if(n.getMarkerPosition){var C=r.getValues(["x0","y0"],t),w=r.getValues(["x1","y1"],t),x=o.clampData(C),Q=o.clampData(w),R=[];e[0]==="x0"?R[0]=x[0]>Q[0]?w[0]:C[0]:R[0]=x[0]>Q[0]?C[0]:w[0],e[1]==="y0"?R[1]=x[1]>Q[1]?w[1]:C[1]:R[1]=x[1]>Q[1]?C[1]:w[1],l=n.getMarkerPosition(R,e,!0)}else{var L=r.get(e[0],t),P=r.get(e[1],t),M=[L,P];o.clampData&&o.clampData(M,M),l=o.dataToPoint(M,!0)}if(v0(o,"cartesian2d")){var k=o.getAxis("x"),G=o.getAxis("y"),L=r.get(e[0],t),P=r.get(e[1],t);O9(L)?l[0]=k.toGlobalCoord(k.getExtent()[e[0]==="x0"?0:1]):O9(P)&&(l[1]=G.toGlobalCoord(G.getExtent()[e[1]==="y0"?0:1]))}isNaN(f)||(l[0]=f),isNaN(v)||(l[1]=v)}return l}var PL=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],iZ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,n,i){n.eachSeries(function(o){var s=gv.getMarkerModelFromSeries(o,"markArea");if(s){var l=s.getData();l.each(function(f){var v=pr(PL,function(w){return OL(l,f,w,o,i)});l.setItemLayout(f,v);var C=l.getItemGraphicEl(f);C.setShape("points",v)})}},this)},t.prototype.renderSeries=function(e,n,i,o){var s=e.coordinateSystem,l=e.id,f=e.getData(),v=this.markerGroupMap,C=v.get(l)||v.set(l,{group:new Nn});this.group.add(C.group),this.markKeep(C);var w=aZ(s,e,n);n.setData(w),w.each(function(x){var Q=pr(PL,function(pe){return OL(w,x,pe,e,o)}),R=s.getAxis("x").scale,L=s.getAxis("y").scale,P=R.getExtent(),M=L.getExtent(),k=[R.parse(w.get("x0",x)),R.parse(w.get("x1",x))],G=[L.parse(w.get("y0",x)),L.parse(w.get("y1",x))];ki(k),ki(G);var Y=!(P[0]>k[1]||P[1]<k[0]||M[0]>G[1]||M[1]<G[0]),re=!Y;w.setItemLayout(x,{points:Q,allClipped:re});var ie=w.getItemModel(x).getModel("itemStyle").getItemStyle(),le=Re(f,"color");ie.fill||(ie.fill=le,en(ie.fill)&&(ie.fill=Zg(ie.fill,.4))),ie.stroke||(ie.stroke=le),w.setItemVisual(x,"style",ie)}),w.diff(N9(C).data).add(function(x){var Q=w.getItemLayout(x);if(!Q.allClipped){var R=new Yu({shape:{points:Q.points}});w.setItemGraphicEl(x,R),C.group.add(R)}}).update(function(x,Q){var R=N9(C).data.getItemGraphicEl(Q),L=w.getItemLayout(x);L.allClipped?R&&C.group.remove(R):(R?ga(R,{shape:{points:L.points}},n,x):R=new Yu({shape:{points:L.points}}),w.setItemGraphicEl(x,R),C.group.add(R))}).remove(function(x){var Q=N9(C).data.getItemGraphicEl(x);C.group.remove(Q)}).execute(),w.eachItemGraphicEl(function(x,Q){var R=w.getItemModel(Q),L=w.getItemVisual(Q,"style");x.useStyle(w.getItemVisual(Q,"style")),Uo(x,_s(R),{labelFetcher:n,labelDataIndex:Q,defaultText:w.getName(Q)||"",inheritColor:en(L.fill)?Zg(L.fill,1):"#000"}),hu(x,R),uo(x,null,null,R.get(["emphasis","disabled"])),Un(x).dataModel=n}),N9(C).data=w,C.group.silent=n.get("silent")||e.get("silent")},t.type="markArea",t}(V7);function aZ(r,t,e){var n,i,o=["x0","y0","x1","y1"];if(r){var s=pr(r&&r.dimensions,function(v){var C=t.getData(),w=C.getDimensionInfo(C.mapDimension(v))||{};return ar(ar({},w),{name:v,ordinalMeta:null})});i=pr(o,function(v,C){return{name:v,type:s[C%2].type}}),n=new sl(i,e)}else i=[{name:"value",type:"float"}],n=new sl(i,e);var l=pr(e.get("data"),ni(rZ,t,r,e));r&&(l=Ii(l,ni(nZ,r)));var f=r?function(v,C,w,x){var Q=v.coord[Math.floor(x/2)][x%2];return Sf(Q,i[x])}:function(v,C,w,x){return Sf(v.value,i[x])};return n.initData(l,null,f),n.hasItemOption=!0,n}function oZ(r){r.registerComponentModel(tZ),r.registerComponentView(iZ),r.registerPreprocessor(function(t){J7(t.series,"markArea")&&(t.markArea=t.markArea||{})})}var sZ=function(r,t){if(t==="all")return{type:"all",title:r.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:r.getLocaleModel().get(["legend","selector","inverse"])}},X7=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.prototype.init=function(e,n,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(e,n){r.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},t.prototype._updateSelector=function(e){var n=e.selector,i=this.ecModel;n===!0&&(n=e.selector=["all","inverse"]),yr(n)&&Ne(n,function(o,s){en(o)&&(o={type:o}),n[s]=Kn(o,sZ(i,o.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&this.get("selectedMode")==="single"){for(var n=!1,i=0;i<e.length;i++){var o=e[i].get("name");if(this.isSelected(o)){this.select(o),n=!0;break}}!n&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var n=[],i=[];e.eachRawSeries(function(f){var v=f.name;i.push(v);var C;if(f.legendVisualProvider){var w=f.legendVisualProvider,x=w.getAllNames();e.isSeriesFiltered(f)||(i=i.concat(x)),x.length?n=n.concat(x):C=!0}else C=!0;C&&cu(f)&&n.push(f.name)}),this._availableNames=i;var o=this.get("data")||n,s=mn(),l=pr(o,function(f){return(en(f)||$i(f))&&(f={name:f}),s.get(f.name)?null:(s.set(f.name,!0),new Ia(f,this,this.ecModel))},this);this._data=Ii(l,function(f){return!!f})},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var n=this.option.selected,i=this.get("selectedMode");if(i==="single"){var o=this._data;Ne(o,function(s){n[s.get("name")]=!1})}n[e]=!0},t.prototype.unSelect=function(e){this.get("selectedMode")!=="single"&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var n=this.option.selected;n.hasOwnProperty(e)||(n[e]=!0),this[n[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,n=this.option.selected;Ne(e,function(i){n[i.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var e=this._data,n=this.option.selected;Ne(e,function(i){var o=i.get("name",!0);n.hasOwnProperty(o)||(n[o]=!0),n[o]=!n[o]})},t.prototype.isSelected=function(e){var n=this.option.selected;return!(n.hasOwnProperty(e)&&!n[e])&&Vn(this._availableNames,e)>=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(Oi),E3=ni,$7=Ne,P9=Nn,GL=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!1,e}return t.prototype.init=function(){this.group.add(this._contentGroup=new P9),this.group.add(this._selectorGroup=new P9),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,n,i){var o=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!e.get("show",!0)){var s=e.get("align"),l=e.get("orient");(!s||s==="auto")&&(s=e.get("left")==="right"&&l==="vertical"?"right":"left");var f=e.get("selector",!0),v=e.get("selectorPosition",!0);f&&(!v||v==="auto")&&(v=l==="horizontal"?"end":"start"),this.renderInner(s,e,n,i,f,l,v);var C=e.getBoxLayoutParams(),w={width:i.getWidth(),height:i.getHeight()},x=e.get("padding"),Q=Mo(C,w,x),R=this.layoutInner(e,s,Q,o,f,v),L=Mo(pn({width:R.width,height:R.height},C),w,x);this.group.x=L.x-R.x,this.group.y=L.y-R.y,this.group.markRedraw(),this.group.add(this._backgroundEl=KT(R,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,n,i,o,s,l,f){var v=this.getContentGroup(),C=mn(),w=n.get("selectedMode"),x=[];i.eachRawSeries(function(Q){!Q.get("legendHoverLink")&&x.push(Q.id)}),$7(n.getData(),function(Q,R){var L=Q.get("name");if(!this.newlineDisabled&&(L===""||L===`
  279. `)){var P=new P9;P.newline=!0,v.add(P);return}var M=i.getSeriesByName(L)[0];if(!C.get(L))if(M){var k=M.getData(),G=k.getVisual("legendLineStyle")||{},Y=k.getVisual("legendIcon"),re=k.getVisual("style"),ie=this._createItem(M,L,R,Q,n,e,G,re,Y,w,o);ie.on("click",E3(UL,L,null,o,x)).on("mouseover",E3(e_,M.name,null,o,x)).on("mouseout",E3(t_,M.name,null,o,x)),i.ssr&&ie.eachChild(function(le){var pe=Un(le);pe.seriesIndex=M.seriesIndex,pe.dataIndex=R,pe.ssrType="legend"}),C.set(L,!0)}else i.eachRawSeries(function(le){if(!C.get(L)&&le.legendVisualProvider){var pe=le.legendVisualProvider;if(!pe.containName(L))return;var ve=pe.indexOfName(L),Ee=pe.getItemVisual(ve,"style"),Se=pe.getItemVisual(ve,"legendIcon"),ke=qc(Ee.fill);ke&&ke[3]===0&&(ke[3]=.2,Ee=ar(ar({},Ee),{fill:cf(ke,"rgba")}));var Le=this._createItem(le,L,R,Q,n,e,{},Ee,Se,w,o);Le.on("click",E3(UL,null,L,o,x)).on("mouseover",E3(e_,null,L,o,x)).on("mouseout",E3(t_,null,L,o,x)),i.ssr&&Le.eachChild(function(be){var ze=Un(be);ze.seriesIndex=le.seriesIndex,ze.dataIndex=R,ze.ssrType="legend"}),C.set(L,!0)}},this)},this),s&&this._createSelector(s,n,o,l,f)},t.prototype._createSelector=function(e,n,i,o,s){var l=this.getSelectorGroup();$7(e,function(f){var v=f.type,C=new Mn({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:v==="all"?"legendAllSelect":"legendInverseSelect",legendId:n.id})}});l.add(C);var w=n.getModel("selectorLabel"),x=n.getModel(["emphasis","selectorLabel"]);Uo(C,{normal:w,emphasis:x},{defaultText:f.title}),QA(C)})},t.prototype._createItem=function(e,n,i,o,s,l,f,v,C,w,x){var Q=e.visualDrawType,R=s.get("itemWidth"),L=s.get("itemHeight"),P=s.isSelected(n),M=o.get("symbolRotate"),k=o.get("symbolKeepAspect"),G=o.get("icon");C=G||C||"roundRect";var Y=uZ(C,o,f,v,Q,P,x),re=new P9,ie=o.getModel("textStyle");if(bn(e.getLegendIcon)&&(!G||G==="inherit"))re.add(e.getLegendIcon({itemWidth:R,itemHeight:L,icon:C,iconRotate:M,itemStyle:Y.itemStyle,lineStyle:Y.lineStyle,symbolKeepAspect:k}));else{var le=G==="inherit"&&e.getData().getVisual("symbol")?M==="inherit"?e.getData().getVisual("symbolRotate"):M:0;re.add(cZ({itemWidth:R,itemHeight:L,icon:C,iconRotate:le,itemStyle:Y.itemStyle,symbolKeepAspect:k}))}var pe=l==="left"?R+5:-5,ve=l,Ee=s.get("formatter"),Se=n;en(Ee)&&Ee?Se=Ee.replace("{name}",n??""):bn(Ee)&&(Se=Ee(n));var ke=P?ie.getTextColor():o.get("inactiveColor");re.add(new Mn({style:La(ie,{text:Se,x:pe,y:L/2,fill:ke,align:ve,verticalAlign:"middle"},{inheritColor:ke})}));var Le=new ta({shape:re.getBoundingRect(),style:{fill:"transparent"}}),be=o.getModel("tooltip");return be.get("show")&&Ml({el:Le,componentModel:s,itemName:n,itemTooltipOption:be.option}),re.add(Le),re.eachChild(function(ze){ze.silent=!0}),Le.silent=!w,this.getContentGroup().add(re),QA(re),re.__legendDataIndex=i,re},t.prototype.layoutInner=function(e,n,i,o,s,l){var f=this.getContentGroup(),v=this.getSelectorGroup();Qf(e.get("orient"),f,e.get("itemGap"),i.width,i.height);var C=f.getBoundingRect(),w=[-C.x,-C.y];if(v.markRedraw(),f.markRedraw(),s){Qf("horizontal",v,e.get("selectorItemGap",!0));var x=v.getBoundingRect(),Q=[-x.x,-x.y],R=e.get("selectorButtonGap",!0),L=e.getOrient().index,P=L===0?"width":"height",M=L===0?"height":"width",k=L===0?"y":"x";l==="end"?Q[L]+=C[P]+R:w[L]+=x[P]+R,Q[1-L]+=C[M]/2-x[M]/2,v.x=Q[0],v.y=Q[1],f.x=w[0],f.y=w[1];var G={x:0,y:0};return G[P]=C[P]+R+x[P],G[M]=Math.max(C[M],x[M]),G[k]=Math.min(0,x[k]+Q[1-L]),G}else return f.x=w[0],f.y=w[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(a);function uZ(r,t,e,n,i,o,s){function l(P,M){P.lineWidth==="auto"&&(P.lineWidth=M.lineWidth>0?2:0),$7(P,function(k,G){P[G]==="inherit"&&(P[G]=M[G])})}var f=t.getModel("itemStyle"),v=f.getItemStyle(),C=r.lastIndexOf("empty",0)===0?"fill":"stroke",w=f.getShallow("decal");v.decal=!w||w==="inherit"?n.decal:Ms(w,s),v.fill==="inherit"&&(v.fill=n[i]),v.stroke==="inherit"&&(v.stroke=n[C]),v.opacity==="inherit"&&(v.opacity=(i==="fill"?n:e).opacity),l(v,n);var x=t.getModel("lineStyle"),Q=x.getLineStyle();if(l(Q,e),v.fill==="auto"&&(v.fill=n.fill),v.stroke==="auto"&&(v.stroke=n.fill),Q.stroke==="auto"&&(Q.stroke=n.fill),!o){var R=t.get("inactiveBorderWidth"),L=v[C];v.lineWidth=R==="auto"?n.lineWidth>0&&L?2:0:v.lineWidth,v.fill=t.get("inactiveColor"),v.stroke=t.get("inactiveBorderColor"),Q.stroke=x.get("inactiveColor"),Q.lineWidth=x.get("inactiveWidth")}return{itemStyle:v,lineStyle:Q}}function cZ(r){var t=r.icon||"roundRect",e=yt(t,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return e.setStyle(r.itemStyle),e.rotation=(r.iconRotate||0)*Math.PI/180,e.setOrigin([r.itemWidth/2,r.itemHeight/2]),t.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill="#fff",e.style.lineWidth=2),e}function UL(r,t,e,n){t_(r,t,e,n),e.dispatchAction({type:"legendToggleSelect",name:r??t}),e_(r,t,e,n)}function jL(r){for(var t=r.getZr().storage.getDisplayList(),e,n=0,i=t.length;n<i&&!(e=t[n].states.emphasis);)n++;return e&&e.hoverLayer}function e_(r,t,e,n){jL(e)||e.dispatchAction({type:"highlight",seriesName:r,name:t,excludeSeriesId:n})}function t_(r,t,e,n){jL(e)||e.dispatchAction({type:"downplay",seriesName:r,name:t,excludeSeriesId:n})}function lZ(r){var t=r.findComponents({mainType:"legend"});t&&t.length&&r.filterSeries(function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0})}function aQ(r,t,e){var n=r==="allSelect"||r==="inverseSelect",i={},o=[];e.eachComponent({mainType:"legend",query:t},function(l){n?l[r]():l[r](t.name),HL(l,i),o.push(l.componentIndex)});var s={};return e.eachComponent("legend",function(l){Ne(i,function(f,v){l[f?"select":"unSelect"](v)}),HL(l,s)}),n?{selected:s,legendIndex:o}:{name:t.name,selected:s}}function HL(r,t){var e=t||{};return Ne(r.getData(),function(n){var i=n.get("name");if(!(i===`
  280. `||i==="")){var o=r.isSelected(i);ln(e,i)?e[i]=e[i]&&o:e[i]=o}}),e}function hZ(r){r.registerAction("legendToggleSelect","legendselectchanged",ni(aQ,"toggleSelected")),r.registerAction("legendAllSelect","legendselectall",ni(aQ,"allSelect")),r.registerAction("legendInverseSelect","legendinverseselect",ni(aQ,"inverseSelect")),r.registerAction("legendSelect","legendselected",ni(aQ,"select")),r.registerAction("legendUnSelect","legendunselected",ni(aQ,"unSelect"))}function YL(r){r.registerComponentModel(X7),r.registerComponentView(GL),r.registerProcessor(r.PRIORITY.PROCESSOR.SERIES_FILTER,lZ),r.registerSubTypeDefaulter("legend",function(){return"plain"}),hZ(r)}var fZ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(e,n,i){var o=rl(e);r.prototype.init.call(this,e,n,i),JL(this,e,o)},t.prototype.mergeOption=function(e,n){r.prototype.mergeOption.call(this,e,n),JL(this,this.option,e)},t.type="legend.scroll",t.defaultOption=TA(X7.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(X7);function JL(r,t,e){var n=r.getOrient(),i=[1,1];i[n.index]=0,Ds(t,e,{type:"box",ignoreSize:!!i})}var WL=Nn,r_=["width","height"],n_=["x","y"],AZ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!0,e._currentIndex=0,e}return t.prototype.init=function(){r.prototype.init.call(this),this.group.add(this._containerGroup=new WL),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new WL)},t.prototype.resetInner=function(){r.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(e,n,i,o,s,l,f){var v=this;r.prototype.renderInner.call(this,e,n,i,o,s,l,f);var C=this._controllerGroup,w=n.get("pageIconSize",!0),x=yr(w)?w:[w,w];R("pagePrev",0);var Q=n.getModel("pageTextStyle");C.add(new Mn({name:"pageText",style:{text:"xx/xx",fill:Q.getTextColor(),font:Q.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),R("pageNext",1);function R(L,P){var M=L+"DataIndex",k=RA(n.get("pageIcons",!0)[n.getOrient().name][P],{onclick:an(v._pageGo,v,M,n,o)},{x:-x[0]/2,y:-x[1]/2,width:x[0],height:x[1]});k.name=L,C.add(k)}},t.prototype.layoutInner=function(e,n,i,o,s,l){var f=this.getSelectorGroup(),v=e.getOrient().index,C=r_[v],w=n_[v],x=r_[1-v],Q=n_[1-v];s&&Qf("horizontal",f,e.get("selectorItemGap",!0));var R=e.get("selectorButtonGap",!0),L=f.getBoundingRect(),P=[-L.x,-L.y],M=Bn(i);s&&(M[C]=i[C]-L[C]-R);var k=this._layoutContentAndController(e,o,M,v,C,x,Q,w);if(s){if(l==="end")P[v]+=k[C]+R;else{var G=L[C]+R;P[v]-=G,k[w]-=G}k[C]+=L[C]+R,P[1-v]+=k[Q]+k[x]/2-L[x]/2,k[x]=Math.max(k[x],L[x]),k[Q]=Math.min(k[Q],L[Q]+P[1-v]),f.x=P[0],f.y=P[1],f.markRedraw()}return k},t.prototype._layoutContentAndController=function(e,n,i,o,s,l,f,v){var C=this.getContentGroup(),w=this._containerGroup,x=this._controllerGroup;Qf(e.get("orient"),C,e.get("itemGap"),o?i.width:null,o?null:i.height),Qf("horizontal",x,e.get("pageButtonItemGap",!0));var Q=C.getBoundingRect(),R=x.getBoundingRect(),L=this._showController=Q[s]>i[s],P=[-Q.x,-Q.y];n||(P[o]=C[v]);var M=[0,0],k=[-R.x,-R.y],G=$n(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(L){var Y=e.get("pageButtonPosition",!0);Y==="end"?k[o]+=i[s]-R[s]:M[o]+=R[s]+G}k[1-o]+=Q[l]/2-R[l]/2,C.setPosition(P),w.setPosition(M),x.setPosition(k);var re={x:0,y:0};if(re[s]=L?i[s]:Q[s],re[l]=Math.max(Q[l],R[l]),re[f]=Math.min(0,R[f]+k[1-o]),w.__rectSize=i[s],L){var ie={x:0,y:0};ie[s]=Math.max(i[s]-R[s]-G,0),ie[l]=re[l],w.setClipPath(new ta({shape:ie})),w.__rectSize=ie[s]}else x.eachChild(function(pe){pe.attr({invisible:!0,silent:!0})});var le=this._getPageInfo(e);return le.pageIndex!=null&&ga(C,{x:le.contentPosition[0],y:le.contentPosition[1]},L?e:null),this._updatePageInfoView(e,le),re},t.prototype._pageGo=function(e,n,i){var o=this._getPageInfo(n)[e];o!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:n.id})},t.prototype._updatePageInfoView=function(e,n){var i=this._controllerGroup;Ne(["pagePrev","pageNext"],function(C){var w=C+"DataIndex",x=n[w]!=null,Q=i.childOfName(C);Q&&(Q.setStyle("fill",x?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),Q.cursor=x?"pointer":"default")});var o=i.childOfName("pageText"),s=e.get("pageFormatter"),l=n.pageIndex,f=l!=null?l+1:0,v=n.pageCount;o&&s&&o.setStyle("text",en(s)?s.replace("{current}",f==null?"":f+"").replace("{total}",v==null?"":v+""):s({current:f,total:v}))},t.prototype._getPageInfo=function(e){var n=e.get("scrollDataIndex",!0),i=this.getContentGroup(),o=this._containerGroup.__rectSize,s=e.getOrient().index,l=r_[s],f=n_[s],v=this._findTargetItemIndex(n),C=i.children(),w=C[v],x=C.length,Q=x?1:0,R={contentPosition:[i.x,i.y],pageCount:Q,pageIndex:Q-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!w)return R;var L=Y(w);R.contentPosition[s]=-L.s;for(var P=v+1,M=L,k=L,G=null;P<=x;++P)G=Y(C[P]),(!G&&k.e>M.s+o||G&&!re(G,M.s))&&(k.i>M.i?M=k:M=G,M&&(R.pageNextDataIndex==null&&(R.pageNextDataIndex=M.i),++R.pageCount)),k=G;for(var P=v-1,M=L,k=L,G=null;P>=-1;--P)G=Y(C[P]),(!G||!re(k,G.s))&&M.i<k.i&&(k=M,R.pagePrevDataIndex==null&&(R.pagePrevDataIndex=M.i),++R.pageCount,++R.pageIndex),M=G;return R;function Y(ie){if(ie){var le=ie.getBoundingRect(),pe=le[f]+ie[f];return{s:pe,e:pe+le[l],i:ie.__legendDataIndex}}}function re(ie,le){return ie.e>=le&&ie.s<=le+o}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var n,i=this.getContentGroup(),o;return i.eachChild(function(s,l){var f=s.__legendDataIndex;o==null&&f!=null&&(o=l),f===e&&(n=l)}),n??o},t.type="legend.scroll",t}(GL);function dZ(r){r.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;n!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(n)})})}function gZ(r){Fi(YL),r.registerComponentModel(fZ),r.registerComponentView(AZ),dZ(r)}function pZ(r){Fi(YL),Fi(gZ)}var vZ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.inside",t.defaultOption=TA(eQ.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(eQ),i_=Vi();function yZ(r,t,e){i_(r).coordSysRecordMap.each(function(n){var i=n.dataZoomInfoMap.get(t.uid);i&&(i.getRange=e)})}function mZ(r,t){for(var e=i_(r).coordSysRecordMap,n=e.keys(),i=0;i<n.length;i++){var o=n[i],s=e.get(o),l=s.dataZoomInfoMap;if(l){var f=t.uid,v=l.get(f);v&&(l.removeKey(f),l.keys().length||qL(e,s))}}}function qL(r,t){if(t){r.removeKey(t.model.uid);var e=t.controller;e&&e.dispose()}}function IZ(r,t){var e={model:t,containsPoint:ni(CZ,t),dispatchAction:ni(bZ,r),dataZoomInfoMap:null,controller:null},n=e.controller=new N4(r.getZr());return Ne(["pan","zoom","scrollMove"],function(i){n.on(i,function(o){var s=[];e.dataZoomInfoMap.each(function(l){if(o.isAvailableBehavior(l.model.option)){var f=(l.getRange||{})[i],v=f&&f(l.dzReferCoordSysInfo,e.model.mainType,e.controller,o);!l.model.get("disabled",!0)&&v&&s.push({dataZoomId:l.model.id,start:v[0],end:v[1]})}}),s.length&&e.dispatchAction(s)})}),e}function bZ(r,t){r.isDisposed()||r.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function CZ(r,t,e,n){return r.coordinateSystem.containPoint([e,n])}function wZ(r){var t,e="type_",n={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return r.each(function(o){var s=o.model,l=s.get("disabled",!0)?!1:s.get("zoomLock",!0)?"move":!0;n[e+l]>n[e+t]&&(t=l),i=i&&s.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function EZ(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=i_(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=mn());i.each(function(o){o.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(o){var s=HT(o);Ne(s.infoList,function(l){var f=l.model.uid,v=i.get(f)||i.set(f,IZ(e,l.model)),C=v.dataZoomInfoMap||(v.dataZoomInfoMap=mn());C.set(o.uid,{dzReferCoordSysInfo:l,model:o,getRange:null})})}),i.each(function(o){var s=o.controller,l,f=o.dataZoomInfoMap;if(f){var v=f.keys()[0];v!=null&&(l=f.get(v))}if(!l){qL(i,o);return}var C=wZ(f);s.enable(C.controlType,C.opt),s.setPointerChecker(o.containsPoint),S(o,"dispatchAction",l.model.get("throttle",!0),"fixRate")})})}var BZ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return t.prototype.render=function(e,n,i){if(r.prototype.render.apply(this,arguments),e.noTarget()){this._clear();return}this.range=e.getPercentRange(),yZ(i,e,{pan:an(a_.pan,this),zoom:an(a_.zoom,this),scrollMove:an(a_.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){mZ(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(D7),a_={zoom:function(r,t,e,n){var i=this.range,o=i.slice(),s=r.axisModels[0];if(s){var l=o_[t](null,[n.originX,n.originY],s,e,r),f=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],v=Math.max(1/n.scale,0);o[0]=(o[0]-f)*v+f,o[1]=(o[1]-f)*v+f;var C=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(bC(0,o,[0,100],0,C.minSpan,C.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}},pan:zL(function(r,t,e,n,i,o){var s=o_[n]([o.oldX,o.oldY],[o.newX,o.newY],t,i,e);return s.signal*(r[1]-r[0])*s.pixel/s.pixelLength}),scrollMove:zL(function(r,t,e,n,i,o){var s=o_[n]([0,0],[o.scrollDelta,o.scrollDelta],t,i,e);return s.signal*(r[1]-r[0])*o.scrollDelta})};function zL(r){return function(t,e,n,i){var o=this.range,s=o.slice(),l=t.axisModels[0];if(l){var f=r(s,l,t,e,n,i);if(bC(f,s,[0,100],"all"),this.range=s,o[0]!==s[0]||o[1]!==s[1])return s}}}var o_={grid:function(r,t,e,n,i){var o=e.axis,s={},l=i.model.coordinateSystem.getRect();return r=r||[0,0],o.dim==="x"?(s.pixel=t[0]-r[0],s.pixelLength=l.width,s.pixelStart=l.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-r[1],s.pixelLength=l.height,s.pixelStart=l.y,s.signal=o.inverse?-1:1),s},polar:function(r,t,e,n,i){var o=e.axis,s={},l=i.model.coordinateSystem,f=l.getRadiusAxis().getExtent(),v=l.getAngleAxis().getExtent();return r=r?l.pointToCoord(r):[0,0],t=l.pointToCoord(t),e.mainType==="radiusAxis"?(s.pixel=t[0]-r[0],s.pixelLength=f[1]-f[0],s.pixelStart=f[0],s.signal=o.inverse?1:-1):(s.pixel=t[1]-r[1],s.pixelLength=v[1]-v[0],s.pixelStart=v[0],s.signal=o.inverse?-1:1),s},singleAxis:function(r,t,e,n,i){var o=e.axis,s=i.model.coordinateSystem.getRect(),l={};return r=r||[0,0],o.orient==="horizontal"?(l.pixel=t[0]-r[0],l.pixelLength=s.width,l.pixelStart=s.x,l.signal=o.inverse?1:-1):(l.pixel=t[1]-r[1],l.pixelLength=s.height,l.pixelStart=s.y,l.signal=o.inverse?-1:1),l}};function KL(r){R7(r),r.registerComponentModel(vZ),r.registerComponentView(BZ),EZ(r)}var kZ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=TA(eQ.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(eQ),oQ=ta,VL=7,QZ=1,s_=30,xZ=7,sQ="horizontal",ZL="vertical",SZ=5,_Z=["line","bar","candlestick","scatter"],DZ={easing:"cubicOut",duration:100,delay:0},RZ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._displayables={},e}return t.prototype.init=function(e,n){this.api=n,this._onBrush=an(this._onBrush,this),this._onBrushEnd=an(this._onBrushEnd,this)},t.prototype.render=function(e,n,i,o){if(r.prototype.render.apply(this,arguments),S(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),e.get("show")===!1){this.group.removeAll();return}if(e.noTarget()){this._clear(),this.group.removeAll();return}(!o||o.type!=="dataZoom"||o.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){_(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var n=this._displayables.sliderGroup=new Nn;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(n),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,n=this.api,i=e.get("brushSelect"),o=i?xZ:0,s=this._findCoordRect(),l={width:n.getWidth(),height:n.getHeight()},f=this._orient===sQ?{right:l.width-s.x-s.width,top:l.height-s_-VL-o,width:s.width,height:s_}:{right:VL,top:s.y,width:s_,height:s.height},v=rl(e.option);Ne(["right","top","width","height"],function(w){v[w]==="ph"&&(v[w]=f[w])});var C=Mo(v,l);this._location={x:C.x,y:C.y},this._size=[C.width,C.height],this._orient===ZL&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,n=this._location,i=this._orient,o=this.dataZoomModel.getFirstTargetAxisModel(),s=o&&o.get("inverse"),l=this._displayables.sliderGroup,f=(this._dataShadowInfo||{}).otherAxisInverse;l.attr(i===sQ&&!s?{scaleY:f?1:-1,scaleX:1}:i===sQ&&s?{scaleY:f?1:-1,scaleX:-1}:i===ZL&&!s?{scaleY:f?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:f?-1:1,scaleX:-1,rotation:Math.PI/2});var v=e.getBoundingRect([l]);e.x=n.x-v.x,e.y=n.y-v.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,n=this._size,i=this._displayables.sliderGroup,o=e.get("brushSelect");i.add(new oQ({silent:!0,shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var s=new oQ({shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:"transparent"},z2:0,onclick:an(this._onClickPanel,this)}),l=this.api.getZr();o?(s.on("mousedown",this._onBrushStart,this),s.cursor="crosshair",l.on("mousemove",this._onBrush),l.on("mouseup",this._onBrushEnd)):(l.off("mousemove",this._onBrush),l.off("mouseup",this._onBrushEnd)),i.add(s)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!e)return;var n=this._size,i=this._shadowSize||[],o=e.series,s=o.getRawData(),l=o.getShadowDim&&o.getShadowDim(),f=l&&s.getDimensionInfo(l)?o.getShadowDim():e.otherDim;if(f==null)return;var v=this._shadowPolygonPts,C=this._shadowPolylinePts;if(s!==this._shadowData||f!==this._shadowDim||n[0]!==i[0]||n[1]!==i[1]){var w=s.getDataExtent(f),x=(w[1]-w[0])*.3;w=[w[0]-x,w[1]+x];var Q=[0,n[1]],R=[0,n[0]],L=[[n[0],0],[0,0]],P=[],M=R[1]/(s.count()-1),k=0,G=Math.round(s.count()/n[0]),Y;s.each([f],function(ve,Ee){if(G>0&&Ee%G){k+=M;return}var Se=ve==null||isNaN(ve)||ve==="",ke=Se?0:ea(ve,w,Q,!0);Se&&!Y&&Ee?(L.push([L[L.length-1][0],0]),P.push([P[P.length-1][0],0])):!Se&&Y&&(L.push([k,0]),P.push([k,0])),L.push([k,ke]),P.push([k,ke]),k+=M,Y=Se}),v=this._shadowPolygonPts=L,C=this._shadowPolylinePts=P}this._shadowData=s,this._shadowDim=f,this._shadowSize=[n[0],n[1]];var re=this.dataZoomModel;function ie(ve){var Ee=re.getModel(ve?"selectedDataBackground":"dataBackground"),Se=new Nn,ke=new Yu({shape:{points:v},segmentIgnoreThreshold:1,style:Ee.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),Le=new pc({shape:{points:C},segmentIgnoreThreshold:1,style:Ee.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return Se.add(ke),Se.add(Le),Se}for(var le=0;le<3;le++){var pe=ie(le===1);this._displayables.sliderGroup.add(pe),this._displayables.dataShadowSegs.push(pe)}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,n=e.get("showDataShadow");if(n!==!1){var i,o=this.ecModel;return e.eachTargetAxis(function(s,l){var f=e.getAxisProxy(s,l).getTargetSeriesModels();Ne(f,function(v){if(!i&&!(n!==!0&&Vn(_Z,v.get("type"))<0)){var C=o.getComponent(qm(s),l).axis,w=MZ(s),x,Q=v.coordinateSystem;w!=null&&Q.getOtherAxis&&(x=Q.getOtherAxis(C).inverse),w=v.getData().mapDimension(w),i={thisAxis:C,series:v,thisDim:s,otherDim:w,otherAxisInverse:x}}},this)},this),i}},t.prototype._renderHandle=function(){var e=this.group,n=this._displayables,i=n.handles=[null,null],o=n.handleLabels=[null,null],s=this._displayables.sliderGroup,l=this._size,f=this.dataZoomModel,v=this.api,C=f.get("borderRadius")||0,w=f.get("brushSelect"),x=n.filler=new oQ({silent:w,style:{fill:f.get("fillerColor")},textConfig:{position:"inside"}});s.add(x),s.add(new oQ({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:l[0],height:l[1],r:C},style:{stroke:f.get("dataBackgroundColor")||f.get("borderColor"),lineWidth:QZ,fill:"rgba(0,0,0,0)"}})),Ne([0,1],function(G){var Y=f.get("handleIcon");!Xe[Y]&&Y.indexOf("path://")<0&&Y.indexOf("image://")<0&&(Y="path://"+Y);var re=yt(Y,-1,0,2,2,null,!0);re.attr({cursor:XL(this._orient),draggable:!0,drift:an(this._onDragMove,this,G),ondragend:an(this._onDragEnd,this),onmouseover:an(this._showDataInfo,this,!0),onmouseout:an(this._showDataInfo,this,!1),z2:5});var ie=re.getBoundingRect(),le=f.get("handleSize");this._handleHeight=jr(le,this._size[1]),this._handleWidth=ie.width/ie.height*this._handleHeight,re.setStyle(f.getModel("handleStyle").getItemStyle()),re.style.strokeNoScale=!0,re.rectHover=!0,re.ensureState("emphasis").style=f.getModel(["emphasis","handleStyle"]).getItemStyle(),QA(re);var pe=f.get("handleColor");pe!=null&&(re.style.fill=pe),s.add(i[G]=re);var ve=f.getModel("textStyle"),Ee=f.get("handleLabel")||{},Se=Ee.show||!1;e.add(o[G]=new Mn({silent:!0,invisible:!Se,style:La(ve,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:ve.getTextColor(),font:ve.getFont()}),z2:10}))},this);var Q=x;if(w){var R=jr(f.get("moveHandleSize"),l[1]),L=n.moveHandle=new ta({style:f.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:l[1]-.5,height:R}}),P=R*.8,M=n.moveHandleIcon=yt(f.get("moveHandleIcon"),-P/2,-P/2,P,P,"#fff",!0);M.silent=!0,M.y=l[1]+R/2-.5,L.ensureState("emphasis").style=f.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var k=Math.min(l[1]/2,Math.max(R,10));Q=n.moveZone=new ta({invisible:!0,shape:{y:l[1]-k,height:R+k}}),Q.on("mouseover",function(){v.enterEmphasis(L)}).on("mouseout",function(){v.leaveEmphasis(L)}),s.add(L),s.add(M),s.add(Q)}Q.attr({draggable:!0,cursor:XL(this._orient),drift:an(this._onDragMove,this,"all"),ondragstart:an(this._showDataInfo,this,!0),ondragend:an(this._onDragEnd,this),onmouseover:an(this._showDataInfo,this,!0),onmouseout:an(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),n=this._getViewExtent();this._handleEnds=[ea(e[0],[0,100],n,!0),ea(e[1],[0,100],n,!0)]},t.prototype._updateInterval=function(e,n){var i=this.dataZoomModel,o=this._handleEnds,s=this._getViewExtent(),l=i.findRepresentativeAxisProxy().getMinMaxSpan(),f=[0,100];bC(n,o,s,i.get("zoomLock")?"all":e,l.minSpan!=null?ea(l.minSpan,f,s,!0):null,l.maxSpan!=null?ea(l.maxSpan,f,s,!0):null);var v=this._range,C=this._range=ki([ea(o[0],s,f,!0),ea(o[1],s,f,!0)]);return!v||v[0]!==C[0]||v[1]!==C[1]},t.prototype._updateView=function(e){var n=this._displayables,i=this._handleEnds,o=ki(i.slice()),s=this._size;Ne([0,1],function(Q){var R=n.handles[Q],L=this._handleHeight;R.attr({scaleX:L/2,scaleY:L/2,x:i[Q]+(Q?-1:1),y:s[1]/2-L/2})},this),n.filler.setShape({x:o[0],y:0,width:o[1]-o[0],height:s[1]});var l={x:o[0],width:o[1]-o[0]};n.moveHandle&&(n.moveHandle.setShape(l),n.moveZone.setShape(l),n.moveZone.getBoundingRect(),n.moveHandleIcon&&n.moveHandleIcon.attr("x",l.x+l.width/2));for(var f=n.dataShadowSegs,v=[0,o[0],o[1],s[0]],C=0;C<f.length;C++){var w=f[C],x=w.getClipPath();x||(x=new ta,w.setClipPath(x)),x.setShape({x:v[C],y:0,width:v[C+1]-v[C],height:s[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var n=this.dataZoomModel,i=this._displayables,o=i.handleLabels,s=this._orient,l=["",""];if(n.get("showDetail")){var f=n.findRepresentativeAxisProxy();if(f){var v=f.getAxisModel().axis,C=this._range,w=e?f.calculateDataWindow({start:C[0],end:C[1]}).valueWindow:f.getDataValueWindow();l=[this._formatLabel(w[0],v),this._formatLabel(w[1],v)]}}var x=ki(this._handleEnds.slice());Q.call(this,0),Q.call(this,1);function Q(R){var L=og(i.handles[R].parent,this.group),P=C1(R===0?"right":"left",L),M=this._handleWidth/2+SZ,k=Rl([x[R]+(R===0?-M:M),this._size[1]/2],L);o[R].setStyle({x:k[0],y:k[1],verticalAlign:s===sQ?"middle":P,align:s===sQ?P:"center",text:l[R]})}},t.prototype._formatLabel=function(e,n){var i=this.dataZoomModel,o=i.get("labelFormatter"),s=i.get("labelPrecision");(s==null||s==="auto")&&(s=n.getPixelPrecision());var l=e==null||isNaN(e)?"":n.type==="category"||n.type==="time"?n.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(s,20));return bn(o)?o(e,l):en(o)?o.replace("{value}",l):l},t.prototype._showDataInfo=function(e){var n=this.dataZoomModel.get("handleLabel")||{},i=n.show||!1,o=this.dataZoomModel.getModel(["emphasis","handleLabel"]),s=o.get("show")||!1,l=e||this._dragging?s:i,f=this._displayables,v=f.handleLabels;v[0].attr("invisible",!l),v[1].attr("invisible",!l),f.moveHandle&&this.api[l?"enterEmphasis":"leaveEmphasis"](f.moveHandle,1)},t.prototype._onDragMove=function(e,n,i,o){this._dragging=!0,rf(o.event);var s=this._displayables.sliderGroup.getLocalTransform(),l=Rl([n,i],s,!0),f=this._updateInterval(e,l[0]),v=this.dataZoomModel.get("realtime");this._updateView(!v),f&&v&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(e){var n=this._size,i=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(i[0]<0||i[0]>n[0]||i[1]<0||i[1]>n[1])){var o=this._handleEnds,s=(o[0]+o[1])/2,l=this._updateInterval("all",i[0]-s);this._updateView(),l&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var n=e.offsetX,i=e.offsetY;this._brushStart=new ci(n,i),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var n=this._displayables.brushRect;if(this._brushing=!1,!!n){n.attr("ignore",!0);var i=n.shape,o=+new Date;if(!(o-this._brushStartTime<200&&Math.abs(i.width)<5)){var s=this._getViewExtent(),l=[0,100];this._range=ki([ea(i.x,s,l,!0),ea(i.x+i.width,s,l,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(rf(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,n){var i=this._displayables,o=this.dataZoomModel,s=i.brushRect;s||(s=i.brushRect=new oQ({silent:!0,style:o.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(s)),s.attr("ignore",!1);var l=this._brushStart,f=this._displayables.sliderGroup,v=f.transformCoordToLocal(e,n),C=f.transformCoordToLocal(l.x,l.y),w=this._size;v[0]=Math.max(Math.min(w[0],v[0]),0),s.setShape({x:C[0],y:0,width:v[0]-C[0],height:w[1]})},t.prototype._dispatchZoomAction=function(e){var n=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?DZ:null,start:n[0],end:n[1]})},t.prototype._findCoordRect=function(){var e,n=HT(this.dataZoomModel).infoList;if(!e&&n.length){var i=n[0].model.coordinateSystem;e=i.getRect&&i.getRect()}if(!e){var o=this.api.getWidth(),s=this.api.getHeight();e={x:o*.2,y:s*.2,width:o*.6,height:s*.6}}return e},t.type="dataZoom.slider",t}(D7);function MZ(r){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[r]}function XL(r){return r==="vertical"?"ns-resize":"ew-resize"}function $L(r){r.registerComponentModel(kZ),r.registerComponentView(RZ),R7(r)}function FZ(r){Fi(KL),Fi($L)}var eN={get:function(r,t,e){var n=Bn((TZ[r]||{})[t]);return e&&yr(n)?n[n.length-1]:n}},TZ={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},tN=Ic.mapVisual,LZ=Ic.eachVisual,NZ=yr,rN=Ne,OZ=ki,PZ=ea,G9=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.stateList=["inRange","outOfRange"],e.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],e.layoutMode={type:"box",ignoreSize:!0},e.dataBound=[-1/0,1/0],e.targetVisuals={},e.controllerVisuals={},e}return t.prototype.init=function(e,n,i){this.mergeDefaultAndTheme(e,i)},t.prototype.optionUpdated=function(e,n){var i=this.option;!n&&mL(i,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var n=this.stateList;e=an(e,this),this.controllerVisuals=U7(this.option.controller,n,e),this.targetVisuals=U7(this.option.target,n,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,n=[];return e==null||e==="all"?this.ecModel.eachSeries(function(i,o){n.push(o)}):n=ja(e),n},t.prototype.eachTargetSeries=function(e,n){Ne(this.getTargetSeriesIndices(),function(i){var o=this.ecModel.getSeriesByIndex(i);o&&e.call(n,o)},this)},t.prototype.isTargetSeries=function(e){var n=!1;return this.eachTargetSeries(function(i){i===e&&(n=!0)}),n},t.prototype.formatValueText=function(e,n,i){var o=this.option,s=o.precision,l=this.dataBound,f=o.formatter,v;i=i||["<",">"],yr(e)&&(e=e.slice(),v=!0);var C=n?e:v?[w(e[0]),w(e[1])]:w(e);if(en(f))return f.replace("{value}",v?C[0]:C).replace("{value2}",v?C[1]:C);if(bn(f))return v?f(e[0],e[1]):f(e);if(v)return e[0]===l[0]?i[0]+" "+C[1]:e[1]===l[1]?i[1]+" "+C[0]:C[0]+" - "+C[1];return C;function w(x){return x===l[0]?"min":x===l[1]?"max":(+x).toFixed(Math.min(s,20))}},t.prototype.resetExtent=function(){var e=this.option,n=OZ([e.min,e.max]);this._dataExtent=n},t.prototype.getDataDimensionIndex=function(e){var n=this.option.dimension;if(n!=null)return e.getDimensionIndex(n);for(var i=e.dimensions,o=i.length-1;o>=0;o--){var s=i[o],l=e.getDimensionInfo(s);if(!l.isCalculationCoord)return l.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,n=this.option,i={inRange:n.inRange,outOfRange:n.outOfRange},o=n.target||(n.target={}),s=n.controller||(n.controller={});Kn(o,i),Kn(s,i);var l=this.isCategory();f.call(this,o),f.call(this,s),v.call(this,o,"inRange","outOfRange"),C.call(this,s);function f(w){NZ(n.color)&&!w.inRange&&(w.inRange={color:n.color.slice().reverse()}),w.inRange=w.inRange||{color:e.get("gradientColor")}}function v(w,x,Q){var R=w[x],L=w[Q];R&&!L&&(L=w[Q]={},rN(R,function(P,M){if(Ic.isValidType(M)){var k=eN.get(M,"inactive",l);k!=null&&(L[M]=k,M==="color"&&!L.hasOwnProperty("opacity")&&!L.hasOwnProperty("colorAlpha")&&(L.opacity=[0,0]))}}))}function C(w){var x=(w.inRange||{}).symbol||(w.outOfRange||{}).symbol,Q=(w.inRange||{}).symbolSize||(w.outOfRange||{}).symbolSize,R=this.get("inactiveColor"),L=this.getItemSymbol(),P=L||"roundRect";rN(this.stateList,function(M){var k=this.itemSize,G=w[M];G||(G=w[M]={color:l?R:[R]}),G.symbol==null&&(G.symbol=x&&Bn(x)||(l?P:[P])),G.symbolSize==null&&(G.symbolSize=Q&&Bn(Q)||(l?k[0]:[k[0],k[0]])),G.symbol=tN(G.symbol,function(ie){return ie==="none"?P:ie});var Y=G.symbolSize;if(Y!=null){var re=-1/0;LZ(Y,function(ie){ie>re&&(re=ie)}),G.symbolSize=tN(Y,function(ie){return PZ(ie,[0,re],[0,k[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(Oi),nN=[20,140],GZ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(e,n){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){r.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(e[0]==null||isNaN(e[0]))&&(e[0]=nN[0]),(e[1]==null||isNaN(e[1]))&&(e[1]=nN[1])},t.prototype._resetRange=function(){var e=this.getExtent(),n=this.option.range;!n||n.auto?(e.auto=1,this.option.range=e):yr(n)&&(n[0]>n[1]&&n.reverse(),n[0]=Math.max(n[0],e[0]),n[1]=Math.min(n[1],e[1]))},t.prototype.completeVisualOption=function(){r.prototype.completeVisualOption.apply(this,arguments),Ne(this.stateList,function(e){var n=this.option.controller[e].symbolSize;n&&n[0]!==n[1]&&(n[0]=n[1]/3)},this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),n=ki((this.get("range")||[]).slice());return n[0]>e[1]&&(n[0]=e[1]),n[1]>e[1]&&(n[1]=e[1]),n[0]<e[0]&&(n[0]=e[0]),n[1]<e[0]&&(n[1]=e[0]),n},t.prototype.getValueState=function(e){var n=this.option.range,i=this.getExtent();return(n[0]<=i[0]||n[0]<=e)&&(n[1]>=i[1]||e<=n[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var n=[];return this.eachTargetSeries(function(i){var o=[],s=i.getData();s.each(this.getDataDimensionIndex(s),function(l,f){e[0]<=l&&l<=e[1]&&o.push(f)},this),n.push({seriesId:i.id,dataIndex:o})},this),n},t.prototype.getVisualMeta=function(e){var n=iN(this,"outOfRange",this.getExtent()),i=iN(this,"inRange",this.option.range.slice()),o=[];function s(Q,R){o.push({value:Q,color:e(Q,R)})}for(var l=0,f=0,v=i.length,C=n.length;f<C&&(!i.length||n[f]<=i[0]);f++)n[f]<i[l]&&s(n[f],"outOfRange");for(var w=1;l<v;l++,w=0)w&&o.length&&s(i[l],"outOfRange"),s(i[l],"inRange");for(var w=1;f<C;f++)(!i.length||i[i.length-1]<n[f])&&(w&&(o.length&&s(o[o.length-1].value,"outOfRange"),w=0),s(n[f],"outOfRange"));var x=o.length;return{stops:o,outerColors:[x?o[0].color:"transparent",x?o[x-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=TA(G9.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),t}(G9);function iN(r,t,e){if(e[0]===e[1])return e.slice();for(var n=200,i=(e[1]-e[0])/n,o=e[0],s=[],l=0;l<=n&&o<e[1];l++)s.push(o),o+=i;return s.push(e[1]),s}var aN=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.autoPositionValues={left:1,right:1,top:1,bottom:1},e}return t.prototype.init=function(e,n){this.ecModel=e,this.api=n},t.prototype.render=function(e,n,i,o){if(this.visualMapModel=e,e.get("show")===!1){this.group.removeAll();return}this.doRender(e,n,i,o)},t.prototype.renderBackground=function(e){var n=this.visualMapModel,i=lg(n.get("padding")||0),o=e.getBoundingRect();e.add(new ta({z2:-1,silent:!0,shape:{x:o.x-i[3],y:o.y-i[0],width:o.width+i[3]+i[1],height:o.height+i[0]+i[2]},style:{fill:n.get("backgroundColor"),stroke:n.get("borderColor"),lineWidth:n.get("borderWidth")}}))},t.prototype.getControllerVisual=function(e,n,i){i=i||{};var o=i.forceState,s=this.visualMapModel,l={};if(n==="color"){var f=s.get("contentColor");l.color=f}function v(Q){return l[Q]}function C(Q,R){l[Q]=R}var w=s.controllerVisuals[o||s.getValueState(e)],x=Ic.prepareVisualTypes(w);return Ne(x,function(Q){var R=w[Q];i.convertOpacityToAlpha&&Q==="opacity"&&(Q="colorAlpha",R=w.__alphaForOpacity),Ic.dependsOn(Q,n)&&R&&R.applyVisual(e,v,C)}),l[n]},t.prototype.positionGroup=function(e){var n=this.visualMapModel,i=this.api;OA(e,n.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},t.prototype.doRender=function(e,n,i,o){},t.type="visualMap",t}(a),oN=[["left","right","width"],["top","bottom","height"]];function sN(r,t,e){var n=r.option,i=n.align;if(i!=null&&i!=="auto")return i;for(var o={width:t.getWidth(),height:t.getHeight()},s=n.orient==="horizontal"?1:0,l=oN[s],f=[0,null,10],v={},C=0;C<3;C++)v[oN[1-s][C]]=f[C],v[l[C]]=C===2?e[0]:n[l[C]];var w=[["x","width",3],["y","height",0]][s],x=Mo(v,o,n.padding);return l[(x.margin[w[2]]||0)+x[w[0]]+x[w[1]]*.5<o[w[1]]*.5?0:1]}function U9(r,t){return Ne(r||[],function(e){e.dataIndex!=null&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")}),r}var m0=ea,UZ=Ne,uN=Math.min,u_=Math.max,jZ=12,HZ=6,YZ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._shapes={},e._dataInterval=[],e._handleEnds=[],e._hoverLinkDataIndices=[],e}return t.prototype.init=function(e,n){r.prototype.init.call(this,e,n),this._hoverLinkFromSeriesMouseOver=an(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=an(this._hideIndicator,this)},t.prototype.doRender=function(e,n,i,o){(!o||o.type!=="selectDataRange"||o.from!==this.uid)&&this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,n=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(n);var i=e.get("text");this._renderEndsText(n,i,0),this._renderEndsText(n,i,1),this._updateView(!0),this.renderBackground(n),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(n)},t.prototype._renderEndsText=function(e,n,i){if(n){var o=n[1-i];o=o!=null?o+"":"";var s=this.visualMapModel,l=s.get("textGap"),f=s.itemSize,v=this._shapes.mainGroup,C=this._applyTransform([f[0]/2,i===0?-l:f[1]+l],v),w=this._applyTransform(i===0?"bottom":"top",v),x=this._orient,Q=this.visualMapModel.textStyleModel;this.group.add(new Mn({style:La(Q,{x:C[0],y:C[1],verticalAlign:x==="horizontal"?"middle":w,align:x==="horizontal"?w:"center",text:o})}))}},t.prototype._renderBar=function(e){var n=this.visualMapModel,i=this._shapes,o=n.itemSize,s=this._orient,l=this._useHandle,f=sN(n,this.api,o),v=i.mainGroup=this._createBarGroup(f),C=new Nn;v.add(C),C.add(i.outOfRange=cN()),C.add(i.inRange=cN(null,l?hN(this._orient):null,an(this._dragHandle,this,"all",!1),an(this._dragHandle,this,"all",!0))),C.setClipPath(new ta({shape:{x:0,y:0,width:o[0],height:o[1],r:3}}));var w=n.textStyleModel.getTextRect("国"),x=u_(w.width,w.height);l&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(n,v,0,o,x,s),this._createHandle(n,v,1,o,x,s)),this._createIndicator(n,v,o,x,s),e.add(v)},t.prototype._createHandle=function(e,n,i,o,s,l){var f=an(this._dragHandle,this,i,!1),v=an(this._dragHandle,this,i,!0),C=Do(e.get("handleSize"),o[0]),w=yt(e.get("handleIcon"),-C/2,-C/2,C,C,null,!0),x=hN(this._orient);w.attr({cursor:x,draggable:!0,drift:f,ondragend:v,onmousemove:function(M){rf(M.event)}}),w.x=o[0]/2,w.useStyle(e.getModel("handleStyle").getItemStyle()),w.setStyle({strokeNoScale:!0,strokeFirst:!0}),w.style.lineWidth*=2,w.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),SA(w,!0),n.add(w);var Q=this.visualMapModel.textStyleModel,R=new Mn({cursor:x,draggable:!0,drift:f,onmousemove:function(M){rf(M.event)},ondragend:v,style:La(Q,{x:0,y:0,text:""})});R.ensureState("blur").style={opacity:.1},R.stateTransition={duration:200},this.group.add(R);var L=[C,0],P=this._shapes;P.handleThumbs[i]=w,P.handleLabelPoints[i]=L,P.handleLabels[i]=R},t.prototype._createIndicator=function(e,n,i,o,s){var l=Do(e.get("indicatorSize"),i[0]),f=yt(e.get("indicatorIcon"),-l/2,-l/2,l,l,null,!0);f.attr({cursor:"move",invisible:!0,silent:!0,x:i[0]/2});var v=e.getModel("indicatorStyle").getItemStyle();if(f instanceof Ws){var C=f.style;f.useStyle(ar({image:C.image,x:C.x,y:C.y,width:C.width,height:C.height},v))}else f.useStyle(v);n.add(f);var w=this.visualMapModel.textStyleModel,x=new Mn({silent:!0,invisible:!0,style:La(w,{x:0,y:0,text:""})});this.group.add(x);var Q=[(s==="horizontal"?o/2:HZ)+i[0]/2,0],R=this._shapes;R.indicator=f,R.indicatorLabel=x,R.indicatorLabelPoint=Q,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,n,i,o){if(this._useHandle){if(this._dragging=!n,!n){var s=this._applyTransform([i,o],this._shapes.mainGroup,!0);this._updateInterval(e,s[1]),this._hideIndicator(),this._updateView()}n===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),n?!this._hovering&&this._clearHoverLinkToSeries():lN(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,n=this._dataInterval=e.getSelected(),i=e.getExtent(),o=[0,e.itemSize[1]];this._handleEnds=[m0(n[0],i,o,!0),m0(n[1],i,o,!0)]},t.prototype._updateInterval=function(e,n){n=n||0;var i=this.visualMapModel,o=this._handleEnds,s=[0,i.itemSize[1]];bC(n,o,s,e,0);var l=i.getExtent();this._dataInterval=[m0(o[0],s,l,!0),m0(o[1],s,l,!0)]},t.prototype._updateView=function(e){var n=this.visualMapModel,i=n.getExtent(),o=this._shapes,s=[0,n.itemSize[1]],l=e?s:this._handleEnds,f=this._createBarVisual(this._dataInterval,i,l,"inRange"),v=this._createBarVisual(i,i,s,"outOfRange");o.inRange.setStyle({fill:f.barColor}).setShape("points",f.barPoints),o.outOfRange.setStyle({fill:v.barColor}).setShape("points",v.barPoints),this._updateHandle(l,f)},t.prototype._createBarVisual=function(e,n,i,o){var s={forceState:o,convertOpacityToAlpha:!0},l=this._makeColorGradient(e,s),f=[this.getControllerVisual(e[0],"symbolSize",s),this.getControllerVisual(e[1],"symbolSize",s)],v=this._createBarPoints(i,f);return{barColor:new tg(0,0,0,1,l),barPoints:v,handlesColor:[l[0].color,l[l.length-1].color]}},t.prototype._makeColorGradient=function(e,n){var i=100,o=[],s=(e[1]-e[0])/i;o.push({color:this.getControllerVisual(e[0],"color",n),offset:0});for(var l=1;l<i;l++){var f=e[0]+s*l;if(f>e[1])break;o.push({color:this.getControllerVisual(f,"color",n),offset:l/i})}return o.push({color:this.getControllerVisual(e[1],"color",n),offset:1}),o},t.prototype._createBarPoints=function(e,n){var i=this.visualMapModel.itemSize;return[[i[0]-n[0],e[0]],[i[0],e[0]],[i[0],e[1]],[i[0]-n[1],e[1]]]},t.prototype._createBarGroup=function(e){var n=this._orient,i=this.visualMapModel.get("inverse");return new Nn(n==="horizontal"&&!i?{scaleX:e==="bottom"?1:-1,rotation:Math.PI/2}:n==="horizontal"&&i?{scaleX:e==="bottom"?-1:1,rotation:-Math.PI/2}:n==="vertical"&&!i?{scaleX:e==="left"?1:-1,scaleY:-1}:{scaleX:e==="left"?1:-1})},t.prototype._updateHandle=function(e,n){if(this._useHandle){var i=this._shapes,o=this.visualMapModel,s=i.handleThumbs,l=i.handleLabels,f=o.itemSize,v=o.getExtent(),C=this._applyTransform("left",i.mainGroup);UZ([0,1],function(w){var x=s[w];x.setStyle("fill",n.handlesColor[w]),x.y=e[w];var Q=m0(e[w],[0,f[1]],v,!0),R=this.getControllerVisual(Q,"symbolSize");x.scaleX=x.scaleY=R/f[0],x.x=f[0]-R/2;var L=Rl(i.handleLabelPoints[w],og(x,this.group));if(this._orient==="horizontal"){var P=C==="left"||C==="top"?(f[0]-R)/2:(f[0]-R)/-2;L[1]+=P}l[w].setStyle({x:L[0],y:L[1],text:o.formatValueText(this._dataInterval[w]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",i.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(e,n,i,o){var s=this.visualMapModel,l=s.getExtent(),f=s.itemSize,v=[0,f[1]],C=this._shapes,w=C.indicator;if(w){w.attr("invisible",!1);var x={convertOpacityToAlpha:!0},Q=this.getControllerVisual(e,"color",x),R=this.getControllerVisual(e,"symbolSize"),L=m0(e,l,v,!0),P=f[0]-R/2,M={x:w.x,y:w.y};w.y=L,w.x=P;var k=Rl(C.indicatorLabelPoint,og(w,this.group)),G=C.indicatorLabel;G.attr("invisible",!1);var Y=this._applyTransform("left",C.mainGroup),re=this._orient,ie=re==="horizontal";G.setStyle({text:(i||"")+s.formatValueText(n),verticalAlign:ie?Y:"middle",align:ie?"center":Y});var le={x:P,y:L,style:{fill:Q}},pe={style:{x:k[0],y:k[1]}};if(s.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var ve={duration:100,easing:"cubicInOut",additive:!0};w.x=M.x,w.y=M.y,w.animateTo(le,ve),G.animateTo(pe,ve)}else w.attr(le),G.attr(pe);this._firstShowIndicator=!1;var Ee=this._shapes.handleLabels;if(Ee)for(var Se=0;Se<Ee.length;Se++)this.api.enterBlur(Ee[Se])}},t.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",function(n){if(e._hovering=!0,!e._dragging){var i=e.visualMapModel.itemSize,o=e._applyTransform([n.offsetX,n.offsetY],e._shapes.mainGroup,!0,!0);o[1]=uN(u_(0,o[1]),i[1]),e._doHoverLinkToSeries(o[1],0<=o[0]&&o[0]<=i[0])}}).on("mouseout",function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()})},t.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(e,n){var i=this.visualMapModel,o=i.itemSize;if(i.option.hoverLink){var s=[0,o[1]],l=i.getExtent();e=uN(u_(s[0],e),s[1]);var f=JZ(i,l,s),v=[e-f,e+f],C=m0(e,s,l,!0),w=[m0(v[0],s,l,!0),m0(v[1],s,l,!0)];v[0]<s[0]&&(w[0]=-1/0),v[1]>s[1]&&(w[1]=1/0),n&&(w[0]===-1/0?this._showIndicator(C,w[1],"< ",f):w[1]===1/0?this._showIndicator(C,w[0],"> ",f):this._showIndicator(C,C,"≈ ",f));var x=this._hoverLinkDataIndices,Q=[];(n||lN(i))&&(Q=this._hoverLinkDataIndices=i.findTargetDataIndices(w));var R=Sh(x,Q);this._dispatchHighDown("downplay",U9(R[0],i)),this._dispatchHighDown("highlight",U9(R[1],i))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var n;if(_t(e.target,function(f){var v=Un(f);if(v.dataIndex!=null)return n=v,!0},!0),!!n){var i=this.ecModel.getSeriesByIndex(n.seriesIndex),o=this.visualMapModel;if(o.isTargetSeries(i)){var s=i.getData(n.dataType),l=s.getStore().get(o.getDataDimensionIndex(s),n.dataIndex);isNaN(l)||this._showIndicator(l,l)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var n=this._shapes.handleLabels;if(n)for(var i=0;i<n.length;i++)this.api.leaveBlur(n[i])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",U9(e,this.visualMapModel)),e.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(e,n,i,o){var s=og(n,o?null:this.group);return yr(e)?Rl(e,s,i):C1(e,s,i)},t.prototype._dispatchHighDown=function(e,n){n&&n.length&&this.api.dispatchAction({type:e,batch:n})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(aN);function cN(r,t,e,n){return new Yu({shape:{points:r},draggable:!!e,cursor:t,drift:e,onmousemove:function(i){rf(i.event)},ondragend:n})}function JZ(r,t,e){var n=jZ/2,i=r.get("hoverLinkDataSize");return i&&(n=m0(i,t,e,!0)/2),n}function lN(r){var t=r.get("hoverLinkOnHandle");return!!(t??r.get("realtime"))}function hN(r){return r==="vertical"?"ns-resize":"ew-resize"}var WZ={type:"selectDataRange",event:"dataRangeSelected",update:"update"},qZ=function(r,t){t.eachComponent({mainType:"visualMap",query:r},function(e){e.setSelected(r.selected)})},zZ=[{createOnAllSeries:!0,reset:function(r,t){var e=[];return t.eachComponent("visualMap",function(n){var i=r.pipelineContext;!n.isTargetSeries(r)||i&&i.large||e.push(pV(n.stateList,n.targetVisuals,an(n.getValueState,n),n.getDataDimensionIndex(r.getData())))}),e}},{createOnAllSeries:!0,reset:function(r,t){var e=r.getData(),n=[];t.eachComponent("visualMap",function(i){if(i.isTargetSeries(r)){var o=i.getVisualMeta(an(KZ,null,r,i))||{stops:[],outerColors:[]},s=i.getDataDimensionIndex(e);s>=0&&(o.dimension=s,n.push(o))}}),r.getData().setVisual("visualMeta",n)}}];function KZ(r,t,e,n){for(var i=t.targetVisuals[n],o=Ic.prepareVisualTypes(i),s={color:Re(r.getData(),"color")},l=0,f=o.length;l<f;l++){var v=o[l],C=i[v==="opacity"?"__alphaForOpacity":v];C&&C.applyVisual(e,w,x)}return s.color;function w(Q){return s[Q]}function x(Q,R){s[Q]=R}}var fN=Ne;function VZ(r){var t=r&&r.visualMap;yr(t)||(t=t?[t]:[]),fN(t,function(e){if(e){B3(e,"splitList")&&!B3(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var n=e.pieces;n&&yr(n)&&fN(n,function(i){Ln(i)&&(B3(i,"start")&&!B3(i,"min")&&(i.min=i.start),B3(i,"end")&&!B3(i,"max")&&(i.max=i.end))})}})}function B3(r,t){return r&&r.hasOwnProperty&&r.hasOwnProperty(t)}var AN=!1;function dN(r){AN||(AN=!0,r.registerSubTypeDefaulter("visualMap",function(t){return!t.categories&&(!(t.pieces?t.pieces.length>0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),r.registerAction(WZ,qZ),Ne(zZ,function(t){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,t)}),r.registerPreprocessor(VZ))}function gN(r){r.registerComponentModel(GZ),r.registerComponentView(YZ),dN(r)}var ZZ=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._pieceList=[],e}return t.prototype.optionUpdated=function(e,n){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],XZ[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var o=this.option.categories;this.resetVisual(function(s,l){i==="categories"?(s.mappingMethod="category",s.categories=Bn(o)):(s.dataExtent=this.getExtent(),s.mappingMethod="piecewise",s.pieceList=pr(this._pieceList,function(f){return f=Bn(f),l!=="inRange"&&(f.visual=null),f}))})},t.prototype.completeVisualOption=function(){var e=this.option,n={},i=Ic.listVisualTypes(),o=this.isCategory();Ne(e.pieces,function(l){Ne(i,function(f){l.hasOwnProperty(f)&&(n[f]=1)})}),Ne(n,function(l,f){var v=!1;Ne(this.stateList,function(C){v=v||s(e,C,f)||s(e.target,C,f)},this),!v&&Ne(this.stateList,function(C){(e[C]||(e[C]={}))[f]=eN.get(f,C==="inRange"?"active":"inactive",o)})},this);function s(l,f,v){return l&&l[f]&&l[f].hasOwnProperty(v)}r.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,n){var i=this.option,o=this._pieceList,s=(n?i:e).selected||{};if(i.selected=s,Ne(o,function(f,v){var C=this.getSelectedMapKey(f);s.hasOwnProperty(C)||(s[C]=!0)},this),i.selectedMode==="single"){var l=!1;Ne(o,function(f,v){var C=this.getSelectedMapKey(f);s[C]&&(l?s[C]=!1:l=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return this._mode==="categories"?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=Bn(e)},t.prototype.getValueState=function(e){var n=Ic.findPieceIndex(e,this._pieceList);return n!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[n])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var n=[],i=this._pieceList;return this.eachTargetSeries(function(o){var s=[],l=o.getData();l.each(this.getDataDimensionIndex(l),function(f,v){var C=Ic.findPieceIndex(f,i);C===e&&s.push(v)},this),n.push({seriesId:o.id,dataIndex:s})},this),n},t.prototype.getRepresentValue=function(e){var n;if(this.isCategory())n=e.value;else if(e.value!=null)n=e.value;else{var i=e.interval||[];n=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return n},t.prototype.getVisualMeta=function(e){if(this.isCategory())return;var n=[],i=["",""],o=this;function s(C,w){var x=o.getRepresentValue({interval:C});w||(w=o.getValueState(x));var Q=e(x,w);C[0]===-1/0?i[0]=Q:C[1]===1/0?i[1]=Q:n.push({value:C[0],color:Q},{value:C[1],color:Q})}var l=this._pieceList.slice();if(!l.length)l.push({interval:[-1/0,1/0]});else{var f=l[0].interval[0];f!==-1/0&&l.unshift({interval:[-1/0,f]}),f=l[l.length-1].interval[1],f!==1/0&&l.push({interval:[f,1/0]})}var v=-1/0;return Ne(l,function(C){var w=C.interval;w&&(w[0]>v&&s([v,w[0]],"outOfRange"),s(w.slice()),v=w[1])},this),{stops:n,outerColors:i}},t.type="visualMap.piecewise",t.defaultOption=TA(G9.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(G9),XZ={splitNumber:function(r){var t=this.option,e=Math.min(t.precision,20),n=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;for(var o=(n[1]-n[0])/i;+o.toFixed(e)!==o&&e<5;)e++;t.precision=e,o=+o.toFixed(e),t.minOpen&&r.push({interval:[-1/0,n[0]],close:[0,0]});for(var s=0,l=n[0];s<i;l+=o,s++){var f=s===i-1?n[1]:l+o;r.push({interval:[l,f],close:[1,1]})}t.maxOpen&&r.push({interval:[n[1],1/0],close:[0,0]}),X2(r),Ne(r,function(v,C){v.index=C,v.text=this.formatValueText(v.interval)},this)},categories:function(r){var t=this.option;Ne(t.categories,function(e){r.push({text:this.formatValueText(e,!0),value:e})},this),pN(t,r)},pieces:function(r){var t=this.option;Ne(t.pieces,function(e,n){Ln(e)||(e={value:e});var i={text:"",index:n};if(e.label!=null&&(i.text=e.label),e.hasOwnProperty("value")){var o=i.value=e.value;i.interval=[o,o],i.close=[1,1]}else{for(var s=i.interval=[],l=i.close=[0,0],f=[1,0,1],v=[-1/0,1/0],C=[],w=0;w<2;w++){for(var x=[["gte","gt","min"],["lte","lt","max"]][w],Q=0;Q<3&&s[w]==null;Q++)s[w]=e[x[Q]],l[w]=f[Q],C[w]=Q===2;s[w]==null&&(s[w]=v[w])}C[0]&&s[1]===1/0&&(l[0]=0),C[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(i.value=s[0])}i.visual=Ic.retrieveVisuals(e),r.push(i)},this),pN(t,r),X2(r),Ne(r,function(e){var n=e.close,i=[["<","≤"][n[1]],[">","≥"][n[0]]];e.text=e.text||this.formatValueText(e.value!=null?e.value:e.interval,!1,i)},this)}};function pN(r,t){var e=r.inverse;(r.orient==="vertical"?!e:e)&&t.reverse()}var $Z=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.doRender=function(){var e=this.group;e.removeAll();var n=this.visualMapModel,i=n.get("textGap"),o=n.textStyleModel,s=o.getFont(),l=o.getTextColor(),f=this._getItemAlign(),v=n.itemSize,C=this._getViewData(),w=C.endsText,x=Bs(n.get("showLabel",!0),!w),Q=!n.get("selectedMode");w&&this._renderEndsText(e,w[0],v,x,f),Ne(C.viewPieceList,function(R){var L=R.piece,P=new Nn;P.onclick=an(this._onItemClick,this,L),this._enableHoverLink(P,R.indexInModelPieceList);var M=n.getRepresentValue(L);if(this._createItemSymbol(P,M,[0,0,v[0],v[1]],Q),x){var k=this.visualMapModel.getValueState(M);P.add(new Mn({style:{x:f==="right"?-i:v[0]+i,y:v[1]/2,text:L.text,verticalAlign:"middle",align:f,font:s,fill:l,opacity:k==="outOfRange"?.5:1},silent:Q}))}e.add(P)},this),w&&this._renderEndsText(e,w[1],v,x,f),Qf(n.get("orient"),e,n.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,n){var i=this;e.on("mouseover",function(){return o("highlight")}).on("mouseout",function(){return o("downplay")});var o=function(s){var l=i.visualMapModel;l.option.hoverLink&&i.api.dispatchAction({type:s,batch:U9(l.findTargetDataIndices(n),l)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,n=e.option;if(n.orient==="vertical")return sN(e,this.api,e.itemSize);var i=n.align;return(!i||i==="auto")&&(i="left"),i},t.prototype._renderEndsText=function(e,n,i,o,s){if(n){var l=new Nn,f=this.visualMapModel.textStyleModel;l.add(new Mn({style:La(f,{x:o?s==="right"?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:o?s:"center",text:n})})),e.add(l)}},t.prototype._getViewData=function(){var e=this.visualMapModel,n=pr(e.getPieceList(),function(l,f){return{piece:l,indexInModelPieceList:f}}),i=e.get("text"),o=e.get("orient"),s=e.get("inverse");return(o==="horizontal"?s:!s)?n.reverse():i&&(i=i.slice().reverse()),{viewPieceList:n,endsText:i}},t.prototype._createItemSymbol=function(e,n,i,o){var s=yt(this.getControllerVisual(n,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(n,"color"));s.silent=o,e.add(s)},t.prototype._onItemClick=function(e){var n=this.visualMapModel,i=n.option,o=i.selectedMode;if(o){var s=Bn(i.selected),l=n.getSelectedMapKey(e);o==="single"||o===!0?(s[l]=!0,Ne(s,function(f,v){s[v]=v===l})):s[l]=!s[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:s})}},t.type="visualMap.piecewise",t}(aN);function vN(r){r.registerComponentModel(ZZ),r.registerComponentView($Z),dN(r)}function eX(r){Fi(gN),Fi(vN)}var tX={label:{enabled:!0},decal:{show:!1}},yN=Vi(),rX={};function nX(r,t){var e=r.getModel("aria");if(!e.get("enabled"))return;var n=Bn(tX);Kn(n.label,r.getLocaleModel().get("aria"),!1),Kn(e.option,n,!1),i(),o();function i(){var v=e.getModel("decal"),C=v.get("show");if(C){var w=mn();r.eachSeries(function(x){if(!x.isColorBySeries()){var Q=w.get(x.type);Q||(Q={},w.set(x.type,Q)),yN(x).scope=Q}}),r.eachRawSeries(function(x){if(r.isSeriesFiltered(x))return;if(bn(x.enableAriaDecal)){x.enableAriaDecal();return}var Q=x.getData();if(x.isColorBySeries()){var R=lb(x.ecModel,x.name,rX,r.getSeriesCount()),L=Q.getVisual("decal");Q.setVisual("decal",Y(L,R))}else{var P=x.getRawData(),M={},k=yN(x).scope;Q.each(function(re){var ie=Q.getRawIndex(re);M[ie]=re});var G=P.count();P.each(function(re){var ie=M[re],le=P.getName(re)||re+"",pe=lb(x.ecModel,le,k,G),ve=Q.getItemVisual(ie,"decal");Q.setItemVisual(ie,"decal",Y(ve,pe))})}function Y(re,ie){var le=re?ar(ar({},ie),re):ie;return le.dirty=!0,le}})}}function o(){var v=t.getZr().dom;if(v){var C=r.getLocaleModel().get("aria"),w=e.getModel("label");if(w.option=pn(w.option,C),!!w.get("enabled")){if(v.setAttribute("role","img"),w.get("description")){v.setAttribute("aria-label",w.get("description"));return}var x=r.getSeriesCount(),Q=w.get(["data","maxCount"])||10,R=w.get(["series","maxCount"])||10,L=Math.min(x,R),P;if(!(x<1)){var M=l();if(M){var k=w.get(["general","withTitle"]);P=s(k,{title:M})}else P=w.get(["general","withoutTitle"]);var G=[],Y=x>1?w.get(["series","multiple","prefix"]):w.get(["series","single","prefix"]);P+=s(Y,{seriesCount:x}),r.eachSeries(function(pe,ve){if(ve<L){var Ee=void 0,Se=pe.get("name"),ke=Se?"withName":"withoutName";Ee=x>1?w.get(["series","multiple",ke]):w.get(["series","single",ke]),Ee=s(Ee,{seriesId:pe.seriesIndex,seriesName:pe.get("name"),seriesType:f(pe.subType)});var Le=pe.getData();if(Le.count()>Q){var be=w.get(["data","partialData"]);Ee+=s(be,{displayCnt:Q})}else Ee+=w.get(["data","allData"]);for(var ze=w.get(["data","separator","middle"]),ut=w.get(["data","separator","end"]),ft=w.get(["data","excludeDimensionId"]),Qt=[],vt=0;vt<Le.count();vt++)if(vt<Q){var Gt=Le.getName(vt),Ct=ft?Ii(Le.getValues(vt),function(dr,ur){return Vn(ft,ur)===-1}):Le.getValues(vt),St=w.get(["data",Gt?"withName":"withoutName"]);Qt.push(s(St,{name:Gt,value:Ct.join(ze)}))}Ee+=Qt.join(ze)+ut,G.push(Ee)}});var re=w.getModel(["series","multiple","separator"]),ie=re.get("middle"),le=re.get("end");P+=G.join(ie)+le,v.setAttribute("aria-label",P)}}}}function s(v,C){if(!en(v))return v;var w=v;return Ne(C,function(x,Q){w=w.replace(new RegExp("\\{\\s*"+Q+"\\s*\\}","g"),x)}),w}function l(){var v=r.get("title");return v&&v.length&&(v=v[0]),v&&v.text}function f(v){var C=r.getLocaleModel().get(["series","typeNames"]);return C[v]||C.chart}}function iX(r){if(!(!r||!r.aria)){var t=r.aria;t.show!=null&&(t.enabled=t.show),t.label=t.label||{},Ne(["description","general","series","data"],function(e){t[e]!=null&&(t.label[e]=t[e])})}}function aX(r){r.registerPreprocessor(iX),r.registerVisual(r.PRIORITY.VISUAL.ARIA,nX)}var mN={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},oX=function(){function r(t){var e=this._condVal=en(t)?new RegExp(t):q3(t)?t:null;if(e==null){var n="";Ba(n)}}return r.prototype.evaluate=function(t){var e=typeof t;return en(e)?this._condVal.test(t):$i(e)?this._condVal.test(t+""):!1},r}(),sX=function(){function r(){}return r.prototype.evaluate=function(){return this.value},r}(),uX=function(){function r(){}return r.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},r}(),cX=function(){function r(){}return r.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},r}(),lX=function(){function r(){}return r.prototype.evaluate=function(){return!this.child.evaluate()},r}(),hX=function(){function r(){}return r.prototype.evaluate=function(){for(var t=!!this.valueParser,e=this.getValue,n=e(this.valueGetterParam),i=t?this.valueParser(n):null,o=0;o<this.subCondList.length;o++)if(!this.subCondList[o].evaluate(t?i:n))return!1;return!0},r}();function c_(r,t){if(r===!0||r===!1){var e=new sX;return e.value=r,e}var n="";return bN(r)||Ba(n),r.and?IN("and",r,t):r.or?IN("or",r,t):r.not?fX(r,t):AX(r,t)}function IN(r,t,e){var n=t[r],i="";yr(n)||Ba(i),n.length||Ba(i);var o=r==="and"?new uX:new cX;return o.children=pr(n,function(s){return c_(s,e)}),o.children.length||Ba(i),o}function fX(r,t){var e=r.not,n="";bN(e)||Ba(n);var i=new lX;return i.child=c_(e,t),i.child||Ba(n),i}function AX(r,t){for(var e="",n=t.prepareGetValue(r),i=[],o=fi(r),s=r.parser,l=s?ro(s):null,f=0;f<o.length;f++){var v=o[f];if(!(v==="parser"||t.valueGetterAttrMap.get(v))){var C=ln(mN,v)?mN[v]:v,w=r[v],x=l?l(w):w,Q=Pl(C,x)||C==="reg"&&new oX(x);Q||Ba(e),i.push(Q)}}i.length||Ba(e);var R=new hX;return R.valueGetterParam=n,R.valueParser=l,R.getValue=t.getValue,R.subCondList=i,R}function bN(r){return Ln(r)&&!bo(r)}var dX=function(){function r(t,e){this._cond=c_(t,e)}return r.prototype.evaluate=function(){return this._cond.evaluate()},r}();function gX(r,t){return new dX(r,t)}var pX={type:"echarts:filter",transform:function(r){for(var t=r.upstream,e,n=gX(r.config,{valueGetterAttrMap:mn({dimension:!0}),prepareGetValue:function(l){var f="",v=l.dimension;ln(l,"dimension")||Ba(f);var C=t.getDimensionInfo(v);return C||Ba(f),{dimIdx:C.index}},getValue:function(l){return t.retrieveValueFromItem(e,l.dimIdx)}}),i=[],o=0,s=t.count();o<s;o++)e=t.getRawDataItem(o),n.evaluate()&&i.push(e);return{data:i}}},vX={type:"echarts:sort",transform:function(r){var t=r.upstream,e=r.config,n="",i=ja(e);i.length||Ba(n);var o=[];Ne(i,function(C){var w=C.dimension,x=C.order,Q=C.parser,R=C.incomparable;if(w==null&&Ba(n),x!=="asc"&&x!=="desc"&&Ba(n),R&&R!=="min"&&R!=="max"){var L="";Ba(L)}if(x!=="asc"&&x!=="desc"){var P="";Ba(P)}var M=t.getDimensionInfo(w);M||Ba(n);var k=Q?ro(Q):null;Q&&!k&&Ba(n),o.push({dimIdx:M.index,parser:k,comparator:new Au(x,R)})});var s=t.sourceFormat;s!==Qu&&s!==Ol&&Ba(n);for(var l=[],f=0,v=t.count();f<v;f++)l.push(t.getRawDataItem(f));return l.sort(function(C,w){for(var x=0;x<o.length;x++){var Q=o[x],R=t.retrieveValueFromItem(C,Q.dimIdx),L=t.retrieveValueFromItem(w,Q.dimIdx);Q.parser&&(R=Q.parser(R),L=Q.parser(L));var P=Q.comparator.evaluate(R,L);if(P!==0)return P}return 0}),{data:l}}};function yX(r){r.registerTransform(pX),r.registerTransform(vX)}var mX=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="dataset",e}return t.prototype.init=function(e,n,i){r.prototype.init.call(this,e,n,i),this._sourceManager=new pm(this),_b(this)},t.prototype.mergeOption=function(e,n){r.prototype.mergeOption.call(this,e,n),_b(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:ih},t}(Oi),IX=function(r){kt(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="dataset",e}return t.type="dataset",t}(a);function bX(r){r.registerComponentModel(mX),r.registerComponentView(IX)}var I0=eh.CMD;function k3(r,t){return Math.abs(r-t)<1e-5}function l_(r){var t=r.data,e=r.len(),n=[],i,o=0,s=0,l=0,f=0;function v(Le,be){i&&i.length>2&&n.push(i),i=[Le,be]}function C(Le,be,ze,ut){k3(Le,ze)&&k3(be,ut)||i.push(Le,be,ze,ut,ze,ut)}function w(Le,be,ze,ut,ft,Qt){var vt=Math.abs(be-Le),Gt=Math.tan(vt/4)*4/3,Ct=be<Le?-1:1,St=Math.cos(Le),dr=Math.sin(Le),ur=Math.cos(be),ir=Math.sin(be),Fn=St*ft+ze,Ei=dr*Qt+ut,Vr=ur*ft+ze,qr=ir*Qt+ut,Tn=ft*Gt*Ct,zr=Qt*Gt*Ct;i.push(Fn-Tn*dr,Ei+zr*St,Vr+Tn*ir,qr-zr*ur,Vr,qr)}for(var x,Q,R,L,P=0;P<e;){var M=t[P++],k=P===1;switch(k&&(o=t[P],s=t[P+1],l=o,f=s,(M===I0.L||M===I0.C||M===I0.Q)&&(i=[l,f])),M){case I0.M:o=l=t[P++],s=f=t[P++],v(l,f);break;case I0.L:x=t[P++],Q=t[P++],C(o,s,x,Q),o=x,s=Q;break;case I0.C:i.push(t[P++],t[P++],t[P++],t[P++],o=t[P++],s=t[P++]);break;case I0.Q:x=t[P++],Q=t[P++],R=t[P++],L=t[P++],i.push(o+2/3*(x-o),s+2/3*(Q-s),R+2/3*(x-R),L+2/3*(Q-L),R,L),o=R,s=L;break;case I0.A:var G=t[P++],Y=t[P++],re=t[P++],ie=t[P++],le=t[P++],pe=t[P++]+le;P+=1;var ve=!t[P++];x=Math.cos(le)*re+G,Q=Math.sin(le)*ie+Y,k?(l=x,f=Q,v(l,f)):C(o,s,x,Q),o=Math.cos(pe)*re+G,s=Math.sin(pe)*ie+Y;for(var Ee=(ve?-1:1)*Math.PI/2,Se=le;ve?Se>pe:Se<pe;Se+=Ee){var ke=ve?Math.max(Se+Ee,pe):Math.min(Se+Ee,pe);w(Se,ke,G,Y,re,ie)}break;case I0.R:l=o=t[P++],f=s=t[P++],x=l+t[P++],Q=f+t[P++],v(x,f),C(x,f,x,Q),C(x,Q,l,Q),C(l,Q,l,f),C(l,f,x,f);break;case I0.Z:i&&C(o,s,l,f),o=l,s=f;break}}return i&&i.length>2&&n.push(i),n}function h_(r,t,e,n,i,o,s,l,f,v){if(k3(r,e)&&k3(t,n)&&k3(i,s)&&k3(o,l)){f.push(s,l);return}var C=2/v,w=C*C,x=s-r,Q=l-t,R=Math.sqrt(x*x+Q*Q);x/=R,Q/=R;var L=e-r,P=n-t,M=i-s,k=o-l,G=L*L+P*P,Y=M*M+k*k;if(G<w&&Y<w){f.push(s,l);return}var re=x*L+Q*P,ie=-x*M-Q*k,le=G-re*re,pe=Y-ie*ie;if(le<w&&re>=0&&pe<w&&ie>=0){f.push(s,l);return}var ve=[],Ee=[];sf(r,e,i,s,.5,ve),sf(t,n,o,l,.5,Ee),h_(ve[0],Ee[0],ve[1],Ee[1],ve[2],Ee[2],ve[3],Ee[3],f,v),h_(ve[4],Ee[4],ve[5],Ee[5],ve[6],Ee[6],ve[7],Ee[7],f,v)}function CX(r,t){var e=l_(r),n=[];t=t||1;for(var i=0;i<e.length;i++){var o=e[i],s=[],l=o[0],f=o[1];s.push(l,f);for(var v=2;v<o.length;){var C=o[v++],w=o[v++],x=o[v++],Q=o[v++],R=o[v++],L=o[v++];h_(l,f,C,w,x,Q,R,L,s,t),l=R,f=L}n.push(s)}return n}function CN(r,t,e){var n=r[t],i=r[1-t],o=Math.abs(n/i),s=Math.ceil(Math.sqrt(o*e)),l=Math.floor(e/s);l===0&&(l=1,s=e);for(var f=[],v=0;v<s;v++)f.push(l);var C=s*l,w=e-C;if(w>0)for(var v=0;v<w;v++)f[v%s]+=1;return f}function wN(r,t,e){for(var n=r.r0,i=r.r,o=r.startAngle,s=r.endAngle,l=Math.abs(s-o),f=l*i,v=i-n,C=f>Math.abs(v),w=CN([f,v],C?0:1,t),x=(C?l:v)/w.length,Q=0;Q<w.length;Q++)for(var R=(C?v:l)/w[Q],L=0;L<w[Q];L++){var P={};C?(P.startAngle=o+x*Q,P.endAngle=o+x*(Q+1),P.r0=n+R*L,P.r=n+R*(L+1)):(P.startAngle=o+R*L,P.endAngle=o+R*(L+1),P.r0=n+x*Q,P.r=n+x*(Q+1)),P.clockwise=r.clockwise,P.cx=r.cx,P.cy=r.cy,e.push(P)}}function wX(r,t,e){for(var n=r.width,i=r.height,o=n>i,s=CN([n,i],o?0:1,t),l=o?"width":"height",f=o?"height":"width",v=o?"x":"y",C=o?"y":"x",w=r[l]/s.length,x=0;x<s.length;x++)for(var Q=r[f]/s[x],R=0;R<s[x];R++){var L={};L[v]=x*w,L[C]=R*Q,L[l]=w,L[f]=Q,L.x+=r.x,L.y+=r.y,e.push(L)}}function EN(r,t,e,n){return r*n-e*t}function EX(r,t,e,n,i,o,s,l){var f=e-r,v=n-t,C=s-i,w=l-o,x=EN(C,w,f,v);if(Math.abs(x)<1e-6)return null;var Q=r-i,R=t-o,L=EN(Q,R,C,w)/x;return L<0||L>1?null:new ci(L*f+r,L*v+t)}function BX(r,t,e){var n=new ci;ci.sub(n,e,t),n.normalize();var i=new ci;ci.sub(i,r,t);var o=i.dot(n);return o}function Q3(r,t){var e=r[r.length-1];e&&e[0]===t[0]&&e[1]===t[1]||r.push(t)}function kX(r,t,e){for(var n=r.length,i=[],o=0;o<n;o++){var s=r[o],l=r[(o+1)%n],f=EX(s[0],s[1],l[0],l[1],t.x,t.y,e.x,e.y);f&&i.push({projPt:BX(f,t,e),pt:f,idx:o})}if(i.length<2)return[{points:r},{points:r}];i.sort(function(P,M){return P.projPt-M.projPt});var v=i[0],C=i[i.length-1];if(C.idx<v.idx){var w=v;v=C,C=w}for(var x=[v.pt.x,v.pt.y],Q=[C.pt.x,C.pt.y],R=[x],L=[Q],o=v.idx+1;o<=C.idx;o++)Q3(R,r[o].slice());Q3(R,Q),Q3(R,x);for(var o=C.idx+1;o<=v.idx+n;o++)Q3(L,r[o%n].slice());return Q3(L,x),Q3(L,Q),[{points:R},{points:L}]}function BN(r){var t=r.points,e=[],n=[];po(t,e,n);var i=new gi(e[0],e[1],n[0]-e[0],n[1]-e[1]),o=i.width,s=i.height,l=i.x,f=i.y,v=new ci,C=new ci;return o>s?(v.x=C.x=l+o/2,v.y=f,C.y=f+s):(v.y=C.y=f+s/2,v.x=l,C.x=l+o),kX(t,v,C)}function j9(r,t,e,n){if(e===1)n.push(t);else{var i=Math.floor(e/2),o=r(t);j9(r,o[0],i,n),j9(r,o[1],e-i,n)}return n}function QX(r,t){for(var e=[],n=0;n<t;n++)e.push(Gy(r));return e}function xX(r,t){t.setStyle(r.style),t.z=r.z,t.z2=r.z2,t.zlevel=r.zlevel}function SX(r){for(var t=[],e=0;e<r.length;)t.push([r[e++],r[e++]]);return t}function _X(r,t){var e=[],n=r.shape,i;switch(r.type){case"rect":wX(n,t,e),i=ta;break;case"sector":wN(n,t,e),i=Hu;break;case"circle":wN({r0:0,r:n.r,startAngle:0,endAngle:Math.PI*2,cx:n.cx,cy:n.cy},t,e),i=Hu;break;default:var o=r.getComputedTransform(),s=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,l=pr(CX(r.getUpdatedPathProxy(),s),function(M){return SX(M)}),f=l.length;if(f===0)j9(BN,{points:l[0]},t,e);else if(f===t)for(var v=0;v<f;v++)e.push({points:l[v]});else{var C=0,w=pr(l,function(M){var k=[],G=[];po(M,k,G);var Y=(G[1]-k[1])*(G[0]-k[0]);return C+=Y,{poly:M,area:Y}});w.sort(function(M,k){return k.area-M.area});for(var x=t,v=0;v<f;v++){var Q=w[v];if(x<=0)break;var R=v===f-1?x:Math.ceil(Q.area/C*t);R<0||(j9(BN,{points:Q.poly},R,e),x-=R)}}i=Yu;break}if(!i)return QX(r,t);for(var L=[],v=0;v<e.length;v++){var P=new i;P.setShape(e[v]),xX(r,P),L.push(P)}return L}function DX(r,t){var e=r.length,n=t.length;if(e===n)return[r,t];for(var i=[],o=[],s=e<n?r:t,l=Math.min(e,n),f=Math.abs(n-e)/6,v=(l-2)/6,C=Math.ceil(f/v)+1,w=[s[0],s[1]],x=f,Q=2;Q<l;){var R=s[Q-2],L=s[Q-1],P=s[Q++],M=s[Q++],k=s[Q++],G=s[Q++],Y=s[Q++],re=s[Q++];if(x<=0){w.push(P,M,k,G,Y,re);continue}for(var ie=Math.min(x,C-1)+1,le=1;le<=ie;le++){var pe=le/ie;sf(R,P,k,Y,pe,i),sf(L,M,G,re,pe,o),R=i[3],L=o[3],w.push(i[1],o[1],i[2],o[2],R,L),P=i[5],M=o[5],k=i[6],G=o[6]}x-=ie-1}return s===r?[w,t]:[r,w]}function kN(r,t){for(var e=r.length,n=r[e-2],i=r[e-1],o=[],s=0;s<t.length;)o[s++]=n,o[s++]=i;return o}function RX(r,t){for(var e,n,i,o=[],s=[],l=0;l<Math.max(r.length,t.length);l++){var f=r[l],v=t[l],C=void 0,w=void 0;f?v?(e=DX(f,v),C=e[0],w=e[1],n=C,i=w):(w=kN(i||f,f),C=f):(C=kN(n||v,v),w=v),o.push(C),s.push(w)}return[o,s]}function QN(r){for(var t=0,e=0,n=0,i=r.length,o=0,s=i-2;o<i;s=o,o+=2){var l=r[s],f=r[s+1],v=r[o],C=r[o+1],w=l*C-v*f;t+=w,e+=(l+v)*w,n+=(f+C)*w}return t===0?[r[0]||0,r[1]||0]:[e/t/3,n/t/3,t]}function MX(r,t,e,n){for(var i=(r.length-2)/6,o=1/0,s=0,l=r.length,f=l-2,v=0;v<i;v++){for(var C=v*6,w=0,x=0;x<l;x+=2){var Q=x===0?C:(C+x-2)%f+2,R=r[Q]-e[0],L=r[Q+1]-e[1],P=t[x]-n[0],M=t[x+1]-n[1],k=P-R,G=M-L;w+=k*k+G*G}w<o&&(o=w,s=v)}return s}function FX(r){for(var t=[],e=r.length,n=0;n<e;n+=2)t[n]=r[e-n-2],t[n+1]=r[e-n-1];return t}function TX(r,t,e,n){for(var i=[],o,s=0;s<r.length;s++){var l=r[s],f=t[s],v=QN(l),C=QN(f);o==null&&(o=v[2]<0!=C[2]<0);var w=[],x=[],Q=0,R=1/0,L=[],P=l.length;o&&(l=FX(l));for(var M=MX(l,f,v,C)*6,k=P-2,G=0;G<k;G+=2){var Y=(M+G)%k+2;w[G+2]=l[Y]-v[0],w[G+3]=l[Y+1]-v[1]}w[0]=l[M]-v[0],w[1]=l[M+1]-v[1];for(var re=n/e,ie=-n/2;ie<=n/2;ie+=re){for(var le=Math.sin(ie),pe=Math.cos(ie),ve=0,G=0;G<l.length;G+=2){var Ee=w[G],Se=w[G+1],ke=f[G]-C[0],Le=f[G+1]-C[1],be=ke*pe-Le*le,ze=ke*le+Le*pe;L[G]=be,L[G+1]=ze;var ut=be-Ee,ft=ze-Se;ve+=ut*ut+ft*ft}if(ve<R){R=ve,Q=ie;for(var Qt=0;Qt<L.length;Qt++)x[Qt]=L[Qt]}}i.push({from:w,to:x,fromCp:v,toCp:C,rotation:-Q})}return i}function H9(r){return r.__isCombineMorphing}var xN="__mOriginal_";function Y9(r,t,e){var n=xN+t,i=r[n]||r[t];r[n]||(r[n]=r[t]);var o=e.replace,s=e.after,l=e.before;r[t]=function(){var f=arguments,v;return l&&l.apply(this,f),o?v=o.apply(this,f):v=i.apply(this,f),s&&s.apply(this,f),v}}function uQ(r,t){var e=xN+t;r[e]&&(r[t]=r[e],r[e]=null)}function SN(r,t){for(var e=0;e<r.length;e++)for(var n=r[e],i=0;i<n.length;){var o=n[i],s=n[i+1];n[i++]=t[0]*o+t[2]*s+t[4],n[i++]=t[1]*o+t[3]*s+t[5]}}function _N(r,t){var e=r.getUpdatedPathProxy(),n=t.getUpdatedPathProxy(),i=RX(l_(e),l_(n)),o=i[0],s=i[1],l=r.getComputedTransform(),f=t.getComputedTransform();function v(){this.transform=null}l&&SN(o,l),f&&SN(s,f),Y9(t,"updateTransform",{replace:v}),t.transform=null;var C=TX(o,s,10,Math.PI),w=[];Y9(t,"buildPath",{replace:function(x){for(var Q=t.__morphT,R=1-Q,L=[],P=0;P<C.length;P++){var M=C[P],k=M.from,G=M.to,Y=M.rotation*Q,re=M.fromCp,ie=M.toCp,le=Math.sin(Y),pe=Math.cos(Y);S0(L,re,ie,Q);for(var ve=0;ve<k.length;ve+=2){var Ee=k[ve],Se=k[ve+1],ke=G[ve],Le=G[ve+1],be=Ee*R+ke*Q,ze=Se*R+Le*Q;w[ve]=be*pe-ze*le+L[0],w[ve+1]=be*le+ze*pe+L[1]}var ut=w[0],ft=w[1];x.moveTo(ut,ft);for(var ve=2;ve<k.length;){var ke=w[ve++],Le=w[ve++],Qt=w[ve++],vt=w[ve++],Gt=w[ve++],Ct=w[ve++];ut===ke&&ft===Le&&Qt===Gt&&vt===Ct?x.lineTo(Gt,Ct):x.bezierCurveTo(ke,Le,Qt,vt,Gt,Ct),ut=Gt,ft=Ct}}}})}function f_(r,t,e){if(!r||!t)return t;var n=e.done,i=e.during;_N(r,t),t.__morphT=0;function o(){uQ(t,"buildPath"),uQ(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()}return t.animateTo({__morphT:1},pn({during:function(s){t.dirtyShape(),i&&i(s)},done:function(){o(),n&&n()}},e)),t}function LX(r,t,e,n,i,o){var s=16;r=i===e?0:Math.round(32767*(r-e)/(i-e)),t=o===n?0:Math.round(32767*(t-n)/(o-n));for(var l=0,f,v=(1<<s)/2;v>0;v/=2){var C=0,w=0;(r&v)>0&&(C=1),(t&v)>0&&(w=1),l+=v*v*(3*C^w),w===0&&(C===1&&(r=v-1-r,t=v-1-t),f=r,r=t,t=f)}return l}function J9(r){var t=1/0,e=1/0,n=-1/0,i=-1/0,o=pr(r,function(l){var f=l.getBoundingRect(),v=l.getComputedTransform(),C=f.x+f.width/2+(v?v[4]:0),w=f.y+f.height/2+(v?v[5]:0);return t=Math.min(C,t),e=Math.min(w,e),n=Math.max(C,n),i=Math.max(w,i),[C,w]}),s=pr(o,function(l,f){return{cp:l,z:LX(l[0],l[1],t,e,n,i),path:r[f]}});return s.sort(function(l,f){return l.z-f.z}).map(function(l){return l.path})}function DN(r){return _X(r.path,r.count)}function A_(){return{fromIndividuals:[],toIndividuals:[],count:0}}function NX(r,t,e){var n=[];function i(re){for(var ie=0;ie<re.length;ie++){var le=re[ie];H9(le)?i(le.childrenRef()):le instanceof Si&&n.push(le)}}i(r);var o=n.length;if(!o)return A_();var s=e.dividePath||DN,l=s({path:t,count:o});if(l.length!==o)return console.error("Invalid morphing: unmatched splitted path"),A_();n=J9(n),l=J9(l);for(var f=e.done,v=e.during,C=e.individualDelay,w=new hf,x=0;x<o;x++){var Q=n[x],R=l[x];R.parent=t,R.copyTransform(w),C||_N(Q,R)}t.__isCombineMorphing=!0,t.childrenRef=function(){return l};function L(re){for(var ie=0;ie<l.length;ie++)l[ie].addSelfToZr(re)}Y9(t,"addSelfToZr",{after:function(re){L(re)}}),Y9(t,"removeSelfFromZr",{after:function(re){for(var ie=0;ie<l.length;ie++)l[ie].removeSelfFromZr(re)}});function P(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,uQ(t,"addSelfToZr"),uQ(t,"removeSelfFromZr")}var M=l.length;if(C)for(var k=M,G=function(){k--,k===0&&(P(),f&&f())},x=0;x<M;x++){var Y=C?pn({delay:(e.delay||0)+C(x,M,n[x],l[x]),done:G},e):e;f_(n[x],l[x],Y)}else t.__morphT=0,t.animateTo({__morphT:1},pn({during:function(re){for(var ie=0;ie<M;ie++){var le=l[ie];le.__morphT=t.__morphT,le.dirtyShape()}v&&v(re)},done:function(){P();for(var re=0;re<r.length;re++)uQ(r[re],"updateTransform");f&&f()}},e));return t.__zr&&L(t.__zr),{fromIndividuals:n,toIndividuals:l,count:M}}function OX(r,t,e){var n=t.length,i=[],o=e.dividePath||DN;function s(Q){for(var R=0;R<Q.length;R++){var L=Q[R];H9(L)?s(L.childrenRef()):L instanceof Si&&i.push(L)}}if(H9(r)){s(r.childrenRef());var l=i.length;if(l<n)for(var f=0,v=l;v<n;v++)i.push(Gy(i[f++%l]));i.length=n}else{i=o({path:r,count:n});for(var C=r.getComputedTransform(),v=0;v<i.length;v++)i[v].setLocalTransform(C);if(i.length!==n)return console.error("Invalid morphing: unmatched splitted path"),A_()}i=J9(i),t=J9(t);for(var w=e.individualDelay,v=0;v<n;v++){var x=w?pn({delay:(e.delay||0)+w(v,n,i[v],t[v])},e):e;f_(i[v],t[v],x)}return{fromIndividuals:i,toIndividuals:t,count:t.length}}function RN(r){return yr(r[0])}function MN(r,t){for(var e=[],n=r.length,i=0;i<n;i++)e.push({one:r[i],many:[]});for(var i=0;i<t.length;i++){var o=t[i].length,s=void 0;for(s=0;s<o;s++)e[s%n].many.push(t[i][s])}for(var l=0,i=n-1;i>=0;i--)if(!e[i].many.length){var f=e[l].many;if(f.length<=1)if(l)l=0;else return e;var o=f.length,v=Math.ceil(o/2);e[i].many=f.slice(v,o),e[l].many=f.slice(0,v),l++}return e}var PX={clone:function(r){for(var t=[],e=1-Math.pow(1-r.path.style.opacity,1/r.count),n=0;n<r.count;n++){var i=Gy(r.path);i.setStyle("opacity",e),t.push(i)}return t},split:null};function d_(r,t,e,n,i,o){if(!r.length||!t.length)return;var s=ig("update",n,i);if(!(s&&s.duration>0))return;var l=n.getModel("universalTransition").get("delay"),f=Object.assign({setToFinal:!0},s),v,C;RN(r)&&(v=r,C=t),RN(t)&&(v=t,C=r);function w(M,k,G,Y,re){var ie=M.many,le=M.one;if(ie.length===1&&!re){var pe=k?ie[0]:le,ve=k?le:ie[0];if(H9(pe))w({many:[pe],one:ve},!0,G,Y,!0);else{var Ee=l?pn({delay:l(G,Y)},f):f;f_(pe,ve,Ee),o(pe,ve,pe,ve,Ee)}}else for(var Se=pn({dividePath:PX[e],individualDelay:l&&function(ft,Qt,vt,Gt){return l(ft+G,Y)}},f),ke=k?NX(ie,le,Se):OX(le,ie,Se),Le=ke.fromIndividuals,be=ke.toIndividuals,ze=Le.length,ut=0;ut<ze;ut++){var Ee=l?pn({delay:l(ut,ze)},f):f;o(Le[ut],be[ut],k?ie[ut]:M.one,k?M.one:ie[ut],Ee)}}for(var x=v?v===r:r.length>t.length,Q=v?MN(C,v):MN(x?t:r,[x?r:t]),R=0,L=0;L<Q.length;L++)R+=Q[L].many.length;for(var P=0,L=0;L<Q.length;L++)w(Q[L],x,P,R),P+=Q[L].many.length}function QC(r){if(!r)return[];if(yr(r)){for(var t=[],e=0;e<r.length;e++)t.push(QC(r[e]));return t}var n=[];return r.traverse(function(i){i instanceof Si&&!i.disableMorphing&&!i.invisible&&!i.ignore&&n.push(i)}),n}var FN=1e4,GX=0,TN=1,LN=2,UX=Vi();function jX(r,t){for(var e=r.dimensions,n=0;n<e.length;n++){var i=r.getDimensionInfo(e[n]);if(i&&i.otherDims[t]===0)return e[n]}}function HX(r,t,e){var n=r.getDimensionInfo(e),i=n&&n.ordinalMeta;if(n){var o=r.get(n.name,t);return i&&i.categories[o]||o+""}}function NN(r,t,e,n){var i=n?"itemChildGroupId":"itemGroupId",o=jX(r,i);if(o){var s=HX(r,t,o);return s}var l=r.getRawDataItem(t),f=n?"childGroupId":"groupId";if(l&&l[f])return l[f]+"";if(!n)return e||r.getId(t)}function ON(r){var t=[];return Ne(r,function(e){var n=e.data,i=e.dataGroupId;if(!(n.count()>FN))for(var o=n.getIndices(),s=0;s<o.length;s++)t.push({data:n,groupId:NN(n,s,i,!1),childGroupId:NN(n,s,i,!0),divide:e.divide,dataIndex:s})}),t}function g_(r,t,e){r.traverse(function(n){n instanceof Si&&Co(n,{style:{opacity:0}},t,{dataIndex:e,isFrom:!0})})}function p_(r){if(r.parent){var t=r.getComputedTransform();r.setLocalTransform(t),r.parent.remove(r)}}function x3(r){r.stopAnimation(),r.isGroup&&r.traverse(function(t){t.stopAnimation()})}function YX(r,t,e){var n=ig("update",e,t);n&&r.traverse(function(i){if(i instanceof ii){var o=ag(i);o&&i.animateFrom({style:o},n)}})}function JX(r,t){var e=r.length;if(e!==t.length)return!1;for(var n=0;n<e;n++){var i=r[n],o=t[n];if(i.data.getId(i.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}function PN(r,t,e){var n=ON(r),i=ON(t);function o(G,Y,re,ie,le){(re||G)&&Y.animateFrom({style:re&&re!==G?ar(ar({},re.style),G.style):G.style},le)}var s=!1,l=GX,f=mn(),v=mn();n.forEach(function(G){G.groupId&&f.set(G.groupId,!0),G.childGroupId&&v.set(G.childGroupId,!0)});for(var C=0;C<i.length;C++){var w=i[C].groupId;if(v.get(w)){l=TN;break}var x=i[C].childGroupId;if(x&&f.get(x)){l=LN;break}}function Q(G,Y){return function(re){var ie=re.data,le=re.dataIndex;return Y?ie.getId(le):G?l===TN?re.childGroupId:re.groupId:l===LN?re.childGroupId:re.groupId}}var R=JX(n,i),L={};if(!R)for(var C=0;C<i.length;C++){var P=i[C],M=P.data.getItemGraphicEl(P.dataIndex);M&&(L[M.id]=!0)}function k(G,Y){var re=n[Y],ie=i[G],le=ie.data.hostModel,pe=re.data.getItemGraphicEl(re.dataIndex),ve=ie.data.getItemGraphicEl(ie.dataIndex);if(pe===ve){ve&&YX(ve,ie.dataIndex,le);return}pe&&L[pe.id]||ve&&(x3(ve),pe?(x3(pe),p_(pe),s=!0,d_(QC(pe),QC(ve),ie.divide,le,G,o)):g_(ve,le,G))}new Wh(n,i,Q(!0,R),Q(!1,R),null,"multiple").update(k).updateManyToOne(function(G,Y){var re=i[G],ie=re.data,le=ie.hostModel,pe=ie.getItemGraphicEl(re.dataIndex),ve=Ii(pr(Y,function(Ee){return n[Ee].data.getItemGraphicEl(n[Ee].dataIndex)}),function(Ee){return Ee&&Ee!==pe&&!L[Ee.id]});pe&&(x3(pe),ve.length?(Ne(ve,function(Ee){x3(Ee),p_(Ee)}),s=!0,d_(QC(ve),QC(pe),re.divide,le,G,o)):g_(pe,le,re.dataIndex))}).updateOneToMany(function(G,Y){var re=n[Y],ie=re.data.getItemGraphicEl(re.dataIndex);if(!(ie&&L[ie.id])){var le=Ii(pr(G,function(ve){return i[ve].data.getItemGraphicEl(i[ve].dataIndex)}),function(ve){return ve&&ve!==ie}),pe=i[G[0]].data.hostModel;le.length&&(Ne(le,function(ve){return x3(ve)}),ie?(x3(ie),p_(ie),s=!0,d_(QC(ie),QC(le),re.divide,pe,G[0],o)):Ne(le,function(ve){return g_(ve,pe,G[0])}))}}).updateManyToMany(function(G,Y){new Wh(Y,G,function(re){return n[re].data.getId(n[re].dataIndex)},function(re){return i[re].data.getId(i[re].dataIndex)}).update(function(re,ie){k(G[re],Y[ie])}).execute()}).execute(),s&&Ne(t,function(G){var Y=G.data,re=Y.hostModel,ie=re&&e.getViewOfSeriesModel(re),le=ig("update",re,0);ie&&re.isAnimationEnabled()&&le&&le.duration>0&&ie.group.traverse(function(pe){pe instanceof Si&&!pe.animators.length&&pe.animateFrom({style:{opacity:0}},le)})})}function GN(r){var t=r.getModel("universalTransition").get("seriesKey");return t||r.id}function UN(r){return yr(r)?r.sort().join(","):r}function Km(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function WX(r,t){var e=mn(),n=mn(),i=mn();return Ne(r.oldSeries,function(o,s){var l=r.oldDataGroupIds[s],f=r.oldData[s],v=GN(o),C=UN(v);n.set(C,{dataGroupId:l,data:f}),yr(v)&&Ne(v,function(w){i.set(w,{key:C,dataGroupId:l,data:f})})}),Ne(t.updatedSeries,function(o){if(o.isUniversalTransitionEnabled()&&o.isAnimationEnabled()){var s=o.get("dataGroupId"),l=o.getData(),f=GN(o),v=UN(f),C=n.get(v);if(C)e.set(v,{oldSeries:[{dataGroupId:C.dataGroupId,divide:Km(C.data),data:C.data}],newSeries:[{dataGroupId:s,divide:Km(l),data:l}]});else if(yr(f)){var w=[];Ne(f,function(R){var L=n.get(R);L.data&&w.push({dataGroupId:L.dataGroupId,divide:Km(L.data),data:L.data})}),w.length&&e.set(v,{oldSeries:w,newSeries:[{dataGroupId:s,data:l,divide:Km(l)}]})}else{var x=i.get(f);if(x){var Q=e.get(x.key);Q||(Q={oldSeries:[{dataGroupId:x.dataGroupId,data:x.data,divide:Km(x.data)}],newSeries:[]},e.set(x.key,Q)),Q.newSeries.push({dataGroupId:s,data:l,divide:Km(l)})}}}}),e}function jN(r,t){for(var e=0;e<r.length;e++){var n=t.seriesIndex!=null&&t.seriesIndex===r[e].seriesIndex||t.seriesId!=null&&t.seriesId===r[e].id;if(n)return e}}function qX(r,t,e,n){var i=[],o=[];Ne(ja(r.from),function(s){var l=jN(t.oldSeries,s);l>=0&&i.push({dataGroupId:t.oldDataGroupIds[l],data:t.oldData[l],divide:Km(t.oldData[l]),groupIdDim:s.dimension})}),Ne(ja(r.to),function(s){var l=jN(e.updatedSeries,s);if(l>=0){var f=e.updatedSeries[l].getData();o.push({dataGroupId:t.oldDataGroupIds[l],data:f,divide:Km(f),groupIdDim:s.dimension})}}),i.length>0&&o.length>0&&PN(i,o,n)}function zX(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){Ne(ja(n.seriesTransition),function(i){Ne(ja(i.to),function(o){for(var s=n.updatedSeries,l=0;l<s.length;l++)(o.seriesIndex!=null&&o.seriesIndex===s[l].seriesIndex||o.seriesId!=null&&o.seriesId===s[l].id)&&(s[l][nl]=!0)})})}),r.registerUpdateLifecycle("series:transition",function(t,e,n){var i=UX(e);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var o=n.seriesTransition;if(o)Ne(ja(o),function(Q){qX(Q,i,n,e)});else{var s=WX(i,n);Ne(s.keys(),function(Q){var R=s.get(Q);PN(R.oldSeries,R.newSeries,e)})}Ne(n.updatedSeries,function(Q){Q[nl]&&(Q[nl]=!1)})}for(var l=t.getSeries(),f=i.oldSeries=[],v=i.oldDataGroupIds=[],C=i.oldData=[],w=0;w<l.length;w++){var x=l[w].getData();x.count()<FN&&(f.push(l[w]),v.push(l[w].get("dataGroupId")),C.push(x))}})}Fi([g8]),Fi([O6]),Fi([x8,td,KG,xU,PU,Bj,$j,LH,iY,lY,mY,AJ,OJ,KJ,hW,gW,BW,RW,HW,KW,aq,jq]),Fi(sz),Fi(Mz),Fi(PR),Fi(Wz),Fi(oF),Fi(Vz),Fi(aK),Fi(WK),Fi(hV),Fi($4),Fi(xV),Fi(DV),Fi(UV),Fi(zV),Fi(eZ),Fi(oZ),Fi(pZ),Fi(FZ),Fi(KL),Fi($L),Fi(eX),Fi(gN),Fi(vN),Fi(aX),Fi(yX),Fi(bX),Fi(zX),Fi(ZA);var W9=1;function Uf(r){var t=60,e=62,n=45,i=47,o=33,s=39,l=34,f=63,v=`\r
  281. >/= `,C=0;return W9=1,HN(function w(){for(var x=[];r[C];){if(r.charCodeAt(C)==t){if(r.charCodeAt(C+1)===i)return C=r.indexOf(">",C),x;if(r.charCodeAt(C+1)===o){if(r.charCodeAt(C+2)==n){for(;r.charCodeAt(C)!==e||r.charCodeAt(C-1)!=n||r.charCodeAt(C-2)!=n||C==-1;)C=r.indexOf(">",C+1);C===-1&&(C=r.length)}else for(C+=2;r.charCodeAt(C)!==e;C++);C++;continue}if(r.charCodeAt(C+1)===f){C=r.indexOf(">",C),C++;continue}for(var Q=++C;v.indexOf(r[C])===-1;C++);for(var R=r.slice(Q,C),L=!1,P={};r.charCodeAt(C)!==e;C++){var M=r.charCodeAt(C);if(M>64&&M<91||M>96&&M<123){for(Q=C;v.indexOf(r[C])===-1;C++);for(var k=r.slice(Q,C),G=r.charCodeAt(C);G!==s&&G!==l;)C++,G=r.charCodeAt(C);var Y=r[C],re=++C;C=r.indexOf(Y,re);var ie=r.slice(re,C);L||(P={},L=!0),P[k]=ie}}var le=[];r.charCodeAt(C-1)!==i&&(C++,le=w()),x.push({children:le,tagName:R,attrs:P})}else{var pe=C;(C=r.indexOf("<",C)-1)===-2&&(C=r.length);var ve=r.slice(pe,C+1);ve.length>0&&x.push(ve)}C++}return x}())}function HN(r){var t={};if(r===void 0)return{};if(r.length===1&&typeof r[0]=="string")return r[0];for(var e in r.forEach(function(n){if(t[n.tagName]||(t[n.tagName]=[]),typeof n=="object"){var i=HN(n.children);typeof i=="object"&&(n.attrs&&(i.attrs=n.attrs),i.attrs===void 0?i.attrs={order:W9}:i.attrs.order=W9),W9++,t[n.tagName].push(i)}}),t)t[e].length==1&&(t[e]=t[e][0]);return t}function Ya(r){return r/12700}function q9(r){return r/100}function z9(r){return r/6e4}function Vm(r){return r/1e5}function v_(r){var t=Math.ceil(r/26),e=(r%26||26)-1+65;return String.fromCharCode(e).repeat(t)}function nu(r,t,e){var n={type:"solidFill"};if(r["a:srgbClr"])n.color="#"+r["a:srgbClr"].attrs.val;else if(r["a:schemeClr"]){var i=r["a:schemeClr"].attrs.val;e&&(i=e.getColorThemeName(i)),n.color=t.getColor(i)}else if(r["a:sysClr"])n.color="#"+r["a:sysClr"].attrs.lastClr;else if(r["a:prstClr"]){var o=It.get(r["a:prstClr"],["attrs","val"]);n.color=function(x){var Q,R=["white","AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"],L=["ffffff","f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"],P=R.indexOf(x);return P!=-1&&(Q=L[P]),"#".concat(Q||"000000")}(o)}var s=r["a:srgbClr"]||r["a:schemeClr"]||r["a:sysClr"],l=It.get(s,["a:alpha","attrs","val"],1e5);n.alpha=l/1e5;var f=It.get(s,["a:shade","attrs","val"]);f&&(n.shade=f/1e5);var v=It.get(s,["a:lumMod","attrs","val"]);v&&(n.lumMod=v/1e5);var C=It.get(s,["a:lumOff","attrs","val"]);C&&(n.lumOff=C/1e5);var w=It.get(s,["a:tint","attrs","val"]);return w&&(n.tint=w/1e5),n}function cQ(r,t,e){var n,i={type:"blipFill"},o=It.get(r,["a:blip","attrs","r:embed"]);if(o){var s=(n=e.rels[o])===null||n===void 0?void 0:n.target;s&&(i.base64=t.getMedia(s))}var l=It.get(r,["a:blip","a:alphaModFix","attrs","amt"]);l&&(i.alpha=l/1e5);var f=It.get(r,["a:stretch","a:fillRect","attrs"]);return f&&(i.fillRect={},f.b&&(i.fillRect.b=f.b/1e5),f.t&&(i.fillRect.t=f.t/1e5),f.r&&(i.fillRect.r=f.r/1e5),f.l&&(i.fillRect.l=f.l/1e5)),i}function lQ(r,t,e){var n={type:"gradFill",tileRect:{},lin:{},gsList:[]};n.flip=r.attrs.flip,n.path=It.get(r,["a:path","attrs","path"])||"linear",n.rotWithShape=r.attrs.rotWithShape==="1",It.get(r,["a:lin","attrs","ang"])&&(n.lin.ang=z9(r["a:lin"].attrs.ang)),It.get(r,["a:lin","attrs","scaled"])&&(n.lin.scaled=r["a:lin"].attrs.scaled==="1");var i=It.get(r,["a:gsLst","a:gs"])||[];return n.gsList=i.map(function(o){return{color:nu(o,t,e),pos:Vm(o.attrs.pos)}}),It.get(r,["a:tileRect","attrs","l"])&&(n.tileRect.l=Vm(r["a:tileRect"].attrs.l)),It.get(r,["a:tileRect","attrs","t"])&&(n.tileRect.t=Vm(r["a:tileRect"].attrs.t)),It.get(r,["a:tileRect","attrs","r"])&&(n.tileRect.r=Vm(r["a:tileRect"].attrs.r)),It.get(r,["a:tileRect","attrs","b"])&&(n.tileRect.b=Vm(r["a:tileRect"].attrs.b)),n}function y_(r){return r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4)}function m_(r){return r<.0031308?12.92*r:1.055*Math.pow(r,1/2.4)-.055}function YN(r,t){var e=r[0],n=r[1],i=r[2],o=y_(e/255)*t,s=y_(n/255)*t,l=y_(i/255)*t;return[Math.round(255*m_(o)),Math.round(255*m_(s)),Math.round(255*m_(l))]}function I_(r,t,e){var n=r/255,i=t/255,o=e/255,s=Math.max(n,i,o),l=Math.min(n,i,o),f=s-l,v=0,C=(s+l)/2;return f===0?v=0:s===n?v=(i-o)/f%6:s===i?v=(o-n)/f+2:s===o&&(v=(n-i)/f+4),(v=Math.round(60*v))<0&&(v+=360),{h:v,s:f===0||C===0||C===1?0:f/(1-Math.abs(2*C-1)),l:C}}function b_(r,t,e){var n,i,o,s=(1-Math.abs(2*e-1))*t,l=s*(1-Math.abs(r/60%2-1)),f=e-s/2;return r<60?(n=s,i=l,o=0):r<120?(n=l,i=s,o=0):r<180?(n=0,i=s,o=l):r<240?(n=0,i=l,o=s):r<300?(n=l,i=0,o=s):(n=s,i=0,o=l),[n=Math.round(255*(n+f)),i=Math.round(255*(i+f)),o=Math.round(255*(o+f))]}function $a(r,t){if(!r||r.type==="none")return"";if(r.type==="solidFill"&&/^#[\da-fA-F]{3,6}$/.test(r.color)){var e=parseInt(r.color.substr(1,2),16),n=parseInt(r.color.substr(3,2),16),i=parseInt(r.color.substr(5,2),16);if(r.shade){var o=YN([e,n,i],r.shade);e=o[0],n=o[1],i=o[2]}if(r.lumMod){var s=function(C,w,x,Q){var R=I_(C,w,x),L=R.h,P=R.l*Q;return P>=1&&(P=1),b_(L,R.s,P)}(e,n,i,r.lumMod);e=s[0],n=s[1],i=s[2]}if(r.lumOff&&(s=function(C,w,x,Q){var R=I_(C,w,x),L=R.h,P=Q+R.l;return P>1&&(P=1),b_(L,R.s,P)}(e,n,i,r.lumOff),e=s[0],n=s[1],i=s[2]),r.tint||t!=null&&t.light){var l=function(C,w,x,Q){var R=I_(C,w,x),L=R.h,P=R.l;return Q>=1&&(Q=1),b_(L,R.s,P*Q+(1-Q))}(e,n,i,r.tint||(t==null?void 0:t.light));e=l[0],n=l[1],i=l[2]}if(t!=null&&t.dark){var f=YN([e,n,i],t==null?void 0:t.dark);e=f[0],n=f[1],i=f[2]}var v=r.alpha;return"rgba(".concat(e,",").concat(n,",").concat(i,",").concat(v,")")}}var hQ=function(){function r(t,e,n){this.uuid=xr(),this.offset={x:0,y:0},this.extend={w:0,h:0},this.rotate=0,this.order=0,this.flipV=!1,this.flipH=!1,this.source=t,this.ctx=e,this.group=n;var i=It.get(t,["p:nvSpPr","p:nvPr"]);if(i){var o=It.get(i,"p:ph");o&&o.attrs&&(this.idx=o.attrs.idx,this.type=o.attrs.type),It.get(i,["attrs","userDrawn"])&&(this.userDrawn=It.get(i,["attrs","userDrawn"])==="1")}if(this.order=It.get(t,"attrs.order",0),this.source["p:spPr"])(s=this.getXfrm())&&(this.offset={x:Math.round(Ya(parseInt(s["a:off"].attrs.x))),y:Math.round(Ya(parseInt(s["a:off"].attrs.y)))},this.extend={w:Math.round(Ya(parseInt(s["a:ext"].attrs.cx))),h:Math.round(Ya(parseInt(s["a:ext"].attrs.cy||"0")))},this.rotate=z9(parseInt(It.get(s,"attrs.rot",0))),this.flipV=It.get(s,"attrs.flipV")==="1",this.flipH=It.get(s,"attrs.flipH")==="1");else if(this.source["p:xfrm"]){var s=this.source["p:xfrm"];this.offset={x:Math.round(Ya(parseInt(s["a:off"].attrs.x))),y:Math.round(Ya(parseInt(s["a:off"].attrs.y)))},this.extend={w:Math.round(Ya(parseInt(s["a:ext"].attrs.cx))),h:Math.round(Ya(parseInt(s["a:ext"].attrs.cy)))}}if(n){var l=n.extend,f=n.chExtend,v=n.chOffset,C=f.w===0?0:l.w/f.w,w=f.h===0?0:l.h/f.h;this.extend.w=this.extend.w*C,this.extend.h=this.extend.h*w,this.offset.x=(this.offset.x-v.x)*C,this.offset.y=(this.offset.y-v.y)*w}}return Object.defineProperty(r.prototype,"theme",{get:function(){return(this.ctx.sliderMaster||this.ctx).theme},enumerable:!1,configurable:!0}),r.prototype.getColorThemeName=function(t){return this.ctx.getColorThemeName(t)},r.prototype.getXfrm=function(){var t=this.source["p:spPr"]["a:xfrm"];return t||(this.idx?t=this.ctx.getNodeInheritAttrsByIdx(this.idx,["p:spPr","a:xfrm"]):this.type&&(t=this.ctx.getNodeInheritAttrsByType(this.type,["p:spPr","a:xfrm"]))),t},r}(),KX=function(){function r(t,e){this.props={},this.inheritProps={},this.source=t,this.node=e,this._getInheritBodyProps(),this._parseBodyProps(),this._parseLstStyle(),this._parseText()}return r.prototype._getInheritBodyProps=function(){var t,e=this.node.ctx,n=this.node.type,i=this.node.idx;if(n||i)switch(e.slideType){case"slideMaster":break;case"slideLayout":(t=n?e.slideMaster.getNodeByType(n):e.slideMaster.getNodeByIdx(i))&&(this.inheritProps=It.get(t,["textBody","props"])||{});break;case"slide":(t=n?e.slideLayout.slideMaster.getNodeByType(n):e.slideLayout.slideMaster.getNodeByIdx(i))&&Object.assign(this.inheritProps,It.get(t,["textBody","props"])||{}),(t=n?e.slideLayout.getNodeByType(n):e.slideLayout.getNodeByIdx(i))&&Object.assign(this.inheritProps,It.get(t,["textBody","props"])||{})}},r.prototype._parseBodyProps=function(){var t=this,e=It.get(this.source,["a:bodyPr","attrs"])||{};Object.keys(e).forEach(function(s){switch(s){case"anchor":t.props.anchor=e[s];break;case"rtlCol":t.props.rtlCol=e[s]==="1";break;case"lIns":case"rIns":case"tIns":case"bIns":t.props[s]=Ya(parseInt(e[s]));break;case"order":break;default:t.props[s]=e[s]}});var n=It.get(this.source,["a:bodyPr","a:normAutofit","attrs"]);if(n){this.props.normAutofit={};var i=n.fontScale;i&&(this.props.normAutofit.fontScale=Vm(parseInt(i)));var o=n.lnSpcReduction;o&&(this.props.normAutofit.lnSpcReduction=Vm(parseInt(o)))}},r.prototype._parseLstStyle=function(){var t=this,e={},n=It.get(this.source,"a:lstStyle")||{};Object.keys(n).forEach(function(i){if(i.startsWith("a:")&&i.endsWith("pPr")){var o=i.substr(2,i.length-5);e[o]={props:t._formatPPr(n[i])};var s=It.get(n[i],["a:defRPr"]);e[o].defRPr=t._formatRPr(s)}}),this.lstStyle=e},r.prototype._parseText=function(){var t=this,e=It.get(this.source,["a:p"])||[];Array.isArray(e)||(e=[e]),this.paragraphs=e.map(function(n){return t._parseParagraph(n)})},r.prototype._parseParagraph=function(t){var e=this,n={props:{},inheritProps:{},inheritRProps:{},endParaRProps:{},rows:[]},i=It.get(t,["a:pPr"])||{};n.props=this._formatPPr(i);var o=It.get(t,["a:endParaRPr"]);n.endParaRProps=this._formatRPr(o);var s=It.get(t,["a:r"])||[];Array.isArray(s)||(s=[s]);var l=It.get(t,["a:br"])||[];return Array.isArray(l)||(l=[l]),(s=s.concat(l.map(function(f){return Wr({isBr:!0},f)}))).sort(function(f,v){return It.get(f,["attrs","order"])-It.get(v,["attrs","order"])}),n.rows=s.map(function(f){return e._parseRow(f)}),n.inheritProps=this._getInheritPProps(n.props.level),n.inheritRProps=this._getInheritRProps(n.props.level),n},r.prototype._getInheritPProps=function(t){t===void 0&&(t="0");var e,n={},i=this.node.ctx,o=this.node.type,s=this.node.idx;switch(i.slideType){case"slideMaster":this.node.isTextBox?Object.assign(n,It.get(i.defaultTextStyle,["lvl".concat(t?+t+1:1),"props"])||{}):Object.assign(n,It.get(i,["textStyles","otherStyle","lvl".concat(t?+t+1:1),"props"])||{});break;case"slideLayout":this.node.isTextBox?Object.assign(n,It.get(i.slideMaster.defaultTextStyle,["lvl".concat(t?+t+1:1),"props"])||{}):Object.assign(n,It.get(i.slideMaster,["textStyles","otherStyle","lvl".concat(t?+t+1:1),"props"])||{}),(o||s)&&(e=o?i.slideMaster.getNodeByType(o):i.slideMaster.getNodeByIdx(s))&&Object.assign(n,It.get(e,["textBody","lstStyle","lvl".concat(t?+t+1:1),"props"])||{});break;case"slide":this.node.isTextBox?Object.assign(n,It.get(i.slideLayout.slideMaster.defaultTextStyle,["lvl".concat(t?+t+1:1),"props"])||{}):Object.assign(n,It.get(i.slideLayout.slideMaster,["textStyles","otherStyle","lvl".concat(t?+t+1:1),"props"])||{}),(o||s)&&(["subTitle","ctrTitle","title"].includes(o)&&Object.assign(n,It.get(i.slideLayout.slideMaster,["textStyles","titleStyle","lvl".concat(t?+t+1:1),"props"])||{}),(e=o?i.slideLayout.slideMaster.getNodeByType(o):i.slideLayout.slideMaster.getNodeByIdx(s))&&Object.assign(n,It.get(e,["textBody","lstStyle","lvl".concat(t?+t+1:1),"props"])||{}),(e=o?i.slideLayout.getNodeByType(o):i.slideLayout.getNodeByIdx(s))&&Object.assign(n,It.get(e,["textBody","lstStyle","lvl".concat(t?+t+1:1),"props"])||{}))}return n},r.prototype._getInheritRProps=function(t){t===void 0&&(t="0");var e,n={},i=this.node.ctx,o=this.node.type,s=this.node.idx;switch(i.slideType){case"slideMaster":this.node.isTextBox?Object.assign(n,It.get(i.defaultTextStyle,["lvl".concat(t?+t+1:1),"defRPr"])||{}):Object.assign(n,It.get(i,["textStyles","otherStyle","lvl".concat(t?+t+1:1),"defRPr"])||{});break;case"slideLayout":this.node.isTextBox?Object.assign(n,It.get(i.slideMaster.defaultTextStyle,["lvl".concat(t?+t+1:1),"defRPr"])||{}):Object.assign(n,It.get(i.slideMaster,["textStyles","otherStyle","lvl".concat(t?+t+1:1),"defRPr"])||{}),(o||s)&&(e=o?i.slideMaster.getNodeByType(o):i.slideMaster.getNodeByIdx(s))&&(n=It.get(e,["textBody","lstStyle","lvl".concat(t?+t+1:1),"defRPr"])||{});break;case"slide":this.node.isTextBox?Object.assign(n,It.get(i.slideLayout.slideMaster.defaultTextStyle,["lvl".concat(t?+t+1:1),"defRPr"])||{}):Object.assign(n,It.get(i.slideLayout.slideMaster,["textStyles","otherStyle","lvl".concat(t?+t+1:1),"defRPr"])||{}),(o||s)&&(["subTitle","ctrTitle","title"].includes(o)&&Object.assign(n,It.get(i.slideLayout.slideMaster,["textStyles","titleStyle","lvl".concat(t?+t+1:1),"defRPr"])||{}),(e=o?i.slideLayout.slideMaster.getNodeByType(o):i.slideLayout.slideMaster.getNodeByIdx(s))&&Object.assign(n,It.get(e,["textBody","lstStyle","lvl".concat(t?+t+1:1),"defRPr"])||{}),(e=o?i.slideLayout.getNodeByType(o):i.slideLayout.getNodeByIdx(s))&&Object.assign(n,It.get(e,["textBody","lstStyle","lvl".concat(t?+t+1:1),"defRPr"])||{}))}var l=It.get(this.node.source,["p:style","a:fontRef"]);return It.get(l,"a:schemeClr")&&(n.color=nu(l,this.node.theme,this.node)),It.get(this.lstStyle,["lvl".concat(t?+t+1:1),"defRPr"])&&Object.assign(n,It.get(this.lstStyle,["lvl".concat(t?+t+1:1),"defRPr"])),n},r.prototype._formatPPr=function(t){var e={},n=It.get(t,"attrs")||{};return Object.keys(n).forEach(function(i){switch(i){case"algn":e.align=n[i];break;case"marL":e.marginLeft=Ya(parseInt(n[i]));break;case"indent":e.indent=Ya(parseInt(n[i]));break;case"lvl":e.level=n[i]}}),It.get(t,["a:lnSpc","a:spcPct","attrs","val"])&&(e.lineHeight=parseInt(t["a:lnSpc"]["a:spcPct"].attrs.val)/1e5),It.get(t,["a:buAutoNum","attrs","type"])&&(e.buAutoNum=t["a:buAutoNum"].attrs.type),It.get(t,["a:buChar","attrs","char"])&&(e.buChar=t["a:buChar"].attrs.char),It.get(t,["a:spcBef","a:spcPts","attrs","val"])&&(e.spaceBefore=q9(parseInt(t["a:spcBef"]["a:spcPts"].attrs.val))),It.get(t,["a:spcAft","a:spcPts","attrs","val"])&&(e.spaceAfter=q9(parseInt(t["a:spcAft"]["a:spcPts"].attrs.val))),e},r.prototype._parseRow=function(t){if(t.isBr)return{isBr:!0};var e={props:{},text:""},n=It.get(t,["a:rPr"])||{};return e.props=this._formatRPr(n),e.text=It.get(t,"a:t")||"",e},r.prototype._formatRPr=function(t){var e={},n=It.get(t,"attrs")||{};Object.keys(n).forEach(function(s){switch(s){case"sz":e.size=parseInt(n[s])/100;break;case"b":e.bold=n[s]==="1";break;case"i":e.italic=n[s]==="1";break;case"u":e.underline=n[s];break;case"strike":e.strike=n[s];break;case"order":case"dirty":break;default:e[s]=n[s]}});var i=It.get(t,"a:solidFill");i&&(e.color=nu(i,this.node.theme,this.node));var o=It.get(t,"a:highlight");return o&&(e.background=nu(o,this.node.theme,this.node)),e.typeface=It.get(t,["a:ea","attrs","typeface"]),e},r}();function S3(r,t,e){var n={};if(!It.get(r,"a:noFill")){It.get(r,"attrs.w")&&(n.width=Ya(parseInt(It.get(r,"attrs.w"))));var i=It.get(r,"a:solidFill");i&&(n.color=nu(i,t,e));var o=It.get(r,"a:prstDash");if(o&&(n.type=o.attrs.val),It.get(r,["a:miter"])&&(n.lineJoin="miter"),It.get(r,["a:bevel"])&&(n.lineJoin="bevel"),It.get(r,["a:round"])&&(n.lineJoin="round"),It.get(r,["a:miter","attrs","lim"])&&(n.miterLim=Ya(parseInt(It.get(r,["a:miter","attrs","lim"])))),It.get(r,["a:headEnd"])){var s=It.get(r,["a:headEnd","attrs"]);n.headEnd={type:s.type,len:s.len,w:s.w}}if(It.get(r,["a:tailEnd"])){var l=It.get(r,["a:tailEnd","attrs"]);n.tailEnd={type:l.type,len:l.len,w:l.w}}return n}}var fQ=function(r){function t(e,n,i,o){var s=r.call(this,e,i,o)||this;return s.border={},s.prstGeom={},s.isTextBox=!1,s.pptx=n,s._parseShape(),s._parIsTextBox(),s._parsePrstGeom(),s._parseBackground(),s._parseBorder(),s._parseTxt(),s}return Gs(t,r),t.prototype._parseShape=function(){if(this.shape=It.get(this.source,["p:spPr","a:prstGeom","attrs","prst"]),!this.shape&&It.get(this.source,["p:spPr","a:custGeom"])){this.shape="customGeom";var e=It.get(this.source,["p:spPr","a:custGeom","a:pathLst","a:path"]),n=[],i=[],o=function(l){switch(l){case"a:moveTo":case"a:cubicBezTo":case"a:lnTo":i=Array.isArray(e[l])?e[l]:[e[l]],n=n.concat(i.map(function(f){return{order:f.attrs.order,type:l.split(":")[1],points:(Array.isArray(f["a:pt"])?f["a:pt"]:[f["a:pt"]]).map(function(v){return[Ya(parseInt(It.get(v,["attrs","x"]))),Ya(parseInt(It.get(v,["attrs","y"])))]})}}));break;case"a:close":i=Array.isArray(e[l])?e[l]:[e[l]],n=n.concat(i.map(function(f){return{order:f.attrs.order,type:l.split(":")[1]}}))}};for(var s in e)o(s);n.sort(function(l,f){return l.order-f.order}),this.prstGeom.pathList=n,It.get(e,["attrs","w"])&&(this.prstGeom.w=Ya(parseInt(It.get(e,["attrs","w"])))),It.get(e,["attrs","h"])&&(this.prstGeom.h=Ya(parseInt(It.get(e,["attrs","h"]))))}},t.prototype._parIsTextBox=function(){this.isTextBox=It.get(this.source,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])==="1"},t.prototype._parsePrstGeom=function(){var e=this,n=It.get(this.source,["p:spPr","a:prstGeom"]),i=It.get(n,["a:avLst","a:gd"]);i&&(Array.isArray(i)||(i=[i]),this.prstGeom.gd=i.map(function(o){var s=["pie","chord","arc"].includes(e.shape)||["blockArc"].includes(e.shape)&&["adj1","adj2"].includes(o.attrs.name)?z9(parseInt(o.attrs.fmla.split(" ")[1])):Vm(parseInt(o.attrs.fmla.split(" ")[1]));return{name:o.attrs.name,fmla:s}}))},t.prototype._parseBackground=function(){if(!It.get(this.source,["p:spPr","a:noFill"]))if(It.get(this.source,["p:spPr","a:grpFill"])&&this.group)this.background=this.group.getBackground();else{var e=It.get(this.source,["p:spPr","a:solidFill"]);if(e)this.background=nu(e,this.theme,this);else{var n=It.get(this.source,["p:spPr","a:gradFill"]);if(n)this.background=lQ(n,this.theme,this);else{var i=It.get(this.source,["p:spPr","a:blipFill"]);if(i)this.background=cQ(i,this.pptx,this.ctx);else{var o=It.get(this.source,["p:style","a:fillRef"]);o&&(this.background=nu(o,this.theme,this))}}}}},t.prototype._parseBorder=function(){var e=It.get(this.source,["p:style","a:lnRef"]);if(e){var n=parseInt(e.attrs.idx),i=this.theme.getLineStyle(n);this.border=Wr(Wr({},i),this.border),this.border.color&&this.border.color.color||(this.border.color=nu(e,this.theme,this))}var o=It.get(this.source,["p:spPr","a:ln"]);o&&Object.assign(this.border,S3(o,this.theme,this)),this.border.color&&this.border.color.color&&!this.border.width&&(this.border.width=t.defaultBorderWidth)},t.prototype._parseTxt=function(){this.textBody=new KX(It.get(this.source,["p:txBody"]),this)},t.defaultBorderWidth=.75,t}(hQ),K9=function(r){function t(e,n,i,o,s){var l,f,v=r.call(this,n,o,s)||this;v.userDrawn=!0,v.pptx=i,v.path=e;var C=It.get(v.source,["p:blipFill","a:srcRect"]);C&&(v.clip={},C.attrs.b&&(v.clip.b=parseInt(C.attrs.b)/1e5),C.attrs.t&&(v.clip.t=parseInt(C.attrs.t)/1e5),C.attrs.l&&(v.clip.l=parseInt(C.attrs.l)/1e5),C.attrs.r&&(v.clip.r=parseInt(C.attrs.r)/1e5));var w=It.get(n,["p:nvPicPr","p:nvPr","a:audioFile","attrs","r:link"]);if(w){var x=(l=v.ctx.rels[w])===null||l===void 0?void 0:l.target;v.audioFile=v.pptx.getMedia(x)}var Q=It.get(n,["p:nvPicPr","p:nvPr","a:videoFile","attrs","r:link"]);if(Q){var R=(f=v.ctx.rels[Q])===null||f===void 0?void 0:f.target;v.videoFile=v.pptx.getMedia(R)}return v}return Gs(t,r),Object.defineProperty(t.prototype,"base64",{get:function(){return this.pptx.getMedia(this.path)},enumerable:!1,configurable:!0}),t}(hQ),JN=function(r){function t(e,n,i,o){var s=r.call(this,e,i,o)||this;return s.userDrawn=!0,s.props={tableStyleId:""},s.tableGrid={gridCol:[]},s.tr=[],s.tableStyles={},s.pptx=n,s._parseTableProps(),s._parseTableGrid(),s._parseTr(),s._parseInheritStyles(),s}return Gs(t,r),Object.defineProperty(t.prototype,"slideMaster",{get:function(){return this.ctx.slideMaster||this.ctx},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"theme",{get:function(){return this.slideMaster.theme},enumerable:!1,configurable:!0}),t.prototype._parseTableProps=function(){var e=It.get(this.source,["a:graphic","a:graphicData","a:tbl","a:tblPr"]);this.props.tableStyleId=It.get(e,"a:tableStyleId"),this.tableStyles=It.get(this.slideMaster.tableStyles,this.props.tableStyleId)||{},It.get(e,["attrs","bandCol"])==="1"&&(this.props.bandCol=!0),It.get(e,["attrs","bandRow"])==="1"&&(this.props.bandRow=!0),It.get(e,["attrs","firstCol"])==="1"&&(this.props.firstCol=!0),It.get(e,["attrs","firstRow"])==="1"&&(this.props.firstRow=!0),It.get(e,["attrs","lastCol"])==="1"&&(this.props.lastCol=!0),It.get(e,["attrs","lastRow"])==="1"&&(this.props.lastRow=!0)},t.prototype._parseTableGrid=function(){var e=It.get(this.source,["a:graphic","a:graphicData","a:tbl","a:tblGrid","a:gridCol"]);if(e)for(var n=0;n<e.length;n++){var i=It.get(e[n],["attrs","w"]);this.tableGrid.gridCol.push({width:Ya(parseInt(i))})}},t.prototype._parseTr=function(){var e=[],n=It.get(this.source,["a:graphic","a:graphicData","a:tbl","a:tr"]);Array.isArray(n)||(n=[n]);for(var i=0;i<n.length;i++){var o={props:{},td:[]},s=n[i];o.props.height=Ya(parseInt(It.get(s,["attrs","h"])));var l=It.get(s,["a:tc"]);Array.isArray(l)||(l=[l]);for(var f=0;f<l.length;f++)o.td.push(this._parseTd(l[f]));e.push(o)}this.tr=e},t.prototype._parseTd=function(e){var n,i,o,s,l=this,f={props:{border:{}},paragraphs:[]},v=It.get(e,["a:tcPr","attrs"]);v!=null&&v.marB&&(f.props.marB=Ya(parseInt(v==null?void 0:v.marB))),v!=null&&v.marT&&(f.props.marT=Ya(parseInt(v==null?void 0:v.marT))),v!=null&&v.marL&&(f.props.marL=Ya(parseInt(v==null?void 0:v.marL))),v!=null&&v.marR&&(f.props.marR=Ya(parseInt(v==null?void 0:v.marR))),v!=null&&v.anchor&&(f.props.anchor=v==null?void 0:v.anchor);var C=It.get(e,["a:tcPr"]);It.get(C,["a:lnR"])&&(f.props.border.right=S3(It.get(C,["a:lnR"]),this.theme,this.ctx)),It.get(C,["a:lnL"])&&(f.props.border.left=S3(It.get(C,["a:lnL"]),this.theme,this.ctx)),It.get(C,["a:lnT"])&&(f.props.border.top=S3(It.get(C,["a:lnT"]),this.theme,this.ctx)),It.get(C,["a:lnB"])&&(f.props.border.bottom=S3(It.get(C,["a:lnB"]),this.theme,this.ctx)),!((n=e==null?void 0:e.attrs)===null||n===void 0)&&n.rowSpan&&(f.props.rowSpan=parseInt(e.attrs.rowSpan)),!((i=e==null?void 0:e.attrs)===null||i===void 0)&&i.gridSpan&&(f.props.gridSpan=parseInt(e.attrs.gridSpan)),!((o=e==null?void 0:e.attrs)===null||o===void 0)&&o.vMerge&&(f.props.vMerge=e.attrs.vMerge==="1"),!((s=e==null?void 0:e.attrs)===null||s===void 0)&&s.hMerge&&(f.props.hMerge=e.attrs.hMerge==="1");var w=It.get(e,["a:tcPr","a:solidFill"]);w&&(f.props.background=nu(w,this.theme,this.ctx));var x=It.get(e,["a:txBody"]),Q=It.get(x,["a:p"]);return Array.isArray(Q)||(Q=[Q]),f.paragraphs=Q.map(function(R){return l._parseParagraph(R)}),f},t.prototype._parseParagraph=function(e){var n=this,i={props:{},inheritProps:{},inheritRProps:{},endParaRProps:{},rows:[]},o=It.get(e,["a:pPr"])||{};i.props=this._formatPPr(o);var s=It.get(e,["a:endParaRPr"]);i.endParaRProps=this._formatRPr(s);var l=It.get(e,["a:r"])||[];Array.isArray(l)||(l=[l]);var f=It.get(e,["a:br"])||[];return Array.isArray(f)||(f=[f]),(l=l.concat(f.map(function(v){return Wr({isBr:!0},v)}))).sort(function(v,C){return It.get(v,["attrs","order"])-It.get(C,["attrs","order"])}),i.rows=l.map(function(v){return n._parseRow(v)}),i},t.prototype._parseRow=function(e){if(e.isBr)return{isBr:!0};var n={props:{},text:""},i=It.get(e,["a:rPr"])||{};return n.props=this._formatRPr(i),n.text=It.get(e,"a:t")||"",n},t.prototype._formatPPr=function(e){var n={},i=It.get(e,"attrs")||{};return Object.keys(i).forEach(function(o){o==="algn"&&(n.align=i[o])}),It.get(e,["a:lnSpc","a:spcPct","attrs","val"])&&(n.lineHeight=parseInt(e["a:lnSpc"]["a:spcPct"].attrs.val)/1e5),It.get(e,["a:buAutoNum","attrs","type"])&&(n.buAutoNum=e["a:buAutoNum"].attrs.type),It.get(e,["a:buChar","attrs","char"])&&(n.buChar=e["a:buChar"].attrs.char),It.get(e,["a:spcBef","a:spcPts","attrs","val"])&&(n.spaceBefore=q9(parseInt(e["a:spcBef"]["a:spcPts"].attrs.val))),It.get(e,["a:spcAft","a:spcPts","attrs","val"])&&(n.spaceAfter=q9(parseInt(e["a:spcAft"]["a:spcPts"].attrs.val))),n},t.prototype._formatRPr=function(e){var n={},i=It.get(e,"attrs")||{};Object.keys(i).forEach(function(l){switch(l){case"sz":n.size=parseInt(i[l])/100;break;case"b":n.bold=i[l]==="1";break;case"i":n.italic=i[l]==="1";break;case"u":n.underline=i[l];break;case"strike":n.strike=i[l];break;case"order":case"dirty":break;default:n[l]=i[l]}});var o=It.get(e,"a:solidFill");o&&(n.color=nu(o,this.theme,this.ctx));var s=It.get(e,"a:highlight");return s&&(n.background=nu(s,this.theme,this.ctx)),n.typeface=It.get(e,["a:ea","attrs","typeface"]),n},t.prototype._isLastCol=function(e,n){var i,o;if(n===e.length-1)return!0;for(var s=n+1;s<e.length;s++)if(!(!((i=e[s].props)===null||i===void 0)&&i.hMerge)&&!(!((o=e[s].props)===null||o===void 0)&&o.vMerge))return!1;return!0},t.prototype._isBandRow=function(e){var n;return!((n=this.props)===null||n===void 0)&&n.firstRow?e%2==1:e%2==0},t.prototype._isBandCol=function(e){var n;return!((n=this.props)===null||n===void 0)&&n.firstCol?e%2==1:e%2==0},t.prototype._parseInheritStyles=function(){var e,n,i,o,s,l,f,v,C=this,w=(n=(e=this.tableStyles)===null||e===void 0?void 0:e.wholeTbl)===null||n===void 0?void 0:n.tcStyle,x=(o=(i=this.tableStyles)===null||i===void 0?void 0:i.wholeTbl)===null||o===void 0?void 0:o.tcTxStyle,Q=(l=(s=this.slideMaster.defaultTextStyle)===null||s===void 0?void 0:s.lvl1)===null||l===void 0?void 0:l.props,R=(v=(f=this.slideMaster.defaultTextStyle)===null||f===void 0?void 0:f.lvl1)===null||v===void 0?void 0:v.defRPr;this.tr.forEach(function(L,P){L.td.forEach(function(M,k){var G,Y,re,ie,le,pe,ve,Ee,Se,ke,Le,be,ze,ut,ft,Qt,vt,Gt,Ct,St,dr,ur,ir,Fn,Ei,Vr,qr,Tn,zr,Qn,Yi,Pe,hr,rr,Bt,wt,Yt,Br,kr,tr,rn,Gn,fn,di,za,sa,Zu,jf,Gc,Hf,No,ud,Sg,dl,C0,xC,Ja=Wr(Wr({},Q),w),Ru=Wr(Wr({},R),x);C.props.firstRow&&P===0?(Ja=Wr(Wr(Wr({},Ja),(Y=(G=C.tableStyles)===null||G===void 0?void 0:G.firstRow)===null||Y===void 0?void 0:Y.tcStyle),{border:Wr(Wr({},Ja==null?void 0:Ja.border),(le=(ie=(re=C.tableStyles)===null||re===void 0?void 0:re.firstRow)===null||ie===void 0?void 0:ie.tcStyle)===null||le===void 0?void 0:le.border)}),Ru=Wr(Wr({},Ru),(ve=(pe=C.tableStyles)===null||pe===void 0?void 0:pe.firstRow)===null||ve===void 0?void 0:ve.tcTxStyle)):C.props.lastRow&&P===C.tr.length-1?(Ja=Wr(Wr(Wr({},Ja),(Se=(Ee=C.tableStyles)===null||Ee===void 0?void 0:Ee.lastRow)===null||Se===void 0?void 0:Se.tcStyle),{border:Wr(Wr({},Ja==null?void 0:Ja.border),(be=(Le=(ke=C.tableStyles)===null||ke===void 0?void 0:ke.lastRow)===null||Le===void 0?void 0:Le.tcStyle)===null||be===void 0?void 0:be.border)}),Ru=Wr(Wr({},Ru),(ut=(ze=C.tableStyles)===null||ze===void 0?void 0:ze.lastRow)===null||ut===void 0?void 0:ut.tcTxStyle)):C.props.firstCol&&k===0?(Ja=Wr(Wr(Wr({},Ja),(Qt=(ft=C.tableStyles)===null||ft===void 0?void 0:ft.firstCol)===null||Qt===void 0?void 0:Qt.tcStyle),{border:Wr(Wr({},Ja==null?void 0:Ja.border),(Ct=(Gt=(vt=C.tableStyles)===null||vt===void 0?void 0:vt.firstCol)===null||Gt===void 0?void 0:Gt.tcStyle)===null||Ct===void 0?void 0:Ct.border)}),Ru=Wr(Wr({},Ru),(dr=(St=C.tableStyles)===null||St===void 0?void 0:St.firstCol)===null||dr===void 0?void 0:dr.tcTxStyle)):C.props.lastCol&&C._isLastCol(L.td,k)?(Ja=Wr(Wr(Wr({},Ja),(ir=(ur=C.tableStyles)===null||ur===void 0?void 0:ur.lastCol)===null||ir===void 0?void 0:ir.tcStyle),{border:Wr(Wr({},Ja==null?void 0:Ja.border),(Vr=(Ei=(Fn=C.tableStyles)===null||Fn===void 0?void 0:Fn.lastCol)===null||Ei===void 0?void 0:Ei.tcStyle)===null||Vr===void 0?void 0:Vr.border)}),Ru=Wr(Wr({},Ru),(Tn=(qr=C.tableStyles)===null||qr===void 0?void 0:qr.lastCol)===null||Tn===void 0?void 0:Tn.tcTxStyle)):(C.props.bandRow&&(C._isBandRow(P)?(Ja=Wr(Wr(Wr({},Ja),(Qn=(zr=C.tableStyles)===null||zr===void 0?void 0:zr.band1H)===null||Qn===void 0?void 0:Qn.tcStyle),{border:Wr(Wr({},Ja==null?void 0:Ja.border),(hr=(Pe=(Yi=C.tableStyles)===null||Yi===void 0?void 0:Yi.band1H)===null||Pe===void 0?void 0:Pe.tcStyle)===null||hr===void 0?void 0:hr.border)}),Ru=Wr(Wr({},Ru),(Bt=(rr=C.tableStyles)===null||rr===void 0?void 0:rr.band1H)===null||Bt===void 0?void 0:Bt.tcTxStyle)):(Ja=Wr(Wr(Wr({},Ja),(Yt=(wt=C.tableStyles)===null||wt===void 0?void 0:wt.band2V)===null||Yt===void 0?void 0:Yt.tcStyle),{border:Wr(Wr({},Ja==null?void 0:Ja.border),(tr=(kr=(Br=C.tableStyles)===null||Br===void 0?void 0:Br.band2V)===null||kr===void 0?void 0:kr.tcStyle)===null||tr===void 0?void 0:tr.border)}),Ru=Wr(Wr({},Ru),(Gn=(rn=C.tableStyles)===null||rn===void 0?void 0:rn.band2V)===null||Gn===void 0?void 0:Gn.tcTxStyle))),C.props.bandCol&&(C._isBandCol(k)?(Ja=Wr(Wr(Wr({},Ja),(di=(fn=C.tableStyles)===null||fn===void 0?void 0:fn.band1V)===null||di===void 0?void 0:di.tcStyle),{border:Wr(Wr({},Ja==null?void 0:Ja.border),(Zu=(sa=(za=C.tableStyles)===null||za===void 0?void 0:za.band1V)===null||sa===void 0?void 0:sa.tcStyle)===null||Zu===void 0?void 0:Zu.border)}),Ru=Wr(Wr({},Ru),(Gc=(jf=C.tableStyles)===null||jf===void 0?void 0:jf.band1V)===null||Gc===void 0?void 0:Gc.tcTxStyle)):(Ja=Wr(Wr(Wr({},Ja),(No=(Hf=C.tableStyles)===null||Hf===void 0?void 0:Hf.band2H)===null||No===void 0?void 0:No.tcStyle),{border:Wr(Wr({},Ja==null?void 0:Ja.border),(dl=(Sg=(ud=C.tableStyles)===null||ud===void 0?void 0:ud.band2H)===null||Sg===void 0?void 0:Sg.tcStyle)===null||dl===void 0?void 0:dl.border)}),Ru=Wr(Wr({},Ru),(xC=(C0=C.tableStyles)===null||C0===void 0?void 0:C0.band2H)===null||xC===void 0?void 0:xC.tcTxStyle)))),M.inheritTcStyle=Ja,M.inheritTcTxStyle=Ru})})},t}(hQ),C_=function(){function r(t,e,n,i){if(this.offset={x:0,y:0},this.chOffset={x:0,y:0},this.extend={w:0,h:0},this.chExtend={w:0,h:0},this.rotate=0,this.nodes=[],this.flipV=!1,this.flipH=!1,this.userDrawn=!0,this.order=It.get(t,["attrs","order"]),this.pptx=e,this.ctx=n,this.source=t,this.group=i,this.source["p:grpSpPr"]){var o=It.get(this.source,["p:grpSpPr","a:xfrm"]);if(o&&(this.offset={x:Math.round(Ya(parseInt(o["a:off"].attrs.x))),y:Math.round(Ya(parseInt(o["a:off"].attrs.y)))},this.chOffset={x:Math.round(Ya(parseInt(o["a:chOff"].attrs.x))),y:Math.round(Ya(parseInt(o["a:chOff"].attrs.y)))},this.extend={w:Math.round(Ya(parseInt(o["a:ext"].attrs.cx))),h:Math.round(Ya(parseInt(o["a:ext"].attrs.cy)))},this.chExtend={w:Math.round(Ya(parseInt(o["a:chExt"].attrs.cx))),h:Math.round(Ya(parseInt(o["a:chExt"].attrs.cy)))},this.rotate=z9(parseInt(It.get(o,"attrs.rot",0))),this.flipV=It.get(o,"attrs.flipV")==="1",this.flipH=It.get(o,"attrs.flipH")==="1"),i){var s=i.extend,l=i.chExtend,f=i.chOffset,v=s.w/l.w,C=s.h/l.h;this.extend.w=this.extend.w*v,this.extend.h=this.extend.h*C,this.offset.x=(this.offset.x-f.x)*v,this.offset.y=(this.offset.y-f.y)*C}}this._parseBackground(),this._parseNodes()}return r.prototype.getBackground=function(){return this.background&&this.background.type!=="none"?this.background:this.group?this.group.getBackground():void 0},r.prototype._parseBackground=function(){var t=It.get(this.source,["p:grpSpPr"]);t&&t["a:solidFill"]?this.background=nu(t["a:solidFill"],this.ctx.theme,this.ctx):t&&t["a:gradFill"]?this.background=lQ(t["a:gradFill"],this.ctx.theme,this.ctx):t&&t["a:blipFill"]&&(this.background=cQ(t["a:blipFill"],this.pptx,this.ctx))},r.prototype._parseNodes=function(){var t=this.source;AQ(this.nodes,t,this.pptx,this.ctx,this)},r}(),WN=function(r){function t(e,n,i,o){var s=r.call(this,e,i,o)||this;return s.nodes=[],s.pptx=n,s}return Gs(t,r),t.prototype.parseNode=function(){return Ua(this,void 0,void 0,function(){var e,n,i,o,s,l,f,v,C;return Va(this,function(w){switch(w.label){case 0:return w.trys.push([0,3,,4]),(e=It.get(this.source,["a:graphic","a:graphicData","dgm:relIds","attrs","r:dm"]))&&this.ctx.rels[e]?(n=this.ctx.rels[e].target,o=Uf,[4,this.pptx.getXmlByPath(n)]):[2];case 1:return i=o.apply(void 0,[w.sent()]),(s=It.get(i,["dgm:dataModel","dgm:extLst","a:ext","dsp:dataModelExt","attrs","relId"]))&&this.ctx.rels[s]?(l=this.ctx.rels[s].target,[4,this.pptx.getXmlByPath(l)]):[2];case 2:return f=(f=w.sent()).replace(/dsp:/g,"p:"),v=Uf(f),C=It.get(v,["p:drawing","p:spTree"]),AQ(this.nodes,C,this.pptx,this.ctx),[3,4];case 3:return w.sent(),[3,4];case 4:return[2]}})})},t}(hQ),qN=function(r){function t(e,n,i,o){var s=r.call(this,e,i,o)||this;return s.options={title:{},tooltip:{},legend:{},series:[],color:[]},s.userDrawn=!0,s.pptx=n,s}return Gs(t,r),Object.defineProperty(t.prototype,"slideMaster",{get:function(){return this.ctx.slideMaster||this.ctx},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"theme",{get:function(){return this.slideMaster.theme},enumerable:!1,configurable:!0}),t.prototype.parseNode=function(){return Ua(this,void 0,void 0,function(){var e,n,i,o,s,l;return Va(this,function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),(e=It.get(this.source,["a:graphic","a:graphicData","c:chart","attrs","r:id"]))&&this.ctx.rels[e]?(n=this.ctx.rels[e].target,o=Uf,[4,this.pptx.getXmlByPath(n)]):[2];case 1:return i=o.apply(void 0,[f.sent()]),s=It.get(i,["c:chartSpace","c:chart"]),l=It.get(s,["c:plotArea"]),It.get(l,["c:lineChart"])?this.parseLine(It.get(l,["c:lineChart"]),s):It.get(l,["c:line3DChart"])?this.parseLine(It.get(l,["c:line3DChart"]),s):It.get(l,["c:areaChart"])?this.parseAreaLine(It.get(l,["c:areaChart"]),s):It.get(l,["c:area3DChart"])?this.parseAreaLine(It.get(l,["c:area3DChart"]),s):It.get(l,["c:barChart"])?this.parseBar(It.get(l,["c:barChart"]),s):It.get(l,["c:bar3DChart"])?this.parseBar(It.get(l,["c:bar3DChart"]),s):It.get(l,["c:pieChart"])?this.parsePie(It.get(l,["c:pieChart"])):It.get(l,["c:pie3DChart"])?this.parsePie(It.get(l,["c:pie3DChart"])):It.get(l,["c:doughnutChart"])&&this.parseDoughnutChart(It.get(l,["c:doughnutChart"])),[3,3];case 2:return f.sent(),[3,3];case 3:return[2]}})})},t.prototype.parseAreaLine=function(e,n){this.parseLine(e,n),this.options.series=this.options.series.map(function(i){return i.areaStyle={},i})},t.prototype.parseLine=function(e,n){var i=It.get(e,["c:ser"]);Array.isArray(i)||(i=[i]),this.options.title={top:"top",left:"center",text:this.parseChartTitle(It.get(n,["c:title"]))},this.options.xAxis={type:"category",data:this.getCategory(i[0])},this.options.yAxis={type:"value"},this.options.series=this.parseLineSeries(i,e),this.options.color=this.parseLineColors(i),this.options.legend={bottom:"bottom",left:"center"},It.get(e,["c:grouping","attrs","val"])==="percentStacked"&&(this.options.tooltip.valueFormatter=function(o){return(100*o).toFixed(2)+"%"})},t.prototype.parseBar=function(e,n){var i=It.get(e,["c:ser"]);Array.isArray(i)||(i=[i]),this.options.title={top:"top",left:"center",text:this.parseChartTitle(It.get(n,["c:title"]))},It.get(e,["c:barDir","attrs","val"])==="bar"?(this.options.yAxis={type:"category",data:this.getCategory(i[0])},this.options.xAxis={type:"value"}):(this.options.xAxis={type:"category",data:this.getCategory(i[0])},this.options.yAxis={type:"value"}),this.options.series=this.parseBarSeries(i,e),this.options.color=this.parseBarColors(i),this.options.legend={bottom:"bottom",left:"center"},It.get(e,["c:grouping","attrs","val"])==="percentStacked"&&(this.options.tooltip.valueFormatter=function(o){return(100*o).toFixed(2)+"%"})},t.prototype.parsePie=function(e){var n=It.get(e,["c:ser"]);this.options.title={top:"top",left:"center",text:this.parsePieTitle(n)},this.options.color=this.parsePieColors(n),this.options.series=[this.parsePieSeries(n,e)],this.options.legend={bottom:"bottom",left:"center"}},t.prototype.parseDoughnutChart=function(e){var n=It.get(e,["c:ser"]);this.options.title.text=this.parsePieTitle(n),this.options.color=this.parsePieColors(n),this.options.series=[this.parsePieSeries(n,e)],this.options.legend={bottom:"bottom",left:"center"}},t.prototype.parsePieTitle=function(e){return It.get(e,["c:tx","c:strRef","c:strCache","c:pt","c:v"])},t.prototype.parseChartTitle=function(e){var n=It.get(e,["c:tx","c:rich","a:p"]);return Array.isArray(n)||(n=[n]),n.map(function(i){var o=It.get(i,["a:r"]);return Array.isArray(o)||(o=[o]),o.map(function(s){return It.get(s,["a:t"])||""}).join("")}).join("")||"图表标题"},t.prototype.parseBarColors=function(e){var n=this;return e.map(function(i){return $a(nu(It.get(i,["c:spPr","a:solidFill"]),n.theme,n.ctx))})},t.prototype.parseLineColors=function(e){var n=this;return e.map(function(i){return $a(nu(It.get(i,["c:spPr","a:ln","a:solidFill"])||It.get(i,["c:spPr","a:solidFill"]),n.theme,n.ctx))})},t.prototype.parsePieColors=function(e){var n=this,i=[],o=It.get(e,["c:dPt"]);return Array.isArray(o)||(o=[o]),o.forEach(function(s){i.push($a(nu(It.get(s,["c:spPr","a:solidFill"]),n.theme,n.ctx)))}),i},t.prototype.parsePieSeries=function(e,n){var i={type:"pie",radius:"80%",startAngle:90,data:[]};It.get(n,["c:holeSize","attrs","val"])&&(i.radius=["".concat(.8*It.get(n,["c:holeSize","attrs","val"]),"%"),"80%"]);var o=It.get(n,["c:firstSliceAng","attrs","val"]);o&&(i.startAngle=90-o);for(var s=this.getCategory(e),l=this.getVal(e),f=0;f<s.length;f++)i.data.push({name:s[f],value:l[f]});return i},t.prototype.parseBarSeries=function(e,n){var i,o=this,s=It.get(n,["c:grouping","attrs","val"]);s==="stacked"?i="Ad":s==="percentStacked"&&(i="total");var l=e.map(function(v){return{type:"bar",name:It.get(v,["c:tx","c:strRef","c:strCache","c:pt","c:v"]),data:o.getVal(v),stack:i}});if(s==="percentStacked"){var f=[];l.forEach(function(v,C){f=C===0?Wn([],v.data):f.map(function(w,x){return w+v.data[x]})}),l.forEach(function(v){v.data=v.data.map(function(C,w){return f[w]<=0?0:C/f[w]})})}return l},t.prototype.parseLineSeries=function(e,n){var i,o=this,s=It.get(n,["c:grouping","attrs","val"]);s==="stacked"?i="Ad":s==="percentStacked"&&(i="total");var l=e.map(function(v){return{type:"line",name:It.get(v,["c:tx","c:strRef","c:strCache","c:pt","c:v"]),data:o.getVal(v),stack:i}});if(i==="total"){var f=[];l.forEach(function(v,C){f=C===0?Wn([],v.data):f.map(function(w,x){return w+v.data[x]})}),l.forEach(function(v){v.data=v.data.map(function(C,w){return f[w]<=0?0:C/f[w]})})}return l},t.prototype.getCategory=function(e){if(It.get(e,["c:cat","c:strRef"])){var n=It.get(e,["c:cat","c:strRef","c:strCache","c:pt"]);return Array.isArray(n)||(n=[n]),n.map(function(i){return It.get(i,["c:v"])})}if(It.get(e,["c:cat","c:numRef"]))return n=It.get(e,["c:cat","c:numRef","c:numCache","c:pt"]),Array.isArray(n)||(n=[n]),n.map(function(i){return It.get(i,["c:v"])})},t.prototype.getVal=function(e){var n=It.get(e,["c:val","c:numRef","c:numCache","c:pt"]);return Array.isArray(n)||(n=[n]),n.map(function(i){return+It.get(i,["c:v"])})},t}(hQ);function zN(r){var t={},e=It.get(r,"attrs")||{};return Object.keys(e).forEach(function(n){switch(n){case"algn":t.align=e[n];break;case"marL":t.marginLeft=Ya(parseInt(e[n]));break;case"indent":t.indent=Ya(parseInt(e[n]));break;case"lvl":t.level=e[n]}}),It.get(r,["a:lnSpc","a:spcPct","attrs","val"])&&(t.lineHeight=parseInt(r["a:lnSpc"]["a:spcPct"].attrs.val)/1e5),t}function KN(r,t,e){var n={},i=It.get(r,"attrs")||{};Object.keys(i).forEach(function(s){switch(s){case"sz":n.size=parseInt(i[s])/100;break;case"b":n.bold=i[s]==="1";break;case"i":n.italic=i[s]==="1";break;case"u":n.underline=i[s];break;case"strike":n.strike=i[s];break;case"order":case"dirty":break;default:n[s]=i[s]}});var o=It.get(r,"a:solidFill");return o&&(n.color=nu(o,t,e)),n}function AQ(r,t,e,n,i){return Ua(this,void 0,void 0,function(){var o,s,l,f,v,C,w,x,Q,R,L,P,M,k,G,Y,re,ie,le,pe,ve;return Va(this,function(Ee){switch(Ee.label){case 0:for(l in s=[],o=t)s.push(l);f=0,Ee.label=1;case 1:if(!(f<s.length))return[3,17];if(!((l=s[f])in o))return[3,16];switch(v=l){case"p:sp":return[3,2];case"p:pic":return[3,3];case"p:cxnSp":return[3,4];case"p:graphicFrame":return[3,5];case"p:grpSp":return[3,14]}return[3,15];case 2:for(C=Array.isArray(t[v])?t[v]:[t[v]],pe=0;pe<C.length;pe++)M=C[pe],r.push(new fQ(M,e,n,i));return[3,16];case 3:for(w=Array.isArray(t[v])?t[v]:[t[v]],pe=0;pe<w.length;pe++)x=w[pe],Q=x["p:blipFill"]["a:blip"].attrs["r:embed"],R=n.rels[Q].target,L=new K9(R,x,e,n,i),r.push(L);return[3,16];case 4:for(P=Array.isArray(t[v])?t[v]:[t[v]],pe=0;pe<P.length;pe++)M=P[pe],r.push(new fQ(M,e,n,i));return[3,16];case 5:k=Array.isArray(t[v])?t[v]:[t[v]],pe=0,Ee.label=6;case 6:if(!(pe<k.length))return[3,13];switch(G=k[pe],Y=It.get(G,["a:graphic","a:graphicData","attrs","uri"]),Y){case"http://schemas.openxmlformats.org/drawingml/2006/table":return[3,7];case"http://schemas.openxmlformats.org/drawingml/2006/diagram":return[3,8];case"http://schemas.openxmlformats.org/drawingml/2006/chart":return[3,10]}return[3,12];case 7:return r.push(new JN(G,e,n,i)),[3,12];case 8:return[4,(re=new WN(G,e,n,i)).parseNode()];case 9:return Ee.sent(),r.push(re),[3,12];case 10:return[4,(ie=new qN(G,e,n,i)).parseNode()];case 11:return Ee.sent(),r.push(ie),[3,12];case 12:return pe++,[3,6];case 13:return[3,16];case 14:for(le=Array.isArray(t[v])?t[v]:[t[v]],pe=0;pe<le.length;pe++)ve=le[pe],r.push(new C_(ve,e,n,i));return[3,16];case 15:return[3,16];case 16:return f++,[3,1];case 17:return[2]}})})}var VX=function(){function r(t,e,n){this.slideType="slide",this.rels={},this.background={type:"none"},this.nodes=[],this.name=t,this.source=e,this.pptx=n}return Object.defineProperty(r.prototype,"index",{get:function(){if(!this.name)return 0;var t=this.name.match(/(\d+)/);return t?parseInt(t[0]):1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"slideMaster",{get:function(){return this.slideLayout&&this.slideLayout.slideMaster},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"theme",{get:function(){return this.slideMaster.theme},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"_relsPath",{get:function(){return this.name.replace("slides/slide","slides/_rels/slide")+".rels"},enumerable:!1,configurable:!0}),r.prototype.load=function(){return Ua(this,void 0,void 0,function(){return Va(this,function(t){switch(t.label){case 0:return[4,this._loadRels()];case 1:return t.sent(),this._loadBackground(),[4,this._loadNodes()];case 2:return t.sent(),[2]}})})},r.prototype._loadRels=function(){return Ua(this,void 0,void 0,function(){var t,e,n,i=this;return Va(this,function(o){switch(o.label){case 0:return e=Uf,[4,this.pptx.getXmlByPath(this._relsPath)];case 1:return t=e.apply(void 0,[o.sent()]),n=It.get(t,["Relationships","Relationship"])||[],Array.isArray(n)||(n=[n]),n.forEach(function(s){switch(It.get(s,["attrs","Type"])){case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout":var l=s.attrs.Target.replace("../","ppt/");l.startsWith("/ppt")&&(l=l.substr(1)),i.slideLayout=i.pptx.getSlideLayout(l);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/audio":case"http://schemas.microsoft.com/office/2007/relationships/media":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/video":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData":case"http://schemas.microsoft.com/office/2007/relationships/diagramDrawing":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart":var f=s.attrs.Target.replace("../","ppt/");f.startsWith("/ppt")&&(f=f.substr(1)),i.rels[s.attrs.Id]={type:s.attrs.Type.split("/").pop(),target:f}}}),[2]}})})},r.prototype._loadBackground=function(){var t=It.get(this.source,["p:sld","p:cSld","p:bg","p:bgPr"]);t&&t["a:solidFill"]?this.background=nu(t["a:solidFill"],this.theme,this):t&&t["a:gradFill"]?this.background=lQ(t["a:gradFill"],this.theme,this):t&&t["a:blipFill"]&&(this.background=cQ(t["a:blipFill"],this.pptx,this))},r.prototype._loadNodes=function(){return Ua(this,void 0,void 0,function(){var t;return Va(this,function(e){switch(e.label){case 0:return t=It.get(this.source,["p:sld","p:cSld","p:spTree"]),[4,AQ(this.nodes,t,this.pptx,this)];case 1:return e.sent(),[2]}})})},r.prototype.getColorThemeName=function(t){return this.slideLayout.getColorThemeName(t)},r.prototype.getNodeInheritAttrsByType=function(t,e){var n=this.slideLayout.getNodeByType(t),i=It.get(n.source,e);return i||this.slideLayout.getNodeInheritAttrsByType(t,e)},r.prototype.getNodeInheritAttrsByIdx=function(t,e){var n=this.slideLayout.getNodeByIdx(t),i=It.get(n.source,e);return i||this.slideLayout.getNodeInheritAttrsByIdx(t,e)},r}(),ZX=function(){function r(t,e,n){this.slideType="slideLayout",this.rels={},this.background={type:"none"},this.nodes=[],this.name=t,this.source=e,this.pptx=n}return Object.defineProperty(r.prototype,"_relsPath",{get:function(){return this.name.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"theme",{get:function(){return this.slideMaster.theme},enumerable:!1,configurable:!0}),r.prototype.load=function(){return Ua(this,void 0,void 0,function(){return Va(this,function(t){switch(t.label){case 0:return[4,this._loadRels()];case 1:return t.sent(),[4,this._loadBackground()];case 2:return t.sent(),[4,this._loadNodes()];case 3:return t.sent(),[2]}})})},r.prototype._loadRels=function(){return Ua(this,void 0,void 0,function(){var t,e,n,i=this;return Va(this,function(o){switch(o.label){case 0:return e=Uf,[4,this.pptx.getXmlByPath(this._relsPath)];case 1:return t=e.apply(void 0,[o.sent()]),n=It.get(t,["Relationships","Relationship"])||[],Array.isArray(n)||(n=[n]),n.forEach(function(s){switch(It.get(s,["attrs","Type"])){case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster":var l=s.attrs.Target.replace("../","ppt/");l.startsWith("/ppt")&&(l=l.substr(1)),i.slideMaster=i.pptx.getSlideMaster(l);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/audio":case"http://schemas.microsoft.com/office/2007/relationships/media":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/video":var f=s.attrs.Target.replace("../","ppt/");f.startsWith("/ppt")&&(f=f.substr(1)),i.rels[s.attrs.Id]={type:s.attrs.Type.split("/").pop(),target:f}}}),[2]}})})},r.prototype._loadBackground=function(){return Ua(this,void 0,void 0,function(){var t;return Va(this,function(e){return(t=It.get(this.source,["p:sldLayout","p:cSld","p:bg","p:bgPr"]))&&t["a:solidFill"]?this.background=nu(t["a:solidFill"],this.theme):t&&t["a:gradFill"]?this.background=lQ(t["a:gradFill"],this.theme,this):t&&t["a:blipFill"]&&(this.background=cQ(t["a:blipFill"],this.pptx,this)),[2]})})},r.prototype._loadNodes=function(){return Ua(this,void 0,void 0,function(){var t;return Va(this,function(e){return t=It.get(this.source,["p:sldLayout","p:cSld","p:spTree"]),AQ(this.nodes,t,this.pptx,this),[2]})})},r.prototype.getColorThemeName=function(t){return this.slideMaster.getColorThemeName(t)},r.prototype.getNodeByType=function(t){return this.nodes.find(function(e){return e.type===t})},r.prototype.getNodeByIdx=function(t){return this.nodes.find(function(e){return e.idx===t})},r.prototype.getNodeInheritAttrsByType=function(t,e){var n=this.slideMaster.getNodeByType(t);return n&&It.get(n.source,e)},r.prototype.getNodeInheritAttrsByIdx=function(t,e){var n=this.slideMaster.getNodeByIdx(t);return n&&It.get(n.source,e)},r}(),XX=function(){function r(t,e,n){this.slideType="slideMaster",this.rels={},this.background={type:"none"},this.textStyles={titleStyle:{},bodyStyle:{},otherStyle:{}},this.defaultTextStyle={},this.nodes=[],this.tableStyles={},this.name=t,this.source=e,this.pptx=n,this.load()}return Object.defineProperty(r.prototype,"_relsPath",{get:function(){return this.name.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels"},enumerable:!1,configurable:!0}),r.prototype.load=function(){return Ua(this,void 0,void 0,function(){return Va(this,function(t){switch(t.label){case 0:return[4,this._parseRels()];case 1:return t.sent(),this._parseColorMap(),this._parseBackground(),this._parseTextStyles(),this._parseTableStyles(),this._parseDefaultTextStyle(),this._loadNodes(),[2]}})})},r.prototype._parseRels=function(){return Ua(this,void 0,void 0,function(){var t,e,n,i=this;return Va(this,function(o){switch(o.label){case 0:return e=Uf,[4,this.pptx.getXmlByPath(this._relsPath)];case 1:return t=e.apply(void 0,[o.sent()]),n=It.get(t,["Relationships","Relationship"])||[],Array.isArray(n)||(n=[n]),n.forEach(function(s){switch(It.get(s,["attrs","Type"])){case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme":var l=s.attrs.Target.replace("../","ppt/");l.startsWith("/ppt")&&(l=l.substr(1)),i.theme=i.pptx.getTheme(l);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/audio":case"http://schemas.microsoft.com/office/2007/relationships/media":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/video":var f=s.attrs.Target.replace("../","ppt/");f.startsWith("/ppt")&&(f=f.substr(1)),i.rels[s.attrs.Id]={type:s.attrs.Type.split("/").pop(),target:f}}}),[2]}})})},r.prototype._parseColorMap=function(){this.colorMap=It.omit(It.get(this.source,["p:sldMaster","p:clrMap","attrs"])||{},["order"])},r.prototype.getColorThemeName=function(t){return this.colorMap[t]||t},r.prototype._parseBackground=function(){var t=It.get(this.source,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),e=It.get(this.source,["p:sldMaster","p:cSld","p:bg","p:bgRef"]);t&&t["a:solidFill"]?this.background=nu(t["a:solidFill"],this.theme,this):t&&t["a:gradFill"]?this.background=lQ(t["a:gradFill"],this.theme,this):t&&t["a:blipFill"]?this.background=cQ(t["a:blipFill"],this.pptx,this):e&&(this.background=nu(e,this.theme,this))},r.prototype._parseDefaultTextStyle=function(){var t=this,e=this.pptx.defaultTextStyleSource;Object.keys(e).forEach(function(n){if(n.startsWith("a:")&&n.endsWith("pPr")){var i=n.substr(2,n.length-5),o=It.get(e[n],["a:defRPr"]);t.defaultTextStyle[i]={props:zN(e[n]),defRPr:KN(o,t.theme,t)}}})},r.prototype._parseTextStyles=function(){var t=this,e=It.get(this.source,["p:sldMaster","p:txStyles"]);["titleStyle","bodyStyle","otherStyle"].forEach(function(n){var i=t.textStyles[n],o=It.get(e,"p:".concat(n))||{};Object.keys(o).forEach(function(s){if(s.startsWith("a:")&&s.endsWith("pPr")){var l=s.substr(2,s.length-5);i[l]={},i[l].props=zN(o[s]);var f=It.get(o[s],["a:defRPr"]);i[l].defRPr=KN(f,t.theme,t)}})})},r.prototype._parseTableStyles=function(){var t=this,e={},n=It.get(this.pptx.tableStyles,["a:tblStyleLst","a:tblStyle"])||[];Array.isArray(n)||(n=[n]),n.forEach(function(i){var o=It.get(i,["attrs","styleId"]);e[o]={},Object.keys(i).forEach(function(s){if(s.startsWith("a:")){var l=s.substr(2);e[o][l]={};var f=It.get(i[s],["a:tcStyle"]);if(f){var v={};It.get(f,["a:fill","a:solidFill"])&&(v.background=nu(It.get(f,["a:fill","a:solidFill"]),t.theme,t));var C=It.get(f,"a:tcBdr");C&&(v.border={},Object.keys(C).forEach(function(Q){if(Q.startsWith("a:")){var R=Q.substr(2),L=It.get(C[Q],["a:ln"]);v.border[R]=S3(L,t.theme,t)}})),e[o][l].tcStyle=v}var w=It.get(i[s],["a:tcTxStyle"]);if(w){var x={};x.color=nu(w,t.theme,t),It.get(w,["attrs","b"])==="on"&&(x.bold=!0),e[o][l].tcTxStyle=x}}})}),this.tableStyles=e},r.prototype._loadNodes=function(){return Ua(this,void 0,void 0,function(){var t;return Va(this,function(e){return t=It.get(this.source,["p:sldMaster","p:cSld","p:spTree"]),AQ(this.nodes,t,this.pptx,this),[2]})})},r.prototype.getNodeByType=function(t){return this.nodes.find(function(e){return e.type===t})},r.prototype.getNodeByIdx=function(t){return this.nodes.find(function(e){return e.idx===t})},r.prototype.getNodeInheritAttrsByType=function(t,e){},r.prototype.getNodeInheritAttrsByIdx=function(t,e){},r}(),$X=function(){function r(t,e,n){this.clrScheme={},this.borderScheme=[],this.name=t,this.source=e,this.pptx=n,this._parseClrScheme(),this._parseLineStyleLst()}return r.prototype._parseClrScheme=function(){var t=It.get(this.source,["a:theme","a:themeElements","a:clrScheme"]);for(var e in t)if(e.startsWith("a:")){var n=e.substring(2),i=It.get(t[e],["a:sysClr","attrs","lastClr"])||It.get(t[e],["a:srgbClr","attrs","val"]);this.clrScheme[n]="#"+i}},r.prototype._parseLineStyleLst=function(){var t=this,e=It.get(this.source,["a:theme","a:themeElements","a:fmtScheme","a:lnStyleLst","a:ln"])||[];this.borderScheme=e.map(function(n){var i={color:{}};return It.get(n,["attrs","w"])&&(i.width=Ya(parseInt(It.get(n,["attrs","w"])))),It.get(n,["attrs","algn"])&&(i.algn=It.get(n,["attrs","algn"])),It.get(n,["attrs","cap"])&&(i.cap=It.get(n,["attrs","cap"])),It.get(n,["attrs","cmpd"])&&(i.cmpd=It.get(n,["attrs","cmpd"])),It.get(n,["a:miter","attrs","lim"])&&(i.miterLim=Ya(parseInt(It.get(n,["a:miter","attrs","lim"])))),It.get(n,["a:prstDash","attrs","val"])&&(i.type=It.get(n,["a:prstDash","attrs","val"])),It.get(n,["a:solidFill"])&&(i.color=nu(It.get(n,["a:solidFill"]),t)),i})},r.prototype.getColor=function(t){if(t!=="phClr")return this.clrScheme[t]||this.defaultColor},r.prototype.getLineStyle=function(t){return this.borderScheme[t-1]},r}(),e$=function(){function r(){this.slides=[],this.slideLayouts=[],this.slideMaster=[],this.themes=[],this.medias={}}return r.prototype.load=function(t){return Ua(this,void 0,void 0,function(){var e,n;return Va(this,function(i){switch(i.label){case 0:return e=new jc,n=this,[4,e.loadAsync(t)];case 1:return n._zipContents=i.sent(),[4,this._loadThumbnail()];case 2:return i.sent(),[4,this._loadMedia()];case 3:return i.sent(),[4,this._loadPresentation()];case 4:return i.sent(),[4,this._loadContentTypes()];case 5:return i.sent(),[2]}})})},r.prototype._loadThumbnail=function(){return Ua(this,void 0,void 0,function(){var t;return Va(this,function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),this._zipContents.files["docProps/thumbnail.jpeg"]?[4,this._zipContents.files["docProps/thumbnail.jpeg"].async("base64")]:[3,2];case 1:t=e.sent(),this.thumbnail="data:image/jpeg;base64,"+t,e.label=2;case 2:return[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}})})},r.prototype._loadPresentation=function(){return Ua(this,void 0,void 0,function(){var t,e,n;return Va(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this._zipContents.files["ppt/presentation.xml"].async("text")];case 1:return t=i.sent(),e=Uf(t),n=e["p:presentation"]["p:sldSz"].attrs,this.width=Ya(parseInt(n.cx)),this.height=Ya(parseInt(n.cy)),this.defaultTextStyleSource=It.get(e,["p:presentation","p:defaultTextStyle"]),[3,3];case 2:return i.sent(),[3,3];case 3:return[2]}})})},r.prototype._loadContentTypes=function(){return Ua(this,void 0,void 0,function(){var t,e,n,i,o,s,l,f,v,C,w,x,Q,R,L,P,M,k,G,Y,re;return Va(this,function(ie){switch(ie.label){case 0:return ie.trys.push([0,22,,23]),e=Uf,[4,this._zipContents.files["[Content_Types].xml"].async("text")];case 1:if(t=e.apply(void 0,[ie.sent()]),n=t.Types.Override,!(i=n.filter(function(le){return le.attrs.ContentType==="application/vnd.openxmlformats-officedocument.theme+xml"})))return[3,5];o=0,s=i,ie.label=2;case 2:return o<s.length?(l=s[o],k=l.attrs.PartName.substr(1),f=Uf,[4,this._zipContents.files[k].async("text")]):[3,5];case 3:G=f.apply(void 0,[ie.sent()]),this.themes.push(new $X(k,G,this)),ie.label=4;case 4:return o++,[3,2];case 5:return(v=n.find(function(le){return le.attrs.ContentType==="application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml"}))?(k=v.attrs.PartName.substr(1),C=Uf,[4,this._zipContents.files[k].async("text")]):[3,7];case 6:G=C.apply(void 0,[ie.sent()]),this.tableStyles=G,ie.label=7;case 7:w=n.filter(function(le){return le.attrs.ContentType==="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"}),M=0,ie.label=8;case 8:return M<w.length?(k=w[M].attrs.PartName.substr(1),x=Uf,[4,this._zipContents.files[k].async("text")]):[3,11];case 9:G=x.apply(void 0,[ie.sent()]),this.slideMaster.push(new XX(k,G,this)),ie.label=10;case 10:return M++,[3,8];case 11:Q=n.filter(function(le){return le.attrs.ContentType==="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"}),M=0,ie.label=12;case 12:return M<Q.length?(k=Q[M].attrs.PartName.substr(1),R=Uf,[4,this._zipContents.files[k].async("text")]):[3,16];case 13:return G=R.apply(void 0,[ie.sent()]),[4,(L=new ZX(k,G,this)).load()];case 14:ie.sent(),this.slideLayouts.push(L),ie.label=15;case 15:return M++,[3,12];case 16:P=n.filter(function(le){return le.attrs.ContentType==="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"}),M=0,ie.label=17;case 17:return M<P.length?(k=P[M].attrs.PartName.substr(1),Y=Uf,[4,this._zipContents.files[k].async("text")]):[3,21];case 18:return G=Y.apply(void 0,[ie.sent()]),[4,(re=new VX(k,G,this)).load()];case 19:ie.sent(),this.slides.push(re),ie.label=20;case 20:return M++,[3,17];case 21:return this.slides.sort(function(le,pe){return le.index-pe.index}),[3,23];case 22:return ie.sent(),[3,23];case 23:return[2]}})})},r.prototype._loadMedia=function(){return Ua(this,void 0,void 0,function(){var t,e,n,i,o,s,l,f,v,C,w,x,Q,R=this;return Va(this,function(L){switch(L.label){case 0:t=Object.keys(this._zipContents.files).filter(function(M){return M.startsWith("ppt/media/image")}).map(function(M){return R._zipContents.files[M]}),e=0,n=t,L.label=1;case 1:return e<n.length?(i=n[e],o=function(M){var k;switch(M){case"jpg":case"jpeg":k="image/jpeg";break;case"png":k="image/png";break;case"gif":k="image/gif";break;case"emf":k="image/x-emf";break;case"wmf":k="image/x-wmf";break;default:k="image/*"}return k}((P=i.name).substr(2+(~-P.lastIndexOf(".")>>>0))),[4,i.async("base64")]):[3,4];case 2:s=L.sent(),this.medias[i.name]="data:".concat(o,";base64,").concat(s),L.label=3;case 3:return e++,[3,1];case 4:l=Object.keys(this._zipContents.files).filter(function(M){return M.startsWith("ppt/media/media")&&["mp3","wav","ogg","mp4","webm"].includes(M.split(".").pop().toLowerCase())}).map(function(M){return R._zipContents.files[M]}),f=0,v=l,L.label=5;case 5:return f<v.length?(C=v[f],w=C.name.split(".").pop().toLowerCase(),[4,C.async("arraybuffer")]):[3,8];case 6:x=L.sent(),Q=new Blob([x],{type:"".concat(["mp3","wav"].includes(w)?"audio":"video","/").concat(w)}),this.medias[C.name]=URL.createObjectURL(Q),L.label=7;case 7:return f++,[3,5];case 8:return[2]}var P})})},r.prototype.getXmlByPath=function(t){return Ua(this,void 0,void 0,function(){return Va(this,function(e){switch(e.label){case 0:if(!this._zipContents.files[t])throw new Error("文件不存在");return[4,this._zipContents.files[t].async("text")];case 1:return[2,e.sent()]}})})},r.prototype.getSlideLayout=function(t){return this.slideLayouts.find(function(e){return e.name===t})},r.prototype.getSlideMaster=function(t){return this.slideMaster.find(function(e){return e.name===t})},r.prototype.getTheme=function(t){return this.themes.find(function(e){return e.name===t})},r.prototype.getMedia=function(t){return this.medias[t]},r}();function w_(r){var t=r.extend,e=r.offset,n=r.clip,i=r.base64,o=r.audioFile,s=r.videoFile,l=document.createElement("div");l.style.setProperty("position","absolute"),l.style.setProperty("left",e.x+"px"),l.style.setProperty("top",e.y+"px");var f,v,C,w,x=document.createElement("div");x.style.setProperty("position","absolute"),x.style.setProperty("left","0"),x.style.setProperty("top","0"),x.style.setProperty("width",t.w+"px"),x.style.setProperty("height",t.h+"px"),x.style.setProperty("overflow","hidden"),n?(f=t.w/(1-(n.l===void 0?0:n.l)-(n.r===void 0?0:n.r)),v=t.h/(1-(n.t===void 0?0:n.t)-(n.b===void 0?0:n.b)),C=-1*f*(n.l===void 0?0:n.l),w=-1*v*(n.t===void 0?0:n.t)):(f=t.w,v=t.h,C=0);var Q=document.createElement("img");if(Q.src=i,Q.width=f,Q.height=v,Q.style.setProperty("position","absolute"),Q.style.setProperty("left",C+"px"),Q.style.setProperty("top",w+"px"),x.append(Q),l.append(x),o){var R=document.createElement("audio");R.style.position="absolute",R.style.left="0",R.style.top="0",R.src=o,R.controls=!0,R.style.transform="translate(-50%)",l.append(R)}if(s){var L=document.createElement("video");L.style.position="absolute",L.style.left="0",L.style.top="0",L.width=t.w,L.height=t.h,L.src=s,L.controls=!0,l.append(L)}return l}function t$(r,t,e){var n,i=r.props,o=r.text,s=Wr(Wr({},t),i),l=document.createElement("span");l.innerHTML=o;var f=18;s.size&&(!((n=e==null?void 0:e.normAutofit)===null||n===void 0)&&n.fontScale?(f=s.size*e.normAutofit.fontScale,l.style.fontSize=f+"px"):(f=s.size,l.style.fontSize=f+"px"));var v=$a(s.color);v&&(l.style.color=v);var C=/^[^\u4e00-\u9fff]+$/;if(s.typeface)switch(l.style.fontFamily=s.typeface,s.typeface){case"DengXian":C.test(o)&&(l.style.letterSpacing=-.04*f+"px");break;case"DengXian Light":C.test(o)&&(l.style.letterSpacing=-.05*f+"px");break;case"STLiti":case"SimSun":case"NSimSun":case"SimHei":C.test(o)&&(l.style.fontSize=.85*parseInt(l.style.fontSize)+"px");break;case"华文中宋":l.style.fontSize=.85*parseInt(l.style.fontSize)+"px";break;case"FangSong":l.style.letterSpacing=-.08*f+"px"}else C.test(o)&&(l.style.letterSpacing=-.04*f+"px");return s.bold&&(l.style.fontWeight="bold"),s.italic&&(l.style.fontStyle="italic"),s.underline&&s.underline!=="none"&&(l.style.textDecoration="underline"),s.background&&(l.style.backgroundColor=$a(s.background)),l.style.wordBreak="break-word",l}function r$(r,t,e){var n=document.createElement("span"),i=r.firstElementChild;switch(n.style.fontSize=i.style.fontSize,n.style.color=i.style.color,n.style.fontWeight=i.style.fontWeight,n.style.fontStyle=i.style.fontStyle,n.style.marginRight="10px",t.buAutoNum){case"arabicPeriod":default:n.textContent=e+".";break;case"circleNumDbPlain":n.textContent=["①","②","③","④","⑤","⑥","⑦","⑧","⑨","⑩","⑪","⑫","⑬","⑭","⑮","⑯","⑰","⑱","⑲","⑳"][e-1]||e+"";break;case"romanUcPeriod":n.textContent=function(o){var s=[{value:1e3,numeral:"M"},{value:900,numeral:"CM"},{value:500,numeral:"D"},{value:400,numeral:"CD"},{value:100,numeral:"C"},{value:90,numeral:"XC"},{value:50,numeral:"L"},{value:40,numeral:"XL"},{value:10,numeral:"X"},{value:9,numeral:"IX"},{value:5,numeral:"V"},{value:4,numeral:"IV"},{value:1,numeral:"I"}];if(typeof o!="number"||o<1||o>3999)throw new Error("Input must be a number between 1 and 3999.");for(var l="",f=0;f<s.length;f++)for(;o>=s[f].value;)l+=s[f].numeral,o-=s[f].value;return l}(e)+".";break;case"alphaUcPeriod":n.textContent=v_(e)+".";break;case"alphaLcPeriod":n.textContent=v_(e).toLowerCase()+".";break;case"alphaLcParenR":n.textContent=v_(e).toLowerCase()+")";break;case"ea1JpnChsDbPeriod":n.textContent=function(o){var s=["〇","一","二","三","四","五","六","七","八","九"];if(!Number.isInteger(o)||o<0)return"";for(var l="",f=o.toString(),v=0;v<f.length;v++)l+=s[parseInt(f[v],10)];return l}(e)+"."}r.prepend(n)}function V9(r,t,e){var n,i,o,s;t===void 0&&(t=0),e===void 0&&(e={});var l=r.inheritProps,f=r.inheritRProps,v=r.props,C=r.rows,w=Wr(Wr({},l),v),x=function(){for(var ie,le,pe=0,ve=0,Ee=C;ve<Ee.length;ve++){var Se=Ee[ve];Se.props&&Se.props.size&&(pe=Math.max(pe,Se.props.size))}var ke=((le=(ie=e==null?void 0:e.bodyProps)===null||ie===void 0?void 0:ie.normAutofit)===null||le===void 0?void 0:le.fontScale)||1;return(pe||f.size||18)*ke},Q=document.createElement("div"),R=e.isFirst?0:w.spaceBefore||0,L=e.isLast?0:w.spaceAfter||0;Q.style.margin="".concat(Math.floor(.2*x()),"px 0 0 0"),Q.style.padding="".concat(Math.floor(R),"px 0px ").concat(Math.floor(L),"px 0px");var P=document.createElement("p");P.style.margin="0",P.style.padding="0px",P.style.wordBreak="break-word",P.style.textAlign=w.align&&{ctr:"center",l:"left",r:"right",dist:"justify"}[w.align]||"center",w.align==="dist"&&(P.style.textAlignLast="justify");var M=w.hasOwnProperty("lineHeight")?w.lineHeight:1;if(!((i=(n=e.bodyProps)===null||n===void 0?void 0:n.normAutofit)===null||i===void 0)&&i.lnSpcReduction&&(M*=1-((s=(o=e.bodyProps)===null||o===void 0?void 0:o.normAutofit)===null||s===void 0?void 0:s.lnSpcReduction)),P.style.lineHeight=M+"",P.style.fontSize=x()+"px",C.length){for(var k=0,G=C;k<G.length;k++){var Y=G[k];P.appendChild(t$(Y,Wr(Wr({},f),{marginTop:Math.floor(.2*x())}),e.bodyProps))}w.buAutoNum?r$(P,w,t):w.buChar&&function(ie,le){var pe=document.createElement("span"),ve=ie.firstElementChild;pe.style.color=ve.style.color,pe.style.fontSize=ve.style.fontSize,pe.textContent={n:"■",l:"●",u:"◆",p:"□",ü:"✔",Ø:"➢","•":"•"}[le.buChar]||"■",pe.style.marginRight="10px",ie.prepend(pe)}(P,w),P.style.paddingLeft=(w.marginLeft||0)+(w.indent||0)+"px"}else{var re=document.createElement("span");re.innerHTML="&nbsp;",re.style.fontSize=f.size+"px",P.appendChild(re)}return Q.appendChild(P),Q}var VN="http://www.w3.org/2000/svg";function Pr(r){return document.createElementNS(VN,r)}function pv(r){var t=r.extend;return .16667*Math.min(t.w,t.h)}function mi(r,t,e){e===void 0&&(e=0);var n=t.prstGeom,i=((n==null?void 0:n.gd)||[]).find(function(o){return o.name===r});return i?i.fmla:e}function Tr(r,t,e){e===void 0&&(e=0);var n=t.extend,i=t.prstGeom,o=((i==null?void 0:i.gd)||[]).find(function(s){return s.name===r});return o?Math.min(n.w,n.h)*o.fmla:e}function ZN(r,t,e){e===void 0&&(e=0);var n=t.extend,i=t.prstGeom,o=((i==null?void 0:i.gd)||[]).find(function(s){return s.name===r});return o?Math.max(n.w,n.h)*o.fmla:e}function b0(r,t){var e=0;switch(r){case"sm":e=1*t;break;case"med":e=1.5*t;break;case"lg":e=2.5*t}return Math.max(e,2)}function XN(r,t,e,n){n===void 0&&(n=!1);var i=r.border,o=i===void 0?{}:i,s=r.uuid,l=o.headEnd,f=o.width,v=o.color,C=o.tailEnd,w=n?l:C,x=w.len,Q=x===void 0?"med":x,R=w.w,L=R===void 0?"med":R,P=b0(Q,f),M=b0(L,f),k=Pr("defs"),G=Pr("marker"),Y="marker-".concat(s,"-").concat(n?"start":"end");G.setAttribute("id",Y),G.setAttribute("viewBox","0 0 ".concat(2*P," ").concat(2*M)),G.setAttribute("refX",P+"px"),G.setAttribute("refY",M+"px"),G.setAttribute("markerWidth",2*P+"px"),G.setAttribute("markerHeight",2*M+"px"),G.setAttribute("orient","auto"),G.setAttribute("markerUnits","userSpaceOnUse");var re=Pr("ellipse");re.setAttribute("cx",P+"px"),re.setAttribute("cy",M+"px"),re.setAttribute("rx",P+"px"),re.setAttribute("ry",M+"px"),re.setAttribute("fill",$a(v)||"transparent"),G.appendChild(re),k.appendChild(G),t.appendChild(k),e.setAttribute(n?"marker-start":"marker-end","url(#".concat(Y,")"))}function $N(r,t,e,n){n===void 0&&(n=!1);var i=r.border,o=i===void 0?{}:i,s=r.uuid,l=o.headEnd,f=o.width,v=o.color,C=o.tailEnd,w=n?l:C,x=w.len,Q=x===void 0?"med":x,R=w.w,L=R===void 0?"med":R,P=b0(Q,f),M=b0(L,f),k=Pr("defs"),G=Pr("marker"),Y="marker-".concat(s,"-").concat(n?"start":"end");G.setAttribute("id",Y),G.setAttribute("viewBox","0 0 ".concat(2*P," ").concat(2*M)),G.setAttribute("refX",(n?.9*P:1.1*P)+"px"),G.setAttribute("refY",M+"px"),G.setAttribute("markerWidth",2*P+"px"),G.setAttribute("markerHeight",2*M+"px"),G.setAttribute("orient","auto"),G.setAttribute("markerUnits","userSpaceOnUse");var re=Pr("path"),ie=n?["M ".concat(2*P,",0"),"L 0,".concat(M),"L ".concat(2*P,",").concat(2*M),"Z"].join(" "):["M 0,0","L ".concat(2*P,",").concat(M),"L 0,".concat(2*M),"Z"].join(" ");re.setAttribute("d",ie),re.setAttribute("fill",$a(v)||"transparent"),G.appendChild(re),k.appendChild(G),t.appendChild(k),e.setAttribute(n?"marker-start":"marker-end","url(#".concat(Y,")"))}function eO(r,t,e,n){n===void 0&&(n=!1);var i=r.border,o=i===void 0?{}:i,s=r.uuid,l=o.headEnd,f=o.width,v=o.color,C=o.tailEnd,w=n?l:C,x=w.len,Q=x===void 0?"med":x,R=w.w,L=R===void 0?"med":R,P=b0(Q,f),M=b0(L,f),k=Pr("defs"),G=Pr("marker"),Y="marker-".concat(s,"-").concat(n?"start":"end");G.setAttribute("id",Y),G.setAttribute("viewBox","0 0 ".concat(2*P," ").concat(2*M)),G.setAttribute("refX",P+"px"),G.setAttribute("refY",M+"px"),G.setAttribute("markerWidth",2*P+"px"),G.setAttribute("markerHeight",2*M+"px"),G.setAttribute("orient","auto"),G.setAttribute("markerUnits","userSpaceOnUse");var re=Pr("path"),ie=["M 0,".concat(M),"L ".concat(P,",0"),"L ".concat(2*P,",").concat(M),"L ".concat(P,",").concat(2*M),"Z"].join(" ");re.setAttribute("d",ie),re.setAttribute("fill",$a(v)||"transparent"),G.appendChild(re),k.appendChild(G),t.appendChild(k),e.setAttribute(n?"marker-start":"marker-end","url(#".concat(Y,")"))}function tO(r,t,e,n){n===void 0&&(n=!1);var i=r.border,o=i===void 0?{}:i,s=r.uuid,l=o.headEnd,f=o.width,v=o.color,C=o.tailEnd,w=n?l:C,x=w.len,Q=x===void 0?"med":x,R=w.w,L=R===void 0?"med":R,P=b0(Q,f),M=b0(L,f),k=Pr("defs"),G=Pr("marker"),Y="marker-".concat(s,"-").concat(n?"start":"end");G.setAttribute("id",Y),G.setAttribute("viewBox","0 0 ".concat(2*P+2*f," ").concat(2*M+2*f));var re=n?L==="lg"?2*f:3*f:L==="lg"?2*P:2*P-f;G.setAttribute("refX",re+"px"),G.setAttribute("refY",M+f+"px"),G.setAttribute("markerWidth",2*P+"px"),G.setAttribute("markerHeight",2*M+"px"),G.setAttribute("orient","auto"),G.setAttribute("markerUnits","userSpaceOnUse");var ie=Pr("path"),le=n?["M ".concat(2*P+f,", ").concat(f),"L ".concat(f,",").concat(M+f),"L ".concat(2*P+f,",").concat(2*M+f)].join(" "):["M ".concat(f,", ").concat(f),"L ".concat(2*P+f,",").concat(M+f),"L ".concat(f,",").concat(2*M+f)].join(" ");ie.setAttribute("d",le),ie.setAttribute("stroke-width",f+"px"),ie.setAttribute("stroke",$a(v)||"transparent"),ie.setAttribute("fill","transparent"),ie.setAttribute("stroke-linecap","round"),ie.setAttribute("stroke-linejoin","miter"),ie.style.overflow="visible",G.appendChild(ie),k.appendChild(G),t.appendChild(k),e.setAttribute(n?"marker-start":"marker-end","url(#".concat(Y,")"))}function rO(r,t,e,n){n===void 0&&(n=!1);var i=r.border,o=i===void 0?{}:i,s=r.uuid,l=o.headEnd,f=o.width,v=o.color,C=o.tailEnd,w=n?l:C,x=w.len,Q=x===void 0?"med":x,R=w.w,L=R===void 0?"med":R,P=b0(Q,f),M=b0(L,f),k=Pr("defs"),G=Pr("marker"),Y="marker-".concat(s,"-").concat(n?"start":"end");G.setAttribute("id",Y),G.setAttribute("viewBox","0 0 ".concat(2*P," ").concat(2*M));var re=n?L==="sm"?1.5*f:2*f:L==="sm"?2*P-1.5*f:2*P-2*f;G.setAttribute("refX",re+"px"),G.setAttribute("refY",M+"px"),G.setAttribute("markerWidth",2*P+"px"),G.setAttribute("markerHeight",2*M+"px"),G.setAttribute("orient","auto"),G.setAttribute("markerUnits","userSpaceOnUse");var ie=Pr("path"),le=n?["M 0, ".concat(M),"L ".concat(2*P,",0"),"L ".concat(P,",").concat(M),"L ".concat(2*P,",").concat(2*M),"Z"].join(" "):["M 0,0","L ".concat(2*P,",").concat(M),"L 0,".concat(2*M),"L ".concat(P,",").concat(M),"Z"].join(" ");ie.setAttribute("d",le),ie.setAttribute("fill",$a(v)||"transparent"),ie.style.overflow="visible",G.appendChild(ie),k.appendChild(G),t.appendChild(k),e.setAttribute(n?"marker-start":"marker-end","url(#".concat(Y,")"))}function dQ(r,t,e){var n=r.border,i=n===void 0?{}:n;r.extend;var o=i.headEnd,s=i.tailEnd;if(o&&o.type!=="none")switch(o.type){case"triangle":$N(r,t,e,!0);break;case"oval":XN(r,t,e,!0);break;case"diamond":eO(r,t,e,!0);break;case"arrow":tO(r,t,e,!0);break;case"stealth":rO(r,t,e,!0)}if(s&&s.type!=="none")switch(s.type){case"triangle":$N(r,t,e,!1);break;case"oval":XN(r,t,e,!1);break;case"diamond":eO(r,t,e,!1);break;case"arrow":tO(r,t,e,!1);break;case"stealth":rO(r,t,e,!1)}}function nO(r){var t=r.extend,e=Pr("rect");return e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("width",t.w+"px"),e.setAttribute("height",t.h+"px"),e}function Hl(r,t,e,n,i){var o=r*Math.PI/180;return[o===0||o===2*Math.PI?t+n:o===Math.PI?t-n:o===Math.PI/2||o===3*Math.PI/2?t:o>0&&o<Math.PI/2||o>3*Math.PI/2&&o<2*Math.PI?t+Math.sqrt(1/(1/Math.pow(n,2)+Math.pow(Math.tan(o),2)/Math.pow(i,2))):t-Math.sqrt(1/(1/Math.pow(n,2)+Math.pow(Math.tan(o),2)/Math.pow(i,2))),o===0||o===2*Math.PI||o===Math.PI?e:o===Math.PI/2?e+i:o===3*Math.PI/2?e-i:o>Math.PI&&o<2*Math.PI?e-Math.sqrt(1/(1/Math.pow(i,2)+Math.pow(1/Math.tan(o),2)/Math.pow(n,2))):e+Math.sqrt(1/(1/Math.pow(i,2)+Math.pow(1/Math.tan(o),2)/Math.pow(n,2)))]}function gQ(r,t){var e=0;return(t>r&&t-r>180||t<r&&r-t<180)&&(e=1),e}function pQ(r){var t=r.extend,e=.146*t.w,n=.146*t.h;return{top:n,bottom:n,left:e,right:e,w:t.w-2*e,h:t.h-2*n}}function E_(r){var t=r.extend,e=r.offset,n=r.border,i=r.background,o=r.rotate,s=r.flipH,l=r.flipV,f=document.createElement("div"),v=e.x,C=e.y;f.className="shape-wrapper shape-".concat(r.shape),f.style.setProperty("position","absolute"),f.style.setProperty("width",(t.w||1)+"px"),f.style.setProperty("height",(t.h||1)+"px"),f.style.setProperty("left",v+"px"),f.style.setProperty("top",C+"px");var w,x=document.createElementNS(VN,"svg");x.style.setProperty("position","absolute"),x.setAttribute("width","100%"),x.setAttribute("height","100%"),x.style.setProperty("left","0"),x.style.setProperty("top","0"),x.style.overflow="visible";var Q={left:0,top:0,bottom:0,w:t.w,h:t.h},R=!0;switch(r.shape){case"customGeom":w=function(M){var k=M.prstGeom,G=k===void 0?{}:k,Y=M.extend,re=G.pathList,ie=G.w,le=G.h,pe=Pr("path"),ve={moveTo:"M",lnTo:"L",cubicBezTo:"C",close:"Z"},Ee=Y.w/ie,Se=Y.h/le,ke=re.map(function(Le){var be=ve[Le.type],ze=Array.isArray(Le.points)?Le.points.map(function(ut){return"".concat(ut[0]*Ee,",").concat(ut[1]*Se)}).join(" "):"";return ze?"".concat(be," ").concat(ze):"".concat(be)}).join(" ");return pe.setAttribute("d",ke),pe.style.fillRule="evenodd",pe}(r),dQ(r,x,w);break;case"flowChartProcess":case"rect":w=nO(r);break;case"snip1Rect":w=function(M){var k=M.extend,G=Pr("polygon"),Y=Tr("adj",M,pv(M)),re=["0,0","".concat(k.w-Y,",0"),"".concat(k.w,",").concat(Y),"".concat(k.w,",").concat(k.h),"0,".concat(k.h)].join(" ");return G.setAttribute("points",re),G}(r);break;case"snip2SameRect":w=function(M){var k=M.extend,G=Pr("polygon"),Y=Tr("adj1",M,pv(M)),re=Tr("adj2",M,0),ie=[[Y,0],[k.w-Y,0],[k.w,Y],[k.w,k.h-re],[k.w-re,k.h],[re,k.h],[0,k.h-re],[0,Y]].map(function(le){return"".concat(le[0],",").concat(le[1])}).join(" ");return G.setAttribute("points",ie),G}(r);break;case"snip2DiagRect":w=function(M){var k=M.extend,G=Pr("polygon"),Y=Tr("adj1",M,0),re=Tr("adj2",M,pv(M)),ie=[[Y,0],[k.w-re,0],[k.w,re],[k.w,k.h-Y],[k.w-Y,k.h],[re,k.h],[0,k.h-re],[0,Y]].map(function(le){return"".concat(le[0],",").concat(le[1])}).join(" ");return G.setAttribute("points",ie),G}(r);break;case"snipRoundRect":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj1",M,pv(M)),re=Tr("adj2",M,pv(M)),ie=["M ".concat(Y,",0"),"L ".concat(k.w-re,",0"),"L ".concat(k.w,",").concat(re),"L ".concat(k.w,",").concat(k.h),"L 0,".concat(k.h),"L 0,".concat(Y),"Q 0,0 ".concat(Y,",0"),"Z"].join(" ");return G.setAttribute("d",ie),G}(r);break;case"roundRect":w=function(M){var k=nO(M),G=Tr("adj",M,pv(M));return k.setAttribute("rx",G+"px"),k.setAttribute("ry",G+"px"),k}(r);break;case"round1Rect":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj",M,pv(M)),re=["M 0,0","L ".concat(k.w-Y,",0"),"Q ".concat(k.w,",0 ").concat(k.w,",").concat(Y),"L ".concat(k.w,",").concat(k.h),"L 0,".concat(k.h),"Z"].join(" ");return G.setAttribute("d",re),G}(r);break;case"round2SameRect":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj1",M,pv(M)),re=Tr("adj2",M,0),ie=["M ".concat(Y,",0"),"L ".concat(k.w-Y,",0"),"Q ".concat(k.w,",0 ").concat(k.w,",").concat(Y),"L ".concat(k.w,",").concat(k.h-re),"Q ".concat(k.w,",").concat(k.h," ").concat(k.w-re,",").concat(k.h),"L ".concat(re,",").concat(k.h),"Q 0,".concat(k.h," 0,").concat(k.h-re),"L 0,".concat(Y),"Q 0,0 ".concat(Y,",0"),"Z"].join(" ");return G.setAttribute("d",ie),G}(r);break;case"round2DiagRect":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj1",M,pv(M)),re=Tr("adj2",M,0),ie=["M ".concat(Y,",0"),"L ".concat(k.w-re,",0"),"Q ".concat(k.w,",0 ").concat(k.w,",").concat(re),"L ".concat(k.w,",").concat(k.h-Y),"Q ".concat(k.w,",").concat(k.h," ").concat(k.w-Y,",").concat(k.h),"L ".concat(re,",").concat(k.h),"Q 0,".concat(k.h," 0,").concat(k.h-re),"L 0,".concat(Y),"Q 0,0 ".concat(Y,",0"),"Z"].join(" ");return G.setAttribute("d",ie),G}(r);break;case"triangle":w=function(M){var k=M.extend,G=Pr("polygon"),Y=["".concat(k.w/2,",0"),"0,".concat(k.h),"".concat(k.w,",").concat(k.h)].join(" ");return G.setAttribute("points",Y),G}(r);break;case"rtTriangle":w=function(M){var k=M.extend,G=Pr("polygon"),Y=["0,".concat(k.h),"0,0","".concat(k.w,",").concat(k.h)].join(" ");return G.setAttribute("points",Y),G}(r);break;case"ellipse":w=function(M){var k=M.extend,G=Pr("ellipse"),Y=k.w/2,re=k.h/2,ie=Y,le=re;return G.setAttribute("cx",Y+"px"),G.setAttribute("cy",re+"px"),G.setAttribute("rx",ie+"px"),G.setAttribute("ry",le+"px"),G}(r);break;case"line":w=function(M){var k=M.extend,G=Pr("path"),Y=["M 0,0","L ".concat(k.w,",").concat(k.h)].join(" ");return G.setAttribute("d",Y),G}(r),dQ(r,x,w),R=!1;break;case"straightConnector1":w=function(M){var k=M.extend,G=Pr("path"),Y=["M 0,0","L ".concat(k.w,",").concat(k.h)].join(" ");return G.setAttribute("d",Y),G}(r),dQ(r,x,w),R=!1;break;case"bentConnector3":w=function(M){var k=M.extend,G=Pr("path"),Y=ZN("adj1",M,.5*Math.max(k.w,k.h)),re=["M 0,0","L ".concat(Y,",0"),"L ".concat(Y,",").concat(k.h),"L ".concat(k.w,",").concat(k.h)].join(" ");return G.setAttribute("d",re),G}(r),dQ(r,x,w),R=!1;break;case"curvedConnector3":w=function(M){var k=M.extend,G=Pr("path"),Y=ZN("adj1",M,.5*Math.max(k.w,k.h)),re=["M0,0","Q".concat(Y,",0 ").concat(Y,",").concat(k.h/2),"T".concat(k.w,",").concat(k.h)].join(" ");return G.setAttribute("d",re),G}(r),dQ(r,x,w),R=!1;break;case"parallelogram":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj",M,.5*Math.min(k.w,k.h)),re=["M".concat(Y,",0"),"L".concat(k.w,",0"),"L".concat(k.w-Y,",").concat(k.h),"L0,".concat(k.h),"Z"].join(" ");return G.setAttribute("d",re),G}(r),Q=function(M){var k=M.extend,G=Tr("adj",M,.5*Math.min(k.w,k.h)),Y=.84*(k.w-G),re=.08*k.h+G/k.w*k.h*.42;return{top:re,bottom:re,left:(k.w-Y)/2,right:(k.w-Y)/2,w:Y,h:k.h-2*re}}(r);break;case"trapezoid":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj",M,.25*Math.min(k.w,k.h)),re=["M".concat(Y,",0"),"L".concat(k.w-Y,",0"),"L".concat(k.w,",").concat(k.h),"L0,".concat(k.h),"Z"].join(" ");return G.setAttribute("d",re),G}(r),Q=function(M){var k=M.extend,G=Tr("adj",M,.5*Math.min(k.w,k.h)),Y=G/k.w*.66*k.h,re=.66*G;return{top:Y,bottom:0,left:re,right:re,w:k.w-2*re,h:k.h-Y}}(r);break;case"diamond":w=function(M){var k=M.extend,G=Pr("path"),Y=["M".concat(k.w/2,",0"),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w/2,",").concat(k.h),"L0,".concat(k.h/2),"Z"].join(" ");return G.setAttribute("d",Y),G}(r),Q=function(M){var k=M.extend,G=.25*k.h,Y=.25*k.w;return{top:G,bottom:G,left:Y,right:Y,w:.5*k.w,h:.5*k.h}}(r);break;case"pentagon":w=function(M){var k=M.extend,G=Pr("path"),Y=["M".concat(k.w/2,",0"),"L".concat(k.w,",").concat(.3771*k.h),"L".concat(.808*k.w,",").concat(k.h),"L".concat(.192*k.w,",").concat(k.h),"L0,".concat(.3771*k.h),"Z"].join(" ");return G.setAttribute("d",Y),G}(r),Q=function(M){var k=M.extend,G=.227*k.h,Y=.192*k.w;return{top:G,bottom:0,left:Y,right:Y,w:.616*k.w,h:.773*k.h}}(r);break;case"hexagon":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj",M,.25*Math.min(k.w,k.h)),re=["M".concat(Y,",0"),"L".concat(k.w-Y,",0"),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w-Y,",").concat(k.h),"L".concat(Y,",").concat(k.h),"L0,".concat(k.h/2),"Z"].join(" ");return G.setAttribute("d",re),G}(r),Q=function(M){var k=M.extend,G=Tr("adj",M,.25*Math.min(k.w,k.h)),Y=.098*k.h+G/k.w*.38*k.h,re=.088*k.w+.422*G;return{top:Y,bottom:Y,left:re,right:re,w:k.w-2*re,h:k.h-2*Y}}(r);break;case"heptagon":w=function(M){var k=M.extend,G=Pr("path"),Y=["M".concat(k.w/2,",0"),"L".concat(.9*k.w,",").concat(.2*k.h),"L".concat(k.w,",").concat(.642*k.h),"L".concat(.722*k.w,",").concat(k.h),"L".concat(.278*k.w,",").concat(k.h),"L0,".concat(.642*k.h),"L".concat(.1*k.w,",").concat(.2*k.h),"Z"].join(" ");return G.setAttribute("d",Y),G}(r),Q=function(M){var k=M.extend;return{top:.2*k.h,bottom:.2*k.h,left:.1*k.w,right:.1*k.w,w:.8*k.w,h:.6*k.h}}(r);break;case"octagon":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj",M,.29*Math.min(k.w,k.h)),re=["M".concat(Y,",0"),"L".concat(k.w-Y,",0"),"L".concat(k.w,",").concat(Y),"L".concat(k.w,",").concat(k.h-Y),"L".concat(k.w-Y,",").concat(k.h),"L".concat(Y,",").concat(k.h),"L0,".concat(k.h-Y),"L0,".concat(Y),"Z"].join(" ");return G.setAttribute("d",re),G}(r),Q=function(M){var k=M.extend,G=Tr("adj",M,.29*Math.min(k.w,k.h));return{top:.5*G,bottom:.5*G,left:.5*G,right:.5*G,w:k.w-G,h:k.h-G}}(r);break;case"decagon":w=function(M){var k=M.extend,G=Pr("path"),Y=.344,re=.117,ie=.19,le=["M".concat(k.w*Y,",0"),"L".concat(.656*k.w,",0"),"L".concat(.883*k.w,",").concat(k.h*ie),"L".concat(k.w,",").concat(.5*k.h),"L".concat(.883*k.w,",").concat(.81*k.h),"L".concat(.656*k.w,",").concat(k.h),"L".concat(k.w*Y,",").concat(k.h),"L".concat(k.w*re,",").concat(.81*k.h),"L0,".concat(.5*k.h),"L".concat(k.w*re,",").concat(k.h*ie),"Z"].join(" ");return G.setAttribute("d",le),G}(r),Q=function(M){var k=M.extend,G=.117,Y=.19;return{top:k.h*Y,bottom:k.h*Y,left:k.w*G,right:k.w*G,w:.766*k.w,h:.62*k.h}}(r);break;case"dodecagon":w=function(M){var k=M.extend,G=Pr("path"),Y=.364,re=.133,ie=.135,le=["M".concat(k.w*Y,",0"),"L".concat(.636*k.w,",0"),"L".concat(.867*k.w,",").concat(k.h*ie),"L".concat(k.w,",").concat(k.h*Y),"L".concat(k.w,",").concat(.636*k.h),"L".concat(.867*k.w,",").concat(.865*k.h),"L".concat(.636*k.w,",").concat(k.h),"L".concat(k.w*Y,",").concat(k.h),"L".concat(k.w*re,",").concat(.865*k.h),"L0,".concat(.636*k.h),"L0,".concat(k.h*Y),"L".concat(k.w*re,",").concat(k.h*ie),"Z"].join(" ");return G.setAttribute("d",le),G}(r),Q=function(M){var k=M.extend,G=.133,Y=.135;return{top:k.h*Y,bottom:k.h*Y,left:k.w*G,right:k.w*G,w:.734*k.w,h:.73*k.h}}(r);break;case"pie":w=function(M){var k=M.extend,G=Pr("path"),Y=mi("adj1",M,360),re=mi("adj2",M,270),ie=k.w/2,le=k.h/2,pe=k.w/2,ve=k.h/2,Ee=Hl(Y,pe,ve,ie,le),Se=Ee[0],ke=Ee[1],Le=Hl(re,pe,ve,ie,le),be=Le[0],ze=Le[1],ut=gQ(Y,re),ft="M".concat(pe,",").concat(ve,", L").concat(Se," ").concat(ke," A ").concat(ie," ").concat(le," 0 ").concat(ut," ").concat(1," ").concat(be," ").concat(ze," Z");return G.setAttribute("d",ft),G}(r),Q=pQ(r);break;case"arc":w=function(M){var k=M.extend,G=Pr("path"),Y=mi("adj1",M,270),re=mi("adj2",M,0),ie=k.w/2,le=k.h/2,pe=k.w/2,ve=k.h/2,Ee=Hl(Y,pe,ve,ie,le),Se=Ee[0],ke=Ee[1],Le=Hl(re,pe,ve,ie,le),be=Le[0],ze=Le[1],ut=gQ(Y,re),ft="M".concat(Se,",").concat(ke," A ").concat(ie," ").concat(le," 0 ").concat(ut," ").concat(1," ").concat(be," ").concat(ze);return G.setAttribute("d",ft),G}(r),R=!1;break;case"bracketPair":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj",M,.16667*Math.min(k.w,k.h)),re=["M".concat(Y,",").concat(k.h),"Q".concat(0,",").concat(k.h," ").concat(0,",").concat(k.h-Y),"L".concat(0,",").concat(Y),"Q".concat(0,",").concat(0," ").concat(Y,",").concat(0),"M".concat(k.w-Y,",").concat(0),"Q".concat(k.w,",").concat(0," ").concat(k.w,",").concat(Y),"L".concat(k.w,",").concat(k.h-Y),"Q".concat(k.w,",").concat(k.h," ").concat(k.w-Y,",").concat(k.h)].join(" ");return G.setAttribute("d",re),G}(r),Q=function(M){var k=M.extend,G=.285*Tr("adj",M,.16667*Math.min(k.w,k.h));return{top:G,bottom:G,left:G,right:G,w:k.w-2*G,h:k.h-2*G}}(r),R=!1;break;case"bracePair":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj",M,.083335*Math.min(k.w,k.h)),re=["M".concat(2*Y,",").concat(k.h),"Q".concat(Y,",").concat(k.h," ").concat(Y,",").concat(k.h-Y),"L".concat(Y,",").concat(k.h/2+Y),"Q".concat(Y,",").concat(k.h/2," ").concat(0,",").concat(k.h/2),"Q".concat(Y,",").concat(k.h/2," ").concat(Y,",").concat(k.h/2-Y),"L".concat(Y,",").concat(Y),"Q".concat(Y,",").concat(0," ").concat(2*Y,",").concat(0),"M".concat(k.w-2*Y,",").concat(0),"Q".concat(k.w-Y,",").concat(0," ").concat(k.w-Y,",").concat(Y),"L".concat(k.w-Y,",").concat(k.h/2-Y),"Q".concat(k.w-Y,",").concat(k.h/2," ").concat(k.w,",").concat(k.h/2),"Q".concat(k.w-Y,",").concat(k.h/2," ").concat(k.w-Y,",").concat(k.h/2+Y),"L".concat(k.w-Y,",").concat(k.h-Y),"Q".concat(k.w-Y,",").concat(k.h," ").concat(k.w-2*Y,",").concat(k.h)].join(" ");return G.setAttribute("d",re),G}(r),Q=function(M){var k=M.extend,G=.285*Tr("adj",M,.16667*Math.min(k.w,k.h));return{top:G,bottom:G,left:G,right:G,w:k.w-2*G,h:k.h-2*G}}(r),R=!1;break;case"chord":w=function(M){var k=M.extend,G=Pr("path"),Y=mi("adj1",M,45),re=mi("adj2",M,270),ie=k.w/2,le=k.h/2,pe=k.w/2,ve=k.h/2,Ee=Hl(Y,pe,ve,ie,le),Se=Ee[0],ke=Ee[1],Le=Hl(re,pe,ve,ie,le),be=Le[0],ze=Le[1],ut=gQ(Y,re),ft="M".concat(Se," ").concat(ke," A ").concat(ie," ").concat(le," 0 ").concat(ut," ").concat(1," ").concat(be," ").concat(ze," Z");return G.setAttribute("d",ft),G}(r),Q=pQ(r);break;case"teardrop":w=function(M){var k=M.extend,G=Pr("path"),Y=mi("adj",M,1),re=k.w/2,ie=k.h/2,le=k.w/2,pe=k.h/2,ve=Hl(0,le,pe,re,ie),Ee=ve[0],Se=ve[1],ke=Hl(270,le,pe,re,ie),Le=ke[0],be=ke[1],ze=gQ(0,270),ut="M".concat(Ee," ").concat(Se," A ").concat(re," ").concat(ie," 0 ").concat(ze," ").concat(1," ").concat(Le," ").concat(be),ft=re*Y,Qt=le+ft,vt=pe-ie*ft/(k.w/2),Gt=(k.w/2+Qt)/2,Ct=(k.h/2+vt)/2;return ut+=" Q".concat(Gt,",0 ").concat(Qt,",").concat(vt),ut+=" Q".concat(k.w,",").concat(Ct," ").concat(le+re,",").concat(pe),G.setAttribute("d",ut),G}(r),Q=pQ(r);break;case"frame":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj1",M,.12*Math.min(k.w,k.h)),re=["M0,0","L".concat(k.w,",0"),"L".concat(k.w,",").concat(k.h),"L0,".concat(k.h),"Z","M".concat(Y,",").concat(Y),"L".concat(Y,",").concat(k.h-Y),"L".concat(k.w-Y,",").concat(k.h-Y),"L".concat(k.w-Y,",").concat(Y),"Z"].join(" ");return G.setAttribute("d",re),G}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.12*Math.min(k.w,k.h));return{top:G,bottom:G,left:G,right:G,w:k.w-2*G,h:k.h-2*G}}(r);break;case"halfFrame":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj1",M,.333*Math.min(k.w,k.h)),re=Math.min(Tr("adj2",M,.333*Math.min(k.w,k.h)),k.w*(1-Y/k.h)),ie=["M0,0","L".concat(k.w,",0"),"L".concat(k.w*(1-Y/k.h),",").concat(Y),"L".concat(re,",").concat(Y),"L".concat(re,",").concat(k.h*(1-re/k.w)),"L0,".concat(k.h),"Z"].join(" ");return G.setAttribute("d",ie),G}(r);break;case"corner":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj1",M,.5*Math.min(k.w,k.h)),re=Tr("adj2",M,.5*Math.min(k.w,k.h)),ie=["M0,0","L".concat(re,",0"),"L".concat(re,",").concat(k.h-Y),"L".concat(k.w,",").concat(k.h-Y),"L".concat(k.w,",").concat(k.h),"L0,".concat(k.h),"Z"].join(" ");return G.setAttribute("d",ie),G}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h));return{top:k.h-G,bottom:0,left:0,right:0,w:k.w,h:G}}(r);break;case"diagStripe":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj",M,.5*Math.min(k.w,k.h)),re=k.w*Y/k.h,ie=["M".concat(re,",0"),"L".concat(k.w,",0"),"L0,".concat(k.h),"L0,".concat(Y),"Z"].join(" ");return G.setAttribute("d",ie),G}(r),Q=function(M){var k=M.extend,G=mi("adj",M,.5),Y=.5*(1-G)*k.h,re=.5*(1-G)*k.w;return{top:0,bottom:Y,left:0,right:re,w:k.w-re,h:k.h-Y}}(r);break;case"plus":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj",M,.25*Math.min(k.w,k.h)),re=["M".concat(Y,",0"),"L".concat(k.w-Y,",0"),"L".concat(k.w-Y,",").concat(Y),"L".concat(k.w,",").concat(Y),"L".concat(k.w,",").concat(k.h-Y),"L".concat(k.w-Y,",").concat(k.h-Y),"L".concat(k.w-Y,",").concat(k.h),"L".concat(Y,",").concat(k.h),"L".concat(Y,",").concat(k.h-Y),"L0,".concat(k.h-Y),"L0,".concat(Y),"L".concat(Y,",").concat(Y),"Z"].join(" ");return G.setAttribute("d",re),G}(r),Q=function(M){var k=M.extend,G=Tr("adj",M,.25*Math.min(k.w,k.h));return{top:G,bottom:G,left:0,right:0,w:k.w,h:k.h-2*G}}(r);break;case"plaque":w=function(M){var k=M.extend,G=Pr("path"),Y=Tr("adj",M,.16667*Math.min(k.w,k.h)),re=["M".concat(Y,",0"),"L".concat(k.w-Y,",0"),"Q".concat(k.w-Y,",").concat(Y," ").concat(k.w,",").concat(Y),"L".concat(k.w,",").concat(k.h-Y),"Q".concat(k.w-Y,",").concat(k.h-Y," ").concat(k.w-Y,",").concat(k.h),"L".concat(Y,",").concat(k.h),"Q".concat(Y,",").concat(k.h-Y," 0,").concat(k.h-Y),"L0,".concat(Y),"Q".concat(Y,",").concat(Y," ").concat(Y,",0"),"Z"].join(" ");return G.setAttribute("d",re),G}(r),Q=function(M){var k=M.extend,G=Tr("adj",M,.16667*Math.min(k.w,k.h));return{top:.72*G,bottom:.72*G,left:.72*G,right:.72*G,w:k.w-1.44*G,h:k.w-1.44*G}}(r);break;case"can":w=function(M){var k=M.extend,G=M.background,Y=Pr("g"),re=Pr("path"),ie=Tr("adj",M,.25*Math.min(k.w,k.h)),le=["M0,".concat(ie/2),"L0,".concat(k.h-ie/2),"A".concat(k.w/2,",").concat(ie/2," 0 0 0 ").concat(k.w,",").concat(k.h-ie/2),"L".concat(k.w,",").concat(ie/2),"A".concat(k.w/2,",").concat(ie/2," 0 0 1 0,").concat(ie/2),"Z"].join(" ");re.setAttribute("d",le);var pe=Pr("ellipse"),ve=k.w/2,Ee=ie/2,Se=k.w/2,ke=ie/2;return pe.setAttribute("cx",ve+"px"),pe.setAttribute("cy",Ee+"px"),pe.setAttribute("rx",Se+"px"),pe.setAttribute("ry",ke+"px"),(G==null?void 0:G.type)==="solidFill"&&pe.setAttribute("fill",$a(G,{light:.5})||"transparent"),Y.appendChild(re),Y.appendChild(pe),Y}(r),Q=function(M){var k=M.extend,G=Tr("adj",M,.25*Math.min(k.w,k.h));return{top:G,bottom:0,left:0,right:0,w:k.w,h:k.h-G}}(r);break;case"cube":w=function(M){var k=M.extend,G=M.background,Y=Tr("adj",M,.25*Math.min(k.w,k.h)),re=Pr("g"),ie=Pr("path"),le=["M0,".concat(Y),"L".concat(k.w-Y,",").concat(Y),"L".concat(k.w-Y,",").concat(k.h),"L0,".concat(k.h),"Z"].join(" ");ie.setAttribute("d",le);var pe=Pr("path"),ve=["M0,".concat(Y),"L".concat(Y,",0"),"L".concat(k.w,",0"),"L".concat(k.w-Y,",").concat(Y),"Z"].join(" ");pe.setAttribute("d",ve),(G==null?void 0:G.type)==="solidFill"&&pe.setAttribute("fill",$a(G,{light:.8})||"transparent");var Ee=Pr("path"),Se=["M".concat(k.w,",0"),"L".concat(k.w-Y,",").concat(Y),"L".concat(k.w-Y,",").concat(k.h),"L".concat(k.w,",").concat(k.h-Y),"Z"].join(" ");return Ee.setAttribute("d",Se),(G==null?void 0:G.type)==="solidFill"&&Ee.setAttribute("fill",$a(G,{dark:.6})||"transparent"),re.appendChild(ie),re.appendChild(pe),re.appendChild(Ee),re}(r),Q=function(M){var k=M.extend,G=Tr("adj",M,.25*Math.min(k.w,k.h));return{top:G,bottom:0,left:0,right:G,w:k.w-G,h:k.h-G}}(r);break;case"bevel":w=function(M){var k=M.extend,G=M.background,Y=Tr("adj",M,.125*Math.min(k.w,k.h)),re=Pr("g"),ie=Pr("path"),le=["M".concat(Y,",").concat(Y),"L".concat(k.w-Y,",").concat(Y),"L".concat(k.w-Y,",").concat(k.h-Y),"L".concat(Y,",").concat(k.h-Y),"Z"].join(" ");ie.setAttribute("d",le);var pe=Pr("path"),ve=["M0,0","L".concat(Y,",").concat(Y),"L".concat(k.w-Y,",").concat(Y),"L".concat(k.w,",0"),"Z"].join(" ");pe.setAttribute("d",ve),(G==null?void 0:G.type)==="solidFill"&&pe.setAttribute("fill",$a(G,{light:.8})||"transparent");var Ee=Pr("path"),Se=["M".concat(k.w,",0"),"L".concat(k.w-Y,",").concat(Y),"L".concat(k.w-Y,",").concat(k.h-Y),"L".concat(k.w,",").concat(k.h),"Z"].join(" ");Ee.setAttribute("d",Se),(G==null?void 0:G.type)==="solidFill"&&Ee.setAttribute("fill",$a(G,{dark:.6})||"transparent");var ke=Pr("path"),Le=["M".concat(k.w,",").concat(k.h),"L".concat(k.w-Y,",").concat(k.h-Y),"L".concat(Y,",").concat(k.h-Y),"L0,".concat(k.h),"Z"].join(" ");ke.setAttribute("d",Le),(G==null?void 0:G.type)==="solidFill"&&ke.setAttribute("fill",$a(G,{dark:.625})||"transparent");var be=Pr("path"),ze=["M0,".concat(k.h),"L".concat(Y,",").concat(k.h-Y),"L".concat(Y,",").concat(Y),"L0,0","Z"].join(" ");return be.setAttribute("d",ze),(G==null?void 0:G.type)==="solidFill"&&be.setAttribute("fill",$a(G,{light:.6})||"transparent"),re.appendChild(ie),re.appendChild(pe),re.appendChild(Ee),re.appendChild(ke),re.appendChild(be),re}(r),Q=function(M){var k=M.extend,G=Tr("adj",M,.125*Math.min(k.w,k.h));return{top:G,bottom:G,left:G,right:G,w:k.w-2*G,h:k.h-2*G}}(r);break;case"donut":w=function(M){var k=M.extend,G=Tr("adj",M,.25*Math.min(k.w,k.h)),Y=Pr("path"),re=["M0,".concat(k.h/2),"A".concat(k.w/2,",").concat(k.h/2," 0 1,1 0,").concat(k.h/2+1),"Z","M".concat(k.w-G,",").concat(k.h/2),"A".concat(k.w/2-G,",").concat(k.h/2-G," 0 1,0 ").concat(k.w-G,",").concat(k.h/2+1),"Z"].join(" ");return Y.setAttribute("d",re),Y}(r),Q=pQ(r);break;case"noSmoking":w=function(M){var k=M.extend,G=Tr("adj",M,.25*Math.min(k.w,k.h)),Y=Pr("path"),re=Math.atan(k.h/k.w),ie=G/2/Math.sin(re),le=k.w/2,pe=k.h/2,ve=-1*k.h/k.w,Ee=k.h*ie/k.w,Se=k.w/2-G,ke=k.h/2-G,Le=-2*Se*Se*ve*Ee,be=Math.sqrt(Math.pow(2*Se*Se*ve*Ee,2)-4*(ke*ke+Se*Se*ve*ve)*Se*Se*(Ee*Ee-ke*ke)),ze=2*(ke*ke+Se*Se*ve*ve),ut=(Le-be)/ze,ft=ve*ut+Ee,Qt=(Le+be)/ze,vt=ve*Qt+Ee,Gt=-k.h*ie/k.w,Ct=-2*Se*Se*ve*Gt,St=Math.sqrt(Math.pow(2*Se*Se*ve*Gt,2)-4*(ke*ke+Se*Se*ve*ve)*Se*Se*(Gt*Gt-ke*ke)),dr=2*(ke*ke+Se*Se*ve*ve),ur=(Ct-St)/dr,ir=ve*ur+Gt,Fn=(Ct+St)/dr,Ei=ve*Fn+Gt,Vr=["M0,".concat(k.h/2),"A".concat(k.w/2,",").concat(k.h/2," 0 1,1 0,").concat(k.h/2+1),"Z","M".concat(le+Qt,",").concat(pe-vt),"A".concat(Se,",").concat(ke," 0 0 0 ").concat(le+ut,",").concat(pe-ft),"Z","M".concat(le+ur,",").concat(pe-ir),"A".concat(Se,",").concat(ke," 0 0 0 ").concat(le+Fn,",").concat(pe-Ei),"Z"].join(" ");return Y.setAttribute("d",Vr),Y}(r),Q=pQ(r);break;case"rightArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=Tr("adj2",M,.5*Math.min(k.w,k.h)),re=Pr("path"),ie=["M0,".concat(k.h/2-G/2),"L".concat(k.w-Y,",").concat(k.h/2-G/2),"L".concat(k.w-Y,",0"),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w-Y,",").concat(k.h),"L".concat(k.w-Y,",").concat(k.h/2+G/2),"L0,".concat(k.h/2+G/2),"Z"].join(" ");return re.setAttribute("d",ie),re}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=G*Tr("adj2",M,.5*Math.min(k.w,k.h))/k.h;return{top:k.h/2-G/2,bottom:k.h/2-G/2,left:0,right:Y,w:k.w-Y,h:G}}(r);break;case"leftArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=Tr("adj2",M,.5*Math.min(k.w,k.h)),re=Pr("path"),ie=["M0,".concat(k.h/2),"L".concat(Y,",0"),"L".concat(Y,",").concat(k.h/2-G/2),"L".concat(k.w,",").concat(k.h/2-G/2),"L".concat(k.w,",").concat(k.h/2+G/2),"L".concat(Y,",").concat(k.h/2+G/2),"L".concat(Y,",").concat(k.h),"Z"].join(" ");return re.setAttribute("d",ie),re}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=G*Tr("adj2",M,.5*Math.min(k.w,k.h))/k.h;return{top:k.h/2-G/2,bottom:k.h/2-G/2,left:Y,right:0,w:k.w-Y,h:G}}(r);break;case"upArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=Tr("adj2",M,.5*Math.min(k.w,k.h)),re=Pr("path"),ie=["M".concat(k.w/2,",0"),"L".concat(k.w,",").concat(Y),"L".concat(k.w/2+G/2,",").concat(Y),"L".concat(k.w/2+G/2,",").concat(k.h),"L".concat(k.w/2-G/2,",").concat(k.h),"L".concat(k.w/2-G/2,",").concat(Y),"L0,".concat(Y),"Z"].join(" ");return re.setAttribute("d",ie),re}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=G*Tr("adj2",M,.5*Math.min(k.w,k.h))/k.w;return{top:Y,bottom:0,left:k.w/2-G/2,right:k.w/2-G/2,w:G,h:k.h-Y}}(r);break;case"downArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=Tr("adj2",M,.5*Math.min(k.w,k.h)),re=Pr("path"),ie=["M".concat(k.w/2,",").concat(k.h),"L0,".concat(k.h-Y),"L".concat(k.w/2-G/2,",").concat(k.h-Y),"L".concat(k.w/2-G/2,",0"),"L".concat(k.w/2+G/2,",0"),"L".concat(k.w/2+G/2,",").concat(k.h-Y),"L".concat(k.w,",").concat(k.h-Y),"Z"].join(" ");return re.setAttribute("d",ie),re}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=G*Tr("adj2",M,.5*Math.min(k.w,k.h))/k.w;return{top:0,bottom:Y,left:k.w/2-G/2,right:k.w/2-G/2,w:G,h:k.h-Y}}(r);break;case"leftRightArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=Tr("adj2",M,.5*Math.min(k.w,k.h)),re=Pr("path"),ie=["M0,".concat(k.h/2),"L".concat(Y,",0"),"L".concat(Y,",").concat(k.h/2-G/2),"L".concat(k.w-Y,",").concat(k.h/2-G/2),"L".concat(k.w-Y,",0"),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w-Y,",").concat(k.h),"L".concat(k.w-Y,",").concat(k.h/2+G/2),"L".concat(Y,",").concat(k.h/2+G/2),"L".concat(Y,",").concat(k.h),"Z"].join(" ");return re.setAttribute("d",ie),re}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=G*Tr("adj2",M,.5*Math.min(k.w,k.h))/k.h;return{top:k.h/2-G/2,bottom:k.h/2-G/2,left:Y,right:Y,w:k.w-2*Y,h:G}}(r);break;case"upDownArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=Tr("adj2",M,.5*Math.min(k.w,k.h)),re=Pr("path"),ie=["M".concat(k.w/2,",").concat(k.h),"L0,".concat(k.h-Y),"L".concat(k.w/2-G/2,",").concat(k.h-Y),"L".concat(k.w/2-G/2,",").concat(Y),"L0,".concat(Y),"L".concat(k.w/2,",0"),"L".concat(k.w,",").concat(Y),"L".concat(k.w/2+G/2,",").concat(Y),"L".concat(k.w/2+G/2,",").concat(k.h-Y),"L".concat(k.w,",").concat(k.h-Y),"Z"].join(" ");return re.setAttribute("d",ie),re}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.5*Math.min(k.w,k.h)),Y=G*Tr("adj2",M,.5*Math.min(k.w,k.h))/k.w;return{top:Y,bottom:Y,left:k.w/2-G/2,right:k.w/2-G/2,w:G,h:k.h-2*Y}}(r);break;case"quadArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.225*Math.min(k.w,k.h)),Y=Tr("adj2",M,.225*Math.min(k.w,k.h)),re=Tr("adj3",M,.225*Math.min(k.w,k.h)),ie=Pr("path"),le=["M0,".concat(k.h/2),"L".concat(re,",").concat(k.h/2-Y),"L".concat(re,",").concat(k.h/2-G/2),"L".concat(k.w/2-G/2,",").concat(k.h/2-G/2),"L".concat(k.w/2-G/2,",").concat(re),"L".concat(k.w/2-Y,",").concat(re),"L".concat(k.w/2,",0"),"L".concat(k.w/2+Y,",").concat(re),"L".concat(k.w/2+G/2,",").concat(re),"L".concat(k.w/2+G/2,",").concat(k.h/2-G/2),"L".concat(k.w-re,",").concat(k.h/2-G/2),"L".concat(k.w-re,",").concat(k.h/2-Y),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w-re,",").concat(k.h/2+Y),"L".concat(k.w-re,",").concat(k.h/2+G/2),"L".concat(k.w/2+G/2,",").concat(k.h/2+G/2),"L".concat(k.w/2+G/2,",").concat(k.h-re),"L".concat(k.w/2+Y,",").concat(k.h-re),"L".concat(k.w/2,",").concat(k.h),"L".concat(k.w/2-Y,",").concat(k.h-re),"L".concat(k.w/2-G/2,",").concat(k.h-re),"L".concat(k.w/2-G/2,",").concat(k.h/2+G/2),"L".concat(re,",").concat(k.h/2+G/2),"L".concat(re,",").concat(k.h/2+Y),"Z"].join(" ");return ie.setAttribute("d",le),ie}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.225*Math.min(k.w,k.h)),Y=Tr("adj2",M,.225*Math.min(k.w,k.h)),re=Tr("adj3",M,.225*Math.min(k.w,k.h)),ie=Y===0?0:G*re/Y/2;return{top:k.h/2-G/2,bottom:k.h/2-G/2,left:ie,right:ie,w:k.w-2*ie,h:G}}(r);break;case"leftRightUpArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.225*Math.min(k.w,k.h)),Y=Tr("adj2",M,.225*Math.min(k.w,k.h)),re=Tr("adj3",M,.225*Math.min(k.w,k.h)),ie=Pr("path");G>2*Y&&(G=2*Y);var le=["M0,".concat(k.h-Y),"L".concat(re,",").concat(k.h-2*Y),"L".concat(re,",").concat(k.h-Y-G/2),"L".concat(k.w/2-G/2,",").concat(k.h-Y-G/2),"L".concat(k.w/2-G/2,",").concat(re),"L".concat(k.w/2-Y,",").concat(re),"L".concat(k.w/2,",0"),"L".concat(k.w/2+Y,",").concat(re),"L".concat(k.w/2+G/2,",").concat(re),"L".concat(k.w/2+G/2,",").concat(k.h-Y-G/2),"L".concat(k.w-re,",").concat(k.h-Y-G/2),"L".concat(k.w-re,",").concat(k.h-2*Y),"L".concat(k.w,",").concat(k.h-Y),"L".concat(k.w-re,",").concat(k.h),"L".concat(k.w-re,",").concat(k.h-Y+G/2),"L".concat(re,",").concat(k.h-Y+G/2),"L".concat(re,",").concat(k.h),"Z"].join(" ");return ie.setAttribute("d",le),ie}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.225*Math.min(k.w,k.h)),Y=Tr("adj2",M,.225*Math.min(k.w,k.h)),re=Tr("adj3",M,.225*Math.min(k.w,k.h)),ie=Y===0?0:G*re/Y/2;return{top:k.h-Y-G/2,bottom:Y-G/2,left:ie,right:ie,w:k.w-2*ie,h:G}}(r);break;case"bentArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.25*Math.min(k.w,k.h)),Y=Tr("adj2",M,.25*Math.min(k.w,k.h)),re=Tr("adj3",M,.25*Math.min(k.w,k.h)),ie=Tr("adj4",M,.4375*Math.min(k.w,k.h)),le=Pr("path");G>2*Y&&(G=2*Y);var pe=ie-G;pe<0&&(pe=0);var ve=["M0,".concat(k.h),"L0,".concat(Y-G/2+ie),"A".concat(ie," ").concat(ie," 0 0 1 ").concat(ie," ").concat(Y-G/2),"L".concat(k.w-re,",").concat(Y-G/2),"L".concat(k.w-re,",0"),"L".concat(k.w,",").concat(Y),"L".concat(k.w-re,",").concat(2*Y),"L".concat(k.w-re,",").concat(Y+G/2),"L".concat(G+pe,",").concat(Y+G/2),"A".concat(pe," ").concat(pe," 0 0 0 ").concat(G," ").concat(Y+G/2+pe),"L".concat(G,",").concat(k.h),"Z"].join(" ");return le.setAttribute("d",ve),le}(r);break;case"uturnArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.25*Math.min(k.w,k.h)),Y=Tr("adj2",M,.25*Math.min(k.w,k.h)),re=Tr("adj3",M,.25*Math.min(k.w,k.h)),ie=Tr("adj4",M,.4375*Math.min(k.w,k.h)),le=Tr("adj5",M,.75*Math.min(k.w,k.h)),pe=Pr("path");G>2*Y&&(G=2*Y),le<re&&(le=re+G),ie>le-re&&(ie=le-re);var ve=ie-G;ve>le-re-G&&(ve=le-re-G),ve<0&&(ve=0);var Ee=Y-G/2,Se=["M0,".concat(k.h),"L0,".concat(ie),"A".concat(ie," ").concat(ie," 0 0 1 ").concat(ie," 0"),"L".concat(k.w-ie-Ee,",0"),"A".concat(ie," ").concat(ie," 0 0 1 ").concat(k.w-Ee," ").concat(ie),"L".concat(k.w-Ee,",").concat(le-re),"L".concat(k.w,",").concat(le-re),"L".concat(k.w-Y,",").concat(le),"L".concat(k.w-2*Y,",").concat(le-re),"L".concat(k.w-Y-G/2,",").concat(le-re),"L".concat(k.w-Y-G/2,",").concat(G+ve),"A".concat(ve," ").concat(ve," 0 0 0 ").concat(k.w-ve-Y-G/2," ").concat(G),"L".concat(G+ve,",").concat(G),"A".concat(ve," ").concat(ve," 0 0 0 ").concat(G," ").concat(G+ve),"L".concat(G,",").concat(k.h),"Z"].join(" ");return pe.setAttribute("d",Se),pe}(r);break;case"leftUpArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.25*Math.min(k.w,k.h)),Y=Tr("adj2",M,.25*Math.min(k.w,k.h)),re=Tr("adj3",M,.25*Math.min(k.w,k.h));G>2*Y&&(G=2*Y);var ie=Math.min(k.w,k.h)-2*Y;re>ie&&(re=ie),re<0&&(re=0);var le=Y-G/2,pe=Pr("path"),ve=["M0,".concat(k.h-Y),"L".concat(re,",").concat(k.h-2*Y),"L".concat(re,",").concat(k.h-Y-G/2),"L".concat(k.w-Y-G/2,",").concat(k.h-Y-G/2),"L".concat(k.w-Y-G/2,",").concat(re),"L".concat(k.w-2*Y,",").concat(re),"L".concat(k.w-Y,",0"),"L".concat(k.w,",").concat(re),"L".concat(k.w-le,",").concat(re),"L".concat(k.w-le,",").concat(k.h-le),"L".concat(re,",").concat(k.h-le),"L".concat(re,",").concat(k.h),"Z"].join(" ");return pe.setAttribute("d",ve),pe}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.25*Math.min(k.w,k.h)),Y=Tr("adj2",M,.25*Math.min(k.w,k.h)),re=Tr("adj3",M,.25*Math.min(k.w,k.h));G>2*Y&&(G=2*Y);var ie=Math.min(k.w,k.h)-2*Y;re>ie&&(re=ie),re<0&&(re=0);var le=Y===0?0:G*re/Y/2;return{top:k.h-Y-G/2,bottom:Y-G/2,left:le,right:Y,w:k.w-le-Y,h:G}}(r);break;case"bentUpArrow":w=function(M){var k=M.extend,G=Tr("adj1",M,.25*Math.min(k.w,k.h)),Y=Tr("adj2",M,.25*Math.min(k.w,k.h)),re=Tr("adj3",M,.25*Math.min(k.w,k.h));G>2*Y&&(G=2*Y);var ie=Math.min(k.w,k.h)-2*Y;re>ie&&(re=ie),re<0&&(re=0);var le=Y-G/2,pe=Pr("path"),ve=["M0,".concat(k.h),"L0,".concat(k.h-G),"L".concat(k.w-Y-G/2,",").concat(k.h-G),"L".concat(k.w-Y-G/2,",").concat(re),"L".concat(k.w-2*Y,",").concat(re),"L".concat(k.w-Y,",0"),"L".concat(k.w,",").concat(re),"L".concat(k.w-le,",").concat(re),"L".concat(k.w-le,",").concat(k.h),"Z"].join(" ");return pe.setAttribute("d",ve),pe}(r),Q=function(M){var k=M.extend,G=Tr("adj1",M,.25*Math.min(k.w,k.h));return{top:k.h-G,bottom:0,left:0,right:0,w:k.w,h:G}}(r);break;case"curvedRightArrow":w=function(M){var k=M.extend,G=M.background,Y=Tr("adj1",M,.25*Math.min(k.w,k.h)),re=Tr("adj2",M,.5*Math.min(k.w,k.h)),ie=Tr("adj3",M,.25*Math.min(k.w,k.h));Y>re&&(Y=re);var le=re/2-Y/2,pe=(k.h-re/2-Y/2)/2,ve=(k.h-le-Y)/2,Ee=Pr("g"),Se=Pr("path"),ke=["M".concat(k.w,",0"),"A ".concat(k.w," ").concat(pe," 0 0 0 ").concat(0," ").concat(pe),"L0,".concat(ve+Y),"A ".concat(k.w," ").concat(ve," 0 0 1 ").concat(k.w," ").concat(Y),"Z"].join(" ");Se.setAttribute("d",ke),(G==null?void 0:G.type)==="solidFill"&&Se.setAttribute("fill",$a(G,{dark:.6})||"transparent");var Le=Pr("path"),be=["M0,".concat(pe),"A ".concat(k.w," ").concat(pe," 0 0 0 ").concat(k.w-ie," ").concat(k.h-re/2-Y/2),"L".concat(k.w-ie,",").concat(k.h-re),"L".concat(k.w,",").concat(k.h-re/2),"L".concat(k.w-ie,",").concat(k.h),"L".concat(k.w-ie,",").concat(k.h-le),"A ".concat(k.w," ").concat(ve," 0 0 1 0 ").concat(Y+ve),"Z"].join(" ");return Le.setAttribute("d",be),Ee.appendChild(Se),Ee.appendChild(Le),Ee}(r);break;case"curvedLeftArrow":w=function(M){var k=M.extend,G=M.background,Y=Tr("adj1",M,.25*Math.min(k.w,k.h)),re=Tr("adj2",M,.5*Math.min(k.w,k.h)),ie=Tr("adj3",M,.25*Math.min(k.w,k.h));Y>re&&(Y=re);var le=re/2-Y/2,pe=(k.h-re/2-Y/2)/2,ve=(k.h-le-Y)/2,Ee=Pr("g"),Se=Pr("path"),ke=["M0,".concat(k.h-re/2),"L".concat(ie,",").concat(k.h-re),"L".concat(ie,",").concat(k.h-re/2-Y/2),"A".concat(k.w," ").concat(pe," 0 0 0 ").concat(k.w," ").concat(pe),"L".concat(k.w,",").concat(ve+Y),"A ".concat(k.w," ").concat(ve," 0 0 1 ").concat(ie," ").concat(k.h-le),"L".concat(ie,",").concat(k.h),"Z"].join(" ");Se.setAttribute("d",ke);var Le=Pr("path"),be=["M0,0","A ".concat(k.w," ").concat(pe," 0 0 1 ").concat(k.w," ").concat(pe),"L".concat(k.w,",").concat(ve+Y),"A ".concat(k.w," ").concat(ve," 0 0 0 ").concat(0," ").concat(Y),"Z"].join(" ");return Le.setAttribute("d",be),(G==null?void 0:G.type)==="solidFill"&&Le.setAttribute("fill",$a(G,{dark:.6})||"transparent"),Ee.appendChild(Se),Ee.appendChild(Le),Ee}(r);break;case"curvedUpArrow":w=function(M){var k=M.extend,G=M.background,Y=Tr("adj1",M,.25*Math.min(k.w,k.h)),re=Tr("adj2",M,.5*Math.min(k.w,k.h)),ie=Tr("adj3",M,.25*Math.min(k.w,k.h));Y>re&&(Y=re);var le=re/2-Y/2,pe=(k.w-re/2-Y/2)/2,ve=(k.w-le-Y)/2,Ee=Pr("g"),Se=Pr("path"),ke=["M".concat(k.w-re/2,",").concat(0),"L".concat(k.w-re,",").concat(ie),"L".concat(k.w-re/2-Y/2,",").concat(ie),"A".concat(pe," ").concat(k.h," 0 0 1 ").concat(pe," ").concat(k.h),"L".concat(pe+Y,",").concat(k.h),"A".concat(ve," ").concat(k.h," 0 0 0 ").concat(k.w-le," ").concat(ie),"L".concat(k.w,",").concat(ie),"Z"].join(" ");Se.setAttribute("d",ke);var Le=Pr("path"),be=["M".concat(Y,",0"),"L".concat(0,",").concat(0),"A ".concat(pe," ").concat(k.h," 0 0 0 ").concat(pe," ").concat(k.h),"L".concat(pe+Y,",").concat(k.h),"A ".concat(ve," ").concat(k.h," 0 0 1 ").concat(Y," ").concat(0),"Z"].join(" ");return Le.setAttribute("d",be),(G==null?void 0:G.type)==="solidFill"&&Le.setAttribute("fill",$a(G,{dark:.6})||"transparent"),Ee.appendChild(Se),Ee.appendChild(Le),Ee}(r);break;case"curvedDownArrow":w=function(M){var k=M.extend,G=M.background,Y=Tr("adj1",M,.25*Math.min(k.w,k.h)),re=Tr("adj2",M,.5*Math.min(k.w,k.h)),ie=Tr("adj3",M,.25*Math.min(k.w,k.h));Y>re&&(Y=re);var le=re/2-Y/2,pe=(k.w-re/2-Y/2)/2,ve=(k.w-le-Y)/2,Ee=Pr("g"),Se=Pr("path"),ke=["M".concat(0,",").concat(k.h),"L".concat(Y,",").concat(k.h),"A".concat(ve," ").concat(k.h," 0 0 1 ").concat(ve+Y," ").concat(0),"L".concat(pe,",").concat(0),"A".concat(pe," ").concat(k.h," 0 0 0 ").concat(0," ").concat(k.h),"Z"].join(" ");Se.setAttribute("d",ke),(G==null?void 0:G.type)==="solidFill"&&Se.setAttribute("fill",$a(G,{dark:.6})||"transparent");var Le=Pr("path"),be=["M".concat(k.w-re/2,",").concat(k.h),"L".concat(k.w-re,",").concat(k.h-ie),"L".concat(k.w-re/2-Y/2,",").concat(k.h-ie),"A ".concat(pe," ").concat(k.h," 0 0 0 ").concat(pe," ").concat(0),"L".concat(pe+Y,",").concat(0),"A ".concat(ve," ").concat(k.h," 0 0 1 ").concat(k.w-le," ").concat(k.h-ie),"L".concat(k.w,",").concat(k.h-ie),"Z"].join(" ");return Le.setAttribute("d",be),Ee.appendChild(Se),Ee.appendChild(Le),Ee}(r);break;case"stripedRightArrow":w=function(M){var k=M.extend,G=Pr("g"),Y=Math.min(k.w,k.h),re=mi("adj1",M,.5)*k.h,ie=mi("adj2",M,.5)*Y,le=Y/8,pe=Y/16,ve=Y/32,Ee=5*Y/32,Se=k.h/2-re/2,ke=k.h/2+re/2,Le=Pr("path");Le.setAttribute("d",["M".concat(0,",").concat(Se),"L".concat(ve,",").concat(Se),"L".concat(ve,",").concat(ke),"L".concat(0,",").concat(ke),"Z"].join(" "));var be=Pr("path");be.setAttribute("d",["M".concat(pe,",").concat(Se),"L".concat(le,",").concat(Se),"L".concat(le,",").concat(ke),"L".concat(pe,",").concat(ke),"Z"].join(" "));var ze=Pr("path"),ut=["M".concat(Ee,",").concat(Se),"L".concat(k.w-ie,",").concat(Se),"L".concat(k.w-ie,",").concat(0),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w-ie,",").concat(k.h),"L".concat(k.w-ie,",").concat(ke),"L".concat(Ee,",").concat(ke),"Z"].join(" ");return ze.setAttribute("d",ut),G.appendChild(ze),G.appendChild(Le),G.appendChild(be),G}(r),Q=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj1",M,.5)*k.h,re=Y*(mi("adj2",M,.5)*G)/k.h;return{top:k.h/2-Y/2,bottom:k.h/2-Y/2,left:0,right:re,w:k.w-re,h:Y}}(r);break;case"notchedRightArrow":w=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj1",M,.5)*k.h,re=mi("adj2",M,.5)*G,ie=Y*re/k.h,le=k.h/2-Y/2,pe=k.h/2+Y/2,ve=Pr("path"),Ee=["M".concat(0,",").concat(le),"L".concat(k.w-re,",").concat(le),"L".concat(k.w-re,",").concat(0),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w-re,",").concat(k.h),"L".concat(k.w-re,",").concat(pe),"L".concat(0,",").concat(pe),"L".concat(ie,",").concat(k.h/2),"Z"].join(" ");return ve.setAttribute("d",Ee),ve}(r),Q=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj1",M,.5)*k.h,re=mi("adj2",M,.5)*G,ie=Y*re/k.h,le=Y*re/k.h;return{top:k.h/2-Y/2,bottom:k.h/2-Y/2,left:ie,right:le,w:k.w-ie-le,h:Y}}(r);break;case"homePlate":w=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj",M,.5)*G,re=Pr("path"),ie=["M".concat(0,",").concat(0),"L".concat(k.w-Y,",").concat(0),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w-Y,",").concat(k.h),"L".concat(0,",").concat(k.h),"Z"].join(" ");return re.setAttribute("d",ie),re}(r),Q=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj",M,.5)*G;return{top:0,bottom:0,left:0,right:Y/2,w:k.w-Y/2,h:k.h}}(r);break;case"chevron":w=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj",M,.5)*G,re=Pr("path"),ie=["M".concat(0,",").concat(0),"L".concat(k.w-Y,",").concat(0),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w-Y,",").concat(k.h),"L".concat(0,",").concat(k.h),"L".concat(Y,",").concat(k.h/2),"Z"].join(" ");return re.setAttribute("d",ie),re}(r),Q=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj",M,.5)*G;return{top:0,bottom:0,left:Y,right:Y,w:k.w-2*Y,h:k.h}}(r);break;case"blockArc":w=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=Pr("path"),re=mi("adj1",M,180),ie=mi("adj2",M,0),le=Tr("adj3",M,.25*G),pe=k.w/2,ve=k.h/2,Ee=k.w/2,Se=k.h/2,ke=k.w/2-le,Le=k.h/2-le,be=Hl(re,pe,ve,Ee,Se),ze=be[0],ut=be[1],ft=Hl(ie,pe,ve,Ee,Se),Qt=ft[0],vt=ft[1],Gt=Hl(re,pe,ve,ke,Le),Ct=Gt[0],St=Gt[1],dr=Hl(ie,pe,ve,ke,Le),ur=dr[0],ir=dr[1],Fn=gQ(re,ie),Ei=["M".concat(ze,",").concat(ut),"A".concat(Ee," ").concat(Se," 0 ").concat(Fn," 1 ").concat(Qt," ").concat(vt),"L".concat(ur,",").concat(ir),"A".concat(ke," ").concat(Le," 0 ").concat(Fn," 0 ").concat(Ct," ").concat(St),"Z"].join(" ");return Y.setAttribute("d",Ei),Y}(r),Q=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj1",M,180),re=mi("adj2",M,0),ie=Tr("adj3",M,.25*G),le=k.w/2,pe=k.h/2,ve=k.w/2,Ee=k.h/2,Se=k.w/2-ie,ke=k.h/2-ie,Le=Hl(Y,le,pe,ve,Ee),be=Le[0],ze=Le[1],ut=Hl(re,le,pe,ve,Ee),ft=ut[0],Qt=ut[1],vt=Hl(Y,le,pe,Se,ke),Gt=vt[0],Ct=vt[1],St=Hl(re,le,pe,Se,ke),dr=[[be,ze],[ft,Qt],[Gt,Ct],[St[0],St[1]]];dr.push(),Y>re&&dr.push([k.w,k.h/2]),(re>180&&re<=360&&Y<180||Y>re&&re>=0&&re<180&&Y<180)&&dr.push([0,k.h/2]),(Y<re&&Y<90&&re>90||Y>re&&re>90||Y>re&&Y<90)&&dr.push([k.w/2,k.h]),(Y<re&&Y<270&&re>270||Y>re&&re>270||Y>re&&Y<270)&&dr.push([k.w/2,0]);var ur=1/0,ir=1/0,Fn=-1/0,Ei=-1/0;return dr.forEach(function(Vr){ur=Math.min(Vr[0],ur),ir=Math.min(Vr[1],ir),Fn=Math.max(Vr[0],Fn),Ei=Math.max(Vr[1],Ei)}),{top:ir,bottom:k.h-Ei,left:ur,right:k.w-Fn,w:Fn-ur,h:Ei-ir}}(r);break;case"foldedCorner":w=function(M){var k=M.extend,G=M.background,Y=Pr("g"),re=Pr("path"),ie=Tr("adj",M,.16667*Math.min(k.w,k.h)),le=["M0,0","L".concat(k.w,",0"),"L".concat(k.w,",").concat(k.h-ie),"L".concat(k.w-ie,",").concat(k.h),"L".concat(0,",").concat(k.h),"Z"].join(" ");re.setAttribute("d",le);var pe=ie*Math.cos(Math.PI/4)/Math.cos(Math.PI/6)*Math.cos(75/180*Math.PI),ve=Pr("path"),Ee=["M".concat(k.w-ie+pe,", ").concat(k.h-ie+pe),"L".concat(k.w,",").concat(k.h-ie),"L".concat(k.w-ie,",").concat(k.h),"Z"].join(" ");return ve.setAttribute("d",Ee),(G==null?void 0:G.type)==="solidFill"&&ve.setAttribute("fill",$a(G,{dark:.6})||"transparent"),Y.appendChild(re),Y.appendChild(ve),Y}(r),Q=function(M){var k=M.extend,G=Tr("adj",M,.16667*Math.min(k.w,k.h));return{top:0,bottom:G,left:0,right:0,w:k.w,h:k.h-G}}(r);break;case"rightArrowCallout":w=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj1",M,.25)*G,re=mi("adj2",M,.25)*G,ie=mi("adj3",M,.25)*G,le=mi("adj4",M,.64977)*k.w,pe=Pr("path"),ve=["M".concat(0,",").concat(0),"L".concat(le,",").concat(0),"L".concat(le,",").concat(k.h/2-Y/2),"L".concat(k.w-ie,",").concat(k.h/2-Y/2),"L".concat(k.w-ie,",").concat(k.h/2-re),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w-ie,",").concat(k.h/2+re),"L".concat(k.w-ie,",").concat(k.h/2+Y/2),"L".concat(le,",").concat(k.h/2+Y/2),"L".concat(le,",").concat(k.h),"L".concat(0,",").concat(k.h),"Z"].join(" ");return pe.setAttribute("d",ve),pe}(r),Q=function(M){var k=M.extend,G=mi("adj4",M,.64977)*k.w;return{top:0,bottom:0,left:0,right:k.w-G,w:G,h:k.h}}(r);break;case"leftArrowCallout":w=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj1",M,.25)*G,re=mi("adj2",M,.25)*G,ie=mi("adj3",M,.25)*G,le=mi("adj4",M,.64977)*k.w,pe=Pr("path"),ve=["M".concat(0,",").concat(k.h/2),"L".concat(ie,",").concat(k.h/2-re),"L".concat(ie,",").concat(k.h/2-Y/2),"L".concat(k.w-le,",").concat(k.h/2-Y/2),"L".concat(k.w-le,",").concat(0),"L".concat(k.w,",").concat(0),"L".concat(k.w,",").concat(k.h),"L".concat(k.w-le,",").concat(k.h),"L".concat(k.w-le,",").concat(k.h/2+Y/2),"L".concat(ie,",").concat(k.h/2+Y/2),"L".concat(ie,",").concat(k.h/2+re),"Z"].join(" ");return pe.setAttribute("d",ve),pe}(r),Q=function(M){var k=M.extend,G=mi("adj4",M,.64977)*k.w;return{top:0,bottom:0,left:k.w-G,right:0,w:G,h:k.h}}(r);break;case"upArrowCallout":w=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj1",M,.25)*G,re=mi("adj2",M,.25)*G,ie=mi("adj3",M,.25)*G,le=mi("adj4",M,.64977)*k.h,pe=Pr("path"),ve=["M".concat(0,",").concat(k.h-le),"L".concat(k.w/2-Y/2,",").concat(k.h-le),"L".concat(k.w/2-Y/2,",").concat(ie),"L".concat(k.w/2-re,",").concat(ie),"L".concat(k.w/2,",").concat(0),"L".concat(k.w/2+re,",").concat(ie),"L".concat(k.w/2+Y/2,",").concat(ie),"L".concat(k.w/2+Y/2,",").concat(k.h-le),"L".concat(k.w,",").concat(k.h-le),"L".concat(k.w,",").concat(k.h),"L".concat(0,",").concat(k.h),"Z"].join(" ");return pe.setAttribute("d",ve),pe}(r),Q=function(M){var k=M.extend,G=mi("adj4",M,.64977)*k.h;return{top:k.h-G,bottom:0,left:0,right:0,w:k.w,h:G}}(r);break;case"downArrowCallout":w=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj1",M,.25)*G,re=mi("adj2",M,.25)*G,ie=mi("adj3",M,.25)*G,le=mi("adj4",M,.64977)*k.h,pe=Pr("path"),ve=["M".concat(0,",").concat(0),"L".concat(k.w,",").concat(0),"L".concat(k.w,",").concat(le),"L".concat(k.w/2+Y/2,",").concat(le),"L".concat(k.w/2+Y/2,",").concat(k.h-ie),"L".concat(k.w/2+re,",").concat(k.h-ie),"L".concat(k.w/2,",").concat(k.h),"L".concat(k.w/2-re,",").concat(k.h-ie),"L".concat(k.w/2-Y/2,",").concat(k.h-ie),"L".concat(k.w/2-Y/2,",").concat(le),"L".concat(0,",").concat(le),"Z"].join(" ");return pe.setAttribute("d",ve),pe}(r),Q=function(M){var k=M.extend,G=mi("adj4",M,.64977)*k.h;return{top:0,bottom:k.h-G,left:0,right:0,w:k.w,h:G}}(r);break;case"leftRightArrowCallout":w=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj1",M,.25)*G,re=mi("adj2",M,.25)*G,ie=mi("adj3",M,.25)*G,le=mi("adj4",M,.48123)*k.w,pe=Pr("path"),ve=["M".concat(0,",").concat(k.h/2),"L".concat(ie,",").concat(k.h/2-re),"L".concat(ie,",").concat(k.h/2-Y/2),"L".concat(k.w/2-le/2,",").concat(k.h/2-Y/2),"L".concat(k.w/2-le/2,",").concat(0),"L".concat(k.w/2+le/2,",").concat(0),"L".concat(k.w/2+le/2,",").concat(k.h/2-Y/2),"L".concat(k.w-ie,",").concat(k.h/2-Y/2),"L".concat(k.w-ie,",").concat(k.h/2-re),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w-ie,",").concat(k.h/2+re),"L".concat(k.w-ie,",").concat(k.h/2+Y/2),"L".concat(k.w/2+le/2,",").concat(k.h/2+Y/2),"L".concat(k.w/2+le/2,",").concat(k.h),"L".concat(k.w/2-le/2,",").concat(k.h),"L".concat(k.w/2-le/2,",").concat(k.h/2+Y/2),"L".concat(ie,",").concat(k.h/2+Y/2),"L".concat(ie,",").concat(k.h/2+re),"Z"].join(" ");return pe.setAttribute("d",ve),pe}(r),Q=function(M){var k=M.extend,G=mi("adj4",M,.48123)*k.w;return{top:0,bottom:0,left:k.w/2-G/2,right:k.w/2-G/2,w:G,h:k.h}}(r);break;case"quadArrowCallout":w=function(M){var k=M.extend,G=Math.min(k.w,k.h),Y=mi("adj1",M,.18515)*G,re=mi("adj2",M,.18515)*G,ie=mi("adj3",M,.18515)*G,le=mi("adj4",M,.48123)*k.w,pe=mi("adj4",M,.48123)*k.h,ve=Pr("path"),Ee=["M".concat(0,",").concat(k.h/2),"L".concat(ie,",").concat(k.h/2-re),"L".concat(ie,",").concat(k.h/2-Y/2),"L".concat(k.w/2-le/2,",").concat(k.h/2-Y/2),"L".concat(k.w/2-le/2,",").concat(k.h/2-pe/2),"L".concat(k.w/2-Y/2,",").concat(k.h/2-pe/2),"L".concat(k.w/2-Y/2,",").concat(ie),"L".concat(k.w/2-re,",").concat(ie),"L".concat(k.w/2,",").concat(0),"L".concat(k.w/2+re,",").concat(ie),"L".concat(k.w/2+Y/2,",").concat(ie),"L".concat(k.w/2+Y/2,",").concat(k.h/2-pe/2),"L".concat(k.w/2+le/2,",").concat(k.h/2-pe/2),"L".concat(k.w/2+le/2,",").concat(k.h/2-Y/2),"L".concat(k.w-ie,",").concat(k.h/2-Y/2),"L".concat(k.w-ie,",").concat(k.h/2-re),"L".concat(k.w,",").concat(k.h/2),"L".concat(k.w-ie,",").concat(k.h/2+re),"L".concat(k.w-ie,",").concat(k.h/2+Y/2),"L".concat(k.w/2+le/2,",").concat(k.h/2+Y/2),"L".concat(k.w/2+le/2,",").concat(k.h/2+pe/2),"L".concat(k.w/2+Y/2,",").concat(k.h/2+pe/2),"L".concat(k.w/2+Y/2,",").concat(k.h-ie),"L".concat(k.w/2+re,",").concat(k.h-ie),"L".concat(k.w/2,",").concat(k.h),"L".concat(k.w/2-re,",").concat(k.h-ie),"L".concat(k.w/2-Y/2,",").concat(k.h-ie),"L".concat(k.w/2-Y/2,",").concat(k.h/2+pe/2),"L".concat(k.w/2-le/2,",").concat(k.h/2+pe/2),"L".concat(k.w/2-le/2,",").concat(k.h/2+Y/2),"L".concat(ie,",").concat(k.h/2+Y/2),"L".concat(ie,",").concat(k.h/2+re),"Z"].join(" ");return ve.setAttribute("d",Ee),ve}(r),Q=function(M){var k=M.extend,G=mi("adj4",M,.48123)*k.w,Y=mi("adj4",M,.48123)*k.h;return{top:k.h/2-Y/2,bottom:k.h/2-Y/2,left:k.w/2-G/2,right:k.w/2-G/2,w:G,h:Y}}(r)}w&&(R?(i==null?void 0:i.type)==="blipFill"?function(M,k,G){var Y=M.background,re=Y===void 0?{}:Y,ie=M.extend,le=re.base64,pe=re.alpha,ve=re.fillRect,Ee=ve===void 0?{}:ve,Se=Ee.b,ke=Se===void 0?0:Se,Le=Ee.t,be=Le===void 0?0:Le,ze=Ee.l,ut=ze===void 0?0:ze,ft=Ee.r,Qt=ft===void 0?0:ft,vt=Pr("defs"),Gt=Pr("pattern");Gt.setAttribute("id","background_"+M.uuid),Gt.setAttribute("patternUnits","userSpaceOnUse"),Gt.setAttribute("width",ie.w+""),Gt.setAttribute("height",ie.h+"");var Ct=Pr("image");Ct.setAttribute("href",le),Ct.setAttribute("preserveAspectRatio","none");var St=ie.w*ut,dr=ie.h*be,ur=ie.w*(1-ut-Qt),ir=ie.h*(1-be-ke);Ct.setAttribute("width",ur+""),Ct.setAttribute("height",ir+""),Ct.setAttribute("x",St+""),Ct.setAttribute("y",dr+""),typeof pe=="number"&&Ct.setAttribute("opacity",pe+""),Gt.appendChild(Ct),vt.appendChild(Gt),k.appendChild(vt),G.setAttribute("fill","url(#background_".concat(M.uuid,")"))}(r,x,w):(i==null?void 0:i.type)==="gradFill"?function(M,k,G){var Y=M.background,re=Y===void 0?{}:Y;M.extend;var ie=re.gsList,le=re.lin,pe=re.path,ve=re.tileRect,Ee=ve===void 0?{}:ve,Se=Pr("defs"),ke=Pr(pe==="circle"?"radialGradient":"linearGradient");ke.setAttribute("id","background_grad_fill_"+M.uuid);var Le=ie||[];if(Le.sort(function(Qt,vt){return Qt.pos-vt.pos}),Le.forEach(function(Qt){var vt=Pr("stop");vt.setAttribute("offset","".concat(100*Qt.pos,"%")),vt.setAttribute("stop-color",$a(Qt.color)),ke.appendChild(vt)}),pe==="circle"){var be=Ee.r,ze=Ee.l,ut=Ee.t,ft=Ee.b;be===-1?ke.setAttribute("cx","100%"):ze===-1&&ke.setAttribute("cx","0%"),ut===-1?ke.setAttribute("cy","0%"):ft===-1&&ke.setAttribute("cy","100%")}else le!=null&&le.ang&&ke.setAttribute("gradientTransform","rotate(".concat(le.ang,")"));Se.appendChild(ke),k.appendChild(Se),G.setAttribute("fill","url(#background_grad_fill_".concat(M.uuid,")"))}(r,x,w):w.setAttribute("fill",$a(i)||"transparent"):w.setAttribute("fill","transparent"),n.width?(w.setAttribute("stroke-width",n.width+"px"),w.setAttribute("stroke",$a(n.color)||"transparent")):w.setAttribute("stroke-width","0"),w.setAttribute("stroke-dasharray",function(M){return M&&M.type!=="solid"?({sysDot:[1,1],sysDash:[3,1],dash:[4,3],dashDot:[4,3,1,3],lgDash:[8,3],lgDashDot:[8,3,1,3],lgDashDotDot:[8,3,1,3,1,3]}[M.type]||[]).map(function(k){return k*M.width}).join(","):""}(n)),w.setAttribute("stroke-linecap",n.cap&&{sq:"square",rnd:"round",flat:"butt"}[n.cap]||"square"),w.setAttribute("stroke-linejoin",n.lineJoin||"round"),n.lineJoin==="miter"&&w.setAttribute("stroke-miterlimit",n.miterLim+""),x.appendChild(w));var L=[];s&&L.push("scaleX(-1)"),l&&L.push("scaleY(-1)"),x.style.setProperty("transform",L.join(" ")),f.appendChild(x);var P=function(M,k,G){var Y;G===void 0&&(G=!1);var re=M.inheritProps,ie=M.props,le=M.paragraphs;if(!le||le.length===0)return null;var pe=Wr(Wr({},re),ie),ve=document.createElement("div");switch(ve.className="text-wrapper",ve.style.boxSizing="border-box",ve.style.position="absolute",ve.style.left=k.left+"px",pe.vert==="eaVert"?(ve.style.writingMode="vertical-rl",ve.style.height=k.h+"px"):ve.style.width=k.w+"px",pe.anchor){case"b":ve.style.bottom=k.bottom+"px";break;case"t":ve.style.top=k.top+"px";break;case"ctr":ve.style.top=k.top+k.h/2+"px",ve.style.transform="translateY(-50%)";break;default:G?ve.style.top=k.top+"px":(ve.style.top=k.top+k.h/2+"px",ve.style.transform="translateY(-50%)")}var Ee=[pe.hasOwnProperty("tIns")?Math.floor(pe.tIns)+"px":"3px",pe.hasOwnProperty("rIns")?Math.floor(pe.rIns)+"px":"5px",pe.hasOwnProperty("bIns")?Math.floor(pe.bIns)+"px":"3px",pe.hasOwnProperty("lIns")?Math.floor(pe.lIns)+"px":"5px"];ve.style.padding=Ee.join(" ");for(var Se={},ke=0,Le=function(ut){var ft=Wr(Wr({},ut.inheritProps),ut.props),Qt=void 0;if(ft.buAutoNum){var vt=ft.level?+ft.level:0;Se[vt]||(Se[vt]=0),!((Y=ut.rows)===null||Y===void 0)&&Y.length&&Se[vt]++,Object.keys(Se).forEach(function(Gt){+Gt>vt&&(Se[Gt]=0)}),Qt=V9(ut,Se[vt],{isFirst:ke===0,isLast:le.length-1===ke,bodyProps:pe})}else Qt=V9(ut,0,{isFirst:ke===0,isLast:le.length-1===ke,bodyProps:pe});ve.appendChild(Qt),ke++},be=0,ze=le;be<ze.length;be++)Le(ze[be]);return ve}(r.textBody,Q,r.isTextBox);return P&&f.appendChild(P),o&&f.style.setProperty("transform","rotate(".concat(o,"deg)")),f}function iO(r){var t=document.createElement("div"),e=r.extend;r.chExtend;var n=r.offset;r.chOffset;var i=r.flipV,o=r.flipH,s=r.rotate,l=n.x,f=n.y,v=e.w,C=e.h;t.className="group",t.style.position="absolute",t.style.left=l+"px",t.style.top=f+"px",t.style.width=v+"px",t.style.height=C+"px";var w=[];o&&w.push("scaleX(-1)"),i&&w.push("scaleY(-1)"),s&&w.push("rotate(".concat(s,"deg)")),t.style.transformOrigin="center center",t.style.transform=w.join(" ");for(var x=0;x<r.nodes.length;x++){var Q=r.nodes[x],R=void 0;Q instanceof K9?R=w_(Q):Q instanceof fQ?R=E_(Q):Q instanceof C_&&(R=iO(Q)),t.appendChild(R)}return t}var vv={};function aO(r,t){if(vv[r])for(var e=0;e<vv[r].length;e++)vv[r][e](t)}function oO(r,t){vv[r]&&(vv[r]=vv[r].filter(function(e){return e!==t}))}function n$(r){var t=document.createElement("div"),e=r.extend,n=r.offset,i=r.flipV,o=r.flipH,s=r.rotate,l=r.options,f=n.x,v=n.y,C=e.w,w=e.h;t.className="chart-node",t.style.position="absolute",t.style.left=f+"px",t.style.top=v+"px",t.style.width=C+"px",t.style.height=w+"px";var x=[];return o&&x.push("scaleX(-1)"),i&&x.push("scaleY(-1)"),s&&x.push("rotate(".concat(s,"deg)")),t.style.transformOrigin="center center",t.style.transform=x.join(" "),setTimeout(function(){var Q,R,L=Lo(t,null,{renderer:"svg"});L.setOption(l),R=function(){L&&L.dispose(),L&&(L=null)},vv[Q="destroy"]||(vv[Q]=[]),vv[Q].push(R)},0),t}var i$=function(){function r(t,e,n){this.scale=1,this.wrapper=t,this.pptx=e,this.options=n,this._calcScaleAndRenderPort()}return r.prototype._calcScaleAndRenderPort=function(){var t=this.options.viewPort.width/this.pptx.width;this.scale=t;var e=this.options.viewPort.width,n=this.pptx.height*this.scale;this.renderPort={width:e,height:n,left:0,top:0}},r.prototype.renderSlide=function(t){var e=this.pptx.slides[t],n=document.createElement("div");n.classList.add("pptx-preview-slide-wrapper"),n.style.setProperty("width",this.renderPort.width+"px"),n.style.setProperty("height",this.renderPort.height+"px"),n.style.setProperty("position","relative"),n.style.margin="0 auto 10px",n.style.setProperty("background","#fff"),n.style.setProperty("overflow","hidden"),this._renderBackground(e,n),this._renderSlideMaster(e.slideMaster,n),this._renderSlideLayout(e.slideLayout,n),this._renderSlide(e,n),this.wrapper.append(n)},r.prototype._renderSlideMaster=function(t,e){var n=document.createElement("div");n.classList.add("slide-master-wrapper"),n.style.setProperty("position","absolute"),n.style.setProperty("left","0"),n.style.setProperty("top","0"),n.style.setProperty("width",this.pptx.width+"px"),n.style.setProperty("height",this.pptx.height+"px"),n.style.setProperty("transform","scale(".concat(this.scale,")")),n.style.setProperty("transform-origin","0 0");var i=Wn([],t.nodes).filter(function(l){return l.userDrawn});i.sort(function(l,f){return l.order>f.order?1:-1});for(var o=0;o<i.length;o++){var s=this._renderNode(i[o]);s&&n.append(s)}e.append(n)},r.prototype._renderSlideLayout=function(t,e){var n=document.createElement("div");n.classList.add("slide-layout-wrapper"),n.style.setProperty("position","absolute"),n.style.setProperty("left","0"),n.style.setProperty("top","0"),n.style.setProperty("width",this.pptx.width+"px"),n.style.setProperty("height",this.pptx.height+"px"),n.style.setProperty("transform","scale(".concat(this.scale,")")),n.style.setProperty("transform-origin","0 0");var i=Wn([],t.nodes).filter(function(l){return l.userDrawn});i.sort(function(l,f){return l.order>f.order?1:-1});for(var o=0;o<i.length;o++){var s=this._renderNode(i[o]);s&&n.append(s)}e.append(n)},r.prototype._renderSlide=function(t,e){var n=document.createElement("div");n.classList.add("slide-wrapper"),n.style.setProperty("position","absolute"),n.style.setProperty("left","0"),n.style.setProperty("top","0"),n.style.setProperty("width",this.pptx.width+"px"),n.style.setProperty("height",this.pptx.height+"px"),n.style.setProperty("transform","scale(".concat(this.scale,")")),n.style.setProperty("transform-origin","0 0");var i=Wn([],t.nodes);i.sort(function(l,f){return l.order>f.order?1:-1});for(var o=0;o<i.length;o++){var s=this._renderNode(i[o]);s&&n.append(s)}e.append(n)},r.prototype._renderNode=function(t){return t instanceof K9?w_(t):t instanceof fQ?E_(t):t instanceof C_?iO(t):t instanceof WN?function(e){var n=document.createElement("div"),i=e.extend,o=e.offset,s=e.flipV,l=e.flipH,f=e.rotate,v=o.x,C=o.y,w=i.w,x=i.h;n.className="smart-chart-diagram",n.style.position="absolute",n.style.left=v+"px",n.style.top=C+"px",n.style.width=w+"px",n.style.height=x+"px";var Q=[];l&&Q.push("scaleX(-1)"),s&&Q.push("scaleY(-1)"),f&&Q.push("rotate(".concat(f,"deg)")),n.style.transformOrigin="center center",n.style.transform=Q.join(" ");for(var R=0;R<e.nodes.length;R++){var L=e.nodes[R],P=void 0;L instanceof K9?P=w_(L):L instanceof fQ&&(P=E_(L)),n.appendChild(P)}return n}(t):t instanceof JN?function(e){var n=e.extend,i=e.offset,o=e.tr,s=e.tableGrid.gridCol,l=document.createElement("div");l.style.position="absolute",l.style.left=i.x+"px",l.style.top=i.y+"px",l.style.width=n.w+"px",l.style.height=n.h+"px";var f=document.createElement("table");return f.style.borderCollapse="collapse",o.forEach(function(v){var C=v.props,w=v.td,x=C.height,Q=document.createElement("tr");Q.style.height=x+"px",w.forEach(function(R,L){var P,M,k=R.props,G=R.inheritTcStyle,Y=R.inheritTcTxStyle,re=R.paragraphs;if(!k.vMerge&&!k.hMerge){var ie=document.createElement("td");ie.style.width=(((P=s[L])===null||P===void 0?void 0:P.width)||30)+"px",k.rowSpan&&ie.setAttribute("rowspan",k.rowSpan+""),k.gridSpan&&ie.setAttribute("colspan",k.gridSpan+"");var le=k.background||G.background;le&&(ie.style.background=$a(le));var pe=Wr(Wr({},G.border),k.border),ve=function(vt){return vt?vt.toLowerCase().includes("dash")?"dashed":vt.toLowerCase().includes("dot")?"dotted":"solid":"solid"};pe.bottom&&(ie.style.borderBottom="".concat(pe.bottom.width,"px ").concat(ve(pe.bottom.type)," ").concat($a(pe.bottom.color))),pe.top&&(ie.style.borderTop="".concat(pe.top.width,"px ").concat(ve(pe.top.type)," ").concat($a(pe.top.color))),pe.left&&(ie.style.borderLeft="".concat(pe.left.width,"px ").concat(ve(pe.left.type)," ").concat($a(pe.left.color))),pe.right&&(ie.style.borderRight="".concat(pe.right.width,"px ").concat(ve(pe.right.type)," ").concat($a(pe.right.color)));var Ee=document.createElement("div");switch(Ee.className="text-wrapper",Ee.style.boxSizing="border-box",Ee.style.width="100%",Ee.style.height="100%",Ee.style.overflow="hidden",Ee.style.display="flex",Ee.style.flexDirection="column",k.anchor){case"b":Ee.style.justifyContent="flex-end";break;case"t":Ee.style.justifyContent="flex-start";break;case"ctr":Ee.style.justifyContent="center"}var Se=[k.hasOwnProperty("marT")?Math.floor(k.marT)+"px":"3px",k.hasOwnProperty("marR")?Math.floor(k.marR-1)+"px":"5px",k.hasOwnProperty("marB")?Math.floor(k.marB)+"px":"3px",k.hasOwnProperty("marL")?Math.floor(k.marL-1)+"px":"5px"];Ee.style.padding=Se.join(" ");for(var ke=Wr({},k),Le={},be=re.map(function(vt){return Wr(Wr({},vt),{props:Wr({align:"l"},vt.props),inheritRProps:Wr(Wr({},vt.inheritRProps),Y)})}),ze=0,ut=function(vt){var Gt=Wr(Wr({},vt.inheritProps),vt.props),Ct=void 0;if(Gt.buAutoNum){var St=Gt.level?+Gt.level:0;Le[St]||(Le[St]=0),!((M=vt.rows)===null||M===void 0)&&M.length&&Le[St]++,Object.keys(Le).forEach(function(dr){+dr>St&&(Le[dr]=0)}),Ct=V9(vt,Le[St],{isFirst:ze===0,isLast:re.length-1===ze,bodyProps:ke})}else Ct=V9(vt,0,{isFirst:ze===0,isLast:re.length-1===ze,bodyProps:ke});Ee.appendChild(Ct),ze++},ft=0,Qt=be;ft<Qt.length;ft++)ut(Qt[ft]);ie.append(Ee),Q.append(ie)}}),f.append(Q)}),l.append(f),l}(t):t instanceof qN?n$(t):void 0},r.prototype._renderBackground=function(t,e){var n,i=document.createElement("div");i.classList.add("slide-background"),i.style.setProperty("position","absolute"),i.style.setProperty("left","0"),i.style.setProperty("top","0"),i.style.setProperty("width","100%"),i.style.setProperty("height","100%");var o=t.background;if(o.type==="none"&&(o=t.slideLayout.background),o.type==="none"&&(o=t.slideMaster.background),o.type==="blipFill"){var s=o,l=s.base64,f=s.alpha,v=s.fillRect,C=v===void 0?{}:v,w=C.b,x=w===void 0?0:w,Q=C.t,R=Q===void 0?0:Q,L=C.l,P=L===void 0?0:L,M=C.r,k=M===void 0?0:M,G=this.renderPort.width*P,Y=this.renderPort.height*R,re=this.renderPort.width*(1-P-k),ie=this.renderPort.height*(1-R-x);i.style.backgroundImage="url(".concat(l,")"),i.style.backgroundSize="".concat(re," ").concat(ie),i.style.backgroundPosition="".concat(G,"px ").concat(Y,"px"),f&&(i.style.opacity=f+""),i.style.backgroundRepeat="no-repeat"}else if(o.type==="solidFill"){var le=$a(t.background)||$a(t.slideLayout.background)||$a(t.slideMaster.background);le?i.style.setProperty("background",le):i.style.setProperty("background","#fff")}else if(o.type==="gradFill")if(o.path==="circle"){var pe=o.tileRect||{},ve=(x=pe.b,R=pe.t,P=pe.l,"radial-gradient(circle at ");(k=pe.r)===-1?ve+=" right":P===-1&&(ve+=" left"),R===-1?ve+=" top":x===-1&&(ve+=" bottom"),x||R||P||k||(ve+=" center"),ve+=",",ve+=o.gsList.map(function(Se){return"".concat($a(Se.color)," ").concat(100*Se.pos+"%")}).join(","),i.style.setProperty("background",ve)}else{var Ee=((n=o==null?void 0:o.lin)===null||n===void 0?void 0:n.ang)||0;ve="linear-gradient(".concat(Ee+90,"deg,"),ve+=o.gsList.map(function(Se){return"".concat($a(Se.color)," ").concat(100*Se.pos+"%")}).join(","),i.style.setProperty("background",ve)}e.append(i)},r}(),a$=function(){function r(t,e){this.dom=t,this.options=e,this._renderWrapper()}return r.prototype._renderWrapper=function(){var t=document.createElement("div");t.classList.add("pptx-preview-wrapper"),t.style.setProperty("background","#000"),t.style.setProperty("width",this.options.width+"px"),this.options.height&&t.style.setProperty("height",this.options.height+"px"),t.style.setProperty("position","relative"),t.style.setProperty("margin","0 auto"),this.options.height&&t.style.setProperty("overflow-y","auto"),this.dom.append(t),this.wrapper=t},r.prototype.preview=function(t){var e=this;return aO("destroy"),oO("destroy"),new Promise(function(n,i){e.wrapper.innerHTML="";var o=new e$;o.load(t).then(function(){try{for(var s=new i$(e.wrapper,o,{viewPort:{width:e.options.width,height:e.options.height}}),l=0;l<o.slides.length;l++)s.renderSlide(l);n(o)}catch(f){i(f)}}).catch(function(s){i(s)})})},r.prototype.destroy=function(){aO("destroy"),oO("destroy")},r}();function o$(r,t){return new a$(r,t)}const s$=(r,t)=>{const e=r.__vccOpts||r;for(const[n,i]of t)e[n]=i;return e},u$=ua.defineComponent({name:"VueOfficePptx",props:{src:[String,ArrayBuffer,Blob],requestOptions:{type:Object,default:()=>({})},options:{type:Object,default:()=>({})}},emits:["rendered","error"],setup(r,{emit:t}){let e=null;const n=ua.ref(null);function i(){let l=n.value,f=r.options.width||l.getBoundingClientRect().width||960,v=r.options.height||l.getBoundingClientRect().height||540;e=o$(l,{width:f,height:v})}function o(l){if(typeof l=="string")return fetch(l,r.requestOptions).then(f=>f.arrayBuffer());if(l instanceof ArrayBuffer)return Promise.resolve(l)}function s(){r.src&&o(r.src).then(l=>{e.preview(l).then(f=>{t("rendered",f)}).catch(f=>{t("error",f)})}).catch(l=>{t("error",l)})}return ua.onMounted(()=>{i(),s()}),ua.watch(()=>r.src,()=>{s()}),{rootRef:n}}}),c$={class:"vue-office-pptx"},l$={class:"vue-office-pptx-main",ref:"rootRef",style:{width:"100%",height:"100%"}};function h$(r,t,e,n,i,o){return vi.openBlock(),vi.createElementBlock("div",c$,[vi.createElementVNode("div",l$,null,512)])}const Z9=s$(u$,[["render",h$]]);return Z9.install=function(r){r.component(Z9.name,Z9)},Z9})}(Hx)),Hx.exports}var use=sse();const cse=Jx(use);var Yx={exports:{}};/* @license
  282. Papa Parse
  283. v5.5.3
  284. https://github.com/mholt/PapaParse
  285. License: MIT
  286. */var lse=Yx.exports,UG;function hse(){return UG||(UG=1,function(mo,Fg){((ua,vi)=>{mo.exports=vi()})(lse,function ua(){var vi=typeof self<"u"?self:typeof window<"u"?window:vi!==void 0?vi:{},Bo,Gs=!vi.document&&!!vi.postMessage,Wr=vi.IS_PAPA_WORKER||!1,Ua={},Va=0,Wn={};function ao(Kt){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(er){var xr=vl(er);xr.chunkSize=parseInt(xr.chunkSize),er.step||er.chunk||(xr.chunkSize=null),this._handle=new jc(xr),(this._handle.streamer=this)._config=xr}).call(this,Kt),this.parseChunk=function(er,xr){var Hn=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<Hn){let da=this._config.newline;da||(kt=this._config.quoteChar||'"',da=this._handle.guessLineEndings(er,kt)),er=[...er.split(da).slice(Hn)].join(da)}this.isFirstChunk&&Da(this._config.beforeFirstChunk)&&(kt=this._config.beforeFirstChunk(er))!==void 0&&(er=kt),this.isFirstChunk=!1,this._halted=!1;var Hn=this._partialLine+er,kt=(this._partialLine="",this._handle.parse(Hn,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(er=kt.meta.cursor,Hn=(this._finished||(this._partialLine=Hn.substring(er-this._baseIndex),this._baseIndex=er),kt&&kt.data&&(this._rowCount+=kt.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),Wr)vi.postMessage({results:kt,workerId:Wn.WORKER_ID,finished:Hn});else if(Da(this._config.chunk)&&!xr){if(this._config.chunk(kt,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=kt=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(kt.data),this._completeResults.errors=this._completeResults.errors.concat(kt.errors),this._completeResults.meta=kt.meta),this._completed||!Hn||!Da(this._config.complete)||kt&&kt.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),Hn||kt&&kt.meta.paused||this._nextChunk(),kt}this._halted=!0},this._sendError=function(er){Da(this._config.error)?this._config.error(er):Wr&&this._config.error&&vi.postMessage({workerId:Wn.WORKER_ID,error:er,finished:!1})}}function En(Kt){var er;(Kt=Kt||{}).chunkSize||(Kt.chunkSize=Wn.RemoteChunkSize),ao.call(this,Kt),this._nextChunk=Gs?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(xr){this._input=xr,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(er=new XMLHttpRequest,this._config.withCredentials&&(er.withCredentials=this._config.withCredentials),Gs||(er.onload=Eh(this._chunkLoaded,this),er.onerror=Eh(this._chunkError,this)),er.open(this._config.downloadRequestBody?"POST":"GET",this._input,!Gs),this._config.downloadRequestHeaders){var xr,Hn=this._config.downloadRequestHeaders;for(xr in Hn)er.setRequestHeader(xr,Hn[xr])}var kt;this._config.chunkSize&&(kt=this._start+this._config.chunkSize-1,er.setRequestHeader("Range","bytes="+this._start+"-"+kt));try{er.send(this._config.downloadRequestBody)}catch(da){this._chunkError(da.message)}Gs&&er.status===0&&this._chunkError()}},this._chunkLoaded=function(){er.readyState===4&&(er.status<200||400<=er.status?this._chunkError():(this._start+=this._config.chunkSize||er.responseText.length,this._finished=!this._config.chunkSize||this._start>=(xr=>(xr=xr.getResponseHeader("Content-Range"))!==null?parseInt(xr.substring(xr.lastIndexOf("/")+1)):-1)(er),this.parseChunk(er.responseText)))},this._chunkError=function(xr){xr=er.statusText||xr,this._sendError(new Error(xr))}}function Et(Kt){(Kt=Kt||{}).chunkSize||(Kt.chunkSize=Wn.LocalChunkSize),ao.call(this,Kt);var er,xr,Hn=typeof FileReader<"u";this.stream=function(kt){this._input=kt,xr=kt.slice||kt.webkitSlice||kt.mozSlice,Hn?((er=new FileReader).onload=Eh(this._chunkLoaded,this),er.onerror=Eh(this._chunkError,this)):er=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var kt=this._input,da=(this._config.chunkSize&&(da=Math.min(this._start+this._config.chunkSize,this._input.size),kt=xr.call(kt,this._start,da)),er.readAsText(kt,this._config.encoding));Hn||this._chunkLoaded({target:{result:da}})},this._chunkLoaded=function(kt){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(kt.target.result)},this._chunkError=function(){this._sendError(er.error)}}function Zo(Kt){var er;ao.call(this,Kt=Kt||{}),this.stream=function(xr){return er=xr,this._nextChunk()},this._nextChunk=function(){var xr,Hn;if(!this._finished)return xr=this._config.chunkSize,er=xr?(Hn=er.substring(0,xr),er.substring(xr)):(Hn=er,""),this._finished=!er,this.parseChunk(Hn)}}function xt(Kt){ao.call(this,Kt=Kt||{});var er=[],xr=!0,Hn=!1;this.pause=function(){ao.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){ao.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(kt){this._input=kt,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){Hn&&er.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),er.length?this.parseChunk(er.shift()):xr=!0},this._streamData=Eh(function(kt){try{er.push(typeof kt=="string"?kt:kt.toString(this._config.encoding)),xr&&(xr=!1,this._checkIsFinished(),this.parseChunk(er.shift()))}catch(da){this._streamError(da)}},this),this._streamError=Eh(function(kt){this._streamCleanUp(),this._sendError(kt)},this),this._streamEnd=Eh(function(){this._streamCleanUp(),Hn=!0,this._streamData("")},this),this._streamCleanUp=Eh(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function jc(Kt){var er,xr,Hn,kt,da=Math.pow(2,53),cs=-da,Yn=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,Xu=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,ca=this,_o=0,hi=0,ws=!1,Ri=!1,Bi=[],si={data:[],errors:[],meta:{}};function ls(Ji){return Kt.skipEmptyLines==="greedy"?Ji.join("").trim()==="":Ji.length===1&&Ji[0].length===0}function oo(){if(si&&Hn&&(bu("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+Wn.DefaultDelimiter+"'"),Hn=!1),Kt.skipEmptyLines&&(si.data=si.data.filter(function(In){return!ls(In)})),hs()){let In=function(Io,Xo){Da(Kt.transformHeader)&&(Io=Kt.transformHeader(Io,Xo)),Bi.push(Io)};if(si)if(Array.isArray(si.data[0])){for(var Ji=0;hs()&&Ji<si.data.length;Ji++)si.data[Ji].forEach(In);si.data.splice(0,1)}else si.data.forEach(In)}function Ca(In,Io){for(var Xo=Kt.header?{}:[],la=0;la<In.length;la++){var wa=la,qi=In[la],qi=((Hc,zi)=>(Ao=>(Kt.dynamicTypingFunction&&Kt.dynamicTyping[Ao]===void 0&&(Kt.dynamicTyping[Ao]=Kt.dynamicTypingFunction(Ao)),(Kt.dynamicTyping[Ao]||Kt.dynamicTyping)===!0))(Hc)?zi==="true"||zi==="TRUE"||zi!=="false"&&zi!=="FALSE"&&((Ao=>{if(Yn.test(Ao)&&(Ao=parseFloat(Ao),cs<Ao&&Ao<da))return 1})(zi)?parseFloat(zi):Xu.test(zi)?new Date(zi):zi===""?null:zi):zi)(wa=Kt.header?la>=Bi.length?"__parsed_extra":Bi[la]:wa,qi=Kt.transform?Kt.transform(qi,wa):qi);wa==="__parsed_extra"?(Xo[wa]=Xo[wa]||[],Xo[wa].push(qi)):Xo[wa]=qi}return Kt.header&&(la>Bi.length?bu("FieldMismatch","TooManyFields","Too many fields: expected "+Bi.length+" fields but parsed "+la,hi+Io):la<Bi.length&&bu("FieldMismatch","TooFewFields","Too few fields: expected "+Bi.length+" fields but parsed "+la,hi+Io)),Xo}var Wi;si&&(Kt.header||Kt.dynamicTyping||Kt.transform)&&(Wi=1,!si.data.length||Array.isArray(si.data[0])?(si.data=si.data.map(Ca),Wi=si.data.length):si.data=Ca(si.data,0),Kt.header&&si.meta&&(si.meta.fields=Bi),hi+=Wi)}function hs(){return Kt.header&&Bi.length===0}function bu(Ji,Ca,Wi,In){Ji={type:Ji,code:Ca,message:Wi},In!==void 0&&(Ji.row=In),si.errors.push(Ji)}Da(Kt.step)&&(kt=Kt.step,Kt.step=function(Ji){si=Ji,hs()?oo():(oo(),si.data.length!==0&&(_o+=Ji.data.length,Kt.preview&&_o>Kt.preview?xr.abort():(si.data=si.data[0],kt(si,ca))))}),this.parse=function(Ji,Ca,Wi){var In=Kt.quoteChar||'"',In=(Kt.newline||(Kt.newline=this.guessLineEndings(Ji,In)),Hn=!1,Kt.delimiter?Da(Kt.delimiter)&&(Kt.delimiter=Kt.delimiter(Ji),si.meta.delimiter=Kt.delimiter):((In=((Io,Xo,la,wa,qi)=>{var Hc,zi,Ao,Bn;qi=qi||[","," ","|",";",Wn.RECORD_SEP,Wn.UNIT_SEP];for(var Kn=0;Kn<qi.length;Kn++){for(var Us,ar=qi[Kn],pn=0,Vn=0,Es=0,Ea=(Ao=void 0,new It({comments:wa,delimiter:ar,newline:Xo,preview:10}).parse(Io)),bo=0;bo<Ea.data.length;bo++)la&&ls(Ea.data[bo])?Es++:(Us=Ea.data[bo].length,Vn+=Us,Ao===void 0?Ao=Us:0<Us&&(pn+=Math.abs(Us-Ao),Ao=Us));0<Ea.data.length&&(Vn/=Ea.data.length-Es),(zi===void 0||pn<=zi)&&(Bn===void 0||Bn<Vn)&&1.99<Vn&&(zi=pn,Hc=ar,Bn=Vn)}return{successful:!!(Kt.delimiter=Hc),bestDelimiter:Hc}})(Ji,Kt.newline,Kt.skipEmptyLines,Kt.comments,Kt.delimitersToGuess)).successful?Kt.delimiter=In.bestDelimiter:(Hn=!0,Kt.delimiter=Wn.DefaultDelimiter),si.meta.delimiter=Kt.delimiter),vl(Kt));return Kt.preview&&Kt.header&&In.preview++,er=Ji,xr=new It(In),si=xr.parse(er,Ca,Wi),oo(),ws?{meta:{paused:!0}}:si||{meta:{paused:!1}}},this.paused=function(){return ws},this.pause=function(){ws=!0,xr.abort(),er=Da(Kt.chunk)?"":er.substring(xr.getCharIndex())},this.resume=function(){ca.streamer._halted?(ws=!1,ca.streamer.parseChunk(er,!0)):setTimeout(ca.resume,3)},this.aborted=function(){return Ri},this.abort=function(){Ri=!0,xr.abort(),si.meta.aborted=!0,Da(Kt.complete)&&Kt.complete(si),er=""},this.guessLineEndings=function(Io,In){Io=Io.substring(0,1048576);var In=new RegExp(wc(In)+"([^]*?)"+wc(In),"gm"),Wi=(Io=Io.replace(In,"")).split("\r"),In=Io.split(`
  287. `),Io=1<In.length&&In[0].length<Wi[0].length;if(Wi.length===1||Io)return`
  288. `;for(var Xo=0,la=0;la<Wi.length;la++)Wi[la][0]===`
  289. `&&Xo++;return Xo>=Wi.length/2?`\r
  290. `:"\r"}}function wc(Kt){return Kt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function It(Kt){var er=(Kt=Kt||{}).delimiter,xr=Kt.newline,Hn=Kt.comments,kt=Kt.step,da=Kt.preview,cs=Kt.fastMode,Yn=null,Xu=!1,ca=Kt.quoteChar==null?'"':Kt.quoteChar,_o=ca;if(Kt.escapeChar!==void 0&&(_o=Kt.escapeChar),(typeof er!="string"||-1<Wn.BAD_DELIMITERS.indexOf(er))&&(er=","),Hn===er)throw new Error("Comment character same as delimiter");Hn===!0?Hn="#":(typeof Hn!="string"||-1<Wn.BAD_DELIMITERS.indexOf(Hn))&&(Hn=!1),xr!==`
  291. `&&xr!=="\r"&&xr!==`\r
  292. `&&(xr=`
  293. `);var hi=0,ws=!1;this.parse=function(Ri,Bi,si){if(typeof Ri!="string")throw new Error("Input must be a string");var ls=Ri.length,oo=er.length,hs=xr.length,bu=Hn.length,Ji=Da(kt),Ca=[],Wi=[],In=[],Io=hi=0;if(!Ri)return pn();if(cs||cs!==!1&&Ri.indexOf(ca)===-1){for(var Xo=Ri.split(xr),la=0;la<Xo.length;la++){if(In=Xo[la],hi+=In.length,la!==Xo.length-1)hi+=xr.length;else if(si)return pn();if(!Hn||In.substring(0,bu)!==Hn){if(Ji){if(Ca=[],Bn(In.split(er)),Vn(),ws)return pn()}else Bn(In.split(er));if(da&&da<=la)return Ca=Ca.slice(0,da),pn(!0)}}return pn()}for(var wa=Ri.indexOf(er,hi),qi=Ri.indexOf(xr,hi),Hc=new RegExp(wc(_o)+wc(ca),"g"),zi=Ri.indexOf(ca,hi);;)if(Ri[hi]===ca)for(zi=hi,hi++;;){if((zi=Ri.indexOf(ca,zi+1))===-1)return si||Wi.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:Ca.length,index:hi}),Us();if(zi===ls-1)return Us(Ri.substring(hi,zi).replace(Hc,ca));if(ca===_o&&Ri[zi+1]===_o)zi++;else if(ca===_o||zi===0||Ri[zi-1]!==_o){wa!==-1&&wa<zi+1&&(wa=Ri.indexOf(er,zi+1));var Ao=Kn((qi=qi!==-1&&qi<zi+1?Ri.indexOf(xr,zi+1):qi)===-1?wa:Math.min(wa,qi));if(Ri.substr(zi+1+Ao,oo)===er){In.push(Ri.substring(hi,zi).replace(Hc,ca)),Ri[hi=zi+1+Ao+oo]!==ca&&(zi=Ri.indexOf(ca,hi)),wa=Ri.indexOf(er,hi),qi=Ri.indexOf(xr,hi);break}if(Ao=Kn(qi),Ri.substring(zi+1+Ao,zi+1+Ao+hs)===xr){if(In.push(Ri.substring(hi,zi).replace(Hc,ca)),ar(zi+1+Ao+hs),wa=Ri.indexOf(er,hi),zi=Ri.indexOf(ca,hi),Ji&&(Vn(),ws))return pn();if(da&&Ca.length>=da)return pn(!0);break}Wi.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:Ca.length,index:hi}),zi++}}else if(Hn&&In.length===0&&Ri.substring(hi,hi+bu)===Hn){if(qi===-1)return pn();hi=qi+hs,qi=Ri.indexOf(xr,hi),wa=Ri.indexOf(er,hi)}else if(wa!==-1&&(wa<qi||qi===-1))In.push(Ri.substring(hi,wa)),hi=wa+oo,wa=Ri.indexOf(er,hi);else{if(qi===-1)break;if(In.push(Ri.substring(hi,qi)),ar(qi+hs),Ji&&(Vn(),ws))return pn();if(da&&Ca.length>=da)return pn(!0)}return Us();function Bn(Es){Ca.push(Es),Io=hi}function Kn(Es){var Ea=0;return Ea=Es!==-1&&(Es=Ri.substring(zi+1,Es))&&Es.trim()===""?Es.length:Ea}function Us(Es){return si||(Es===void 0&&(Es=Ri.substring(hi)),In.push(Es),hi=ls,Bn(In),Ji&&Vn()),pn()}function ar(Es){hi=Es,Bn(In),In=[],qi=Ri.indexOf(xr,hi)}function pn(Es){if(Kt.header&&!Bi&&Ca.length&&!Xu){var Ea=Ca[0],bo=Object.create(null),Ne=new Set(Ea);let pr=!1;for(let xa=0;xa<Ea.length;xa++){let Ii=Ea[xa];if(bo[Ii=Da(Kt.transformHeader)?Kt.transformHeader(Ii,xa):Ii]){let Vf,fi=bo[Ii];for(;Vf=Ii+"_"+fi,fi++,Ne.has(Vf););Ne.add(Vf),Ea[xa]=Vf,bo[Ii]++,pr=!0,(Yn=Yn===null?{}:Yn)[Vf]=Ii}else bo[Ii]=1,Ea[xa]=Ii;Ne.add(Ii)}pr&&console.warn("Duplicate headers found and renamed."),Xu=!0}return{data:Ca,errors:Wi,meta:{delimiter:er,linebreak:xr,aborted:ws,truncated:!!Es,cursor:Io+(Bi||0),renamedHeaders:Yn}}}function Vn(){kt(pn()),Ca=[],Wi=[]}},this.abort=function(){ws=!0},this.getCharIndex=function(){return hi}}function Vt(Kt){var er=Kt.data,xr=Ua[er.workerId],Hn=!1;if(er.error)xr.userError(er.error,er.file);else if(er.results&&er.results.data){var kt={abort:function(){Hn=!0,Ni(er.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:wh,resume:wh};if(Da(xr.userStep)){for(var da=0;da<er.results.data.length&&(xr.userStep({data:er.results.data[da],errors:er.results.errors,meta:er.results.meta},kt),!Hn);da++);delete er.results}else Da(xr.userChunk)&&(xr.userChunk(er.results,kt,er.file),delete er.results)}er.finished&&!Hn&&Ni(er.workerId,er.results)}function Ni(Kt,er){var xr=Ua[Kt];Da(xr.userComplete)&&xr.userComplete(er),xr.terminate(),delete Ua[Kt]}function wh(){throw new Error("Not implemented.")}function vl(Kt){if(typeof Kt!="object"||Kt===null)return Kt;var er,xr=Array.isArray(Kt)?[]:{};for(er in Kt)xr[er]=vl(Kt[er]);return xr}function Eh(Kt,er){return function(){Kt.apply(er,arguments)}}function Da(Kt){return typeof Kt=="function"}return Wn.parse=function(Kt,er){var xr=(er=er||{}).dynamicTyping||!1;if(Da(xr)&&(er.dynamicTypingFunction=xr,xr={}),er.dynamicTyping=xr,er.transform=!!Da(er.transform)&&er.transform,!er.worker||!Wn.WORKERS_SUPPORTED)return xr=null,Wn.NODE_STREAM_INPUT,typeof Kt=="string"?(Kt=(Hn=>Hn.charCodeAt(0)!==65279?Hn:Hn.slice(1))(Kt),xr=new(er.download?En:Zo)(er)):Kt.readable===!0&&Da(Kt.read)&&Da(Kt.on)?xr=new xt(er):(vi.File&&Kt instanceof File||Kt instanceof Object)&&(xr=new Et(er)),xr.stream(Kt);(xr=(()=>{var Hn;return!!Wn.WORKERS_SUPPORTED&&(Hn=(()=>{var kt=vi.URL||vi.webkitURL||null,da=ua.toString();return Wn.BLOB_URL||(Wn.BLOB_URL=kt.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",da,")();"],{type:"text/javascript"})))})(),(Hn=new vi.Worker(Hn)).onmessage=Vt,Hn.id=Va++,Ua[Hn.id]=Hn)})()).userStep=er.step,xr.userChunk=er.chunk,xr.userComplete=er.complete,xr.userError=er.error,er.step=Da(er.step),er.chunk=Da(er.chunk),er.complete=Da(er.complete),er.error=Da(er.error),delete er.worker,xr.postMessage({input:Kt,config:er,workerId:xr.id})},Wn.unparse=function(Kt,er){var xr=!1,Hn=!0,kt=",",da=`\r
  294. `,cs='"',Yn=cs+cs,Xu=!1,ca=null,_o=!1,hi=((()=>{if(typeof er=="object"){if(typeof er.delimiter!="string"||Wn.BAD_DELIMITERS.filter(function(Bi){return er.delimiter.indexOf(Bi)!==-1}).length||(kt=er.delimiter),typeof er.quotes!="boolean"&&typeof er.quotes!="function"&&!Array.isArray(er.quotes)||(xr=er.quotes),typeof er.skipEmptyLines!="boolean"&&typeof er.skipEmptyLines!="string"||(Xu=er.skipEmptyLines),typeof er.newline=="string"&&(da=er.newline),typeof er.quoteChar=="string"&&(cs=er.quoteChar),typeof er.header=="boolean"&&(Hn=er.header),Array.isArray(er.columns)){if(er.columns.length===0)throw new Error("Option columns is empty");ca=er.columns}er.escapeChar!==void 0&&(Yn=er.escapeChar+cs),er.escapeFormulae instanceof RegExp?_o=er.escapeFormulae:typeof er.escapeFormulae=="boolean"&&er.escapeFormulae&&(_o=/^[=+\-@\t\r].*$/)}})(),new RegExp(wc(cs),"g"));if(typeof Kt=="string"&&(Kt=JSON.parse(Kt)),Array.isArray(Kt)){if(!Kt.length||Array.isArray(Kt[0]))return ws(null,Kt,Xu);if(typeof Kt[0]=="object")return ws(ca||Object.keys(Kt[0]),Kt,Xu)}else if(typeof Kt=="object")return typeof Kt.data=="string"&&(Kt.data=JSON.parse(Kt.data)),Array.isArray(Kt.data)&&(Kt.fields||(Kt.fields=Kt.meta&&Kt.meta.fields||ca),Kt.fields||(Kt.fields=Array.isArray(Kt.data[0])?Kt.fields:typeof Kt.data[0]=="object"?Object.keys(Kt.data[0]):[]),Array.isArray(Kt.data[0])||typeof Kt.data[0]=="object"||(Kt.data=[Kt.data])),ws(Kt.fields||[],Kt.data||[],Xu);throw new Error("Unable to serialize unrecognized input");function ws(Bi,si,ls){var oo="",hs=(typeof Bi=="string"&&(Bi=JSON.parse(Bi)),typeof si=="string"&&(si=JSON.parse(si)),Array.isArray(Bi)&&0<Bi.length),bu=!Array.isArray(si[0]);if(hs&&Hn){for(var Ji=0;Ji<Bi.length;Ji++)0<Ji&&(oo+=kt),oo+=Ri(Bi[Ji],Ji);0<si.length&&(oo+=da)}for(var Ca=0;Ca<si.length;Ca++){var Wi=(hs?Bi:si[Ca]).length,In=!1,Io=hs?Object.keys(si[Ca]).length===0:si[Ca].length===0;if(ls&&!hs&&(In=ls==="greedy"?si[Ca].join("").trim()==="":si[Ca].length===1&&si[Ca][0].length===0),ls==="greedy"&&hs){for(var Xo=[],la=0;la<Wi;la++){var wa=bu?Bi[la]:la;Xo.push(si[Ca][wa])}In=Xo.join("").trim()===""}if(!In){for(var qi=0;qi<Wi;qi++){0<qi&&!Io&&(oo+=kt);var Hc=hs&&bu?Bi[qi]:qi;oo+=Ri(si[Ca][Hc],qi)}Ca<si.length-1&&(!ls||0<Wi&&!Io)&&(oo+=da)}}return oo}function Ri(Bi,si){var ls,oo;return Bi==null?"":Bi.constructor===Date?JSON.stringify(Bi).slice(1,25):(oo=!1,_o&&typeof Bi=="string"&&_o.test(Bi)&&(Bi="'"+Bi,oo=!0),ls=Bi.toString().replace(hi,Yn),(oo=oo||xr===!0||typeof xr=="function"&&xr(Bi,si)||Array.isArray(xr)&&xr[si]||((hs,bu)=>{for(var Ji=0;Ji<bu.length;Ji++)if(-1<hs.indexOf(bu[Ji]))return!0;return!1})(ls,Wn.BAD_DELIMITERS)||-1<ls.indexOf(kt)||ls.charAt(0)===" "||ls.charAt(ls.length-1)===" ")?cs+ls+cs:ls)}},Wn.RECORD_SEP="",Wn.UNIT_SEP="",Wn.BYTE_ORDER_MARK="\uFEFF",Wn.BAD_DELIMITERS=["\r",`
  295. `,'"',Wn.BYTE_ORDER_MARK],Wn.WORKERS_SUPPORTED=!Gs&&!!vi.Worker,Wn.NODE_STREAM_INPUT=1,Wn.LocalChunkSize=10485760,Wn.RemoteChunkSize=5242880,Wn.DefaultDelimiter=",",Wn.Parser=It,Wn.ParserHandle=jc,Wn.NetworkStreamer=En,Wn.FileStreamer=Et,Wn.StringStreamer=Zo,Wn.ReadableStreamStreamer=xt,vi.jQuery&&((Bo=vi.jQuery).fn.parse=function(Kt){var er=Kt.config||{},xr=[];return this.each(function(da){if(!(Bo(this).prop("tagName").toUpperCase()==="INPUT"&&Bo(this).attr("type").toLowerCase()==="file"&&vi.FileReader)||!this.files||this.files.length===0)return!0;for(var cs=0;cs<this.files.length;cs++)xr.push({file:this.files[cs],inputElem:this,instanceConfig:Bo.extend({},er)})}),Hn(),this;function Hn(){if(xr.length===0)Da(Kt.complete)&&Kt.complete();else{var da,cs,Yn,Xu,ca=xr[0];if(Da(Kt.before)){var _o=Kt.before(ca.file,ca.inputElem);if(typeof _o=="object"){if(_o.action==="abort")return da="AbortError",cs=ca.file,Yn=ca.inputElem,Xu=_o.reason,void(Da(Kt.error)&&Kt.error({name:da},cs,Yn,Xu));if(_o.action==="skip")return void kt();typeof _o.config=="object"&&(ca.instanceConfig=Bo.extend(ca.instanceConfig,_o.config))}else if(_o==="skip")return void kt()}var hi=ca.instanceConfig.complete;ca.instanceConfig.complete=function(ws){Da(hi)&&hi(ws,ca.file,ca.inputElem),kt()},Wn.parse(ca.file,ca.instanceConfig)}}function kt(){xr.splice(0,1),Hn()}}),Wr&&(vi.onmessage=function(Kt){Kt=Kt.data,Wn.WORKER_ID===void 0&&Kt&&(Wn.WORKER_ID=Kt.workerId),typeof Kt.input=="string"?vi.postMessage({workerId:Wn.WORKER_ID,results:Wn.parse(Kt.input,Kt.config),finished:!0}):(vi.File&&Kt.input instanceof File||Kt.input instanceof Object)&&(Kt=Wn.parse(Kt.input,Kt.config))&&vi.postMessage({workerId:Wn.WORKER_ID,results:Kt,finished:!0})}),(En.prototype=Object.create(ao.prototype)).constructor=En,(Et.prototype=Object.create(ao.prototype)).constructor=Et,(Zo.prototype=Object.create(Zo.prototype)).constructor=Zo,(xt.prototype=Object.create(ao.prototype)).constructor=xt,Wn})}(Yx)),Yx.exports}var fse=hse();const jG=Jx(fse),Ase={style:{height:"calc(100vh - 120px)"}},dse={__name:"sheet",props:{tabdata:{type:Array,default:()=>[]}},setup(mo){const{proxy:Fg}=joe();PC([]);let ua=0;const vi=PC([]),Bo=PC([]),Gs=Wr=>{if(!Wr||Wr.length<=0)return;const Ua=Wr.shift(),Va=Wr,Wn=[],ao=[];for(let Et=0;Et<Ua.length;Et++){const Zo=Ua[Et]?Ua[Et]:"column_"+(Et+1);Wn.push({headerClass:"csv-table-header",sortable:!0,key:Zo,dataKey:Zo,title:Zo,width:150})}for(let Et=0;Et<Va.length;Et++){const Zo=Va[Et],xt={};for(let jc=0;jc<Zo.length;jc++){const wc=Zo[jc],It=Ua[jc];It?xt[It]=wc:(xt["column_"+(jc+1)]=wc,jc+1>ua&&(ua=jc+1))}ao.push(xt)}const En=ua-Wn.length;for(let Et=0;Et<En;Et++){const Zo="column_"+(Wn.length+1);Wn.push({headerClass:"csv-table-header",sortable:!0,key:Zo,dataKey:Zo,title:Zo,width:150})}Bo.value=Wn,vi.value=ao};return HG(()=>mo.tabdata,Wr=>{Gs(Wr)},{immediate:!0}),(Wr,Ua)=>{const Va=FG("el-table-v2"),Wn=FG("el-auto-resizer");return OC(),YG("div",Ase,[TG(Wn,null,{default:Hoe(({height:ao,width:En})=>[TG(Va,{columns:J3(Bo),data:J3(vi),width:En,height:ao,fixed:""},null,8,["columns","data","width","height"])]),_:1})])}}},gse={class:"fileView"},pse=Joe({name:"FileView"}),vse=Object.assign(pse,{props:{selectData:{type:Object,default:()=>{}},reviewtype:{type:String,default:"temp"}},setup(mo){const Fg=LG(()=>mo.selectData||{}),ua=LG(()=>Fg.value.nameSuffix),vi=PC(null),Bo=PC(!0),Gs=[],Wr=PC([]);PC([]);const Ua=()=>{Gs.forEach(En=>{URL.revokeObjectURL(En)})},Va=()=>{mo.reviewtype=="my"?Voe({id:Fg.value.id,isOnlyOffice:!0,isTemplate:!1}).then(En=>{En.code==0&&(vi.value=En.data.url,["csv"].indexOf(ua.value)>=0&&jG.parse(vi.value,{download:!0,complete:Et=>{Wr.value=Et.data}}))}).catch(()=>{NG.error("获取文件资源失败")}).finally(()=>{Bo.value=!1}):Zoe(Fg.value.id).then(En=>{vi.value=En.data.fileLink,["csv"].indexOf(ua.value)>=0&&jG.parse(vi.value,{download:!0,complete:Et=>{Wr.value=Et.data}})}).catch(()=>{NG.error("获取文件资源失败")}).finally(()=>{Bo.value=!1})};Woe(()=>{console.log("释放 blobUrl"),Ua()});const Wn=()=>{console.log("渲染完成"),Bo.value=!1},ao=En=>{console.log("渲染失败",En),Bo.value=!1};return HG(()=>mo.selectData,En=>{En&&mo.reviewtype!=="ai"?Koe(()=>{Va()}):(vi.value=En.fileUrl,Bo.value=!1)},{immediate:!0}),(En,Et)=>{const Zo=qoe("loading");return zoe((OC(),YG("div",gse,[["docx","doc"].indexOf(ua.value)>=0?(OC(),MQ(J3(Uoe),{key:0,src:vi.value,onRendered:Wn,onError:ao,style:{width:"100%",height:"100%"}},null,8,["src"])):FQ("",!0),["xlsx","xls"].indexOf(ua.value)>=0?(OC(),MQ(J3(tse),{key:1,src:vi.value,onRendered:Wn,onError:ao,style:{width:"100%",height:"100%"}},null,8,["src"])):FQ("",!0),["pptx","ppt"].indexOf(ua.value)>=0?(OC(),MQ(J3(cse),{key:2,src:vi.value,onRendered:Wn,onError:ao,style:{width:"100%",height:"100%"}},null,8,["src"])):FQ("",!0),["csv"].indexOf(ua.value)>=0?(OC(),MQ(dse,{key:3,tabdata:Wr.value},null,8,["tabdata"])):FQ("",!0),["pdf"].indexOf(ua.value)>=0?(OC(),MQ(J3(ase),{key:4,src:vi.value,style:{width:"100%",height:"100%"}},null,8,["src"])):FQ("",!0)])),[[Zo,Bo.value]])}}}),kse=Yoe(vse,[["__scopeId","data-v-c38d561d"]]);export{kse as F,Bse as a,Ese as b,Ise as c,bse as f,Cse as g,wse as s};